]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: Fix multiarch hypotf PPC64 path
[glibc.git] / ChangeLog
CommitLineData
af121e37
AZ
12014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5
834caf06
JM
62014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7
8 [BZ #16958]
9 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10 membar to avoid block loads/stores to overlap previous stores.
11
e184a918
RH
122014-05-17 Richard Henderson <rth@redhat.com>
13
14 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15 Create the __##syscall_name##_nocancel entry point.
16 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17 Remove; let the sysdep-cancel.h code create it.
18
f56c7a6a
DM
192014-05-17 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22 Protect with __USE_GNU.
23 (TIOCSET_TEMPT): Likewise.
24 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26 these are already provided in bits/ioctl-types.h
27
f75616b2
RM
282014-05-16 Roland McGrath <roland@hack.frob.com>
29
3edeca86
RM
30 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32
f75616b2
RM
33 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34 Use wait4 regardless of [__NR_waitpid].
35
deb0f7f6
MR
362014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
37
38 PR libgcc/60166
39 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40 (_FP_NANSIGN_Q): Set the quiet bit.
41
79520f4b
JM
422014-05-16 Joseph Myers <joseph@codesourcery.com>
43
44 * benchtests/Makefile
45 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46 not $(common-objpfx)math/libm.so.
47 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50 $(common-objpfx)dlfcn/libdl.so.
51 ($(objpfx)tst-audit8): Depend on $(libm), not
52 $(common-objpfx)math/libm.so.
53 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
54 not $(common-objpfx)dlfcn/libdl.so.
55 * math/Makefile
56 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
58 [$(build-shared) = yes].
59 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
60 $(common-objpfx)nptl/libpthread.so.
61 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
62 $(common-objpfx)math/libm.so$(libm.so-version) or
63 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
64 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
65 $(common-objpfx)dlfcn/libdl.so.
66 * setjmp/Makefile (link-libm): Remove variable.
67 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
68 * stdio-common/Makefile (link-libm): Remove variable.
69 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
70 * stdlib/Makefile (link-libm): Remove variable.
71 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
72 ($(objpfx)tst-strtod-round): Likewise.
73 ($(objpfx)tst-tininess): Likewise.
74 ($(objpfx)tst-strtod-underflow): Likewise.
75 ($(objpfx)tst-strtod6): Likewise.
76 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
77 $(libdl), not $(common-objpfx)nptl/libpthread.so and
78 $(common-objpfx)dlfcn/libdl.so.
79
026b0fe4
AZ
802014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81
82 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
83 BSD terminal modes definitions.
84
def4bcb2
RM
852014-05-16 Roland McGrath <roland@hack.frob.com>
86
fe39b021
RM
87 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
88 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
89
1d1fc46e 90 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
91 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
92 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
93 Don't do #include_next.
94 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
95 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
96 Don't do #include_next.
97 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
98 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
99 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
100 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
101
c72399fb
AM
1022014-05-16 Allan McRae <allan@archlinux.org>
103
d51d659d
AM
104 * po/sv.po: Update Swedish translation from translation project.
105
c72399fb
AM
106 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
107 in sed expression.
108
d0583c40
AJ
1092014-05-16 Aurelien Jarno <aurelien@aurel32.net>
110
111 [BZ #16917]
112 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
113 errno if the TIOCGPTN ioctl fails with an error different than
114 EINVAL.
115 * login/tst-ptsname.c: New file.
116 * login/Makefile (tests): Add tst-ptsname.
117
d16e6ec7
AJ
118 [BZ #16943]
119 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
120 and prlimit64.
121
cf26a0cb
SP
1222014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
123
124 [BZ #16849]
125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
126 herrno to return EAI_AGAIN.
127
5675da1e
RM
1282014-05-14 Roland McGrath <roland@hack.frob.com>
129
a5d87b3d
RM
130 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
131 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
132 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
134 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
136 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
140 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
142 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
144 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
146 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
148 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
150 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
152 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
154 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
156 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
158 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
159 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
161 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
165 Moved ...
166 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
190 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
194 Moved ...
195 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
215 Moved ...
216 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
218 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
219
039890a6
RM
220 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
221 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
222 (libpthread-sysdep_routines): Add elision-related stuff here instead.
223 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
224 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
225 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
226 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
227 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
228 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
229 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
230 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
231 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
232 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
233 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
234 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
235 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
236 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
237 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
238 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
239 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
240 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
241 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
242 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
243 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
244 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
245 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
246 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
247 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
248 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
249 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
250 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
251
65c89320
RM
252 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
253 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
254
348f8e8c
RM
255 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
256 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
257 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
258 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
259 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
261 Moved ...
262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
264 Moved ...
265 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
267 Moved ...
268 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
270 Moved ...
271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
272 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
273 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
274 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
275 Moved ...
276 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
277 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
278 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
280 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
281 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
282 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
284 Moved ...
285 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
287 Moved ...
288 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
289 ... here.
290 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
291 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
292 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
293 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
295 Moved ...
296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
297 ... here.
298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
299 Moved ...
300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
301 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
302 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
303 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
304 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
306 Moved ...
307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
309 Moved ...
310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
312 Moved ...
313 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
315 Moved ...
316 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
318 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
319 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
320 Moved ...
321 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
323 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
325 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
326 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
327 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
329 Moved ...
330 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
332 Moved ...
333 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
334 ... here.
335 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
336 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
338 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
340 Moved ...
341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
342 ... here.
343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
344 Moved ...
345 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
346 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
347 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
348 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
349 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
350 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
351 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
353 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
355 Moved ...
356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
358 Moved ...
359 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
361 Moved ...
362 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
363 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
364 Moved ...
365 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
367 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
368 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
369 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
370 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
371 Moved ...
372 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
374 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
376 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
378 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
380 Moved ...
381 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
383 Moved ...
384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
385 ... here.
386 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
387 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
388 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
389 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
391 Moved ...
392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
393 ... here.
394 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
395 Moved ...
396 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
397 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
398 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
399 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
400 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
401 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
402 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
403 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
404 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
405 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
406 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
407
5085af05
RM
408 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
409 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
410
708f0813
RM
411 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
412 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
413
c96067bc
RM
414 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
415 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
416 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
417 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
418 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
419 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
420 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
421 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
422 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
423 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
425 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
426 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
427 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
428 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
430 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
432 Moved ...
433 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
435 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
437 Moved ...
438 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
440 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
441 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
442 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
444 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
446 Moved ...
447 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
449 Moved ...
450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
457 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
459 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
460 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
461 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
462 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
463 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
464 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
465 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
466 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
467
ec136444
RM
468 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
469 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
470 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
471 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
472 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
473
2fbdf533
RM
474 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
475 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
476 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
477 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
478 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
479 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
480 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
481 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
482 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
483 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
484
4c68138b
RM
485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
487
4eaae765
RM
488 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
489 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
490 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
491 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
492 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
493 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
494 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
495 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
496 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
497 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
498 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
499 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
500 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
501 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
503 Update #include.
504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
505 Likewise.
506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
507 Likewise.
508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
509 Likewise.
510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
511 Likewise.
512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
513 Likewise.
514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
515 Likewise.
516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
517 Likewise.
518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
519 Likewise.
520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
521 Likewise.
4ef6befa
RM
522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
528 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
530 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
532 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
534 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
536 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 537
941d7dfd
RM
538 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
539 that was previously under [RESET_PID].
540 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
541 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
542 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
543
1b731c35
RM
544 * sysdeps/i386/nptl/Implies: New file.
545 * sysdeps/x86_64/nptl/Implies: New file.
546 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
547 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
548 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
549 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
550
e2787137
RM
551 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
552 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
553 (__libc_vfork): New strong alias.
554 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
555 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
556
557 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
558 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
559 (__libc_vfork): New strong alias.
560 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
561 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
562
5675da1e
RM
563 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
564 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
565 (__libc_vfork): New strong alias.
566 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
567 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
568 * nptl/pt-vfork.c: New file.
569 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
570 (libpthread: GLIBC_2.20): New version set (empty).
571
4f02e2b8
WN
5722014-05-14 Will Newton <will.newton@linaro.org>
573
574 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
575 rather than #if.
576
0bf061d3
JM
5772014-05-14 Joseph Myers <joseph@codesourcery.com>
578
1a84c3d6
JM
579 [BZ #16564]
580 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
581 arguments with exponent 65 or above.
582 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
583 arguments 0x1p113L or above.
584 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
585 to arguments 0x1p107L or above.
586 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
587 positive arguments with exponent 65 or above.
588 * math/auto-libm-test-in: Add more tests of log1p.
589 * math/auto-libm-test-out: Regenerated.
590
01dbacd2
JM
591 [BZ #16928]
592 * math/s_cacos.c (__cacos): Ensure zero real part of result from
593 non-finite arguments is +0.
594 * math/s_cacosf.c (__cacosf): Likewise.
595 * math/s_cacosl.c (__cacosl): Likewise.
596 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
597 * sysdeps/i386/fpu/libm-test-ulps: Update.
598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
599
913d03c8
JM
600 [BZ #16927]
601 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
602 value.
603 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
604 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
605 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
606 for explicit high bit of mantissa when testing for argument equal
607 to 1.
608 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
0bf061d3
JM
612 [BZ #16516]
613 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
614 (__erf): Scale by 16 instead of 8 in potentially underflowing
615 case. Ensure exception if result actually underflows.
616 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
617 (__erff): Scale by 16 instead of 8 in potentially underflowing
618 case. Ensure exception if result actually underflows.
619 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
620 (efx8): Remove variable.
621 (__erfl): Scale by 16 instead of 8 in potentially underflowing
622 case. Ensure exception if result actually underflows.
623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
624 (efx8): Remove variable.
625 (__erfl): Scale by 16 instead of 8 in potentially underflowing
626 case. Ensure exception if result actually underflows.
627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
628 (efx8): Remove variable.
629 (__erfl): Scale by 16 instead of 8 in potentially underflowing
630 case. Ensure exception if result actually underflows.
631 * math/auto-libm-test-in: Add more tests of erf.
632 * math/auto-libm-test-out: Regenerated.
633
73ba67cb
AS
6342014-05-14 Andreas Schwab <schwab@suse.de>
635
3d8c8bff
AS
636 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
637 Remove code conditionalized on USE___THREAD.
638
73ba67cb
AS
639 * config.h.in (HAVE_PT_CHOWN): Define as 0.
640 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
641 not definedness.
642
5c521ecd
JM
6432014-05-14 Joseph Myers <joseph@codesourcery.com>
644
5e7698c6
JM
645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
646 Define unconditionally.
647 (__ASSUME_O_CLOEXEC): Likewise.
648 (__ASSUME_SOCK_CLOEXEC): Likewise.
649 (__ASSUME_IN_NONBLOCK): Likewise.
650 (__ASSUME_PIPE2): Likewise.
651 (__ASSUME_EVENTFD2): Likewise.
652 (__ASSUME_SIGNALFD4): Likewise.
653 (__ASSUME_DUP3): Likewise.
654 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
655 (__ASSUME_DUP3): Do not define.
656 (__ASSUME_EVENTFD2): Likewise.
657 (__ASSUME_IN_NONBLOCK): Likewise.
658 (__ASSUME_O_CLOEXEC): Likewise.
659 (__ASSUME_PIPE2): Likewise.
660 (__ASSUME_SIGNALFD4): Likewise.
661 (__ASSUME_SOCK_CLOEXEC): Likewise.
662 (__ASSUME_UTIMES): Undefine.
663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
664 (__ASSUME_UTIMES): Do not define.
665 (__ASSUME_O_CLOEXEC): Likewise.
666 (__ASSUME_SOCK_CLOEXEC): Likewise.
667 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
668 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
669 0x020621].
670 (__ASSUME_PIPE2): Likewise.
671 (__ASSUME_EVENTFD2): Likewise.
672 (__ASSUME_SIGNALFD4): Likewise.
673 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
674 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
675 Do not define.
676 (__ASSUME_EVENTFD2): Likewise.
677 (__ASSUME_SIGNALFD4): Likewise.
678 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
679 (__ASSUME_32BITUIDS): Likewise.
680 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
681 (__ASSUME_IPC64): Likewise.
682 (__ASSUME_ST_INO_64_BIT): Likewise.
683 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
684 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
685 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
686 (__ASSUME_UTIMES): Do not define.
687 (__ASSUME_PSELECT): Likewise.
688 (__ASSUME_PPOLL): Likewise.
689 (__ASSUME_O_CLOEXEC): Likewise.
690 (__ASSUME_SOCK_CLOEXEC): Likewise.
691 (__ASSUME_IN_NONBLOCK): Likewise.
692 (__ASSUME_PIPE2): Likewise.
693 (__ASSUME_EVENTFD2): Likewise.
694 (__ASSUME_SIGNALFD4): Likewise.
695 (__ASSUME_DUP3): Likewise.
696 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
697 (__ASSUME_UTIMES): Likewise.
698 (__ASSUME_O_CLOEXEC): Likewise.
699 (__ASSUME_SOCK_CLOEXEC): Likewise.
700 (__ASSUME_IN_NONBLOCK): Likewise.
701 (__ASSUME_PIPE2): Likewise.
702 (__ASSUME_EVENTFD2): Likewise.
703 (__ASSUME_SIGNALFD4): Likewise.
704 (__ASSUME_DUP3): Likewise.
705 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
706 (__ASSUME_UTIMES): Likewise.
707 (__ASSUME_O_CLOEXEC): Likewise.
708 (__ASSUME_SOCK_CLOEXEC): Likewise.
709 (__ASSUME_IN_NONBLOCK): Likewise.
710 (__ASSUME_PIPE2): Likewise.
711 (__ASSUME_EVENTFD2): Likewise.
712 (__ASSUME_SIGNALFD4): Likewise.
713 (__ASSUME_DUP3): Likewise.
714 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
715 Likewise.
716 (__ASSUME_UTIMES): Likewise.
717 (__ASSUME_EVENTFD2): Likewise.
718 (__ASSUME_SIGNALFD4): Likewise.
719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
720 (__ASSUME_O_CLOEXEC): Likewise.
721 (__ASSUME_SOCK_CLOEXEC): Likewise.
722 (__ASSUME_IN_NONBLOCK): Likewise.
723 (__ASSUME_PIPE2): Likewise.
724 (__ASSUME_EVENTFD2): Likewise.
725 (__ASSUME_SIGNALFD4): Likewise.
726 (__ASSUME_DUP3): Likewise.
727 (__ASSUME_UTIMES): Undefine.
728
5c521ecd
JM
729 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
730 feclearexcept. Remove symbol versioning code.
731 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
732 symbol versioning code.
733 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
734 symbol versioning code.
735 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
736 feupdateenv. Remove symbol versioning code.
737 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
738 fegetexceptflag. Remove symbol versioning code.
739 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
740 fesetexceptflag. Remove symbol versioning code.
741 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
742 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
743 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
744 (__posix_fadvise64_l32): Remove prototype.
745 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
746 code.
747
5da9dfad
RM
7482014-05-13 Roland McGrath <roland@hack.frob.com>
749
750 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
751 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
752 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
753 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
754
893b4f37
SK
7552014-05-13 Sami Kerola <kerolasa@iki.fi>
756
757 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
758 current working directory
759
e0db6517
RM
7602014-05-13 Roland McGrath <roland@hack.frob.com>
761
58aa195d
RM
762 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
763 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
764 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
765 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
766 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
767 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
768 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
770 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
772 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
774 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
776 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
778 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
780 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
781 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
782 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
784 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
786 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
788 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
790 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
792 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
793 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
794 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
795 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
796 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
797 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
798 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
799 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
800 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
801 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
802 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
803 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
804
8c6d01f0
RM
805 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
806 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
807
808 * sysdeps/unix/sysv/linux/arm/Makefile
809 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
810 Add rt-aeabi_unwind_cpp_pr1.
811 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
812 Add nptl-aeabi_unwind_cpp_pr1.
813 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
814 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
815 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
816 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
817 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
818 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
819
820 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
821 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
822 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
823 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
824
bba6da4e
RM
825 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
826 Deconditionalize the code that was previously under [RESET_PID].
827 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
828
e0db6517
RM
829 * sysdeps/generic/exit-thread.h: New file.
830 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
831 * include/unistd.h (__exit_thread): Remove declaration.
832 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
833 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
834 * csu/libc-start.c: Include <exit-thread.h>.
835 (LIBC_START_MAIN): Pass no argument to __exit_thread.
836 * nptl/pthread_create.c: Include <exit-thread.h>.
837 (start_thread): Call __exit_thread in place of __exit_thread_inline.
838 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
839 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
840 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
841 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
842 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
843 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
844 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
845 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
846 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
847 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
848 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
849 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
850 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
851 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
852 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
853 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
854
01eb16fd
AS
8552014-05-13 Andreas Schwab <schwab@suse.de>
856
857 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
858
637461d9
JM
8592014-05-12 Joseph Myers <joseph@codesourcery.com>
860
861 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
862 (__ASSUME_UTIMES): Do not condition on kernel version.
863 (__ASSUME_PSELECT): Define unconditionally.
864 (__ASSUME_PPOLL): Likewise.
865 (__ASSUME_ATFCTS): Likewise.
866 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
867 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
868 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
869 (__ASSUME_UTIMENSAT): Define unconditionally.
870 (__ASSUME_PRIVATE_FUTEX): Likewise.
871 (__ASSUME_FALLOCATE): Likewise.
872 (__ASSUME_O_CLOEXEC): Likewise.
873 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
874 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
875 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
876 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
877 (__ASSUME_IN_NONBLOCK): Likewise.
878 (__ASSUME_PIPE2): Likewise.
879 (__ASSUME_EVENTFD2): Likewise.
880 (__ASSUME_SIGNALFD4): Likewise.
881 (__ASSUME_DUP3): Likewise.
882 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
883 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
884 (__ASSUME_AT_RANDOM): Likewise.
885 (__ASSUME_PREADV): Likewise.
886 (__ASSUME_PWRITEV): Likewise.
887 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
888 (__ASSUME_F_GETOWN_EX): Define unconditionally.
889 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
890 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
891 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
892 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
893 (__ASSUME_O_CLOEXEC): Define unconditionally.
894 (__ASSUME_PSELECT): Do not undefine conditionally.
895 (__ASSUME_PPOLL): Likewise.
896 (__ASSUME_ATFCTS): Likewise.
897 (__ASSUME_SET_ROBUST_LIST): Likewise.
898 (__ASSUME_UTIMENSAT): Likewise.
899 (__ASSUME_FDATASYNC): Define unconditionally.
900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
901 (__ASSUME_SIGFRAME_V2): Likewise.
902 )__ASSUME_EVENTFD2): Likewise.
903 (__ASSUME_SIGNALFD4): Likewise.
904 (__ASSUME_PSELECT): Do not undefine conditionally.
905 (__ASSUME_PPOLL): Likewise.
906 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
907 (__ASSUME_PSELECT): Define unconditionally.
908 (__ASSUME_PPOLL): Likewise.
909 (__ASSUME_O_CLOEXEC): Likewise.
910 (__ASSUME_SOCK_CLOEXEC): Likewise.
911 (__ASSUME_IN_NONBLOCK): Likewise.
912 (__ASSUME_PIPE2): Likewise.
913 (__ASSUME_EVENTFD2): Likewise.
914 (__ASSUME_SIGNALFD4): Likewise.
915 (__ASSUME_DUP3): Likewise.
916 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
917 (__ASSUME_O_CLOEXEC): Likewise.
918 (__ASSUME_SOCK_CLOEXEC): Likewise.
919 (__ASSUME_IN_NONBLOCK): Likewise.
920 (__ASSUME_PIPE2): Likewise.
921 (__ASSUME_EVENTFD2): Likewise.
922 (__ASSUME_SIGNALFD4): Likewise.
923 (__ASSUME_DUP3): Likewise.
924 * sysdeps/unix/sysv/linux/mips/kernel-features.h
925 (__ASSUME_EVENTFD2): Likewise.
926 (__ASSUME_SIGNALFD4): Likewise.
927 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
928
315eb1d8
AS
9292014-05-12 Andreas Schwab <schwab@suse.de>
930
931 [BZ #16932]
932 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
933 (_nss_nis_gethostbyname4_r): Return error if item length is larger
934 than maximum RPC packet size.
935 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
936 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
937 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
938 (_nss_nis_getservbyport_r): Likewise.
939
91df99f7
WN
9402014-05-12 Will Newton <will.newton@linaro.org>
941
942 * malloc/Makefile (tests): Add tst-mallopt.
943 * malloc/tst-mallopt.c: New file.
944
0a982a29
RM
9452014-05-09 Roland McGrath <roland@hack.frob.com>
946
947 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
948 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
949
0ded08a5
AZ
9502014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951
952 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
953 (tst-tlsmod6.so): Likewise.
954
55d4d550
RM
9552014-05-09 Roland McGrath <roland@hack.frob.com>
956
957 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
958
77d08aca
JM
9592014-05-09 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #16064]
962 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
963 and <dl-procinfo.h>.
964 (__fegetenv): Save SSE state in envp->__eip if supported.
965 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
966 envp->__eip if supported.
967 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
968 and <dl-procinfo.h>.
969 (__fesetenv): Always set __eip, __cs_selector, __opcode,
970 __data_offset and __data_selector in environment to 0. Set SSE
971 state if supported.
972 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
973 test-fenv-sse.
974 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
975 -mfpmath=sse.
976 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
977
28162f4d
WN
9782014-05-09 Will Newton <will.newton@linaro.org>
979
980 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
981 and libc_relro_required for ARM.
982 * sysdeps/arm/preconfigure: Regenerate.
983
5a414ff7
DV
9842014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
985 Stefan Liebler <stli@linux.vnet.ibm.com>
986
987 * config.make.in (enable-lock-elision): New Makefile variable.
988 * configure.ac: Likewise.
989 * configure: Regenerate.
990 * sysdeps/s390/configure.ac:
991 Add check for gcc transactions support.
992 * sysdeps/s390/configure: Regenerate.
993 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
994 Build elision files if enabled.
995 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
996 Add lock elision support for s390.
997 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
998 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
999 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1000 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1001 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1002 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1003 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1004 Likewise.
1005 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1006 Likewise.
1007 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1008 Likewise.
1009 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1010 Likewise.
1011 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1012 (__lll_timedlock_elision, __lll_lock_elision)
1013 (__lll_unlock_elision, __lll_trylock_elision)
1014 (lll_timedlock_elision, lll_lock_elision)
1015 (lll_unlock_elision, lll_trylock_elision): Add.
1016 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1017 (pthread_mutex_t): Add lock elision support for s390.
1018
1a2f40e5
W
10192014-05-14 Wilco <wdijkstr@arm.com>
1020
1021 * sysdeps/arm/fclrexcpt.c: Cleanup.
1022 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1023 * sysdeps/arm/feenablxcpt.c: Cleanup.
1024 * sysdeps/arm/fegetenv.c: Cleanup.
1025 * sysdeps/arm/fegetexcept.c: Cleanup.
1026 * sysdeps/arm/fegetround.c: Cleanup.
1027 * sysdeps/arm/feholdexcpt.c: Cleanup.
1028 * sysdeps/arm/fesetenv.c: Cleanup.
1029 * sysdeps/arm/fesetround.c: Cleanup.
1030 * sysdeps/arm/feupdateenv.c: Cleanup.
1031 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1032 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1033 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1034 * sysdeps/arm/ftestexcept.c: Cleanup.
1035 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1036 * sysdeps/arm/setfpucw.c: Cleanup.
1037
f63c86fe
WN
10382014-05-09 Will Newton <will.newton@linaro.org>
1039
1040 * sysdeps/arm/armv7/strcmp.S: New file.
1041 * NEWS: Mention addition of ARMv7 optimized strcmp.
1042
7a1a51b5
RM
10432014-05-08 Roland McGrath <roland@hack.frob.com>
1044
95afbbe5
RM
1045 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1046 look for %.ac rather than %.in.
1047
1048 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1049 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1050 * sysdeps/mach/hurd/configure: Regenerated.
1051 * sysdeps/unix/sysv/linux/configure: Regenerated.
1052
7a1a51b5
RM
1053 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1054
5057ad3b
SE
10552014-05-07 Steve Ellcey <sellcey@mips.com>
1056
1057 [BZ# 16922]
1058 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1059 (LONG_SUB): Ditto.
1060 (PTR_SUB): Ditto.
1061
8dc97517
AS
10622014-05-07 Andreas Schwab <schwab@suse.de>
1063
1064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1065 when skipping over non-matching result from nscd.
1066
ce0c5b8f
OB
10672014-05-07 Ondřej Bílka <neleai@seznam.cz>
1068
1069 [BZ #16876]
1070 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1071
a1189263
OB
1072 [BZ #16877]
1073 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1074 nscd security class.
ce0c5b8f 1075
0f58d252
RM
10762014-05-06 Roland McGrath <roland@hack.frob.com>
1077
1078 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1079 * sysdeps/arm/unwind.h: ... here.
1080
83df9ad0
AJ
10812014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1082
ce0c5b8f
OB
1083 [BZ# 16916]
1084 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1085 Define.
83df9ad0 1086
f360f94a
VR
10872014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1088
1089 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1090 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1091 multiarch strncpy for PPC64.
1092 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1093 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1095 multiarch optimizations.
1096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1097 (__libc_ifunc_impl_list): Likewise.
1098 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1099 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1100 multiarch stpncpy for PPC64.
1101 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1102 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1103
978a41c3
AS
11042014-05-06 Andreas Schwab <schwab@suse.de>
1105
1106 [BZ #16912]
1107 * gmon/mcount.c (_MCOUNT_DECL): Use
1108 atomic_compare_and_exchange_bool_acq instead of
1109 catomic_compare_and_exchange_bool_acq.
1110
eb1ed03d
RM
11112014-05-05 Roland McGrath <roland@hack.frob.com>
1112
fe658845
RM
1113 * elf/Makefile (others, install-bin): Remove pldd.
1114 (pldd-modules): Variable removed.
1115 ($(objpfx)pldd): Target removed.
1116 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1117 (others, install-bin): Append pldd here.
1118 ($(objpfx)pldd): New target.
1119
eb1ed03d
RM
1120 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1121 to 0, so the first #if test emitted later doesn't see it undefined.
1122 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1123 * sysdeps/gnu/errlist.c: Regenerated.
1124
19c4bec0
AZ
11252014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1128 [libc_hidden_builtin_def]: Define to empty value.
1129 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1130 [libc_hidden_builtin_def]: Likewise.
1131 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1132 [libc_hidden_builtin_def]: Likewise.
1133 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1134 [libc_hidden_builtin_def]: Likewise.
1135 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1136 __redirect_memcpy and define ifunc as default hidden symbol.
1137 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1138 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1139
7776e669
AC
11402014-05-04 Adam Conrad <adconrad@0c3.net>
1141
1142 * locale/iso-4217.def: Reintroduce XDR currency.
1143
d69aeb12
AM
11442014-05-04 Allan McRae <allan@archlinux.org>
1145
1146 * po/eo.po: Update Esperanto translation from translation project.
1147
8f1df5cf
CD
11482014-05-02 Carlos O'Donell <carlos@redhat.com>
1149
1150 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1151 and FEATURE_INDEX_MAX to 1.
1152 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1153
13e402e7
SE
11542014-05-01 Steve Ellcey <sellcey@mips.com>
1155
1156 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1157 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1158 * iconvdata/big5.c (ONE_DIRECTION): Define.
1159 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1160 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1161 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1162 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1163 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1164 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1165 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1166 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1167 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1168 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1169 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1170 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1171 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1172 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1173 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1174 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1175 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1176 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1177 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1178 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1179 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1180 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1181 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1182 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1183 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1184 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1185 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1186 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1187 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1188 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1189 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1190 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1191 * iconvdata/johab.c (ONE_DIRECTION): Define.
1192 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1193 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1194 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1195 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1196 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1197 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1198 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1199 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1200 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1201 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1202
c727f032
RM
12032014-05-01 Roland McGrath <roland@hack.frob.com>
1204
8f2f08d0
RM
1205 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1206 (_IO_JUMPS_OFFSET): Define to 0.
1207
c727f032
RM
1208 * nptl/sysdeps/pthread/bits/libc-lock.h
1209 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1210 (__libc_lock_define_initialized_recursive): Always define using
1211 initializer. Modern compilers treat uninitialized (implicit zero) and
1212 explicit zero initializers the same (i.e. put the datum in bss).
1213
a849e800
AS
12142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1215
1216 * nscd/nscd-client.h: Include <string.h>.
1217
5331255b
DM
12182014-05-01 David S. Miller <davem@davemloft.net>
1219
1220 [BZ #16885]
1221 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1222 multiple zero bytes exist at the end of a string.
1223 Reported by Aurelien Jarno <aurelien@aurel32.net>
1224
1225 * string/test-strcmp.c (check): Add explicit test for situations where
1226 there are multiple zero bytes after the first.
1227
4fdfe821
AS
12282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1229
1230 [BZ #16890]
1231 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1232 when compiling wprintf.
1233 * stdio-common/tstdiomisc.c (t3): New function.
1234 (main): Call it.
1235
0cdddc25
SE
12362014-05-01 Steve Ellcey <sellcey@mips.com>
1237
1238 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1239 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1240 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1241 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1242
6426d77e
SE
12432014-05-01 Steve Ellcey <sellcey@mips.com>
1244
1245 * stdlib/longlong.h: Updated from GCC.
1246
6d96f5e4
WN
12472014-05-01 Will Newton <will.newton@linaro.org>
1248 Bernard Ogden <bernie.ogden@linaro.org>
1249
7470db0c
WN
1250 * NEWS: Update fixed bug list.
1251
6d96f5e4
WN
1252 [BZ #15119]
1253 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1254
211d653c
DM
12552014-04-30 David S. Miller <davem@davemloft.net>
1256
4fa262fa
DM
1257 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1258 (libc_feholdexcept_setround_sparc_ctx): New function.
1259 (libc_fesetenv_sparc_ctx): Likewise.
1260 (libc_feupdateenv_sparc_ctx): Likewise.
1261 (libc_feholdsetround_sparc_ctx): Likewise.
1262 (libc_feholdexcept_setround_ctx): Define.
1263 (libc_feholdexcept_setroundf_ctx): Likewise.
1264 (libc_feholdexcept_setroundl_ctx): Likewise.
1265 (libc_fesetenv_ctx): Likewise.
1266 (libc_fesetenvf_ctx): Likewise.
1267 (libc_fesetenvl_ctx): Likewise.
1268 (libc_feupdateenv_ctx): Likewise.
1269 (libc_feupdateenvf_ctx): Likewise.
1270 (libc_feupdateenvl_ctx): Likewise.
1271 (libc_feresetround_ctx): Likewise.
1272 (libc_feresetroundf_ctx): Likewise.
1273 (libc_feresetroundl_ctx): Likewise.
1274 (libc_feholdsetround_ctx): Likewise.
1275 (libc_feholdsetroundf_ctx): Likewise.
1276 (libc_feholdsetroundl_ctx): Likewise.
1277
1d3d93ef
DM
1278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1279 with __USE_GNU instead of XOPEN cpp guards.
1280
8aa583c3
DM
1281 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1282 0.
1283
211d653c
DM
1284 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1285 with XOPEN cpp guards.
1286
60c8f1f6
JB
12872014-04-30 Julian Brown <julian@codesourcery.com>
1288
1289 [BZ #16888]
1290 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1291 handling.
1292
9a461d46
JM
12932014-04-30 Joseph Myers <joseph@codesourcery.com>
1294
d0f5b3f8
JM
1295 [BZ #9894]
1296 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1297 Change to 2.6.32.
1298 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1299 * sysdeps/unix/sysv/linux/configure: Regenerated.
1300 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1301 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1302 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1303 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1304 * README: Update reference to required Linux kernel version.
1305 * manual/install.texi (Linux): Update reference to required Linux
1306 kernel headers version.
1307 * INSTALL: Regenerated.
1308
9a461d46
JM
1309 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1310 header inclusion.
1311 [POSIX] (limits.h): Likewise.
1312 [POSIX] (math.h): Likewise.
1313 [POSIX] (sys/wait.h): Likewise.
1314 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1315 function.
1316 [POSIX] (stddef.h): Do not allow header inclusion.
1317
1775babf
AZ
13182014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319
57f41c40 1320 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1321
8f630cca
YY
13222014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1323
1324 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1325 Return immediately after lll_futex_wake.
1326
1cdeb237
SP
13272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1328
bc8f194c
SP
1329 [BZ #16791]
1330 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1331 structure.
1332 (datahead_init_pos): Call datahead_init_common early.
1333 (datahead_init_neg): Likewise.
1334
1cdeb237
SP
1335 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1336 datahead_init_neg): New functions.
1337 * nscd/aicache.c (addhstaiX): Use them.
1338 * nscd/grpcache.c (cache_addgr): Likewise.
1339 * nscd/hstcache.c (cache_addhst): Likewise.
1340 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1341 * nscd/netgroupcache.c (do_notfound): Likewise.
1342 (addgetnetgrentX): Likewise.
1343 (addinnetgrX): Likewise.
1344 * nscd/pwdcache.c (cache_addpw): Likewise.
1345 * nscd/servicescache.c (cache_addserv): Likewise.
1346
16b293a7
SP
13472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1348 Atsushi Onoe <atsushi@onoe.org>
1349
1350 [BZ #14308]
1351 [BZ #12994]
1352 [BZ #13651]
1353 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1354 one response is valid.
1355 * resolv/res_send.c (send_dg): Check for validity of other
1356 response if the current response is a referral.
1357
a28a9b94
SE
13582014-04-29 Steve Ellcey <sellcey@mips.com>
1359
1360 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1361
2ca180e9
SL
13622014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1363
1364 [BZ #16823]
1365 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1366 Always divide by positive zero when computing -Inf result.
1367 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1368 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1369
18f2945a
AZ
13702014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1373 FPSCR if value do not change.
1374 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1375 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1376 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1377 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1378 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1379 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1380 function.
1381
5abebba4
CD
13822014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1383
1384 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1385 * sysdeps/unix/sysv/linux/hppa: Move directory from
1386 ports/systeps/unix/sysv/linux/hppa.
1387 * README: Update listing for hppa-*-linux-gnu.
1388
f7ed60c2
OB
13892014-04-28 Ondřej Bílka <neleai@seznam.cz>
1390
fff763a5
OB
1391 [BZ #16754]
1392 * manual/stdio.texi (Hook functions): Fix types of stream hook
1393 functions.
f7ed60c2
OB
1394 [BZ #16854]
1395 * socket/sys/socket.h: Fix typo in comment.
1396
df639d73
WD
13972014-04-28 Wilco <wdijkstr@arm.com>
1398
f7ed60c2 1399 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1400 * sysdeps/arm/math_private.h: New file.
1401 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1402
48332d82
L
14032014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1406 with __int128_t.
1407 (La_x86_64_retval): Likewise.
1408
e5e0d9a4
IB
14092014-04-24 Ian Bolton <ian.bolton@arm.com>
1410
1411 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1412 fpsr if value didn't change.
1413 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1414 to fpcr if value didn't change.
1415 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1416 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1417 fpsr or fpcr if value didn't change.
1418 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1419 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1420 fpcr if value didn't change.
1421 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1422 to fpsr if value didn't change.
1423
bacc75f7
SP
14242014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1425
1426 * nptl/tst-sem3.c: Use test-skeleton.c
1427 (main): Rename to do_test. Use return instead of
1428 exit.
1429 * nptl/tst-sem4.c: Use test-skeleton.c
1430 (main): Rename to do_test.
1431
a059d359
DM
14322014-04-22 David S. Miller <davem@davemloft.net>
1433
1434 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1435 (struct sigaction): New struct member __glibc_reserved0, change
1436 type of sa_flags to int.
1437
ea6c92f3
YZ
14382014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1439
1440 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1441 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1442
766c4a36
SP
14432014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1444
1445 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1446 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1447
140cc7ab
VK
14482014-04-22 Will Newton <will.newton@linaro.org>
1449 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1450
1451 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1452 (__longjmp): Add longjmp and longjmp_target SystemTap
1453 probes.
1454 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1455 (__sigsetjmp): Add setjmp SystemTap probe.
1456
c54e5cf7
CD
14572014-04-17 Carlos O'Donell <carlos@redhat.com>
1458
1459 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1460 match manual order.
1461
75ffb047
AZ
14622014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463
1464 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1465
2cd925f7
AZ
1466 * sysdeps/powerpc/fpu/fenv_private.h
1467 (libc_feholdexcept_setroundl_ctx): Define to
1468 libc_feholdexcept_setround_ppc_ctx.
1469 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1470 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1471 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1472 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1473
39e6cd8d
IB
14742014-04-17 Ian Bolton <ian.bolton@arm.com>
1475
1476 * sysdeps/aarch64/math-tests.h: New file.
1477
f9281df9
SY
14782014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1479
1480 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1481 New.
1482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1483 Check and set bit_AVX2_Usable.
1484 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1485 macro.
1486 (bit_AVX2): Likewise.
1487 (index_AVX2_Usable): Likewise.
1488 (CPUID_AVX2): Likewise.
1489 (HAS_AVX2): Likewise.
1490
37d35007
WN
14912014-04-17 Will Newton <will.newton@linaro.org>
1492
7c677662
WN
1493 * manual/setjmp.texi (System V contexts): Add note that
1494 calling setcontext on a context created by a call to a
1495 signal handler is undefined. Update text to note that
1496 setcontext from a signal handler is possible but not
1497 recommended.
1498
37d35007 1499 [BZ #16629]
e04a4e9d
WN
1500 * stdlib/tst-setcontext.c: Include signal.h.
1501 (main): Check that the signal stack before and
1502 after swapcontext is the same.
1503
37d35007
WN
1504 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1505 Re-implement to restore registers in user code and avoid
1506 rt_sigreturn system call.
1507
423a7160
W
15082014-04-17 Wilco <wdijkstr@arm.com>
1509
1510 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1511 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1512 * math/test-fenv.c: Skip exception trap tests on targets which only
1513 support non-stop mode.
1514
bc93ab29
IB
15152014-04-17 Ian Bolton <ian.bolton@arm.com>
1516 Wilco Dijkstra <wilco.dijkstra@arm.com>
1517
1518 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1519 (libc_feholdsetround_aarch64_ctx)
1520 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1521 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1522 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1523 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1524 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1525 (libc_feresetround_noexl_ctx): Define.
1526
95fc5fa3
RH
15272014-04-16 Richard Henderson <rth@redhat.com>
1528
ddb04724
RH
1529 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1530
d77c0899
RH
1531 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1532 unwind tables.
1533
a3df56fc
RH
1534 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1535 const from the non-libc, non-ldso copy.
1536
95fc5fa3
RH
1537 * sysdeps/alpha/libm-test-ulps: Regenerate.
1538
7e0b6763
IB
15392014-04-16 Ian Bolton <ian.bolton@arm.com>
1540 Wilco Dijkstra <wilco.dijkstra@arm.com>
1541
1542 * sysdeps/aarch64/fpu/math_private.h: New file.
1543
a9ea2e0c
MS
15442014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1545
1546 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1547
ea8ba7cd
IZ
15482014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1549
1550 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1551 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1553 Intel MPX bound registers before _dl_profile_fixup.
1554 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1555 registers after _dl_profile_fixup. Save and restore bound
1556 registers bnd0/bnd1 when calling _dl_call_pltexit.
1557 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1558 (LR_BND_OFFSET): Likewise.
1559 (LRV_BND0_OFFSET): Likewise.
1560 (LRV_BND1_OFFSET): Likewise.
1561
9f2a4fbc
ST
15622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1563
1564 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1565 to...
1566 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1567 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1568 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1569 fields.
9f2a4fbc 1570
fd15a59b
ST
15712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1572
1573 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1574
f19dfa0a
SL
15752014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1576
1577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1578
4fa8bc3b
SL
15792014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1580
1581 [BZ #14770]
1582 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1583 * sysdeps/s390/configure: Regenerate.
1584
8ea587db
SL
1585 [BZ #16824]
1586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1587 Set round-to-nearest internally to reduce error accumulation.
1588
aa5f0ff1
AM
15892014-04-16 Alan Modra <amodra@gmail.com>
1590
1591 [BZ #16740]
1592 [BZ #16619]
1593 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1594 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1595 * NEWS: Update fixed bug list.
aa5f0ff1 1596
bb9c256f
SP
15972014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1598
1599 * benchtests/Makefile: Depend on libraries in build directory.
1600 (bench-math): Separate out math tests.
1601 (bench-pthread): Separate out pthread tests.
1602 (bench): Include math and pthread tests.
1603
f737dfd0
CD
16042014-04-14 Carlos O'Donell <carlos@redhat.com>
1605
1606 [BZ #16831]
1607 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1608 _dl_debug_initialize.
1609
0699f766
CD
1610 * configure.ac: Remove SELinux header check.
1611 * configure: Regenerate.
1612 * nscd/selinux.c (perms): Array of const char* to permission names.
1613 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1614 default policy. Call string_to_security_class and string_to_av_perm to
1615 translate strings. Enforce default policy and call avs_has_perm with
1616 results of translated strings.
1617
809bd45f
DM
16182014-04-13 David S. Miller <davem@davemloft.net>
1619
1620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1621
89e691f2
AM
16222014-04-12 Allan McRae <allan@archlinux.org>
1623
1624 [BZ #16838]
1625 * manual/string.texi (Collation Functions): Fix qsort argument
1626 order in example.
1627 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1628
9c9daaeb
CM
16292014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1630
1631 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1632 Make the test a no-op if there are no exceptions defined.
1633
95561fb9
PP
16342014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1635
fe8d072c 1636 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1637 enable-hardcoded-path-in-tests
1638
970c602a
WN
16392014-04-11 Will Newton <will.newton@linaro.org>
1640
1641 * benchtests/Makefile (extra-objs): Add json-lib.o.
1642 (bench-func): Tidy up JSON output.
1643 * benchtests/bench-skeleton.c: Include json-lib.h.
1644 (main): Use JSON library functions to do output of
1645 benchmark results.
1646 * benchtests/bench-timing-type.c (main): Output the
1647 timing type simply, leaving formatting to the user.
1648 * benchtests/json-lib.c: New file.
1649 * benchtests/json-lib.h: Likewise.
1650
36875b06
TR
16512014-04-11 Torvald Riegel <triegel@redhat.com>
1652
1653 [BZ #15215]
1654 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1655 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1656 memory barriers. Add comments.
1657 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1658 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1659 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1660 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1661 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1662 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1663
579db35a
SL
16642014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1665
1666 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1667 * sysdeps/s390/s390-64/configure.ac: ... this ...
1668 * sysdeps/s390/configure.ac: ... to here.
1669 * sysdeps/s390/s390-32/configure: Delete file.
1670 * sysdeps/s390/s390-64/configure: Delete file.
1671 * sysdeps/s390/configure: Regenerate.
1672
c12e9f37
JAPH
16732014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1674
1675 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1676
439bda32
WN
16772014-04-11 Will Newton <will.newton@linaro.org>
1678
1679 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1680 to zero if it is not defined elsewhere. (mtrim): Test
1681 the value of MALLOC_DEBUG with #if rather than #ifdef.
1682
6a5d6ea1
TR
16832014-04-10 Torvald Riegel <triegel@redhat.com>
1684
1685 * benchtests/pthread_once-inputs: New file.
1686 * benchtests/pthread_once-source.c: New file.
1687 * benchtests/README: Update documentation.
1688
a4c75cfd
IZ
16892014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1690 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1693 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1694 * sysdeps/x86_64/configure: Regenerated.
1695 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1696 macro.
1697 (REGISTER_SAVE_RAX): Likewise.
1698 (REGISTER_SAVE_RCX): Likewise.
1699 (REGISTER_SAVE_RDX): Likewise.
1700 (REGISTER_SAVE_RSI): Likewise.
1701 (REGISTER_SAVE_RDI): Likewise.
1702 (REGISTER_SAVE_R8): Likewise.
1703 (REGISTER_SAVE_R9): Likewise.
1704 (REGISTER_SAVE_BND0): Likewise.
1705 (REGISTER_SAVE_BND1): Likewise.
1706 (REGISTER_SAVE_BND2): Likewise.
1707 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1708 bound registers when calling _dl_fixup.
1709
27822ce6
AZ
17102014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711
1712 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1713 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1714 of its definition.
27822ce6
AZ
1715 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1716 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1717 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1718 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1719 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1720 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1721 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1722
a88ddc90
PTB
17232014-04-09 Peter Brett <peter@peter-b.co.uk>
1724
1725 [BZ #15514]
1726 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1727 pathconf(_PC_NAME_MAX).
1728
01f8eac2
AZ
17292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1732 Remove macro usage.
1733 (__PTHREAD_SPINS): Move definition to ...
1734 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1735 (__PTHREAD_SPINS): ... here.
1736 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1737 (__PTHREAD_SPIN): Likewise.
1738 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1739 (__PTHREAD_SPIN): Likewise.
1740 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1741 (__PTHREAD_SPIN): Likewise.
1742 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1743 (__PTHREAD_SPIN): Likewise.
1744 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1745 (__PTHREAD_SPIN): Likewise.
1746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1747 (__PTHREAD_SPIN): Likewise.
1748 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1749 (__PTHREAD_SPIN): Likewise.
1750 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1751 (__PTHREAD_SPIN): Likewise.
1752 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1753 (__PTHREAD_SPIN): Likewise.
1754 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1755 (__PTHREAD_SPIN): Likewise.
1756 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1757 (__PTHREAD_SPIN): Likewise.
1758 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1759 (__PTHREAD_SPIN): Likewise.
1760
de21c33c
AZ
1761 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1762 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1763 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1764 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1765 imply folder.
1766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1767 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1768 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1769 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1770 correct imply path.
1771 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1772 strlen symbol for non multi-arch builds.
1773 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1774 missing hidden_def and weak_alias.
1775
862c472e
CD
17762014-04-08 Carlos O'Donell <carlos@redhat.com>
1777
1778 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1779
8667f90e
WN
17802014-04-07 Will Newton <will.newton@linaro.org>
1781
1782 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1783 and contents. [!_LIBC] Remove #ifndef and contents.
1784 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1785 * string/memccpy.c (__memccpy): Use ANSI prototype.
1786 * string/memfrob.c (memfrob): Likewise.
1787 * string/strcoll.c (STRCOLL): Likewise.
1788 * string/strlen.c (strlen): Likewise.
1789 * string/strtok.c (STRTOK): Likewise.
1790 * string/strcat.c: Remove unused #include of memcopy.h.
1791 (strcat): Use ANSI prototype.
1792 * string/strchr.c: Remove unused #include of memcopy.h.
1793 (strchr): Use ANSI prototype.
1794 * string/strcmp.c: Remove unused #include of memcopy.h.
1795 (strcmp): Use ANSI prototype.
1796 * string/strcpy.c: Remove unused #include of memcopy.h.
1797 (strcpy): Use ANSI prototype.
1798
7ffa9423
AZ
17992014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800
1801 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1802 * config.make.in (config-extra-cppflags): Set it from
1803 libc_extra_cppflags.
1804 * configure.ac (libc_extra_cflags): Make it accumulate over
1805 configure fragments.
1806 (libc_extra_cppflags): New flag.
1807 * configure. Regenerate.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1809 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1810 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1812
8bd70862
AZ
1813 [BZ #16815]
1814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1815 result for FE_DOWNWARD rounding mode.
1816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1817 Likewise.
1818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1819
d42f3448
CM
18202014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1821
1822 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1823 in function argument name.
1824
1c21d115
DS
18252014-04-03 David Svoboda <svoboda@cert.org>
1826
1827 [BZ #5666]
1828 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1829 explicitly.
1830
fcccd512
RM
18312014-04-03 Roland McGrath <roland@hack.frob.com>
1832
1833 * elf/dl-unmap-segments.h: New file.
1834 * sysdeps/generic/ldsodefs.h
1835 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1836 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1837 * elf/dl-fptr.c: Likewise.
1838 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1839 * sysdeps/aarch64/tlsdesc.c: Likewise.
1840 * sysdeps/arm/tlsdesc.c: Likewise.
1841 * sysdeps/i386/tlsdesc.c: Likewise.
1842 * sysdeps/tile/dl-runtime.c: Likewise.
1843 * sysdeps/x86_64/tlsdesc.c: Likewise.
1844 * elf/dl-load.h: New file.
1845 * elf/dl-load.c: Include it.
1846 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1847 Macros moved to dl-load.h.
1848 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1849 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1850 Use _dl_unmap_segments in place of __munmap.
1851 Break out segment-mapping loop into ...
1852 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1853
f6488e2b
WN
18542014-04-03 Will Newton <will.newton@linaro.org>
1855
1856 * elf/dl-lookup.c (do_lookup_x): Remove comment
1857 referring to nested function and move variable
1858 declarations down to before first use.
1859
6f05bafe
JM
18602014-04-02 Joseph Myers <joseph@codesourcery.com>
1861
a84e78c8
JM
1862 [BZ #16799]
1863 [BZ #16800]
1864 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1865 with 0 numerator.
1866 * math/s_catanf.c (__catanf): Likewise.
1867 * math/s_catanh.c (__catanh): Likewise.
1868 * math/s_catanhf.c (__catanhf): Likewise.
1869 * math/s_catanhl.c (__catanhl): Likewise.
1870 * math/s_catanl.c (__catanl): Likewise.
1871 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1872 by positive zero when computing -Inf result.
1873 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1874 (catanh_test): Likewise.
1875 * sysdeps/i386/fpu/libm-test-ulps: Update.
1876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1877
6f05bafe
JM
1878 [BZ #16789]
1879 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1880 instead of using underflowing value in computing result.
1881 * math/s_clog10.c (__clog10): Likewise.
1882 * math/s_clog10f.c (__clog10f): Likewise.
1883 * math/s_clog10l.c (__clog10l): Likewise.
1884 * math/s_clogf.c (__clogf): Likewise.
1885 * math/s_clogl.c (__clogl): Likewise.
1886 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1887 (clog10_test): Likewise.
1888 * sysdeps/i386/fpu/libm-test-ulps: Update.
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1890
b0abbc21
AM
18912014-04-02 Alan Modra <amodra@gmail.com>
1892
1893 [BZ #16739]
1894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1895 output when value is near a power of two. Use int64_t for lx and
1896 remove casts. Use decimal rather than hex exponent constants.
1897 Don't use long double multiplication when double will suffice.
1898 * math/libm-test.inc (nextafter_test_data): Add tests.
1899 * NEWS: Add 16739 and 16786 to bug list.
1900
af6b1797
AM
1901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1902
483818d7
AM
1903 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1904
f6c55796
WN
19052014-04-01 Will Newton <will.newton@linaro.org>
1906
1907 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1908 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1909
13f7fe35
FW
19102014-04-01 Florian Weimer <fweimer@redhat.com>
1911
1912 [BZ #13347]
1913 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1914 * nptl/tst-setuid2.c: New file.
1915 * nptl/Makefile (xtests): Add tst-setuid2.
1916
c859b32e
AM
19172014-04-01 Alan Modra <amodra@gmail.com>
1918
1919 [BZ #16786]
1920 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1921
54fa2475
JM
19222014-03-31 Joseph Myers <joseph@codesourcery.com>
1923
8795b4a4
JM
1924 [BZ #6803]
1925 [BZ #6804]
1926 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1927 set errno as appropriate.
1928 * math/w_scalbf.c (__scalbf): Likewise.
1929 * math/w_scalbl.c (__scalbl): Likewise.
1930 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1931 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1932 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1933 Add more NaN tests.
1934
54fa2475
JM
1935 [BZ #16349]
1936 * math/w_atan2.c: Include <errno.h>.
1937 (__atan2): Set errno for result underflowing to zero.
1938 * math/w_atan2f.c: Include <errno.h>.
1939 (__atan2f): Set errno for result underflowing to zero.
1940 * math/w_atan2l.c: Include <errno.h>.
1941 (__atan2l): Set errno for result underflowing to zero.
1942 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1943 tests.
1944 * math/auto-libm-test-out: Regenerated.
1945
757d9dd5
AZ
19462014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947
1948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1949 Encode instruction correctly in little endian.
1950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1951 Likewise.
1952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1953 Likewise.
1954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1955 Likewise.
1956 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1957 Likewise.
1958
d7a68734
JM
19592014-03-31 Joseph Myers <joseph@codesourcery.com>
1960
47c5adeb
JM
1961 [BZ #9894]
1962 * sysdeps/unix/sysv/linux/kernel-features.h
1963 [__sparc__ && !__arch64__ && !__sparc_v9__]
1964 (__ASSUME_SET_ROBUST_LIST): Do not define.
1965 [__sparc__ && !__arch64__ && !__sparc_v9__]
1966 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1967 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1968 Likewise.
1969 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1970 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1971 (__ASSUME_REQUEUE_PI): Likewise.
1972 (__ASSUME_SET_ROBUST_LIST): Likewise.
1973 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1974 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1975 Undefine.
1976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1977 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1978 Likewise.
1979 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1980 Likewise.
1981 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1982 Likewise.
1983 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1984 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1985 Undefine.
1986 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1987 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1988 Likewise.
1989
d7a68734
JM
1990 [BZ #16648]
1991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1992 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1993 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1994
c760f5c2
WN
19952014-03-31 Will Newton <will.newton@linaro.org>
1996
1997 * benchtests/Makefile (bench): Add ffs and ffsll to list
1998 of tests.
1999 * benchtests/ffs-inputs: New file.
2000 * benchtests/ffsll-inputs: Likewise.
2001
ea6029b1
JM
20022014-03-29 Joseph Myers <joseph@codesourcery.com>
2003
2004 [BZ #16770]
2005 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2006 too large before casting to int.
2007 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2008 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2009 * math/libm-test.inc (scalb_test_data): Add more tests.
2010
cf806aff
SP
20112014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2012
56737508
SP
2013 * benchtests/Makefile (DETAILED_OPT): New make option.
2014 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2015 set.
2016 * benchtests/bench-skeleton.c: Include stdbool.h.
2017 (main): Store and print timings per input.
2018 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2019 member to each argument value.
2020 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2021 (_print_arg_data): Initialize per-input timing to 0.
2022
cb5e4aad
SP
2023 * benchtests/Makefile (timing-type): New binary.
2024 (bench-clean): Also remove bench-timing-type.
2025 (bench): New target for timing-type.
2026 (bench-func): Print output in JSON format.
2027 * benchtests/bench-skeleton.c (main): Print output in JSON
2028 format.
2029 * benchtests/bench-timing-type.c: New file.
2030 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2031 (TIMING_PRINT_STATS): Remove.
2032 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2033 name separately.
2034
cf806aff
SP
2035 * benchtests/bench-modf.c: Remove.
2036 * benchtests/modf-inputs: New inputs file.
2037
289e0779
JM
20382014-03-28 Joseph Myers <joseph@codesourcery.com>
2039
2040 [BZ #16362]
2041 * math/s_clog10.c (M_PI_LOG10E): New macro.
2042 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2043 imaginary parts are 0.
2044 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2045 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2046 imaginary parts are 0.
2047 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2048 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2049 imaginary parts are 0.
2050 * math/libm-test.inc (clog10_test_data): Update expected results
2051 for when real and imaginary parts are 0.
2052
277ae3f1
PP
20532014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2054
2055 * elf/dl-load.c: Finish conversion of __builtin_expect into
2056 __glibc_{un}likely.
2057
03a7091f
JM
20582014-03-27 Joseph Myers <joseph@codesourcery.com>
2059
2060 [BZ #16348]
2061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2062 1+x for argument with exponent below -67.
2063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2064 Likewise.
2065 * math/auto-libm-test-in: Add more tests of exp.
2066 * math/auto-libm-test-out: Regenerated.
2067
ea7d8b95
SP
20682014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2069
dd3022d7
SP
2070 [BZ #16759]
2071 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2072 (nscd_getnetgrent): Use it.
2073
ea7d8b95
SP
2074 [BZ #16760]
2075 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2076 of stpcpy.
2077
df5b85da
AK
20782014-03-27 Andi Kleen <ak@linux.intel.com>
2079
57f41c40
AS
2080 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2081 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2082 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2083 (lll_robust_unlock): Remove out of line section. Use cfi
2084 intrinsics.
df5b85da 2085 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2086 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2087 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2088 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2089 (lll_robust_unlock): Remove out of line section. Use cfi
2090 intrinsics.
df5b85da
AK
2091 (LLL_STUB_UNWIND_INFO*): Remove.
2092
fbd6b5a4
SP
20932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 [BZ #16758]
2096 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2097 blank values.
2098
1b26b855
PP
20992014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2100
2101 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2102
9be36fb8
JM
21032014-03-26 Joseph Myers <joseph@codesourcery.com>
2104
2105 [BZ #16198]
2106 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2107 fnstenv.
2108 * math/test-fenv-preserve.c: New file.
2109 * math/Makefile (tests): Add test-fenv-preserve.
2110
60a2f3c1
WN
21112014-03-26 Will Newton <will.newton@linaro.org>
2112
2113 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2114
a5e5f1e2
RM
21152014-03-25 Roland McGrath <roland@hack.frob.com>
2116
2117 * scripts/versionlist.awk: Partition the version sets and emit all
2118 GLIBC_* (sorted) before all others (sorted).
2119
00f4012a
JM
21202014-03-25 Joseph Myers <joseph@codesourcery.com>
2121
2122 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2123 GLIBC_2.2.5 version.
2124
7bc5a741
AZ
21252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126
2127 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2128 calls.
2129
7578473b
AZ
2130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2131 previous change.
2132
f3f1dab3
AZ
2133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2134
6da36183
AS
21352014-03-25 Andreas Schwab <schwab@suse.de>
2136
2137 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2138 label to be used after in6ailist is initialized.
2139
f3f1dab3 21402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2141
7578473b 2142 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2143 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2144
046651c1
JM
21452014-03-25 Joseph Myers <joseph@codesourcery.com>
2146
2147 [BZ #16357]
2148 [BZ #16599]
2149 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2150 min_plus_half.
2151 (fp_formats): Update initializers.
2152 (init_fp_formats): Initialize new field.
2153 (output_for_one_input_case): Allow underflow for results up to
2154 min_plus_half.
2155 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2156 * math/auto-libm-test-in: Don't mark some underflows from asin and
2157 atanh as spurious.
2158 * math/auto-libm-test-out: Regenerated.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2161
003e49ed
AS
21622014-03-25 Andreas Schwab <schwab@suse.de>
2163
2164 * libio/Makefile (tst-ftell-partial-wide-ENV)
2165 (tst-ftell-active-handler-ENV): Define.
2166
de031874
SL
21672014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2168
2169 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2170
55a81e3b
PP
21712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2172
2173 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2174
f3426898
JM
21752014-03-24 Joseph Myers <joseph@codesourcery.com>
2176
2177 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2178 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2179 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2180
a42faf59
PP
21812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2182
2183 [BZ #16634]
a42faf59 2184 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2185 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2186 (open_path): Change from boolean 'secure' to complete flag 'mode'
2187 (_dl_map_object): Adjust.
a42faf59
PP
2188 * elf/Makefile (tests): Add tst-dlopen-aout.
2189 * elf/tst-dlopen-aout.c: New test.
2190
50936127
SL
21912014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2192
2193 [BZ #16714]
2194 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2195 (struct stat): Rename member pad0 to __glibc_reserved0.
2196
26011b5c
SL
2197 [BZ #16712]
2198 * sysdeps/s390/s390-32/bits/wordsize.h
2199 (__WORDSIZE32_SIZE_ULONG): New define.
2200 * sysdeps/s390/s390-64/bits/wordsize.h
2201 (__WORDSIZE32_SIZE_ULONG): Likewise.
2202 * sysdeps/generic/stdint.h (SIZE_MAX):
2203 Define as UL if __WORDSIZE32_SIZE_ULONG.
2204
a2d86bf1
SL
2205 [BZ #16713]
2206 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2207 (__glibc_reserved0): New variable.
2208 (sa_flags): Change type to int.
2209
78b6eebc
SL
2210 * posix/Makefile (before-compile): Use += before-compile instead
2211 of a :=.
2212
f1399b5a
SL
2213 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2214 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2215
a071766e
AS
22162014-03-20 Andreas Schwab <schwab@suse.de>
2217
2218 [BZ #16743]
2219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2220 non-matching result from nscd.
2221
27c673b8
SP
22222014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2223
2224 * scripts/bench.py: Moved to ...
2225 * benchtests/scripts/bench.py: ... here.
2226 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2227
44152e4b
AS
22282014-03-24 Andreas Schwab <schwab@suse.de>
2229
2230 [BZ #16002]
2231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2232 alloca_account and account alloca use for struct in6ailist.
2233
b376a11a
JM
22342014-03-24 Joseph Myers <joseph@codesourcery.com>
2235
2236 [BZ #16284]
2237 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2238 rounding mode to recompute results that overflow to infinity or
2239 underflow to zero.
2240 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2241 bug 16284.
2242 * math/auto-libm-test-out: Regenerated.
2243 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2244 (ccosh_test): Likewise.
2245 (csin_test_data): Use plus_oflow.
2246 (csin_test): Use ALL_RM_TEST.
2247 (csinh_test_data): Use plus_oflow.
2248 (csinh_test): Use ALL_RM_TEST.
2249 * sysdeps/i386/fpu/libm-test-ulps: Update.
2250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2251
f7be7376
JM
22522014-03-21 Joseph Myers <joseph@codesourcery.com>
2253
1ca2d03e
JM
2254 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2255 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2256 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2257
f7be7376
JM
2258 [BZ #16731]
2259 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2260 when x - 1 is zero.
2261 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2262 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2263 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2265 argument is 1.
2266 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2267 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2268 zero.
2269 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2270 * sysdeps/i386/fpu/libm-test-ulps: Update.
2271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2272
fdf4534d
SP
22732014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2274
df26ea53
SP
2275 * scripts/bench.pl: Remove file.
2276 * scripts/bench.py: New benchmark script.
2277 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2278 * benchtests/README: Mention python dependency.
2279 * scripts/pylintrc: New file.
2280 * scripts/pylint: New file.
2281
fdf4534d
SP
2282 * bits/mathdef.h: Use #ifdef instead of #if.
2283 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2284 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2285 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2286 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2287 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2288 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2289
6f23d093
AZ
22902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2292
2293 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2295 and strpbrk-ppc64 objects.
2296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2297 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2298 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2299 multiarch strpbrk for POWER7.
2300 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2301 multiarch strpbrk for PPC64.
2302 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2303 ifunc selector.
2304 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2305 strpbrk for POWER7.
2306
8c92dfff
JM
23072014-03-20 Joseph Myers <joseph@codesourcery.com>
2308
2309 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2310 (atan_test): Likewise.
2311 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2312 (atanh_test): Use ALL_RM_TEST.
2313 (atan2_test_data): Likewise.
2314 (cabs_test): Likewise.
2315 (cacosh_test): Likewise.
2316 (carg_test): Likewise.
2317 (casin_test): Likewise.
2318 (casinh_test): Likewise.
2319 (cbrt_test): Likewise.
2320 (csqrt_test): Likewise.
2321 (erf_test): Likewise.
2322 (erfc_test): Likewise.
2323 (pow10_test): Likewise.
2324 (exp2_test): Likewise.
2325 (hypot_test): Likewise.
2326 (j0_test): Likewise.
2327 (j1_test): Likewise.
2328 (lgamma_test): Likewise.
2329 (gamma_test): Likewise.
2330 (sincos_test): Likewise.
2331 (tanh_test): Likewise.
2332 (y0_test): Likewise.
2333 (y1_test): Likewise.
2334 * sysdeps/i386/fpu/libm-test-ulps: Update.
2335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336
6eaf95cb
AZ
23372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338
a387428c
SP
2339 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2341 and strcspn-ppc64 objects.
2342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2343 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2344 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2345 multiarch strcspn for POWER7.
2346 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2347 multiarch strcspn for PPC64.
2348 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2349 ifunc selector.
2350 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2351 strcspn for POWER7.
2352
ae3a5dff
JM
23532014-03-20 Joseph Myers <joseph@codesourcery.com>
2354
2355 * math/gen-libm-test.pl (generate_testfile): Expect only function
2356 name as argument to AUTO_TESTS_* and pass results for all rounding
2357 modes to parse_args.
2358 (parse_auto_input): Separate inputs of automatic tests from
2359 outputs before storing in %auto_tests.
2360 * math/libm-test.inc (acos_test_data): Update call to
2361 AUTO_TESTS_f_f.
2362 (acos_test): Use ALL_RM_TEST.
2363 (acos_tonearest_test_data): Remove.
2364 (acos_test_tonearest): Likewise.
2365 (acos_towardzero_test_data): Likewise.
2366 (acos_test_towardzero): Likewise.
2367 (acos_downward_test_data): Likewise.
2368 (acos_test_downward): Likewise.
2369 (acos_upward_test_data): Likewise.
2370 (acos_test_upward): Likewise.
2371 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2372 (asin_test_data): Likewise.
2373 (asin_test): Use ALL_RM_TEST.
2374 (asin_tonearest_test_data): Remove.
2375 (asin_test_tonearest): Likewise.
2376 (asin_towardzero_test_data): Likewise.
2377 (asin_test_towardzero): Likewise.
2378 (asin_downward_test_data): Likewise.
2379 (asin_test_downward): Likewise.
2380 (asin_upward_test_data): Likewise.
2381 (asin_test_upward): Likewise.
2382 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2383 (atan_test_data): Likewise.
2384 (atanh_test_data): Likewise.
2385 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2386 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2387 (carg_test_data): Likewise.
2388 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2389 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2390 (ccosh_test_data): Likewise.
2391 (cexp_test_data): Likewise.
2392 (clog_test_data): Likewise.
2393 (clog10_test_data): Likewise.
2394 (cos_test_data): Update call to AUTO_TESTS_f_f.
2395 (cos_test): Use ALL_RM_TEST.
2396 (cos_tonearest_test_data): Remove.
2397 (cos_test_tonearest): Likewise.
2398 (cos_towardzero_test_data): Likewise.
2399 (cos_test_towardzero): Likewise.
2400 (cos_downward_test_data): Likewise.
2401 (cos_test_downward): Likewise.
2402 (cos_upward_test_data): Likewise.
2403 (cos_test_upward): Likewise.
2404 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2405 (cosh_test): Use ALL_RM_TEST.
2406 (cosh_tonearest_test_data): Remove.
2407 (cosh_test_tonearest): Likewise.
2408 (cosh_towardzero_test_data): Likewise.
2409 (cosh_test_towardzero): Likewise.
2410 (cosh_downward_test_data): Likewise.
2411 (cosh_test_downward): Likewise.
2412 (cosh_upward_test_data): Likewise.
2413 (cosh_test_upward): Likewise.
2414 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2415 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2416 (ctan_test_data): Likewise.
2417 (ctan_test): Use ALL_RM_TEST.
2418 (ctan_tonearest_test_data): Remove.
2419 (ctan_test_tonearest): Likewise.
2420 (ctan_towardzero_test_data): Likewise.
2421 (ctan_test_towardzero): Likewise.
2422 (ctan_downward_test_data): Likewise.
2423 (ctan_test_downward): Likewise.
2424 (ctan_upward_test_data): Likewise.
2425 (ctan_test_upward): Likewise.
2426 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2427 (ctanh_test): Use ALL_RM_TEST.
2428 (ctanh_tonearest_test_data): Remove.
2429 (ctanh_test_tonearest): Likewise.
2430 (ctanh_towardzero_test_data): Likewise.
2431 (ctanh_test_towardzero): Likewise.
2432 (ctanh_downward_test_data): Likewise.
2433 (ctanh_test_downward): Likewise.
2434 (ctanh_upward_test_data): Likewise.
2435 (ctanh_test_upward): Likewise.
2436 (erf_test_data): Update call to AUTO_TESTS_f_f.
2437 (erfc_test_data): Likewise.
2438 (exp_test_data): Likewise.
2439 (exp_test): Use ALL_RM_TEST.
2440 (exp_tonearest_test_data): Remove.
2441 (exp_test_tonearest): Likewise.
2442 (exp_towardzero_test_data): Likewise.
2443 (exp_test_towardzero): Likewise.
2444 (exp_downward_test_data): Likewise.
2445 (exp_test_downward): Likewise.
2446 (exp_upward_test_data): Likewise.
2447 (exp_test_upward): Likewise.
2448 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2449 (exp10_test): Use ALL_RM_TEST.
2450 (exp10_tonearest_test_data): Remove.
2451 (exp10_test_tonearest): Likewise.
2452 (exp10_towardzero_test_data): Likewise.
2453 (exp10_test_towardzero): Likewise.
2454 (exp10_downward_test_data): Likewise.
2455 (exp10_test_downward): Likewise.
2456 (exp10_upward_test_data): Likewise.
2457 (exp10_test_upward): Likewise.
2458 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2459 (expm1_test_data): Likewise.
2460 (expm1_test): Use ALL_RM_TEST.
2461 (expm1_tonearest_test_data): Remove.
2462 (expm1_test_tonearest): Likewise.
2463 (expm1_towardzero_test_data): Likewise.
2464 (expm1_test_towardzero): Likewise.
2465 (expm1_downward_test_data): Likewise.
2466 (expm1_test_downward): Likewise.
2467 (expm1_upward_test_data): Likewise.
2468 (expm1_test_upward): Likewise.
2469 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2470 (fma_test): Use ALL_RM_TEST.
2471 (fma_towardzero_test_data): Remove.
2472 (fma_test_towardzero): Likewise.
2473 (fma_downward_test_data): Likewise.
2474 (fma_test_downward): Likewise.
2475 (fma_upward_test_data): Likewise.
2476 (fma_test_upward): Likewise.
2477 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2478 (j0_test_data): Update call to AUTO_TESTS_f_f.
2479 (j1_test_data): Likewise.
2480 (jn_test_data): Update call to AUTO_TESTS_if_f.
2481 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2482 (log_test_data): Update call to AUTO_TESTS_f_f.
2483 (log10_test_data): Likewise.
2484 (log1p_test_data): Likewise.
2485 (log2_test_data): Likewise.
2486 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2487 (pow_tonearest_test_data): Likewise.
2488 (sin_test_data): Update call to AUTO_TESTS_f_f.
2489 (sin_test): Use ALL_RM_TEST.
2490 (sin_tonearest_test_data): Remove.
2491 (sin_test_tonearest): Likewise.
2492 (sin_towardzero_test_data): Likewise.
2493 (sin_test_towardzero): Likewise.
2494 (sin_downward_test_data): Likewise.
2495 (sin_test_downward): Likewise.
2496 (sin_upward_test_data): Likewise.
2497 (sin_test_upward): Likewise.
2498 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2499 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2500 (sinh_test): Use ALL_RM_TEST.
2501 (sinh_tonearest_test_data): Remove.
2502 (sinh_test_tonearest): Likewise.
2503 (sinh_towardzero_test_data): Likewise.
2504 (sinh_test_towardzero): Likewise.
2505 (sinh_downward_test_data): Likewise.
2506 (sinh_test_downward): Likewise.
2507 (sinh_upward_test_data): Likewise.
2508 (sinh_test_upward): Likewise.
2509 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2510 (sqrt_test): Use ALL_RM_TEST.
2511 (sqrt_tonearest_test_data): Remove.
2512 (sqrt_test_tonearest): Likewise.
2513 (sqrt_towardzero_test_data): Likewise.
2514 (sqrt_test_towardzero): Likewise.
2515 (sqrt_downward_test_data): Likewise.
2516 (sqrt_test_downward): Likewise.
2517 (sqrt_upward_test_data): Likewise.
2518 (sqrt_test_upward): Likewise.
2519 (tan_test_data): Update call to AUTO_TESTS_f_f.
2520 (tan_test): Use ALL_RM_TEST.
2521 (tan_tonearest_test_data): Remove.
2522 (tan_test_tonearest): Likewise.
2523 (tan_towardzero_test_data): Likewise.
2524 (tan_test_towardzero): Likewise.
2525 (tan_downward_test_data): Likewise.
2526 (tan_test_downward): Likewise.
2527 (tan_upward_test_data): Likewise.
2528 (tan_test_upward): Likewise.
2529 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2530 (tgamma_test_data): Likewise.
2531 (y0_test_data): Likewise.
2532 (y1_test_data): Likewise.
2533 (yn_test_data): Update call to AUTO_TESTS_if_f.
2534 (main): Do not call removed functions.
2535
d71aeee8
JM
25362014-03-19 Joseph Myers <joseph@codesourcery.com>
2537
2538 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2539 (ldexp_test_data): Remove.
2540 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2541 scalbn_test_data.
2542 (scalb_test): Use ALL_RM_TEST.
2543
baaf1ded
AS
25442014-03-19 Andreas Schwab <schwab@suse.de>
2545
2546 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2547
b1115e91
JM
25482014-03-19 Joseph Myers <joseph@codesourcery.com>
2549
2550 [BZ #16649]
2551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2552 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2555 (__ASSUME_PREADV): Undefine.
2556 (__ASSUME_PWRITEV): Likewise.
2557
0283ecca
RM
25582014-03-18 Roland McGrath <roland@hack.frob.com>
2559
7d375303
RM
2560 * bits/mman-linux.h: Add comment about non-Linux use.
2561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2562 bits/mman-linux.h resting place.
2563
0283ecca
RM
2564 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2565 * bits/mman-linux.h: ... here.
2566
aebe1003
AZ
25672014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568
2569 * conform/conformtest.pl: Add standard definition when calling C
2570 preprocessor on data files.
2571 (checknamespace): Remove unused variable.
2572
b29b6bb8
JM
25732014-03-18 Joseph Myers <joseph@codesourcery.com>
2574
2575 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2576 minus_oflow, plus_uflow and minus_uflow in expected results.
2577 * math/libm-test.inc (scalbn_test_data): Add more tests of
2578 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2579 minus_uflow.
2580 (scalbn_test): Use ALL_RM_TEST.
2581 (scalbln_test_data): Add more tests of negative arguments. Use
2582 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2583 (scalbln_test): Use ALL_RM_TEST.
2584
c8f8fa15
RM
25852014-03-18 Roland McGrath <roland@hack.frob.com>
2586
2587 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2588
fede7a5f
WN
25892014-03-18 Will Newton <will.newton@linaro.org>
2590
2591 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2592 inaccurate comment.
2593
80cf0a58
JM
25942014-03-18 Joseph Myers <joseph@codesourcery.com>
2595
2596 * Makerules [!subdir] (check-abi): Exit with error status if a
2597 test failed.
2598
b3620862
JM
25992014-03-17 Joseph Myers <joseph@codesourcery.com>
2600
2601 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2602 for rint. Include results for all rounding modes.
2603 (nearbyint_test): Use ALL_RM_TEST.
2604 (rint_test_data): Include all tests used for nearbyint.
2605
788bba36
WN
26062014-03-17 Will Newton <will.newton@linaro.org>
2607
04ec140a
WN
2608 * nptl/sysdeps/pthread/pthread.h: Revert previous
2609 change.
2610
7579d8d5
WN
2611 * sysdeps/generic/ldsodefs.h: Revert previous
2612 change.
2613
c15cf13a
WN
2614 * libio/genops.c: Revert previous change.
2615 * libio/libioP.h: Likewise.
2616 * stdio-common/vfprintf.c: Likewise.
2617
d0ac1324
WN
2618 * sysdeps/generic/math_private.h: Revert previous
2619 change.
2620
9290130a
WN
2621 * sysdeps/generic/math_private.h: Check whether
2622 HAVE_RM_CTX is defined with #ifdef rather
2623 than #if.
2624
afb466fc
WN
2625 * argp/argp-fmtstream.h: Check whether
2626 __STRICT_ANSI__ is defined with #ifdef rather
2627 than #if.
2628 * argp/argp.h: Likewise.
2629
f7efd7c3
WN
2630 * libio/genops.c: Check whether
2631 _IO_JUMPS_OFFSET is defined with #ifdef rather
2632 than #if.
2633 * libio/libioP.h: Likewise.
2634 * stdio-common/vfprintf.c: Likewise.
2635
53f1bed3
WN
2636 * sysdeps/generic/ldsodefs.h: Check whether
2637 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2638 than #if.
2639
788bba36
WN
2640 * nptl/sysdeps/pthread/pthread.h: Check
2641 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2642 its value.
2643
fcd89ebe
SP
26442014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
ae42bbc5
SP
2646 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2647 setting O_APPEND.
2648 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2649 test case.
2650
ea33158c
SP
2651 [BZ #16680]
2652 * libio/fileops.c (_IO_file_open): Seek to end of file but
2653 don't cache the offset.
2654 (get_file_offset): Remove function.
2655 (do_ftell): Use cached offset when available.
2656 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2657 don't cache the offset.
2658 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2659 case.
2660 (do_one_test): Call it.
2661 (do_ftell_test): Fix up expected old offset for a+ mode.
2662 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2663 available.
2664
b1dbb426
SP
2665 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2666 up test status with function return status.
2667 (do_write_test): Likewise.
2668 (do_append_test): Likewise.
2669
fcd89ebe
SP
2670 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2671 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2672 Remove.
2673
9962a2d3
JM
26742014-03-17 Joseph Myers <joseph@codesourcery.com>
2675
2676 * math/gen-libm-test.pl (parse_args): Handle results specified for
2677 each rounding mode separately.
2678 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2679 tests and results from lrint_tonearest_test_data,
2680 lrint_towardzero_test_data, lrint_downward_test_data and
2681 lrint_upward_test_data.
2682 (lrint_test): Use ALL_RM_TEST.
2683 (lrint_tonearest_test_data): Remove.
2684 (lrint_test_tonearest): Likewise.
2685 (lrint_towardzero_test_data): Likewise.
2686 (lrint_test_towardzero): Likewise.
2687 (lrint_downward_test_data): Likewise.
2688 (lrint_test_downward): Likewise.
2689 (lrint_upward_test_data): Likewise.
2690 (lrint_test_upward): Likewise.
2691 (llrint_test_data): Merge in per-rounding-mode tests and results
2692 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2693 llrint_downward_test_data and llrint_upward_test_data.
2694 (llrint_test): Use ALL_RM_TEST.
2695 (llrint_tonearest_test_data): Remove.
2696 (llrint_test_tonearest): Likewise.
2697 (llrint_towardzero_test_data): Likewise.
2698 (llrint_test_towardzero): Likewise.
2699 (llrint_downward_test_data): Likewise.
2700 (llrint_test_downward): Likewise.
2701 (llrint_upward_test_data): Likewise.
2702 (llrint_test_upward): Likewise.
2703 (rint_test_data): Merge in per-rounding-mode tests and results
2704 from rint_tonearest_test_data, rint_towardzero_test_data,
2705 rint_downward_test_data and rint_upward_test_data. Add
2706 per-rounding-mode results for tests not in those arrays.
2707 (rint_test): Use ALL_RM_TEST.
2708 (rint_tonearest_test_data): Remove.
2709 (rint_test_tonearest): Likewise.
2710 (rint_towardzero_test_data): Likewise.
2711 (rint_test_towardzero): Likewise.
2712 (rint_downward_test_data): Likewise.
2713 (rint_test_downward): Likewise.
2714 (rint_upward_test_data): Likewise.
2715 (rint_test_upward): Likewise.
2716 (main): Don't call removed functions.
2717
5006148e
RM
27182014-03-14 Roland McGrath <roland@hack.frob.com>
2719
2720 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2721 "Compiled on ..." crapola. It is anti-useful.
2722
d6fe5e58
JM
27232014-03-14 Joseph Myers <joseph@codesourcery.com>
2724
2725 * scripts/evaluate-test.sh: Handle fourth argument to determine
2726 whether test run should stop on failure.
2727 * Makeconfig (stop-on-test-failure): New variable.
2728 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2729 $(stop-on-test-failure).
2730 * Makefile (tests): Give a summary of results from testing and
2731 exit with failure status if they include an ERROR or FAIL.
2732 (xtests): Likewise.
2733 * manual/install.texi (Configuring and compiling): Mention
2734 stop-on-test-failure=y.
2735 * INSTALL: Regenerated.
2736
498a2233
RM
27372014-03-14 Roland McGrath <roland@hack.frob.com>
2738
22dbc19d
RM
2739 * scripts/versionlist.awk: New file.
2740 * Makerules [$(build-shared) = yes]
2741 (postclean-generated): Add Versions.def, not Versions.def.v and
2742 Versions.def.v.i.
2743 ($(common-objpfx)Versions.def.v.i): Target removed.
2744 ($(common-objpfx)Versions.def): New target.
2745 ($(common-objpfx)Versions.all): Depend on that rather that
2746 $(common-objpfx)Versions.def.v.
2747 * Versions.def: File removed.
2748
498a2233
RM
2749 * Makeconfig (+gccwarn): Add -Wundef.
2750 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2751 a dl-sysdep.h breaking its contract.
2752 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2753 * include/stackinfo.h: New file.
2754 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2755 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2756 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2757 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2758 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2759 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2760 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2761 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2762 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2763 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2764 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2765 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2766 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2767 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2768 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2769
c7de5025
AZ
27702014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771
2772 [BZ #16707]
2773 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2774 implementation.
2775 * math/libm-test.inc (round_test_data): Add more tests.
2776
98fb27a3
AZ
2777 [BZ #16706]
2778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2779 implementation.
2780 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2781
374f7f61
AZ
2782 [BZ #16701]
2783 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2784 implementation.
2785 * math/libm-test.inc (ceil_test_data): Add more tests.
2786
4655c291
AZ
2787 * math/libm-test.inc (trunc_test_data): Add more tests related to
2788 BZ#16414.
2789
d7329d4b
RM
27902014-03-14 Roland McGrath <roland@hack.frob.com>
2791
2792 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2793 with #if rather than #ifdef.
2794 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2795
aa4de9ce
L
27962014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2799 first. Disable AVX-512 GCC support if assembler doesn't support
2800 it.
2801 * sysdeps/x86_64/configure: Regenerated.
2802
2e03fae7
CD
28032014-03-13 Carlos O'Donell <carlos@redhat.com>
2804
2805 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2806 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2807 (__old_pthread_attr_setstack): Likewise.
2808 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2809 [!_STACK_GROWS_DOWN]: Likewise.
2810
43ca83ec
MF
28112014-03-13 Mike Frysinger <vapier@gentoo.org>
2812
2813 * config.make.in (have-bash2): Delete.
2814 * configure.ac (libc_cv_have_bash2): Delete.
2815 * configure: Regenerate.
2816 * elf/Makefile (common-ldd-rewrite): Rename to ...
2817 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2818 (sh-ldd-rewrite): Delete.
2819 (bash-ldd-rewrite): Delete.
2820 (have-bash2): Delete checks.
57f41c40
AS
2821 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2822 ldd-rewrite.
c66e48b4
MF
2823
2824 * config.make.in (have-ksh): Delete.
2825 (KSH): Delete.
2826 * configure.ac (libc_cv_have_ksh): Delete.
2827 * configure: Regenerate.
2828
b93834ef
MF
2829 * elf/Makefile: Delete $(have-ksh) check.
2830 ($(objpfx)sotruss): Change KSH to BASH.
2831 * elf/sotruss.ksh: Rename to ...
2832 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2833 function style to match POSIX. Drop ksh vim mode setting.
2834
f3a4632a
MF
2835 * manual/time.texi (Specifying the Time Zone with TZ): Change
2836 Tuesday to Thursday.
2837
5896c8bd
MF
2838 * debug/tst-longjmp_chk2.c: Update header comment.
2839 (stackoverflow_handler): Add comment. Call assert on pass value.
2840
2d63a517
IZ
28412014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2842
2843 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2844 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2845 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2846 (La_x86_64_vector): Add zmm.
2847 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2848 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2849 ($(objpfx)tst-audit10): New target.
2850 ($(objpfx)tst-audit10.out): Likewise.
2851 (tst-audit10-ENV): New.
2852 (AVX512-CFLAGS): Likewise.
2853 (CFLAGS-tst-audit10.c): Likewise.
2854 (CFLAGS-tst-auditmod10a.c): Likewise.
2855 (CFLAGS-tst-auditmod10b.c): Likewise.
2856 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2857 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2858 * sysdeps/x86_64/configure: Regenerated.
2859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2860 AVX-512 zmm register support.
2861 (_dl_x86_64_save_sse): Likewise.
2862 (_dl_x86_64_restore_sse): Likewise.
2863 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2864 size vector registers.
2865 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2866 (ZMM_SIZE): Likewise.
2867 * sysdeps/x86_64/tst-audit10.c: New file.
2868 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2869 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2870
44c4e5d5
RM
28712014-03-13 Roland McGrath <roland@hack.frob.com>
2872
2873 * configure.ac (HAVE_EHDR_START): New check.
2874 * configure: Regenerated.
2875 * config.h.in (HAVE_EHDR_START): New #undef.
2876 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2877 assuming the lowest-addressed segment maps the start of the file.
2878
acd6e389
JM
28792014-03-13 Joseph Myers <joseph@codesourcery.com>
2880
2881 * INSTALL: Regenerated.
2882
6f918f36
WN
28832014-03-13 Will Newton <will.newton@linaro.org>
2884
2885 * manual/setjmp.texi (System V contexts): Improve
2886 clarity and grammar of documentation.
2887
798212a0
PP
28882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2889
2890 [BZ #16381]
798212a0 2891 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2892 (tests-pie): Add tst-pie2.
798212a0
PP
2893 * elf/tst-pie2.c: New file.
2894 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2895 for ET_EXEC.
2896 * elf/rtld.c (map_doit): Load executable as lt_executable.
2897 (dl_main): Likewise.
2898
abe6d90c
JM
28992014-03-12 Joseph Myers <joseph@codesourcery.com>
2900
2901 [BZ #16642]
2902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2903 (__ASSUME_PSELECT): Undefine.
2904
dd3946c6
AZ
29052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906
2907 [BZ #16689]
2908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2909 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2910 static build.
2911 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2912 selector for static builds.
2913
c44496df
SP
29142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2915
2916 [BZ #16695]
2917 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2918 key in the buffer.
2919
27c7220a
AZ
29202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2921
57f41c40
AS
2922 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2923 IFUNC selector for static builds.
27c7220a 2924
600fa361
JM
29252014-03-11 Joseph Myers <joseph@codesourcery.com>
2926
76c96cf7
JM
2927 * sysdeps/mips/math_private.h [__mips_hard_float]
2928 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2929 libc_feresetround_mips_ctx.
2930 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2931 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2932 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2933
600fa361
JM
2934 [BZ #16677]
2935 * math/s_nextafter.c (__nextafter): Do not return value from
2936 overflowing computation.
2937 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2938 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2939 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2940 Likewise.
2941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2942 Likewise.
2943 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2944 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2945
d7706c32
RM
29462014-03-11 Roland McGrath <roland@hack.frob.com>
2947
2948 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2949 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2950 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2951 the new mov targetting sp.
2952
4facea47
AZ
29532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2954
2955 [BZ #16683]
2956 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2957 Define it for static builds as well.
2958 (NO_BZERO_IMPL): Likewise.
2959
e65caf1f
VR
29602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2961
2962 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2963 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2964 multiarch strspn for PPC64.
2965 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2966 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2968 (__libc_ifunc_impl_list): Likewise.
2969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2970 multiarch optimizations
2971 * string/strspn.c (strspn): Using macro to redefine symbol name.
2972
ba9cc071
AZ
29732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2974 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2975
2976 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2977 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2978 multiarch strncat for PPC64.
2979 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2980 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2984 multiarch optimizations
2985
8b4ff974
SP
29862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2987
2988 [BZ #16639]
2989 * nscd/nscd.service: Make service type forking.
2990
54b46a4b
AZ
29912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992
2993 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2994 sign in non default rounding modes.
2995 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2996
e9996ef7
JM
29972014-03-08 Joseph Myers <joseph@codesourcery.com>
2998
2999 * math/libm-test.inc (ALL_RM_TEST): New macro.
3000 (ceil_test): Use ALL_RM_TEST.
3001 (cimag_test): Likewise.
3002 (conj_test): Likewise.
3003 (copysign_test): Likewise.
3004 (cproj_test): Likewise.
3005 (creal_test): Likewise.
3006 (fabs_test): Likewise.
3007 (floor_test): Likewise.
3008 (fmax_test): Likewise.
3009 (fmin_test): Likewise.
3010 (fmod_test): Likewise.
3011 (fpclassify_test): Likewise.
3012 (frexp_test): Likewise.
3013 (ilogb_test): Likewise.
3014 (isfinite_test): Likewise.
3015 (finite_test): Likewise.
3016 (isgreater_test): Likewise.
3017 (isgreaterequal_test): Likewise.
3018 (isinf_test): Likewise.
3019 (isless_test): Likewise.
3020 (islessequal_test): Likewise.
3021 (islessgreater_test): Likewise.
3022 (isnan_test): Likewise.
3023 (isnormal_test): Likewise.
3024 (issignaling_test): Likewise.
3025 (isunordered_test): Likewise.
3026 (logb_test): Likewise.
3027 (logb_downward_test_data): Remove.
3028 (logb_test_downward): Likewise.
3029 (lround_test): Use ALL_RM_TEST.
3030 (llround_test): Likewise.
3031 (modf_test): Likewise.
3032 (nexttoward_test): Likewise.
3033 (remainder_test): Likewise.
3034 (drem_test): Likewise.
3035 (remainder_tonearest_test_data): Likewise.
3036 (remainder_test_tonearest): Likewise.
3037 (drem_test_tonearest): Likewise.
3038 (remainder_towardzero_test_data): Likewise.
3039 (remainder_test_towardzero): Likewise.
3040 (drem_test_towardzero): Likewise.
3041 (remainder_downward_test_data): Likewise.
3042 (remainder_test_downward): Likewise.
3043 (drem_test_downward): Likewise.
3044 (remainder_upward_test_data): Likewise.
3045 (remainder_test_upward): Likewise.
3046 (drem_test_upward): Likewise.
3047 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3048 (round_test): Use ALL_RM_TEST.
3049 (signbit_test): Likewise.
3050 (trunc_test): Likewise.
3051 (significand_test): Likewise.
3052 (main): Don't call removed functions.
3053
bc61d27c
JM
30542014-03-07 Joseph Myers <joseph@codesourcery.com>
3055
5c780849
JM
3056 [BZ #16674]
3057 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3058 || __USE_XOPEN2K8].
3059 (ILL_ILLOPN): Likewise.
3060 (ILL_ILLADR): Likewise.
3061 (ILL_ILLTRP): Likewise.
3062 (ILL_PRVOPC): Likewise.
3063 (ILL_PRVREG): Likewise.
3064 (ILL_COPROC): Likewise.
3065 (ILL_BADSTK): Likewise.
3066 (FPE_INTDIV): Likewise.
3067 (FPE_INTOVF): Likewise.
3068 (FPE_FLTDIV): Likewise.
3069 (FPE_FLTOVF): Likewise.
3070 (FPE_FLTUND): Likewise.
3071 (FPE_FLTRES): Likewise.
3072 (FPE_FLTINV): Likewise.
3073 (FPE_FLTSUB): Likewise.
3074 (SEGV_MAPERR): Likewise.
3075 (SEGV_ACCERR): Likewise.
3076 (BUS_ADRALN): Likewise.
3077 (BUS_ADRERR): Likewise.
3078 (BUS_OBJERR): Likewise.
3079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3080 (TRAP_TRACE): Likewise.
3081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3082 __USE_XOPEN2K8].
3083 (CLD_KILLED): Likewise.
3084 (CLD_DUMPED): Likewise.
3085 (CLD_TRAPPED): Likewise.
3086 (CLD_STOPPED): Likewise.
3087 (CLD_CONTINUED): Likewise.
3088 (POLL_IN): Likewise.
3089 (POLL_OUT): Likewise.
3090 (POLL_MSG): Likewise.
3091 (POLL_ERR): Likewise.
3092 (POLL_PRI): Likewise.
3093 (POLL_HUP): Likewise.
3094 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3095 Likewise.
3096 (ILL_ILLOPN): Likewise.
3097 (ILL_ILLADR): Likewise.
3098 (ILL_ILLTRP): Likewise.
3099 (ILL_PRVOPC): Likewise.
3100 (ILL_PRVREG): Likewise.
3101 (ILL_COPROC): Likewise.
3102 (ILL_BADSTK): Likewise.
3103 (FPE_INTDIV): Likewise.
3104 (FPE_INTOVF): Likewise.
3105 (FPE_FLTDIV): Likewise.
3106 (FPE_FLTOVF): Likewise.
3107 (FPE_FLTUND): Likewise.
3108 (FPE_FLTRES): Likewise.
3109 (FPE_FLTINV): Likewise.
3110 (FPE_FLTSUB): Likewise.
3111 (SEGV_MAPERR): Likewise.
3112 (SEGV_ACCERR): Likewise.
3113 (BUS_ADRALN): Likewise.
3114 (BUS_ADRERR): Likewise.
3115 (BUS_OBJERR): Likewise.
3116 (BUS_MCEERR_AR): Likewise.
3117 (BUS_MCEERR_AO): Likewise.
3118 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3119 (TRAP_TRACE): Likewise.
3120 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3121 __USE_XOPEN2K8].
3122 (CLD_KILLED): Likewise.
3123 (CLD_DUMPED): Likewise.
3124 (CLD_TRAPPED): Likewise.
3125 (CLD_STOPPED): Likewise.
3126 (CLD_CONTINUED): Likewise.
3127 (POLL_IN): Likewise.
3128 (POLL_OUT): Likewise.
3129 (POLL_MSG): Likewise.
3130 (POLL_ERR): Likewise.
3131 (POLL_PRI): Likewise.
3132 (POLL_HUP): Likewise.
3133 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3134 (ILL_ILLOPN): Likewise.
3135 (ILL_ILLADR): Likewise.
3136 (ILL_ILLTRP): Likewise.
3137 (ILL_PRVOPC): Likewise.
3138 (ILL_PRVREG): Likewise.
3139 (ILL_COPROC): Likewise.
3140 (ILL_BADSTK): Likewise.
3141 (FPE_INTDIV): Likewise.
3142 (FPE_INTOVF): Likewise.
3143 (FPE_FLTDIV): Likewise.
3144 (FPE_FLTOVF): Likewise.
3145 (FPE_FLTUND): Likewise.
3146 (FPE_FLTRES): Likewise.
3147 (FPE_FLTINV): Likewise.
3148 (FPE_FLTSUB): Likewise.
3149 (SEGV_MAPERR): Likewise.
3150 (SEGV_ACCERR): Likewise.
3151 (BUS_ADRALN): Likewise.
3152 (BUS_ADRERR): Likewise.
3153 (BUS_OBJERR): Likewise.
3154 (BUS_MCEERR_AR): Likewise.
3155 (BUS_MCEERR_AO): Likewise.
3156 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3157 (TRAP_TRACE): Likewise.
3158 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3159 __USE_XOPEN2K8].
3160 (CLD_KILLED): Likewise.
3161 (CLD_DUMPED): Likewise.
3162 (CLD_TRAPPED): Likewise.
3163 (CLD_STOPPED): Likewise.
3164 (CLD_CONTINUED): Likewise.
3165 (POLL_IN): Likewise.
3166 (POLL_OUT): Likewise.
3167 (POLL_MSG): Likewise.
3168 (POLL_ERR): Likewise.
3169 (POLL_PRI): Likewise.
3170 (POLL_HUP): Likewise.
3171 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3172 Likewise.
3173 (ILL_ILLOPN): Likewise.
3174 (ILL_ILLADR): Likewise.
3175 (ILL_ILLTRP): Likewise.
3176 (ILL_PRVOPC): Likewise.
3177 (ILL_PRVREG): Likewise.
3178 (ILL_COPROC): Likewise.
3179 (ILL_BADSTK): Likewise.
3180 (ILL_BADIADDR): Likewise.
3181 (ILL_BREAK): Likewise.
3182 (FPE_INTDIV): Likewise.
3183 (FPE_INTOVF): Likewise.
3184 (FPE_FLTDIV): Likewise.
3185 (FPE_FLTOVF): Likewise.
3186 (FPE_FLTUND): Likewise.
3187 (FPE_FLTRES): Likewise.
3188 (FPE_FLTINV): Likewise.
3189 (FPE_FLTSUB): Likewise.
3190 (FPE_DECOVF): Likewise.
3191 (FPE_DECDIV): Likewise.
3192 (FPE_DECERR): Likewise.
3193 (FPE_INVASC): Likewise.
3194 (FPE_INVDEC): Likewise.
3195 (SEGV_MAPERR): Likewise.
3196 (SEGV_ACCERR): Likewise.
3197 (SEGV_PSTKOVF): Likewise.
3198 (BUS_ADRALN): Likewise.
3199 (BUS_ADRERR): Likewise.
3200 (BUS_OBJERR): Likewise.
3201 (BUS_MCEERR_AR): Likewise.
3202 (BUS_MCEERR_AO): Likewise.
3203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3204 (TRAP_TRACE): Likewise.
3205 (TRAP_BRANCH): Likewise.
3206 (TRAP_HWBKPT): Likewise.
3207 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3208 __USE_XOPEN2K8].
3209 (CLD_KILLED): Likewise.
3210 (CLD_DUMPED): Likewise.
3211 (CLD_TRAPPED): Likewise.
3212 (CLD_STOPPED): Likewise.
3213 (CLD_CONTINUED): Likewise.
3214 (POLL_IN): Likewise.
3215 (POLL_OUT): Likewise.
3216 (POLL_MSG): Likewise.
3217 (POLL_ERR): Likewise.
3218 (POLL_PRI): Likewise.
3219 (POLL_HUP): Likewise.
3220 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3221 (ILL_ILLOPN): Likewise.
3222 (ILL_ILLADR): Likewise.
3223 (ILL_ILLTRP): Likewise.
3224 (ILL_PRVOPC): Likewise.
3225 (ILL_PRVREG): Likewise.
3226 (ILL_COPROC): Likewise.
3227 (ILL_BADSTK): Likewise.
3228 (FPE_INTDIV): Likewise.
3229 (FPE_INTOVF): Likewise.
3230 (FPE_FLTDIV): Likewise.
3231 (FPE_FLTOVF): Likewise.
3232 (FPE_FLTUND): Likewise.
3233 (FPE_FLTRES): Likewise.
3234 (FPE_FLTINV): Likewise.
3235 (FPE_FLTSUB): Likewise.
3236 (SEGV_MAPERR): Likewise.
3237 (SEGV_ACCERR): Likewise.
3238 (BUS_ADRALN): Likewise.
3239 (BUS_ADRERR): Likewise.
3240 (BUS_OBJERR): Likewise.
3241 (BUS_MCEERR_AR): Likewise.
3242 (BUS_MCEERR_AO): Likewise.
3243 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3244 (TRAP_TRACE): Likewise.
3245 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3246 __USE_XOPEN2K8].
3247 (CLD_KILLED): Likewise.
3248 (CLD_DUMPED): Likewise.
3249 (CLD_TRAPPED): Likewise.
3250 (CLD_STOPPED): Likewise.
3251 (CLD_CONTINUED): Likewise.
3252 (POLL_IN): Likewise.
3253 (POLL_OUT): Likewise.
3254 (POLL_MSG): Likewise.
3255 (POLL_ERR): Likewise.
3256 (POLL_PRI): Likewise.
3257 (POLL_HUP): Likewise.
3258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3259 (ILL_ILLOPN): Likewise.
3260 (ILL_ILLADR): Likewise.
3261 (ILL_ILLTRP): Likewise.
3262 (ILL_PRVOPC): Likewise.
3263 (ILL_PRVREG): Likewise.
3264 (ILL_COPROC): Likewise.
3265 (ILL_BADSTK): Likewise.
3266 (FPE_INTDIV): Likewise.
3267 (FPE_INTOVF): Likewise.
3268 (FPE_FLTDIV): Likewise.
3269 (FPE_FLTOVF): Likewise.
3270 (FPE_FLTUND): Likewise.
3271 (FPE_FLTRES): Likewise.
3272 (FPE_FLTINV): Likewise.
3273 (FPE_FLTSUB): Likewise.
3274 (SEGV_MAPERR): Likewise.
3275 (SEGV_ACCERR): Likewise.
3276 (BUS_ADRALN): Likewise.
3277 (BUS_ADRERR): Likewise.
3278 (BUS_OBJERR): Likewise.
3279 (BUS_MCEERR_AR): Likewise.
3280 (BUS_MCEERR_AO): Likewise.
3281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3282 (TRAP_TRACE): Likewise.
3283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3284 __USE_XOPEN2K8].
3285 (CLD_KILLED): Likewise.
3286 (CLD_DUMPED): Likewise.
3287 (CLD_TRAPPED): Likewise.
3288 (CLD_STOPPED): Likewise.
3289 (CLD_CONTINUED): Likewise.
3290 (POLL_IN): Likewise.
3291 (POLL_OUT): Likewise.
3292 (POLL_MSG): Likewise.
3293 (POLL_ERR): Likewise.
3294 (POLL_PRI): Likewise.
3295 (POLL_HUP): Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3297 (ILL_ILLOPN): Likewise.
3298 (ILL_ILLADR): Likewise.
3299 (ILL_ILLTRP): Likewise.
3300 (ILL_PRVOPC): Likewise.
3301 (ILL_PRVREG): Likewise.
3302 (ILL_COPROC): Likewise.
3303 (ILL_BADSTK): Likewise.
3304 (FPE_INTDIV): Likewise.
3305 (FPE_INTOVF): Likewise.
3306 (FPE_FLTDIV): Likewise.
3307 (FPE_FLTOVF): Likewise.
3308 (FPE_FLTUND): Likewise.
3309 (FPE_FLTRES): Likewise.
3310 (FPE_FLTINV): Likewise.
3311 (FPE_FLTSUB): Likewise.
3312 (SEGV_MAPERR): Likewise.
3313 (SEGV_ACCERR): Likewise.
3314 (BUS_ADRALN): Likewise.
3315 (BUS_ADRERR): Likewise.
3316 (BUS_OBJERR): Likewise.
3317 (BUS_MCEERR_AR): Likewise.
3318 (BUS_MCEERR_AO): Likewise.
3319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3320 (TRAP_TRACE): Likewise.
3321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3322 __USE_XOPEN2K8].
3323 (CLD_KILLED): Likewise.
3324 (CLD_DUMPED): Likewise.
3325 (CLD_TRAPPED): Likewise.
3326 (CLD_STOPPED): Likewise.
3327 (CLD_CONTINUED): Likewise.
3328 (POLL_IN): Likewise.
3329 (POLL_OUT): Likewise.
3330 (POLL_MSG): Likewise.
3331 (POLL_ERR): Likewise.
3332 (POLL_PRI): Likewise.
3333 (POLL_HUP): Likewise.
3334 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3335 (ILL_ILLOPN): Likewise.
3336 (ILL_ILLADR): Likewise.
3337 (ILL_ILLTRP): Likewise.
3338 (ILL_PRVOPC): Likewise.
3339 (ILL_PRVREG): Likewise.
3340 (ILL_COPROC): Likewise.
3341 (ILL_BADSTK): Likewise.
3342 (ILL_DBLFLT): Likewise.
3343 (ILL_HARDWALL): Likewise.
3344 (FPE_INTDIV): Likewise.
3345 (FPE_INTOVF): Likewise.
3346 (FPE_FLTDIV): Likewise.
3347 (FPE_FLTOVF): Likewise.
3348 (FPE_FLTUND): Likewise.
3349 (FPE_FLTRES): Likewise.
3350 (FPE_FLTINV): Likewise.
3351 (FPE_FLTSUB): Likewise.
3352 (SEGV_MAPERR): Likewise.
3353 (SEGV_ACCERR): Likewise.
3354 (BUS_ADRALN): Likewise.
3355 (BUS_ADRERR): Likewise.
3356 (BUS_OBJERR): Likewise.
3357 (BUS_MCEERR_AR): Likewise.
3358 (BUS_MCEERR_AO): Likewise.
3359 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3360 (TRAP_TRACE): Likewise.
3361 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3362 __USE_XOPEN2K8].
3363 (CLD_KILLED): Likewise.
3364 (CLD_DUMPED): Likewise.
3365 (CLD_TRAPPED): Likewise.
3366 (CLD_STOPPED): Likewise.
3367 (CLD_CONTINUED): Likewise.
3368 (POLL_IN): Likewise.
3369 (POLL_OUT): Likewise.
3370 (POLL_MSG): Likewise.
3371 (POLL_ERR): Likewise.
3372 (POLL_PRI): Likewise.
3373 (POLL_HUP): Likewise.
3374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3375 (ILL_ILLOPN): Likewise.
3376 (ILL_ILLADR): Likewise.
3377 (ILL_ILLTRP): Likewise.
3378 (ILL_PRVOPC): Likewise.
3379 (ILL_PRVREG): Likewise.
3380 (ILL_COPROC): Likewise.
3381 (ILL_BADSTK): Likewise.
3382 (FPE_INTDIV): Likewise.
3383 (FPE_INTOVF): Likewise.
3384 (FPE_FLTDIV): Likewise.
3385 (FPE_FLTOVF): Likewise.
3386 (FPE_FLTUND): Likewise.
3387 (FPE_FLTRES): Likewise.
3388 (FPE_FLTINV): Likewise.
3389 (FPE_FLTSUB): Likewise.
3390 (SEGV_MAPERR): Likewise.
3391 (SEGV_ACCERR): Likewise.
3392 (BUS_ADRALN): Likewise.
3393 (BUS_ADRERR): Likewise.
3394 (BUS_OBJERR): Likewise.
3395 (BUS_MCEERR_AR): Likewise.
3396 (BUS_MCEERR_AO): Likewise.
3397 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3398 (TRAP_TRACE): Likewise.
3399 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3400 __USE_XOPEN2K8].
3401 (CLD_KILLED): Likewise.
3402 (CLD_DUMPED): Likewise.
3403 (CLD_TRAPPED): Likewise.
3404 (CLD_STOPPED): Likewise.
3405 (CLD_CONTINUED): Likewise.
3406 (POLL_IN): Likewise.
3407 (POLL_OUT): Likewise.
3408 (POLL_MSG): Likewise.
3409 (POLL_ERR): Likewise.
3410 (POLL_PRI): Likewise.
3411 (POLL_HUP): Likewise.
3412 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3413 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3414
bc61d27c
JM
3415 [BZ #16670]
3416 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3417 before #include of <time.h>.
3418 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3419 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3420 (test-xfail-UNIX98/sched.h/conform): Likewise.
3421
302949e2
MS
34222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3423
3424 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3425 error absence of trapping exception support.
3426 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3427
a00f522a
JM
34282014-03-07 Joseph Myers <joseph@codesourcery.com>
3429
6f99f280
JM
3430 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3431 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3432 * timezone/Makefile (testdata): Move definition above include of
3433 Rules.
3434 (test-zones): New variable.
3435 (tests-special): Add zone files.
3436 (build-testdata): Use $(evaluate-test).
3437
0b20a9e8
JM
3438 * elf/Makefile (tests-special): Rename tests to end with .out.
3439 ($(objpfx)noload-mem): Likewise.
3440 ($(objpfx)tst-leaks1-mem): Likewise.
3441 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3442 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3443 $(objpfx)test-iconvconfig.out.
3444 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3445 set -e inside subshell and redirect output to file.
3446 * iconvdata/Makefile (generated): Rename tests to end with .out.
3447 Correct type.
3448 (tests-special): Rename tests to end with .out.
3449 ($(objpfx)mtrace-tst-loading): Likewise.
3450 * intl/Makefile (generated): Likewise.
3451 (tests-special): Likewise.
3452 ($(objpfx)mtrace-tst-gettext): Likewise.
3453 * misc/Makefile (generated): Likewise.
3454 (tests-special): Likewise.
3455 ($(objpfx)tst-error1-mem): Likewise.
3456 * nptl/Makefile (tests-special): Likewise.
3457 ($(objpfx)tst-stack3-mem): Likewise.
3458 (generated): Likewise.
3459 * posix/Makefile (generated): Likewise.
3460 (tests-special): Likewise.
3461 (xtests-special): Likewise.
3462 ($(objpfx)tst-fnmatch-mem): Likewise.
3463 ($(objpfx)bug-regex2-mem): Likewise.
3464 ($(objpfx)bug-regex14-mem): Likewise.
3465 ($(objpfx)bug-regex21-mem): Likewise.
3466 ($(objpfx)bug-regex31-mem): Likewise.
3467 ($(objpfx)tst-vfork3-mem): Likewise.
3468 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3469 ($(objpfx)tst-pcre-mem): Likewise.
3470 ($(objpfx)tst-boost-mem): Likewise.
3471 ($(objpfx)bug-ga2-mem): Likewise.
3472 ($(objpfx)bug-glob2-mem): Likewise.
3473 * resolv/Makefile (generate): Likewise.
3474 (tests-special): Likewise.
3475 (xtests-special): Likewise.
3476 (generated): Likewise.
3477 ($(objpfx)mtrace-tst-leaks): Likewise.
3478 ($(objpfx)mtrace-tst-leaks2): Likewise.
3479
265d52ab
JM
3480 * scripts/merge-test-results.sh: New file.
3481 * Makefile (tests-special-notdir): New variable.
3482 (tests): Run merge-test-results.sh.
3483 (xtests): Likewise.
3484 * Rules (tests-special-notdir): New variable.
3485 (xtests-special-notdir): Likewise.
3486 (tests): Run merge-test-results.sh
3487 (xtests): Likewise.
3488
54ee292d
JM
3489 * Makeconfig (test-xfail-name): New variable.
3490 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3491 compute variable name for expected failures.
3492 * conform/Makefile (conformtest-headers-data): New variable.
3493 (conformtest-standards): Likewise.
3494 (conformtest-headers-ISO): Likewise.
3495 (conformtest-headers-ISO99): Likewise.
3496 (conformtest-headers-ISO11): Likewise.
3497 (conformtest-headers-POSIX): Likewise.
3498 (conformtest-headers-XPG3): Likewise.
3499 (conformtest-headers-XPG4): Likewise.
3500 (conformtest-headers-UNIX98): Likewise.
3501 (conformtest-headers-XOPEN2K): Likewise.
3502 (conformtest-headers-POSIX2008): Likewise.
3503 (conformtest-headers-XOPEN2K8): Likewise.
3504 (conformtest-header-list-base): Likewise.
3505 (conformtest-header-list-tests): Likewise.
3506 (conformtest-header-base): Likewise.
3507 (conformtest-header-tests): Likewise.
3508 (tests-special): Add $(conformtest-header-list-tests). If
3509 [$(fast-check) && !$(cross-compiling)], add
3510 $(conformtest-header-tests) instead of
3511 $(objpfx)run-conformtest.out.
3512 (generated): Add $(conformtest-header-list-base). If
3513 [$(fast-check) && !$(cross-compiling)], add
3514 $(conformtest-header-base). Remove previous setting.
3515 ($(conformtest-header-list-tests)): New target.
3516 (test-xfail-run-conformtest): Remove variable.
3517 ($(objpfx)run-conformtest.out): Remove target.
3518 (test-xfail-ISO11/complex.h/conform): New variable.
3519 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3520 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3521 (test-xfail-XPG3/varargs.h/conform): Likewise.
3522 (test-xfail-XPG4/varargs.h/conform): Likewise.
3523 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3524 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3525 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3526 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3527 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3528 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3529 (test-xfail-XPG3/ftw.h/conform): Likewise.
3530 (test-xfail-XPG3/grp.h/conform): Likewise.
3531 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3532 (test-xfail-XPG3/limits.h/conform): Likewise.
3533 (test-xfail-XPG3/pwd.h/conform): Likewise.
3534 (test-xfail-XPG3/search.h/conform): Likewise.
3535 (test-xfail-XPG3/signal.h/conform): Likewise.
3536 (test-xfail-XPG3/stdio.h/conform): Likewise.
3537 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3538 (test-xfail-XPG3/string.h/conform): Likewise.
3539 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3540 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3541 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3542 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3543 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3544 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3545 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3546 (test-xfail-XPG3/termios.h/conform): Likewise.
3547 (test-xfail-XPG3/time.h/conform): Likewise.
3548 (test-xfail-XPG3/unistd.h/conform): Likewise.
3549 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3550 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3551 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3552 (test-xfail-XPG4/netdb.h/conform): Likewise.
3553 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3554 (test-xfail-XPG4/signal.h/conform): Likewise.
3555 (test-xfail-XPG4/stdio.h/conform): Likewise.
3556 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3557 (test-xfail-XPG4/stropts.h/conform): Likewise.
3558 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3559 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3560 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3561 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3562 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3563 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3564 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3565 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3566 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3567 (test-xfail-XPG4/termios.h/conform): Likewise.
3568 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3569 (test-xfail-XPG4/unistd.h/conform): Likewise.
3570 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3571 (test-xfail-POSIX/sched.h/conform): Likewise.
3572 (test-xfail-POSIX/signal.h/conform): Likewise.
3573 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3574 (test-xfail-POSIX/tar.h/conform): Likewise.
3575 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3576 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3577 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3578 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3579 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3580 (test-xfail-UNIX98/sched.h/conform): Likewise.
3581 (test-xfail-UNIX98/signal.h/conform): Likewise.
3582 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3583 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3584 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3585 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3586 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3587 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3588 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3589 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3590 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3591 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3592 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3593 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3594 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3595 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3596 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3597 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3598 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3599 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3600 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3601 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3602 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3603 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3604 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3605 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3606 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3607 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3608 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3609 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3610 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3611 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3612 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3613 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3614 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3615 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3616 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3617 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3618 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3619 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3620 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3621 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3622 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3623 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3624 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3625 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3626 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3627 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3628 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3629 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3630 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3631 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3632 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3633 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3634 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3635 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3636 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3637 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3638 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3639 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3640 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3641 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3642 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3643 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3644 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3645 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3646 (conformtest-cc-flags): Likewise.
3647 ($(conformtest-header-tests): New target.
3648 * conform/check-header-lists.sh: New file.
3649 * conform/run-conformtest.sh: Remove.
3650
a00f522a
JM
3651 * conform/conformtest.pl: Allow ' and \ in values given for
3652 constants.
3653 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3654 inclusion.
3655 [POSIX] (sys/types.h): Likewise.
3656 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3657 inclusion.
3658 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3659 inclusion.
3660 * conform/data/signal.h-data (SIGIO): Remove expectation.
3661 [XPG3] (SIGBUS): Do not expect.
3662 [POSIX || XPG3] (SIGPOLL): Likewise.
3663 [POSIX || XPG3] (SIGPROF): Likewise.
3664 [POSIX || XPG3] (SIGSYS): Likewise.
3665 [XPG3] (SIGTRAP): Likewise.
3666 [POSIX || XPG3] (SIGURG): Likewise.
3667 [POSIX || XPG3] (SIGVTALRM): Likewise.
3668 [POSIX || XPG3] (SIGXCPU): Likewise.
3669 [POSIX || XPG3] (SIGXFSZ): Likewise.
3670 [POSIX] (SA_SIGINFO): Expect.
3671 [XPG3] (siginfo_t): Do not expect type or contents.
3672 [POSIX] (si_pid): Do not expect element.
3673 [POSIX] (si_uid): Likewise.
3674 [POSIX] (si_addr): Likewise.
3675 [POSIX] (si_status): Likewise.
3676 [POSIX] (si_band): Likewise.
3677 [XPG4] (si_value): Likewise.
3678 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3679 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3680 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3681 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3682 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3683 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3684 [POSIX || XPG3] (ILL_COPROC): Likewise.
3685 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3686 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3687 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3688 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3689 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3690 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3691 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3692 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3693 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3694 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3695 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3696 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3697 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3698 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3699 [POSIX || XPG3] (CLD_EXITED): Likewise.
3700 [POSIX || XPG3] (CLD_KILLED): Likewise.
3701 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3702 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3703 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3704 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3705 [POSIX || XPG3] (POLL_IN): Likewise.
3706 [POSIX || XPG3] (POLL_OUT): Likewise.
3707 [POSIX || XPG3] (POLL_MSG): Likewise.
3708 [POSIX || XPG3] (POLL_ERR): Likewise.
3709 [POSIX || XPG3] (POLL_PRI): Likewise.
3710 [POSIX || XPG3] (POLL_HUP): Likewise.
3711 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3712 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3713 (SIG*): Do not allow.
3714 [XPG3] (si_*): Likewise.
3715 [XPG3] (SI_*): Likewise.
3716 [XPG3 || XPG4] (sigev_*): Likewise.
3717 [XPG3 || XPG4] (SIGEV_*): Likewise.
3718 [XPG3 || XPG4] (sival_*): Likewise.
3719 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3720 [POSIX || XPG3] (BUS_*): Likewise.
3721 [POSIX || XPG3] (CLD_*): Likewise.
3722 [POSIX || XPG3] (FPE_*): Likewise.
3723 [POSIX || XPG3] (ILL_*): Likewise.
3724 [POSIX || XPG3] (POLL_*): Likewise.
3725 [POSIX || XPG3] (SEGV_*): Likewise.
3726 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3727 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3728 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3729 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3730 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3731 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3732 Specify type and value.
3733 (TVERSLEN): Likewise.
3734 (REGTYPE): Likewise.
3735 (AREGTYPE): Likewise.
3736 (LNKTYPE): Likewise.
3737 (SYMTYPE): Likewise.
3738 (CHRTYPE): Likewise.
3739 (BLKTYPE): Likewise.
3740 (DIRTYPE): Likewise.
3741 (FIFOTYPE): Likewise.
3742 (CONTTYPE): Likewise.
3743 (TSUID): Likewise.
3744 (TSGID): Likewise.
3745 (TSVTX): Likewise.
3746 (TUREAD): Likewise.
3747 (TUWRITE): Likewise.
3748 (TUEXEC): Likewise.
3749 (TGREAD): Likewise.
3750 (TGWRITE): Likewise.
3751 (TGEXEC): Likewise.
3752 (TOREAD): Likewise.
3753 (TOWRITE): Likewise.
3754 (TOEXEC): Likewise.
3755 [POSIX] (TSVTX): Expect constant.
3756
aa97dee1
JM
37572014-03-06 Joseph Myers <joseph@codesourcery.com>
3758
f214606a
JM
3759 * Makefile (tests): Change dependencies to ....
3760 (tests-special): ... additions to this variable.
3761 (tests): Depend on $(tests-special).
3762 * Makerules (check-abi-list): New variable.
3763 (check-abi): Depend on $(check-abi-list).
3764 [$(subdir) = elf] (tests-special): Add
3765 $(objpfx)check-abi-libc.out.
3766 [$(build-shared) = yes && subdir] (tests-special): Add
3767 $(check-abi-list).
3768 [$(build-shared) = yes && subdir] (tests): Do not depend on
3769 check-abi.
3770 * Rules (tests): Depend on $(tests-special).
3771 (xtests): Depend on $(xtests-special).
3772 * catgets/Makefile (tests): Change dependencies to ....
3773 (tests-special): ... additions to this variable.
3774 * conform/Makefile (tests): Change dependencies to ....
3775 (tests-special): ... additions to this variable.
3776 * elf/Makefile (tests): Change dependencies to ....
3777 (tests-special): ... additions to this variable.
3778 * grp/Makefile (tests): Change dependencies to ....
3779 (tests-special): ... additions to this variable.
3780 * iconv/Makefile (xtests): Change dependencies to ....
3781 (xtests-special): ... additions to this variable.
3782 * iconvdata/Makefile (tests): Change dependencies to ....
3783 (tests-special): ... additions to this variable.
3784 * intl/Makefile (tests): Change dependencies to ....
3785 (tests-special): ... additions to this variable. Also add
3786 $(objpfx)tst-gettext.out.
3787 * io/Makefile (tests): Change dependencies to ....
3788 (tests-special): ... additions to this variable.
3789 * libio/Makefile (tests): Change dependencies to ....
3790 (tests-special): ... additions to this variable.
3791 * malloc/Makefile (tests): Change dependencies to ....
3792 (tests-special): ... additions to this variable.
3793 * misc/Makefile (tests): Change dependencies to ....
3794 (tests-special): ... additions to this variable.
3795 * nptl/Makefile (tests): Change dependencies to ....
3796 (tests-special): ... additions to this variable.
3797 * nptl_db/Makefile (tests): Change dependencies to ....
3798 (tests-special): ... additions to this variable.
3799 * posix/Makefile (tests): Change dependencies to ....
3800 (tests-special): ... additions to this variable.
3801 (xtests): Change dependencies to ....
3802 (xtests-special): ... additions to this variable.
3803 * resolv/Makefile (tests): Change dependencies to ....
3804 (tests-special): ... additions to this variable.
3805 (xtests): Change dependencies to ....
3806 (xtests-special): ... additions to this variable.
3807 * stdio-common/Makefile (tests): Change dependencies to ....
3808 (tests-special): ... additions to this variable.
3809 (do-tst-unbputc): Remove target.
3810 (do-tst-printf): Likewise.
3811 * stdlib/Makefile (tests): Change dependencies to ....
3812 (tests-special): ... additions to this variable.
3813 * string/Makefile (tests): Change dependencies to ....
3814 (tests-special): ... additions to this variable.
3815 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3816 (tests-special): ... additions to this variable.
3817
81700b53
JM
3818 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3819 whole file.
3820 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3821 whole file.
3822 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3823 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3824
2ea18461
JM
3825 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3826 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3827 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3828 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3829 * conform/data/libgen.h-data [XPG3]: Likewise.
3830 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3831 * conform/data/ndbm.h-data [XPG3]: Likewise.
3832 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3833 * conform/data/netdb.h-data [XPG3]: Likewise.
3834 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3835 * conform/data/poll.h-data [XPG3]: Likewise.
3836 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3837 * conform/data/strings.h-data [XPG3]: Likewise.
3838 * conform/data/stropts.h-data [XPG3]: Likewise.
3839 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3840 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3841 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3842 Likewise.
3843 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3844 * conform/data/sys/time.h-data [XPG3]: Likewise.
3845 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3846 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3847 * conform/data/sys/un.h-data [XPG3]: Likewise.
3848 * conform/data/syslog.h-data [XPG3]: Likewise.
3849 * conform/data/ucontext.h-data [XPG3]: Likewise.
3850 * conform/data/utmpx.h-data [XPG3]: Likewise.
3851 * conform/data/varargs.h-data [UNIX98]: Enable file.
3852
355bc986
JM
3853 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3854
215db402
JM
3855 * math/libm-test.inc (struct test_f_f_data): Move expected results
3856 into structure for each rounding mode.
3857 (struct test_ff_f_data): Likewise.
3858 (struct test_ff_f_data_nexttoward): Likewise.
3859 (struct test_fi_f_data): Likewise.
3860 (struct test_fl_f_data): Likewise.
3861 (struct test_if_f_data): Likewise.
3862 (struct test_fff_f_data): Likewise.
3863 (struct test_c_f_data): Likewise.
3864 (struct test_f_f1_data): Likewise.
3865 (struct test_fF_f1_data): Likewise.
3866 (struct test_ffI_f1_data): Likewise.
3867 (struct test_c_c_data): Likewise.
3868 (struct test_cc_c_data): Likewise.
3869 (struct test_f_i_data): Likewise.
3870 (struct test_ff_i_data): Likewise.
3871 (struct test_f_l_data): Likewise.
3872 (struct test_f_L_data): Likewise.
3873 (struct test_fFF_11_data): Likewise.
3874 (RM_): New macro.
3875 (RM_FE_DOWNWARD): Likewise.
3876 (RM_FE_TONEAREST): Likewise.
3877 (RM_FE_TOWARDZERO): Likewise.
3878 (RM_FE_UPWARD): Likewise.
3879 (RUN_TEST_LOOP_f_f): Update references to expected results.
3880 (RUN_TEST_LOOP_2_f): Likewise.
3881 (RUN_TEST_LOOP_fff_f): Likewise.
3882 (RUN_TEST_LOOP_c_f): Likewise.
3883 (RUN_TEST_LOOP_f_f1): Likewise.
3884 (RUN_TEST_LOOP_fF_f1): Likewise.
3885 (RUN_TEST_LOOP_fI_f1): Likewise.
3886 (RUN_TEST_LOOP_ffI_f1): Likewise.
3887 (RUN_TEST_LOOP_c_c): Likewise.
3888 (RUN_TEST_LOOP_cc_c): Likewise.
3889 (RUN_TEST_LOOP_f_i): Likewise.
3890 (RUN_TEST_LOOP_f_i_tg): Likewise.
3891 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3892 (RUN_TEST_LOOP_f_b): Likewise.
3893 (RUN_TEST_LOOP_f_b_tg): Likewise.
3894 (RUN_TEST_LOOP_f_l): Likewise.
3895 (RUN_TEST_LOOP_f_L): Likewise.
3896 (RUN_TEST_LOOP_fFF_11): Likewise.
3897 * math/gen-libm-test.pl (parse_args): Output four copies of
3898 expected results for each test.
3899
67737b8f
JM
3900 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3901 (__ASSUME_UTIMES): Remove.
3902 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3903 (__ASSUME_UTIMES): Likewise.
3904
aa97dee1
JM
3905 * math/gen-auto-libm-tests.c: Update comment on output format.
3906 (output_for_one_input_case): Generate before-rounding and
3907 after-rounding information as conditions on output flags not
3908 floating-point format.
3909 * math/auto-libm-test-out: Regenerated.
3910 * math/gen-libm-test.pl (cond_value): New function.
3911 (or_cond_value): Use cond_value.
3912 (generate_testfile): Handle conditional exceptions.
3913
e6b6a857
JM
39142014-03-05 Joseph Myers <joseph@codesourcery.com>
3915
2f0a0f44
JM
3916 * math/libm-test.inc (max_valid_error): New variable.
3917 (init_max_error): Take new argument specifying whether function
3918 results are exactly determined. Set max_valid_error and bound
3919 other variables for errors based on this argument.
3920 (set_max_error): Do not record results above max_valid_error.
3921 (check_float_internal): Only accept errors of up to 0.5ulps if
3922 also at most max_valid_error.
3923 (START): Take new argument EXACT and pass it to init_max_error.
3924 (acos_test): Update call to START.
3925 (acos_test_tonearest): Likewise.
3926 (acos_test_towardzero): Likewise.
3927 (acos_test_downward): Likewise.
3928 (acos_test_upward): Likewise.
3929 (acosh_test): Likewise.
3930 (asin_test): Likewise.
3931 (asin_test_tonearest): Likewise.
3932 (asin_test_towardzero): Likewise.
3933 (asin_test_downward): Likewise.
3934 (asin_test_upward): Likewise.
3935 (asinh_test): Likewise.
3936 (atan_test): Likewise.
3937 (atanh_test): Likewise.
3938 (atan2_test): Likewise.
3939 (cabs_test): Likewise.
3940 (cacos_test): Likewise.
3941 (cacosh_test): Likewise.
3942 (carg_test): Likewise.
3943 (casin_test): Likewise.
3944 (casinh_test): Likewise.
3945 (catan_test): Likewise.
3946 (catanh_test): Likewise.
3947 (cbrt_test): Likewise.
3948 (ccos_test): Likewise.
3949 (ccosh_test): Likewise.
3950 (ceil_test): Likewise.
3951 (cexp_test): Likewise.
3952 (cimag_test): Likewise.
3953 (clog_test): Likewise.
3954 (clog10_test): Likewise.
3955 (conj_test): Likewise.
3956 (copysign_test): Likewise.
3957 (cos_test): Likewise.
3958 (cos_test_tonearest): Likewise.
3959 (cos_test_towardzero): Likewise.
3960 (cos_test_downward): Likewise.
3961 (cos_test_upward): Likewise.
3962 (cosh_test): Likewise.
3963 (cosh_test_tonearest): Likewise.
3964 (cosh_test_towardzero): Likewise.
3965 (cosh_test_downward): Likewise.
3966 (cosh_test_upward): Likewise.
3967 (cpow_test): Likewise.
3968 (cproj_test): Likewise.
3969 (creal_test): Likewise.
3970 (csin_test): Likewise.
3971 (csinh_test): Likewise.
3972 (csqrt_test): Likewise.
3973 (ctan_test): Likewise.
3974 (ctan_test_tonearest): Likewise.
3975 (ctan_test_towardzero): Likewise.
3976 (ctan_test_downward): Likewise.
3977 (ctan_test_upward): Likewise.
3978 (ctanh_test): Likewise.
3979 (ctanh_test_tonearest): Likewise.
3980 (ctanh_test_towardzero): Likewise.
3981 (ctanh_test_downward): Likewise.
3982 (ctanh_test_upward): Likewise.
3983 (erf_test): Likewise.
3984 (erfc_test): Likewise.
3985 (exp_test): Likewise.
3986 (exp_test_tonearest): Likewise.
3987 (exp_test_towardzero): Likewise.
3988 (exp_test_downward): Likewise.
3989 (exp_test_upward): Likewise.
3990 (exp10_test): Likewise.
3991 (exp10_test_tonearest): Likewise.
3992 (exp10_test_towardzero): Likewise.
3993 (exp10_test_downward): Likewise.
3994 (exp10_test_upward): Likewise.
3995 (pow10_test): Likewise.
3996 (exp2_test): Likewise.
3997 (expm1_test): Likewise.
3998 (expm1_test_tonearest): Likewise.
3999 (expm1_test_towardzero): Likewise.
4000 (expm1_test_downward): Likewise.
4001 (expm1_test_upward): Likewise.
4002 (fabs_test): Likewise.
4003 (fdim_test): Likewise.
4004 (floor_test): Likewise.
4005 (fma_test): Likewise.
4006 (fma_test_towardzero): Likewise.
4007 (fma_test_downward): Likewise.
4008 (fma_test_upward): Likewise.
4009 (fmax_test): Likewise.
4010 (fmin_test): Likewise.
4011 (fmod_test): Likewise.
4012 (fpclassify_test): Likewise.
4013 (frexp_test): Likewise.
4014 (hypot_test): Likewise.
4015 (ilogb_test): Likewise.
4016 (isfinite_test): Likewise.
4017 (finite_test): Likewise.
4018 (isgreater_test): Likewise.
4019 (isgreaterequal_test): Likewise.
4020 (isinf_test): Likewise.
4021 (isless_test): Likewise.
4022 (islessequal_test): Likewise.
4023 (islessgreater_test): Likewise.
4024 (isnan_test): Likewise.
4025 (isnormal_test): Likewise.
4026 (issignaling_test): Likewise.
4027 (isunordered_test): Likewise.
4028 (j0_test): Likewise.
4029 (j1_test): Likewise.
4030 (jn_test): Likewise.
4031 (ldexp_test): Likewise.
4032 (lgamma_test): Likewise.
4033 (gamma_test): Likewise.
4034 (lrint_test): Likewise.
4035 (lrint_test_tonearest): Likewise.
4036 (lrint_test_towardzero): Likewise.
4037 (lrint_test_downward): Likewise.
4038 (lrint_test_upward): Likewise.
4039 (llrint_test): Likewise.
4040 (llrint_test_tonearest): Likewise.
4041 (llrint_test_towardzero): Likewise.
4042 (llrint_test_downward): Likewise.
4043 (llrint_test_upward): Likewise.
4044 (log_test): Likewise.
4045 (log10_test): Likewise.
4046 (log1p_test): Likewise.
4047 (log2_test): Likewise.
4048 (logb_test): Likewise.
4049 (logb_test_downward): Likewise.
4050 (lround_test): Likewise.
4051 (llround_test): Likewise.
4052 (modf_test): Likewise.
4053 (nearbyint_test): Likewise.
4054 (nextafter_test): Likewise.
4055 (nexttoward_test): Likewise.
4056 (pow_test): Likewise.
4057 (pow_test_tonearest): Likewise.
4058 (pow_test_towardzero): Likewise.
4059 (pow_test_downward): Likewise.
4060 (pow_test_upward): Likewise.
4061 (remainder_test): Likewise.
4062 (drem_test): Likewise.
4063 (remainder_test_tonearest): Likewise.
4064 (drem_test_tonearest): Likewise.
4065 (remainder_test_towardzero): Likewise.
4066 (drem_test_towardzero): Likewise.
4067 (remainder_test_downward): Likewise.
4068 (drem_test_downward): Likewise.
4069 (remainder_test_upward): Likewise.
4070 (drem_test_upward): Likewise.
4071 (remquo_test): Likewise.
4072 (rint_test): Likewise.
4073 (rint_test_tonearest): Likewise.
4074 (rint_test_towardzero): Likewise.
4075 (rint_test_downward): Likewise.
4076 (rint_test_upward): Likewise.
4077 (round_test): Likewise.
4078 (scalb_test): Likewise.
4079 (scalbn_test): Likewise.
4080 (scalbln_test): Likewise.
4081 (signbit_test): Likewise.
4082 (sin_test): Likewise.
4083 (sin_test_tonearest): Likewise.
4084 (sin_test_towardzero): Likewise.
4085 (sin_test_downward): Likewise.
4086 (sin_test_upward): Likewise.
4087 (sincos_test): Likewise.
4088 (sinh_test): Likewise.
4089 (sinh_test_tonearest): Likewise.
4090 (sinh_test_towardzero): Likewise.
4091 (sinh_test_downward): Likewise.
4092 (sinh_test_upward): Likewise.
4093 (sqrt_test): Likewise.
4094 (sqrt_test_tonearest): Likewise.
4095 (sqrt_test_towardzero): Likewise.
4096 (sqrt_test_downward): Likewise.
4097 (sqrt_test_upward): Likewise.
4098 (tan_test): Likewise.
4099 (tan_test_tonearest): Likewise.
4100 (tan_test_towardzero): Likewise.
4101 (tan_test_downward): Likewise.
4102 (tan_test_upward): Likewise.
4103 (tanh_test): Likewise.
4104 (tgamma_test): Likewise.
4105 (trunc_test): Likewise.
4106 (y0_test): Likewise.
4107 (y1_test): Likewise.
4108 (yn_test): Likewise.
4109 (significand_test): Likewise.
4110
e6b6a857
JM
4111 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4112 individual tests in comment.
4113 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4114 (prev_max_error): New variable.
4115 (prev_real_max_error): Likewise.
4116 (prev_imag_max_error): Likewise.
4117 (compare_ulp_data): Don't refer to test names in comment.
4118 (find_test_ulps): Remove function.
4119 (find_function_ulps): Likewise.
4120 (find_complex_function_ulps): Likewise.
4121 (init_max_error): Take function name as argument. Look up ulps
4122 for that function.
4123 (print_ulps): Remove function.
4124 (print_max_error): Use prev_max_error instead of calling
4125 find_function_ulps.
4126 (print_complex_max_error): Use prev_real_max_error and
4127 prev_imag_max_error instead of calling find_complex_function_ulps.
4128 (check_float_internal): Take max_ulp parameter instead of calling
4129 find_test_ulps. Don't call print_ulps.
4130 (check_float): Update call to check_float_internal.
4131 (check_complex): Update calls to check_float_internal.
4132 (START): Pass argument to init_max_error.
4133 * math/gen-libm-test.pl (%results): Don't include "kind"
4134 information.
4135 (parse_ulps): Don't handle ulps of individual tests.
4136 (print_ulps_file): Likewise.
4137 (output_ulps): Likewise.
4138 * math/README.libm-test: Update.
4139 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4140 individual tests.
4141 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4142 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4143 * sysdeps/arm/libm-test-ulps: Likewise.
4144 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4145 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4146 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4147 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4148 * sysdeps/microblaze/libm-test-ulps: Likewise.
4149 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4150 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4152 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4153 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4154 * sysdeps/sh/libm-test-ulps: Likewise.
4155 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4156 * sysdeps/tile/libm-test-ulps: Likewise.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158
45adef3c
JM
41592014-03-04 Joseph Myers <joseph@codesourcery.com>
4160
4161 * math/libm-test.inc (print_complex_max_error): Check separately
4162 whether real and imaginary errors are within allowed range and
4163 pass 0 to print_complex_function_ulps instead of value within
4164 allowed range.
4165
000232b9
SP
41662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
d4b17258
SP
4168 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4169 formatting.
4170 (get_handles_fopen): Likewise.
4171 (do_write_test): Likewise.
4172
091eff71
SP
4173 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4174
fa3cd248
SP
4175 * libio/fileops.c (do_ftell): Use cached offset when
4176 available.
4177 * libio/iofwide.c (do_ftell_wide): Likewise.
4178 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4179 _IO_file_attach.
4180 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4181
000232b9
SP
4182 [BZ #16532]
4183 * libio/libioP.h (get_file_offset): New function.
4184 * libio/fileops.c (get_file_offset): Likewise.
4185 (do_ftell): Likewise.
4186 (_IO_new_file_seekoff): Split out ftell logic.
4187 * libio/wfileops.c (do_ftell_wide): Likewise.
4188 (_IO_wfile_seekoff): Split out ftell logic.
4189 * libio/tst-ftell-active-handler.c: New test case.
4190 * libio/Makefile (tests): Add it.
4191
116f4d1a
RM
41922014-03-03 Roland McGrath <roland@hack.frob.com>
4193
4194 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4195 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4196
532a6035
SP
41972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4198
4199 [BZ #16639]
4200 * nscd/connections.c (nscd_init): Call do_exit.
4201 (start_threads): Call do_exit and notify_parent.
4202 (begin_drop_privileges): Call do_exit.
4203 (finish_drop_privileges): Likewise.
4204 * nscd/selinux.c (preserve_capabilities): Likewise.
4205 (install_real_capabilities): Likewise.
4206 (nscd_selinux_enabled): Likewise.
4207 (avc_create_thread): Likewise.
4208 (avc_alloc_lock): Likewise.
4209 (nscd_avc_init): Likewise.
4210 * nscd/nscd.c (parent_fd): New static variable.
4211 (main): Create a pipe between parent and child processes.
4212 Skip closing parent_fd.
4213 (monitor_child): New function.
4214 (do_exit): Likewise.
4215 (notify_parent): Likewise.
4216 * nscd/nscd.h (notify_parent): Likewise.
4217 (do_exit): Likewise.
4218
d6285c9f
CD
42192014-03-03 Carlos O'Donell <carlos@redhat.com>
4220
4221 * malloc/malloc.c (__libc_calloc): Revert last change.
4222
2b85d2a0
AZ
42232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4226
c7debbdf
RS
42272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4228
4229 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4231 implementation.
4232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4233 (__libc_ifunc_impl_list): Likewise.
4234 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4235 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4236 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4237 * string/strrchr.c: Define STRRCHR.
4238
235eed86
OB
42392014-02-28 Ondřej Bílka <neleai@seznam.cz>
4240
4241 * benchtest/bench-strtok.c (simple_strtok): Delete.
4242 (strtok_string): Use as benchmark.
4243 * string/strtok (STRTOK): New macro.
4244
8e25d1e7
CD
42452014-02-28 Carlos O'Donell <carlos@redhat.com>
4246
ef563f92
CD
4247 * manual/threads.texi: Add header and standard comments to all
4248 functions.
4249
8e25d1e7
CD
4250 * elf/dl-lookup.c (check_match): New function.
4251 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4252 (do_lookup_x): Remove nested function check_match. Use non-nested
4253 function check_match.
4254
ff71cc37
RM
42552014-02-28 Roland McGrath <roland@hack.frob.com>
4256
f08e9a26
RM
4257 * csu/Makefile (generated, before-compile): Use += rather than =.
4258 * catgets/Makefile (generated, generated-dirs): Likewise.
4259 * debug/Makefile (generated): Likewise.
4260 * dlfcn/Makefile (generated): Likewise.
4261 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4262 * iconvdata/Makefile (before-compile, generated): Likewise.
4263 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4264 * libio/Makefile (generated): Likewise.
4265 * malloc/Makefile (generated): Likewise.
4266 * manual/Makefile (generated, generated-dirs): Likewise.
4267 * misc/Makefile (generated): Likewise.
4268 * posix/Makefile (generated): Likewise.
4269 * resolv/Makefile (generated): Likewise.
4270 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4271 * timezone/Makefile (generated, generated-dirs): Likewise.
4272
ff71cc37
RM
4273 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4274
fe13a20c
AZ
42752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
57f41c40
AS
4277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4278 power8 implementation.
4279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4280 file: POWER8 llround ifunc implementation.
4281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4282 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4283 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4284 POWER8 llround implementation.
4285
57f41c40
AS
4286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4287 power8 implementation.
4288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4289 file: POWER8 llrint ifunc implementation.
4290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4291 Add POWER8 implementation.
1ad8950a
AZ
4292 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4293 POWER8 llrint implementation.
4294
57f41c40
AS
4295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4296 power8 implementation.
4297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4298 file: POWER8 finite ifunc implementation.
4299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4300 Add POWER8 implementation.
cac626d6
AZ
4301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4302 Likewise.
4303 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4304 POWER8 finite implementation.
4305 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4306
57f41c40
AS
4307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4308 power8 implementation.
4309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4310 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4312 POWER8 implementation.
4313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4314 Likewise.
57f41c40
AS
4315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4316 isinf implementation.
4393fc11
AZ
4317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4318
57f41c40
AS
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4320 (INIT_ARCH): Add hwcap2 initialization.
4321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4322 power8 implementation.
4323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4324 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4326 POWER8 implementation.
4327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4328 Likewise.
57f41c40
AS
4329 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4330 isnan implementation.
487972ae
AZ
4331 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4332
7d92b787
JY
43332014-02-27 Joey Ye <joey.ye@arm.com>
4334
4335 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4336 (_FP_NANFRAC_Q): Set to zero.
4337
1cadc858
SP
43382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4339
4340 [BZ #16623]
4341 * math/auto-libm-test-in: New test inputs.
4342 * math/auto-libm-test-out: Regenerate.
4343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4344 and DA.
4345 (__cos): Likewise.
4346 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4347
f8c17e79
JM
43482014-02-27 Joseph Myers <joseph@codesourcery.com>
4349
4350 * scripts/evaluate-test.sh: Take new argument indicating whether
4351 failure is expected.
4352 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4353 indicating whether failure is expected.
4354 * conform/Makefile (test-xfail-run-conformtest): New variable.
4355 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4356 level.
4357 * posix/Makefile (test-xfail-annexc): New variable.
4358 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4359
a5f891ac
JM
43602014-02-26 Joseph Myers <joseph@codesourcery.com>
4361
4362 * argp/Makefile: Include Makeconfig immediately after defining
4363 subdir.
4364 * assert/Makefile: Likewise.
4365 * benchtests/Makefile: Likewise.
4366 * catgets/Makefile: Likewise.
4367 * conform/Makefile: Likewise.
4368 * crypt/Makefile: Likewise.
4369 * csu/Makefile: Likewise.
4370 (all): Remove target.
4371 * ctype/Makefile: Include Makeconfig immediately after defining
4372 subdir.
4373 * debug/Makefile: Likewise.
4374 * dirent/Makefile: Likewise.
4375 * dlfcn/Makefile: Likewise.
4376 * gmon/Makefile: Likewise.
4377 * gnulib/Makefile: Likewise.
4378 * grp/Makefile: Likewise.
4379 * gshadow/Makefile: Likewise.
4380 * hesiod/Makefile: Likewise.
4381 * hurd/Makefile: Likewise.
4382 (all): Remove target.
4383 * iconvdata/Makefile: Include Makeconfig immediately after
4384 defining subdir.
4385 * inet/Makefile: Likewise.
4386 * intl/Makefile: Likewise.
4387 * io/Makefile: Likewise.
4388 * libio/Makefile: Likewise.
4389 (all): Remove target.
4390 * locale/Makefile: Include Makeconfig immediately after defining
4391 subdir.
4392 * login/Makefile: Likewise.
4393 * mach/Makefile: Likewise.
4394 (all): Remove target.
4395 * malloc/Makefile: Include Makeconfig immediately after defining
4396 subdir.
4397 (all): Remove target.
4398 * manual/Makefile: Include Makeconfig immediately after defining
4399 subdir.
4400 * math/Makefile: Likewise.
4401 * misc/Makefile: Likewise.
4402 * nis/Makefile: Likewise.
4403 * nss/Makefile: Likewise.
4404 * po/Makefile: Likewise.
4405 (all): Remove target.
4406 * posix/Makefile: Include Makeconfig immediately after defining
4407 subdir.
4408 * pwd/Makefile: Likewise.
4409 * resolv/Makefile: Likewise.
4410 * resource/Makefile: Likewise.
4411 * rt/Makefile: Likewise.
4412 * setjmp/Makefile: Likewise.
4413 * shadow/Makefile: Likewise.
4414 * signal/Makefile: Likewise.
4415 * socket/Makefile: Likewise.
4416 * soft-fp/Makefile: Likewise.
4417 * stdio-common/Makefile: Likewise.
4418 * stdlib/Makefile: Likewise.
4419 * streams/Makefile: Likewise.
4420 * string/Makefile: Likewise.
4421 * sunrpc/Makefile: Likewise.
4422 (all): Remove target.
4423 * sysvipc/Makefile: Include Makeconfig immediately after defining
4424 subdir.
4425 * termios/Makefile: Likewise.
4426 * time/Makefile: Likewise.
4427 * timezone/Makefile: Likewise.
4428 (all): Remove target.
4429 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4430 subdir.
4431 * wctype/Makefile: Likewise.
4432
5b456e9d
SE
44332014-02-26 Steve Ellcey <sellcey@mips.com>
4434
4435 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4436 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4437 (libc_feholdexcept_setround_mips): Ditto.
4438 (libc_feholdsetround): New.
4439 (libc_feholdsetroundf): New.
4440 (libc_feholdsetroundl): New.
4441 (libc_feupdateenv_test_mips): New.
4442 (libc_feupdateenv_test): New.
4443 (libc_feupdateenv_testf): New.
4444 (libc_feupdateenv_testl): New.
4445 (libc_feresetround): New.
4446 (libc_feresetroundf): New.
4447 (libc_feresetroundl): New.
4448 (libc_fetestexcept_mips): New.
4449 (libc_fetestexcept): New.
4450 (libc_fetestexceptf): New.
4451 (libc_fetestexceptl): New.
4452 (HAVE_RM_CTX): New.
4453 (libc_feholdexcept_setround_mips_ctx): New.
4454 (libc_feholdexcept_setround_ctx): New.
4455 (libc_feholdexcept_setroundf_ctx): New.
4456 (libc_feholdexcept_setroundl_ctx): New.
4457 (libc_fesetenv_mips_ctx): New.
4458 (libc_fesetenv_ctx): New.
4459 (libc_fesetenv_ctxf): New.
4460 (libc_fesetenv_ctxl): New.
4461 (libc_feupdateenv_mips_ctx): New.
4462 (libc_feupdateenv_ctx): New.
4463 (libc_feupdateenvf_ctx): New.
4464 (libc_feupdateenvl_ctx): New.
4465 (libc_feholdsetround_mips_ctx): New.
4466 (libc_feholdsetround_ctx): New.
4467 (libc_feholdsetroundf_ctx): New.
4468 (libc_feholdsetroundl_ctx): New.
4469 (libc_feresetround_mips_ctx): New.
4470 (libc_feresetround_ctx): New.
4471 (libc_feresetroundf_ctx): New.
4472 (libc_feresetroundl_ctx): New.
4473
085d0e35
CD
44742014-02-26 Carlos O'Donell <carlos@redhat.com>
4475
f067bf1f
CD
4476 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4477
085d0e35
CD
4478 * manual/ipc.texi: New file.
4479 * manual/Makefile (chapters): Add ipc.
4480 * manual/job.texi: Add "Inter-Process Communication" to next.
4481 * manual/process.texi: Add "Inter-Process Communication" to prev.
4482
86e58c08
AZ
44832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4486
4248f0da
OB
44872014-02-26 Ondřej Bílka <neleai@seznam.cz>
4488
4489 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4490
cf822e3c
OB
4491 * manual/arith.texi: Fix spaces after sentences.
4492 * manual/charset.texi: Likewise.
4493 * manual/errno.texi: Likewise.
4494 * manual/install.texi: Likewise.
4495 * manual/llio.texi: Likewise.
4496 * manual/locale.texi: Likewise.
4497 * manual/maint.texi: Likewise.
4498 * manual/math.texi: Likewise.
4499 * manual/memory.texi: Likewise.
4500 * manual/message.texi: Likewise.
4501 * manual/probes.texi: Likewise.
4502 * manual/resource.texi: Likewise.
4503 * manual/signal.texi: Likewise.
4504 * manual/socket.texi: Likewise.
4505 * manual/stdio.texi: Likewise.
4506 * manual/string.texi: Likewise.
4507 * manual/time.texi: Likewise.
4508 * manual/users.texi: Likewise.
4509
ade40b10
CD
45102014-02-25 Carlos O'Donell <carlos@redhat.com>
4511
4512 [BZ #16632]
4513 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4514 _DEFAULT_SOURCE is defined.
4515
d0503676
CD
45162014-02-25 Ulrich Drepper <drepper@gmail.com>
4517 Carlos O'Donell <carlos@redhat.com>
4518
4519 [BZ #16613]
4520 * elf/dl-tls.c (_dl_count_modids): New function.
4521 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4522 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4523 audit library and increment generation counter.
4524 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4525 * elf/tst-audit9.c: New file.
4526 * elf/tst-auditmod9a.c: New file.
4527 * elf/tst-auditmod9b.c: New file.
4528 * elf/Makefile: Add rules to build and run tst-audit9.
4529
4cbf380c
FW
45302014-02-25 Florian Weimer <fweimer@redhat.com>
4531
4532 [BZ #15347]
4533 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4534
80a56cc3
WN
45352014-02-25 Will Newton <will.newton@linaro.org>
4536
4537 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4538 (__longjmp): Restore sp and lr before restoring callee
4539 saved registers. Add longjmp and longjmp_target
4540 SystemTap probe point.
4541 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4542 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4543 Define to zero to match jmpbuf layout.
4544 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4545 (__sigsetjmp): Save sp and lr before saving callee
4546 saved registers. Add setjmp SystemTap probe point.
4547
3ea0f74e
SL
45482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4549
4550 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4551
b04acb26
AS
45522014-02-24 Andreas Schwab <schwab@suse.de>
4553
4554 [BZ #15804]
4555 * elf/pldd.c (wait_for_ptrace_stop): New function.
4556 (main): Call it after attaching.
4557
098ad55c
RM
45582014-02-22 Roland McGrath <roland@hack.frob.com>
4559
d4ec6ae1
RM
4560 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4561 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4562 Versions files is now verboten.
4563 * hurd/Versions (libc: GLIBC_2.0):
4564 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4565 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4566 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4567 * mach/Versions: Likewise.
4568
098ad55c
RM
4569 * csu/Versions: Remove unused %include.
4570 * resolv/Versions: Likewise.
4571
acd7f096
JM
45722014-02-21 Joseph Myers <joseph@codesourcery.com>
4573
f0881698
JM
4574 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4575 ($(objpfx)check-local-headers.out): Likewise.
4576 ($(objpfx)begin-end-check.out): Likewise.
4577 * Makerules (check-abi-%.out): Likewise.
4578 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4579 ($(objpfx)test2.cat): Likewise.
4580 ($(objpfx)de/libc.cat): Likewise.
4581 ($(objpfx)test-gencat.out): Likewise.
4582 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4583 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4584 ($(objpfx)noload-mem): Likewise.
4585 ($(objpfx)tst-pathopt.out): Likewise.
4586 ($(objpfx)tst-rtld-load-self.out): Likewise.
4587 ($(objpfx)tst-array1-cmp.out): Likewise.
4588 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4589 ($(objpfx)tst-array2-cmp.out): Likewise.
4590 ($(objpfx)tst-array3-cmp.out): Likewise.
4591 ($(objpfx)tst-array4-cmp.out): Likewise.
4592 ($(objpfx)tst-array5-cmp.out): Likewise.
4593 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4594 ($(objpfx)check-textrel.out): Likewise.
4595 ($(objpfx)check-execstack.out): Likewise.
4596 ($(objpfx)check-localplt.out): Likewise.
4597 ($(objpfx)order2-cmp.out): Likewise.
4598 ($(objpfx)tst-leaks1-mem): Likewise.
4599 ($(objpfx)tst-leaks1-static-mem): Likewise.
4600 ($(objpfx)tst-initorder-cmp.out): Likewise.
4601 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4602 ($(objpfx)tst-unused-dep.out): Likewise.
4603 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4604 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4605 * iconv/Makefile (test-iconvconfig): Likewise.
4606 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4607 ($(objpfx)iconv-test.out): Likewise.
4608 ($(objpfx)tst-tables.out): Likewise.
4609 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4610 ($(objpfx)tst-gettext.out): Likewise.
4611 ($(objpfx)tst-translit.out): Likewise.
4612 ($(objpfx)tst-gettext2.out): Likewise.
4613 ($(objpfx)tst-gettext4.out): Likewise.
4614 ($(objpfx)tst-gettext6.out): Likewise.
4615 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4616 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4617 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4618 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4620 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4621 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4622 ($(objpfx)wordexp-tst.out): Likewise.
4623 ($(objpfx)annexc.out): Likewise.
4624 ($(objpfx)tst-fnmatch-mem): Likewise.
4625 ($(objpfx)bug-regex2-mem): Likewise.
4626 ($(objpfx)bug-regex14-mem): Likewise.
4627 ($(objpfx)bug-regex21-mem): Likewise.
4628 ($(objpfx)bug-regex31-mem): Likewise.
4629 ($(objpfx)tst-vfork3-mem): Likewise.
4630 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4631 ($(objpfx)tst-pcre-mem): Likewise.
4632 ($(objpfx)tst-boost-mem): Likewise.
4633 ($(objpfx)tst-getconf.out): Likewise.
4634 ($(objpfx)bug-ga2-mem): Likewise.
4635 ($(objpfx)bug-glob2-mem): Likewise.
4636 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4637 ($(objpfx)mtrace-tst-leaks2): Likewise.
4638 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4639 ($(objpfx)tst-printf.out): Likewise.
4640 ($(objpfx)tst-setvbuf1.out): Likewise.
4641 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4642 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4643 ($(objpfx)tst-fmtmsg.out): Likewise.
4644 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4645 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4646
acd7f096
JM
4647 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4648 * bits/sigaction.h [__USE_MISC]: Likewise.
4649 * bits/waitstatus.h: Update #endif comments.
4650 * ctype/ctype.h: Likewise.
4651 * dirent/dirent.h: Likewise.
4652 [__USE_MISC]: Remove redundant conditionals.
4653 * grp/grp.h: Update #endif comments.
4654 [__USE_GNU]: Remove redundant conditionals.
4655 [__USE_MISC]: Likewise.
4656 * inet/netinet/in.h [__USE_GNU]: Likewise.
4657 * io/sys/stat.h [__USE_MISC]: Likewise.
4658 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4659 * libio/bits/stdio.h: Update #endif comments.
4660 [__USE_MISC]: Remove redundant conditionals.
4661 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4662 * libio/stdio.h: Update #endif comments.
4663 [__USE_MISC]: Remove redundant conditionals.
4664 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4665 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4666 * math/math.h: Update #else and #endif comments.
4667 [__USE_MISC]: Remove redundant conditionals.
4668 * misc/sys/uio.h: Update #endif comments.
4669 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4670 * posix/glob.h [__USE_MISC]: Likewise.
4671 * posix/sys/types.h: Update #endif comments.
4672 [__USE_MISC]: Remove redundant conditionals.
4673 * posix/sys/wait.h: Update #endif comments.
4674 [__USE_MISC]: Remove redundant conditionals.
4675 * posix/unistd.h: Update #endif comments.
4676 [__USE_MISC]: Remove redundant conditionals.
4677 * pwd/pwd.h [__USE_GNU]: Likewise.
4678 [__USE_MISC]: Likewise.
4679 * resolv/netdb.h [__USE_GNU]: Likewise.
4680 * signal/signal.h: Update #endif comments.
4681 [__USE_MISC]: Remove redundant conditionals.
4682 * stdlib/stdlib.h: Update #else and #endif comments.
4683 [__USE_MISC]: Remove redundant conditionals.
4684 [__USE_GNU]: Likewise.
4685 * string/bits/string2.h [__USE_MISC]: Likewise.
4686 * string/string.h: Update #endif comments.
4687 [__USE_MISC]: Remove redundant conditionals.
4688 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4689 Likewise.
4690 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4691 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4692 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4693 Likewise.
4694 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4695 Likewise.
4696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4697 comments.
4698 [__USE_MISC]: Remove redundant conditionals.
4699 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4700 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4701 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4702 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4703 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4704 Likewise.
4705 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4707 Likewise.
4708 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4709 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4710 Likewise.
4711 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4715 Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4719 * sysdeps/x86/bits/string.h: Update #endif comments.
4720 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4721 conditionals.
4722 * time/sys/time.h: Update #endif comments.
4723 * time/time.h: Likewise.
4724 [__USE_MISC]: Remove redundant conditionals.
4725
a5d82e4e
YG
47262014-02-21 Yury Gribov <y.gribov@samsung.com>
4727
4728 [BZ #16600]
4729 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4730
9a80491d
AS
47312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4732
4733 * Versions.def (librt): Add GLIBC_2.17.
4734
105fa381
AC
47352014-02-21 Adam Conrad <adconrad@0c3.net>
4736
4737 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4738 synonym for _SYS_AUXV_H to allow direct inclusion.
4739 * sysdeps/sparc/bits/hwcap.h: Likewise.
4740 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4741 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4742 * sysdeps/sparc/sysdep.h: Likewise.
4743
b8cd1c4e
SP
47442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4745
4746 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4747
bd939d23
RS
47482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4749
4750 * benchtests/bench-strrchr.c: Print length instead of position.
4751
5d7b57ca
JM
47522014-02-20 Joseph Myers <joseph@codesourcery.com>
4753
bc688c10
JM
4754 [BZ #16611]
4755 * sysdeps/unix/sysv/linux/kernel-features.h
4756 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4757 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4758 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4759 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4760 Likewise.
4761 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4762 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4763 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4764 (__ASSUME_SENDMMSG): Define instead of using previous
4765 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4766 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4767 (__ASSUME_SENDMMSG_SYSCALL): Define.
4768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4769 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4770 Likewise.
4771 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4772 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4773 Likewise.
4774 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4775 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4776 Likewise.
4777 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4778 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4779 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4780 [__ASSUME_SENDMMSG]: Change conditionals to
4781 [__ASSUME_SENDMMSG_SOCKETCALL].
4782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4783 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4784 Define.
4785 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4786 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4787 Likewise.
4788 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4789 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4790 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4791 [!__ASSUME_SENDMMSG]: Change conditional to
4792 [!__ASSUME_SENDMMSG_SOCKETCALL].
4793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4794 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4795 Define.
4796
0e31b18c
JM
4797 [BZ #16610]
4798 * sysdeps/unix/sysv/linux/kernel-features.h
4799 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4800 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4801 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4802 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4803 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4804 [__i386__ || __sparc__]
4805 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4806 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4807 (__ASSUME_RECVMMSG): Define instead of using previous
4808 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4809 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4810 (__ASSUME_RECVMMSG_SYSCALL): Define.
4811 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4815 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4816 Likewise.
4817 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4819 Likewise.
4820 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4821 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4822 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4823 [__ASSUME_RECVMMSG]: Change condition to
4824 [__ASSUME_RECVMMSG_SOCKETCALL].
4825 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4826 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4827 Define.
4828 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4829 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4830 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4833 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4834 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4835 [!__ASSUME_RECVMMSG]: Change condition to
4836 [!__ASSUME_RECVMMSG_SOCKETCALL].
4837 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4838 (__ASSUME_RECVMMSG_SYSCALL): Define.
4839
dd481ccf
JM
4840 [BZ #16609]
4841 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4842 __powerpc__ || __s390__ || __sh__ || __sparc__]
4843 (__ASSUME_SOCKETCALL): Define.
4844 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4845 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4846 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4847 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4848 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4849 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4850 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4851 (__ASSUME_ACCEPT4): Define instead of using previous
4852 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4853 __powerpc__ || __sparc__ || __s390__)] condition.
4854 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4855 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4856 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4857 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4858 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4859 [!__ASSUME_ACCEPT4]: Change condition to
4860 [!__ASSUME_ACCEPT4_SOCKETCALL].
4861 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4862 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4863 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4865 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4866 __ASSUME_ACCEPT4_SYSCALL.
4867 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4868 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4869 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4870 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4871 __ASSUME_ACCEPT4_SYSCALL.
4872 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4873 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4874 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4875 [__ASSUME_ACCEPT4]: Change condition to
4876 [__ASSUME_ACCEPT4_SOCKETCALL].
4877 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4878 (__ASSUME_SOCKETCALL): Define.
4879 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4881 (__ASSUME_SOCKETCALL): Define.
4882 (__ASSUME_ACCEPT4): Remove.
4883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4884 Define.
4885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4886 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4887 Likewise.
4888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4889 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4890
5d7b57ca
JM
4891 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4892 macro.
4893 (HWCAP_ARM_LPAE): Likewise.
4894 (HWCAP_ARM_EVTSTRM): Likewise.
4895 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4896 Add vpfd32, lpae and evtstrm.
4897 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4898 Increase to 22.
4899
63689d61
JM
49002014-02-19 Joseph Myers <joseph@codesourcery.com>
4901
4902 * math/auto-libm-test-in: Add tests of clog10.
4903 * math/auto-libm-test-out: Regenerated.
4904 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4905 * sysdeps/i386/fpu/libm-test-ulps: Update.
4906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4907
ab09bf61
AS
49082014-02-18 Andreas Schwab <schwab@suse.de>
4909
4910 [BZ #16574]
4911 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4912 Store non-zero if the second buffer was newly allocated.
4913 (send_dg): Likewise.
4914 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4915 to send_vc and send_dg.
4916 (res_nsend): Pass NULL for ansp2_malloced.
4917 * resolv/res_query.c (__libc_res_nquery): Add parameter
4918 answerp2_malloced and pass it down to __libc_res_nsend.
4919 (res_nquery): Pass additional NULL to __libc_res_nquery.
4920 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4921 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4922 second answer buffer if answerp2_malloced was set.
4923 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4924 (__libc_res_nquerydomain): Add parameter
4925 answerp2_malloced and pass it down to __libc_res_nquery.
4926 (res_nquerydomain): Pass additional NULL to
4927 __libc_res_nquerydomain.
4928 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4929 additional NULL to __libc_res_nsend and __libc_res_nquery.
4930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4931 additional NULL to __libc_res_nsearch.
4932 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4933 parameter of __libc_res_nsearch to check for separately allocated
4934 second buffer.
4935 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4936 __libc_res_nquery.
4937 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4938 additional NULL to __libc_res_nquery.
4939 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4940 __libc_res_nsearch.
4941 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4942 * include/resolv.h: Update prototypes of __libc_res_nquery,
4943 __libc_res_nsearch, __libc_res_nsend.
4944
a4fb7861
JM
49452014-02-18 Joseph Myers <joseph@codesourcery.com>
4946
c6af2d89
JM
4947 * math/auto-libm-test-in: Add tests of fma.
4948 * math/auto-libm-test-out: Regenerated.
4949 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4950 (fma_towardzero_test_data): Likewise.
4951 (fma_downward_test_data): Likewise.
4952 (fma_upward_test_data): Likewise.
4953 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4954 mpc_mode.
4955 (rounding_modes): Add values for new field.
4956 (func_calc_method): Add value mpfr_fff_f.
4957 (func_calc_desc): Add mpfr_fff_f union field.
4958 (test_function): Add field exact_args.
4959 (FUNC): Add macro argument EXACT_ARGS.
4960 (FUNC_mpfr_f_f): Update call to FUNC.
4961 (FUNC_mpfr_f_f): Likewise.
4962 (FUNC_mpfr_ff_f): Likewise.
4963 (FUNC_mpfr_if_f): Likewise.
4964 (FUNC_mpc_c_f): Likewise.
4965 (FUNC_mpc_c_c): Likewise.
4966 (test_functions): Add fma. Update calls to FUNC.
4967 (handle_input_arg): Add argument exact_args.
4968 (add_test): Update call to handle_input_arg.
4969 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4970 (output_for_one_input_case): Update call to calc_generic_results.
4971 Recalculate exact zero results in each rounding mode.
4972
a4fb7861
JM
4973 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4974 non-negative before setting low bit.
4975 * math/auto-libm-test-in: Mark one asin test possibly having
4976 spurious underflow.
4977 * math/auto-libm-test-out: Regenerated.
4978 * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4980
ef114eaf
DH
49812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4982
2b7f4f2c
SP
4983 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4984 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4985 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4986 * README: Add missing listing for microblaze*-*-linux-gnu.
4987
c70a4b1d
MF
49882014-02-16 Mike Frysinger <vapier@gentoo.org>
4989
4990 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4991 * sysdeps/unix/sysv/linux/ia64: Move directory from
4992 ports/sysdeps/unix/sysv/linux/ia64.
4993 * README: Update listing for ia64-*-linux-gnu.
4994
591aeaf7
TD
49952014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4996 Joseph Myers <joseph@codesourcery.com>
4997
4998 * Makeconfig (test-name): New variable.
4999 (evaluate-test): Likewise.
5000 * Makerules (do-test-clean): Remove .test-result files.
5001 (common-mostlyclean): Likewise.
5002 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5003 * scripts/evaluate-test.sh: New file.
5004
6e89caf1
JM
50052014-02-14 Joseph Myers <joseph@codesourcery.com>
5006
7f98f180
JM
5007 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5008 separate $(objpfx)tst-fopenloc-cmp.out and
5009 $(objpfx)tst-fopenloc-mem.out targets.
5010 (tests): Update dependencies.
5011 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5012 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5013 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5014 (tst-rxspencer-no-utf8-ARGS): New variable.
5015 (tst-rxspencer-no-utf8-ENV): Likewise.
5016 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5017 instead of $(objpfx)tst-rxspencer-mem.
5018 ($(objpfx)tst-rxspencer-mem): Change target to
5019 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5020 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5021 * posix/tst-rxspencer-no-utf8.c: New file.
5022
6e89caf1
JM
5023 * elf/Makefile ($(objpfx)order.out): Remove rule.
5024 [$(run-built-tests) = yes] (tests): Depend on
5025 $(objpfx)order-cmp.out.
5026 ($(objpfx)order-cmp.out): New rule.
5027 [$(run-built-tests) = yes] (tests): Depend on
5028 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5029 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5030 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5031 $(objpfx)tst-array5-static-cmp.out.
5032 ($(objpfx)tst-array1.out): Remove rule.
5033 ($(objpfx)tst-array1-cmp.out): New rule.
5034 ($(objpfx)tst-array1-static.out): Remove rule.
5035 ($(objpfx)tst-array1-static-cmp.out): New rule.
5036 ($(objpfx)tst-array2.out): Remove rule.
5037 ($(objpfx)tst-array2-cmp.out): New rule.
5038 ($(objpfx)tst-array3.out): Remove rule.
5039 ($(objpfx)tst-array3-cmp.out): New rule.
5040 ($(objpfx)tst-array4.out): Remove rule.
5041 ($(objpfx)tst-array4-cmp.out): New rule.
5042 ($(objpfx)tst-array5.out): Remove rule.
5043 ($(objpfx)tst-array5-cmp.out): New rule.
5044 ($(objpfx)tst-array5-static.out): Remove rule.
5045 ($(objpfx)tst-array5-static-cmp.out): New rule.
5046 [$(run-built-tests) = yes] (tests): Depend on
5047 $(objpfx)order2-cmp.out.
5048 ($(objpfx)order2.out): Remove rule.
5049 ($(objpfx)order2-cmp.out): New rule.
5050 ($(objpfx)tst-initorder.out): Remove rule.
5051 [$(run-built-tests) = yes] (tests): Depend on
5052 $(objpfx)tst-initorder-cmp.out.
5053 ($(objpfx)tst-initorder-cmp.out): New rule.
5054 ($(objpfx)tst-initorder2.out): Remove rule.
5055 [$(run-built-tests) = yes] (tests): Depend on
5056 $(objpfx)tst-initorder2-cmp.out.
5057 ($(objpfx)tst-initorder2-cmp.out): New rule.
5058 [$(run-built-tests) = yes] (tests): Depend on
5059 $(objpfx)tst-unused-dep-cmp.out.
5060 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5061 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5062 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5063 on $(objpfx)tst-setvbuf1-cmp.out.
5064 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5065 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5066 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5067 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5068 ($(objpfx)tst-svc.out): Remove rule.
5069 ($(objpfx)tst-svc-cmp.out): New rule.
5070
ed9a38e2
JM
50712014-02-13 Joseph Myers <joseph@codesourcery.com>
5072
5073 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5074 * ctype/ctype.h [__USE_MISC]: Likewise.
5075 * dirent/dirent.h [__USE_MISC]: Likewise.
5076 * grp/grp.h [__USE_MISC]: Likewise.
5077 * io/fcntl.h [__USE_MISC]: Likewise.
5078 * io/sys/stat.h [__USE_MISC]: Likewise.
5079 * libio/stdio.h [__USE_MISC]: Likewise.
5080 * posix/unistd.h [__USE_MISC]: Likewise.
5081 * pwd/pwd.h [__USE_MISC]: Likewise.
5082 * stdlib.h [__USE_MISC]: Likewise.
5083 * string/bits/string2.h [__USE_MISC]: Likewise.
5084 * string/string.h [__USE_MISC]: Likewise.
5085 * time/time.h [__USE_MISC]: Likewise.
5086
d6680619
AS
50872014-02-13 Andreas Schwab <schwab@suse.de>
5088
5089 [BZ #16574]
5090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5091 second answer buffer if it was separately allocated.
5092
ace614b8
JM
50932014-02-12 Joseph Myers <joseph@codesourcery.com>
5094
743151ae
JM
5095 * sysdeps/mips/math-tests.h: Include <features.h>.
5096 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5097 (ROUNDING_TESTS_long_double): Do not define.
5098 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5099 (EXCEPTION_TESTS_long_double): Likewise.
5100 * sysdeps/mips/mips64/libm-test-ulps: Update.
5101
498afc54
JM
5102 * include/features.h (__USE_BSD): Remove macro definitions.
5103 (__USE_SVID): Likewise.
5104 (_BSD_SOURCE): Likewise.
5105 (_SVID_SOURCE): Likewise.
5106 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5107 from definition of _DEFAULT_SOURCE.
5108 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5109 [_DEFAULT_SOURCE].
5110 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5111 * bits/mman.h [__USE_BSD]: Likewise.
5112 * bits/termios.h [__USE_BSD]: Likewise.
5113 * bits/waitstatus.h [__USE_BSD]: Likewise.
5114 * ctype/ctype.h [__USE_SVID]: Likewise.
5115 * dirent/dirent.h [__USE_BSD]: Likewise.
5116 * grp/grp.h [__USE_SVID]: Likewise.
5117 [__USE_BSD]: Likewise.
5118 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5119 * io/fcntl.h [__USE_BSD]: Likewise.
5120 * io/ftw.h [__USE_BSD]: Likewise.
5121 * io/sys/stat.h [__USE_BSD]: Likewise.
5122 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5123 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5124 * libio/stdio.h [__USE_SVID]: Likewise.
5125 [__USE_BSD]: Likewise.
5126 * math/math.h [__USE_SVID]: Likewise.
5127 [__USE_BSD]: Likewise.
5128 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5129 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5130 * misc/search.h [__USE_SVID]: Likewise.
5131 * misc/sys/mman.h [__USE_BSD]: Likewise.
5132 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5133 * misc/sys/uio.h [__USE_BSD]: Likewise.
5134 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5135 * posix/glob.h [__USE_BSD]: Likewise.
5136 * posix/regex.h [__USE_BSD]: Likewise.
5137 * posix/sys/types.h [__USE_BSD]: Likewise.
5138 [__USE_SVID]: Likewise.
5139 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5140 * posix/sys/wait.h [__USE_BSD]: Likewise.
5141 [__USE_SVID]: Likewise.
5142 * posix/unistd.h [__USE_BSD]: Likewise.
5143 [__USE_SVID]: Likewise.
5144 * pwd/pwd.h [__USE_SVID]: Likewise.
5145 * resolv/netdb.h [__USE_BSD]: Likewise.
5146 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5147 * signal/signal.h [__USE_BSD]: Likewise.
5148 [__USE_SVID]: Likewise.
5149 * socket/sys/socket.h [__USE_BSD]: Likewise.
5150 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5151 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5152 [__USE_SVID]: Likewise.
5153 * string/bits/string2.h [__USE_BSD]: Likewise.
5154 [__USE_SVID]: Likewise.
5155 * string/bits/string3.h [__USE_BSD]: Likewise.
5156 * string/endian.h [__USE_BSD]: Likewise.
5157 * string/string.h [__USE_SVID]: Likewise.
5158 [__USE_BSD]: Likewise.
5159 * string/strings.h [__USE_BSD]: Likewise.
5160 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5161 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5162 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5163 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5164 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5165 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5170 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5171 Likewise.
5172 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5173 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5174 Likewise.
5175 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5176 Likewise.
5177 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5178 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5180 Likewise.
5181 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5182 Likewise.
5183 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5184 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5185 * termios/termios.h [__USE_BSD]: Likewise.
5186 * time/sys/time.h [__USE_BSD]: Likewise.
5187 * time/time.h [__USE_BSD]: Likewise.
5188 [__USE_SVID]: Likewise.
5189
dd7b064c
JM
5190 * Makefile (subdir_targets): Remove subdir_lint.out.
5191
a2c4c199
JM
5192 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5193 (do-tst-printf): Likewise.
5194 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5195 $(objpfx)tst-printf.out.
5196
8756f740
JM
5197 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5198
1b6dd3f1
JM
5199 * Makerules (check-abi-%): Change target to
5200 $(objpfx)check-abi-%.out.
5201 (check-abi target): Update dependencies.
5202 (check-abi-pattern variable): Redirect output of diff to $@.
5203 (check-abi variable): Likewise.
5204 * elf/Makefile (check-abi): Update dependencies.
5205
ace614b8
JM
5206 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5207 unused.
5208 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5209 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5210 subnormal range.
5211 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5212 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5213 value has largest subnormal exponent.
5214 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5215 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5216 * sysdeps/aarch64/soft-fp/sfp-machine.h
5217 (_FP_TININESS_AFTER_ROUNDING): New macro.
5218 * sysdeps/alpha/soft-fp/sfp-machine.h
5219 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5220 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5221 Likewise.
5222 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5223 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5224 * sysdeps/mips/soft-fp/sfp-machine.h
5225 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5226 * sysdeps/powerpc/soft-fp/sfp-machine.h
5227 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5228 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5229 Likewise.
5230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5231 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5233 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5234 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5235 Likewise.
5236
fbfdf9cb
DAS
52372014-02-12 Dylan Alex Simon <dylan@dylex.net>
5238
5239 [BZ #16545]
5240 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5241 model 1.
5242
68b7efaa
RH
52432014-02-12 Richard Henderson <rth@redhat.com>
5244
c70a4b1d 5245 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5246 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5247 * sysdeps/unix/sysv/linux/alpha: Move directory from
5248 ports/sysdeps/unix/sysv/linux/alpha.
5249 * README: Update listing for alpha-*-linux-gnu.
5250
cb4a2928
JM
52512014-02-11 Joseph Myers <joseph@codesourcery.com>
5252
c941736c
JM
5253 * include/features.h: Update comment documenting feature test
5254 macros.
5255 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5256 _DEFAULT_SOURCE.
5257 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5258 (_SVID_SOURCE): Likewise.
5259 (_DEFAULT_SOURCE): Update description of default features.
5260 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5261 with _GNU_SOURCE.
5262 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5263 (S_ISVTX): Likewise.
5264 * manual/math.texi (Mathematical Constants): Likewise.
5265 * manual/signal.texi (Interrupted Primitives): Likewise.
5266 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5267 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5268 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5269 Don't refer to _SVID_SOURCE in warning text.
5270
e8d8d7ec
JM
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5272
cb4a2928
JM
5273 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5274 already defined.
5275 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5276 * sysdeps/mips/dl-lookup.c: Remove.
5277 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5278
7e6424e3
AK
52792014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5280
5281 [BZ #16447]
5282 * math/auto-libm-test-in: Add testcase for expl.
5283 * math/auto-libm-test-out: Regenerate.
5284 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5285 calculation of unsafe.
5286 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5287
75eff3fe
MS
52882014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5289
5290 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5291 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5292 ports/sysdeps/unix/sysv/linux/aarch64.
5293 * README: Update listing for aarch64*-*-linux-gnu.
5294
d35f1e80
WN
52952014-02-11 Will Newton <will.newton@linaro.org>
5296
5297 * manual/probes.texi (Mathematical Function Probes): Use
5298 "triggered" instead of "hit".
5299
7b3436d4
WN
5300 * manual/probes.texi (Internal Probes): Add documentation
5301 of setjmp, longjmp and longjmp_target probes.
5302
b4f12ca3
WN
5303 * include/stap-probe.h: Add comment about probe argument
5304 format.
5305
c13a72b7
WN
5306 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5307 definition. (tr_where, tr_freehook, tr_mallochook,
5308 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5309
195b8165
DM
53102014-02-11 David S. Miller <davem@davemloft.net>
5311
5312 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5313 processing int_tests.
5314
2ad7600b
JM
53152014-02-10 Joseph Myers <joseph@codesourcery.com>
5316
5317 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5318 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5319 * sysdeps/unix/sysv/linux/mips: Move directory from
5320 ports/sysdeps/unix/sysv/linux/mips.
5321 * README: Update listing for mips-*-linux-gnu and
5322 mips64-*-linux-gnu.
5323
73588a72
AS
53242014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5325
5326 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5327 * sysdeps/unix/sysv/linux/m68k: Move directory from
5328 ports/sysdeps/unix/sysv/linux/m68k.
5329 * README: Update listing for m68k-*-linux-gnu.
5330
4372980f
CM
53312014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5332
5333 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5334 * sysdeps/unix/sysv/linux/generic: Move directory from
5335 ports/sysdeps/unix/sysv/linux/generic.
5336 * sysdeps/unix/sysv/linux/tile: Move directory from
5337 ports/sysdeps/unix/sysv/linux/tile.
5338 * README: Update listing for tile*-*-linux-gnu.
5339
a1ffb40e
OB
53402014-02-10 Ondřej Bílka <neleai@seznam.cz>
5341
57f41c40
AS
5342 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5343 __builtin_expect.
a1ffb40e
OB
5344 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5345 * catgets/open_catalog.c (__open_catalog): Likewise.
5346 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5347 * debug/confstr_chk.c: Likewise.
5348 * debug/fread_chk.c (__fread_chk): Likewise.
5349 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5350 * debug/getgroups_chk.c: Likewise.
5351 * debug/mbsnrtowcs_chk.c: Likewise.
5352 * debug/mbsrtowcs_chk.c: Likewise.
5353 * debug/mbstowcs_chk.c: Likewise.
5354 * debug/memcpy_chk.c: Likewise.
5355 * debug/memmove_chk.c: Likewise.
5356 * debug/mempcpy_chk.c: Likewise.
5357 * debug/memset_chk.c: Likewise.
5358 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5359 * debug/strcat_chk.c (__strcat_chk): Likewise.
5360 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5361 * debug/strncat_chk.c (__strncat_chk): Likewise.
5362 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5363 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5364 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5365 * debug/wcpncpy_chk.c: Likewise.
5366 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5367 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5368 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5369 * debug/wcsncpy_chk.c: Likewise.
5370 * debug/wcsnrtombs_chk.c: Likewise.
5371 * debug/wcsrtombs_chk.c: Likewise.
5372 * debug/wcstombs_chk.c: Likewise.
5373 * debug/wmemcpy_chk.c: Likewise.
5374 * debug/wmemmove_chk.c: Likewise.
5375 * debug/wmempcpy_chk.c: Likewise.
5376 * debug/wmemset_chk.c: Likewise.
5377 * dirent/scandirat.c (SCANDIRAT): Likewise.
5378 * dlfcn/dladdr1.c (dladdr1): Likewise.
5379 * dlfcn/dladdr.c (dladdr): Likewise.
5380 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5381 * dlfcn/dlerror.c (__dlerror): Likewise.
5382 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5383 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5384 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5385 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5386 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5387 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5388 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5389 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5390 Likewise.
5391 * elf/dl-conflict.c: Likewise.
5392 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5393 * elf/dl-dst.h: Likewise.
5394 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5395 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5397 * elf/dl-init.c (call_init, _dl_init): Likewise.
5398 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5399 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5400 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5401 Likewise.
a1ffb40e
OB
5402 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5403 Likewise.
5404 * elf/dl-minimal.c (__libc_memalign): Likewise.
5405 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5406 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5407 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5408 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5409 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5410 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5411 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5412 * elf/dl-writev.h (_dl_writev): Likewise.
5413 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5414 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5415 (dl_main): Likewise.
a1ffb40e
OB
5416 * elf/setup-vdso.h (setup_vdso): Likewise.
5417 * grp/compat-initgroups.c (compat_call): Likewise.
5418 * grp/fgetgrent.c (fgetgrent): Likewise.
5419 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5420 * grp/putgrent.c (putgrent): Likewise.
5421 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5422 Likewise.
5423 * hurd/hurdinit.c: Likewise.
5424 * iconvdata/8bit-gap.c (struct): Likewise.
5425 * iconvdata/ansi_x3.110.c : Likewise.
5426 * iconvdata/big5.c : Likewise.
5427 * iconvdata/big5hkscs.c : Likewise.
5428 * iconvdata/cp1255.c: Likewise.
5429 * iconvdata/cp1258.c : Likewise.
5430 * iconvdata/cp932.c : Likewise.
5431 * iconvdata/euc-cn.c: Likewise.
5432 * iconvdata/euc-jisx0213.c : Likewise.
5433 * iconvdata/euc-jp.c: Likewise.
5434 * iconvdata/euc-jp-ms.c : Likewise.
5435 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5436 * iconvdata/gb18030.c : Likewise.
5437 * iconvdata/gbbig5.c (const): Likewise.
5438 * iconvdata/gbgbk.c: Likewise.
5439 * iconvdata/gbk.c : Likewise.
5440 * iconvdata/ibm1364.c : Likewise.
5441 * iconvdata/ibm930.c : Likewise.
5442 * iconvdata/ibm932.c: Likewise.
5443 * iconvdata/ibm933.c : Likewise.
5444 * iconvdata/ibm935.c : Likewise.
5445 * iconvdata/ibm937.c : Likewise.
5446 * iconvdata/ibm939.c : Likewise.
5447 * iconvdata/ibm943.c: Likewise.
5448 * iconvdata/iso_11548-1.c: Likewise.
5449 * iconvdata/iso-2022-cn.c : Likewise.
5450 * iconvdata/iso-2022-cn-ext.c : Likewise.
5451 * iconvdata/iso-2022-jp-3.c: Likewise.
5452 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5453 * iconvdata/iso-2022-kr.c : Likewise.
5454 * iconvdata/iso646.c (gconv_end): Likewise.
5455 * iconvdata/iso_6937-2.c : Likewise.
5456 * iconvdata/iso_6937.c : Likewise.
5457 * iconvdata/iso8859-1.c: Likewise.
5458 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5459 * iconvdata/shift_jisx0213.c : Likewise.
5460 * iconvdata/sjis.c : Likewise.
5461 * iconvdata/t.61.c : Likewise.
5462 * iconvdata/tcvn5712-1.c : Likewise.
5463 * iconvdata/tscii.c: Likewise.
5464 * iconvdata/uhc.c : Likewise.
5465 * iconvdata/unicode.c (gconv_end): Likewise.
5466 * iconvdata/utf-16.c (gconv_end): Likewise.
5467 * iconvdata/utf-32.c (gconv_end): Likewise.
5468 * iconvdata/utf-7.c (base64): Likewise.
5469 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5470 * iconv/gconv_close.c (__gconv_close): Likewise.
5471 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5472 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5473 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5474 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5475 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5476 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5477 * iconv/iconv.c (iconv): Likewise.
5478 * iconv/iconv_close.c: Likewise.
5479 * iconv/loop.c (SINGLE): Likewise.
5480 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5481 * include/atomic.h: Likewise.
5482 * inet/inet6_option.c (option_alloc): Likewise.
5483 * intl/bindtextdom.c (set_binding_values): Likewise.
5484 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5485 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5486 * intl/localealias.c (read_alias_file): Likewise.
5487 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5488 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5489 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5490 * libio/fmemopen.c (fmemopen): Likewise.
5491 * libio/iofgets.c (_IO_fgets): Likewise.
5492 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5493 * libio/iofgetws.c (fgetws): Likewise.
5494 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5495 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5496 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5497 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5498 * locale/findlocale.c (_nl_find_locale): Likewise.
5499 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5500 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5501 Likewise.
5502 * locale/setlocale.c (setlocale): Likewise.
5503 * login/programs/pt_chown.c (main): Likewise.
5504 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5505 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5506 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5507 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5508 * math/e_exp2l.c: Likewise.
5509 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5510 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5511 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5512 * math/s_catan.c (__catan): Likewise.
5513 * math/s_catanf.c (__catanf): Likewise.
5514 * math/s_catanh.c (__catanh): Likewise.
5515 * math/s_catanhf.c (__catanhf): Likewise.
5516 * math/s_catanhl.c (__catanhl): Likewise.
5517 * math/s_catanl.c (__catanl): Likewise.
5518 * math/s_ccosh.c (__ccosh): Likewise.
5519 * math/s_ccoshf.c (__ccoshf): Likewise.
5520 * math/s_ccoshl.c (__ccoshl): Likewise.
5521 * math/s_cexp.c (__cexp): Likewise.
5522 * math/s_cexpf.c (__cexpf): Likewise.
5523 * math/s_cexpl.c (__cexpl): Likewise.
5524 * math/s_clog10.c (__clog10): Likewise.
5525 * math/s_clog10f.c (__clog10f): Likewise.
5526 * math/s_clog10l.c (__clog10l): Likewise.
5527 * math/s_clog.c (__clog): Likewise.
5528 * math/s_clogf.c (__clogf): Likewise.
5529 * math/s_clogl.c (__clogl): Likewise.
5530 * math/s_csin.c (__csin): Likewise.
5531 * math/s_csinf.c (__csinf): Likewise.
5532 * math/s_csinh.c (__csinh): Likewise.
5533 * math/s_csinhf.c (__csinhf): Likewise.
5534 * math/s_csinhl.c (__csinhl): Likewise.
5535 * math/s_csinl.c (__csinl): Likewise.
5536 * math/s_csqrt.c (__csqrt): Likewise.
5537 * math/s_csqrtf.c (__csqrtf): Likewise.
5538 * math/s_csqrtl.c (__csqrtl): Likewise.
5539 * math/s_ctan.c (__ctan): Likewise.
5540 * math/s_ctanf.c (__ctanf): Likewise.
5541 * math/s_ctanh.c (__ctanh): Likewise.
5542 * math/s_ctanhf.c (__ctanhf): Likewise.
5543 * math/s_ctanhl.c (__ctanhl): Likewise.
5544 * math/s_ctanl.c (__ctanl): Likewise.
5545 * math/w_pow.c: Likewise.
5546 * math/w_powf.c: Likewise.
5547 * math/w_powl.c: Likewise.
5548 * math/w_scalb.c (sysv_scalb): Likewise.
5549 * math/w_scalbf.c (sysv_scalbf): Likewise.
5550 * math/w_scalbl.c (sysv_scalbl): Likewise.
5551 * misc/error.c (error_tail): Likewise.
5552 * misc/pselect.c (__pselect): Likewise.
5553 * nis/nis_callback.c (__nis_create_callback): Likewise.
5554 * nis/nis_call.c (__nisfind_server): Likewise.
5555 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5556 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5557 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5558 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5559 * nis/nis_lookup.c (nis_lookup): Likewise.
5560 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5561 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5562 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5563 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5564 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5565 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5566 * nis/nss_compat/compat-initgroups.c (add_group)
5567 (internal_getgrent_r): Likewise.
5568 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5569 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5570 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5571 (internal_getspnam_r): Likewise.
5572 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5573 (_nss_nis_getaliasbyname_r): Likewise.
5574 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5575 (_nss_nis_getntohost_r): Likewise.
5576 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5577 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5578 (_nss_nis_getgrgid_r): Likewise.
5579 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5580 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5581 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5582 (_nss_nis_gethostbyname4_r): Likewise.
5583 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5584 (initgroups_netid): Likewise.
a1ffb40e 5585 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5586 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5587 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5588 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5589 (_nss_nis_getprotobynumber_r): Likewise.
5590 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5591 (_nss_nis_getsecretkey): Likewise.
5592 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5593 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5594 (_nss_nis_getpwuid_r): Likewise.
5595 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5596 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5597 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5598 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5599 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5600 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5601 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5602 Likewise.
57f41c40
AS
5603 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5604 (_nss_nisplus_getntohost_r): Likewise.
5605 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5606 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5607 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5608 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5609 Likewise.
57f41c40
AS
5610 * nis/nss_nisplus/nisplus-initgroups.c
5611 (_nss_nisplus_initgroups_dyn): Likewise.
5612 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5613 (_nss_nisplus_getnetbyaddr_r): Likewise.
5614 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5615 (_nss_nisplus_getprotobynumber_r): Likewise.
5616 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5617 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5618 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5619 Likewise.
57f41c40
AS
5620 * nis/nss_nisplus/nisplus-service.c
5621 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5622 (_nss_nisplus_getservbyport_r): Likewise.
5623 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5624 (_nss_nisplus_getspnam_r): Likewise.
5625 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5626 Likewise.
a1ffb40e
OB
5627 * nscd/aicache.c (addhstaiX): Likewise.
5628 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5629 * nscd/connections.c (register_traced_file, send_ro_fd)
5630 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5631 (main_loop_epoll): Likewise.
a1ffb40e
OB
5632 * nscd/grpcache.c (addgrbyX): Likewise.
5633 * nscd/hstcache.c (addhstbyX): Likewise.
5634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5635 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5636 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5637 (addinnetgrX): Likewise.
5638 * nscd/nscd-client.h (__nscd_acquire_maplock)
5639 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5640 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5641 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5642 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5643 Likewise.
5644 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5646 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5647 (__nscd_get_map_ref): Likewise.
a1ffb40e 5648 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5649 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5650 Likewise.
a1ffb40e
OB
5651 * nscd/pwdcache.c (addpwbyX): Likewise.
5652 * nscd/selinux.c (preserve_capabilities): Likewise.
5653 * nscd/servicescache.c (addservbyX): Likewise.
5654 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5655 * posix/fnmatch.c (fnmatch): Likewise.
5656 * posix/getopt.c (_getopt_internal_r): Likewise.
5657 * posix/glob.c (glob, glob_in_dir): Likewise.
5658 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5660 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5661 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5662 * resolv/res_init.c: Likewise.
5663 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5664 * resolv/res_query.c (__libc_res_nquery): Likewise.
5665 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5666 Likewise.
5667 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5668 * stdio-common/perror.c (perror): Likewise.
5669 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5670 * stdio-common/tmpnam.c (tmpnam): Likewise.
5671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5672 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5673 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5674 Likewise.
a1ffb40e
OB
5675 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5676 * stdlib/putenv.c (putenv): Likewise.
5677 * stdlib/setenv.c (__add_to_environ): Likewise.
5678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5679 * stdlib/strtol_l.c (INTERNAL): Likewise.
5680 * string/memmem.c (memmem): Likewise.
5681 * string/strerror.c (strerror): Likewise.
5682 * string/strnlen.c (__strnlen): Likewise.
5683 * string/test-memmem.c (simple_memmem): Likewise.
5684 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5685 * sunrpc/pm_getport.c (__get_socket): Likewise.
5686 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5687 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5688 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5689 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5690 Likewise.
5691 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5692 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5693 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5694 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5695 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5696 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5697 Likewise.
5698 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5699 Likewise.
a1ffb40e
OB
5700 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5701 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5703 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5704 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5706 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5707 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5708 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5709 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5710 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5711 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5712 Likewise.
5713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5714 Likewise.
5715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5716 Likewise.
5717 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5721 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5722 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5723 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5732 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5733 Likewise.
a1ffb40e
OB
5734 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5735 Likewise.
5736 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5737 Likewise.
5738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5739 Likewise.
5740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5742 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5743 Likewise.
5744 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5745 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5746 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5747 * sysdeps/posix/sleep.c: Likewise.
5748 * sysdeps/posix/tempname.c: Likewise.
5749 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5750 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5751 Likewise.
57f41c40
AS
5752 * sysdeps/powerpc/powerpc32/dl-machine.h
5753 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5754 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5756 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5757 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5758 Likewise.
5759 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5760 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5761 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5762 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5763 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5764 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5765 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5766 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5767 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5768 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5770 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5771 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5773 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5774 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5775 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5776 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5777 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5778 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5779 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5780 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5782 Likewise.
5783 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5784 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5785 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5786 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5787 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5788 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5789 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5790 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5791 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5792 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5793 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5794 Likewise.
5795 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5796 (__posix_fallocate64_l64): Likewise.
5797 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5798 (posix_fallocate): Likewise.
57f41c40
AS
5799 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5800 Likewise.
a1ffb40e 5801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5802 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5803 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5804 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5805 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5806 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5808 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5809 (__posix_fallocate64_l64): Likewise.
5810 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5811 Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5813 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5814 (__get_clockfreq): Likewise.
a1ffb40e
OB
5815 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5816 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5817 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5820 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5821 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5823 Likewise.
5824 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5825 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5826 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5828 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5829 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5830 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5831 Likewise.
5832 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5833 (posix_fallocate): Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5836 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5837 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5838 (elf_machine_rela, elf_machine_rela_relative)
5839 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5840 * time/asctime.c (asctime_internal): Likewise.
5841 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5842 * time/tzset.c (__tzset_parse_tz): Likewise.
5843 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5844 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5845 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5846 * wcsmbs/wcsmbsload.h: Likewise.
5847
f3d338c9
OB
5848 [BZ #15894]
5849 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5850
57f41c40
AS
5851 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5852 (arena_get2): Remove THREAD_STATS conditionals.
5853 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5854 (__malloc_stats, int): Likewise.
bdfe308a 5855
d674667c
MF
58562014-02-08 Mike Frysinger <vapier@gentoo.org>
5857
5858 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5859 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5860
6349768c
MF
5861 * manual/setjmp.texi: Fix typos/grammar errors.
5862
0b7c7473
MF
5863 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5864 Only return early when n is <= 0. Delete unused return statement.
5865
ac8cc9e3
MF
5866 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5867 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5868 * debug/tst-longjmp_chk3.c: New file.
5869
c5bb8e23
MF
5870 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5871 (test_main): Replace code with set_fortify_handler call.
5872 * debug/test-strcpy_chk.c: Likewise.
5873 * debug/tst-chk1.c: Likewise.
5874 * debug/tst-longjmp_chk.c: Likewise.
5875 * test-skeleton.c: Include fcntl.h & paths.h
5876 (set_fortify_handler): Define.
5877
10444e42
MF
5878 * debug/tst-longjmp_chk.c: Add header comment and include
5879 ../test-skeleton.c.
5880 (do_test): Mark static.
5881 (TEST_FUNCTION): Define.
5882
1e805e8d
MF
5883 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5884 (IP_PMTUDISC_INTERFACE): Likewise.
5885 (IP_MULTICAST_IF): Likewise.
5886 (IP_MULTICAST_TTL): Likewise.
5887 (IP_MULTICAST_LOOP): Likewise.
5888 (IP_ADD_MEMBERSHIP): Likewise.
5889 (IP_DROP_MEMBERSHIP): Likewise.
5890 (IP_UNBLOCK_SOURCE): Likewise.
5891 (IP_BLOCK_SOURCE): Likewise.
5892 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5893 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5894 (IP_MSFILTER): Likewise.
5895 (MCAST_JOIN_GROUP): Likewise.
5896 (MCAST_BLOCK_SOURCE): Likewise.
5897 (MCAST_UNBLOCK_SOURCE): Likewise.
5898 (MCAST_LEAVE_GROUP): Likewise.
5899 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5900 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5901 (MCAST_MSFILTER): Likewise.
5902 (IP_MULTICAST_ALL): Likewise.
5903 (IP_UNICAST_IF): Likewise.
5904
73f79bb7
MF
5905 * timezone/Makefile: Delete $(have-ksh) check.
5906 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5907 * timezone/tzselect.ksh: Add +x mode bits.
5908
8da79b60
MF
5909 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5910 (ANON_INODE_FS_MAGIC): Likewise.
5911 (BDEVFS_MAGIC): Likewise.
5912 (BINFMTFS_MAGIC): Likewise.
5913 (BTRFS_TEST_MAGIC): Likewise.
5914 (CRAMFS_MAGIC_WEND): Likewise.
5915 (DEBUGFS_MAGIC): Likewise.
5916 (ECRYPTFS_SUPER_MAGIC): Likewise.
5917 (EXT3_SUPER_MAGIC): Likewise.
5918 (EXT4_SUPER_MAGIC): Likewise.
5919 (FUTEXFS_SUPER_MAGIC): Likewise.
5920 (HOSTFS_SUPER_MAGIC): Likewise.
5921 (HUGETLBFS_MAGIC): Likewise.
5922 (MINIX3_SUPER_MAGIC): Likewise.
5923 (MTD_INODE_FS_MAGIC): Likewise.
5924 (NILFS_SUPER_MAGIC): Likewise.
5925 (OPENPROM_SUPER_MAGIC): Likewise.
5926 (PIPEFS_MAGIC): Likewise.
5927 (PSTOREFS_MAGIC): Likewise.
5928 (QNX6_SUPER_MAGIC): Likewise.
5929 (RAMFS_MAGIC): Likewise.
5930 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5931 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5932 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5933 (SECURITYFS_MAGIC): Likewise.
5934 (SELINUX_MAGIC): Likewise.
5935 (SMACK_MAGIC): Likewise.
5936 (SOCKFS_MAGIC): Likewise.
5937 (SQUASHFS_MAGIC): Likewise.
5938 (STACK_END_MAGIC): Likewise.
5939 (TMPFS_MAGIC): Likewise.
5940 (USBDEVICE_SUPER_MAGIC): Likewise.
5941 (V9FS_MAGIC): Likewise.
5942 (XENFS_SUPER_MAGIC): Likewise.
5943 (CRAMFS_MAGIC): Fix typo in comment.
5944 (EXT2_SUPER_MAGIC): Update comment.
5945 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5946
464263cc
JM
59472014-02-08 Joseph Myers <joseph@codesourcery.com>
5948
c6bfe5c4
JM
5949 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5950 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5951 * sysdeps/unix/sysv/linux/arm: Move directory from
5952 ports/sysdeps/unix/sysv/linux/arm.
5953 * README: Update listing for arm-*-linux-gnueabi.
5954
464263cc
JM
5955 * README: Remove mention of am33.
5956
32749f6c
RM
59572014-02-07 Roland McGrath <roland@hack.frob.com>
5958
5959 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5960 than the comma operator, to avoid "rhs of comma has no effect"
5961 compiler warnings.
5962 (__sigfillset, __sigandset, __sigorset): Likewise.
5963 * include/signal.h (__sigemptyset): Likewise.
5964 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5965
d5b396c1
AM
59662014-02-07 Allan McRae <allan@archlinux.org>
5967
5968 * version.h (RELEASE): Set to "development".
5969 (VERSION): Set to "2.19.90"
5970 * NEWS: Add 2.20 section.
5971
3bfff2ed
CD
59722014-02-06 Carlos O'Donell <carlos@redhat.com>
5973
5974 [BZ #16529]
5975 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5976
ee7cc385
SP
59772014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
5979 * manual/contrib.texi: Update entry for Carlos O'Donell,
5980 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5981
f877c4f2
CD
59822014-02-05 Carlos O'Donell <carlos@rehdat.com>
5983
27e839f6
CD
5984 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5985
f877c4f2
CD
5986 * sysdeps/unix/sysv/linux/kernel-features.h
5987 [__LINUX_KERNEL_VERSION >= 0x020621]
5988 (__ASSUME_PROC_PID_TASK_COMM): Define.
5989
68159946
SP
59902014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5991
ba17cdbd
SP
5992 [BZ #16398]
5993 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5994 conversion when destination buffer does not have enough space.
5995 * libio/tst-ftell-partial-wide.c: New test case.
5996 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5997
68159946
SP
5998 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5999 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6000 Leonard and Allan McRae.
6001
2b528732
DM
60022014-02-04 David S. Miller <davem@davemloft.net>
6003
6004 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6005 32-bit.
6006
0ff82463
AZ
60072014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
57f41c40
AS
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6010 New file
c01603f7
AZ
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6012 New file
57f41c40
AS
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6014 New file.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6016 New file.
c01603f7
AZ
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6018 New file.
57f41c40
AS
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6020 New file.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6022 New file.
c01603f7
AZ
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6024 New file.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6026 New file.
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6028 New file.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6030 New file.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6032 New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6034 New file.
6035
60362014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
0ff82463
AZ
6038 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6039 * shlib-versions: Likewise.
6040
1695c773
AZ
60412014-02-04 Roland McGrath <roland@hack.frob.com>
6042 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6045 (abilist-pattern): New variable, set to %-le.abilist.
6046
6047 * Makerules (abilist-pattern): New variable.
6048 (vpath): Use $(abilist-pattern) in place of %.abilist.
6049 (check-abi-% pattern rule): Likewise.
6050 (check-abi, update-abi): Likewise.
6051
6c0ce4b4
EW
60522014-02-04 Eric Wong <normalperson@yhbt.net>
6053
6054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6055
481e3524
CD
60562014-02-03 Carlos O'Donell <carlos@redhat.com>
6057
6058 * manual/startup.texi: Add next, previous, and top entries for
6059 the `Program Arguments' and `Environment Variables' nodes.
6060
375592d3
AO
60612014-02-03 Alexandre Oliva <aoliva@redhat.com>
6062
6063 * manual/macros.texi: Add comments before MTASC-safety macros.
6064
f54838ba
AO
6065 * manual/users.texi: Document MTASC-safety properties.
6066
57f41c40
AS
6067 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6068 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6069 @deftypefun, and add @safety note.
6070 * manual/signal.texi: Move comments that analyze the above
6071 functions to their home place.
6072
fd3daba4
AM
60732014-02-03 Allan McRae <allan@archlinux.org>
6074
6075 * po/sl.po: Update Slovenian translation from translation project.
6076
597636d7
AO
60772014-02-02 Alexandre Oliva <aoliva@redhat.com>
6078
6079 * manual/time.texi (timegm): Add missing blank after @c.
6080 Reported by Joseph Myers <joseph@codesourcery.com>.
6081
ee196e3c
AO
60822014-02-01 Alexandre Oliva <aoliva@redhat.com>
6083
6084 * manual/check-safety.sh: New.
6085 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6086
f8d529d5
AO
6087 * manual/terminal.texi: Document MTASC-safety properties.
6088
de55fdf4
AO
6089 * manual/filesys.texi: Document MTASC-safety properties.
6090
c3299c08
AO
6091 * manual/errno.texi: Document MTASC-safety properties.
6092
06e90b14
AO
6093 * manual/intro.texi: Document safety identifiers and
6094 conditionals.
6095
1acd4371
AO
6096 * manual/string.texi (wcstok): Fix prototype.
6097 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6098
23e5b8cb
AO
6099 * manual/time.texi: Document MTASC-safety properties.
6100
11087373
AO
6101 * manual/string.texi: Document MTASC-safety properties.
6102
5da2c93d
AO
6103 * manual/threads.texi: Document MTASC-safety properties.
6104
171e9210
AO
6105 * manual/stdio.texi: Document MTASC-safety properties.
6106
d9e02532
AO
6107 * manual/syslog.texi: Document MTASC-safety properties.
6108
6af8bab7
AO
6109 * manual/sysinfo.texi: Document MTASC-safety properties.
6110
663b02d7
AO
6111 * manual/startup.texi: Document MTASC-safety properties.
6112
973f180b
AO
6113 * manual/socket.texi: Document MTASC-safety properties.
6114
8f3c25c8
AO
6115 * manual/signal.texi: Document MTASC-safety properties.
6116
542210fb
AO
61172014-01-31 Alexandre Oliva <aoliva@redhat.com>
6118
6119 * manual/setjmp.texi: Document MTASC-safety properties.
6120
433c45a2
AO
6121 * manual/search.texi: Document MTASC-safety properties.
6122
c8ce789c
AO
6123 * manual/resource.texi: Document MTASC-safety properties.
6124
19f5d29c
AO
6125 * manual/process.texi: Document MTASC-safety properties.
6126
e2dfb7f4
AO
6127 * manual/platform.texi: Document MTASC-safety properties.
6128
8c1413f5
AO
6129 * manual/pipe.texi: Document MTASC-safety properties.
6130
03483ada
AO
6131 * manual/pattern.texi: Document MTASC-safety properties.
6132
29e7e2df
AO
6133 * manual/message.texi: Document MTASC-safety properties.
6134
9f529d7c
AO
6135 [BZ #12751]
6136 * manual/memory.texi: Document MTASC-safety properties.
6137
27aaa791
AO
6138 * manual/math.texi: Document MTASC-safety properties.
6139
f2d58726
AO
6140 * manual/locale.texi: Document MTASC-safety properties.
6141
2cc3615c
AO
6142 * manual/llio.texi: Document MTASC-safety properties.
6143
d9f0ec97
AO
6144 * manual/libdl.texi: New.
6145
e7c4409a
AO
6146 * manual/lang.texi: Document MTASC-safety properties.
6147
27bdc63c
AO
6148 * manual/job.texi: Document MTASC-safety properties.
6149
a7b90ea9
AO
6150 * manual/getopt.texi: Document MTASC-safety properties.
6151
c49130e3
AO
6152 * manual/ctype.texi: Document MTASC-safety properties.
6153
0d23a5c1
MR
61542014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6155
6156 [BZ #16046]
6157 * csu/libc-tls.c (static_map): Remove variable.
6158 (__libc_setup_tls): Use main executable's link map for TLS data.
6159 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6160 casing for LM_ID_BASE and GL(dl_nns).
6161 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6162 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6163 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6164 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6165 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6166 member.
6167 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6168 l_phnum members.
6169
0037bb60
AO
61702014-01-30 Alexandre Oliva <aoliva@redhat.com>
6171
6172 * manual/debug.texi: Document MTASC-safety properties.
6173
409e00bd
L
61742014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 [BZ #16510]
6177 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6178 of __x86_64__ when disabling x87 inline functions.
6179
86e60666
AO
61802014-01-29 Alexandre Oliva <aoliva@redhat.com>
6181
6182 * manual/charset.texi: Document MTASC-safety properties.
6183
76167637
AO
6184 * manual/crypt.texi: Document MTASC-safety properties.
6185
e567f2a0
AO
6186 * manual/conf.texi: Document MTASC-safety properties.
6187
b719dafd
AO
6188 * manual/arith.texi: Document MTASC-safety properties.
6189
4a16c662
AO
6190 * manual/argp.texi: Document MTASC-safety properties.
6191
0a57b83e
AO
6192 * manual/macros.texi: Introduce macros to document multi
6193 thread, asynchronous signal and asynchronous cancellation
6194 safety properties.
6195 * manual/intro.texi: Introduce the properties themselves.
6196
feab2397
KK
61972014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6198
6199 * sysdeps/sh/sh4/Makefile: New file.
6200
1c0d11bc
AS
62012014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6202
6203 * math/gen-libm-test.pl ($srcdir): New variable.
6204 ($auto_input): Use it.
6205
af37a8a3
SP
62062014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6207
d7b00f98
SP
6208 [BZ #16506]
6209 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6210 access beyond array bounds when parsing netgroups file.
6211
af37a8a3
SP
6212 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6213 the old buffer before realloc.
6214
0c00f062
AM
62152014-01-27 Allan McRae <allan@archlinux.org>
6216
6217 * po/fr.po: Update French translation from translation project.
6218
7d69a1b0
KK
62192014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6220
6221 * sysdeps/sh/libm-test-ulps: Regenerate.
6222
6e697ff7
DM
62232014-01-24 David S. Miller <davem@davemloft.net>
6224
6225 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6226
9cadb35c
KK
62272014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6228
6229 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6230 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6231
5d41dadf
SP
62322013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6233
6234 [BZ #16474]
6235 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6236 string pointers after reallocation.
6237
0bad441c
KK
62382014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6239
6240 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6241 __SH4A__ instead of __SH_FPU_ANY__.
6242
7007c661
KK
62432014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6244
6245 * sysdeps/sh/fpu_control.h: New file.
6246 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6247 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6248 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6249 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6250 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6251 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6252 * sysdeps/sh/sys/ucontext.h: Remove.
6253 * sysdeps/sh/sys: Remove directory.
6254
0f0c35e4
AK
62552014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6256
6257 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6258 s390/sys/ucontext.h.
6259 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6260 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6261
4959e284
L
62622014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 [BZ #15605]
6265 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6266
d98720e0
AZ
62672014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268
6269 [BZ#16431]
6270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6271 Adjust the vDSO correctly for internal calls.
6272 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6273
91cbd0bc
AM
62742014-01-20 Allan McRae <allan@archlinux.org>
6275
6276 * po/ca.po: Update Catalan translation from translation project.
6277
7a02cfad
MF
62782014-01-16 Mike Frysinger <vapier@gentoo.org>
6279
6280 * sysdeps/s390/sotruss-lib.c: New file.
6281
736c304a
AZ
62822014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6283
6284 [BZ#16430]
6e077ee5 6285 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6286 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6287 local calls issues by not having a PLT stub required for IFUNC calls.
6288 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6289
94d0cea0
JM
62902014-01-16 Joseph Myers <joseph@codesourcery.com>
6291
6292 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6293 * math/test-fpucw-static.c: Likewise.
6294
980cb518
SP
62952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6296
6297 [BZ #16453]
6298 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6299
2393fc01
AZ
63002014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301
6302 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6303 implementation for powerpc.
6304
d359bcc2
OB
63052014-01-15 Ondřej Bílka <neleai@seznam.cz>
6306
6307 [BZ #14782]
6308 * sysdeps/posix/system.c (__libc_system): Do not enable
6309 asynchronous cancellation.
6310
7beb48cb
AK
63112014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6312
6313 [BZ #16427]
6314 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6315 handling only for numbers special also in the IEEE case.
6316
c20d5bf5
AK
63172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6318
6319 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6320
e83bd4ee
AM
63212014-01-11 Allan McRae <allan@archlinux.org>
6322
76d0ea69
AM
6323 * po/bg.po: Update Bulgarian translation from translation project.
6324
e83bd4ee
AM
6325 * po/de.po: Update German translation from translation project.
6326
bc2ba20a
RM
63272014-01-10 Roland McGrath <roland@hack.frob.com>
6328
6329 * sysdeps/generic/gcc-compat.h: New file.
6330
649ecea2
SP
63312014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
6333 * benchtests/asin-inputs: Correct slow inputs.
6334 * benchtests/acos-inputs: Likewise.
6335
1b19c006
AM
63362014-01-10 Allan McRae <allan@archlinux.org>
6337
a46dab08
AM
6338 * po:sv.po: Update Swedish translation from translation project.
6339
421df74a
AM
6340 * po/vi.po: Update Vietnamese translation from translation project.
6341
d61c51a7
AM
6342 * po/eo.po: Update Esperanto translation from translation project.
6343
0339a319
AM
6344 * po/cs.po: Update Czech translation from translation project.
6345
94ad3e99
AM
6346 * po/nl.po: Update Dutch translation from translation project.
6347
e349ca71
AM
6348 * po/pl.po: Update Polish translation from translation project.
6349
ddf930c1
AM
6350 * po/ru.po: Update Russian translation from translation project.
6351
1b19c006
AM
6352 * po/uk.po: Update Ukrainian translation from translation project.
6353
9f236c49
BM
63542014-01-08 Brooks Moses <bmoses@google.com>
6355
6356 * elf/dl-load.c: Fix comment typo.
6357
cd6701cf
CD
63582014-01-08 Carlos O'Donell <carlos@redhat.com>
6359
6360 * po/header.pot: Rename to...
6361 * po/pot.header: ... this.
6362 * po/Makefile: Use pot.header.
6363
66671c84
YK
63642014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6365 Maxim Kuvyrkov <maxim@kugelworks.com>
6366
6367 [BZ #16394]
cd6701cf
CD
6368 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6369 SRC and DEST against LEN.
66671c84 6370
38f34581
AZ
63712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372
6373 [BZ #16414]
6374 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6375 implementation.
6376 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6377
63782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6379
6380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6381
4c327f2a
JM
63822014-01-08 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #16408]
6385 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6386 for large positive arguments.
6387
b821f414
JM
63882014-01-07 Joseph Myers <joseph@codesourcery.com>
6389
1f0f2067
JM
6390 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6391
a5a326f6
JM
6392 * math/auto-libm-test-in: Mark various tests with
6393 xfail-rounding:ldbl-128ibm.
6394 * math/auto-libm-test-out: Regenerated.
6395
b821f414
JM
6396 [BZ #16407]
6397 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6398 Increase overflow threshold.
6399
94c8a4bc
OB
64002014-01-07 Ondřej Bílka <neleai@seznam.cz>
6401
6402 [BZ #14286]
6403 * stdio-common/vfprintf.c: Check for integer overflow.
6404
87ded0c3
AK
64052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6406
6407 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6408 the first argument and return value of __tls_get_addr_internal.
6409
c5eebdd0
AK
64102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6411
6412 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6413 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6414
05d138ef
AK
64152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6416
6417 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6418 * sysdeps/s390/rtld-global-offsets.sym: New file.
6419 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6420 GLIBC_2.19 symbol.
6421 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6422 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6423 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6424 ... this.
6425 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6426 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6427 ... this.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6429 Regenerate.
6430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6431 Regenerate.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6433 halfs of GPRs for high_gprs contexts.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6435 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6436 field.
6437 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6438 uc_flags field.
6439 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6440 64 bit versions:
6441 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6442 for high GPRs (uc_high_gprs) and for future extensions
6443 (__reserved).
6444 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6445 for future extensions (__reserved).
6446 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6447 64 bit versions:
6448 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6449 SC_HIGHGPRS offset definition.
6450 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6451 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6452
93a45ff1
AK
6453 * Versions.def: Add GLIBC_2.19 for libpthread.
6454 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6455 siglongjmp for libpthread with GLIBC_2.19 symver.
6456 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6457 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6458 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6459 * sysdeps/s390/__longjmp.c: New file.
6460 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6461 * sysdeps/s390/longjmp.c: New file.
6462 * sysdeps/s390/setjmp.S: New file.
6463 * sysdeps/s390/sigjmp.S: New file.
6464 * sysdeps/s390/v1-longjmp.c: New file.
6465 * sysdeps/s390/v1-setjmp.h: New file.
6466 * sysdeps/s390/v1-sigjmp.c: New file.
6467 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6468 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6469 GLIBC_2.19 version.
6470 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6471 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6472 versioned symbols for ____longjmp_chk.
6473 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6476 Regenerate.
6477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6478 Regenerate.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6480 Regenerate.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6482 Regenerate.
6483 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6484 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6485 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6486 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6487 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6488 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6489 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6490 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6491 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6492 * sysdeps/s390/rtld-__longjmp.c: New file.
6493 * sysdeps/s390/rtld-setjmp.S: New file.
6494
eb3fc44b
JM
64952014-01-06 Joseph Myers <joseph@codesourcery.com>
6496
6497 [BZ #16400]
6498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6499 Return -__logl (x) for small positive arguments without evaluating
6500 a polynomial.
6501
9341dde4
MF
65022014-01-06 Mike Frysinger <vapier@gentoo.org>
6503
6504 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6505 Rename to ...
6506 (__ptrace_peeksiginfo_args): ... this.
6507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6510
4cff0293
AM
65112014-01-06 Allan McRae <allan@archlinux.org>
6512
6513 * inet/netinet/in.h: Fix typo in comment.
6514
75595dcf
AJ
65152014-01-05 Andreas Jaeger <aj@suse.de>
6516
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518
79c1e109
AM
65192014-01-05 Allan McRae <allan@archlinux.org>
6520
dd804818
AM
6521 * po/libc.pot: Regenerated.
6522
79c1e109
AM
6523 * malloc/memusagestat.c: Fix gettext call formatting.
6524
0c813d1f
SK
65252014-01-04 Sami Kerola <kerolasa@iki.fi>
6526
6527 * nscd/nscd.c: Improve usage() output.
6528
20f4a8d9
MF
65292014-01-04 Mike Frysinger <vapier@gentoo.org>
6530
6531 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6532 * sysdeps/unix/sysv/linux/configure: Regenerated.
6533 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6534 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6535
22562bb2
JM
65362014-01-03 Joseph Myers <joseph@codesourcery.com>
6537
6538 [BZ #16390]
6539 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6540 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6541
d7ad2d9b
AZ
65422014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543
6544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6545 extra tokens at end of #undef directive.
6546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6547 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6549
7dd009d8
JM
65502014-01-03 Joseph Myers <joseph@codesourcery.com>
6551
24db925a
JM
6552 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6553
7dd009d8
JM
6554 * math/auto-libm-test-in: Mark various tests with
6555 xfail-rounding:ldbl-128ibm.
6556 * math/auto-libm-test-out: Regenerated.
6557
396e3ecf
JM
65582014-01-02 Joseph Myers <joseph@codesourcery.com>
6559
819e5d50
JM
6560 [BZ #16386]
6561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6562 numbers with subnormal high part when calculating exponent.
6563
90b6a1e5
JM
6564 [BZ #16385]
6565 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6566 fabs.
6567
396e3ecf
JM
6568 [BZ #16384]
6569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6570 M_LN2l.
6571 (__ieee754_acoshl): Use __log1pl not __log1p.
6572
6c8dbf00
OB
65732013-01-02 Ondřej Bílka <neleai@seznam.cz>
6574
57f41c40
AS
6575 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6576 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6577 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6578 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6579 (reused_arena, arena_get2): Convert to GNU style.
6580 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6581 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6582 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6583 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6584 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6585 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6586 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6587 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6588 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6589 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6590 * malloc/malloc.h: Likewise.
57f41c40
AS
6591 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6592 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6593 * malloc/mcheck.h: Likewise.
57f41c40
AS
6594 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6595 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6596 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6597 * malloc/morecore.c (__default_morecore): Likewise.
6598 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6599 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6600 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6601 (print_and_abort): Likewise.
6c8dbf00
OB
6602 * malloc/obstack.h: Likewise.
6603 * malloc/set-freeres.c (__libc_freeres): Likewise.
6604 * malloc/tst-mallocstate.c (main): Likewise.
6605 * malloc/tst-mtrace.c (main): Likewise.
6606 * malloc/tst-realloc.c (do_test): Likewise.
6607
d4124212
SP
66082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6609
9a3c6a6f
SP
6610 [BZ #16366]
6611 * nscd/netgroupcache.c (do_notfound): New function.
6612 (addgetnetgrentX): Use it.
6613
d4124212
SP
6614 [BZ # 16365]
6615 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6616 NSS_STATUS_NOTFOUND.
6617
97b9a009
JM
66182014-01-01 Joseph Myers <joseph@codesourcery.com>
6619
6620 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6622
d4697bc9
AM
66232014-01-01 Allan McRae <allan@archlinux.org>
6624
ddb3687f
AM
6625 * scripts/update-copyrights: Update configure input file suffix.
6626
88726d48
AM
6627 * NEWS: Update copyright year.
6628 * catgets/gencat.c: Likewise.
6629 * csu/version.c: Likewise.
6630 * debug/catchsegv.sh: Likewise.
6631 * debug/pcprofiledump.c: Likewise.
6632 * debug/xtrace.sh: Likewise.
6633 * elf/ldconfig.c: Likewise.
6634 * elf/ldd.bash.in: Likewise.
6635 * elf/pldd.c: Likewise.
6636 * elf/sotruss.ksh: Likewise.
6637 * elf/sprof.c: Likewise.
6638 * iconv/iconv_prog.c: Likewise.
6639 * iconv/iconvconfig.c: Likewise.
6640 * locale/programs/locale.c: Likewise.
6641 * locale/programs/localedef.c: Likewise.
6642 * login/programs/pt_chown.c: Likewise.
6643 * malloc/memusage.sh: Likewise.
6644 * malloc/memusagestat.c: Likewise.
6645 * malloc/mtrace.pl: Likewise.
6646 * manual/libc.texinfo: Likewise.
6647 * nscd/nscd.c: Likewise.
6648 * nss/getent.c: Likewise.
6649 * nss/makedb.c: Likewise.
6650 * posix/getconf.c: Likewise.
6651 * scripts/test-installation.pl: Likewise.
6652
d4697bc9
AM
6653 * All files with FSF copyright notices: Update copyright dates
6654 using scripts/update-copyrights.
6655 * intl/plural.c: Regenerated.
6656 * locale/programs/charmap-kw.h: Likewise.
6657 * locale/programs/locfile-kw.h: Likewise.
6658
c8590f9d
MF
66592013-12-31 Mike Frysinger <vapier@gentoo.org>
6660
6661 * sysdeps/unix/sysv/linux/configure: Regenerated.
6662 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6663 the linux/fanotify.h header.
6664 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6665 HAVE_LINUX_FANOTIFY_H is defined.
6666
b19221b9
SP
66672013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6668
dd1d85e5
SP
6669 * benchtests/cos-inputs: New inputs.
6670 * benchtests/sin-inputs: Likewise.
6671
1acbb90f
SP
6672 * benchtests/atan-inputs: New inputs. Fix name of multiple
6673 precision fallback inputs.
6674
4c012ed3
SP
6675 * benchtests/atanh-inputs: New inputs.
6676 * benchtests/tanh-inputs: Likewise.
6677
eff98324
SP
6678 * benchtests/acosh-inputs: New inputs.
6679 * benchtests/asinh-inputs: Likewise.
6680
ce641152
SP
6681 * benchtests/cosh-inputs: New inputs.
6682 * benchtests/sinh-inputs: Likewise.
6683
b19221b9
SP
6684 * benchtests/acos-inputs: Add more inputs.
6685 * benchtests/asin-inputs: Likewise.
6686
030a4976 66872013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6688
030a4976 6689 [BZ #16375]
9dcc8f11
VS
6690 * manual/arith.texi: Fix spelling.
6691 * manual/charset.texi: Likewise.
6692 * manual/errno.texi: Likewise.
6693 * manual/filesys.texi: Likewise.
6694 * manual/lang.texi: Likewise.
6695 * manual/llio.texi: Likewise.
6696 * manual/locale.texi: Likewise.
6697 * manual/message.texi: Likewise.
6698 * manual/resource.texi: Likewise.
6699 * manual/search.texi: Likewise.
6700 * manual/setjmp.texi: Likewise.
6701 * manual/stdio.texi: Likewise.
6702 * manual/string.texi: Likewise.
6703 * manual/sysinfo.texi: Likewise.
6704 * manual/time.texi: Likewise.
6705
11520a57
CD
67062013-12-27 Carlos O'Donell <carlos@redhat.com>
6707
6708 * po/sl.po: New file.
6709
471103ae
MF
67102013-12-27 Mike Frysinger <vapier@gentoo.org>
6711
6712 * .gitignore: Add core/.gdbinit/.gdb_history.
6713
6c9642ed
AM
67142013-12-27 Allan McRae <allan@archlinux.org>
6715
6716 [BZ #16369]
6717 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6718 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6719
3f637079
BM
67202013-12-24 Brooks Moses <bmoses@google.com>
6721
6722 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6723 all compilers that claim C++98 compliance, not just GCC.
6724 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6725 Likewise.
6726
abc26e99
MK
67272013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6728
6729 * NEWS: Restore accidentally deleted bug-fix entries.
6730
362b47fe
MK
67312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6732 Ondřej Bílka <neleai@seznam.cz>
6733
6734 [BZ #15073]
6735 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6736 have_lock.
362b47fe 6737
b9bcbbcb
OB
67382013-12-23 Ondřej Bílka <neleai@seznam.cz>
6739
6740 [BZ #12986]
6741 * manual/stdio.texi (String Input Conversions): Clarify that character
6742 classes are not supported.
6743
fb55fcd2
AZ
67442013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6745
6746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6747
ef7344f0
JM
67482013-12-22 Joseph Myers <joseph@codesourcery.com>
6749
4f40e4b3
JM
6750 [BZ #16337]
6751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6752 Calculate results for small negative arguments directly rather
6753 than using reflection formula with special underflow handling.
6754
ef7344f0
JM
6755 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6756 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6757 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6758 (fchflags): Likewise.
6759 (revoke): Likewise.
6760 (setlogin): Likewise.
6761 (sigaltstack): Likewise.
6762 (wait4): Likewise.
6763 (sigblock): Remove.
6764 (sigsetmask): Likewise.
6765 (wait3): Likewise.
6766 (waitpid): Likewise.
6767 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6768 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6769 file.
6770 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6771 * sysdeps/unix/bsd/Makefile: ... here.
6772 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6773 * sysdeps/unix/bsd/Versions: ... here.
6774 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6775 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6776 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6777 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6778 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6779 * sysdeps/unix/bsd/sigblock.c: ... here.
6780 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6781 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6782 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6783 * sysdeps/unix/bsd/sigvec.c: ... here.
6784 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6785 * sysdeps/unix/bsd/tcdrain.c: ... here.
6786 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6787 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6788 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6789 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6790 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6791 * sysdeps/unix/bsd/wait.c: ... here.
6792 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6793 * sysdeps/unix/bsd/wait3.c: ... here.
6794 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6795 * sysdeps/unix/bsd/waitpid.c: ... here.
6796
5b0626b9
JM
67972013-12-21 Joseph Myers <joseph@codesourcery.com>
6798
6799 [BZ #16356]
6800 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6801 round-to-nearest for [!USE_AS_EXPM1L].
6802 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6803 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6804 more tests of exp and exp10. Expect some exp10 tests to miss
6805 exceptions or fail in directed rounding modes.
6806 * math/auto-libm-test-out: Regenerated.
6807 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6808 (exp10_test_tonearest): New function.
6809 (exp10_towardzero_test_data): New array.
6810 (exp10_test_towardzero): New function.
6811 (exp10_downward_test_data): New array.
6812 (exp10_test_downward): New function.
6813 (exp10_upward_test_data): New array.
6814 (exp10_test_upward): New function.
6815 (main): Call the new functions.
6816 * sysdeps/i386/fpu/libm-test-ulps: Update.
6817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6818
7fda5682
JM
68192013-12-20 Joseph Myers <joseph@codesourcery.com>
6820
31e3a405
JM
6821 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6822 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6823 * math/auto-libm-test-out: Regenerated.
6824 * math/libm-test.inc (acosh_test_data): Add more tests.
6825 (atanh_test_data): Likewise.
6826 (ceil_test_data): Likewise.
6827 (copysign_test_data): Likewise.
6828 * sysdeps/i386/fpu/libm-test-ulps: Update.
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6830
85bff96a
JM
6831 * timezone/checktab.awk: Update from tzcode 2013i.
6832 * timezone/private.h: Likewise.
6833 * timezone/scheck.c: Likewise.
6834 * timezone/tzfile.h: Likewise.
6835 * timezone/tzselect.ksh: Likewise.
6836 * timezone/zdump.c: Likewise.
6837 * timezone/zic.c: Likewise.
6838
b7867a3b
JM
6839 * math/auto-libm-test-in: Add tests of cpow.
6840 * math/auto-libm-test-out: Regenerated.
6841 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6843 mpc_cc_c.
6844 (func_calc_desc): Add mpc_cc_c union field.
6845 (test_functions): Add cpow.
6846 (special_fill_2pi): New function.
6847 (special_real_inputs): Add 2pi.
6848 (calc_generic_results): Handle mpc_cc_c.
6849 * sysdeps/i386/fpu/libm-test-ulps: Update.
6850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6851
7fda5682
JM
6852 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6853 csqrt, ctan and ctanh.
6854 * math/auto-libm-test-out: Regenerated.
6855 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6856 (TEST_COND_x86): Likewise.
6857 (ccos_test_data): Use AUTO_TESTS_c_c.
6858 (ccosh_test_data): Likewise.
6859 (cexp_test_data): Likewise.
6860 (clog_test_data): Likewise.
6861 (csqrt_test_data): Likewise.
6862 (ctan_test_data): Likewise.
6863 (ctan_tonearest_test_data): Likewise.
6864 (ctan_towardzero_test_data): Likewise.
6865 (ctan_downward_test_data): Likewise.
6866 (ctan_upward_test_data): Likewise.
6867 (ctanh_test_data): Likewise.
6868 (ctanh_tonearest_test_data): Likewise.
6869 (ctanh_towardzero_test_data): Likewise.
6870 (ctanh_downward_test_data): Likewise.
6871 (ctanh_upward_test_data): Likewise.
6872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6873 mpc_c_c.
6874 (func_calc_desc): Add mpc_c_c union field.
6875 (FUNC_mpc_c_c): New macro.
6876 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6877 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6878 ctanh.
6879 (special_fill_min_subnorm_p120): New function.
6880 (special_real_inputs): Add min_subnorm_p120.
6881 (calc_generic_results): Handle mpc_c_c.
6882 * sysdeps/i386/fpu/libm-test-ulps: Update.
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6884
5ff8d60e
SP
68852013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6886
57f41c40
AS
6887 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6888 (do_sin_slow): New functions.
6889 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6890 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6891
84ba214c
SP
6892 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6893 Use M to change sign of result instead of X. Assume X is
6894 positive.
6895 (csloww1): Likewise.
6896 (__sin): Adjust.
6897 (__cos): Adjust.
6898
975195e4
SP
6899 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6900 arguments A and DA.
6901 (__sin): Adjust.
6902 (__cos): Likewise.
6903
5ff8d60e
SP
6904 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6905 (__cos): Likewise.
6906 (sloww1): Don't adjust sign of DX.
6907 (csloww1): Likewise.
6908 (sloww2): Use X directly and don't adjust sign of DX.
6909 (csloww2): Likewise.
6910
eb983568
JM
69112013-12-19 Joseph Myers <joseph@codesourcery.com>
6912
64a17f1a
JM
6913 * math/auto-libm-test-in: Add tests of cabs and carg.
6914 * math/auto-libm-test-out: Regenerated.
6915 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6916 (carg_test_data): Likewise.
6917 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6918 mpc_c_f.
6919 (func_calc_desc): Add mpc_c_f union field.
6920 (test_functions): Add cabs and carg.
6921 (calc_generic_results): Handle mpc_c_f.
6922
eb983568
JM
6923 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6924 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6925 as a macro and a compat symbol.
6926 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6927 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6928 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6929 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6930 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6931 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6932 not use .hidden.
6933 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6934 Likewise.
6935 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6936 Likewise.
6937 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6938 Likewise.
6939 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6940 Likewise.
6941 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6942 Likewise.
6943 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6944 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6945 from GLIBC_2.3.2.
6946
6eeb678a
AZ
69472013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6950
6f6fc482
JM
69512013-12-19 Joseph Myers <joseph@codesourcery.com>
6952
21fea2e2
JM
6953 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6954 trailing whitespace removed.
6955 * scripts/config.guess: Update to version 2013-11-29.
6956 * scripts/config.sub: Update to version 2013-10-01.
6957
6f6fc482
JM
6958 * math/auto-libm-test-in: Add tests of sincos.
6959 * math/auto-libm-test-out: Regenerated.
6960 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6961 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6962 mpfr_f_11.
6963 (func_calc_desc): Add mpfr_f_11 union field.
6964 (test_functions): Add sincos.
6965 (calc_generic_results): Handle mpfr_f_11.
6966 * sysdeps/i386/fpu/libm-test-ulps: Update.
6967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6968
83f5c32d
AS
69692013-12-19 Andreas Schwab <schwab@suse.de>
6970
6971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6972 CALL_MCOUNT.
6973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6975 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6976
c688b419
JM
69772013-12-19 Joseph Myers <joseph@codesourcery.com>
6978
335ee092
JM
6979 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6980 * sysdeps/i386/fpu/libm-test-ulps: Update.
6981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6982
f88acd39
JM
6983 [BZ #16293]
6984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6985 round-to-nearest mode when using frndint.
6986 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6987 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6989 Likewise.
6990 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6991 sinh test to fail.
6992 * math/auto-libm-test-out: Regenerated.
6993 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6994 (TEST_COND_x86): Likewise.
6995 (expm1_tonearest_test_data): New array.
6996 (expm1_test_tonearest): New function.
6997 (expm1_towardzero_test_data): New array.
6998 (expm1_test_towardzero): New function.
6999 (expm1_downward_test_data): New array.
7000 (expm1_test_downward): New function.
7001 (expm1_upward_test_data): New array.
7002 (expm1_test_upward): New function.
7003 (main): Run the new test functions.
7004 * sysdeps/i386/fpu/libm-test-ulps: Update.
7005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7006
c688b419
JM
7007 * include/features.h: Update comment documenting feature test
7008 macros. Mention _DEFAULT_SOURCE in comment.
7009 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7010 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7011 _BSD_SOURCE and _SVID_SOURCE.
7012 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7013 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7014 !_SVID_SOURCE]: Likewise.
7015 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7016 (__USE_POSIX_IMPLICITLY): Define.
7017 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7018 (_POSIX_SOURCE): Undefine and redefine.
7019 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7020 (_POSIX_C_SOURCE): Likewise.
7021 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7022 (Feature Test Macros): Update documentation of default features.
7023
9f6e964c
RS
70242013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7025
7026 * benchtests/Makefile: Add bench-strtok.
7027 * benchtests/bench-strtok.c: New file: strtok benchtest.
7028
ee0a148a
AM
70292013-12-19 Allan McRae <allan@archlinux.org>
7030
7031 * manual/install.texi: Suppress menu for plain text output.
7032 * INSTALL: Regenerated.
7033
b9ab448f
BM
70342013-12-18 Brooks Moses <bmoses@google.com>
7035
7036 [BZ #15846]
7037 * misc/getauxval.c: Include errno.h.
7038 (__getauxval): Set errno to ENOENT if the requested type is not
7039 found.
7040 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7041 don't declare with __attribute_const__.
7042 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7043 * manual/startup.texi: Document that getauxval sets errno.
7044
23776487
JM
70452013-12-18 Joseph Myers <joseph@codesourcery.com>
7046
f889953b
JM
7047 * math/auto-libm-test-in: Add tests of jn and yn.
7048 * math/auto-libm-test-out: Regenerated.
7049 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7050 (yn_test_data): Likewise.
7051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7052 mpfr_if_f.
7053 (func_calc_desc): Add mpfr_if_f union field.
7054 (FUNC_mpfr_if_f): New macro.
7055 (test_functions): Add jn and yn.
7056 (calc_generic_results): Assert type of second input for
7057 mpfr_ff_f. Handle mpfr_if_f.
7058 (output_for_one_input_case): Disable all checking for arguments
7059 fitting floating-point types in case of an integer argument.
7060 * sysdeps/i386/fpu/libm-test-ulps: Update.
7061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062
23776487
JM
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7064 Don't expect fegetround reference in libm.so.
7065
cb756c6d
MS
70662013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7067
7068 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7069 $(config-cflags-nofma).
7070
2dec468f
JM
70712013-12-18 Joseph Myers <joseph@codesourcery.com>
7072
5953eb3a
JM
7073 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7074 * math/auto-libm-test-out: Regenerated.
7075
2dec468f
JM
7076 [BZ #16338]
7077 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7078 to determine exponent and adjust argument to have exponent of -1.
7079 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7080 log2.
7081 * math/auto-libm-test-out: Regenerated.
7082 * sysdeps/i386/fpu/libm-test-ulps: Update.
7083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084
4d84e6ad
OB
70852013-12-18 Ondřej Bílka <neleai@seznam.cz>
7086
7087 * manual/probes.texi: Remove cases when per-thread arenas are
7088 disabled.
7089
1818483b
AS
70902013-12-18 Andreas Schwab <schwab@suse.de>
7091
7092 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7093 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7094 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7095 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7096 * sysdeps/i386/i686/multiarch/Makefile: Update.
7097 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7098
25de95bf
JM
70992013-12-17 Joseph Myers <joseph@codesourcery.com>
7100
7101 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7102 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7103
674762d9
PE
71042013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7105
ed27ed83 7106 [BZ #15968]
0748546f
PE
7107 Support TZ transition times < 00:00:00.
7108 This is needed for version-3 tz-format files; it supports time
7109 stamps past 2037 for America/Godthab (the only entry in the tz
7110 database for which this change is relevant).
7111 * manual/time.texi (TZ Variable): Document transition times
7112 from -167:59:59 through -00:00:01.
7113 * time/tzset.c (tz_rule): Time of day is now signed.
7114 (__tzset_parse_tz): Parse negative time of day.
7115
4480e934
PE
7116 Document TZ transition times >= 25:00:00.
7117 * manual/time.texi (TZ Variable): Document transition times from
7118 25:00:00 through 167:59:59. These are already supported, and this
7119 support will help with version-3 tz-format files.
7120
69947401
PE
7121 * manual/time.texi (TZ Variable): Modernize North America example
7122 to reflect current (i.e., 2007-and-later) daylight saving rules.
7123
674762d9
PE
7124 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7125
7011c262
JM
71262013-12-17 Joseph Myers <joseph@codesourcery.com>
7127
2fc6557e
JM
7128 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7129 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7132 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7133 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7134 * sysdeps/unix/bsd/clock.c: Likewise.
7135 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7136 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7137 * sysdeps/unix/bsd/init-posix.c: Likewise.
7138 * sysdeps/unix/bsd/poll.c: Likewise.
7139 * sysdeps/unix/bsd/ptsname.c: Likewise.
7140 * sysdeps/unix/bsd/seekdir.c: Likewise.
7141 * sysdeps/unix/bsd/setegid.c: Likewise.
7142 * sysdeps/unix/bsd/seteuid.c: Likewise.
7143 * sysdeps/unix/bsd/setgid.c: Likewise.
7144 * sysdeps/unix/bsd/setrgid.c: Likewise.
7145 * sysdeps/unix/bsd/setruid.c: Likewise.
7146 * sysdeps/unix/bsd/setsid.c: Likewise.
7147 * sysdeps/unix/bsd/setuid.c: Likewise.
7148 * sysdeps/unix/bsd/sigaction.c: Likewise.
7149 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7150 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7151 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7152 * sysdeps/unix/bsd/telldir.c: Likewise.
7153 * sysdeps/unix/bsd/times.c: Likewise.
7154 * sysdeps/unix/bsd/usleep.c: Likewise.
7155
029c7b25
JM
7156 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7157 ($(objpfx)libbsd-compat.a): Remove rule.
7158
7011c262
JM
7159 * include/features.h (__FAVOR_BSD): Do not define.
7160 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7161 features conflicting with POSIX.
7162 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7163 (_BSD_SOURCE): Remove description of not being a subset of other
7164 feature test macros.
7165 * manual/job.texi (getpgrp): Do not document BSD version.
7166 (getpgid): Do not document by reference to BSD getpgrp.
7167 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7168 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7169 * signal/signal.h [__FAVOR_BSD]: Likewise.
7170 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7171 instead of making contents conditional on [__FAVOR_BSD].
7172 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7173
affb6f78
AZ
71742013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175
7176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7177
c88769dd
JM
71782013-12-17 Joseph Myers <joseph@codesourcery.com>
7179
6432a540
JM
7180 [BZ #16314]
7181 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7182 values below 2**-450, not 2**-500.
7183 * math/auto-libm-test-in: Don't allow spurious underflow from
7184 hypot.
7185 * math/auto-libm-test-out: Regenerated.
7186
c88769dd
JM
7187 [BZ #16316]
7188 [BZ #16330]
7189 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7190 values of ha and hb and sort them after adjusting subnormal
7191 arguments.
7192 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7193 Likewise.
7194 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7195 values of ea and eb and sort them after adjusting subnormal
7196 arguments.
7197 * math/auto-libm-test-in: Do not expect some hypot tests of
7198 subnormals to fail. Add more hypot tests.
7199 * math/auto-libm-test-out: Regenerated.
7200
29618f6b
KK
72012013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7202
7203 [BZ #13304]
7204 * sysdeps/sh/s_fma.c: New file.
7205 * sysdeps/sh/s_fmaf.c: New file.
7206 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7207 version.
7208 * sysdeps/sh/Implies: Add sh/soft-fp.
7209
eacfdfbf
RM
72102013-12-16 Roland McGrath <roland@hack.frob.com>
7211
7212 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7213 level of indirection to members `objname', `errstring', `malloced'.
7214 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7215 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7216 it as the __longjmp argument (just pass 1 instead).
7217 (_dl_catch_error): Initialize C with argument pointers and address of
7218 volatile local ERRCODE rather than copying values out of C at return.
7219
ff362e5b
JM
72202013-12-16 Joseph Myers <joseph@codesourcery.com>
7221
7222 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7223 * math/auto-libm-test-out: Regenerated.
7224 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7225 (hypot_test_data): Likewise.
7226 (pow_test_data): Likewise.
7227 (pow_tonearest_test_data): Likewise.
7228 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7229 mpfr_ff_f.
7230 (func_calc_desc): Add mpfr_ff_f union field.
7231 (FUNC_mpfr_ff_f): New macro.
7232 (test_functions): Add atan2, hypot and pow.
7233 (special_fill_min): New function.
7234 (special_fill_minus_min): Likewise.
7235 (special_fill_min_subnorm): Likewise.
7236 (special_fill_minus_min_subnorm): Likewise.
7237 (special_real_inputs): Add min, -min, min_subnorm and
7238 -min_subnorm.
7239 (calc_generic_results): Handle mpfr_ff_f.
7240 * sysdeps/i386/fpu/libm-test-ulps: Update.
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242
5764c27f
WN
72432013-12-16 Will Newton <will.newton@linaro.org>
7244
7245 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7246 (Aligned Memory Blocks): Add documentation for aligned_alloc
7247 and suggest it as an alternative to posix_memalign.
7248 (Hooks for Malloc): Document __memalign_hook is also called
7249 for aligned_alloc. (Summary of Malloc): Add summary for
7250 aligned alloc. Document __memalign_hook is also called
7251 for aligned_alloc.
7252
0a096e44
WN
72532013-12-16 Will Newton <will.newton@linaro.org>
7254
7255 * manual/memory.texi (Malloc Examples): Clarify default
7256 alignment documentation. Suggest posix_memalign rather
7257 than memalign or valloc.
7258 (Aligned Memory Blocks): Remove suggestion to use memalign
7259 or valloc. Remove obsolete comment about BSD.
7260 Document memalign errno values and mark the function obsolete.
7261 Document posix_memalign returned error codes. Mark valloc
7262 as obsolete. (Hooks for Malloc): __memalign_hook is also
7263 called for posix_memalign and valloc.
7264 (Summary of Malloc): Add posix_memalign to function summary.
7265 __memalign_hook is also called for posix_memalign and valloc.
7266
8d561986
SP
72672013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
7269 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7270 TAYLOR_SIN.
7271 (__sin): Adjust.
7272 (__cos): Likewise.
7273 (sloww): Use mynumber union. Expand ternary operator into
7274 if-else statements.
7275 (cslow): use mynumber union.
7276
73616a74
AM
72772013-12-16 Allan McRae <allan@archlinux.org>
7278
9e8ac24b
AM
7279 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7280 * configure: Regenerated.
7281
6f8e37eb
AM
7282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7283
8894bad3
AM
7284 [BZ #14120]
7285 * configure.ac: Added --enable-maintainer-mode. Check for
7286 autoconf when enabled.
7287 * configure: Regenerated.
7288
73616a74
AM
7289 * nscd/nscd.service: New file.
7290 * nscd/nscd.tmpfiles: New file.
7291
584b18eb
OB
72922013-12-14 Ondřej Bílka <neleai@seznam.cz>
7293
7294 [BZ #12100]
7295 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7296 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7297 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7298 (strstr): Add __strstr_sse2_unaligned ifunc.
7299 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7300 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7301 (strcasestr): Remove __strcasestr_sse42 ifunc.
7302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7305
8a5c7897
KK
73062013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7307
7308 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7309 * sysdeps/sh/bits/fenv.h: ... here.
7310 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7311
fd712ef3
AZ
73122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313
7314 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7315
42fcb46c
AZ
7316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7317 hypotf multiarch implementations.
7318 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7321 multiarch hypot for PPC64.
7322 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7325 multiarch hypotf for PPC64.
7326
83efded4
AZ
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7328 modff multiarch implementations.
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7332 multiarch modf for PPC64.
7333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7336 multiarch modff for PPC64.
7337
43e246d2
AZ
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7339 and logl multiarch implementations.
7340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7343 multiarch logb for PPC64.
7344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7347 multiarch logb for PPC64.
7348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7351 multiarch logb for PPC64.
7352
8fdad123
AZ
7353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7354 isinff multiarch implementation.
7355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7356 file.
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7359 multiarch isinf for PPC64.
7360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7361 file.
7362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7363 multiarch isinff for PPC64.
7364
1481d706
AZ
7365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7366 finitef multiarch implementation.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7368 file.
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7371 multiarch finite for PPC64.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7373 file.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7375 multiarch finitef for PPC64.
7376
5ccd5fc8
AZ
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7378 lrint multiarch implementation.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7380 file.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7383 multiarch llrint for PPC64.
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7385 multiarch lrint for PPC64.
7386
2568f3fa
AZ
7387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7388 copysignf multiarch implementation.
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7390 file.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7392 file.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7394 multiarch copysign for PPC64.
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7396 multiarch copysignf for PPC64.
7397
1cb341fd
AZ
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7399 multiarch implementation.
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7401 file.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7403 file.
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7405 file.
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7407 file.
7408 multiarch llround for PPC64.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7410 multiarch trunc for PPC64.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7412 multiarch truncf for PPC64.
7413
59a3e194
AZ
7414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7415 multiarch implementation.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7417 file.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7419 file.
7420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7421 file.
7422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7423 file.
7424 multiarch llround for PPC64.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7426 multiarch round for PPC64.
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7428 multiarch roundf for PPC64.
7429
357fd3b4
AZ
7430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7431 multiarch implementation.
7432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7433 file.
7434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7435 file.
7436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7437 file.
7438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7439 file.
7440 multiarch llround for PPC64.
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7442 multiarch floor for PPC64.
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7444 multiarch floorf for PPC64.
7445
96770f12
AZ
7446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7447 multiarch implementation.
7448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7449 file.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7451 file.
7452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7453 file.
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7455 file.
7456 multiarch llround for PPC64.
7457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7458 multiarch ceil for PPC64.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7460 multiarch ceilf for PPC64.
7461
c3627f6e
AZ
7462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7463 multiarch implementation.
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7465 file.
7466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7467 file.
7468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7469 file.
7470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7471 multiarch llround for PPC64.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7473 multiarch lround for PPC64.
7474
b2284ad7
AZ
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7476 multiarch implementation.
7477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7480 file.
7481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7484 multiarch isnan for PPC64.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7486 multiarch isnanf for PPC64.
7487
69bbc63d
AZ
7488 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7489 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7490 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7491 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7492 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7494
c24517c9
AZ
7495 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7496 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7499
a52374e8
AZ
7500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7501 multiarch implementations.
7502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503 (__libc_ifunc_impl_list): Likewise.
7504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7505 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7506 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7507 multiarch stpcpy for PPC64.
7508
7f5ec113
AZ
7509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7510 multiarch implementations.
7511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7512 (__libc_ifunc_impl_list): Likewise.
7513 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7514 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7515 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7516 multiarch strcpy for PPC64.
7517
e28bcd42
AZ
7518 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7519 redefine function name.
7520 (_wordcopy_fwd_dest_aligned): Likewise.
7521 (_wordcopy_bwd_aligned): Likewise.
7522 (_wordcopy_bwd_dest_aligned): Likewise.
7523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7524 multiarch implementations.
7525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7526 (__libc_ifunc_impl_list): Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7528 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7529 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7530 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7531 multiarch wcscpy for PPC64.
7532
92cacfce
AZ
7533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7534 multiarch implementations.
7535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7536 (__libc_ifunc_impl_list): Likewise.
7537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7538 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7539 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7540 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7541 multiarch wcscpy for PPC64.
7542
7b714620
AZ
7543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7544 multiarch implementations.
7545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7546 (__libc_ifunc_impl_list): Likewise.
7547 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7548 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7549 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7550 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7551 multiarch wcsrchr for PPC64.
7552
16fd2ae3
AZ
7553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7554 multiarch implementations.
7555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7556 (__libc_ifunc_impl_list): Likewise.
7557 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7558 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7559 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7560 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7561 multiarch wcschr for PPC64.
7562
9ee2969b
AZ
7563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7564 multiarch implementations.
7565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7566 (__libc_ifunc_impl_list): Likewise.
7567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7568 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7569 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7570 multiarch strchrnul for PPC64.
7571
372dc060
AZ
7572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7573 implementations.
7574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7575 (__libc_ifunc_impl_list): Likewise.
7576 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7577 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7578 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7579 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7580 strchr for PPC64.
7581
24c2c3b9
AZ
7582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7583 implementations.
7584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7585 (__libc_ifunc_impl_list): Likewise.
7586 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7587 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7588 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7589 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7590 strncmp for PPC64.
7591
1c92d9a0
AZ
7592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7593 multiarch implementations.
7594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7595 (__libc_ifunc_impl_list): Likewise.
7596 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7597 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7598 strncasecmp for PPC64.
7599 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7600 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7601 multiarch strncasecmp_l for PPC64.
7602
17de3ee3
AZ
7603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7604 multiarch implementations.
7605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7606 (__libc_ifunc_impl_list): Likewise.
7607 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7608 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7609 multiarch strcasecmp for PPC64.
7610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7611 file.
7612 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7613 multiarch strcasecmp_l for PPC64.
7614
62982bf9
AZ
7615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7616 implementations.
7617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7618 (__libc_ifunc_impl_list): Likewise.
7619 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7620 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7621 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7622 strnlen for PPC64.
7623
a65f4904
AZ
7624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7625 implementations.
7626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7627 (__libc_ifunc_impl_list): Likewise.
7628 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7629 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7630 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7631 strlen for PPC64.
7632
1fd005ad
AZ
7633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7634 implementations.
7635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7636 (__libc_ifunc_impl_list): Likewise.
7637 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7638 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7639 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7640 rawmemrchr for PPC64.
7641
cd05ba91
AZ
7642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7643 implementation.
7644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7645 (__libc_ifunc_impl_list): Likewise.
7646 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7647 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7648 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7649 memrchr for PPC64.
7650
870f8676
AZ
7651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7652 implementation.
7653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7654 (__libc_ifunc_impl_list): Likewise.
7655 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7656 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7657 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7658 memchr for PPC64.
7659
f00be62b
AZ
7660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7661 implementation.
7662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7663 (__libc_ifunc_impl_list): Likewise.
7664 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7665 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7666 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7667 mempcpy for PPC64.
7668
8a29a3d0
AZ
7669 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7670 avoid cretion of __bzero symbol.
7671 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7672 Likewise.
7673 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7674 Likewise.
7675 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7676 Likewise.
7677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7678 multiarch implementations.
7679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7680 (__libc_ifunc_impl_list): Likewise.
7681 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7682 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7683 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7684 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7685 bzero for PPC32.
7686 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7687 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7688 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7689 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7690 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7691 memset for PPC64.
7692 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7693
07253fcf
AZ
7694 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7696 implementations.
7697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7698 (__libc_ifunc_impl_list): Likewise.
7699 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7700 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7701 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7702 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7703 memcmp for PPC64.
7704
b5beafbc
AZ
7705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7706 multiarch for POWER/PPC64.
7707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7708 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7713 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7715 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7716 memcpy for PPC64.
7717
5e6a4d4b
AZ
7718 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7719 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7720 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7721 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7722 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7723 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7724 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7725 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7726 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7727 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7728 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7729 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7730 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7731 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7732 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7740
ddfab6dc
KK
77412013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7742
7743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7744
19b5525e
SP
77452013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7746
7747 * benchtests/Makefile (bench): Add exp2 and log2.
7748 (LDLIBS-bench-exp2): Add -lm.
7749 (LDLIBS-bench-log2): Likewise.
7750 * benchtests/exp2-inputs: New inputs file.
7751 * benchtests/log2-inputs: New inputs file.
7752 * benchtests/log-inputs: Add new inputs.
7753 * benchtests/tan-inputs: Likewise.
7754
196f7f5d
SP
77552013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7756
7a74607f
SP
7757 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7758 definition...
57f41c40
AS
7759 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7760 (csloww2): ... from here.
7a74607f 7761
196f7f5d
SP
7762 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7763 instead of structures.
7764 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7765 (POLYNOMIAL): Likewise.
7766 (TAYLOR_SLOW): Likewise.
7767 (__sin): Likewise.
7768 (__cos): Likewise.
7769 (slow1): Likewise.
7770 (slow2): Likewise.
7771 (sloww): Likewise.
7772 (sloww1); Likewise.
7773 (sloww2): Likewise.
7774 (bsloww1): Likewise.
7775 (bsloww2): Likewise.
7776 (cslow2): Likewise.
7777 (csloww): Likewise.
7778 (csloww1): Likewise.
7779 (csloww2): Likewise.
7780
0dfa665c
OB
77812013-12-10 Ondřej Bílka <neleai@seznam.cz>
7782
7783 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7784 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7785 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7786 * malloc/hooks.c (realloc_check): Likewise.
7787
5782a80f
OB
7788 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7789 * malloc/arena.c: Remove PER_THREAD conditional.
7790 [!PER_THREAD]: Remove code.
7791 (ptmalloc_unlock_all2): Likewise.
7792 (ptmalloc_init): Likewise.
7793 (_int_new_arena): Likewise.
7794 (arena_get2): Likewise.
7795 * malloc/hooks.c (__malloc_get_state): Likewise.
7796 (__malloc_set_state): Likewise.
7797 * malloc/malloc.c: Likewise.
7798 (struct malloc_state): Likewise.
7799 (struct malloc_par): Likewise.
7800 (__libc_realloc): Likewise.
7801 (__libc_mallopt): Likewise.
7802
aeb95445
AZ
78032013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7804
7805 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7806
e8349efd
OB
78072013-12-09 Ondřej Bílka <neleai@seznam.cz>
7808
7809 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7810 macro to a function. Check for zero perturb_byte.
7811 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7812
f3eeb3fc 7813 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7814 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7815 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7816 force_reg by atomic_forced_read.
7817 * malloc/arena.c (ptmalloc_init): Likewise.
7818 * malloc/hooks.c (top_check): Likewise.
7819
be2f9009
AZ
78202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821
7822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7823
e7b914bd
MT
78242013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7825
7826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7827
9f0be4f8
JM
78282013-12-08 Joseph Myers <joseph@codesourcery.com>
7829
7830 * math/auto-libm-test-in: Add tests of lgamma.
7831 * math/auto-libm-test-out: Regenerated.
7832 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7833 (M_LOG_2_SQRT_PIl): Likewise.
7834 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7836 mpfr_f_f1.
7837 (func_calc_desc): Add mpfr_f_f1 union field.
7838 (ARGS1): New macro.
7839 (ARGS2): Likewise.
7840 (ARGS3): Likewise.
7841 (ARGS4): Likewise.
7842 (RET1): Likewise.
7843 (RET2): Likewise.
7844 (CALC): Likewise.
7845 (FUNC): Likewise.
7846 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7847 (test_functions): Add lgamma.
7848 (calc_generic_results): Handle mpfr_f_f1.
7849 * sysdeps/i386/fpu/libm-test-ulps: Update.
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7851
24eeafdb
AZ
78522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7853
7854 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7855 __mpn_add_n for PowerPC64/POWER7.
7856 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7857 __mpn_sub_n for PowerPC64/POWER7.
7858
4a2c0fd4
AZ
7859 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7860 __mpn_addmul_1 for PowerPC64.
7861 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7862 __mpn_submul_1 for PowerPC64.
7863 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7864 for PowerPC64.
7865 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7866 for PowerPC64.
7867
4b5b548c
FS
78682013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7869
7870 [BZ #15089]
7871 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7872
0a3ac0aa
AZ
78732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7874
7875 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7876
ccdc8438
AZ
7877 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7878 add multiarch folders.
7879 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7880 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7881 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7882 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7883 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7884 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7885 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7886 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7887 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7888 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7889 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7896
2e973d99
AZ
7897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7898 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7900 New file.
7901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7902 New file.
7903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7904 multiarch __ieee754_hypot for PowerPC32.
7905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7906 New file.
7907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7908 New file.
7909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7910 multiarch __ieee754_hypotf for PowerPC32.
7911
2d9470b2
AZ
7912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7913 long_double_symbol only if __logbl is defined.
7914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7915 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7917 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7919 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7921 path for implementation.
7922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7925 logb, and logbl multiarch implementations for PowerPC32.
7926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7927 file.
7928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7929 file.
7930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7931 multiarch logb for PowerPC32.
7932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7933 file.
7934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7935 file.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7937 multiarch logbf for PowerPC32.
7938 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7940 file.
7941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7942 multiarch logbl implementation for PowerPC32.
7943
5212ffce
AZ
7944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7945 and modff multiarch implementations.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7947 New file.
7948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7949 New file.
7950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7951 multiarch modf for PowerPC32.
7952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7953 New file.
7954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7955 New file.
7956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7957 multiarch modff for PowerPC32.
7958
79dccf31
AZ
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7960 and lrintf multiarch implementations.
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7962 New file.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7964 New file.
7965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7966 multiarch lrint for PowerPC32.
7967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7968 file: multiarch lrintf for PowerPC32.
7969
deb66480
AZ
7970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7971 and lroundf multiarch implementations.
7972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7973 New file.
7974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7975 New file.
7976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7977 New file.
7978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7979 multiarch lround for PowerPC32.
7980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7981 file: multiarch lroundf for PowerPC32.
7982
264b036b
AZ
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7984 copysign and copysignf multiarch implementations.
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7986 New file.
7987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7988 New file.
7989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7990 file: multiarch copysign for PowerPC32.
7991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7992 file: multiarch copysignf for PowerPC32.
7993
d47db6c9
AZ
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7995 and truncf multiarch implementations.
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7997 New file.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7999 file.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8001 multiarch trunc for PowerPC32.
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8003 New file.
8004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8005 New file.
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8007 multiarch truncf for PowerPC32.
8008
ddb60b5a
AZ
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8010 and roundf multiarch implementations.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8012 New file.
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8014 file.
8015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8016 multiarch round for PowerPC32.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8018 New file.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8020 New file.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8022 multiarch roundf for PowerPC32.
8023
bedcf49b
AZ
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8025 and floorf multiarch implementations.
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8027 New file.
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8029 file.
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8031 multiarch floor for PowerPC32.
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8033 New file.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8035 New file.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8037 multiarch floorf for PowerPC32.
8038
35ae5b40
AZ
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8040 and ceilf multiarch implementations.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8042 New file.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8044 file.
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8046 multiarch ceil for PowerPC32.
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8048 New file.
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8050 file.
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8052 multiarch ceilf for PowerPC32.
8053
ae1a4cd9
AZ
8054 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8055 is defined.
8056 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8057 FINITEF is defined.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8059 and finitef multiarch implementations.
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8061 New file.
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8063 file.
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8065 multiarch finite for PowerPC32.
8066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8067 New file.
8068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8069 file: multiarch finitef for PowerPC32.
8070
64fffd65
AZ
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8072 and isinff multiarch implementations.
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8074 file.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8076 file.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8078 multiarch isinf for PowerPC32.
8079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8080 New file.
8081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8082 multiarch isinff for PowerPC32.
8083
8e4e7ba2
AZ
8084 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8085 alias when __isnan is defined.
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8087 and isnanf multiarch implementations.
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8089 file.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8091 file.
8092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8093 file.
8094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8095 file.
8096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8097 multiarch isnan for PowerPC32.
8098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8099 New file.
8100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8101 New file.
8102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8103 multiarch isnanf for PowerPC32.
8104
ddba588e
AZ
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8106 and sqrtf multiarch implementations.
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8108 file.
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8110 file.
8111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8112 multiarch sqrt for PowerPC32.
8113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8114 file.
8115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8116 file.
8117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8118 multiarch sqrtf for PowerPC32.
8119
0f96a2f0
AZ
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8121 and llroundf multiarch implementations.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8123 New file.
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8125 New file.
8126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8127 New file.
8128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8129 file: multiarch llround for PowerPC32.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8131 file: multiarch llroundf for PowerPC32.
8132
c9b5d79e
AZ
8133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8134 multiarch PowerPC32 fpu implementations.
8135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8136 New file.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8138 New file.
8139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8140 multiarch llrint for PowerPC32.
8141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8142 New file.
8143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8144 New file.
8145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8146 file.
8147
9cbb3aab
AZ
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8149
ea5a72f8
AZ
8150 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8151 file.
8152 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8153 file.
8154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8155 file.
8156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8157 multiarch wordcopy for PPC32.
8158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8159 wordcopy objects.
8160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8161 (__libc_ifunc_impl_list): Likewise.
8162 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8163 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8164 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8165 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8166 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8167 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8168
93be09e7
AZ
8169 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8171 file.
8172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8173 file.
8174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8175 file.
8176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8177 multiarch wcscpy for PPC32.
8178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8179 multiarch objects.
8180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8181 (__libc_ifunc_impl_list): Likewise.
8182 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8183 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8184 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8185 sysdeps/powerpc/power6/wcscpy.c.
8186
bb04e529
AZ
8187 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8189 file.
8190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8191 file.
8192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8193 file.
8194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8195 multiarch wcsrchr for PPC32.
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8197 multiarch objects.
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8199 (__libc_ifunc_impl_list): Likewise.
8200 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8201 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8202 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8203 sysdeps/powerpc/power6/wcsrchr.c.
8204
05b5cd1c
AZ
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8206 file.
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8208 file.
8209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8211 multiarch wcschr for PPc32.
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8213 multiarch objects.
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8215 (__libc_ifunc_impl_list): Likewise.
8216 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8217 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8218 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8219 sysdeps/powerpc/power6/wcschr.c.
8220
ba964147
AZ
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8222 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8223 file.
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8225 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8226 file: multiarch strchr for PPC32.
8227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8228 multiarch objects.
8229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8230 (__libc_ifunc_impl_list): Likewise.
8231
31c81aaa
AZ
8232 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8233 name.
8234 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8235 file.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8237 file.
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8239 multiarch strchrnul for PPC32.
8240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8241 multiarch objects.
8242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8243 (__libc_ifunc_impl_list): Likewise.
8244
0d0607d9
AZ
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8246 file.
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8248 multiarch strncasecmp for PPC32.
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8250 file.
8251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8252 multiarch strncasecmp_l for PPC32.
8253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8254 strncasecmp multiarch objects.
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8256 (__libc_ifunc_impl_list): Likewise.
8257
4dfd5c86
AZ
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8259 file.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8261 multiarch strncasecmp for PPC32.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8263 New file.
8264 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8265 multiarch strcasecmp_l for PPC32.
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8267 multiarch objects.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8269 (__libc_ifunc_impl_list): Likewise.
8270
a19e01a3
AZ
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8272 file.
8273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8274 file.
8275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8276 multiarch strncmp for PPC32.
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8278 multiarch objects.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8280 (__libc_ifunc_impl_list): Likewise.
8281
ae9cf7a2
AZ
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8283 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8284 file.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8288 multiarch objects.
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8290 (__libc_ifunc_impl_list): Likewise.
8291
3148bb7d
AZ
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8293 file.
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8295 file.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8298 multiarch objects.
8299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8300 (__libc_ifunc_impl_list): Likewise.
8301
7af8b946
AZ
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8303 file.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8305 file.
8306 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8307 multiarch rawmemchr for PPC32.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8309 multiarch objects.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8311 (__libc_ifunc_impl_list): Likewise.
8312
03a6aa6a
AZ
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8314 file.
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8316 file.
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8318 file: memrchr multiarch for PPC32.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8320 multiarch objects.
8321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8322 (__libc_ifunc_impl_list): Likewise.
8323
1c62e6d9
AZ
8324 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8326 file.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8328 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8329 multiarch memchr for PPC32.
8330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8331 multiarch objects.
8332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8333 (__libc_ifunc_impl_list): Likewise.
8334
87da8bdb
AZ
8335 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8336 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8337 file.
8338 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8339 file.
8340 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8341 file: multiarch mempcpy for PPC32.
8342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8343 multiarch objects.
8344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8345 (__libc_ifunc_impl_list): Likewise.
8346
20ed4714
AZ
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8349 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8351 multiarch bzero for PPC32.
8352 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8353 file.
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8355 file.
8356 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8357 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8358 file: multiarch memset for PPC32.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8361 memset multiarch objects.
8362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8363 (__libc_ifunc_impl_list): Likewise.
8364
ab3e3a46
AZ
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8366 file.
8367 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8369 memcmp for PPC32.
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8372 multiarch objects.
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8374 (__libc_ifunc_impl_list): Likewise.
8375
930de6f0
AZ
8376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8379 file.
8380 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8381 file.
8382 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8383 file.
8384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8385 multiarch memcpy for PPC32.
8386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8387 multiarch objects.
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8389 (__libc_ifunc_impl_list): Likewise.
8390
4c628e00
AZ
8391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8392 support multiarch for POWER/PPC32.
8393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8394 Likewise.
8395 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8397 Implies file to make multiarch folder appers before the fpu and
8398 default folder for power4 configuration.
8399
f4479220
SP
84002013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8401
8402 * scripts/bench.pl: Append volatile keyword to type.
8403
8517800f
KK
84042013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8405
8406 * sysdeps/sh/sotruss-lib.c: New file.
8407 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8408
180138f1
AZ
84092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8410
8411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8412
bbf37bdc
JM
84132013-12-05 Joseph Myers <joseph@codesourcery.com>
8414
e47cc4e0
JM
8415 [BZ #6810]
8416 * math/w_tgamma.c: Include <errno.h>.
8417 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8418 * math/w_tgammaf.c: Include <errno.h>.
8419 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8420 * math/w_tgammal.c: Include <errno.h>.
8421 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8422 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8423 underflow. Add more tgamma tests.
8424 * math/auto-libm-test-out: Regenerated.
8425 * sysdeps/i386/fpu/libm-test-ulps: Update.
8426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8427
bbf37bdc
JM
8428 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8429 sin, sinh, tan, tanh, tgamma, y0 and y1.
8430 * math/auto-libm-test-out: Regenerated.
8431 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8432 (TEST_COND_x86): Likewise.
8433 (M_E2l): Remove macro.
8434 (M_E3l): Likewise.
8435 (M_2_SQRT_PIl): Likewise.
8436 (M_SQRT_PIl): Likewise.
8437 (M_1_DIV_El): Likewise.
8438 (log_test_data): Use AUTO_TESTS_f_f.
8439 (log10_test_data): Likewise.
8440 (log1p_test_data): Likewise.
8441 (log2_test_data): Likewise.
8442 (sin_test_data): Likewise.
8443 (sin_tonearest_test_data): Likewise.
8444 (sin_towardzero_test_data): Likewise.
8445 (sin_downward_test_data): Likewise.
8446 (sin_upward_test_data): Likewise.
8447 (sinh_test_data): Likewise.
8448 (sinh_tonearest_test_data): Likewise.
8449 (sinh_towardzero_test_data): Likewise.
8450 (sinh_downward_test_data): Likewise.
8451 (sinh_upward_test_data): Likewise.
8452 (tan_test_data): Likewise.
8453 (tan_tonearest_test_data): Likewise.
8454 (tan_towardzero_test_data): Likewise.
8455 (tan_downward_test_data): Likewise.
8456 (tan_upward_test_data): Likewise.
8457 (tanh_test_data): Likewise.
8458 (tgamma_test_data): Likewise.
8459 (y0_test_data): Likewise.
8460 (y1_test_data): Likewise.
8461 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8462 (special_real_inputs): Add pi/4.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465
eb5ad6b9
AZ
84662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467
8468 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8469 "longjmp_target" static probes.
8470 (__longjmp): Rename to __longjmp_symbol.
8471 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8473 on which longjmp to generate.
8474 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8475 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8476 probe.
8477 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8478 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8479 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8481 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8482 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8484 __longjmp_symbol based on which __longjmp to generate.
8485 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8486 probe.
8487 (setjmp): Rename to setjmp_symbol.
8488 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8489 (_setjmp): Rename to _setjmp_symbol.
8490 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8491 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8492 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8493 which setjmp to generate.
8494 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8495 "longjmp_target" static probes.
8496
d136c6dc
SP
84972013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8498
9298ecba
SP
8499 * benchtests/README: Add note about output arguments.
8500 * benchtests/bench-sincos.c: Remove file.
8501 * benchtests/sincos-inputs: New file.
8502 * scripts/bench.pl: Identify output arguments and define
8503 static variables for them.
8504
232983e9
SP
8505 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8506
d136c6dc
SP
8507 [BZ #15941]
8508 * Makefile (INSTALL): Add install-plain.texi as the primary
8509 dependency.
8510 * manual/install-plain.texi: New file.
8511 * manual/install.texi: Include node directive only for
8512 non-plaintext output.
8513
699ff837
JM
85142013-12-04 Joseph Myers <joseph@codesourcery.com>
8515
ab07cea8
JM
8516 * stdlib/longlong.h: Update from GCC.
8517
699ff837
JM
8518 [BZ #6807]
8519 [BZ #15901]
8520 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8521 * math/w_j0f.c (y0f): Likewise.
8522 * math/w_j0l.c (__y0l): Likewise.
8523 * math/w_j1.c (y1): Likewise.
8524 * math/w_j1f.c (y1f): Likewise.
8525 * math/w_j1l.c (__y1l): Likewise
8526 * math/w_jn.c (yn): Likewise.
8527 * math/w_jnf.c (ynf): Likewise.
8528 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8529 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8530 value for Bessel function domain errors outside _SVID_ mode.
8531 Adjust sign of return value for yn (negative integer, 0).
8532 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8533 by zero in return for negative x and set sign appropriately for
8534 negative n.
8535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8537 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8538 expectations in error cases.
8539 (y1_test_data): Likewise.
8540 (yn_test_data): Likewise.
8541 * sysdeps/i386/fpu/libm-test-ulps: Update.
8542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8543
5b118558
UW
85442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8545
8546 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8547 "64" to "64-v1". Add "64-v2".
8548 (abi-64-options): Rename to ...
8549 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8550 (abi-64-condition): Rename to ...
8551 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8552 (abi-64-ld-soname): Rename to ...
8553 (abi-64-v1-ld-soname): ... this.
8554 (abi-64-v2-options): Define.
8555 (abi-64-v2-condition): Likewise.
8556 (abi-64-v2-ld-soname): Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8558 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8562
61cd8fe4
UW
85632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8564 Alan Modra <amodra@gmail.com>
8565
8566 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8567 New versions for use with the ELFv2 ABI.
8568 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8569 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8570 declaration.
8571 (struct La_ppc64v2_retval): Likewise.
8572 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8573 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8574 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8575 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8576 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8577 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8578 Do not save or restore CR.
8579 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8580 (_dl_profile_resolve): Do no save or restore CR. Support extended
8581 return values for ELFv2 ABI. Fix location of FPR return registers.
8582 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8583 updated values for _CALL_ELF == 2.
8584 (La_regs, La_retval, int_retval): Likewise.
8585
8b8a692c
UW
85862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8587
8588 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8589 (FRAME_MIN_SIZE_PARM): Likewise.
8590 (FRAME_BACKCHAIN): Likewise.
8591 (FRAME_CR_SAVE): Likewise.
8592 (FRAME_LR_SAVE): Likewise.
8593 (FRAME_TOC_SAVE): Likewise.
8594 (FRAME_PARM_SAVE): Likewise.
8595 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8596 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8597 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8598 (call_mcount_parm_offset): New macro.
8599 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8600 (PROF): Use symbolic stack frame offsets.
8601 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8603 Redefine in terms of FRAME_MIN_SIZE.
8604 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8605 (_dl_profile_resolve): Likewise. Update comment.
8606 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8607 symbols stack frame offsets.
8608 (__sigsetjmp): Likewise.
8609 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8610 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8611 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8612 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8613
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8615 (FRAME_BACKCHAIN): Remove.
8616 (FRAME_CR_SAVE): Likewise.
8617 (FRAME_LR_SAVE): Likewise.
8618 (FRAME_COMPILER_DW): Likewise.
8619 (FRAME_LINKER_DW): Likewise.
8620 (FRAME_TOC_SAVE): Likewise.
8621 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8622 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8623 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8624 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8626 (CHECK_SP): Use symbolic stack frame offsets.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8628 zone" instead of caller's parameter save area for temp storage.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8630 Likewise. Also, use symbolic stack frame offsets.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8632 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8633 our own stack frame instead of the caller's.
8634 (__socket): Use symbolic stack frame offsets.
8635
122b66de
UW
86362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8637 Alan Modra <amodra@gmail.com>
8638
8639 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8640 Define.
57f41c40
AS
8641 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8642 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8643 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8644 New function.
8645 (elf_machine_fixup_plt): Call it.
8646 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8647 reloc arguments.
8648 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8650 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8651 r2 before calling target.
8652
696caf1d
UW
86532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8654 Alan Modra <amodra@gmail.com>
8655
8656 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8657 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8658 versions of macros to support ELFv2 ABI.
8659 (LOCALENTRY): New macro.
8660 (ENTRY, EALIGN): Use it.
8661 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8662 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8663 fall through into ENTRY entry point.
8664 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8665 Only define if _CALL_ELF != 2.
8666
8667 (elf_machine_matches_host): Verify ABI version matches.
8668 (RTLD_START): Use LOCALENTRY.
8669 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8670 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8671 (PLT_ENTRY_WORDS): New macro.
8672 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8673 (elf_machine_runtime_setup): Support ELFv2 ABI.
8674 (elf_machine_fixup_plt): Likewise.
8675 (elf_machine_plt_conflict): Likewise.
8676 (resolve_ifunc): Likewise.
8677 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8679 Likewise.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8681 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8683 (makecontext): Support ELFv2 ABI.
8684 * elf/elf.h (EF_PPC64_ABI): Define.
8685
d31beafa
UW
86862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8687
57f41c40
AS
8688 * sysdeps/powerpc/powerpc64/sysdep.h
8689 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8690 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8691 (ENTRY) [ASSEMBLER]: ... but instead here ...
8692 (EALIGN) [ASSEMBLER]: ... and here.
8693 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8694 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8695 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8696 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8697 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8698 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8699 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8700 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8702 Use PPC64_LOAD_FUNCPTR.
8703
b525166b
UW
8704 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8705
7ec07d9a
AM
87062013-12-04 Alan Modra <amodra@gmail.com>
8707
8708 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8709 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8710 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8711 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8712
8713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8714 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8715 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8716 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8717 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8718 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8719
5162e7dd
UW
87202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8721
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8723 (__makecontext): Fix incorrect CFI when backtracing out of
8724 context created via makecontext.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8726 (__setcontext): Fix incorrect CFI during switch to new context.
8727 (__novec_setcontext): Likewise.
8728
19e3372b
OB
87292013-12-04 Ondřej Bílka <neleai@seznam.cz>
8730
8731 [BZ #4772]
8732 * time/strptime_l.c (__strptime_internal): Allow modifiers
8733 in strptime.
8734 * time/tst-strptime.c (day_tests): Add testcase.
8735
ecaf142d
SP
87362013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8737
8738 * scripts/bench.pl: Skip over blank lines.
8739
fbf964ae
PE
87402013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8741
8742 [BZ #926]
8743 * manual/time.texi (Calendar Time): Clarify what timezone functions
8744 use.
8745
fa60a674
AZ
87462013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8747
8748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8749
d674f0ef
OB
87502013-12-04 Ondřej Bílka <neleai@seznam.cz>
8751
8752 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8753 implementation.
8754 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8755 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8756 * debug/memset_chk.c (__memset_chk): Likewise.
8757 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8758 * debug/strncpy_chk.c: Likewise.
8759
17dea188
JM
87602013-12-03 Joseph Myers <joseph@codesourcery.com>
8761
749008ff
JM
8762 [BZ #15268]
8763 [BZ #15425]
8764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8765 (__ieee754_exp): For possibly underflowing results, check size of
8766 result and force underflow exception if required.
8767 * math/auto-libm-test-in: Add more tests of exp.
8768 * math/auto-libm-test-out: Regenerated.
8769 * sysdeps/i386/fpu/libm-test-ulps: Update.
8770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8771
17dea188
JM
8772 [BZ #16283]
8773 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8774 * math/w_exp2f.c (__exp2f): Likewise.
8775 * math/w_exp2l.c (__exp2l): Likewise.
8776 * math/auto-libm-test-in: Do not allow missing errno on exp2
8777 underflow.
8778 * math/auto-libm-test-out: Regenerated.
8779
b20de2c3
OB
87802013-12-03 Ondřej Bílka <neleai@seznam.cz>
8781
8782 [BZ #16274]
8783 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8784 handle filename validation.
8785 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8786 (do_open): Delete.
8787
d8e2dbe3
JM
87882013-12-03 Joseph Myers <joseph@codesourcery.com>
8789
34e16df5
JM
8790 [BZ #6786]
8791 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8792 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8793 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8794 <float.h>.
8795 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8797 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8799 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8800 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8801 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8802 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8803 Add more erfc tests.
8804 * math/auto-libm-test-out: Regenerated.
8805 * sysdeps/i386/fpu/libm-test-ulps: Update.
8806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8807
d8e2dbe3
JM
8808 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8809 exp2, expm1, j0 and j1.
8810 * math/auto-libm-test-out: Regenerated.
8811 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8812 (erfc_test_data): Likewise.
8813 (exp_test_data): Likewise.
8814 (exp_tonearest_test_data): Likewise.
8815 (exp_towardzero_test_data): Likewise.
8816 (exp_downward_test_data): Likewise.
8817 (exp_upward_test_data): Likewise.
8818 (exp10_test_data): Likewise.
8819 (exp2_test_data): Likewise.
8820 (expm1_test_data): Likewise.
8821 (j0_test_data): Likewise.
8822 (j1_test_data): Likewise.
8823 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8824 (input_flag_type): Add flag_xfail_rounding.
8825 (input_flags): Add xfail-rounding.
8826 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8827 (output_for_one_input_case): Handle flag_xfail_rounding.
8828 * sysdeps/i386/fpu/libm-test-ulps: Update.
8829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830
18d14251
AJ
88312013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8832
3d2e6075 8833 [BZ #16289]
18d14251
AJ
8834 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8835 division by 0.
8836
520d437b
SP
88372013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
8839 [BZ #16195]
8840 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8841 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8842 (STAP_PROBE0): New macro.
8843 (STAP_PROBE1): Likewise.
8844 (STAP_PROBE2): Likewise.
8845 (STAP_PROBE3): Likewise.
8846 (STAP_PROBE4): Likewise.
8847
416e0145
OB
88482013-12-02 Ondřej Bílka <neleai@seznam.cz>
8849
8850 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8851
9d17796a
SE
88522013-12-02 Steve Ellcey <sellcey@mips.com>
8853
8854 * benchtests/Makefile (bench): Add sqrt.
8855 (LDLIBS-bench-sqrt): New.
8856 * benchtests/sqrt-input: New.
8857
f524d6a8
PS
88582013-12-02 Pavel Simerda <psimerda@redhat.com>
8859
639a0ef8
PS
8860 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8861 (GAIH_EAI): Likewise.
8862 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8863 (gaih_inet): Likewise.
8864 (getaddrinfo): Don't use GAIH_EAI.
8865
f524d6a8
PS
8866 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8867 (struct gaih): Remove definition.
8868
df3aedaf
SP
88692013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8870
8871 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8872 Use HERRNOP directly.
8873
1ab19dec
AZ
88742013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8875
b42ad38d 8876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8877
176b0c79
JM
88782013-11-30 Joseph Myers <joseph@codesourcery.com>
8879
8880 * math/gen-auto-libm-tests.c (test_functions): Add more
8881 single-argument functions.
8882 (special_fill_pi_2): New function.
8883 (special_fill_minus_pi_2): Likewise.
8884 (special_fill_pi_6): Likewise.
8885 (special_fill_minus_pi_6): Likewise.
8886 (special_fill_pi_3): Likewise.
8887 (special_fill_2pi_3): Likewise.
8888 (special_fill_e): Likewise.
8889 (special_fill_1_e): Likewise.
8890 (special_fill_e_minus_1): Likewise.
8891 (special_real_inputs): Add more special inputs.
8892 (output_for_one_input_case): Do not require ERANGE on underflow to
8893 zero if round-to-nearest result does not underflow to zero, unless
8894 exact results required.
8895 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8896 atan, atanh, cbrt, cos and cosh.
8897 * math/auto-libm-test-out: Regenerated.
8898 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8899 (acos_tonearest_test_data): Likewise.
8900 (acos_towardzero_test_data): Likewise.
8901 (acos_downward_test_data): Likewise.
8902 (acos_upward_test_data): Likewise.
8903 (acosh_test_data): Likewise.
8904 (asin_test_data): Likewise.
8905 (asin_tonearest_test_data): Likewise.
8906 (asin_towardzero_test_data): Likewise.
8907 (asin_upward_test_data): Likewise.
8908 (asinh_test_data): Likewise.
8909 (atan_test_data): Likewise.
8910 (atanh_test_data): Likewise.
8911 (cbrt_test_data): Likewise.
8912 (cos_test_data): Likewise.
8913 (cos_tonearest_test_data): Likewise.
8914 (cos_towardzero_test_data): Likewise.
8915 (cos_downward_test_data): Likewise.
8916 (cos_upward_test_data): Likewise.
8917 (cosh_test_data): Likewise.
8918 (cosh_tonearest_test_data): Likewise.
8919 (cosh_towardzero_test_data): Likewise.
8920 (cosh_downward_test_data): Likewise.
8921 (cosh_upward_test_data): Likewise.
8922 * sysdeps/i386/fpu/libm-test-ulps: Update.
8923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8924
ffb536d0
JM
89252013-11-29 Joseph Myers <joseph@codesourcery.com>
8926
2a77a467
JM
8927 [BZ #6787]
8928 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8929 * math/w_exp10f.c (__exp10f): Likewise.
8930 * math/w_exp10l.c (__exp10l): Likewise.
8931 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8932 errno settings in existing tests.
8933
ea3bc4e8
JM
8934 [BZ #14032]
8935 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8936 precision control set to double precision.
8937 * sysdeps/i386/fpu/w_sqrt.c: New file.
8938 * math/auto-libm-test-in: Add more tests.
8939 * math/auto-libm-test-out: Update.
8940
0712c9d8
JM
8941 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8942 (sqrt_test_tonearest): New function.
8943 (sqrt_towardzero_test_data): New variable.
8944 (sqrt_test_towardzero): New function.
8945 (sqrt_downward_test_data): New variable.
8946 (sqrt_test_downward): New function.
8947 (sqrt_upward_test_data): New variable.
8948 (sqrt_test_upward): New function.
8949 (main): Call the new functions.
8950
ffb536d0
JM
8951 * math/gen-auto-libm-tests.c: New file.
8952 * math/auto-libm-test-in: Likewise.
8953 * math/auto-libm-test-out: New generated file.
8954 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8955 variables.
8956 (%beautify): Add generated representations of zero.
8957 (top level): Set $auto_input and call parse_auto_input.
8958 (beautify): Remove trailing "f" from hex float constants.
8959 (parse_args): Handle XFAIL_TEST.
8960 (convert_condition): New function.
8961 (or_value): Likewise.
8962 (or_cond_value): Likewise.
8963 (generate_testfile): Handle AUTO_TESTS_* lines.
8964 (parse_auto_input): New function.
8965 * math/libm-test.inc (XFAIL_TEST): New macro.
8966 (ERRNO_UNCHANGED): Update value.
8967 (ERRNO_EDOM): Likewise.
8968 (ERRNO_ERANGE): Likewise.
8969 (IGNORE_RESULT): Likewise.
8970 (TEST_COND_flt_32): New macro.
8971 (TEST_COND_dbl_64): Likewise.
8972 (TEST_COND_ldbl_96_intel): Likewise.
8973 (TEST_COND_ldbl_96_m68k): Likewise.
8974 (TEST_COND_ldbl_128): Likewise.
8975 (TEST_COND_ldbl_128ibm): Likewise.
8976 (TEST_COND_long32): Likewise.
8977 (TEST_COND_long64): Likewise.
8978 (TEST_COND_before_rounding): Likewise.
8979 (TEST_COND_after_rounding): Likewise.
8980 (enable_test): Handle XFAIL_TEST flag.
8981 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8982 with finite results.
8983 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8984 auto-libm-test-out.
8985
acd98a8e
AK
89862013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8987 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8988
8989 [BZ #16214]
8990 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8991 __tls_get_addr_internal instead of __tls_get_offset in order to
8992 avoid GOT pointer dependency. Make rtld export
8993 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8994 __tls_get_addr since we are a __tls_get_offset platform.
8995 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8996 GOT pointer being set up before.
8997 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8998
3c1c46a6
JM
89992013-11-28 Joseph Myers <joseph@codesourcery.com>
9000
7475aef5
JM
9001 * manual/math.texi (Errors in Math Functions): Document accuracy
9002 goals.
9003
8bca7cd8
JM
9004 [BZ #15004]
9005 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9006 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9011 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9021
91a1f3fe
JM
9022 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9023 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9024 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9025 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9026 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9027 Likewise.
9028 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9029 Likewise.
9030 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9031 Likewise.
9032 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9033 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9034 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9035 atomic-feupdateenv and flt-rounds.
9036 * sysdeps/powerpc/nofpu/Versions (libc): Add
9037 __atomic_feholdexcept, __atomic_feclearexcept,
9038 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9040 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9041 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9042 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9043 here.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9045 Update.
9046
c5df7609
JM
9047 * manual/arith.texi (FP Exceptions): Document that exceptions may
9048 not be raised when matherr is used.
9049 (Math Error Reporting): Document overflow in directed rounding
9050 modes. Document that errno may not be set when finite values are
9051 returned on overflow. Document intent to set errno on underflow
9052 only for underflow to zero.
9053
3c1c46a6
JM
9054 [BZ #16271]
9055 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9056 round-to-nearest then adjust result for other rounding modes.
9057 * include/fenv.h (fegetround): Use libm_hidden_proto.
9058 * math/fegetround.c (fegetround): Use libm_hidden_def.
9059 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9060 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9061 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9063 Likewise.
9064 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9066 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9067 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9068
5a4c6d53
SP
90692013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9070
9071 [BZ #16077]
9072 * nss/Versions (libnss_files): Add
9073 _nss_files_gethostbyname3_r.
9074 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9075 New function.
9076 (HOST_DB_LOOKUP): Remove macro.
9077 (_nss_files_gethostbyname_r): Implement function without the
9078 HOST_DB_LOOKUP macro.
9079 (_nss_files_gethostbyname2_r): Likewise.
9080
897b98ba
OB
90812013-11-28 Ondřej Bílka <neleai@seznam.cz>
9082
9083 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9084
6f476861
UB
90852013-11-26 Uros Bizjak <ubizjak@gmail.com>
9086
9087 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9088 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9089 warning.
9090
bd12ab55
AZ
90912013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9092
9093 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9094 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9095 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9096 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9097 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9098 __fe_nomask_env_priv and attribute_hidden.
9099 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9100 (libc_feupdateenv_test_ppc): Likewise.
9101 (libc_feresetround_ppc): Likewise.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9103 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9104 compat_symbol macro.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9106 (__fe_nomask_env): Likewise.
9107 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9108
52bb6543
OB
91092013-11-26 Ondřej Bílka <neleai@seznam.cz>
9110
9111 * string/Makefile: Remove ifunc tests.
9112 * string/test-string.h: Define TEST_IFUNC.
9113 * string/test-bcopy-ifunc.c: Remove.
9114 * string/test-bzero-ifunc.c: Likewise.
9115 * string/test-memccpy-ifunc.c: Likewise.
9116 * string/test-memchr-ifunc.c: Likewise.
9117 * string/test-memcmp-ifunc.c: Likewise.
9118 * string/test-memcpy-ifunc.c: Likewise.
9119 * string/test-memmem-ifunc.c: Likewise.
9120 * string/test-memmove-ifunc.c: Likewise.
9121 * string/test-mempcpy-ifunc.c: Likewise.
9122 * string/test-memrchr-ifunc.c: Likewise.
9123 * string/test-memset-ifunc.c: Likewise.
9124 * string/test-rawmemchr-ifunc.c: Likewise.
9125 * string/test-stpcpy-ifunc.c: Likewise.
9126 * string/test-stpncpy-ifunc.c: Likewise.
9127 * string/test-strcasecmp-ifunc.c: Likewise.
9128 * string/test-strcasestr-ifunc.c: Likewise.
9129 * string/test-strcat-ifunc.c: Likewise.
9130 * string/test-strchr-ifunc.c: Likewise.
9131 * string/test-strchrnul-ifunc.c: Likewise.
9132 * string/test-strcmp-ifunc.c: Likewise.
9133 * string/test-strcpy-ifunc.c: Likewise.
9134 * string/test-strcspn-ifunc.c: Likewise.
9135 * string/test-strlen-ifunc.c: Likewise.
9136 * string/test-strncasecmp-ifunc.c: Likewise.
9137 * string/test-strncat-ifunc.c: Likewise.
9138 * string/test-strncmp-ifunc.c: Likewise.
9139 * string/test-strncpy-ifunc.c: Likewise.
9140 * string/test-strnlen-ifunc.c: Likewise.
9141 * string/test-strpbrk-ifunc.c: Likewise.
9142 * string/test-strrchr-ifunc.c: Likewise.
9143 * string/test-strspn-ifunc.c: Likewise.
9144 * string/test-strstr-ifunc.c: Likewise.
9145
ab260039 91462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9147
9148 * benchtests/Makefile: Remove ifunc tests.
9149 * benchtests/bench-string.h: Define TEST_IFUNC.
9150 * benchtests/bench-bcopy-ifunc.c: Remove.
9151 * benchtests/bench-bzero-ifunc.c: Likewise.
9152 * benchtests/bench-memccpy-ifunc.c: Likewise.
9153 * benchtests/bench-memchr-ifunc.c: Likewise.
9154 * benchtests/bench-memcmp-ifunc.c: Likewise.
9155 * benchtests/bench-memcpy-ifunc.c: Likewise.
9156 * benchtests/bench-memmem-ifunc.c: Likewise.
9157 * benchtests/bench-memmove-ifunc.c: Likewise.
9158 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9159 * benchtests/bench-memrchr-ifunc.c: Likewise.
9160 * benchtests/bench-memset-ifunc.c: Likewise.
9161 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9162 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9163 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9164 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9165 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9166 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9167 * benchtests/bench-strcat-ifunc.c: Likewise.
9168 * benchtests/bench-strchr-ifunc.c: Likewise.
9169 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9170 * benchtests/bench-strcmp-ifunc.c: Likewise.
9171 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9172 * benchtests/bench-strcpy-ifunc.c: Likewise.
9173 * benchtests/bench-strcspn-ifunc.c: Likewise.
9174 * benchtests/bench-strlen-ifunc.c: Likewise.
9175 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9176 * benchtests/bench-strncat-ifunc.c: Likewise.
9177 * benchtests/bench-strncmp-ifunc.c: Likewise.
9178 * benchtests/bench-strncpy-ifunc.c: Likewise.
9179 * benchtests/bench-strnlen-ifunc.c: Likewise.
9180 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9181 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9182 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9183 * benchtests/bench-strspn-ifunc.c: Likewise.
9184 * benchtests/bench-strstr-ifunc.c: Likewise.
9185
91862013-11-26 Ondřej Bílka <neleai@seznam.cz>
9187
ab260039
OB
9188 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9189
d1d9eaf4 91902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9191
d1d9eaf4
OB
9192 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9193 * rt/aio.h: Likewise.
9194 * sysdeps/gnu/bits/utmp.h: Likewise.
9195 * sysdeps/gnu/bits/utmpx.h: Likewise.
9196 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9197 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9198 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9199 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9200 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9201 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9202 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9203 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9207 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9208 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9211 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9212 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9217 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9218 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9219 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9223 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9224 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9230 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9232 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9233 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9234 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9235 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9236 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9237 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9238
a7624ed9
CD
92392013-11-25 Carlos O'Donell <carlos@redhat.com>
9240
9241 [BZ #16245]
9242 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9243 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9244
63cfe52b
JM
92452013-11-25 Joseph Myers <joseph@codesourcery.com>
9246
9247 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9248 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9249 Likewise.
9250
41e8926a
AZ
92512013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252
9253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9254 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9255 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9256 (__fesetround): Remove define.
9257 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9258 rounding and exceptions handling.
9259 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9260 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9261 (__fe_nomask_env): Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9263 __fegetround instead of fegetround.
9264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9266
6851bd4d
RM
92672013-11-21 Roland McGrath <roland@hack.frob.com>
9268
070906ff
RM
9269 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9270 it's there.
9271
6851bd4d
RM
9272 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9273
84ae135d
MI
92742013-11-21 Meador Inge <meadori@codesourcery.com>
9275
9276 [BZ #11157]
9277 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9278 (encrypt_r): Likewise.
9279 * malloc/obstack.h (obstack_free): Likewise.
9280 * posix/unistd.h (encrypt): Likewise.
9281
daf75146
GM
92822013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9283
9284 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9285 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9286 DL_CALL_DT_FINI() that call the functions directly.
9287 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9288 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9289 * elf/dl-fini.c: Likewise.
9290
10ad46bc
OB
92912013-11-20 Ondřej Bílka <neleai@seznam.cz>
9292
9293 * malloc/hooks.c (memalign_check): Add alignment rounding.
9294 * malloc/malloc.c (_mid_memalign): New function.
9295 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9296 Implement by calling _mid_memalign.
9297 * manual/probes.texi (Memory Allocation Probes): Remove
9298 memory_valloc_retry and memory_pvalloc_retry.
9299
f3fd2628
SP
93002013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9301
4712799f
SP
9302 * locale/programs/locarchive.c (open_archive): Add const
9303 qualifier to ARCHIVEFNAME and copy default fname to
9304 DEFAULT_FNAME.
9305
0417b20f
SP
9306 [BZ #15601]
9307 * libio/tst-widetext.input: Rename Oriya to Odia.
9308 * locale/iso-639.def: Likewise.
9309
f3fd2628
SP
9310 * manual/probes.texi (Mathematical Function Probes): Add
9311 documentation for sin, cos, asin and acos probes.
9312 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9313 (__sin32): Add slowasin probe.
9314 (__cos32): Add slowacos probe.
9315 (__mpsin): Add slowsin probe.
9316 (__mpcos): Add slowcos probe.
9317
73c1ce4f
JM
93182013-11-19 Joseph Myers <joseph@codesourcery.com>
9319
9320 [BZ #15483]
9321 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9322 thread-local __sim_exceptions_thread and global
9323 __sim_exceptions_global.
9324 (__sim_disabled_exceptions): Change to thread-local
9325 __sim_disabled_exceptions_thread and global
9326 __sim_disabled_exceptions_global.
9327 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9328 and global __sim_round_mode_global.
9329 (__simulate_exceptions): Use thread-local floating-point state and
9330 set global state from it as needed.
9331 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9332 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9333 __sim_round_mode_thread.
9334 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9335 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9336 and global __sim_exceptions_global.
9337 (__sim_disabled_exceptions): Change to thread-local
9338 __sim_disabled_exceptions_thread and global
9339 __sim_disabled_exceptions_global.
9340 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9341 and global __sim_round_mode_global.
9342 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9343 (SIM_SET_GLOBAL): Likewise.
9344 * sysdeps/powerpc/soft-fp/sfp-machine.h
9345 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9346 __sim_round_mode_thread.
9347 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9348 __sim_disabled_exceptions_thread.
9349 (__sim_exceptions): Change to __sim_exceptions_thread.
9350 (__sim_disabled_exceptions): Change to
9351 __sim_disabled_exceptions_thread.
9352 (__sim_round_mode): Change to __sim_round_mode_thread.
9353 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9354 thread-local floating-point state and set global state from it as
9355 needed.
9356 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9357 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9358 (__sim_disabled_exceptions): Remove extern declaration.
9359 (feenableexcept): Use thread-local floating-point state and set
9360 global state from it as needed.
9361 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9362 extern declaration.
9363 (__sim_disabled_exceptions): Likewise.
9364 (__sim_round_mode): Likewise.
9365 (__fegetenv): Use thread-local floating-point state.
9366 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9367 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9368 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9369 floating-point state and set global state from it as needed.
9370 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9371 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9372 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9373 Likewise.
9374 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9375 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9376 Likewise.
9377 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9378 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9379 Use __sim_round_mode_thread.
9380 * math/test-fenv-tls.c: New file.
9381 * math/Makefile (tests): Add test-fenv-tls.
9382 ($(objpfx)test-fenv-tls): Depend on
9383 $(common-objpfx)nptl/libpthread.so.
9384
b5449b12
AS
93852013-11-19 Andreas Schwab <schwab@suse.de>
9386
9387 * locale/programs/locale.c (show_info): Decode wordarray elements.
9388 * locale/categories.def (LC_MONETARY): Add element for
9389 _NL_MONETARY_CRNCYSTR.
9390 * locale/C-monetary.c (conversion_rate): New variable.
9391 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9392 element.
9393
e186536b
CM
93942013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9395
9396 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9397 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9398
5c349950
PP
93992013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9400
9401 * elf/Makefile (tst-auxv): New test.
9402 * elf/tst-auxv.c: New
9403 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9404
699df45b
JM
94052013-11-18 Joseph Myers <joseph@codesourcery.com>
9406
9407 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9408 (hidden_proto): Caller changed.
9409 (hidden_tls_proto): New macro.
9410 (libc_hidden_tls_proto): Likewise.
9411 (rtld_hidden_tls_proto): Likewise.
9412 (libm_hidden_tls_proto): Likewise.
9413 (libresolv_hidden_tls_proto): Likewise.
9414 (librt_hidden_tls_proto): Likewise.
9415 (libdl_hidden_tls_proto): Likewise.
9416 (libnss_files_hidden_tls_proto): Likewise.
9417 (libnsl_hidden_tls_proto): Likewise.
9418 (libnss_nisplus_hidden_tls_proto): Likewise.
9419 (libutil_hidden_tls_proto): Likewise.
9420
b7589107
OB
94212013-11-18 Ondřej Bílka <neleai@seznam.cz>
9422
9423 [BZ #10253]
9424 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9425 (decompose_rpath): Defer expansion to fillin_rpath.
9426 (_dl_init_paths): Pass linkmap to fillin_rpath.
9427
250c23bd
RS
94282013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9429
9430 * benchtests/Makefile: Add strsep.
9431 * benchtests/bench-strsep.c: New file: strsep benchtest.
9432 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9433
a7931fcf
AS
94342013-11-18 Andreas Schwab <schwab@suse.de>
9435
9436 * locale/programs/locale.c (show_info) [case byte]: Check for
9437 '\377' instead of '\177'.
9438 * locale/C-monetary.c (not_available): Always use "\377".
9439 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9440 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9441 detect unavailable sign_posn locale elements.
9442 * locale/localeconv.c (__localeconv): For grouping and
9443 mon_grouping handle "\177" and "\377" like no grouping.
9444 (INT_ELEM): New macro. Use it to set all numeric members.
9445 * locale/programs/ld-monetary.c (monetary_read)
9446 <tok_mon_grouping>: Normalize single -1 to the empty string.
9447 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9448 Likewise.
9449
728dab0e
OB
94502013-11-07 Ondřej Bílka <neleai@seznam.cz>
9451
9452 [BZ #16055]
9453 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9454 when we match (nil).
9455 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9456
66294491
JM
94572013-11-16 Joseph Myers <joseph@codesourcery.com>
9458
ce665817
JM
9459 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9460 (NO_TEST_INLINE): Update value.
9461 (ERRNO_UNCHANGED): Likewise.
9462 (ERRNO_EDOM): Likewise.
9463 (ERRNO_ERANGE): Likewise.
9464 (IGNORE_RESULT): Likewise.
9465 (check_float_internal): Check signs of NaN results if
9466 TEST_NAN_SIGN used.
9467 (check_complex): Pass TEST_NAN_SIGN flag through to second
9468 check_float_internal call.
9469 (copysign_test_data): Add tests with quiet NaNs as second
9470 argument. Use TEST_NAN_SIGN.
9471 (fabs_test_data): Add test of negative quiet NaN argument. Use
9472 TEST_NAN_SIGN.
9473 (signbit_test_data): Add tests of quiet NaN argument.
9474 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9475
ee1466a9
JM
9476 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9477 $ignore_result.
9478 (parse_args): Handle function results specified as IGNORE.
9479 * math/libm-test.inc (IGNORE_RESULT): New macro.
9480 (check_float_internal): Do not check numerical result if flag
9481 IGNORE_RESULT set.
9482 (check_complex): Pass through IGNORE_RESULT to second
9483 check_float_internal call.
9484 (check_int): Do not check numerical result if flag IGNORE_RESULT
9485 set.
9486 (check_long): Likewise.
9487 (check_bool): Likewise.
9488 (check_longlong): Likewise.
9489 (lrint_test_data): Add tests of infinite and NaN arguments.
9490 (lrint_tonearest_test_data): Likewise.
9491 (lrint_towardzero_test_data): Likewise.
9492 (lrint_downward_test_data): Likewise.
9493 (lrint_upward_test_data): Likewise.
9494 (llrint_test_data): Likewise.
9495 (llrint_tonearest_test_data): Likewise.
9496 (llrint_towardzero_test_data): Likewise.
9497 (llrint_downward_test_data): Likewise.
9498 (llrint_upward_test_data): Likewise.
9499 (lround_test_data): Likewise.
9500 (llround_test_data): Likewise.
9501
14407b7e
JM
9502 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9503 (ERRNO_UNCHANGED): Update value.
9504 (ERRNO_EDOM): Likewise.
9505 (ERRNO_ERANGE): Likewise.
9506 (NO_TEST_INLINE_FLOAT): New macro.
9507 (NO_TEST_INLINE_DOUBLE): Likewise.
9508 (enable_test): New function.
9509 (RUN_TEST_f_f): Check enable_test before running test.
9510 (RUN_TEST_2_f): Likewise.
9511 (RUN_TEST_fff_f): Likewise.
9512 (RUN_TEST_c_f): Likewise.
9513 (RUN_TEST_f_f1): Likewise.
9514 (RUN_TEST_fF_f1): Likewise.
9515 (RUN_TEST_fI_f1): Likewise.
9516 (RUN_TEST_ffI_f1): Likewise.
9517 (RUN_TEST_c_c): Likewise.
9518 (RUN_TEST_cc_c): Likewise.
9519 (RUN_TEST_f_i): Likewise.
9520 (RUN_TEST_f_i_tg): Likewise.
9521 (RUN_TEST_ff_i_tg): Likewise.
9522 (RUN_TEST_f_b): Likewise.
9523 (RUN_TEST_f_b_tg): Likewise.
9524 (RUN_TEST_f_l): Likewise.
9525 (RUN_TEST_f_L): Likewise.
9526 (RUN_TEST_fFF_11): Likewise.
9527 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9528 conditionals.
9529 (cosh_test_data): Likewise.
9530 (exp_test_data): Likewise.
9531 (expm1_test_data): Likewise.
9532 (hypot_test_data): Likewise.
9533 (pow_test_data): Likewise.
9534 (sinh_test_data): Likewise.
9535 (tanh_test_data): Likewise.
9536 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9537 flags argument.
9538
ca07f197
JM
9539 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9540 tests with quiet NaN input and output.
9541 (acosh_test_data): Likewise.
9542 (asin_test_data): Likewise.
9543 (asinh_test_data): Likewise.
9544 (atan_test_data): Likewise.
9545 (atanh_test_data): Likewise.
9546 (atan2_test_data): Likewise.
9547 (cbrt_test_data): Likewise.
9548 (cos_test_data): Likewise.
9549 (cosh_test_data): Likewise.
9550 (erf_test_data): Likewise.
9551 (erfc_test_data): Likewise.
9552 (exp_test_data): Likewise.
9553 (exp10_test_data): Likewise.
9554 (exp2_test_data): Likewise.
9555 (expm1_test_data): Likewise.
9556 (hypot_test_data): Likewise.
9557 (j0_test_data): Likewise.
9558 (j1_test_data): Likewise.
9559 (jn_test_data): Likewise.
9560 (lgamma_test_data): Likewise.
9561 (log_test_data): Likewise.
9562 (log10_test_data): Likewise.
9563 (log1p_test_data): Likewise.
9564 (log2_test_data): Likewise.
9565 (pow_test_data): Likewise.
9566 (scalb_test_data): Likewise.
9567 (sin_test_data): Likewise.
9568 (sincos_test_data): Likewise.
9569 (sinh_test_data): Likewise.
9570 (tan_test_data): Likewise.
9571 (tanh_test_data): Likewise.
9572 (tgamma_test_data): Likewise.
9573 (y0_test_data): Likewise.
9574 (y1_test_data): Likewise.
9575 (yn_test_data): Likewise.
9576
66294491
JM
9577 [BZ #16167]
9578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9579 argument being NaN and avoid computations with second argument in
9580 that case.
9581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9583 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9584
1820b143
CL
95852013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9586
9587 * locale/iso-639.def: Add Chitwani Tharu (the).
9588
714bd261
AS
95892013-11-14 Andreas Schwab <schwab@suse.de>
9590
9591 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9592 word instead of empty string.
9593
7ab44563
AZ
95942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9595
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9597 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9599 (__fe_nomask_env): Likewise.
9600
e8470ea2
SE
96012013-11-13 Steve Ellcey <sellcey@mips.com>
9602
9603 * benchtests/bench-timing.h: Include time.h.
9604
17c1d9f0
L
96052013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 [BZ #15997]
9608 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9609 to 3.4.0 for x32.
9610 * sysdeps/unix/sysv/linux/configure: Regenerated.
9611
9310c284
JM
96122013-11-13 Joseph Myers <joseph@codesourcery.com>
9613
9614 [BZ #16151]
9615 * stdlib/strtod_l.c (round_and_return): Do not consider
9616 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9617 exponent one less than half the least subnormal exponent.
9618 * stdlib/test-strtod-round-data: Add more tests.
9619 * stdlib/tst-strtod-round.c (tests): Regenerated.
9620
7a2ad8cf
AZ
96212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9622
9623 [BZ #14143]
9624 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9625 (__fe_mask_env): Likewise.
9626 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9627 libm_hidden_proto and add function prototype.
9628 (__fe_mask_env): Add function prototype.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9630 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9632 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9634 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9635
50727aa7
MS
96362013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9637
b2f386c1 9638 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9639 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9640
a615be46
MS
96412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9642
9643 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9644 of htab_find_slot().
9645
7ddace62
DM
96462013-11-11 David S. Miller <davem@davemloft.net>
9647
9648 [BZ #16150]
9649 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9650 symbol in the non-vis3 case in static builds.
9651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9652 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9653 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9654 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9655
9182aa67
JK
96562013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9657
9658 [BZ #387]
9659 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9660 it is empty.
9661
450a2e2d
AZ
96622013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9663
b2f386c1
SP
9664 * benchtests/Makefile: Add bench-strtod.
9665 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9666
8ec3f656
AS
96672013-11-11 Andreas Schwab <schwab@suse.de>
9668
9669 [BZ #16153]
9670 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9671 terminating NUL in key length.
9672
76a9b998
AZ
96732013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9674
9675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9676 Add artificial ODP entry for vDSO symbol for PPC64.
9677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9678 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9679
e4368156
OB
96802013-11-07 Ondřej Bílka <neleai@seznam.cz>
9681
9682 [BZ #15374]
9683 * nss/getent.c (services_keys): Recognize services starting with digit.
9684
8d6bb57c
DM
96852013-11-06 David S. Miller <davem@davemloft.net>
9686
9687 [BZ #15985]
9688 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9689 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9690
e256c421
WN
96912013-11-06 Will Newton <will.newton@linaro.org>
9692
9693 * manual/memory.texi (Malloc Examples): Remove register
9694 keyword from examples.
9695
f6e12daa 96962013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9697
f6e12daa 9698 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9699
9d880655
AS
97002013-11-04 Joseph Myers <joseph@codesourcery.com>
9701
fd2f9486 9702 [BZ #6981]
9d880655
AS
9703 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9704 depending on [__GCC_IEC_559 > 0].
9705 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9706 depending on [__GCC_IEC_559_COMPLEX > 0].
9707
ae129d3c
CL
97082013-11-03 Chris Leonard <cjl@sugarlabs.org>
9709
9710 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9711 to iso-639.def.
9712
4a15c2a4 97132013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9714
9715 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9716
8b35e35d
OB
97172013-11-01 Ondřej Bílka <neleai@seznam.cz>
9718
9719 [BZ #16112]
9720 * malloc/malloc (malloc_info): Do not handle first bin as
9721 special case.
9722
1d70fd6c
CL
97232013-11-01 Chris Leonard <cjl@sugarlabs.org>
9724
9725 * locale/iso-639.def: Add Central Nahuatl (nhn).
9726
8c5c2600
BH
97272013-11-01 Bruno Haible <bruno@clisp.org>
9728
9729 [BZ #7003]
9730 * manual/math.texi (BSD Random): Specify range upper bound as
9731 in POSIX.
9732
da5579c2
CL
97332013-10-31 Chris Leonard <cjl@sugarlabs.org>
9734
9735 * locale/iso-639.def: Add Meadow Mari (mhr).
9736
5d30d853
OB
97372013-10-31 Ondřej Bílka <neleai@seznam.cz>
9738
9739 [BZ #14752], [BZ #15763]
9740 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9741 Validate name.
9742 * rt/tst_shm.c: Add test for escaping directory.
9743
a4966c61
AS
97442013-10-31 Andreas Schwab <schwab@suse.de>
9745
8a43e768 9746 [BZ #15917]
a4966c61
AS
9747 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9748 followed by 'x' as part of digit sequence.
9749 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9750
28d708c4
MAP
97512013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9752
9753 [BZ #16037]
9754 * configure.ac: allow GNU Make 4.0 and greater.
9755 * configure: Regenerated.
9756
a56ee40b
WN
97572013-10-30 Will Newton <will.newton@linaro.org>
9758
9759 [BZ #16038]
9760 * malloc/hooks.c (memalign_check): Limit alignment to the
9761 maximum representable power of two.
9762 * malloc/malloc.c (__libc_memalign): Likewise.
9763 * malloc/tst-memalign.c (do_test): Add test for very
9764 large alignment values.
9765 * malloc/tst-posix_memalign.c (do_test): Likewise.
9766
c6e4925d
OB
97672013-10-30 Ondřej Bílka <neleai@seznam.cz>
9768
9769 [BZ #11087]
9770 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9771 (munmap_chunk): Likewise.
9772 (mremap_chunk): Likewise.
9773
97742013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9775
8a43e768 9776 [BZ #15799]
bbea82f7
OB
9777 * stdlib/div.c (div): Remove obsolete code.
9778 * stdlib/ldiv.c (ldiv): Likewise.
9779 * stdlib/lldiv.c (lldiv): Likewise.
9780
977f4b31
SP
97812013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9782
9783 [BZ #16071]
9784 * nss/nss_files/files-XXX.c (get_contents_ret): New
9785 enumerator.
9786 (get_contents): New function.
9787 (internal_getent): Use it. Expand size of LINEBUFLEN.
9788
cb8a6dbd
MF
97892013-10-30 Mike Frysinger <vapier@gentoo.org>
9790
9791 * configure.in: Moved to ...
9792 * configure.ac: ... here. Change reference to configure.in
9793 to configure.ac.
9794 * sysdeps/arm/preconfigure.ac: ... here.
9795 configure.in to configure.ac.
9796 * sysdeps/gnu/configure.in: Moved to ...
9797 * sysdeps/gnu/configure.ac: ... here.
9798 * sysdeps/i386/configure.in: Moved to ...
9799 * sysdeps/i386/configure.ac: ... here.
9800 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9801 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9802 * sysdeps/mach/configure.in: Moved to ...
9803 * sysdeps/mach/configure.ac: ... here.
9804 * sysdeps/mach/hurd/configure.in: Moved to ...
9805 * sysdeps/mach/hurd/configure.ac: ... here.
9806 * sysdeps/powerpc/configure.in: Moved to ...
9807 * sysdeps/powerpc/configure.ac: ... here.
9808 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9809 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9810 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9811 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9812 * sysdeps/s390/s390-32/configure.in: Moved to ...
9813 * sysdeps/s390/s390-32/configure.ac: ... here.
9814 * sysdeps/s390/s390-64/configure.in: Moved to ...
9815 * sysdeps/s390/s390-64/configure.ac: ... here.
9816 * sysdeps/sh/configure.in: Moved to ...
9817 * sysdeps/sh/configure.ac: ... here.
9818 * sysdeps/sparc/configure.in: Moved to ...
9819 * sysdeps/sparc/configure.ac: ... here.
9820 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9821 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9822 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9823 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9824 * sysdeps/x86_64/configure.in: Moved to ...
9825 * sysdeps/x86_64/configure.ac: ... here.
9826 * sysdeps/x86_64/preconfigure.in: Moved to ...
9827 * sysdeps/x86_64/preconfigure.ac: ... here.
9828 * aclocal.m4: Change reference to configure.in to configure.ac.
9829 * config.h.in: Likewise.
9830 * manual/install.texi: Likewise.
9831 * manual/maint.texi: Likewise.
9832 * Makefile: Likewise.
9833 * malloc/Makefile: Likewise.
9834 * nscd/Makefile: Likewise.
9835 * Makeconfig: Change reference to configure.in and
9836 preconfigure.in to configure.ac and preconfigure.ac
9837 respectively.
9838 * INSTALL: Regenerated.
9839 * configure: Likewise.
9840 * sysdeps/gnu/configure: Likewise.
9841 * sysdeps/i386/configure: Likewise.
9842 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9843 * sysdeps/mach/configure: Likewise.
9844 * sysdeps/mach/hurd/configure: Likewise.
9845 * sysdeps/powerpc/configure: Likewise.
9846 * sysdeps/powerpc/powerpc32/configure: Likewise.
9847 * sysdeps/powerpc/powerpc64/configure: Likewise.
9848 * sysdeps/s390/s390-32/configure: Likewise.
9849 * sysdeps/s390/s390-64/configure: Likewise.
9850 * sysdeps/sh/configure: Likewise.
9851 * sysdeps/sparc/configure: Likewise.
9852 * sysdeps/unix/sysv/linux/configure: Likewise.
9853 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9854 * sysdeps/x86_64/configure: Likewise.
9855 * sysdeps/x86_64/preconfigure: Likewise.
9856
36a4953a
AS
98572013-10-29 Andreas Schwab <schwab@suse.de>
9858
9859 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9860
c79a1204
SP
98612013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9862
dfa1b402
SP
9863 * benchtests/pow-inputs: Add new inputs.
9864
54f73d9c
SP
9865 * benchtests/exp-inputs: Add new inputs.
9866
c79a1204
SP
9867 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9868 conditional check for return value.
9869 (__cos32): Likewise.
9870
67beb545 98712013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9872
9873 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9874 to provide a boost for large inputs with word alignment.
9875 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9876 implementation based on optimized PPC64 strcpy.
9877 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9878 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9879 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9880 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9881
151659f6
OB
98822013-10-25 Ondřej Bílka <neleai@seznam.cz>
9883
482a077e 9884 [BZ #2801]
151659f6
OB
9885 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9886
10b0f26b
OB
98872013-10-25 Ondřej Bílka <neleai@seznam.cz>
9888
9889 [BZ #14876]
9890 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9891 * time/tst-strptime.c (day_tests): Add testcase.
9892
ca42d35e
OB
98932013-10-25 Ondřej Bílka <neleai@seznam.cz>
9894
482a077e 9895 [BZ #14029]
ca42d35e
OB
9896 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9897
52e6d801
FB
98982013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9899
9900 [BZ #16074]
9901 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9902 MAP_FAILED on error.
9903
7cbcdb36
SP
99042013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9905
9906 [BZ #16072]
9907 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9908 heap for large requests.
9909
894f3f10
AM
99102013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9911
9912 [BZ #9954]
9913 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9914 result if the result has no associated interface.
9915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9916 interface for all 127.X.Y.Z addresses.
9917
b85545a6
CL
99182013-10-24 Chris Leonard <cjl@sugarlabs.org>
9919
9920 * locale/iso-639.def: Add Ligurian (lij)
9921
d1f23d46
OB
99222013-10-21 Ondřej Bílka <neleai@seznam.cz>
9923
9924 [BZ #15825]
9925 * sunrpc/rpc_main.c: Document rpcgen -5.
9926
4db5b08f
MS
99272013-10-19 Michael Stahl <mstahl@redhat.com>
9928
9929 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9930
a471e96a
OB
99312013-10-19 Ondřej Bílka <neleai@seznam.cz>
9932
d1f23d46 9933 [BZ #10278]
a471e96a
OB
9934 * posix/glob.c: Match only directories when trailing slash is present.
9935 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9936 (main): Add testcase.
9937
45c30c61
OB
99382013-10-19 Ondřej Bílka <neleai@seznam.cz>
9939
9940 [BZ #15670]
9941 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9942
484c12fb
CD
99432013-10-18 Carlos O'Donell <carlos@redhat.com>
9944
3d7dc513
CD
9945 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9946 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9947 AUTH_DES and cindex for FIPS 140-2.
9948 (DES Encryption): Add cindex FIPS 46-3.
9949
484c12fb
CD
9950 * locale/locarchive.h (struct locarhandle): Add fname.
9951 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9952 if an optional argument was specified to --list-archive,
9953 otherwise NULL.
9954 * locale/programs/locarchive.c (show_archive_content): Take new
9955 argument fname and pass it via ah.fname to open_archive.
9956 * locale/programs/localedef.h: Update decl.
9957 (open_archive): If AH->fname is non-null, open that file
9958 rather than the default file name, and don't ignore ENOENT.
9959 (create_archive): Set AH.fname to NULL.
9960 (delete_locales_from_archive): Likewise.
9961 (add_locales_to_archive): Likewise.
9962 * locale/programs/locfile.c (write_all_categories): Likewise.
9963
3c8325fb
JM
99642013-10-18 Joseph Myers <joseph@codesourcery.com>
9965 Aldy Hernandez <aldyh@redhat.com>
9966
9967 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9968 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9969 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9973 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9974 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9975 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9978 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9979 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9980 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9981 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9982 Likewise.
9983 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9984 Likewise.
9985 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9986 Likewise.
9987 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9988 Likewise.
9989 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9991 Likewise.
9992 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9993 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9995 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9996 Likewise.
9997 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9998 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9999 * sysdeps/powerpc/preconfigure: Likewise.
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10001 Likewise.
10002 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10003 Replace contents of file by #include of <fenv_libc.h>.
10004 * sysdeps/powerpc/soft-fp/sfp-machine.h
10005 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10006 and <sys/prctl.h>.
10007 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10017 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10020 Allow copysignl PLT reference to be missing.
10021
5abe0682
RS
100222013-10-18 Richard Sandiford <richard@codesourcery.com>
10023 Joseph Myers <joseph@codesourcery.com
10024
10025 [BZ #15948]
10026 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10027 single character.
10028 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10029
c7738d08
SP
100302013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10031
10032 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10033 * elf/tst-tls1.c: Likewise.
10034 * elf/tst-tls10.h: Likewise.
10035 * elf/tst-tls14.c: Likewise.
10036 * elf/tst-tls2.c: Likewise.
10037 * elf/tst-tls3.c: Likewise.
10038 * elf/tst-tls4.c: Likewise.
10039 * elf/tst-tls5.c: Likewise.
10040 * elf/tst-tls6.c: Likewise.
10041 * elf/tst-tls7.c: Likewise.
10042 * elf/tst-tls8.c: Likewise.
10043 * elf/tst-tls9.c: Likewise.
10044 * elf/tst-tlsmod1.c: Likewise.
10045 * elf/tst-tlsmod13.c: Likewise.
10046 * elf/tst-tlsmod13a.c: Likewise.
10047 * elf/tst-tlsmod14a.c: Likewise.
10048 * elf/tst-tlsmod16a.c: Likewise.
10049 * elf/tst-tlsmod16b.c: Likewise.
10050 * elf/tst-tlsmod2.c: Likewise.
10051 * elf/tst-tlsmod3.c: Likewise.
10052 * elf/tst-tlsmod4.c: Likewise.
10053 * elf/tst-tlsmod5.c: Likewise.
10054 * elf/tst-tlsmod6.c: Likewise.
10055
0bfcf2c7
OB
100562013-10-18 Ondřej Bílka <neleai@seznam.cz>
10057
10058 [BZ #12486]
10059 * malloc/malloc.c: remove checks for statistics.
10060
264aad1e
OB
100612013-10-17 Ondřej Bílka <neleai@seznam.cz>
10062
10063 [BZ #15277]
10064 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10065 * inet/tst-network.c: Add testcase.
10066
b957ced8
AS
100672013-10-17 Andreas Schwab <schwab@suse.de>
10068
10069 [BZ #15218]
10070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10071 to determine canonical name.
10072
c5d5d574
OB
100732013-10-17 Ondřej Bílka <neleai@seznam.cz>
10074
10075 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10076 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10099 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10100 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10133
e5c2c2d0
JM
101342013-10-17 Joseph Myers <joseph@codesourcery.com>
10135
10136 [BZ #16041]
10137 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10138 make result into a quiet NaN.
10139
51ca9e29
JM
101402013-10-16 Joseph Myers <joseph@codesourcery.com>
10141
10142 * soft-fp/adddf3.c: Fix horizontal whitespace.
10143 * soft-fp/addsf3.c: Likewise.
10144 * soft-fp/addtf3.c: Likewise.
10145 * soft-fp/divdf3.c: Likewise.
10146 * soft-fp/divsf3.c: Likewise.
10147 * soft-fp/divtf3.c: Likewise.
10148 * soft-fp/double.h: Likewise.
10149 * soft-fp/eqdf2.c: Likewise.
10150 * soft-fp/eqsf2.c: Likewise.
10151 * soft-fp/eqtf2.c: Likewise.
10152 * soft-fp/extenddftf2.c: Likewise.
10153 * soft-fp/extended.h: Likewise.
10154 * soft-fp/extendsfdf2.c: Likewise.
10155 * soft-fp/extendsftf2.c: Likewise.
10156 * soft-fp/extendxftf2.c: Likewise.
10157 * soft-fp/fixdfdi.c: Likewise.
10158 * soft-fp/fixdfsi.c: Likewise.
10159 * soft-fp/fixdfti.c: Likewise.
10160 * soft-fp/fixsfdi.c: Likewise.
10161 * soft-fp/fixsfsi.c: Likewise.
10162 * soft-fp/fixsfti.c: Likewise.
10163 * soft-fp/fixtfdi.c: Likewise.
10164 * soft-fp/fixtfsi.c: Likewise.
10165 * soft-fp/fixtfti.c: Likewise.
10166 * soft-fp/fixunsdfdi.c: Likewise.
10167 * soft-fp/fixunsdfsi.c: Likewise.
10168 * soft-fp/fixunsdfti.c: Likewise.
10169 * soft-fp/fixunssfdi.c: Likewise.
10170 * soft-fp/fixunssfsi.c: Likewise.
10171 * soft-fp/fixunssfti.c: Likewise.
10172 * soft-fp/fixunstfdi.c: Likewise.
10173 * soft-fp/fixunstfsi.c: Likewise.
10174 * soft-fp/fixunstfti.c: Likewise.
10175 * soft-fp/floatdidf.c: Likewise.
10176 * soft-fp/floatdisf.c: Likewise.
10177 * soft-fp/floatditf.c: Likewise.
10178 * soft-fp/floatsidf.c: Likewise.
10179 * soft-fp/floatsisf.c: Likewise.
10180 * soft-fp/floatsitf.c: Likewise.
10181 * soft-fp/floattidf.c: Likewise.
10182 * soft-fp/floattisf.c: Likewise.
10183 * soft-fp/floattitf.c: Likewise.
10184 * soft-fp/floatundidf.c: Likewise.
10185 * soft-fp/floatundisf.c: Likewise.
10186 * soft-fp/floatunditf.c: Likewise.
10187 * soft-fp/floatunsidf.c: Likewise.
10188 * soft-fp/floatunsisf.c: Likewise.
10189 * soft-fp/floatunsitf.c: Likewise.
10190 * soft-fp/floatuntidf.c: Likewise.
10191 * soft-fp/floatuntisf.c: Likewise.
10192 * soft-fp/floatuntitf.c: Likewise.
10193 * soft-fp/fmadf4.c: Likewise.
10194 * soft-fp/fmasf4.c: Likewise.
10195 * soft-fp/fmatf4.c: Likewise.
10196 * soft-fp/gedf2.c: Likewise.
10197 * soft-fp/gesf2.c: Likewise.
10198 * soft-fp/getf2.c: Likewise.
10199 * soft-fp/ledf2.c: Likewise.
10200 * soft-fp/lesf2.c: Likewise.
10201 * soft-fp/letf2.c: Likewise.
10202 * soft-fp/muldf3.c: Likewise.
10203 * soft-fp/mulsf3.c: Likewise.
10204 * soft-fp/multf3.c: Likewise.
10205 * soft-fp/negdf2.c: Likewise.
10206 * soft-fp/negsf2.c: Likewise.
10207 * soft-fp/negtf2.c: Likewise.
10208 * soft-fp/op-1.h: Likewise.
10209 * soft-fp/op-2.h: Likewise.
10210 * soft-fp/op-4.h: Likewise.
10211 * soft-fp/op-8.h: Likewise.
10212 * soft-fp/op-common.h: Likewise.
10213 * soft-fp/quad.h: Likewise.
10214 * soft-fp/single.h: Likewise.
10215 * soft-fp/soft-fp.h: Likewise.
10216 * soft-fp/sqrtdf2.c: Likewise.
10217 * soft-fp/sqrtsf2.c: Likewise.
10218 * soft-fp/sqrttf2.c: Likewise.
10219 * soft-fp/subdf3.c: Likewise.
10220 * soft-fp/subsf3.c: Likewise.
10221 * soft-fp/subtf3.c: Likewise.
10222 * soft-fp/truncdfsf2.c: Likewise.
10223 * soft-fp/trunctfdf2.c: Likewise.
10224 * soft-fp/trunctfsf2.c: Likewise.
10225 * soft-fp/trunctfxf2.c: Likewise.
10226 * soft-fp/unorddf2.c: Likewise.
10227 * soft-fp/unordsf2.c: Likewise.
10228 * soft-fp/unordtf2.c: Likewise.
10229
9ebb0332
JM
102302013-10-15 Joseph Myers <joseph@codesourcery.com>
10231
10232 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10233 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10234
4b1a6d8b
OB
102352013-10-15 Ondřej Bílka <neleai@seznam.cz>
10236
10237 * elf/dl-libc.c: Clear initfini list after freeing.
10238
1e145589
JM
102392013-10-14 Joseph Myers <joseph@codesourcery.com>
10240
10241 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10242 * soft-fp/addsf3.c: Likewise.
10243 * soft-fp/addtf3.c: Likewise.
10244 * soft-fp/divdf3.c: Likewise.
10245 * soft-fp/divsf3.c: Likewise.
10246 * soft-fp/divtf3.c: Likewise.
10247 * soft-fp/double.h: Likewise.
10248 * soft-fp/eqdf2.c: Likewise.
10249 * soft-fp/eqsf2.c: Likewise.
10250 * soft-fp/eqtf2.c: Likewise.
10251 * soft-fp/extenddftf2.c: Likewise.
10252 * soft-fp/extended.h: Likewise.
10253 * soft-fp/extendsfdf2.c: Likewise.
10254 * soft-fp/extendsftf2.c: Likewise.
10255 * soft-fp/extendxftf2.c: Likewise.
10256 * soft-fp/fixdfdi.c: Likewise.
10257 * soft-fp/fixdfsi.c: Likewise.
10258 * soft-fp/fixdfti.c: Likewise.
10259 * soft-fp/fixsfdi.c: Likewise.
10260 * soft-fp/fixsfsi.c: Likewise.
10261 * soft-fp/fixsfti.c: Likewise.
10262 * soft-fp/fixtfdi.c: Likewise.
10263 * soft-fp/fixtfsi.c: Likewise.
10264 * soft-fp/fixtfti.c: Likewise.
10265 * soft-fp/fixunsdfdi.c: Likewise.
10266 * soft-fp/fixunsdfsi.c: Likewise.
10267 * soft-fp/fixunsdfti.c: Likewise.
10268 * soft-fp/fixunssfdi.c: Likewise.
10269 * soft-fp/fixunssfsi.c: Likewise.
10270 * soft-fp/fixunssfti.c: Likewise.
10271 * soft-fp/fixunstfdi.c: Likewise.
10272 * soft-fp/fixunstfsi.c: Likewise.
10273 * soft-fp/fixunstfti.c: Likewise.
10274 * soft-fp/floatdidf.c: Likewise.
10275 * soft-fp/floatdisf.c: Likewise.
10276 * soft-fp/floatditf.c: Likewise.
10277 * soft-fp/floatsidf.c: Likewise.
10278 * soft-fp/floatsisf.c: Likewise.
10279 * soft-fp/floatsitf.c: Likewise.
10280 * soft-fp/floattidf.c: Likewise.
10281 * soft-fp/floattisf.c: Likewise.
10282 * soft-fp/floattitf.c: Likewise.
10283 * soft-fp/floatundidf.c: Likewise.
10284 * soft-fp/floatundisf.c: Likewise.
10285 * soft-fp/floatunsidf.c: Likewise.
10286 * soft-fp/floatunsisf.c: Likewise.
10287 * soft-fp/floatuntidf.c: Likewise.
10288 * soft-fp/floatuntisf.c: Likewise.
10289 * soft-fp/floatuntitf.c: Likewise.
10290 * soft-fp/fmadf4.c: Likewise.
10291 * soft-fp/fmasf4.c: Likewise.
10292 * soft-fp/fmatf4.c: Likewise.
10293 * soft-fp/gedf2.c: Likewise.
10294 * soft-fp/gesf2.c: Likewise.
10295 * soft-fp/getf2.c: Likewise.
10296 * soft-fp/ledf2.c: Likewise.
10297 * soft-fp/lesf2.c: Likewise.
10298 * soft-fp/letf2.c: Likewise.
10299 * soft-fp/muldf3.c: Likewise.
10300 * soft-fp/mulsf3.c: Likewise.
10301 * soft-fp/multf3.c: Likewise.
10302 * soft-fp/negdf2.c: Likewise.
10303 * soft-fp/negsf2.c: Likewise.
10304 * soft-fp/negtf2.c: Likewise.
10305 * soft-fp/op-1.h: Likewise.
10306 * soft-fp/op-2.h: Likewise.
10307 * soft-fp/op-4.h: Likewise.
10308 * soft-fp/op-8.h: Likewise.
10309 * soft-fp/op-common.h: Likewise.
10310 * soft-fp/quad.h: Likewise.
10311 * soft-fp/single.h: Likewise.
10312 * soft-fp/soft-fp.h: Likewise.
10313 * soft-fp/sqrtdf2.c: Likewise.
10314 * soft-fp/sqrtsf2.c: Likewise.
10315 * soft-fp/sqrttf2.c: Likewise.
10316 * soft-fp/subdf3.c: Likewise.
10317 * soft-fp/subsf3.c: Likewise.
10318 * soft-fp/subtf3.c: Likewise.
10319 * soft-fp/truncdfsf2.c: Likewise.
10320 * soft-fp/trunctfdf2.c: Likewise.
10321 * soft-fp/trunctfsf2.c: Likewise.
10322 * soft-fp/trunctfxf2.c: Likewise.
10323 * soft-fp/unorddf2.c: Likewise.
10324 * soft-fp/unordsf2.c: Likewise.
10325 * soft-fp/unordtf2.c: Likewise.
10326
17c48a60
OB
103272013-10-14 Ondřej Bílka <neleai@seznam.cz>
10328
10329 [BZ #15672]
10330 * misc/error.c (error_tail): Fix possible buffer overflow.
10331
cabba934
OB
103322013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10333
10334 [BZ #13028]
10335 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10336 address.
10337
94bf958a
PM
103382013-10-14 P. J. McDermott <pj@pehjota.net>
10339
10340 [BZ #832]
10341 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10342 testing pipefail option.
10343
71b4dea7
JM
103442013-10-12 Joseph Myers <joseph@codesourcery.com>
10345
10346 * soft-fp/double.h: Indent preprocessor directives inside #if.
10347 * soft-fp/extended.h: Likewise.
10348 * soft-fp/op-2.h: Likewise.
10349 * soft-fp/op-4.h: Likewise.
10350 * soft-fp/op-common.h: Likewise.
10351 * soft-fp/quad.h: Likewise.
10352 * soft-fp/single.h: Likewise.
10353 * soft-fp/soft-fp.h: Likewise.
10354
55602758
YC
103552013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10356
10357 * iconv/iconv_prog.c: Fix typos.
10358 * stdio-common/psiginfo-data.h: Likewise.
10359
9cd83302
RT
103602013-10-12 Reuben Thomas <rrt@sc3d.org>
10361
10362 [BZ #15764]
10363 * locale/setlocale.c: Fix typo.
10364
99fd9f47
JM
103652013-10-12 Joseph Myers <joseph@codesourcery.com>
10366
b7ea74f0
JM
10367 [BZ #16036]
10368 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10369 signaling NaN arguments.
10370 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10371 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10372
8a509447
JM
10373 [BZ #14910]
10374 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10375 unordered operands.
10376 * soft-fp/gesf2.c (__gesf2): Likewise.
10377 * soft-fp/getf2.c (__getf2): Likewise.
10378 * soft-fp/ledf2.c (__ledf2): Likewise.
10379 * soft-fp/lesf2.c (__lesf2): Likewise.
10380 * soft-fp/letf2.c (__letf2): Likewise.
10381
98998e9f
JM
10382 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10383 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10384 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10385 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10386 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10387 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10388 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10389 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10390 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10391 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10392 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10393 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10394 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10395 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10396 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10397 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10398 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10399 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10400 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10401 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10402 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10403 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10404 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10405 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10406 * soft-fp/floattidf.c (__floattidf): Likewise.
10407 * soft-fp/floattisf.c (__floattisf): Likewise.
10408 * soft-fp/floattitf.c (__floattitf): Likewise.
10409 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10410 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10411 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10412 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10413 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10414 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10415 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10416 * soft-fp/gesf2.c (__gesf2): Likewise.
10417 * soft-fp/getf2.c (__getf2): Likewise.
10418 * soft-fp/ledf2.c (__ledf2): Likewise.
10419 * soft-fp/lesf2.c (__lesf2): Likewise.
10420 * soft-fp/letf2.c (__letf2): Likewise.
10421
8edc4a11
JM
10422 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10423 Undefine and redefine.
10424 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10425 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10426 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10427 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10428 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10429 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10430 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10431 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10432 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10433 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10434 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10435 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10436 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10437 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10438 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10439
8399acaf
JM
10440 [BZ #16032]
10441 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10442 without decrementing exponent if mantissa >= that for the
10443 denominator, not >.
10444 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10445 denominator, not >. Decrement exponent in < case instead of
10446 incrementing in >= case.
10447 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10448 without decrementing exponent if mantissa >= that for the
10449 denominator, not >.
10450
99fd9f47
JM
10451 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10452 computing saturated result for unsigned overflow.
10453
10e1cf6b
SP
104542013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10455 Jeff Law <law@redhat.com>
10456
10457 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10458 (atan2Mp): Add systemtap probe marker.
10459 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10460 (__ieee754_log): Add systemtap probe marker.
10461 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10462 (atanMp): Add systemtap probe marker.
10463 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10464 (tanMp): Add systemtap probe marker.
10465 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10466 (__slowexp): Add systemtap probe marker.
10467 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10468 (__slowpow): Add systemtap probe marker.
10469 * manual/probes.texi: Document probes.
10470
3d110c7c
EB
104712013-10-11 Eric Biggers <ebiggers3@gmail.com>
10472
10473 [BZ #15362]
10474 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10475 written.
10476 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10477 written.
10478 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10479 written to buffer but not flushed.
10480 * libio/iofwrite_u.c: Likewise.
10481 * libio/iopadn.c: Return bytes returned even if EOF was
10482 encountered.
10483 * libio/iowpadn.c: Likewise.
10484 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10485 if _IO_padn does not write the whole buffer.
10486 [!COMPILE_WPRINTF] (PAD): Likewise.
10487
75b4202a
DM
104882013-10-10 David S. Miller <davem@davemloft.net>
10489
10490 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10491 directory block.
10492
6c6352e6
JM
104932013-10-10 Joseph Myers <joseph@codesourcery.com>
10494
33b853c3
JM
10495 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10496 instead of FSF address.
10497 * soft-fp/fixdfti.c: Likewise.
10498 * soft-fp/fixsfti.c: Likewise.
10499 * soft-fp/fixtfti.c: Likewise.
10500 * soft-fp/fixunsdfti.c: Likewise.
10501 * soft-fp/fixunssfti.c: Likewise.
10502 * soft-fp/fixunstfti.c: Likewise.
10503 * soft-fp/floattidf.c: Likewise.
10504 * soft-fp/floattisf.c: Likewise.
10505 * soft-fp/floattitf.c: Likewise.
10506 * soft-fp/floatuntidf.c: Likewise.
10507 * soft-fp/floatuntisf.c: Likewise.
10508 * soft-fp/floatuntitf.c: Likewise.
10509 * soft-fp/trunctfxf2.c: Likewise.
10510
6c6352e6
JM
10511 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10512 * soft-fp/fixdfti.c: Likewise.
10513 * soft-fp/fixsfti.c: Likewise.
10514 * soft-fp/fixtfti.c: Likewise.
10515 * soft-fp/fixunsdfti.c: Likewise.
10516 * soft-fp/fixunssfti.c: Likewise.
10517 * soft-fp/fixunstfti.c: Likewise.
10518 * soft-fp/floattidf.c: Likewise.
10519 * soft-fp/floattisf.c: Likewise.
10520 * soft-fp/floattitf.c: Likewise.
10521 * soft-fp/floatuntidf.c: Likewise.
10522 * soft-fp/floatuntisf.c: Likewise.
10523 * soft-fp/floatuntitf.c: Likewise.
10524 * soft-fp/trunctfxf2.c: Likewise.
10525
3bf78b71
DM
105262013-10-10 David S. Miller <davem@davemloft.net>
10527
10528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10529
6f10289e
JM
105302013-10-10 Joseph Myers <joseph@codsourcery.com>
10531
bd878fc0
JM
10532 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10533 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10534 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10536 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10537 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10538 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10539
6f10289e
JM
10540 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10541 for NaNs before doing comparisons on argument.
10542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10543 Likewise.
10544
321e2684
WN
105452013-10-10 Will Newton <will.newton@linaro.org>
10546
10547 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10548 passed to _int_memalign does not overflow.
10549
40fefba1
TR
105502013-10-10 Torvald Riegel <triegel@redhat.com>
10551
10552 * scripts/bench.pl: Add include-sources directive.
10553 * benchtests/README: Update documentation.
10554
2ae21ed2
JM
105552013-10-10 Joseph Myers <joseph@codesourcery.com>
10556
dcc2dd3f
JM
10557 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10558 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10559 instead of FP_INIT_ROUNDMODE.
10560 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10561 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10562
2ae21ed2
JM
10563 [BZ #16034]
10564 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10565 copy class of input value.
10566 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10567 not handle exceptions.
10568 * soft-fp/negsf2.c (__negsf2): Likewise.
10569 * soft-fp/negtf2.c (__negtf2): Likewise.
10570 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10571
cb8f9562
JM
105722013-10-09 Joseph Myers <joseph@codesourcery.com>
10573
10574 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10575 semicolon. From Linux kernel.
10576
5b60c59d
AB
105772013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10578
10579 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10580
b86835ca
YC
105812013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10582
10583 [BZ #156]
10584 * manual/socket.texi: Added statement about buffer
10585 for gethostbyname2_r.
10586
e7044ea7
OB
105872013-10-08 Ondřej Bílka <neleai@seznam.cz>
10588
10589 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10590 Use .p2align directive instead, throughout.
10591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10592 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10593 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10596 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10597 * sysdeps/x86_64/strchr.S: Likewise.
10598 * sysdeps/x86_64/strrchr.S: Likewise.
10599
09544cbc
SP
106002013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
88576635
SP
10602 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10603
e7b2d1dd
SP
10604 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10605
09544cbc
SP
10606 * sysdeps/generic/math_private.h (__mpsin1): Remove
10607 declaration.
10608 (__mpcos1): Likewise.
10609 (__mpsin): New argument __range_reduce.
10610 (__mpcos): Likewise.
10611 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10612 (slow): Use __mpsin and __mpcos.
10613 (slow1): Likewise.
10614 (slow2): Likewise.
10615 (sloww): Likewise.
10616 (sloww1): Likewise.
10617 (sloww2): Likewise.
10618 (bsloww): Likewise.
10619 (bsloww1): Likewise.
10620 (bsloww2): Likewise.
10621 (cslow2): Likewise.
10622 (csloww): Likewise.
10623 (csloww1): Likewise.
10624 (csloww2): Likewise.
10625 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10626 range_reduce. Merge in __mpsin1.
10627 (__mpcos): Likewise.
10628 (__mpsin1): Remove.
10629 (__mpcos1): Likewise.
10630
7602d070
JM
106312013-10-07 Joseph Myers <joseph@codesourcery.com>
10632
10633 * locale/loadlocale.c (_nl_intern_locale_data): Use
10634 LOCFILE_ALIGNED_P.
10635 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10636 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10637 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10638 obstack data is appropriately aligned.
10639 (obstack_int32_grow_fast): Likewise.
10640 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10641 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10642 (add_locale_uint32_array): Likewise.
10643
a357259b
SP
106442013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10645
10646 * benchtests/Makefile: Remove ARGLIST and RET variables.
10647 ($(objpfx)bench-%.c): Pass only function name to the script.
10648 * benchtests/README: Update documentation.
10649 * benchtests/acos-inputs: Add new directives.
10650 * benchtests/acosh-inputs: Likewise.
10651 * benchtests/asin-inputs: Likewise.
10652 * benchtests/asinh-inputs: Likewise.
10653 * benchtests/atan-inputs: Likewise.
10654 * benchtests/atanh-inputs: Likewise.
10655 * benchtests/cos-inputs: Likewise.
10656 * benchtests/cosh-inputs: Likewise.
10657 * benchtests/exp-inputs: Likewise.
10658 * benchtests/log-inputs: Likewise.
10659 * benchtests/pow-inputs: Likewise.
10660 * benchtests/rint-inputs: Likewise.
10661 * benchtests/sin-inputs: Likewise.
10662 * benchtests/sinh-inputs: Likewise.
10663 * benchtests/tan-inputs: Likewise.
10664 * benchtests/tanh-inputs: Likewise.
10665 * scripts/bench.pl: Add support for new directives.
10666
9ec1b13d
AM
106672013-10-07 Alan Modra <amodra@gmail.com>
10668
10669 * README: Fix careless merge.
10670
8b7d57cd
AM
106712013-10-05 Alan Modra <amodra@gmail.com>
10672
10673 * NEWS: Mention powerpc64le support and bugs fixed.
10674 * README: Both big-endian and little-endian powerpc64 supported.
10675
7b7bab13
ST
106762013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10677
57f41c40
AS
10678 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10679 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10680 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10681 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10682
d39baad1
RA
106832013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10684
10685 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10686 match prototype.
10687
cd78f7e7
JM
106882013-10-04 Joseph Myers <joseph@codesourcery.com>
10689
29d73d86
JM
10690 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10691 Move -mhard-float appending from
10692 ports/sysdeps/powerpc/powerpc32/Makefile.
10693 [$(with-fp) = yes] (ASFLAGS): Likewise.
10694 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10695 * sysdeps/powerpc/nofpu: Move directory from
10696 ports/sysdeps/powerpc/nofpu.
10697 * sysdeps/powerpc/soft-fp: Move directory from
10698 ports/sysdeps/powerpc/soft-fp.
10699 * sysdeps/powerpc/powerpc32/405: Move directory from
10700 ports/sysdeps/powerpc/powerpc32/405.
10701 * sysdeps/powerpc/powerpc32/440: Move directory from
10702 ports/sysdeps/powerpc/powerpc32/440.
10703 * sysdeps/powerpc/powerpc32/464: Move directory from
10704 ports/sysdeps/powerpc/powerpc32/464.
10705 * sysdeps/powerpc/powerpc32/476: Move directory from
10706 ports/sysdeps/powerpc/powerpc32/476.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10710 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10712 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10714 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10716 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10717 * README: Update for powerpc-*-linux-gnu software floating point
10718 support in libc.
10719
e246b347
JM
10720 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10721 case to powerpc/powerpc32*.
10722 * sysdeps/unix/sysv/linux/configure: Regenerated.
10723
89c2003e
JM
10724 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10725 (_FPU_MASK_OM): Define as 0x04.
10726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10728 0x00c10080.
10729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10730 0x0000003c.
10731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10732
cd78f7e7
JM
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10734 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10735 getcontext_e500.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10737 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10738 setcontext_e500.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10740 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10741 and setcontext_e500.
10742
c755294d
CL
107432013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10744
10745 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10746
e16d221c
SP
107472013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10748
10749 * manual/threads.texi (Default Thread Attributes): Fix typo.
10750
215c7d43
WN
107512013-10-04 Will Newton <will.newton@linaro.org>
10752
10753 * malloc/Makefile: Add tst-memalign.
10754 * malloc/tst-memalign.c: New file.
10755
27d0461b
WN
10756 * malloc/tst-posix_memalign.c: Add comments.
10757 (do_test): Add comments and call free on all potentially
10758 allocated pointers. Add space after cast.
10759
1bc92709
WN
10760 * malloc/tst-pvalloc.c: Add comments.
10761 (do_test): Add comments and call free on all potentially
10762 allocated pointers. Remove duplicate check for NULL pointer.
10763 Add space after cast.
10764
66a9be9d
WN
10765 * malloc/tst-valloc.c: Add comments.
10766 (do_test): Add comments and call free on all potentially
10767 allocated pointers. Remove duplicate check for NULL pointer.
10768 Add space after cast.
10769
4cb81307
AM
107702013-10-04 Alan Modra <amodra@gmail.com>
10771
10772 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10773 Use stdint types in rather than __attribute__((mode())).
10774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10775
f8e3e9f3
AM
107762013-10-04 Alan Modra <amodra@gmail.com>
10777
10778 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10779 Correct handling of unaligned relocs for little-endian.
10780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10781
8f9ebb08
AM
107822013-10-04 Alan Modra <amodra@gmail.com>
10783
10784 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10785 * configure: Regenerate.
10786 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10787 * shlib-versions: Likewise.
10788
0edf96c2
AM
107892013-10-04 Alan Modra <amodra@gmail.com>
10790
10791 * string/tester.c (test_memrchr): Increment reported test cycle.
10792
e0f7a380
AM
107932013-10-04 Alan Modra <amodra@gmail.com>
10794
10795 * string/test-memcpy.c (do_one_test): When reporting errors, print
10796 string address and don't overrun end of string.
10797
466b0393
AM
107982013-10-04 Alan Modra <amodra@gmail.com>
10799
10800 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10801 insrdi. Make better use of reg selection to speed exit slightly.
10802 Schedule entry path a little better. Remove useless "are we done"
10803 checks on entry to main loop. Handle wrapping around zero address.
10804 Correct main loop count. Handle single left-over word from main
10805 loop inline rather than by using loop_small. Remove extra word
10806 case in loop_small caused by wrong loop count. Add little-endian
10807 support.
10808 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10810 cache hint.
10811 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10812 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10813 support. Avoid rlwimi.
10814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10815
3be87c77
AM
108162013-10-04 Alan Modra <amodra@gmail.com>
10817
10818 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10819 insrdi. Formatting.
3be87c77
AM
10820 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10821 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10822 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10823 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10824 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10825 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10826
759cfef3
AM
108272013-10-04 Alan Modra <amodra@gmail.com>
10828
10829 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10830 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10831 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10833 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10834 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10836 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10837 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10838 use of regs. Use power7 mtocrf. Tidy function tails.
10839
fe6e95d7
AM
108402013-10-04 Alan Modra <amodra@gmail.com>
10841
10842 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10843 Formatting. Consistently use rXXX register defines or rN defines.
10844 Use early exit labels that avoid restoring unused non-volatile regs.
10845 Make cr field use more consistent with rWORDn compares. Rename
10846 regs used as shift registers for unaligned loop, using rN defines
10847 for short lifetime/multiple use regs.
10848 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10849 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10850 addi 1,1,64 to pop stack frame. Simplify return value code.
10851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10852
664318c3
AM
108532013-10-04 Alan Modra <amodra@gmail.com>
10854
10855 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10856 support. Correct typos, formatting. Optimize tail. Use insrdi
10857 rather than rlwimi.
10858 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10859 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10860 little-endian support. Correct typos.
10861 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10862 rather than rlwimi.
10863 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10864 in loop and entry code to keep "and." results.
10865 (strchr): Add little-endian support. Comment. Move cntlzd
10866 earlier in tail.
10867 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10868
43b84013
AM
108692013-10-04 Alan Modra <amodra@gmail.com>
10870
10871 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10872 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10873 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10874 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10875
8a7413f9
AM
108762013-10-04 Alan Modra <amodra@gmail.com>
10877
10878 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10879 (rTMP): Define as r11.
10880 (strcmp): Add little-endian support. Optimise tail.
10881 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10883 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10884 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10888
33ee81de
AM
108892013-10-04 Alan Modra <amodra@gmail.com>
10890
10891 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10892 little-endian support. Remove unnecessary "are we done" tests.
10893 Handle "s" wrapping around zero and extremely large "size".
10894 Correct main loop count. Handle single left-over word from main
10895 loop inline rather than by using small_loop. Correct comments.
10896 Delete "zero" tail, use "end_max" instead.
10897 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10898
db9b4570
AM
108992013-10-04 Alan Modra <amodra@gmail.com>
10900
10901 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10902 support. Don't branch over align.
10903 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10904 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10905 support. Rearrange tmp reg use to suit. Comment.
10906 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10907
f7c399cf
AM
109082013-10-04 Alan Modra <amodra@gmail.com>
10909
10910 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10911
0b2c2ace
AM
109122013-10-04 Alan Modra <amodra@gmail.com>
10913
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10915 conditional form of branch and link when obtaining pc.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10917
02f04a6c
AM
109182013-10-04 Alan Modra <amodra@gmail.com>
10919
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10921 HIWORD/LOWORD.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10924
9b874b2f
AM
109252013-10-04 Alan Modra <amodra@gmail.com>
10926
10927 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10928 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10929 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10931 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10932 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10933 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10934 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10935 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10936 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10937
be1e5d31
AB
109382013-10-04 Anton Blanchard <anton@au1.ibm.com>
10939 Alistair Popple <alistair@ozlabs.au.ibm.com>
10940 Alan Modra <amodra@gmail.com>
10941
10942 [BZ #15723]
10943 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10944 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10945 _dl_hwcap access for little-endian.
10946 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10947 destroy vmx regs when saving unaligned.
10948 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10949 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10950 destroy vmx regs when saving unaligned.
10951
fef13a78
AM
109522013-10-04 Alan Modra <amodra@gmail.com>
10953
10954 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10955 Don't use a union to pack hi/low value.
10956
76a66d51
AB
109572013-10-04 Anton Blanchard <anton@au1.ibm.com>
10958
10959 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10960 for little-endian.
10961 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10963 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10964 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10965 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10966
6a31fe7f
AM
109672013-10-04 Alan Modra <amodra@gmail.com>
10968
10969 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10970 constants to usual value for .cst8 section, and remove redundant
10971 high address load.
10972 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10973 constant for 0x1p52. Load little-endian words of double from
10974 correct stack offsets.
10975
7b88401f
AM
109762013-10-04 Alan Modra <amodra@gmail.com>
10977
10978 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10979 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10980 words of double from correct stack offsets.
10981 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10982 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10983 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10985 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10986 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10987 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10988 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10991 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10992 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10993 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10994 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10996 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10997 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10998
9c008155
AM
109992013-10-04 Alan Modra <amodra@gmail.com>
11000
11001 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11002 64-bit int/double union.
11003 (_FPU_SETCW): Likewise.
11004 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11005 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11006
da13146d
AM
110072013-10-04 Alan Modra <amodra@gmail.com>
11008
11009 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11010 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11011
603e8410
AM
110122013-10-04 Alan Modra <amodra@gmail.com>
11013
11014 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11015 use vector int constants.
11016 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11017
4a28b3ca
AB
110182013-10-04 Anton Blanchard <anton@au1.ibm.com>
11019
11020 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11021 array with long long.
11022 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11023 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11024 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11025 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11026 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11027 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11028 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11029 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11030 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11031 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11032 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11033 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11034 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11035
2ca85d2b
AB
110362013-10-04 Anton Blanchard <anton@au1.ibm.com>
11037
11038 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11039 (__signbit): Likewise. Correct for little-endian.
11040 (__signbitl): Call __signbit.
11041 (lrint): Correct for little-endian.
11042 (lrintf): Call lrint.
11043
62a728ae
AM
110442013-10-04 Alan Modra <amodra@gmail.com>
11045
11046 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11047 union 32-bit int array member with 64-bit int array.
11048 (t515, tm256): Double rather than long double.
11049 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11050
32c301df
AM
110512013-10-04 Alan Modra <amodra@gmail.com>
11052
11053 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11054 Delete.
11055 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11057 version of math_ldbl.h.
11058
650ef4bd
AM
110592013-10-04 Alan Modra <amodra@gmail.com>
11060
11061 [BZ #15734], [BZ #15735]
11062 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11063 all uses of ieee875 long double macros and unions. Simplify test
11064 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11065 ldbl_extract_mantissa value for ix,iy exponents. Properly
11066 normalize after ldbl_extract_mantissa, and don't add hidden bit
11067 already handled. Don't treat low word of ieee854 mantissa like
11068 low word of IBM long double and mask off bit when testing for
11069 zero.
11070 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11071 all uses of ieee875 long double macros and unions. Simplify tests
11072 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11073 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11074 two1022, instead use their values. Recognise that tests for large
11075 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11076 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11077 Rewrite all uses of ieee875 long double macros and unions. Simplify
11078 test for 0.0L and nan. Correct negation.
11079 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11080 ieee875 long double macros and unions. Correct output for large
11081 magnitude x. Correct absolute value calculation.
11082 (__erfcl): Likewise.
11083 * math/libm-test.inc: Add tests for errors discovered in IBM long
11084 double versions of fmodl, remainderl, erfl and erfcl.
11085
765714ca
AM
110862013-10-04 Alan Modra <amodra@gmail.com>
11087
11088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11089 all uses of ieee854 long double macros and unions. Simplify tests
11090 for long doubles that are fully specified by the high double.
11091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11092 Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11094 Remove dead code too.
11095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11096 (__ieee754_ynl): Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11100 Remove dead code too.
11101 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11105 Simplify.
11106 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11107 Simplify.
11108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11111 Comment on variable precision.
11112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11114 Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11119 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11120
4ebd120c
AM
111212013-10-04 Alan Modra <amodra@gmail.com>
11122
11123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11125 all uses of ieee854 long double macros and unions.
11126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11132 Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11139 Simplify sign and nan test too.
11140 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11144 Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11147 Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11154
1b6adf88
AM
111552013-10-04 Alan Modra <amodra@gmail.com>
11156
11157 * stdio-common/printf_size.c (__printf_size): Don't use
11158 union ieee854_long_double in fpnum union.
11159 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11160 signbit macro to retrieve sign from long double.
11161 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11162 retrieve sign from long double.
11163 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11164 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11167 * math/test-misc.c (main): Don't use union ieee854_long_double.
11168
4cf69995
AM
111692013-10-04 Alan Modra <amodra@gmail.com>
11170
11171 [BZ #15680]
11172 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11174 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11175 calculation. Remove unnecessary test for denormal exponent.
11176 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11177 Correct handling of denormals. Avoid undefined shift behaviour.
11178 Correct normalisation of low mantissa when low double is denormal.
11179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11180 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11181 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11182 Correct normalisation of low mantissa. Test for overflow of high
11183 mantissa and normalise.
11184 (ldbl_nearbyint): Use more readable constant for two52.
11185 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11186 (__mpn_construct_long_double): Fix test for overflow of high
11187 mantissa and correct normalisation. Avoid undefined shift.
11188
9605ca6c
AM
111892013-10-04 Alan Modra <amodra@gmail.com>
11190
11191 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11192 (union ibm_extended_long_double): Define as an array of ieee754_double.
11193 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11194 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11195 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11196 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11204
975569d0
JM
112052013-10-03 Joseph Myers <joseph@codesourcery.com>
11206
d3d23756
JM
11207 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11208 page size instead of calling getpagesize.
11209
975569d0
JM
11210 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11211 (LOCFILE_ALIGN_MASK): Likewise.
11212 (LOCFILE_ALIGN_UP): Likewise.
11213 (LOCFILE_ALIGNED_P): Likewise.
11214 * locale/programs/ld-collate.c (collate_output): Use the new
11215 macros instead of __alignof__ (int32_t).
11216 * locale/weight.h (findidx): Likewise.
11217
b1fe1f2b
OB
112182013-10-03 Ondřej Bílka <neleai@seznam.cz>
11219
11220 [BZ #431]
11221 * manual/string.texi: Fix strncat and wcsncat.
11222
5f855e35
BM
112232013-10-03 Brooks Moses <bmoses@google.com>
11224
11225 [BZ #15915]
11226 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11227 * Makerules: ...here, and adjust associated comments.
11228
3cef6009
WN
112292013-10-02 Will Newton <will.newton@linaro.org>
11230
11231 * malloc/Makefile: Add tst-pvalloc.
11232 * malloc/tst-pvalloc.c: New file.
11233
7815420b
WN
112342013-10-02 Will Newton <will.newton@linaro.org>
11235
11236 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11237 improve test coverage.
11238
4868b204
WN
112392013-10-02 Will Newton <will.newton@linaro.org>
11240
11241 * malloc/Makefile: Add tst-posix_memalign.
11242 * malloc/tst-posix_memalign.c: New file.
11243
29c793b3
EB
112442013-10-01 Eric Blake <eblake@redhat.com>
11245
11246 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11247 Use __THROWNL rather than __THROW on static functions.
11248
fd967522
PM
112492013-09-30 Petr Machata <pmachata@redhat.com>
11250
11251 * elf/elf.h (R_AARCH64_ABS16): New macro.
11252 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11253 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11254 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11255 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11256 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11257 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11258 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11259 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11260 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11261 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11262 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11263 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11264 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11265 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11266 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11267 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11268 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11269 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11270 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11271 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11272 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11273 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11274 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11275 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11276 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11277 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11278 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11279 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11280 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11281 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11282 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11283 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11284 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11285 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11286 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11287 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11288 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11289 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11290 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11291 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11292 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11293 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11294 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11295 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11296 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11297 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11298 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11299 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11300 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11301 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11302 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11303 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11304 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11305 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11306 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11307 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11308 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11309 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11310 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11311 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11312 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11313 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11314 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11315 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11316 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11317 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11318 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11319 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11320 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11321 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11322 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11323 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11324 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11325 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11326 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11327 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11328 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11329 (R_AARCH64_TLSDESC_LDR): Likewise.
11330 (R_AARCH64_TLSDESC_ADD): Likewise.
11331 (R_AARCH64_TLSDESC_CALL): Likewise.
11332
b2179107
AS
113332013-09-30 Andreas Schwab <schwab@suse.de>
11334
11335 [BZ #15048]
11336 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11337 the nss database lookup.
11338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11340
47f28d0a
MF
113412013-09-28 Mike Frysinger <vapier@gentoo.org>
11342
11343 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11344
113452013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11346
11347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11348 ${Bash-specific parameter/pattern/string} parameter expansion.
11349 * sysdeps/unix/make-syscalls.sh: Likewise.
11350
f4518a17
KK
113512013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11352
11353 * sysdeps/sh/stackguard-macros.h: New file.
11354
dc1a95c7
OB
113552013-09-26 Ondřej Bílka <neleai@seznam.cz>
11356
11357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11359 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11360 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11362 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11363
5ebbff8f
AZ
113642013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11365
11366 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11367 Fix thread ID register.
11368
4fd2cf9f
JM
113692013-09-25 Joseph Myers <joseph@codesourcery.com>
11370
11371 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11372 [POSIX || UNIX98]: Require rather than permitting all symbols from
11373 <time.h>.
11374 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11375 element of struct sched_param.
11376 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11377 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11378 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11379 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11380 constant.
11381
12c22bc4
OL
113822013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11383
11384 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11385 argument calculation.
11386
a03d8ea7
JM
113872013-09-24 Joseph Myers <joseph@codesourcery.com>
11388
11389 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11390 Expect macro.
11391 [POSIX] (pthread_attr_t): Do not require type.
11392 [POSIX] (pthread_cond_t): Likewise.
11393 [POSIX] (pthread_condattr_t): Likewise.
11394 [POSIX] (pthread_key_t): Likewise.
11395 [POSIX] (pthread_mutex_t): Likewise.
11396 [POSIX] (pthread_mutexattr_t): Likewise.
11397 [POSIX] (pthread_once_t): Likewise.
11398 [POSIX] (pthread_t): Likewise.
11399 [POSIX-based standards] (pthread_atfork): Expect function.
11400
6055173a
JM
114012013-09-24 Joseph Myers <joseph@codesourcery.com>
11402 Richard Sandiford <richard@codesourcery.com>
11403
11404 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11405 (swap_endianness_p): New extern variable.
11406 (set_big_endian): New inline function.
11407 (maybe_swap_uint32): Likewise.
11408 (maybe_swap_uint32_array): Likewise.
11409 (maybe_swap_uint32_obstack): Likewise.
11410 * locale/programs/locfile.c: Include <stdbool.h>.
11411 (swap_endianness_p): New variable.
11412 (add_locale_uint32): Call maybe_swap_uint32.
11413 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11414 (write_locale_data): Call maybe_swap_uint32_array.
11415 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11416 maybe_swap_uint32.
11417 (obstack_int32_grow_fast): Likewise.
11418 (output_weightwc): Call maybe_swap_uint32_obstack.
11419 (collate_output): Likewise.
11420 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11421 (OPT_LITTLE_ENDIAN): Likewise.
11422 (options): Add --little-endian and --big-endian options.
11423 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11424 * locale/programs/locarchive.c: Include "locfile.h".
11425 (GET): New macro.
11426 (SET): Likewise.
11427 (INC): Likewise.
11428 (create_archive): Use the new macros to access fields of
11429 structures directly mapped from or written to locale archives.
11430 (oldlocrecentcmp): Likewise.
11431 (enlarge_archive): Likewise.
11432 (insert_name): Likewise.
11433 (add_alias): Likewise.
11434 (add_locale): Likewise.
11435 (delete_locales_from_archive): Likewise.
11436 (show_archive_content): Likewise.
11437 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11438 locale data.
11439
39bf0bb4
RM
114402013-09-24 Roland McGrath <roland@hack.frob.com>
11441
11442 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11443 http://www.gnu.org/doc/freemanuals.texi.
11444 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11445
f02eed10
WN
114462013-09-24 Will Newton <will.newton@linaro.org>
11447
11448 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11449 macro.
11450
a3a6c312
JM
114512013-09-23 Joseph Myers <joseph@codesourcery.com>
11452
11453 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11454 unsigned char.
11455
107375ac
MR
114562013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11457
11458 * manual/threads.texi (POSIX Threads): Fix a typo.
11459
141f3a77
SP
114602013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11461
303e567a
SP
11462 [BZ #14547]
11463 * string/tst-strcoll-overflow.c: New test case.
11464 * string/Makefile (xtests): Add tst-strcoll-overflow.
11465 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11466 cache if string sizes may cause integer overflow.
11467
141f3a77
SP
11468 [BZ #14547]
11469 * string/strcoll_l.c (coll_seq): New members rule, idx,
11470 save_idx and back_us.
11471 (get_next_seq_nocache): New function.
11472 (do_compare_nocache): New function.
11473 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11474 when malloc fails.
11475
c61b4d41
CD
114762013-09-23 Carlos O'Donell <carlos@redhat.com>
11477
0b1f8e35
CD
11478 [BZ #15754]
11479 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11480 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11481 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11482
c61b4d41
CD
11483 [BZ #15754]
11484 * elf/Makefile (tests): Add tst-ptrguard1.
11485 (tests-static): Add tst-ptrguard1-static.
11486 (tst-ptrguard1-ARGS): Define.
11487 (tst-ptrguard1-static-ARGS): Define.
11488 * elf/tst-ptrguard1.c: New file.
11489 * elf/tst-ptrguard1-static.c: New file.
11490 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11491 * sysdeps/i386/stackguard-macros.h: Likewise.
11492 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11493 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11494 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11495 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11496 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11497 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11498
114992013-09-23 Hector Marco <hecmargi@upv.es>
11500 Ismael Ripoll <iripoll@disca.upv.es>
11501 Carlos O'Donell <carlos@redhat.com>
11502
11503 [BZ #15754]
11504 * sysdeps/generic/stackguard-macros.h: Define
11505 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11506 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11507 Define __pointer_chk_guard_local.
11508 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11509 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11510
f5f4e7b4
VV
115112013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11512
11513 [BZ #15859]
11514 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11515
5bb43a43
AS
115162013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11517
11518 * include/string.h (__ffs): Declare as hidden.
11519 * string/ffs.c (__ffs): Define as hidden.
11520 * sysdeps/i386/ffs.c (__ffs): Likewise.
11521 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11522 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11523 * sysdeps/s390/ffs.c (__ffs): Likewise.
11524 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11525
3ea5be54
AO
115262013-09-20 Alexandre Oliva <aoliva@redhat.com>
11527
ffb89e53
AO
11528 * NEWS: Mention malloc probes.
11529
322dea08
AO
11530 * malloc/arena.c (new_heap): New memory_heap_new probe.
11531 (grow_heap): New memory_heap_more probe.
11532 (shrink_heap): New memory_heap_less probe.
11533 (heap_trim): New memory_heap_free probe.
11534 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11535 (systrim): New memory_sbrk_less probe.
11536 * manual/probes.texi: Document them.
11537
655673f3
AO
11538 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11539 * manual/probes.texi: Document it.
11540
35fed6f1
AO
11541 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11542 (__libc_realloc): Add memory_realloc_retry probe.
11543 (__libc_memalign): Add memory_memalign_retry probe.
11544 (__libc_valloc): Add memory_valloc_retry probe.
11545 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11546 (__libc_calloc): Add memory_calloc_retry probe.
11547 * manual/probes.texi: Document them.
11548
6999d38c
AO
11549 * malloc/arena.c (get_free_list): Add probe
11550 memory_arena_reuse_free_list.
11551 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11552 and memory_arena_reuse.
11553 (arena_get2) [!PER_THREAD]: Likewise.
11554 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11555 memory_arena_reuse_realloc.
11556 * manual/probes.texi: Document them.
11557
0653427f
AO
11558 * malloc/malloc.c (__libc_free): Add
11559 memory_mallopt_free_dyn_thresholds probe.
11560 (__libc_mallopt): Add multiple memory_mallopt probes.
11561 * manual/probes.texi: Document them.
11562
3ea5be54
AO
11563 * malloc/malloc.c: Include stap-probe.h.
11564 (__libc_mallopt): Add memory_mallopt probe.
11565 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11566 * manual/probes.texi: New.
11567 * manual/Makefile (chapters): Add probes.
11568 * manual/threads.texi: Set next node.
11569
e35696c3 115702013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11571
e35696c3
CL
11572 [BZ #15963, #13985]
11573 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11574 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11575 Add `Chinese' to `nan' entry name.
11576
4aafb73c
SP
115772013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11578
11579 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11580 (POLYNOMIAL): Likewise.
11581 (TAYLOR_SINCOS): Likewise.
11582 (TAYLOR_SLOW): Likewise.
11583 (__sin): Use TAYLOR_SINCOS.
11584 (__cos): Likewise.
11585 (slow): Use TAYLOR_SLOW.
11586 (sloww): Likewise.
11587 (bsloww): Likewise.
11588 (csloww): Likewise.
11589
d84f25c7
LD
115902013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11591
11592 * stdlib/strtod_l.c: Fix buffer overrun.
11593
5eea0404
SP
115942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11595
7849ff93
SP
11596 * benchtests/Makefile (bench): Add sincos.
11597 * benchtests/bench-sincos.c: New file.
11598
cfa3c886
SP
11599 * math/libm-test.inc (cos_test_data): New test inputs.
11600 (sin_test_data): Likewise.
11601
b348e1e3
SP
11602 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11603 macro.
11604 (__sin): Use it.
11605 (__cos): Likewise.
11606 (slow1): Likewise.
11607 (slow2): Likewise.
11608 (sloww1): Likewise.
11609 (sloww2): Likewise.
11610 (bsloww1): Likewise.
11611 (bsloww2): Likewise.
11612 (cslow2): Likewise.
11613 (csloww1): Likewise.
11614 (csloww2): Likewise.
11615
6cce25f8
SP
11616 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11617 function.
11618 (__sin): Use it.
11619 (__cos): Likewise.
11620
5eea0404
SP
11621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11622 gotos.
11623 (__cos): Likewise.
11624
9c21573c
MR
116252013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11626
11627 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11628 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11629 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11630 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11631 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11632 * elf/cache.c (print_entry): Handle the new cache flags.
11633
24d22e65
JM
116342013-09-18 Joseph Myers <joseph@codesourcery.com>
11635 Aldy Hernandez <aldyh@redhat.com>
11636
11637 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11638 Change condition to [_SOFT_FLOAT].
11639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11651 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11654 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11655 declaration.
11656
d13ef066
JM
116572013-09-18 Joseph Myers <joseph@codesourcery.com>
11658
2e071de0
JM
11659 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11660 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11661 (__longjmp): Use LOAD_GP to load saved GPRs.
11662 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11663 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11664 (__sigsetjmp): Use SAVE_GP to save GPRs.
11665
d13ef066
JM
11666 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11667 Do not append -msoft-float.
11668 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11669
97a0650b
SP
116702013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
11672 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11673
11ca09e9
JM
116742013-09-17 Joseph Myers <joseph@codesourcery.com>
11675
11676 [BZ #15966]
11677 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11678 (_FPU_GETCW): Use initial "__" on variable and field names but not
11679 on macro parameter name.
11680 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11681 parentheses around reference to macro parameter.
11682
08ffcf34
RS
116832013-09-13 Richard Sandiford <richard@codesourcery.com>
11684
11685 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11686 prototype.
11687 (ctype_startup): Use uint32_t in cast and sizeof for
11688 ctype->charnames.
11689
ae7080d3
JL
116902013-09-11 Jia Liu <proljc@gmail.com>
11691
11692 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11693 __daddr_t_defined.
11694 [__FreeBSD__]: Likewise.
11695
5905e7b3
OB
116962013-09-11 Ondřej Bílka <neleai@seznam.cz>
11697
11698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11699 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11700 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11701 (strchr): Remove __strchr_sse42 ifunc selection.
11702 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11703 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11704
b987c776
WN
117052013-09-11 Will Newton <will.newton@linaro.org>
11706
11707 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11708 parameter to RES. Remove hardcoded 1000 value.
11709 * benchtests/bench-skeleton.c (main): Pass RES parameter
11710 to TIMING_INIT and multiply result by 1000.
11711
ddf985af
AZ
117122013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11713
11714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11715
ffdd3181
AS
117162013-09-11 Andreas Schwab <schwab@suse.de>
11717
11718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11719 if not defined.
11720 (O_TMPFILE) [__USE_GNU]: Define.
11721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11722 Define.
11723
b73ed247
WN
117242013-09-11 Will Newton <will.newton@linaro.org>
11725
11726 [BZ #15857]
11727 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11728 does not overflow.
11729
55e17aad
WN
117302013-09-11 Will Newton <will.newton@linaro.org>
11731
11732 [BZ #15856]
11733 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11734 does not overflow.
11735
1159a193
WN
117362013-09-11 Will Newton <will.newton@linaro.org>
11737
11738 [BZ #15855]
11739 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11740 does not overflow.
11741
5905e7b3 117422013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11743
11744 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11749
cdfc721b
AM
117502013-09-10 Allan McRae <allan@archlinux.org>
11751
aa04af00
AM
11752 [BZ #15748]
11753 * manual/arith.texi (Parsing of Floats): Clarify
11754 cross-reference.
11755
cdfc721b
AM
11756 [BZ #15849]
11757 * manual/install.texi (Running make install): Mention
11758 --enable-pt-chown.
11759 * INSTALL: Regenerated.
11760
95e7cf29
MR
117612013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11762
11763 * csu/init-first.c (_init): Remove the !SHARED condition around
11764 FPU control word initialization.
11765 * elf/dl-support.c (_dl_fpu_control): New variable.
11766 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11767 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11768 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11769 * math/test-fpucw-static.c: New file.
11770 * math/test-fpucw-ieee.c: New file.
11771 * math/test-fpucw-ieee-static.c: New file.
11772 * math/Makefile (tests): Add `test-fpucw-ieee' and
11773 `$(tests-static)'.
11774 (tests-static): New variable.
11775 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11776 dependency to...
11777 [($(build-shared),yes)]
11778 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11779 ... this.
11780 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11781 New dependency.
11782
83e43bf0
AM
117832013-09-09 Allan McRae <allan@archlinux.org>
11784
a9f5ce09
AM
11785 [BZ #15939]
11786 * manual/string.texi (Collation Functions): Fix typo in
11787 strcoll example.
11788 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11789
34829bc2
AM
11790 [BZ #15893]
11791 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11792
3932737d
AM
11793 [BZ #15892]
11794 * libio/memstream.c (open_memstream): Fix memory leak.
11795 * libio/wmemstream.c (open_wmemstream): Likewise.
11796
83e43bf0
AM
11797 [BZ #15895]
11798 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11799
0c66b8e9
WN
118002013-09-09 Will Newton <will.newton@linaro.org>
11801
11802 * malloc/Makefile: Add tst-realloc to tests.
11803 * malloc/tst-realloc.c: New file.
11804
f6b00fd1
AM
118052013-09-09 Allan McRae <allan@archlinux.org>
11806
11807 [BZ #15844]
11808 * COPYING: Update from GNU website to fix FSF address.
11809 * COPYING.LIB: Likewise.
11810
eec55e16
DM
118112013-09-06 David S. Miller <davem@davemloft.net>
11812
11813 * po/zh_TW.po: Update Chinese (traditional) translation from
11814 translation project.
11815
1ecbb381
RS
118162013-09-06 Richard Sandiford <richard@codesourcery.com>
11817 Joseph Myers <joseph@codesourcery.com>
11818
11819 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11820 "localeinfo.h".
11821 (obstack_chunk_alloc): New macro.
11822 (obstack_chunk_free): Likewise.
11823 (record_offset): New function.
11824 (init_locale_data): Likewise.
11825 (align_locale_data): Likewise.
11826 (add_locale_empty): Likewise.
11827 (add_locale_raw_data): Likewise.
11828 (add_locale_raw_obstack): Likewise.
11829 (add_locale_string): Likewise.
11830 (add_locale_wstring): Likewise.
11831 (add_locale_uint32): Likewise.
11832 (add_locale_uint32_array): Likewise.
11833 (add_locale_char): Likewise.
11834 (start_locale_structure): Likewise.
11835 (end_locale_structure): Likewise.
11836 (start_locale_prelude): Likewise.
11837 (end_locale_prelude): Likewise.
11838 (write_locale_data): Take locale_file structure rather than an
11839 iovec.
11840 * locale/programs/locfile.h: Include "obstack.h".
11841 (struct locale_file): Change to store locale file contents instead
11842 of header.
11843 (init_locale_data): New prototype.
11844 (align_locale_data): Likewise.
11845 (add_locale_empty): Likewise.
11846 (add_locale_raw_data): Likewise.
11847 (add_locale_raw_obstack): Likewise.
11848 (add_locale_string): Likewise.
11849 (add_locale_wstring): Likewise.
11850 (add_locale_uint32): Likewise.
11851 (add_locale_uint32_array): Likewise.
11852 (add_locale_char): Likewise.
11853 (start_locale_structure): Likewise.
11854 (end_locale_structure): Likewise.
11855 (start_locale_prelude): Likewise.
11856 (end_locale_prelude): Likewise.
11857 (write_locale_data): Update prototype.
11858 * locale/programs/3level.h (struct TABLE): Remove result field.
11859 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11860 Use new locale_file interface.
11861 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11862 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11863 * locale/programs/ld-address.c (address_output): Use new
11864 locale_file interface.
11865 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11866 NO_ADD_LOCALE.
11867 (collate_finish): Don't call collseq_table_finalize.
11868 (collate_output): Use new locale_file interface.
11869 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11870 in file.
11871 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11872 (TABLE): Move defines earlier in file.
11873 (ELEMENT): Likewise.
11874 (DEFAULT): Likewise.
11875 (wctrans_table_add): Move macro and inline function earlier in
11876 file.
11877 (struct wctype_table): Move type earlier in file.
11878 (add_locale_wctype_table): New static prototype.
11879 (struct locale_ctype_t): Use logical types instead of struct iovec
11880 pointers for members.
11881 (ctype_output): Use new locale_file interface.
11882 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11883 new locale_file interface.
11884 (allocate_arrays): Update for use of new locale_file interface.
11885 * locale/programs/ld-identification.c (identification_output): Use
11886 new locale_file interface.
11887 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11888 * locale/programs/ld-messages.c (messages_output): Likewise.
11889 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11890 * locale/programs/ld-name.c (name_output): Likewise.
11891 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11892 * locale/programs/ld-paper.c (paper_output): Likewise.
11893 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11894 * locale/programs/ld-time.c (time_output): Likewise.
11895
e029e2e5
AZ
118962013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11897
11898 * benchtests/Makefile: Add memrchr benchmark.
11899 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11900 benchmark as memrchr.
11901 * benchtests/bench-memrchr-ifunc.c: New file.
11902 * benchtests/bench-memrchr.c: New file.
11903
bbf6e8e4
WN
119042013-09-06 Will Newton <will.newton@linaro.org>
11905
11906 * benchtests/Makefile (string-bench): Add memcpy.
11907
6c82a2f8
CD
119082013-09-05 Carlos O'Donell <carlos@redhat.com>
11909 Cong Wang <amwang@redhat.com>
11910
e732c5f0 11911 [BZ #15850]
6c82a2f8
CD
11912 * sysdeps/unix/sysv/linux/bits/in.h
11913 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11914 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11915 before __USE_KERNEL_IPV6_DEFS uses.
11916 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11917 IPPROTO_BEETPH.
11918 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11919 sockaddr_in6, or ipv6_mreq.
11920
5430fc65
AZ
119212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922
11923 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11924 memory access for final bytes in some large inputs.
11925 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11926
4660856c
AZ
119272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928
11929 * string/test-memrchr.c: New file.
11930 * string/test-memrchr-ifunc.c: New file.
11931 * string/Makefile: Add new memrchr testcase.
11932
bb8ea713
MF
119332013-09-05 Mike Frysinger <vapier@gentoo.org>
11934
11935 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11936 fanotify_init returns EPERM.
11937
b92a20b5
JM
119382013-09-04 Joseph Myers <joseph@codesourcery.com>
11939
11940 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11941 errors.
11942 (top level): Treat second token from macro or constant entries for
11943 allowed headers as allowed.
11944 * include/complex.h: Condition internal declarations on
11945 [!_ISOMAC].
11946 * include/fenv.h: Condition include of <stdbool.h> and internal
11947 declarations on [!_ISOMAC].
7447ccd9
CL
11948
119492013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11950
3e181dda 11951 [BZ #15923]
7447ccd9
CL
11952 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11953
3f2e46a4
JM
119542013-09-04 Joseph Myers <joseph@codesourcery.com>
11955
11956 * configure.in (--enable-versioning): Remove configure option.
11957 (libc_cv_asm_symver_directive): Remove configure test.
11958 (libc_cv_ld_version_script_option): Likewise.
11959 (VERSIONING): Remove variable and AC_SUBST.
11960 (DO_VERSIONING): Remove AC_DEFINE.
11961 * configure: Regenerated.
11962 * config.h.in (DO_VERSIONING): Remove macro.
11963 * Makerules [$(versioning) = yes]: Change conditionals to
11964 [$(build-shared) = yes].
11965 * config.make.in (versioning): Remove variable.
11966 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11967 [$(build-shared) = yes].
11968 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11969 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11970 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11971 [$(build-shared) = yes].
11972 * extra-lib.mk [$(versioning) = yes]: Likewise.
11973 * hurd/Makefile [$(versioning) = yes]: Likewise.
11974 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11975 [SHARED].
11976 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11977 [SHARED].
11978 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11979 [SHARED && !NO_HIDDEN].
11980 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11981 [SHARED].
11982 [SHARED && DO_VERSIONING]: Likewise..
11983 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11984 [$(build-shared) = yes].
11985 * manual/install.texi (--disable-versioning): Remove
11986 documentation.
11987 * INSTALL: Regenerated.
11988 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11989 to [SHARED].
11990 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11991 [$(build-shared) = yes].
11992 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11993 * sysdeps/i386/i686/multiarch/strstr-c.c
11994 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11995 [SHARED && !NO_HIDDEN].
11996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11997 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11998 * sysdeps/powerpc/powerpc32/dl-machine.c
11999 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12000 * sysdeps/powerpc/powerpc32/sysdep.h
12001 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12002 to [SHARED && PIC && !NO_HIDDEN].
12003 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12004 conditional to [SHARED].
12005
44558701
WN
120062013-09-04 Will Newton <will.newton@linaro.org>
12007
12008 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12009 * benchtests/bench-string.h: Include bench-timing.h instead
12010 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12011 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12012 call to HP_TIMING_DIFF_INIT.
12013 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12014 instead of hp-timing.h macros.
12015 * benchtests/bench-memchr.c: Likewise.
12016 * benchtests/bench-memcmp.c: Likewise.
12017 * benchtests/bench-memcpy.c: Likewise.
12018 * benchtests/bench-memmem.c: Likewise.
12019 * benchtests/bench-memmove.c: Likewise.
12020 * benchtests/bench-memset.c: Likewise.
12021 * benchtests/bench-rawmemchr.c: Likewise.
12022 * benchtests/bench-strcasecmp.c: Likewise.
12023 * benchtests/bench-strcasestr.c: Likewise.
12024 * benchtests/bench-strcat.c: Likewise.
12025 * benchtests/bench-strchr.c: Likewise.
12026 * benchtests/bench-strcmp.c: Likewise.
12027 * benchtests/bench-strcpy.c: Likewise.
12028 * benchtests/bench-strcpy_chk.c: Likewise.
12029 * benchtests/bench-strlen.c: Likewise.
12030 * benchtests/bench-strncasecmp.c: Likewise.
12031 * benchtests/bench-strncat.c: Likewise.
12032 * benchtests/bench-strncmp.c: Likewise.
12033 * benchtests/bench-strncpy.c: Likewise.
12034 * benchtests/bench-strnlen.c: Likewise.
12035 * benchtests/bench-strpbrk.c: Likewise.
12036 * benchtests/bench-strrchr.c: Likewise.
12037 * benchtests/bench-strspn.c: Likewise.
12038 * benchtests/bench-strstr.c: Likewise.
12039
cae16d66
WN
120402013-09-04 Will Newton <will.newton@linaro.org>
12041
12042 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12043
ffa3cd7f
JM
120442013-09-03 Joseph Myers <joseph@codesourcery.com>
12045
12046 [BZ #15427]
12047 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12048 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12049 * math/libm-test.inc (lgamma_test_data): Add more tests.
12050 * sysdeps/i386/fpu/libm-test-ulps: Update.
12051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12052
8f02859f
OB
120532013-09-03 Ondřej Bílka <neleai@seznam.cz>
12054
12055 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12056 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12057 Add ifunc.
12058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12059 Add strcmp-sse2-unaligned
12060 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12061
18d43716
MF
120622013-09-02 Mike Frysinger <vapier@gentoo.org>
12063
12064 * Versions.def (libc): Add GLIBC_2.19.
12065
ac444012
MF
120662013-09-02 Mike Frysinger <vapier@gentoo.org>
12067
12068 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12069 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12070
b7835e32
JM
120712013-09-02 Joseph Myers <joseph@codesourcery.com>
12072
12073 [BZ #14155]
12074 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12075 intermediate calculations in recurrence.
12076 (__ieee754_ynf): Likewise.
12077 * math/libm-test.inc (jn_test_data): Do not allow spurious
12078 underflow exception. Add more tests.
12079 (yn_test_data): Add more tests.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12082
8220f4f0
OB
120832013-09-02 Ondřej Bílka <neleai@seznam.cz>
12084
12085 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12086
f24a6d08
OB
120872013-08-30 Ondřej Bílka <neleai@seznam.cz>
12088
12089 * csu/init-first.c: Fix then/than typos.
12090 * locale/programs/ld-collate.c: Likewise.
12091 * locale/programs/linereader.h: Likewise.
12092 * manual/charset.texi: Likewise.
12093 * manual/filesys.texi: Likewise.
12094 * manual/stdio.texi: Likewise.
12095 * manual/string.texi: Likewise.
12096 * stdlib/fmtmsg.c: Likewise.
12097 * sysdeps/i386/stpncpy.S: Likewise.
12098 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12099 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12100 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12101 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12102
382466e0
OB
121032013-08-30 Ondřej Bílka <neleai@seznam.cz>
12104
12105 * elf/dl-open.c: Fix typos.
12106 * iconvdata/gbbig5.c: Likewise.
12107 * iconvdata/iso-2022-jp.c: Likewise.
12108 * iconv/gconv_int.h: Likewise.
12109 * iconv/loop.c: Likewise.
12110 * nis/rpcsvc/nis.h: Likewise.
12111 * resolv/ns_name.c: Likewise.
12112 * stdio-common/vfscanf.c: Likewise.
12113 * streams/stropts.h: Likewise.
12114 * sunrpc/rpc_thread.c: Likewise.
12115 * sysdeps/i386/strpbrk.S: Likewise.
12116 * sysdeps/ieee754/k_standard.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12119 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12120 * sysdeps/mach/hurd/profil.c: Likewise.
12121 * sysdeps/s390/dl-procinfo.h: Likewise.
12122 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12123 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12125 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12127
0186c6e9
OB
121282013-08-30 Ondřej Bílka <neleai@seznam.cz>
12129
12130 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12132
d4e16af1
OB
121332013-08-29 Ondřej Bílka <neleai@seznam.cz>
12134
12135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12136 aix specific files.
12137 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12140 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12143 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12144 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12145
88335980
TS
121462013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12147 Roland McGrath <roland@hack.frob.com>
12148
12149 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12150 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12151
ed479b02
ST
121522013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12153
12154 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12155 __executable_start symbol instead of _start.
12156
f1cc4c86
TS
121572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12158
d821f07c
TS
12159 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12160 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12161 Move macros to...
12162 * sysdeps/gnu/ldsodefs.h: ... this new file.
12163
c54290cf
TS
12164 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12165 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12166 instead of ELFOSABI_LINUX.
12167
0007fc9b 12168 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12169 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12170 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12171 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12172 Likewise.
12173 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12174 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12176 Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12178 (ibm_extended_long_double): Add ieee_nan member.
12179 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12180 (do_test): New function.
12181
f1cc4c86
TS
12182 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12183 TEST_TRUNC.
12184 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12185 functions, renamed from truncdfsf_test, trunctfsf_test,
12186 trunctfdf_test.
12187 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12188 functions.
12189 (do_test): Run all these.
12190
6f65e668
OB
121912013-08-29 Ondřej Bílka <neleai@seznam.cz>
12192
12193 * argp/argp-help.c: Fix typos.
12194 * argp/argp-parse.c: Likewise.
12195 * debug/backtracesyms.c: Likewise.
12196 * elf/elf.h: Likewise.
12197 * malloc/malloc.c: Likewise.
12198 * nis/nis_print.c: Likewise.
12199 * resolv/res_comp.c: Likewise.
12200 * stdlib/stdlib.h: Likewise.
12201 * sunrpc/clnt_tcp.c: Likewise.
12202 * sunrpc/clnt_udp.c: Likewise.
12203 * sunrpc/clnt_unix.c: Likewise.
12204 * sysdeps/unix/bsd/ptsname.c: Likewise.
12205 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12208 Likewise.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12210 Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12212 Likewise.
6f65e668
OB
12213 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12214
3a309239
SP
122152013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
12217 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12219
3b813b29
MF
122202013-08-27 Mike Frysinger <vapier@gentoo.org>
12221
12222 [BZ #15897]
12223 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12224 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12225 ($(objpfx)bug-dl-leaf): New rule.
12226 ($(objpfx)bug-dl-leaf.so): Likewise.
12227 ($(objpfx)bug-dl-leaf.out): Likewise.
12228 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12229 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12230 * dlfcn/bug-dl-leaf.c: New test.
12231 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12232 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12233 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12234 (dlclose): Likewise.
12235 (dlmopen): Likewise.
12236
8cc3269f
RM
122372013-08-27 Roland McGrath <roland@hack.frob.com>
12238
7f9d0034
RM
12239 * include/netdb.h [!_ISOMAC]:
12240 Don't include <tls.h>.
12241 (h_errno, __libc_h_errno): Move declaration and macros out of
12242 [_LIBC_REENTRANT].
12243
fb431262
RM
12244 * include/resolv.h [_RESOLV_H_]:
12245 Don't include <tls.h>.
12246 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12247 * resolv/res_libc.c: Don't include <tls.h>.
12248 (_res): Use __attribute__ ((nocommon)) in place of
12249 __attribute__ ((section (".bss"))).
12250
bd81123a
RM
12251 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12252 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12253
c4e42566
RM
12254 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12255
f890a59b
RM
12256 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12257 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12258
12259 * resolv/res_mkquery.c: Include <sys/time.h>.
12260
5d1f0a09
RM
12261 * inet/ifreq.c: Moved to ...
12262 * sysdeps/unix/ifreq.c: ... here.
12263 * inet/ifreq.c: New file, true stub version.
12264
6fcf28b3
RM
12265 * socket/sa_len.c: New file.
12266 * socket/Makefile (aux): Add it.
12267 * sysdeps/unix/sysv/linux/Makefile
12268 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12269 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12270 and #include <socket/sa_len.c>.
12271 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12272 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12273
e041fb8b
RM
12274 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12275 * bits/socket.h: ... here.
12276
8cc3269f
RM
12277 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12278 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12279 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12280
5d228a43
AS
122812013-08-27 Andreas Schwab <schwab@suse.de>
12282
45b8accc
AS
12283 [BZ #15736]
12284 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12285 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12286 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12287 * string/test-strcasecmp.c (test_main): Run tests in several
12288 locales.
12289 * string/test-strncasecmp.c (test_main): Likewise.
12290
5d228a43
AS
12291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12292 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12293 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12295 (__strncasecmp_ssse3) [PIC]: Likewise.
12296
59d112a4
RM
122972013-08-26 Roland McGrath <roland@hack.frob.com>
12298
53234cc3
RM
12299 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12300
59d112a4
RM
12301 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12302 instead of explicitly declaring xdecrypt.
12303 * nis/nss_nis/nis-publickey.c: Likewise.
12304
595aba70
SP
123052013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12306
12307 [BZ #15890]
12308 * nscd/aicache.c: Include res_hconf.h.
12309 (addhstaiX): Initialize res_hconf.
12310
ffabd393
AS
123112013-08-26 Andreas Schwab <schwab@suse.de>
12312
12313 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12314 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12315
e0a69f5c
SP
123162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12317
12318 * nscd/aicache.c (addhstaiX): Fix indentation.
12319
8c12f01d
MF
123202013-08-25 Mike Frysinger <vapier@gentoo.org>
12321
12322 * configure.ac: Quote $build_pt_chown test.
12323 * configure: Regenerated.
12324
8fe89494
JM
123252013-08-23 Joseph Myers <joseph@codesourcery.com>
12326
12327 [BZ #15532]
12328 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12329 * math/s_cexpf.c (__cexpf): Likewise.
12330 * math/s_cexpl.c (__cexpl): Likewise.
12331 * math/libm-test.inc (cexp_test_data): Correct expected return
12332 value for NaN + i0. Add another test.
12333
75b181d6
DM
123342013-08-22 David S. Miller <davem@davemloft.net>
12335
12336 * po/ca.po: Update Catalan translation from translation project.
936241e4 12337 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12338
acd06bb1
JM
123392013-08-21 Joseph Myers <joseph@codesourcery.com>
12340
12341 [BZ #15797]
12342 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12343 is infinite, not alongside NaN test.
12344 * math/s_fdimf.c (__fdimf): Likewise.
12345 * math/s_fdiml.c (__fdiml): Likewise.
12346 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12347 errno is unchanged.
12348
c0c3f78a
OB
123492013-08-21 Ondřej Bílka <neleai@seznam.cz>
12350
12351 * argp/argp-help.c: Fix typos.
12352 * crypt/speeds.c: Likewise.
12353 * csu/check_fds.c: Likewise.
12354 * elf/dl-load.c: Likewise.
12355 * elf/dl-open.c: Likewise.
12356 * elf/reldep3.c: Likewise.
12357 * elf/reldep.c: Likewise.
12358 * elf/sprof.c: Likewise.
12359 * iconv/iconv_charmap.c: Likewise.
12360 * iconv/skeleton.c: Likewise.
12361 * iconv/strtab.c: Likewise.
12362 * io/lockf64.c: Likewise.
12363 * libio/libioP.h: Likewise.
12364 * resolv/gai_notify.c: Likewise.
12365 * resolv/ns_name.c: Likewise.
12366 * resolv/ns_samedomain.c: Likewise.
12367 * resolv/res_send.c: Likewise.
12368 * stdlib/random.c: Likewise.
12369 * sunrpc/rpc/xdr.h: Likewise.
12370 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12371 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12378 * sysdeps/mach/hurd/check_fds.c: Likewise.
12379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12380 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12383 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12385 * sysdeps/pthread/aio_notify.c: Likewise.
12386 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12387 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12388 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12390 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12391
46ed1038
LD
123922013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12393
12394 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12395 version if bit_Slow_SSE4_2 is set.
12396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12398
d400dcac
AZ
123992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12400
12401 [BZ #15867]
12402 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12403 trampoline stack frame information.
12404 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12406 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12407 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12408 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12409 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12410 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12411 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12412 sa_flags value.
12413 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12414 interrupting a syscall and set with option SA_SIGINFO.
12415
42c8fdd8
JM
124162013-08-20 Joseph Myers <joseph@codesourcery.com>
12417
c980f2f4
JM
12418 [BZ #15531]
12419 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12420 argument is infinite.
12421 * math/s_cprojf.c (__cprojf): Likewise.
12422 * math/s_cprojl.c (__cprojl): Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12424 * math/libm-test.inc (cproj_test_data): Add more tests.
12425
0716c4fc
JM
12426 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12427
42c8fdd8
JM
12428 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12429 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12430 size. Use __ffs to determine corresponding shift.
12431
b31469d0
JM
124322013-08-20 Joseph Myers <joseph@codesourcery.com>
12433 Roland McGrath <roland@hack.frob.com>
12434
12435 * Makefile (INSTALL): Remove trailing blank lines from output of
12436 makeinfo.
12437
4e39af6e
AK
124382013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12439
12440 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12441 Align 32 bit compat elf_greg to 8 bytes.
12442
f315524e
AA
124432013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12444
12445 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12446
1326ba1a
SP
124472013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12448
12449 * string/strcoll_l.c (coll_seq): New structure.
12450 (get_next_seq_cached): New function.
12451 (get_next_seq): New function.
12452 (do_compare): New function.
12453 (STRCOLL): Use GNU style definition. Simplify implementation
12454 by using get_next_seq, get_next_seq_cached and do_compare.
12455
91ce4085
FW
124562013-08-16 Florian Weimer <fweimer@redhat.com>
12457
12458 [BZ #14699]
12459 CVE-2013-4237
12460 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12461 member.
12462 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12463 member.
12464 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12465 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12466 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12467 conditional.
12468 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12469 GETDENTS_64BIT_ALIGNED.
12470 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12471 * manual/filesys.texi (Reading/Closing Directory): Document
12472 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12473 strongly.
12474 * manual/conf.texi (Limits for Files): Add portability note to
12475 NAME_MAX, PATH_MAX.
12476 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12477
ca0a6bc4
AS
124782013-08-13 Andreas Schwab <schwab@suse.de>
12479
12480 [BZ #15749]
12481 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12482 of fabs.
12483 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12484 LDBL_MAX_EXP >= 16384]: Add tests for it.
12485
6c1fd795
DM
124862013-08-12 David S. Miller <davem@davemloft.net>
12487
12488 * version.h (RELEASE): Set to "development".
12489 (VERSION): Set to "2.18.90".
12490 * NEWS: Add 2.19 section.
12491
31ad488d
DM
124922013-08-03 David S. Miller <davem@davemloft.net>
12493
12494 * po/ko.po: Update Korean translation from translation project.
12495
db24e684
DM
124962013-08-01 David S. Miller <davem@davemloft.net>
12497
12498 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12499 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12500 Bilka.
12501
f723285b
DM
125022013-07-30 David S. Miller <davem@davemloft.net>
12503
12504 * po/fr.po: Update French translation from translation project.
12505
3cbc52db
DM
125062013-07-28 David S. Miller <davem@davemloft.net>
12507
30bbc0cc
DM
12508 * po/cs.po: Update Czech translation from translation project.
12509
3cbc52db
DM
12510 * po/sv.po: Update Swedish translation from translation project.
12511
d492e6d0
DM
125122013-07-27 David S. Miller <davem@davemloft.net>
12513
f1a7f492
DM
12514 * po/eo.po: Update Esperanto translation from translation project.
12515
90e62a4a
DM
12516 * po/vi.po: Update Vietnamese translation from translation project.
12517
d492e6d0
DM
12518 * po/de.po: Update German translation from translation project.
12519
d4baa62d
DM
125202013-07-26 David S. Miller <davem@davemloft.net>
12521
641aa7b4
DM
12522 * po/bg.po: Update Bulgarian translation from translation project.
12523
d4baa62d
DM
12524 * po/nl.po: Update Dutch translation from translation project.
12525 * po/pl.po: Update Polish translation from translation project.
12526 * po/ru.po: Update Russian translation from translation project.
12527
61a9dcb9
DM
125282013-07-24 David S. Miller <davem@davemloft.net>
12529
12530 * po/libc.pot: Update.
12531
7b1f8b58
AZ
125322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12533
12534 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12535 variable page size.
12536 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12537 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12538 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12539
a8fc7a03
AK
125402013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12541
12542 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12543
e4608715
CD
125442013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12545 Andreas Schwab <schwab@suse.de>
12546 Roland McGrath <roland@hack.frob.com>
12547 Joseph Myers <joseph@codesourcery.com>
12548 Carlos O'Donell <carlos@redhat.com>
12549
12550 [BZ #15755]
12551 * config.h.in: Define HAVE_PT_CHOWN.
12552 * config.make.in (build-pt-chown): New variable.
12553 * configure.in (--enable-pt_chown): New configure option.
12554 * configure: Regenerate.
12555 * login/Makefile: Include Makeconfig. Build pt_chown only if
12556 build-pt-chown is enabled.
12557 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12558 pt_chown to fix pty ownership.
12559 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12560 CLOSE_ALL_FDS.
12561 * manual/install.texi (Configuring and compiling): Mention
12562 --enable-pt_chown. Add @findex for grantpt.
12563 * INSTALL: Regenerate.
12564
da2d62df
DM
125652013-07-20 David S. Miller <davem@davemloft.net>
12566
12567 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12568 difference between 32-bit and 64-bit.
12569
d7e06450
CD
125702013-07-15 Carlos O'Donell <carlos@redhat.com>
12571
12572 [BZ #15711]
12573 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12574 Avoid system header dependency with -ffreestanding.
12575 ($(objpfx)bits/syscall%d): Likewise.
12576
f959cfd7
DM
125772013-07-13 David S. Miller <davem@davemloft.net>
12578
12579 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12580 underflows from atanl/atan2l due to bug 15319.
12581 (casinh_test_data): Likewise.
12582
c61f8513
DM
125832013-07-07 David S. Miller <davem@davemloft.net>
12584
12585 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12586
72c90ed0
JA
125872013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12588
12589 * sysdeps/i386/fpu/libm-test-ulps: Update.
12590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12591
52dfbe13
SP
125922013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12593
12594 * configure.in (--enable-lock-elision): Fix message text.
12595 * INSTALL: Regenerate.
12596 * configure: Regenerate.
12597
3f169543
AZ
125982013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599
12600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12601
521c6785
AJ
126022013-07-03 Andreas Jaeger <aj@suse.de>
12603
12604 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12605 define.
12606 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12607 (ptrace_peeksiginfo_args): Add.
12608 (__ptrace_peeksiginfo_flags): Add.
12609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12612
d2cc15cb
AM
126132013-07-03 Allan McRae <allan@archlinux.org>
12614
12615 * sysdeps/i386/fpu/libm-test-ulps: Update.
12616
3aaeeca7
DM
126172013-07-02 David S. Miller <davem@davemloft.net>
12618
12619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12620
5314ed1a
MT
126212013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12622
12623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12624
67338156
JM
126252013-07-02 Joseph Myers <joseph@codesourcery.com>
12626
12627 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629
1717da59
AK
126302013-07-02 Andi Kleen <ak@linux.intel.com>
12631
12632 * config.h.in (ENABLE_LOCK_ELISION): Add.
12633 * configure.in (--enable-lock-elision): Add option.
12634 * manual/install.texi: Document --enable lock elision.
12635 * configure: Regenerate
12636 * INSTALL: Regenerate.
12637
1c81621c
L
126382013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12641 SSE4.2 strcasecmp for libc.a.
12642 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12643
77f01ab5
JM
126442013-07-02 Joseph Myers <joseph@codesourcery.com>
12645
12646 [BZ #13304]
12647 * soft-fp/op-common.h (_FP_FMA): New macro.
12648 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12649 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12650 (_FP_MUL_MEAT_1_imm): ... here.
12651 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12652 (_FP_MUL_MEAT_1_wide): ... here.
12653 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12654 (_FP_MUL_MEAT_1_hard): ... here.
12655 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12656 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12657 (_FP_MUL_MEAT_2_wide): ... here.
12658 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12659 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12660 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12661 (_FP_MUL_MEAT_2_gmp): ... here.
12662 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12663 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12664 (_FP_MUL_MEAT_4_wide): ... here.
12665 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12666 (_FP_MUL_MEAT_4_gmp): ... here.
12667 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12668 (_FP_WFRACBITS_DW_S): Likewise.
12669 (_FP_WFRACXBITS_DW_S): Likewise.
12670 (_FP_HIGHBIT_DW_S): Likewise.
12671 (FP_FMA_S): Likewise.
12672 (_FP_FRAC_HIGH_DW_S): Likewise.
12673 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12674 (_FP_WFRACBITS_DW_D): Likewise.
12675 (_FP_WFRACXBITS_DW_D): Likewise.
12676 (_FP_HIGHBIT_DW_D): Likewise.
12677 (FP_FMA_D): Likewise.
12678 (_FP_FRAC_HIGH_DW_D): Likewise.
12679 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12680 (_FP_WFRACBITS_DW_E): Likewise.
12681 (_FP_WFRACXBITS_DW_E): Likewise.
12682 (_FP_HIGHBIT_DW_E): Likewise.
12683 (FP_FMA_E): Likewise.
12684 (_FP_FRAC_HIGH_DW_E): Likewise.
12685 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12686 (_FP_WFRACBITS_DW_Q): Likewise.
12687 (_FP_WFRACXBITS_DW_Q): Likewise.
12688 (_FP_HIGHBIT_DW_Q): Likewise.
12689 (FP_FMA_Q): Likewise.
12690 (_FP_FRAC_HIGH_DW_Q): Likewise.
12691 * soft-fp/fmasf4.c: New file.
12692 * soft-fp/fmadf4.c: Likewise.
12693 * soft-fp/fmatf4.c: Likewise.
12694
6308fd9a
LD
126952013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12696
12697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12698 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12699 Silvermont.
12700 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12701 macro.
12702 (index_Slow_SSE4_2): Likewise.
12703 (index_Prefer_PMINUB_for_stringop): Likewise.
12704 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12705 bit_Slow_SSE4_2 is set.
12706 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12708
89cd9569
RA
127092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12710
12711 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12712 rtld_global._dl_hwcap2.
12713 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12714 POWER8.
12715 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12716 POWER8 feature descriptions defined in _dl_hwcap2.
12717 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12718 string handling for POWER8 feature bits.
12719 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12720 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12721 _dl_powerpc_cap_flags.
12722 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12723 * sysdeps/powerpc/rtld-global-offsets.sym
12724 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12725 _dl_hwcap2 in the rtld_global_ro structure.
12726
1ae8bfe0
RA
127272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12728
12729 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12730 hardware capabilities in support of AT_HWCAP2.
12731 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12732 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12733 GLRO(dl_hwcap2).
12734 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12735 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12736 explicitly the unknown a_type display mechanism is used.
12737 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12738 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12739 struct member.
12740 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12741 to macro prototype for AT_HWCAP2 support.
12742 * sysdeps/i386/dl-procinfo.h: Likewise.
12743 * sysdeps/s390/dl-procinfo.h: Likewise.
12744 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12745 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12746 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12747 return -1 for unknown a_type display fallback.
12748 * sysdeps/sparc/dl-procinfo.h: Likewise.
12749 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12750 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12751
8fbec010
JM
127522013-06-28 Joseph Myers <joseph@codesourcery.com>
12753
12754 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12755 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12756
0432680e
PY
127572013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12758
12759 [BZ #12492]
12760 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12761 mprotect making __stack_prot writable.
12762
ce61a2ad
NF
127632013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12764 Joseph Myers <joseph@codesourcery.com>
12765
12766 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12767 as being properly aligned.
12768
f91f1c0f
MR
127692013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12770
3d0f5d0c
MR
12771 * dlfcn/modstatic5.c: New file.
12772 * dlfcn/tststatic5.c: New file.
12773 * dlfcn/Makefile (tests): Add tststatic5.
12774 (tests-static): Likewise.
12775 (modules-names): Add modstatic5.
12776 (tststatic5-ENV): New variable.
12777 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12778
f91f1c0f
MR
12779 [BZ #15022]
12780 * elf/dl-support.c (_dl_main_map): New variable.
12781 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12782 (_dl_nns, _dl_load_adds): Set to 1.
12783 (_dl_initial_searchlist): Refer to _dl_main_map.
12784 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12785 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12786 call to _dl_get_origin.
12787 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12788 around call_map.
12789 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12790 * dlfcn/modstatic3.c: New file.
12791 * dlfcn/tststatic3.c: New file.
12792 * dlfcn/tststatic4.c: New file.
12793 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12794 (tests-static): Likewise.
12795 (modules-names): Add modstatic3.
12796 (tststatic3-ENV, tststatic4-ENV): New variables.
12797 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12798 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12799
cbe7d24b
JM
128002013-06-26 Joseph Myers <joseph@codesourcery.com>
12801
12802 * configure.in (CC): Require GCC version 4.4 or later.
12803 * configure: Regenerated.
12804 * manual/install.texi (Tools for Compilation): Update GCC version
12805 requirement.
12806 * INSTALL: Regenerated.
12807
11b8a0e1
LD
128082013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12809
12810 [BZ #15674]
bb5bb87c
L
12811 * string/test-memcmp.c (check2): New.
12812 (main): Call check2.
12813
11b8a0e1
LD
12814 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12815
b0037103
MR
128162013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12817
12818 [BZ #15022]
12819 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12820 over to...
12821 (dl_open_worker) [!SHARED]: ... here.
12822
c18c701d
RA
128232013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12824
12825 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12826
1d17fa5f
RH
128272013-06-25 Richard Henderson <rth@redhat.com>
12828
12829 * locale/programs/locarchive.c: Include <libc-internal.h>
12830
8fcb833a
JM
128312013-06-25 Joseph Myers <joseph@codesourcery.com>
12832
12833 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12834 trailing whitespace removed.
12835
17db6e8d
MF
128362013-06-24 Mike Frysinger <vapier@gentoo.org>
12837
12838 [BZ #10283]
17db6e8d
MF
12839 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12840 * locale/programs/locarchive.c: Include libc-mmap.h.
12841 (prepare_address_space): Take two new outputs (the mmap base and len).
12842 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12843 values.
12844 (create_archive): Declare new mmap base and len values for
12845 prepare_address_space, and store the result in ah.
12846 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12847 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12848 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12849 Declare new mmap base and len values for
12850 prepare_address_space, and store the result in new_ah.
12851 (open_archive): Declare new mmap base and len values for
12852 prepare_address_space, and store the result in ah.
12853 (close_archive): If ah->mmap_base is not NULL, use that and
12854 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12855 * sysdeps/generic/libc-mmap.h: New file.
12856
d605071e
MF
128572013-06-24 Mike Frysinger <vapier@gentoo.org>
12858
12859 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12860 (ALIGN_UP): Likewise.
12861 (PTR_ALIGN_DOWN): Likewise.
12862 (PTR_ALIGN_UP): Likewise.
12863
2f063a6e
RA
128642013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12865
12866 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12867 entry mapped to PPC_PLATFORM_POWER8.
12868 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12869 POWER8.
12870 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12871 (_dl_string_platform): Add case for exporting platform position for
12872 POWER8.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12874 search path to sysdeps/powerpc/powerpc32/power8 directory.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12876 search path to sysdeps/powerpc/powerpc64/power8 directory.
12877 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12878 power7 directories.
12879 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12880 power7 directories.
12881
a31ee4b3
SP
128822013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12883
a74ca98f
SP
12884 * INSTALL: Regenerate.
12885
a31ee4b3
SP
12886 * nscd/connections.c (nscd_init): Fix comment.
12887
695c378f
JM
128882013-06-22 Joseph Myers <joseph@codesourcery.com>
12889
d8412221
JM
12890 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12891
695c378f
JM
12892 [BZ #15667]
12893 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12894 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12895
d1d54715
MR
128962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12897
12898 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12899 DL_DST_REQ_STATIC.
12900 (DL_DST_REQ_STATIC): Remove macro.
12901
8fdda7af
JM
129022013-06-21 Joseph Myers <joseph@codesourcery.com>
12903
12904 [BZ #7006]
12905 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12906 with a shift of 0 bits.
12907
f3bc5e5a
MR
129082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12909
12910 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12911 $(tststatic-ENV).
12912
be09e8c9
KK
129132013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12914
12915 [BZ #15655]
12916 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12917
85c2e611
AZ
129182013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12919
12920 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12921 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12922 accepts -fno-tree-loop-distribute-patterns.
12923 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12924 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12925 recursive call.
12926 * string/memset.c (memset): Likewise.
12927 * string/test-memmove.c (simple_memmove): Disable loop transformation
12928 to library calls.
12929 * string/test-memset.c (simple_memset): Likewise.
12930 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12931 * benchtests/bench-memset.c (simple_memset): Likewise.
12932 * configure: Regenerated.
12933
c91e0825
JM
129342013-06-20 Joseph Myers <joseph@codesourcery.com>
12935
b8c792af
JM
12936 * math/test-misc.c (main): Ignore fesetround failure when failures
12937 of subsequent rounding tests would be ignored.
12938
c91e0825
JM
12939 [BZ #15654]
12940 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12941 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12942 * math/fegetenv.c (__fegetenv): Return 0.
12943 * math/fegetexcept.c (fegetexcept): Return 0.
12944 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12945 FE_TONEAREST.
12946 * math/feholdexcpt.c (feholdexcept): Return 0.
12947 * math/fesetenv.c (__fesetenv): Return 0.
12948 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12949 argument FE_TONEAREST.
12950 * math/feupdateenv.c (__feupdateenv): Return 0.
12951 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12952
bfcacbde
RM
129532013-06-18 Roland McGrath <roland@hack.frob.com>
12954
12955 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12956 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12957 ($(objpfx)rtld-%.os rules): Use them.
12958
e55a9b25
AZ
129592013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12960
12961 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12962 fields.
12963
346d65b3
RM
129642013-06-17 Roland McGrath <roland@hack.frob.com>
12965
12086fb4
RM
12966 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12967 length of target pattern, then descending length of dependency pattern.
12968 * configure.in (AWK): Require gawk 3.1.2 or newer.
12969 * manual/install.texi (Tools for Compilation): Say that we do.
12970 * configure: Regenerated.
12971
346d65b3
RM
12972 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12973 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12974 * scripts/sysd-rules.awk: ... this new script.
12975 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12976 than a glob-style pattern.
12977
1a846317
JM
129782013-06-17 Joseph Myers <joseph@codesourcery.com>
12979
12980 * math/test-misc.c (main): Do not treat incorrectly rounded
12981 conversions as failure unless ROUNDING_TESTS passes.
12982
8fc75e6f
JM
129832013-06-15 Joseph Myers <joseph@codesourcery.com>
12984
3711a167
JM
12985 [BZ #15631]
12986 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12987 restore exception state around main square root computation, then
12988 check for inexactness explicitly.
12989
8fc75e6f
JM
12990 * math/libm-test.inc (fma_test_data): Add another test.
12991
61dd6208
SP
129922013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12993
adf23d2c
SP
12994 * manual/threads.texi (Non-POSIX Extensions): New document
12995 node. Document pthread_getattr_default_np and
12996 pthread_setattr_default_np.
12997
61dd6208
SP
12998 * Versions.def (libpthread): Add GLIBC_2.18.
12999 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13001 Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13003 Likewise.
13004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13005 Likewise.
13006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13007 Likewise.
13008 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13009 Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13011 Likewise.
13012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13013 Likewise.
13014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13015 Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13017 Likewise.
13018
d086fc7b
LD
130192013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13020
13021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13022 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13023
747ef469
SP
130242013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 H.J. Lu <hjl.tools@gmail.com>
13026
13027 [BZ #15627]
13028 * sysdeps/x86_64/rtld-memset.c: Remove file.
13029 * sysdeps/x86_64/rtld-memset.S: New file.
13030
1b2feed2
JM
130312013-06-14 Joseph Myers <joseph@codesourcery.com>
13032
13033 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13034 (test_in_one_mode): Take arguments for whether the rounding mode
13035 is supported for each floating-point type.
13036 (do_test): Pass new arguments to test_in_one_mode using
13037 ROUNDING_TESTS.
13038
a58ad3f8
RM
130392013-06-13 Roland McGrath <roland@hack.frob.com>
13040
13041 * posix/tst-waitid.c (do_test): Distinguish different instances of
13042 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13043 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13044 before entering the kernel for waitpid.
13045
c204ab28
SP
130462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13047
13048 * NEWS: Fix note on clock function precision. Text by Roland
13049 McGrath.
13050
f4a29fba
RM
130512013-06-13 Roland McGrath <roland@hack.frob.com>
13052
13053 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13054 it into place only when and if the sanity check passes.
13055
1f24b9ad
JM
130562013-06-13 Joseph Myers <joseph@codesourcery.com>
13057
13058 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13059 output for whether conversion result is exact. Take argument
13060 indicating whether type is IBM long double.
13061 (round_for_all): Change need_exact field to ibm_ld.
13062 * stdlib/tst-strtod-round.c (struct exactness): New type.
13063 (struct test): Change bool ld_ok field to struct exactness exact.
13064 (TEST): Update all definitions for change to field.
13065 (tests): Regenerate array contents.
13066 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13067 field value. Check for IBM long double here.
13068 (do_test): Update calls to test_in_one_mode.
13069
58206c68
SP
130702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13071
13072 [BZ #12515]
13073 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13074 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13075
2d6f4c5b 130762013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13077
13078 [BZ #15605]
13079 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13080 generated by the compiler on loop optimizations.
13081 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13082 general definitions.
13083
94f2c076
JM
130842013-06-12 Joseph Myers <joseph@codesourcery.com>
13085
13086 * math/bug-nextafter.c: Include <math-tests.h>.
13087 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13088 the relevant type.
13089 * math/bug-nexttoward.c: Include <math-tests.h>.
13090 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13091 the relevant type.
13092 * math/test-misc.c: Include <math-tests.h>.
13093 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13094 the relevant type.
13095
e0e50a0a
AJ
130962013-06-12 Andreas Jaeger <aj@suse.de>
13097
13098 * po/ia.po: Update Interlingua translation from translation
13099 project.
13100
25061094
SP
131012013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13102
13103 * include/fenv.h: Include stdbool.h.
13104 (struct rm_ctx): New structure.
13105 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13106 Define macro.
13107 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13108 (SET_RESTORE_ROUNDF): Likewise.
13109 (SET_RESTORE_ROUNDL): Likewise.
13110 (SET_RESTORE_ROUND_NOEX): Likewise.
13111 (SET_RESTORE_ROUND_NOEXF): Likewise.
13112 (SET_RESTORE_ROUND_NOEXL): Likewise.
13113 (SET_RESTORE_ROUND_53BIT): Likewise.
13114 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13115 (libc_feresetround_noexf_ctx): Likewise.
13116 (libc_feresetround_noexl_ctx): Likewise.
13117 (libc_feholdsetround_53bit_ctx): Likewise.
13118 (libc_feresetround_53bit_ctx): Likewise.
13119 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13120 (libc_feholdexcept_setround_sse_ctx): New function.
13121 (libc_fesetenv_sse_ctx): Likewise.
13122 (libc_feupdateenv_sse_ctx): Likewise.
13123 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13124 (libc_feholdexcept_setround_387_ctx): Likewise.
13125 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13126 (libc_feholdsetround_387_prec_ctx): Likewise.
13127 (libc_feholdsetround_387_ctx): Likewise.
13128 (libc_feholdsetround_387_53bit_ctx): Likewise.
13129 (libc_feholdsetround_sse_ctx): Likewise.
13130 (libc_feresetround_sse_ctx): Likewise.
13131 (libc_feresetround_387_ctx): Likewise.
13132 (libc_feupdateenv_387_ctx): Likewise.
13133 (libc_feholdexcept_setroundf_ctx): Define macro.
13134 (libc_fesetenvf_ctx): Likewise.
13135 (libc_feupdateenvf_ctx): Likewise.
13136 (libc_feholdsetroundf_ctx): Likewise.
13137 (libc_feresetroundf_ctx): Likewise.
13138 (libc_feholdexcept_setround_ctx): Likewise.
13139 (libc_fesetenv_ctx): Likewise.
13140 (libc_feupdateenv_ctx): Likewise.
13141 (libc_feholdsetround_ctx): Likewise.
13142 (libc_feresetround_ctx): Likewise.
13143 (libc_feholdexcept_setroundl_ctx): Likewise.
13144 (libc_feupdateenvl_ctx): Likewise.
13145 (libc_feholdsetroundl_ctx): Likewise.
13146 (libc_feresetroundl_ctx): Likewise.
13147 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13148 (libc_feresetround_53bit_ctx): Likewise.
13149
59b30555
SP
131502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13151
13152 * locale/iso-639.def: Convert to UTF-8.
13153
f1d73d30
JM
131542013-06-11 Joseph Myers <joseph@codesourcery.com>
13155
13156 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13157 (EXCEPTION_TESTS_double): Likewise.
13158 (EXCEPTION_TESTS_long_double): Likewise.
13159 (EXCEPTION_TESTS): Likewise.
13160 * math/libm-test.inc (test_exceptions): Only test exceptions if
13161 EXCEPTION_TESTS (FLOAT).
13162
94aca5e7
SP
131632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13164
13165 * benchtests/Makefile (string-bench): Add strcpy_chk and
13166 stpcpy_chk.
13167 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13168 * benchtests/bench-stpcpy_chk.c: New file.
13169 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13170 * benchtests/bench-strcpy_chk.c: New file.
13171 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13172 code.
13173 (do_test): Likewise.
13174
fac0c5f2
RA
131752013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13176
13177 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13178 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13179 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13180 with tabs where appropriate.
13181 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13182 dl-procinfo.h.
13183 [PPC_PLATFORM_PPC440]: Likewise.
13184 [PPC_PLATFORM_PPC464]: Likewise.
13185 [PPC_PLATFORM_PPC476]: Likewise.
13186 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13187 ppc464, and ppc476 platform strings merging from ports/
13188 dl-procinfo.h.
13189
f22bc486
AS
131902013-06-11 Andreas Schwab <schwab@suse.de>
13191
13192 [BZ #14991]
13193 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13194 (from_ucs4_idx): Regenerate.
13195 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13196 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13197 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13198 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13199 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13200 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13201 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13202 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13203 from FROM_LOOP and TO_LOOP specific macros.
13204 (BODY): Handle combining characters.
13205 * iconvdata/BIG5HKSCS.irreversible: Update.
13206 * iconvdata/BIG5HKSCS.precomposed: New file.
13207 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13208 characters.
13209 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13210
c1f75dc3
SP
132112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13212
4eacded2
SP
13213 * include/sys/time.h: Fix indentation and add copyright header.
13214
fec799f8
SP
13215 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13216 (do_test): Likewise.
13217 * string/test-memchr.c (do_one_test): Likewise.
13218 (do_test): Likewise.
13219 * string/test-memcmp.c (do_one_test): Likewise.
13220 (do_test): Likewise.
13221 * string/test-memcpy.c (do_one_test): Likewise.
13222 (do_test): Likewise.
13223 * string/test-memmem.c (do_one_test): Likewise.
13224 (do_test): Likewise.
13225 (do_random_tests): Likewise.
13226 * string/test-memmove.c (do_one_test): Likewise.
13227 (do_test): Likewise.
13228 * string/test-memset.c (do_one_test): Likewise.
13229 (do_test): Likewise.
13230 * string/test-rawmemchr.c (do_one_test): Likewise.
13231 (do_test): Likewise.
13232 * string/test-strcasecmp.c (do_one_test): Likewise.
13233 (do_test): Likewise.
13234 * string/test-strcasestr.c (do_one_test): Likewise.
13235 (do_test): Likewise.
13236 * string/test-strcat.c (do_one_test): Likewise.
13237 (do_test): Likewise.
13238 * string/test-strchr.c (do_one_test): Likewise.
13239 (do_test): Likewise.
13240 * string/test-strcmp.c (do_one_test): Likewise.
13241 (do_test): Likewise.
13242 * string/test-strcpy.c (do_one_test): Likewise.
13243 (do_test): Likewise.
13244 * string/test-string.h: Likewise.
13245 (test_init): Likewise.
13246 * string/test-strlen.c (do_one_test): Likewise.
13247 (do_test): Likewise.
13248 * string/test-strncasecmp.c (do_one_test): Likewise.
13249 (do_test): Likewise.
13250 * string/test-strncat.c (do_one_test): Likewise.
13251 (do_test): Likewise.
13252 * string/test-strncmp.c (do_one_test): Likewise.
13253 (do_test_limit): Likewise.
13254 (do_test): Likewise.
13255 * string/test-strncpy.c (do_one_test): Likewise.
13256 (do_test): Likewise.
13257 * string/test-strnlen.c (do_one_test): Likewise.
13258 (do_test): Likewise.
13259 * string/test-strpbrk.c (do_one_test): Likewise.
13260 (do_test): Likewise.
13261 * string/test-strrchr.c (do_one_test): Likewise.
13262 (do_test): Likewise.
13263 * string/test-strspn.c (do_one_test): Likewise.
13264 (do_test): Likewise.
13265 * string/test-strstr.c (do_one_test): Likewise.
13266 (do_test): Likewise.
13267
97020474
SP
13268 * benchtests/Makefile (string-bench): Add string benchmarks.
13269 * benchtests/bench-bcopy-ifunc.c: New file.
13270 * benchtests/bench-bcopy.c: New file.
13271 * benchtests/bench-bzero-ifunc.c: New file.
13272 * benchtests/bench-bzero.c: New file.
13273 * benchtests/bench-memccpy-ifunc.c: New file.
13274 * benchtests/bench-memccpy.c: New file.
13275 * benchtests/bench-memchr-ifunc.c: New file.
13276 * benchtests/bench-memchr.c: New file.
13277 * benchtests/bench-memcmp-ifunc.c: New file.
13278 * benchtests/bench-memcmp.c: New file.
13279 * benchtests/bench-memmem-ifunc.c: New file.
13280 * benchtests/bench-memmem.c: New file.
13281 * benchtests/bench-memmove-ifunc.c: New file.
13282 * benchtests/bench-memmove.c: New file.
13283 * benchtests/bench-mempcpy-ifunc.c: New file.
13284 * benchtests/bench-mempcpy.c: New file.
13285 * benchtests/bench-memset-ifunc.c: New file.
13286 * benchtests/bench-memset.c: New file.
13287 * benchtests/bench-rawmemchr-ifunc.c: New file.
13288 * benchtests/bench-rawmemchr.c: New file.
13289 * benchtests/bench-stpcpy-ifunc.c: New file.
13290 * benchtests/bench-stpcpy.c: New file.
13291 * benchtests/bench-stpncpy-ifunc.c: New file.
13292 * benchtests/bench-stpncpy.c: New file.
13293 * benchtests/bench-strcasecmp-ifunc.c: New file.
13294 * benchtests/bench-strcasecmp.c: New file.
13295 * benchtests/bench-strcasestr-ifunc.c: New file.
13296 * benchtests/bench-strcasestr.c: New file.
13297 * benchtests/bench-strcat-ifunc.c: New file.
13298 * benchtests/bench-strcat.c: New file.
13299 * benchtests/bench-strchr-ifunc.c: New file.
13300 * benchtests/bench-strchr.c: New file.
13301 * benchtests/bench-strchrnul-ifunc.c: New file.
13302 * benchtests/bench-strchrnul.c: New file.
13303 * benchtests/bench-strcmp-ifunc.c: New file.
13304 * benchtests/bench-strcmp.c: New file.
13305 * benchtests/bench-strcpy-ifunc.c: New file.
13306 * benchtests/bench-strcpy.c: New file.
13307 * benchtests/bench-strcspn-ifunc.c: New file.
13308 * benchtests/bench-strcspn.c: New file.
13309 * benchtests/bench-strlen-ifunc.c: New file.
13310 * benchtests/bench-strlen.c: New file.
13311 * benchtests/bench-strncasecmp-ifunc.c: New file.
13312 * benchtests/bench-strncasecmp.c: New file.
13313 * benchtests/bench-strncat-ifunc.c: New file.
13314 * benchtests/bench-strncat.c: New file.
13315 * benchtests/bench-strncmp-ifunc.c: New file.
13316 * benchtests/bench-strncmp.c: New file.
13317 * benchtests/bench-strncpy-ifunc.c: New file.
13318 * benchtests/bench-strncpy.c: New file.
13319 * benchtests/bench-strnlen-ifunc.c: New file.
13320 * benchtests/bench-strnlen.c: New file.
13321 * benchtests/bench-strpbrk-ifunc.c: New file.
13322 * benchtests/bench-strpbrk.c: New file.
13323 * benchtests/bench-strrchr-ifunc.c: New file.
13324 * benchtests/bench-strrchr.c: New file.
13325 * benchtests/bench-strspn-ifunc.c: New file.
13326 * benchtests/bench-strspn.c: New file.
13327 * benchtests/bench-strstr-ifunc.c: New file.
13328 * benchtests/bench-strstr.c: New file.
13329
c1f75dc3
SP
13330 * benchtests/Makefile: Disable parallel execution of targets.
13331 (string-bench): Add memcpy.
13332 (benchset): New variable to store a list of benchmark sets.
13333 (bench-func): Renamed from bench.
13334 (bench-set): New target.
13335 (bench): Depend on bench-func and bench-set.
13336 * benchtests/README: Add section on benchmark sets.
13337 * benchtests/bench-memcpy-ifunc.c: New file.
13338 * benchtests/bench-memcpy.c: New file.
13339 * benchtests/bench-string.h: New file.
13340
50fd745b
AS
133412013-06-11 Andreas Schwab <schwab@suse.de>
13342
13343 [BZ #15577]
13344 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13345 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13346 values in the triple.
13347 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13348 terminator in the group key.
13349
3ee7e9fe
AJ
133502013-06-11 Andreas Jaeger <aj@suse.de>
13351
13352 * po/zh_TW.po: Update Chinese (traditional) translation from
13353 translation project.
13354
89fb6835
SP
133552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13356
13357 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13358 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13359 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13361 (clock_getcpuclockid): Likewise.
13362 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13363 Add weak_alias and libc_hidden_def.
13364 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13365 * rt/clock_gettime.c (clock_gettime): Rename to
13366 __clock_gettime. Add weak_alias and libc_hidden_def.
13367 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13368 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13369 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13370 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13371 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13372 Likewise.
13373 * rt/clock_settime.c (clock_settime): Rename to
13374 __clock_settime. Add weak_alias and libc_hidden_def.
13375 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13376
0efa6f8b
JM
133772013-06-10 Joseph Myers <joseph@codesourcery.com>
13378
b8c61b4b
JM
13379 * mach/err_boot.sub: Remove trailing whitespace.
13380 * mach/err_ipc.sub: Likewise.
13381 * mach/err_mach.sub: Likewise.
13382
0efa6f8b
JM
13383 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13384 (ROUNDING_TESTS_double): Likewise.
13385 (ROUNDING_TESTS_long_double): Likewise.
13386 (ROUNDING_TESTS): Likewise.
13387 * math/libm-test.inc: Include <math-tests.h>.
13388 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13389 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13390 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13391 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13392
50b818bf
SP
133932013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13394
13395 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13396 of assigning.
13397
60d2f8f3
JM
133982013-06-08 Joseph Myers <joseph@codesourcery.com>
13399
4902d2c3
JM
13400 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13401 otherwise empty TRANS lines.
13402 * sysdeps/gnu/errlist.c: Regenerated.
13403
60d2f8f3
JM
13404 * catgets/gencat.c (error_print): Use (void) in function
13405 definition.
13406 * crypt/crypt_util.c (__init_des): Likewise.
13407 * crypt/speeds.c (Stop): Likewise.
13408 (main): Likewise.
13409 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13410 * inet/ruserpass.c (token): Likewise.
13411 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13412 * intl/localealias.c (extend_alias_table): Likewise.
13413 * intl/plural-exp.c (init_germanic_plural): Likewise.
13414 * libio/fcloseall.c (__fcloseall): Likewise.
13415 * libio/genops.c (_IO_flush_all): Likewise.
13416 (_IO_flush_all_linebuffered): Likewise.
13417 (_IO_cleanup): Likewise.
13418 (_IO_iter_begin): Likewise.
13419 (_IO_iter_end): Likewise.
13420 (_IO_list_lock): Likewise.
13421 (_IO_list_unlock): Likewise.
13422 (_IO_list_resetlock): Likewise.
13423 * libio/getchar.c (getchar): Likewise.
13424 * libio/getchar_u.c (getchar_unlocked): Likewise.
13425 * libio/getwchar.c (getwchar): Likewise.
13426 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13427 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13428 * login/getpt.c (__getpt): Likewise.
13429 * login/tst-utmp.c (main): Likewise.
13430 * malloc/hooks.c (__malloc_check_init): Likewise.
13431 * malloc/malloc.c (__malloc_stats): Likewise.
13432 * malloc/mtrace.c (tr_break): Likewise.
13433 (mtrace): Likewise.
13434 (muntrace): Likewise.
13435 * misc/fstab.c (endfsent): Likewise.
13436 * misc/getclktck.c (__getclktck): Likewise.
13437 * misc/getdtsz.c (__getdtablesize): Likewise.
13438 * misc/gethostid.c (gethostid): Likewise.
13439 * misc/getpagesize.c (__getpagesize): Likewise.
13440 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13441 (__get_nprocs): Likewise.
13442 (__get_phys_pages): Likewise.
13443 (__get_avphys_pages): Likewise.
13444 * misc/getttyent.c (getttyent): Likewise.
13445 (setttyent): Likewise.
13446 (endttyent): Likewise.
13447 * misc/getusershell.c (getusershell): Likewise.
13448 (endusershell): Likewise.
13449 (setusershell): Likewise.
13450 (initshells): Likewise.
13451 * misc/hsearch.c (__hdestroy): Likewise.
13452 * misc/sync.c (sync): Likewise.
13453 * misc/syslog.c (closelog_internal): Likewise.
13454 (closelog): Likewise.
13455 * misc/ttyslot.c (ttyslot): Likewise.
13456 * misc/vhangup.c (vhangup): Likewise.
13457 * posix/fork.c (__fork): Likewise.
13458 * posix/getegid.c (__getegid): Likewise.
13459 * posix/geteuid.c (__geteuid): Likewise.
13460 * posix/getgid.c (__getgid): Likewise.
13461 * posix/getpid.c (__getpid): Likewise.
13462 * posix/getppid.c (__getppid): Likewise.
13463 * posix/getuid.c (__getuid): Likewise.
13464 * posix/pause.c (pause): Likewise.
13465 * posix/setpgrp.c (setpgrp): Likewise.
13466 * posix/setsid.c (__setsid): Likewise.
13467 * posix/test-vfork.c (noop): Likewise.
13468 * resolv/gethnamaddr.c (_endhtent): Likewise.
13469 (_gethtent): Likewise.
13470 (ht_endhostent): Likewise.
13471 (gethostent): Likewise.
13472 (dns_service): Likewise.
13473 * stdlib/drand48.c (drand48): Likewise.
13474 * stdlib/lrand48.c (lrand48): Likewise.
13475 * stdlib/mrand48.c (mrand48): Likewise.
13476 * stdlib/rand.c (rand): Likewise.
13477 * stdlib/random.c (__random): Likewise.
13478 * stdlib/setenv.c (clearenv): Likewise.
13479 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13480 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13481 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13482 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13483 (__get_nprocs): Likewise.
13484 (__get_phys_pages): Likewise.
13485 (__get_avphys_pages): Likewise.
13486 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13487 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13488 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13489 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13490 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13491 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13492 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13493 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13494 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13495 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13496 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13497 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13498 * sysdeps/posix/clock.c (clock): Likewise.
13499 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13500 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13501 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13502 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13503 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13504 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13505 (__get_nprocs_conf): Likewise.
13506 (__get_phys_pages): Likewise.
13507 (__get_avphys_pages): Likewise.
13508 * time/clock.c (clock): Likewise.
13509 * time/tzset.c (__tzname_max): Likewise.
13510
2e09a79a
JM
135112013-06-07 Joseph Myers <joseph@codesourcery.com>
13512
13513 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13514 (__bswap_32): Do not use "register".
13515 * crypt/crypt.c (_ufc_doit_r): Likewise.
13516 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13517 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13518 * gmon/gmon.c (__monstartup): Likewise.
13519 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13520 * hurd/hurdmalloc.c (more_memory): Likewise.
13521 (malloc): Likewise.
13522 (free): Likewise.
13523 (realloc): Likewise.
13524 (malloc_fork_prepare): Likewise.
13525 (malloc_fork_parent): Likewise.
13526 (malloc_fork_child): Likewise.
13527 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13528 (_svcauth_des): Likewise.
13529 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13530 * inet/inet_net.c (inet_network): Likewise.
13531 * inet/inet_netof.c (inet_netof): Likewise.
13532 * inet/rcmd.c (__validuser2_sa): Likewise.
13533 * io/fts.c (fts_open): Likewise.
13534 (fts_load): Likewise.
13535 (fts_close): Likewise.
13536 (fts_read): Likewise.
13537 (fts_children): Likewise.
13538 (fts_build): Likewise.
13539 (fts_stat): Likewise.
13540 (fts_sort): Likewise.
13541 (fts_alloc): Likewise.
13542 (fts_lfree): Likewise.
13543 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13544 (_IO_file_xsgetn): Likewise.
13545 (_IO_file_xsgetn_mmap): Likewise.
13546 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13547 (_IO_cookie_write): Likewise.
13548 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13549 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13550 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13551 * malloc/obstack.c (_obstack_begin): Likewise.
13552 (_obstack_begin_1): Likewise.
13553 (_obstack_newchunk): Likewise.
13554 (_obstack_allocated_p): Likewise.
13555 (obstack_free): Likewise.
13556 (_obstack_memory_used): Likewise.
13557 * misc/getttyent.c (getttynam): Likewise.
13558 (getttyent): Likewise.
13559 (skip): Likewise.
13560 (value): Likewise.
13561 * misc/getusershell.c (initshells): Likewise.
13562 * misc/syslog.c (__vsyslog_chk): Likewise.
13563 * misc/ttyslot.c (ttyslot): Likewise.
13564 * nis/nis_hash.c (__nis_hash): Likewise.
13565 * posix/fnmatch_loop.c (FCT): Likewise.
13566 * posix/getconf.c (print_all): Likewise.
13567 (main): Likewise.
13568 * posix/getopt.c (exchange): Likewise.
13569 * posix/glob.c (globfree): Likewise.
13570 (prefix_array): Likewise.
13571 (__glob_pattern_type): Likewise.
13572 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13573 (NS_GET32): Likewise.
13574 (NS_PUT16): Likewise.
13575 (NS_PUT32): Likewise.
13576 * resolv/gethnamaddr.c (getanswer): Likewise.
13577 (gethostbyname2): Likewise.
13578 (gethostbyaddr): Likewise.
13579 (_gethtent): Likewise.
13580 (_gethtbyname2): Likewise.
13581 (_gethtbyaddr): Likewise.
13582 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13583 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13584 * resolv/res_init.c (__res_vinit): Likewise.
13585 (net_mask): Likewise.
13586 * resolv/res_mkquery.c (outchar): Likewise.
13587 (PRINT): Likewise.
13588 * stdio-common/printf_fp.c (outchar): Likewise.
13589 (PRINT): Likewise.
13590 * stdio-common/printf_fphex.c (outchar): Likewise.
13591 (PRINT): Likewise.
13592 * stdio-common/printf_size.c (outchar): Likewise.
13593 (PRINT): Likewise.
13594 * stdio-common/test_rdwr.c (main): Likewise.
13595 * stdio-common/tfformat.c (matches): Likewise.
13596 * stdio-common/vfprintf.c (outchar): Likewise.
13597 (printf_unknown): Likewise.
13598 (buffered_vfprintf): Likewise.
13599 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13600 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13601 (ReadFile): Likewise.
13602 * stdlib/qsort.c (SWAP): Likewise.
13603 (_quicksort): Likewise.
13604 * stdlib/setenv.c (__add_to_environ): Likewise.
13605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13606 * stdlib/strtol_l.c (__strtol_l): Likewise.
13607 * stdlib/tst-strtod.c (main): Likewise.
13608 * stdlib/tst-strtol.c (main): Likewise.
13609 * stdlib/tst-strtoll.c (main): Likewise.
13610 * string/bits/string2.h (__strcmp_cc): Likewise.
13611 (__strcmp_cg): Likewise.
13612 (__strcspn_c1): Likewise.
13613 (__strcspn_c2): Likewise.
13614 (__strcspn_c3): Likewise.
13615 (__strspn_c1): Likewise.
13616 (__strspn_c2): Likewise.
13617 (__strspn_c3): Likewise.
13618 (__strsep_1c): Likewise.
13619 (__strsep_2c): Likewise.
13620 (__strsep_3c): Likewise.
13621 * string/memccpy.c (__memccpy): Likewise.
13622 * string/stpcpy.c (__stpcpy): Likewise.
13623 * string/strcmp.c (strcmp): Likewise.
13624 * string/strrchr.c (strrchr): Likewise.
13625 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13626 Likewise.
13627 * sysdeps/mach/hurd/getcwd.c
13628 (_hurd_canonicalize_directory_name_internal): Likewise.
13629 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13630 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13631 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13632 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13633 Likewise, in both definitions.
13634 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13635 definitions.
13636 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13637 64] (__bswap_64): Likewise.
13638 * time/test_time.c (main): Likewise.
13639 * time/tzfile.c (__tzfile_read): Likewise.
13640 (__tzfile_compute): Likewise.
13641 * time/tzset.c (__tzset_parse_tz): Likewise.
13642 (tzset_internal): Likewise.
13643 (compute_change): Likewise.
13644 * wcsmbs/wcscat.c (__wcscat): Likewise.
13645 * wcsmbs/wcschr.c (wcschr): Likewise.
13646 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13647 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13648 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13649 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13650 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13651 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13652 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13653 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13654 * wcsmbs/wmemset.c (wmemset): Likewise.
13655
9e54314b
JM
136562013-06-06 Joseph Myers <joseph@codesourcery.com>
13657
13658 * scripts/config.guess: Update to version 2013-05-16.
13659 * scripts/config.sub: Update to version 2013-04-24.
13660 * scripts/install-sh: Update to version 2011-11-20.07.
13661 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13662 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13663
350635a5
OB
136642013-06-06 Ondřej Bílka <neleai@seznam.cz>
13665
13666 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13667 * elf/sln.c: Likewise.
13668 * hurd/hurd/ioctl.h: Likewise.
13669 * hurd/hurdmalloc.c: Likewise.
13670 * hurd/xattr.c: Likewise.
13671 * include/shlib-compat.h: Likewise.
13672 * inet/ruserpass.c: Likewise.
13673 * libio/iofgets_u.c: Likewise.
13674 * libio/iofgetws_u.c: Likewise.
13675 * locale/programs/ld-identification.c: Likewise.
13676 * locale/programs/ld-time.c: Likewise.
13677 * mach/msg-destroy.c: Likewise.
13678 * nss/nss_files/files-netgrp.c: Likewise.
13679 * resolv/res_data.c: Likewise.
13680 * soft-fp/op-1.h: Likewise.
13681 * soft-fp/op-2.h: Likewise.
13682 * soft-fp/op-4.h: Likewise.
13683 * soft-fp/op-common.h: Likewise.
13684 * stdio-common/printf_fphex.c: Likewise.
13685 * stdlib/strtod_l.c: Likewise.
13686 * sunrpc/rpc/clnt.h: Likewise.
13687 * sysdeps/generic/framestate.c: Likewise.
13688 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13689 * sysdeps/i386/bsd-setjmp.S: Likewise.
13690 * sysdeps/i386/__longjmp.S: Likewise.
13691 * sysdeps/i386/setjmp.S: Likewise.
13692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13693 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13710 * sysdeps/ieee754/support.c: Likewise.
13711 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13712 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13713 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13714 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13715 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13716 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13717 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13718 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13719 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13720 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13721 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13722 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13723 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13724 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13725 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13726 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13727 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13729
44a988af
OB
137302013-06-05 Ondřej Bílka <neleai@seznam.cz>
13731
25506f09 13732 * posix/transbug.c: Remove executable mode.
44a988af 13733
9c84384c
JM
137342013-06-05 Joseph Myers <joseph@codesourcery.com>
13735
13736 * crypt/speeds.c: Remove trailing whitespace.
13737 * dlfcn/default.c: Likewise.
13738 * elf/ifuncdep2.c: Likewise.
13739 * elf/ifuncmain1.c: Likewise.
13740 * elf/ifuncmain1vis.c: Likewise.
13741 * elf/testobj.h: Likewise.
13742 * elf/tst-stackguard1.c: Likewise.
13743 * gmon/sys/gmon.h: Likewise.
13744 * hurd/hurdmsg.c: Likewise.
13745 * hurd/new-fd.c: Likewise.
13746 * hurd/ports-get.c: Likewise.
13747 * iconvdata/ibm1008_420.c: Likewise.
13748 * inet/tst-getni1.c: Likewise.
13749 * inet/tst-getni2.c: Likewise.
13750 * libio/ioungetc.c: Likewise.
13751 * libio/wfiledoalloc.c: Likewise.
13752 * manual/libm-err-tab.pl: Likewise.
13753 * math/w_dremf.c: Likewise.
13754 * misc/ftruncate.c: Likewise.
13755 * posix/bug-glob2.c: Likewise.
13756 * posix/tst-pcre.c: Likewise.
13757 * posix/wait4.c: Likewise.
13758 * resolv/README: Likewise.
13759 * resolv/res_debug.h: Likewise.
13760 * resolv/tst-inet_ntop.c: Likewise.
13761 * setjmp/bug269-setjmp.c: Likewise.
13762 * soft-fp/extended.h: Likewise.
13763 * soft-fp/op-1.h: Likewise.
13764 * soft-fp/op-2.h: Likewise.
13765 * soft-fp/op-4.h: Likewise.
13766 * soft-fp/op-8.h: Likewise.
13767 * soft-fp/testit.c: Likewise.
13768 * stdio-common/bug16.c: Likewise.
13769 * stdlib/random.c: Likewise.
13770 * sunrpc/rpcsvc/rquota.x: Likewise.
13771 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13772 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13774 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13775 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13777 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13778 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13779 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13781 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13800 * sysdeps/ieee754/s_lib_version.c: Likewise.
13801 * sysdeps/mach/hurd/check_fds.c: Likewise.
13802 * sysdeps/mach/hurd/getsockname.c: Likewise.
13803 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13804 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13805 * sysdeps/powerpc/bits/link.h: Likewise.
13806 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13807 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13808 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13809 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13810 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13811 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13812 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13813 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13814 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13816 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13817 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13818 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13819 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13820 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13821 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13825 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13826 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13829 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13830 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13832 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13833 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13834 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13836 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13837 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13838 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13839 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13840 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13841 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13842 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13843 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13848 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13853 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13854 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13855 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13859 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13860 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13861 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13862 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13865 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13867 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13868 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13869 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13870 * sysdeps/powerpc/sysdep.h: Likewise.
13871 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13872 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13873 * sysdeps/sh/dl-trampoline.S: Likewise.
13874 * sysdeps/sh/memset.S: Likewise.
13875 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13876 * sysdeps/sh/strlen.S: Likewise.
13877 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13878 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13879 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13880 * sysdeps/sparc/sparc32/rem.S: Likewise.
13881 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13882 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13883 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13884 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13885 * sysdeps/sparc/sparc32/urem.S: Likewise.
13886 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13887 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13888 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13889 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13891 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13892 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13893 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13894 * sysdeps/unix/bsd/times.c: Likewise.
13895 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13896 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13904 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13905 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13913 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13914 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13915 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13916 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13917 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13918 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13919 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13922 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13923 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13924 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13925 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13926 * sysdeps/x86_64/strcspn.S: Likewise.
13927
869378a5
RA
139282013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13929
13930 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13931 generated file. Regenerate properly from gen-translit.pl.
13932 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13933 locale/C-translit.h.
13934
840e2943
AS
139352013-06-05 Andreas Schwab <schwab@suse.de>
13936
13937 [BZ #15100]
13938 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13939 week as 6 instead of -1.
13940 * time/tst-strptime.c (day_tests): Add test case.
13941
4c60cb0c
SP
139422013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13943
13944 * sysdeps/generic/math_private.h
13945 (libc_feholdexcept_setround_53bit): Replace with
13946 libc_feholdsetround_53bit.
13947 (libc_feupdateenv_53bit): Replace with
13948 libc_feresetround_53bit.
13949 (SET_RESTORE_ROUND_53BIT): Adjust.
13950
d180203e
SP
139512013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13952
96df079a
SP
13953 * string/test-strchrnul.c: Add copyright header.
13954
d180203e
SP
13955 * posix/tst-getaddrinfo4.c: Increase test timeout.
13956
8b0ccb2d
CD
139572013-06-03 Carlos O'Donell <carlos@redhat.com>
13958
13959 [BZ #15536]
13960 * math/libm-test.inc (MAX_EXP): Remove
13961 (MIN_EXP): Define.
13962 (ulp): Use MIN_EXP - MANT_DIG.
13963 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13964
3b3c4d40
CD
139652013-05-31 Carlos O'Donell <carlos@redhat.com>
13966
13967 * po/be.po: Revert last change.
13968 * po/zh_CN.po: Likewise.
13969 * po/header.pot: Likewise.
13970
fab7ce3f
JM
139712013-05-31 Joseph Myers <joseph@codesourcery.com>
13972
13973 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13974 link-libc-deps to empty as target-specific variable.
13975 * Makerules (link-libc-args): New variable.
13976 (libc-for-link): Likewise.
13977 (link-libc-deps): Likewise.
13978 (lib%.so): Depend on $(link-libc-deps). Link with
13979 $(link-libc-args).
13980 (build-module): Link with $(link-libc-args).
13981 (build-module-asneeded): Likewise.
13982 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13983 list of objects.
13984 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13985 target-specific variable.
13986 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13987 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13988 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13989 libc.
13990 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13991 libc and ld.so.
13992 ($(objpfx)libpcprofile.so): Likewise.
13993 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13994 libc_nonshared.a.
13995 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13996 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13997 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13998 $(link-libc-deps).
13999 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14000 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14001 * login/Makefile ($(objpfx)libutil.so): Likewise.
14002 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14003 * math/Makefile ($(objpfx)libm.so): Likewise.
14004 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14005 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14006 variable instead of depending directly on libc.
14007 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14008 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14009 $(link-libc-deps).
14010 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14011 libc.
14012 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14013 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14014 ($(objpfx)libanl.so): Likewise.
14015 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14016 ld.so.
14017 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14018 $(link-libc-deps).
14019 * sysdeps/i386/fpu/Makefile: Remove file.
14020 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14021 ($(objpfx)libm.so): Remove dependency on ld.so.
14022
eca5920c
PF
140232013-05-30 Patsy Franklin <pfrankli@redhat.com>
14024
14025 [BZ # 15553]
14026 * nis/yp_xdr.c (XDRMAXNAME): Define.
14027 (XDRMAXRECORD): Define.
14028 (xdr_domainname): Use XDRMAXNAME.
14029 (xdr_mapname): Likewise.
14030 (xdr_peername): Likewise.
14031 (xdr_keydat): Use XDRMAXRECORD.
14032 (xdr_valdat): Likewise.
14033
140342013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14035
14036 [BZ #14256]
14037 * manual/errno.texi (ESTALE): Update to account for more than
14038 just NFS file systems.
14039 * sysdeps/gnu/errlist.c: Regenerated.
14040
b9375348
SP
140412013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14042
14043 [BZ #15465]
14044 * elf/Makefile (tests): Add tst-null-argv.
14045 (modules-names): Add tst-null-argv-lib.
14046 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14047 (tst-null-argv-ENV): Set environment for tst-null-argv.
14048 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14049 (RTLD_PROGNAME): New macro.
14050 * elf/tst-null-argv.c: New test case.
14051 * elf/tst-null-argv-lib.c: Library for test case.
14052 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14053 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14054 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14055 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14056 * elf/dl-init.c (call_init): Likewise.
14057 (_dl_init): Likewise.
14058 * elf/dl-load.c (print_search_path): Likewise.
14059 (_dl_map_object): Likewise.
14060 * elf/dl-lookup.c (do_lookup_x): Likewise.
14061 (add_dependency): Likewise.
14062 (_dl_lookup_symbol_x): Likewise.
14063 (_dl_debug_bindings): Likewise.
14064 * elf/dl-open.c (_dl_show_scope): Likewise.
14065 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14066 * elf/dl-version.c (match_symbol): Likewise.
14067 (_dl_check_map_versions): Likewise.
14068 * elf/rtld.c (dl_main): Likewise.
14069 (print_unresolved): Use RTLD_PROGNAME.
14070 (print_missing_version): Likewise.
14071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14072 (elf_machine_rela): Likewise.
14073 * sysdeps/powerpc/powerpc32/dl-machine.c
14074 (__process_machine_rela): Likewise.
14075 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14076 Likewise.
14077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14078 Likewise.
14079 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14080 Likewise.
14081 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14083 Likewise.
14084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14085 Likewise.
14086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14087
8a9f20c8
CD
140882013-05-28 Carlos O'Donell <carlos@redhat.com>
14089
14090 * po/be.po: Add descriptive title.
14091 * po/zh_CN.po: Likewise.
14092 * po/header.pot: Likewise.
14093
0e60d68e
MF
140942013-05-28 Mike Frysinger <vapier@gentoo.org>
14095
14096 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14097 error message.
14098 (enlarge_archive): Likewise.
14099
56b672e9
BN
141002013-05-28 Ben North <ben@redfrontdoor.org>
14101
14102 * manual/arith.texi (frexp): It is the magnitude of the return
14103 value which lies in [0.5, 1), not the return value itself.
14104
5e056687
AZ
141052013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14106
14107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14108
2b66ef5d
TS
141092013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14110
528c2405
TS
14111 * stdio-common/bug26.c (main): Correct fscanf template.
14112
07b4c13d
TS
14113 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14114 declare _dl_skip_args.
14115
ec9dd97c
TS
14116 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14117 Don't declare.
14118
2b66ef5d
TS
14119 * manual/platform.texi: Add missing @end deftypefun.
14120
4f8dfe27
JM
141212013-05-24 Joseph Myers <joseph@codesourcery.com>
14122
0323d086
JM
14123 [BZ #15529]
14124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14125 bit of mantissa of 2^16382.
14126 * math/libm-test.inc (hypot_test_data): Add more tests.
14127
dd4259b9
JM
14128 * math/libm-test.inc: Add drem and pow10 to list of tested
14129 functions.
14130 (pow10_test): New function.
14131 (drem_test): Likewise.
14132 (drem_test_tonearest): Likewise.
14133 (drem_test_towardzero): Likewise.
14134 (drem_test_downward): Likewise.
14135 (drem_test_upward): Likewise.
14136 (main): Call the new functions.
14137
4f8dfe27
JM
14138 * math/libm-test.inc (finite_test_data): Remove.
14139 (finite_test): Run tests from isfinite_test_data.
14140 (gamma_test_data): Remove.
14141 (gamma_test): Run tests from lgamma_test_data.
14142 * sysdeps/i386/fpu/libm-test-ulps: Update.
14143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144
d116b7c4
AZ
141452013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14146
14147 * manual/platform.texi: Add PowerPC PPR function set documentation.
14148 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14149 implementation.
14150
e96e3767
CD
141512013-05-24 Carlos O'Donell <carlos@redhat.com>
14152
14153 * math/libm-test.inc (MAX_EXP): Define.
14154 (ULPDIFF): Define.
14155 (ulp): New function.
14156 (check_float_internal): Use ULPDIFF.
14157 (cpow_test): Disable failing test.
14158 (check_ulp): Test ulp() implemetnation.
14159 (main): Call check_ulp before starting tests.
14160
b679a606
JM
141612013-05-24 Joseph Myers <joseph@codesourcery.com>
14162
e8bdba36
JM
14163 * math/gen-libm-test.pl (generate_testfile): Do not handle
14164 START_DATA and END_DATA.
14165 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14166 END_DATA.
14167 (acos_tonearest_test_data): Likewise.
14168 (acos_towardzero_test_data): Likewise.
14169 (acos_downward_test_data): Likewise.
14170 (acos_upward_test_data): Likewise.
14171 (acosh_test_data): Likewise.
14172 (asin_test_data): Likewise.
14173 (asin_tonearest_test_data): Likewise.
14174 (asin_towardzero_test_data): Likewise.
14175 (asin_downward_test_data): Likewise.
14176 (asin_upward_test_data): Likewise.
14177 (asinh_test_data): Likewise.
14178 (atan_test_data): Likewise.
14179 (atanh_test_data): Likewise.
14180 (atan2_test_data): Likewise.
14181 (cabs_test_data): Likewise.
14182 (cacos_test_data): Likewise.
14183 (cacosh_test_data): Likewise.
14184 (carg_test_data): Likewise.
14185 (casin_test_data): Likewise.
14186 (casinh_test_data): Likewise.
14187 (catan_test_data): Likewise.
14188 (catanh_test_data): Likewise.
14189 (cbrt_test_data): Likewise.
14190 (ccos_test_data): Likewise.
14191 (ccosh_test_data): Likewise.
14192 (ceil_test_data): Likewise.
14193 (cexp_test_data): Likewise.
14194 (cimag_test_data): Likewise.
14195 (clog_test_data): Likewise.
14196 (clog10_test_data): Likewise.
14197 (conj_test_data): Likewise.
14198 (copysign_test_data): Likewise.
14199 (cos_test_data): Likewise.
14200 (cos_tonearest_test_data): Likewise.
14201 (cos_towardzero_test_data): Likewise.
14202 (cos_downward_test_data): Likewise.
14203 (cos_upward_test_data): Likewise.
14204 (cosh_test_data): Likewise.
14205 (cosh_tonearest_test_data): Likewise.
14206 (cosh_towardzero_test_data): Likewise.
14207 (cosh_downward_test_data): Likewise.
14208 (cosh_upward_test_data): Likewise.
14209 (cpow_test_data): Likewise.
14210 (cproj_test_data): Likewise.
14211 (creal_test_data): Likewise.
14212 (csin_test_data): Likewise.
14213 (csinh_test_data): Likewise.
14214 (csqrt_test_data): Likewise.
14215 (ctan_test_data): Likewise.
14216 (ctan_tonearest_test_data): Likewise.
14217 (ctan_towardzero_test_data): Likewise.
14218 (ctan_downward_test_data): Likewise.
14219 (ctan_upward_test_data): Likewise.
14220 (ctanh_test_data): Likewise.
14221 (ctanh_tonearest_test_data): Likewise.
14222 (ctanh_towardzero_test_data): Likewise.
14223 (ctanh_downward_test_data): Likewise.
14224 (ctanh_upward_test_data): Likewise.
14225 (erf_test_data): Likewise.
14226 (erfc_test_data): Likewise.
14227 (exp_test_data): Likewise.
14228 (exp_tonearest_test_data): Likewise.
14229 (exp_towardzero_test_data): Likewise.
14230 (exp_downward_test_data): Likewise.
14231 (exp_upward_test_data): Likewise.
14232 (exp10_test_data): Likewise.
14233 (exp2_test_data): Likewise.
14234 (expm1_test_data): Likewise.
14235 (fabs_test_data): Likewise.
14236 (fdim_test_data): Likewise.
14237 (finite_test_data): Likewise.
14238 (floor_test_data): Likewise.
14239 (fma_test_data): Likewise.
14240 (fma_towardzero_test_data): Likewise.
14241 (fma_downward_test_data): Likewise.
14242 (fma_upward_test_data): Likewise.
14243 (fmax_test_data): Likewise.
14244 (fmin_test_data): Likewise.
14245 (fmod_test_data): Likewise.
14246 (fpclassify_test_data): Likewise.
14247 (frexp_test_data): Likewise.
14248 (gamma_test_data): Likewise.
14249 (hypot_test_data): Likewise.
14250 (ilogb_test_data): Likewise.
14251 (isfinite_test_data): Likewise.
14252 (isgreater_test_data): Likewise.
14253 (isgreaterequal_test_data): Likewise.
14254 (isinf_test_data): Likewise.
14255 (isless_test_data): Likewise.
14256 (islessequal_test_data): Likewise.
14257 (islessgreater_test_data): Likewise.
14258 (isnan_test_data): Likewise.
14259 (isnormal_test_data): Likewise.
14260 (issignaling_test_data): Likewise.
14261 (isunordered_test_data): Likewise.
14262 (j0_test_data): Likewise.
14263 (j1_test_data): Likewise.
14264 (jn_test_data): Likewise.
14265 (ldexp_test_data): Likewise.
14266 (lgamma_test_data): Likewise.
14267 (lrint_test_data): Likewise.
14268 (lrint_tonearest_test_data): Likewise.
14269 (lrint_towardzero_test_data): Likewise.
14270 (lrint_downward_test_data): Likewise.
14271 (lrint_upward_test_data): Likewise.
14272 (llrint_test_data): Likewise.
14273 (llrint_tonearest_test_data): Likewise.
14274 (llrint_towardzero_test_data): Likewise.
14275 (llrint_downward_test_data): Likewise.
14276 (llrint_upward_test_data): Likewise.
14277 (log_test_data): Likewise.
14278 (log10_test_data): Likewise.
14279 (log1p_test_data): Likewise.
14280 (log2_test_data): Likewise.
14281 (logb_test_data): Likewise.
14282 (logb_downward_test_data): Likewise.
14283 (lround_test_data): Likewise.
14284 (llround_test_data): Likewise.
14285 (modf_test_data): Likewise.
14286 (nearbyint_test_data): Likewise.
14287 (nextafter_test_data): Likewise.
14288 (nexttoward_test_data): Likewise.
14289 (pow_test_data): Likewise.
14290 (pow_tonearest_test_data): Likewise.
14291 (pow_towardzero_test_data): Likewise.
14292 (pow_downward_test_data): Likewise.
14293 (pow_upward_test_data): Likewise.
14294 (remainder_test_data): Likewise.
14295 (remainder_tonearest_test_data): Likewise.
14296 (remainder_towardzero_test_data): Likewise.
14297 (remainder_downward_test_data): Likewise.
14298 (remainder_upward_test_data): Likewise.
14299 (remquo_test_data): Likewise.
14300 (rint_test_data): Likewise.
14301 (rint_tonearest_test_data): Likewise.
14302 (rint_towardzero_test_data): Likewise.
14303 (rint_downward_test_data): Likewise.
14304 (rint_upward_test_data): Likewise.
14305 (round_test_data): Likewise.
14306 (scalb_test_data): Likewise.
14307 (scalbn_test_data): Likewise.
14308 (scalbln_test_data): Likewise.
14309 (signbit_test_data): Likewise.
14310 (sin_test_data): Likewise.
14311 (sin_tonearest_test_data): Likewise.
14312 (sin_towardzero_test_data): Likewise.
14313 (sin_downward_test_data): Likewise.
14314 (sin_upward_test_data): Likewise.
14315 (sincos_test_data): Likewise.
14316 (sinh_test_data): Likewise.
14317 (sinh_tonearest_test_data): Likewise.
14318 (sinh_towardzero_test_data): Likewise.
14319 (sinh_downward_test_data): Likewise.
14320 (sinh_upward_test_data): Likewise.
14321 (sqrt_test_data): Likewise.
14322 (tan_test_data): Likewise.
14323 (tan_tonearest_test_data): Likewise.
14324 (tan_towardzero_test_data): Likewise.
14325 (tan_downward_test_data): Likewise.
14326 (tan_upward_test_data): Likewise.
14327 (tanh_test_data): Likewise.
14328 (tgamma_test_data): Likewise.
14329 (trunc_test_data): Likewise.
14330 (y0_test_data): Likewise.
14331 (y1_test_data): Likewise.
14332 (yn_test_data): Likewise.
14333 (significand_test_data): Likewise.
14334
b679a606
JM
14335 * math/gen-libm-test.pl (@functions): Remove variable.
14336 (generate_testfile): Don't handle START and END lines.
14337 * math/libm-test.inc (START): New macro.
14338 (END): Likewise.
14339 (END_COMPLEX): Likewise.
14340 (acos_test): Use END macro without arguments.
14341 (acos_test_tonearest): Likewise.
14342 (acos_test_towardzero): Likewise.
14343 (acos_test_downward): Likewise.
14344 (acos_test_upward): Likewise.
14345 (acosh_test): Likewise.
14346 (asin_test): Likewise.
14347 (asin_test_tonearest): Likewise.
14348 (asin_test_towardzero): Likewise.
14349 (asin_test_downward): Likewise.
14350 (asin_test_upward): Likewise.
14351 (asinh_test): Likewise.
14352 (atan_test): Likewise.
14353 (atanh_test): Likewise.
14354 (atan2_test): Likewise.
14355 (cabs_test): Likewise.
14356 (cacos_test): Use END_COMPLEX macro without arguments.
14357 (cacosh_test): Likewise.
14358 (carg_test): Use END macro without arguments.
14359 (casin_test): Use END_COMPLEX macro without arguments.
14360 (casinh_test): Likewise.
14361 (catan_test): Likewise.
14362 (catanh_test): Likewise.
14363 (cbrt_test): Use END macro without arguments.
14364 (ccos_test): Use END_COMPLEX macro without arguments.
14365 (ccosh_test): Likewise.
14366 (ceil_test): Use END macro without arguments.
14367 (cexp_test): Use END_COMPLEX macro without arguments.
14368 (cimag_test): Use END macro without arguments.
14369 (clog_test): Use END_COMPLEX macro without arguments.
14370 (clog10_test): Likewise.
14371 (conj_test): Likewise.
14372 (copysign_test): Use END macro without arguments.
14373 (cos_test): Likewise.
14374 (cos_test_tonearest): Likewise.
14375 (cos_test_towardzero): Likewise.
14376 (cos_test_downward): Likewise.
14377 (cos_test_upward): Likewise.
14378 (cosh_test): Likewise.
14379 (cosh_test_tonearest): Likewise.
14380 (cosh_test_towardzero): Likewise.
14381 (cosh_test_downward): Likewise.
14382 (cosh_test_upward): Likewise.
14383 (cpow_test): Use END_COMPLEX macro without arguments.
14384 (cproj_test): Likewise.
14385 (creal_test): Use END macro without arguments.
14386 (csin_test): Use END_COMPLEX macro without arguments.
14387 (csinh_test): Likewise.
14388 (csqrt_test): Likewise.
14389 (ctan_test): Likewise.
14390 (ctan_test_tonearest): Likewise.
14391 (ctan_test_towardzero): Likewise.
14392 (ctan_test_downward): Likewise.
14393 (ctan_test_upward): Likewise.
14394 (ctanh_test): Likewise.
14395 (ctanh_test_tonearest): Likewise.
14396 (ctanh_test_towardzero): Likewise.
14397 (ctanh_test_downward): Likewise.
14398 (ctanh_test_upward): Likewise.
14399 (erf_test): Use END macro without arguments.
14400 (erfc_test): Likewise.
14401 (exp_test): Likewise.
14402 (exp_test_tonearest): Likewise.
14403 (exp_test_towardzero): Likewise.
14404 (exp_test_downward): Likewise.
14405 (exp_test_upward): Likewise.
14406 (exp10_test): Likewise.
14407 (exp2_test): Likewise.
14408 (expm1_test): Likewise.
14409 (fabs_test): Likewise.
14410 (fdim_test): Likewise.
14411 (finite_test): Likewise.
14412 (floor_test): Likewise.
14413 (fma_test): Likewise.
14414 (fma_test_towardzero): Likewise.
14415 (fma_test_downward): Likewise.
14416 (fma_test_upward): Likewise.
14417 (fmax_test): Likewise.
14418 (fmin_test): Likewise.
14419 (fmod_test): Likewise.
14420 (fpclassify_test): Likewise.
14421 (frexp_test): Likewise.
14422 (gamma_test): Likewise.
14423 (hypot_test): Likewise.
14424 (ilogb_test): Likewise.
14425 (isfinite_test): Likewise.
14426 (isgreater_test): Likewise.
14427 (isgreaterequal_test): Likewise.
14428 (isinf_test): Likewise.
14429 (isless_test): Likewise.
14430 (islessequal_test): Likewise.
14431 (islessgreater_test): Likewise.
14432 (isnan_test): Likewise.
14433 (isnormal_test): Likewise.
14434 (issignaling_test): Likewise.
14435 (isunordered_test): Likewise.
14436 (j0_test): Likewise.
14437 (j1_test): Likewise.
14438 (jn_test): Likewise.
14439 (ldexp_test): Likewise.
14440 (lgamma_test): Likewise.
14441 (lrint_test): Likewise.
14442 (lrint_test_tonearest): Likewise.
14443 (lrint_test_towardzero): Likewise.
14444 (lrint_test_downward): Likewise.
14445 (lrint_test_upward): Likewise.
14446 (llrint_test): Likewise.
14447 (llrint_test_tonearest): Likewise.
14448 (llrint_test_towardzero): Likewise.
14449 (llrint_test_downward): Likewise.
14450 (llrint_test_upward): Likewise.
14451 (log_test): Likewise.
14452 (log10_test): Likewise.
14453 (log1p_test): Likewise.
14454 (log2_test): Likewise.
14455 (logb_test): Likewise.
14456 (logb_test_downward): Likewise.
14457 (lround_test): Likewise.
14458 (llround_test): Likewise.
14459 (modf_test): Likewise.
14460 (nearbyint_test): Likewise.
14461 (nextafter_test): Likewise.
14462 (nexttoward_test): Likewise.
14463 (pow_test): Likewise.
14464 (pow_test_tonearest): Likewise.
14465 (pow_test_towardzero): Likewise.
14466 (pow_test_downward): Likewise.
14467 (pow_test_upward): Likewise.
14468 (remainder_test): Likewise.
14469 (remainder_test_tonearest): Likewise.
14470 (remainder_test_towardzero): Likewise.
14471 (remainder_test_downward): Likewise.
14472 (remainder_test_upward): Likewise.
14473 (remquo_test): Likewise.
14474 (rint_test): Likewise.
14475 (rint_test_tonearest): Likewise.
14476 (rint_test_towardzero): Likewise.
14477 (rint_test_downward): Likewise.
14478 (rint_test_upward): Likewise.
14479 (round_test): Likewise.
14480 (scalb_test): Likewise.
14481 (scalbn_test): Likewise.
14482 (scalbln_test): Likewise.
14483 (signbit_test): Likewise.
14484 (sin_test): Likewise.
14485 (sin_test_tonearest): Likewise.
14486 (sin_test_towardzero): Likewise.
14487 (sin_test_downward): Likewise.
14488 (sin_test_upward): Likewise.
14489 (sincos_test): Likewise.
14490 (sinh_test): Likewise.
14491 (sinh_test_tonearest): Likewise.
14492 (sinh_test_towardzero): Likewise.
14493 (sinh_test_downward): Likewise.
14494 (sinh_test_upward): Likewise.
14495 (sqrt_test): Likewise.
14496 (tan_test): Likewise.
14497 (tan_test_tonearest): Likewise.
14498 (tan_test_towardzero): Likewise.
14499 (tan_test_downward): Likewise.
14500 (tan_test_upward): Likewise.
14501 (tanh_test): Likewise.
14502 (tgamma_test): Likewise.
14503 (trunc_test): Likewise.
14504 (y0_test): Likewise.
14505 (y1_test): Likewise.
14506 (yn_test): Likewise.
14507 (significand_test): Likewise.
14508
bae143d2
OB
145092013-05-24 Ondřej Bílka <neleai@seznam.cz>
14510
14511 [BZ #15381]
14512 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14513
9323d39b
EM
145142013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14515
d4ea44a0 14516 [BZ #14894]
9323d39b
EM
14517 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14518 __ppc_mdoio and __ppc_mdoom.
14519 * manual/platform.texi: Document new functions __ppc_yield,
14520 __ppc_mdoio and __ppc_mdoom.
14521
13e23af7
CD
145222013-05-22 Carlos O'Donell <carlos@redhat.com>
14523
14524 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14525 (main): Mention "tls" pseudo-hwcap is legacy.
14526 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14527
351fe550
JM
145282013-05-22 Joseph Myers <joseph@codesourcery.com>
14529
14530 * math/gen-libm-test.pl (parse_args): Output only string of
14531 arguments as text for test name, not full call or descriptions of
14532 tests for extra outputs.
14533 (generate_testfile): Do not pass function name to parse_args.
14534 Generate this_func variable from START.
14535 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14536 field to arg_str.
14537 (struct test_ff_f_data): Likewise.
14538 (test_ff_f_data_nexttoward): Likewise.
14539 (struct test_fi_f_data): Likewise.
14540 (struct test_fl_f_data): Likewise.
14541 (struct test_if_f_data): Likewise.
14542 (struct test_fff_f_data): Likewise.
14543 (struct test_c_f_data): Likewise.
14544 (struct test_f_f1_data): Likewise. Remove field extra_name.
14545 (struct test_fF_f1_data): Likewise.
14546 (struct test_ffI_f1_data): Likewise.
14547 (struct test_c_c_data): Rename test_name field to arg_str.
14548 (struct test_cc_c_data): Likewise.
14549 (struct test_f_i_data): Likewise.
14550 (struct test_ff_i_data): Likewise.
14551 (struct test_f_l_data): Likewise.
14552 (struct test_f_L_data): Likewise.
14553 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14554 and extra2_name.
14555 (COMMON_TEST_SETUP): New macro.
14556 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14557 (COMMON_TEST_CLEANUP): Likewise.
14558 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14559 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14560 macros.
14561 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14562 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14563 macros.
14564 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14565 (RUN_TEST_fff_f): Take argument string. Call new setup and
14566 cleanup macros.
14567 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14568 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14569 macros.
14570 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14571 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14572 macros.
14573 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14574 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14575 cleanup macros.
14576 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14577 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14578 cleanup macros.
14579 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14580 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14581 cleanup macros.
14582 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14583 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14584 macros.
14585 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14586 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14587 macros.
14588 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14589 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14590 macros.
14591 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14592 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14593 cleanup macros.
14594 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14595 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14596 cleanup macros.
14597 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14598 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14599 macros.
14600 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14601 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14602 cleanup macros.
14603 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14604 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14605 macros.
14606 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14607 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14608 macros.
14609 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14610 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14611 cleanup macros.
14612 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14613
85118d4d
EBM
146142013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14615
14616 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14617 to _sifields.sigfault.
14618 (si_addr_lsb): Define new macro.
14619 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14621 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14622
7a44c18f
CD
146232013-05-03 Carlos O'Donell <carlos at redhat.com>
14624
14625 [BZ #15441]
14626 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14627 returns -1.
14628 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14629 null return -1.
14630 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14631 loading the domain.
14632
b50a7181
JM
146332013-05-22 Joseph Myers <joseph@codesourcery.com>
14634
14635 * math/gen-libm-test.pl (parse_args): Do not include expected
14636 result in test name.
14637 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14639 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14643
051063c8
SP
146442013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14645
3ce9e010
SP
14646 * benchtests/Makefile: Sort function entries.
14647
051063c8
SP
14648 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14649 tanh, asinh, acosh, atanh.
14650 * benchtests/acos-inputs: New file.
14651 * benchtests/acosh-inputs: New file.
14652 * benchtests/asin-inputs: New file.
14653 * benchtests/asinh-inputs: New file.
14654 * benchtests/atanh-inputs: New file.
14655 * benchtests/cosh-inputs: New file.
14656 * benchtests/log-inputs: New file.
14657 * benchtests/sinh-inputs: New file.
14658 * benchtests/tanh-inputs: New file.
14659
47c22455
DL
146602013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14661
14662 [BZ #15339]
14663 * posix/tst-getaddrinfo4.c: New test.
14664 * posix/Makefile (tests): Add it.
14665
3d04f5db
SP
146662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14667
14668 [BZ #15339]
14669 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14670 when no services were used.
14671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14672 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14673
d5dd6189
AS
146742013-05-21 Andreas Schwab <schwab@suse.de>
14675
14676 [BZ #15014]
14677 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14678 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14679 successful.
14680 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14681 redundant variable declarations and reallocation of buffer when
14682 parsing as IPv6 address. Always set NSS status when called from
14683 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14684 buffer too small. Correct computation of needed size.
14685 * nss/Makefile (tests): Add test-digits-dots.
14686 * nss/test-digits-dots.c: New test.
14687
fef94eab
SP
146882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14689
14690 * benchtests/Makefile: Remove instructions for adding
14691 benchmark tests.
14692 * benchtests/README: New file to explain how to execute and
14693 enhance the benchmark tests.
14694
e39adf43
AS
146952013-05-21 Andreas Schwab <schwab@suse.de>
14696
14697 [BZ #15493]
14698 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14699 * setjmp/tst-sigsetjmp.c: New test.
14700
b2b671b6
OB
147012013-05-20 Ondřej Bílka <neleai@seznam.cz>
14702
14703 * sysdeps/x86_64/memset.S (memset): New implementation.
14704 (__bzero): Likewise.
14705 (__memset_tail): New function.
14706
2d48b41c
OB
147072013-05-20 Ondřej Bílka <neleai@seznam.cz>
14708
14709 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14710 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14711 __memcpy_sse2_unaligned ifunc selection.
14712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14713 Add memcpy-sse2-unaligned.S.
14714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14715 Add: __memcpy_sse2_unaligned.
14716
f16cc3eb
JM
147172013-05-19 Joseph Myers <joseph@codesourcery.com>
14718
3e694268
JM
14719 [BZ #15490]
14720 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14721 math_force_eval before restoring floating-point envrionment.
14722 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14724 Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14726 <math_private.h>.
14727 (__nearbyintl): Use math_force_eval before restoring
14728 floating-point environment.
14729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14730
db62a907
JM
14731 * math/gen-libm-test.pl (special_functions): Remove.
14732 (parse_args): Don't handle TEST_extra. Handle functions with no
14733 return value.
14734 * math/libm-test.inc (struct test_sincos_data): Replace with
14735 struct test_fFF_11_data.
14736 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14737 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14738 (sincos_test_data): Change element type to struct
14739 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14740 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14741 RUN_TEST_LOOP_sincos.
14742 * math/README.libm-test: Don't mention special handling of
14743 individual functions.
14744 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14746 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14747 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14748 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14750
f16cc3eb
JM
14751 * math/gen-libm-test.pl (get_variable): Remove function.
14752 (parse_args): Don't show pointer parameters to call in test
14753 names. Use "extra output N" in test names for extra outputs
14754 rather than naming variables.
14755
3779b5b6
JM
147562013-05-18 Joseph Myers <joseph@codesourcery.com>
14757
2ee094ff
JM
14758 [BZ #15488]
14759 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14760 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14761 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14762 double tests.
14763 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14764 disable.
14765 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14766 check_long_double.
14767
3779b5b6
JM
14768 * math/gen-libm-test.pl (@tests): Remove variable.
14769 ($count): Likewise.
14770 (new_test): Remove function.
14771 (show_exceptions): New function.
14772 (special_functions): Use show_exceptions instead of new_test.
14773 (parse_args): Likewise.
14774 (generate_testfile): Pass only function name in generated call to
14775 print_max_error or print_complex_max_error.
14776 (get_ulps): Do not handle complex tests specially.
14777 (output_test): Rename to ...
14778 (get_all_ulps_for_test): ... this. Return a string rather than
14779 printing to a file. Require ulps to be present.
14780 (output_ulps): Generate arrays rather than #defines.
14781 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14782 (struct ulp_data): New type.
14783 (BUILD_COMPLEX_ULP): Remove macro.
14784 (compare_ulp_data): New function.
14785 (find_ulps): Likewise.
14786 (find_test_ulps): Likewise.
14787 (find_function_ulps): Likewise.
14788 (find_complex_function_ulps): Likewise.
14789 (print_max_error): Determine allowed ulps using
14790 find_function_ulps.
14791 (print_complex_max_error): Determine allowed ulps using
14792 find_complex_function_ulps.
14793 (check_float_internal): Determine max ulps using find_test_ulps.
14794 (check_float): Do not take max_ulp parameter. Update call to
14795 check_float_internal.
14796 (check_complex): Likewise.
14797 (check_int): Do not take max_ulp parameter.
14798 (check_long): Likewise.
14799 (check_bool): Likewise.
14800 (check_longlong): Likewise.
14801 (struct test_f_f_data): Remove max_ulp field.
14802 (struct test_ff_f_data): Likewise.
14803 (struct test_ff_f_data_nexttoward): Likewise.
14804 (struct test_fi_f_data): Likewise.
14805 (struct test_fl_f_data): Likewise.
14806 (struct test_if_f_data): Likewise.
14807 (struct test_fff_f_data): Likewise.
14808 (struct test_c_f_data): Likewise.
14809 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14810 (struct test_fF_f1_data): Likewise.
14811 (struct test_ffI_f1_data): Likewise.
14812 (struct test_c_c_data): Remove max_ulp field.
14813 (struct test_cc_c_data): Likewise.
14814 (struct test_f_i_data): Likewise.
14815 (struct test_ff_i_data): Likewise.
14816 (struct test_f_l_data): Likewise.
14817 (struct test_f_L_data): Likewise.
14818 (struct test_sincos_data): Likewise.
14819 (RUN_TEST_f_f): Do not handle ulps.
14820 (RUN_TEST_LOOP_f_f): Likewise.
14821 (RUN_TEST_2_f): Likewise.
14822 (RUN_TEST_LOOP_2_f): Likewise.
14823 (RUN_TEST_fff_f): Likewise.
14824 (RUN_TEST_LOOP_fff_f): Likewise.
14825 (RUN_TEST_c_f): Likewise.
14826 (RUN_TEST_LOOP_c_f): Likewise.
14827 (RUN_TEST_f_f1): Likewise.
14828 (RUN_TEST_LOOP_f_f1): Likewise.
14829 (RUN_TEST_fF_f1): Likewise.
14830 (RUN_TEST_LOOP_fF_f1): Likewise.
14831 (RUN_TEST_fI_f1): Likewise.
14832 (RUN_TEST_LOOP_fI_f1): Likewise.
14833 (RUN_TEST_ffI_f1): Likewise.
14834 (RUN_TEST_LOOP_ffI_f1): Likewise.
14835 (RUN_TEST_c_c): Likewise.
14836 (RUN_TEST_LOOP_c_c): Likewise.
14837 (RUN_TEST_cc_c): Likewise.
14838 (RUN_TEST_LOOP_cc_c): Likewise.
14839 (RUN_TEST_f_i): Likewise.
14840 (RUN_TEST_LOOP_f_i): Likewise.
14841 (RUN_TEST_f_i_tg): Likewise.
14842 (RUN_TEST_LOOP_f_i_tg): Likewise.
14843 (RUN_TEST_ff_i_tg): Likewise.
14844 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14845 (RUN_TEST_f_b): Likewise.
14846 (RUN_TEST_LOOP_f_b): Likewise.
14847 (RUN_TEST_f_b_tg): Likewise.
14848 (RUN_TEST_LOOP_f_b_tg): Likewise.
14849 (RUN_TEST_f_l): Likewise.
14850 (RUN_TEST_LOOP_f_l): Likewise.
14851 (RUN_TEST_f_L): Likewise.
14852 (RUN_TEST_LOOP_f_L): Likewise.
14853 (RUN_TEST_sincos): Likewise.
14854 (RUN_TEST_LOOP_sincos): Likewise.
14855
8269107f
JM
148562013-05-17 Joseph Myers <joseph@codesourcery.com>
14857
bb38759d
JM
14858 [BZ #15480]
14859 [BZ #15485]
14860 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14861 main case of finite arguments, set rounding mode to FE_TONEAREST
14862 and discard exceptions.
14863 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14864 exceptions.
14865 (remainder_tonearest_test_data): New variable.
14866 (remainder_test_tonearest): New function.
14867 (remainder_towardzero_test_data): New variable.
14868 (remainder_test_towardzero): New function.
14869 (remainder_downward_test_data): New variable.
14870 (remainder_test_downward): New function.
14871 (remainder_upward_test_data): New variable.
14872 (remainder_test_upward): New function.
14873 (main): Call the new test functions.
14874
a00bdcf0
JM
14875 * math/libm-test.inc (struct test_f_f1_data): Remove field
14876 extra_init.
14877 (struct test_fF_f1_data): Likewise.
14878 (struct test_ffI_f1_data): Likewise.
14879 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14880 based on value of EXTRA_EXPECTED.
14881 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14882 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14883 EXTRA_VAR based on value of EXTRA_EXPECTED.
14884 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14885 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14886 EXTRA_VAR based on value of EXTRA_EXPECTED.
14887 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14888 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14889 EXTRA_VAR based on value of EXTRA_EXPECTED.
14890 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14891 * math/gen-libm-test.pl (parse_args): Don't output initializers
14892 for extra output values.
14893
de407f79
JM
14894 * math/libm-test.inc (check_int): Expect result to be exactly
14895 equal to expected value and do not handle ulps.
14896 (check_long): Likewise.
14897 (check_longlong): Likewise.
14898
8269107f
JM
14899 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14900 exceptions.
14901 (cimag_test_data): Likewise.
14902 (conj_test_data): Likewise.
14903 (copysign_test_data): Likewise.
14904 (cproj_test_data): Likewise.
14905 (creal_test_data): Likewise.
14906 (fabs_test_data): Likewise.
14907 (fdim_test_data): Likewise.
14908 (finite_test_data): Likewise.
14909 (floor_test_data): Likewise.
14910 (fmax_test_data): Likewise.
14911 (fmin_test_data): Likewise.
14912 (fmod_test_data): Likewise.
14913 (fpclassify_test_data): Likewise.
14914 (frexp_test_data): Likewise.
14915 (ilogb_test_data): Likewise.
14916 (isfinite_test_data): Likewise.
14917 (isgreater_test_data): Likewise.
14918 (isgreaterequal_test_data): Likewise.
14919 (isinf_test_data): Likewise.
14920 (isless_test_data): Likewise.
14921 (islessequal_test_data): Likewise.
14922 (islessgreater_test_data): Likewise.
14923 (isnan_test_data): Likewise.
14924 (isnormal_test_data): Likewise.
14925 (issignaling_test_data): Likewise.
14926 (isunordered_test_data): Likewise.
14927 (ldexp_test_data): Likewise.
14928 (lrint_test_data): Likewise.
14929 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14930 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14931 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14932 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14933 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14934 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14935 test input.
14936 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14937 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14938 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14939 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14940 that test input.
14941 (lrint_downward_test_data): Test for "inexact" exceptions.
14942 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14943 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14944 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14945 test input.
14946 (lrint_upward_test_data): Test for "inexact" exceptions.
14947 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14948 test input.
14949 (llrint_test_data): Test for "inexact" exceptions.
14950 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14951 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14952 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14953 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14954 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14955 (llrint_downward_test_data): Test for "inexact" exceptions.
14956 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14957 (llrint_upward_test_data): Test for "inexact" exceptions.
14958 (logb_test_data): Likewise.
14959 (logb_downward_test_data): Likewise.
14960 (nextafter_test_data): Likewise.
14961 (nexttoward_test_data): Likewise.
14962 (remainder_test_data): Likewise.
14963 (remquo_test_data): Likewise.
14964 (scalbn_test_data): Likewise.
14965 (scalbln_test_data): Likewise.
14966 (signbit_test_data): Likewise.
14967 (sqrt_test_data): Likewise.
14968 (significand_test_data): Likewise.
14969
48a18de1
SP
149702013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14971
14972 [BZ #15424]
14973 * benchtests/bench-modf.c (struct args): Mark arg0 as
14974 volatile.
14975 * scripts/bench.pl: Mark members of struct args as volatile.
14976
13d3b41a
AZ
149772013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14978
68191c1d 14979 [BZ # 15497]
13d3b41a
AZ
14980 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14981 negative infinity on POWER6 or lower.
14982 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14983
2848b105
MR
149842013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14985
14986 [BZ #15442]
14987 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14988 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14989 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14990 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14991 (_FP_SETQNAN): New macro.
14992 (_FP_SETQNAN_SEMIRAW): Likewise.
14993 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14994 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14995 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14996 (FP_EXTEND): Use _FP_FRAC_SNANP.
14997 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14998 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14999 into account.
15000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15001 New macro.
15002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15003 Likewise.
15004
323e5cb7
JM
150052013-05-16 Joseph Myers <joseph@codesourcery.com>
15006
c58b274f
JM
15007 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15008 with DIVIDE_BY_ZERO_EXCEPTION.
15009 (gamma_test_data): Likewise.
15010 (lgamma_test_data): Likewise.
15011 (log_test_data): Likewise.
15012 (log10_test_data): Likewise.
15013 (log2_test_data): Likewise.
15014 (tgamma_test_data): Likewise.
15015
0ab34904
JM
15016 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15017 (acos_test_tonearest): Likewise.
15018 (acos_test_towardzero): Likewise.
15019 (acos_test_downward): Likewise.
15020 (acos_test_upward): Likewise.
15021 (acosh_test): Likewise.
15022 (asin_test): Likewise.
15023 (asin_test_tonearest): Likewise.
15024 (asin_test_towardzero): Likewise.
15025 (asin_test_downward): Likewise.
15026 (asin_test_upward): Likewise.
15027 (asinh_test): Likewise.
15028 (atan_test): Likewise.
15029 (atanh_test): Likewise.
15030 (atan2_test): Likewise.
15031 (cabs_test): Likewise.
15032 (cacos_test): Likewise.
15033 (cacosh_test): Likewise.
15034 (casin_test): Likewise.
15035 (casinh_test): Likewise.
15036 (catan_test): Likewise.
15037 (catanh_test): Likewise.
15038 (cbrt_test): Likewise.
15039 (ccos_test): Likewise.
15040 (ccosh_test): Likewise.
15041 (cexp_test): Likewise.
15042 (clog_test): Likewise.
15043 (clog10_test): Likewise.
15044 (cos_test): Likewise.
15045 (cos_test_tonearest): Likewise.
15046 (cos_test_towardzero): Likewise.
15047 (cos_test_downward): Likewise.
15048 (cos_test_upward): Likewise.
15049 (cosh_test): Likewise.
15050 (cosh_test_tonearest): Likewise.
15051 (cosh_test_towardzero): Likewise.
15052 (cosh_test_downward): Likewise.
15053 (cosh_test_upward): Likewise.
15054 (cpow_test): Likewise.
15055 (csin_test): Likewise.
15056 (csinh_test): Likewise.
15057 (csqrt_test): Likewise.
15058 (ctan_test): Likewise.
15059 (ctan_test_tonearest): Likewise.
15060 (ctan_test_towardzero): Likewise.
15061 (ctan_test_downward): Likewise.
15062 (ctan_test_upward): Likewise.
15063 (ctanh_test): Likewise.
15064 (ctanh_test_tonearest): Likewise.
15065 (ctanh_test_towardzero): Likewise.
15066 (ctanh_test_downward): Likewise.
15067 (ctanh_test_upward): Likewise.
15068 (erf_test): Likewise.
15069 (erfc_test): Likewise.
15070 (exp_test): Likewise.
15071 (exp_test_tonearest): Likewise.
15072 (exp_test_towardzero): Likewise.
15073 (exp_test_downward): Likewise.
15074 (exp_test_upward): Likewise.
15075 (exp10_test): Likewise.
15076 (exp2_test): Likewise.
15077 (expm1_test): Likewise.
15078 (fmod_test): Likewise.
15079 (gamma_test): Likewise.
15080 (hypot_test): Likewise.
15081 (j0_test): Likewise.
15082 (j1_test): Likewise.
15083 (jn_test): Likewise.
15084 (lgamma_test): Likewise.
15085 (log_test): Likewise.
15086 (log10_test): Likewise.
15087 (log1p_test): Likewise.
15088 (log2_test): Likewise.
15089 (logb_test_downward): Likewise.
15090 (pow_test): Likewise.
15091 (pow_test_tonearest): Likewise.
15092 (pow_test_towardzero): Likewise.
15093 (pow_test_downward): Likewise.
15094 (pow_test_upward): Likewise.
15095 (remainder_test): Likewise.
15096 (remquo_test): Likewise.
15097 (sin_test): Likewise.
15098 (sin_test_tonearest): Likewise.
15099 (sin_test_towardzero): Likewise.
15100 (sin_test_downward): Likewise.
15101 (sin_test_upward): Likewise.
15102 (sincos_test): Likewise.
15103 (sinh_test): Likewise.
15104 (sinh_test_tonearest): Likewise.
15105 (sinh_test_towardzero): Likewise.
15106 (sinh_test_downward): Likewise.
15107 (sinh_test_upward): Likewise.
15108 (sqrt_test): Likewise.
15109 (tan_test): Likewise.
15110 (tan_test_tonearest): Likewise.
15111 (tan_test_towardzero): Likewise.
15112 (tan_test_downward): Likewise.
15113 (tan_test_upward): Likewise.
15114 (tanh_test): Likewise.
15115 (tgamma_test): Likewise.
15116 (y0_test): Likewise.
15117 (y1_test): Likewise.
15118 (yn_test): Likewise.
15119
323e5cb7
JM
15120 * math/gen-libm-test.pl (adjust_arg): Remove function.
15121 (special_function): Remove argument $in_func. Only handle
15122 generating output for tables of tests, not inside functions.
15123 (parse_args): Likewise.
15124 (generate_testfile): Remove variable $in_func. Update call to
15125 parse_args.
15126 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15127 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15128 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15129 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15130 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15131 (MAX_VALUE_INIT): Rename macro to max_value.
15132 (MIN_VALUE_INIT): Rename macro to min_value.
15133 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15134 (plus_zero): Remove variable.
15135 (minus_zero): Likewise.
15136 (plus_infty): Likewise.
15137 (minus_infty): Likewise.
15138 (qnan_value): Likewise.
15139 (max_value): Likewise.
15140 (min_value): Likewise.
15141 (min_subnorm_value): Likewise.
15142
e054f494
RA
151432013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15144
15145 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15146 uint64_t or uint32_t usage.
15147 * crypt/sha256-block.c: Likewise.
15148 * crypt/sha256-crypt.c: Likewise.
15149 * crypt/sha256.c: Likewise.
15150 * crypt/sha512-block.c: Likewise.
15151 * crypt/sha512-crypt.c: Likewise.
15152 * crypt/sha512.c: Likewise.
15153 * debug/backtrace-tst.c: Likewise.
15154 * debug/pcprofiledump.c: Likewise.
15155 * elf/cache.c: Likewise.
15156 * elf/dl-cache.c: Likewise.
15157 * elf/dl-misc.c: Likewise.
15158 * elf/dl-profile.c: Likewise.
15159 * elf/dl-support.c: Likewise.
15160 * elf/ldconfig.c: Likewise.
15161 * elf/sprof.c: Likewise.
15162 * iconv/dummy-repertoire.c: Likewise.
15163 * iconv/iconv_charmap.c: Likewise.
15164 * iconv/skeleton.c: Likewise.
15165 * iconvdata/8bit-generic.c: Likewise.
15166 * iconvdata/cp737.h: Likewise.
15167 * iconvdata/cp775.h: Likewise.
15168 * iconvdata/ibm1008.h: Likewise.
15169 * iconvdata/ibm1025.h: Likewise.
15170 * iconvdata/ibm1046.h: Likewise.
15171 * iconvdata/ibm1097.h: Likewise.
15172 * iconvdata/ibm1112.h: Likewise.
15173 * iconvdata/ibm1122.h: Likewise.
15174 * iconvdata/ibm1123.h: Likewise.
15175 * iconvdata/ibm1124.h: Likewise.
15176 * iconvdata/ibm1129.h: Likewise.
15177 * iconvdata/ibm1130.h: Likewise.
15178 * iconvdata/ibm1132.h: Likewise.
15179 * iconvdata/ibm1133.h: Likewise.
15180 * iconvdata/ibm1137.h: Likewise.
15181 * iconvdata/ibm1140.h: Likewise.
15182 * iconvdata/ibm1141.h: Likewise.
15183 * iconvdata/ibm1142.h: Likewise.
15184 * iconvdata/ibm1143.h: Likewise.
15185 * iconvdata/ibm1144.h: Likewise.
15186 * iconvdata/ibm1145.h: Likewise.
15187 * iconvdata/ibm1146.h: Likewise.
15188 * iconvdata/ibm1147.h: Likewise.
15189 * iconvdata/ibm1148.h: Likewise.
15190 * iconvdata/ibm1149.h: Likewise.
15191 * iconvdata/ibm1153.h: Likewise.
15192 * iconvdata/ibm1154.h: Likewise.
15193 * iconvdata/ibm1155.h: Likewise.
15194 * iconvdata/ibm1156.h: Likewise.
15195 * iconvdata/ibm1157.h: Likewise.
15196 * iconvdata/ibm1158.h: Likewise.
15197 * iconvdata/ibm1160.h: Likewise.
15198 * iconvdata/ibm1161.h: Likewise.
15199 * iconvdata/ibm1162.h: Likewise.
15200 * iconvdata/ibm1163.h: Likewise.
15201 * iconvdata/ibm1164.h: Likewise.
15202 * iconvdata/ibm1166.h: Likewise.
15203 * iconvdata/ibm1167.h: Likewise.
15204 * iconvdata/ibm12712.h: Likewise.
15205 * iconvdata/ibm1390.h: Likewise.
15206 * iconvdata/ibm1399.h: Likewise.
15207 * iconvdata/ibm16804.h: Likewise.
15208 * iconvdata/ibm4517.h: Likewise.
15209 * iconvdata/ibm4899.h: Likewise.
15210 * iconvdata/ibm4909.h: Likewise.
15211 * iconvdata/ibm4971.h: Likewise.
15212 * iconvdata/ibm5347.h: Likewise.
15213 * iconvdata/ibm803.h: Likewise.
15214 * iconvdata/ibm856.h: Likewise.
15215 * iconvdata/ibm901.h: Likewise.
15216 * iconvdata/ibm902.h: Likewise.
15217 * iconvdata/ibm9030.h: Likewise.
15218 * iconvdata/ibm9066.h: Likewise.
15219 * iconvdata/ibm921.h: Likewise.
15220 * iconvdata/ibm922.h: Likewise.
15221 * iconvdata/ibm9448.h: Likewise.
15222 * iconvdata/isiri-3342.h: Likewise.
15223 * iconvdata/jis0201.h: Likewise.
15224 * include/link.h: Likewise.
15225 * include/netdb.h: Likewise.
15226 * inet/check_native.c: Likewise.
15227 * inet/check_pf.c: Likewise.
15228 * inet/getipv4sourcefilter.c: Likewise.
15229 * inet/getnameinfo.c: Likewise.
15230 * inet/getsourcefilter.c: Likewise.
15231 * inet/htonl.c: Likewise.
15232 * inet/setipv4sourcefilter.c: Likewise.
15233 * inet/setsourcefilter.c: Likewise.
15234 * inet/test-inet6_opt.c: Likewise.
15235 * inet/tst-network.c: Likewise.
15236 * locale/C-collate.c: Likewise.
15237 * locale/C-ctype.c: Likewise.
15238 * locale/C-time.c: Likewise.
15239 * locale/C-translit.h: Likewise.
15240 * locale/loadarchive.c: Likewise.
15241 * locale/programs/3level.h: Likewise.
15242 * locale/programs/charmap.c: Likewise.
15243 * locale/programs/charmap.h: Likewise.
15244 * locale/programs/ld-address.c: Likewise.
15245 * locale/programs/ld-collate.c: Likewise.
15246 * locale/programs/ld-ctype.c: Likewise.
15247 * locale/programs/ld-identification.c: Likewise.
15248 * locale/programs/ld-measurement.c: Likewise.
15249 * locale/programs/ld-messages.c: Likewise.
15250 * locale/programs/ld-monetary.c: Likewise.
15251 * locale/programs/ld-name.c: Likewise.
15252 * locale/programs/ld-numeric.c: Likewise.
15253 * locale/programs/ld-paper.c: Likewise.
15254 * locale/programs/ld-telephone.c: Likewise.
15255 * locale/programs/ld-time.c: Likewise.
15256 * locale/programs/linereader.c: Likewise.
15257 * locale/programs/locale.c: Likewise.
15258 * locale/programs/locarchive.c: Likewise.
15259 * locale/programs/locfile.h: Likewise.
15260 * locale/programs/repertoire.c: Likewise.
15261 * locale/programs/simple-hash.c: Likewise.
15262 * locale/programs/simple-hash.h: Likewise.
15263 * malloc/memusage.c: Likewise.
15264 * malloc/memusagestat.c: Likewise.
15265 * nis/nis_defaults.c: Likewise.
15266 * nis/nis_hash.c: Likewise.
15267 * nis/nis_print.c: Likewise.
15268 * nis/nis_xdr.c: Likewise.
15269 * nscd/connections.c: Likewise.
15270 * nscd/hstcache.c: Likewise.
15271 * nscd/nscd_gethst_r.c: Likewise.
15272 * nscd/nscd_getserv_r.c: Likewise.
15273 * nscd/nscd_helper.c: Likewise.
15274 * nscd/servicescache.c: Likewise.
15275 * nss/makedb.c: Likewise.
15276 * nss/nss_db/db-XXX.c: Likewise.
15277 * nss/nss_db/db-initgroups.c: Likewise.
15278 * nss/nss_db/db-netgrp.c: Likewise.
15279 * nss/nss_files/files-network.c: Likewise.
15280 * nss/nss_files/files-parse.c: Likewise.
15281 * posix/bug-regex5.c: Likewise.
15282 * posix/fnmatch_loop.c: Likewise.
15283 * posix/regcomp.c: Likewise.
15284 * posix/regexec.c: Likewise.
15285 * posix/tst-rfc3484-2.c: Likewise.
15286 * posix/tst-rfc3484-3.c: Likewise.
15287 * posix/tst-rfc3484.c: Likewise.
15288 * resolv/nss_dns/dns-canon.c: Likewise.
15289 * resolv/nss_dns/dns-network.c: Likewise.
15290 * resolv/res_init.c: Likewise.
15291 * resolv/res_mkquery.c: Likewise.
15292 * resolv/tst-aton.c: Likewise.
15293 * stdlib/cxa_atexit.c: Likewise.
15294 * stdlib/cxa_finalize.c: Likewise.
15295 * stdlib/gen-fpioconst.c: Likewise.
15296 * stdlib/strtol_l.c: Likewise.
15297 * string/tst-endian.c: Likewise.
15298 * sunrpc/auth_des.c: Likewise.
15299 * sunrpc/clnt_udp.c: Likewise.
15300 * sunrpc/rtime.c: Likewise.
15301 * sunrpc/svcauth_des.c: Likewise.
15302 * sunrpc/xdr.c: Likewise.
15303 * sunrpc/xdr_intXX_t.c: Likewise.
15304 * sunrpc/xdr_rec.c: Likewise.
15305 * sysdeps/generic/ldconfig.h: Likewise.
15306 * sysdeps/generic/ldsodefs.h: Likewise.
15307 * sysdeps/generic/memusage.h: Likewise.
15308 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15318 * sysdeps/posix/getaddrinfo.c: Likewise.
15319 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15320 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15321 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15322 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15323 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15324 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15325 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15326 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15327 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15328 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15329 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15330 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15331 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15332 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15333 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15334 * sysdeps/x86_64/dl-tls.h: Likewise.
15335 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15336 * time/alt_digit.c: Likewise.
15337 * time/era.c: Likewise.
15338 * wcsmbs/tst-c16c32-1.c: Likewise.
15339
8c75f674
JM
153402013-05-16 Joseph Myers <joseph@codesourcery.com>
15341
15342 * math/libm-test.inc (struct test_sincos_data): New type.
15343 (RUN_TEST_LOOP_sincos): New macro.
15344 (sincos_test_data): New variable.
15345 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15346
e6e49e59
RH
153472013-05-16 Richard Henderson <rth@redhat.com>
15348
15349 * math/atest-exp2.c (LIMB64): New macro.
15350 (CONSTSZ): New macro.
15351 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15352 (hexdig): Move ...
15353 (print_mpn_fp): ... to function scope.
15354 (read_mpn_hex): Remove.
15355 (get_log2): Remove.
15356 (exp2_mpn): Use mp_log2.
15357 (main): Use mp_exp1.
15358
15c7c18d
JM
153592013-05-16 Joseph Myers <joseph@codesourcery.com>
15360
105a07df
JM
15361 * math/libm-test.inc: Remove comment about not testing "inexact"
15362 exceptions.
15363 (INEXACT_EXCEPTION): New macro.
15364 (NO_INEXACT_EXCEPTION): Likewise.
15365 (INVALID_EXCEPTION_OK): Update value.
15366 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15367 (OVERFLOW_EXCEPTION_OK): Likewise.
15368 (UNDERFLOW_EXCEPTION_OK): Likewise.
15369 (IGNORE_ZERO_INF_SIGN): Likewise.
15370 (ERRNO_UNCHANGED): Likewise.
15371 (ERRNO_EDOM): Likewise.
15372 (ERRNO_ERANGE): Likewise.
15373 (test_exceptions): Handle testing "inexact" exceptions.
15374 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15375 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15376 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15377 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15378 INEXACT_EXCEPTION.
15379 (rint_towardzero_test_data): Likewise.
15380 (rint_downward_test_data): Likewise.
15381 (rint_upward_test_data): Likewise.
15382
e9eee333
JM
15383 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15384 with OVERFLOW_EXCEPTION.
15385 (exp10_test_data): Likewise.
15386 (exp2_test_data): Likewise.
15387 (expm1_test_data): Likewise.
15388 (lgamma_test_data): Likewise.
15389 (pow_test_data): Likewise.
15390 (tgamma_test_data): Likewise.
15391 (yn_test_data): Remove duplicate test of overflow.
15392
1c38ff73
JM
15393 * math/libm-test.inc (struct test_cc_c_data): New type.
15394 (RUN_TEST_LOOP_cc_c): New macro.
15395 (cpow_test_data): New variable.
15396 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15397
15c7c18d
JM
15398 * math/libm-test.inc (struct test_f_L_data): New type.
15399 (RUN_TEST_LOOP_f_L): New macro.
15400 (llrint_test_data): New variable.
15401 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15402 (llrint_tonearest_test_data): New variable.
15403 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15404 (llrint_towardzero_test_data): New variable.
15405 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15406 (llrint_downward_test_data): New variable.
15407 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15408 (llrint_upward_test_data): New variable.
15409 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15410 (llround_test_data): New variable.
15411 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15412
f137ff13
PC
154132013-05-13 Peter Collingbourne <pcc@google.com>
15414
15415 * math/atest-exp2.c (get_log2): Remove const attribute.
15416
3608cb24
JM
154172013-05-15 Joseph Myers <joseph@codesourcery.com>
15418
15419 * math/libm-test.inc (struct test_f_l_data): New type.
15420 (RUN_TEST_LOOP_f_l): New macro.
15421 (lrint_test_data): New variable.
15422 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15423 (lrint_tonearest_test_data): New variable.
15424 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15425 (lrint_towardzero_test_data): New variable.
15426 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15427 (lrint_downward_test_data): New variable.
15428 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15429 (lrint_upward_test_data): New variable.
15430 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15431 (lround_test_data): New variable.
15432 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15433
39b1f617
PC
154342013-05-15 Peter Collingbourne <pcc@google.com>
15435
1deff3dc
PC
15436 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15437 (EXTRACT_WORDS64) Use where appropriate.
15438 (INSERT_WORDS64) Likewise.
15439
791f3ba0
PC
15440 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15441 constraints with x constraints.
15442 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15443
39b1f617
PC
15444 * malloc/obstack.c (_obstack_compat): Add initializer.
15445
12fba011
EM
154462013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15447
15448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15449 si_trapno and add si_addr_lsb to _sifields.sigfault.
15450 (si_trapno): Remove macro.
15451 (si_addr_lsb): Define new macro.
15452 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15453
d369f531
JM
154542013-05-15 Joseph Myers <joseph@codesourcery.com>
15455
b861c6c4
JM
15456 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15457 instead of TEST_f_l.
15458 (llrint_test_tonearest): Likewise.
15459 (llrint_test_towardzero): Likewise.
15460 (llrint_test_downward): Likewise.
15461 (llrint_test_upward): Likewise.
15462 (llround_test): Likewise.
15463
7abeee12
JM
15464 * math/libm-test.inc (struct test_f_i_data): Add comment.
15465 (RUN_TEST_LOOP_f_b): New macro.
15466 (RUN_TEST_LOOP_f_b_tg): Likewise.
15467 (finite_test_data): New variable.
15468 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15469 (isfinite_test_data): New variable.
15470 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15471 (isinf_test_data): New variable.
15472 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15473 (isnan_test_data): New variable.
15474 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15475 (isnormal_test_data): New variable.
15476 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15477 (issignaling_test_data): New variable.
15478 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15479 (signbit_test_data): New variable.
15480 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15481
cbe8c4d3
JM
15482 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15483 with INVALID_EXCEPTION.
15484 (acosh_test_data): Likewise.
15485 (asin_test_data): Likewise.
15486 (atanh_test_data): Likewise.
15487 (fmod_test_data): Likewise.
15488 (log_test_data): Likewise.
15489 (log10_test_data): Likewise.
15490 (log2_test_data): Likewise.
15491 (pow_test_data): Likewise.
15492 (sqrt_test_data): Likewise.
15493 (y0_test_data): Likewise.
15494 (y1_test_data): Likewise.
15495 (yn_test_data): Likewise.
15496
5575c0e5
JM
15497 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15498 function contents.
15499
d369f531
JM
15500 * math/libm-test.inc (struct test_ff_i_data): New type.
15501 (RUN_TEST_LOOP_ff_i_tg): New macro.
15502 (isgreater_test_data): New variable.
15503 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15504 (isgreaterequal_test_data): New variable.
15505 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15506 (isless_test_data): New variable.
15507 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15508 (islessequal_test_data): New variable.
15509 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15510 (islessgreater_test_data): New variable.
15511 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15512 (isunordered_test_data): New variable.
15513 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15514
781fd748
DM
155152013-05-14 David S. Miller <davem@davemloft.net>
15516
15517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15518
87aa21df
JM
155192013-05-14 Joseph Myers <joseph@codesourcery.com>
15520
5e908270
JM
15521 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15522
f71172e5
JM
15523 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15524 extra_test to int.
15525 (struct test_f_i_data): Change type of max_ulp to int.
15526
8cfa635a
JM
15527 * math/libm-test.inc (test_ffI_f1_data): New type.
15528 (RUN_TEST_LOOP_ffI_f1): New macro.
15529 (remquo_test_data): New variable.
15530 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15531
2bcb36b2
JM
15532 * setjmp/tst-setjmp-fp.c: New file.
15533 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15534 (link-libm): New variable.
15535 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15536
acbd839a
JM
15537 * math/libm-test.inc (struct test_f_i_data): New type.
15538 (RUN_TEST_LOOP_f_i): New macro.
15539 (RUN_TEST_LOOP_f_i_tg): Likewise.
15540 (fpclassify_test_data): New variable.
15541 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15542 (ilogb_test_data): New variable.
15543 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15544
e414d745
JM
15545 * math/libm-test.inc (scalbln_test): Correct function name in END
15546 call.
15547
d9c2a0fd
JM
15548 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15549 (RUN_TEST_LOOP_fI_f1): New macro.
15550 (frexp_test_data): New variable.
15551 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15552
9dc9095d
JM
15553 * math/libm-test.inc (struct test_fF_f1_data): New type.
15554 (RUN_TEST_LOOP_fF_f1): New macro.
15555 (modf_test_data): New variable.
15556 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15557
87aa21df
JM
15558 * math/libm-test.inc (struct test_f_f1_data): New type.
15559 (RUN_TEST_LOOP_f_f1): New macro.
15560 (gamma_test_data): New variable.
15561 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15562 (lgamma_test_data): New variable.
15563 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15564
141af660
CD
155652013-05-13 Carlos O'Donell <carlos@redhat.com>
15566
15567 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15568 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15569 (main): Comment "tls" pseudo-hwcap.
15570
6d33265c
JM
155712013-05-13 Joseph Myers <joseph@codesourcery.com>
15572
68fc074c
JM
15573 * math/libm-test.inc (struct test_fl_f_data): New type.
15574 (RUN_TEST_LOOP_fl_f): New variable.
15575 (scalbln_test_data): New variable.
15576 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15577
243216e1
JM
15578 * math/libm-test.inc (struct test_fi_f_data): New type.
15579 (RUN_TEST_LOOP_fi_f): New macro.
15580 (ldexp_test_data): New variable.
15581 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15582 (scalbn_test_data): New variable.
15583 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15584
6a1992e2
JM
15585 * math/libm-test.inc (struct test_c_f_data): New type.
15586 (RUN_TEST_LOOP_c_f): New macro.
15587 (cabs_test_data): New variable.
15588 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15589 (carg_test_data): New variable.
15590 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15591 (cimag_test_data): New variable.
15592 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15593 (creal_test_data): New variable.
15594 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15595
0e400df5
JM
15596 * math/libm-test.inc (struct test_if_f_data): New type.
15597 (RUN_TEST_LOOP_if_f): New macro.
15598 (jn_test_data): New variable.
15599 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15600 (yn_test_data): New variable.
15601 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15602
6d33265c
JM
15603 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15604
f98ece5f
AZ
156052013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15608 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15609
0f7d347b
SP
156102013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15611
43fe811b
SP
15612 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15613 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15614 (bench-deps): Add bench-timing.h.
15615 * benchtests-bench-skeleton.c: Include bench-timing.h.
15616 (main): Use TIMING_* macros instead of clock_gettime.
15617 * benchtests/bench-timing.h: New file.
15618
0f7d347b
SP
15619 [BZ #14582]
15620 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15621 Renamed from _LIB_VERSION.
15622 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15623
601a3a5f
JM
156242013-05-12 Joseph Myers <joseph@codesourcery.com>
15625
4f184d30
JM
15626 * math/libm-test.inc (struct test_fff_f_data): New type.
15627 (RUN_TEST_LOOP_fff_f): New macro.
15628 (fma_test_data): New variable.
15629 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15630 (fma_towardzero_test_data): New variable.
15631 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15632 (fma_downward_test_data): New variable.
15633 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15634 (fma_upward_test_data): New variable.
15635 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15636
08198877
JM
15637 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15638 (struct test_c_c_data): New type.
15639 (RUN_TEST_LOOP_c_c): New macro.
15640 (cacos_test_data): New variable.
15641 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15642 (cacosh_test_data): New variable.
15643 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15644 (casin_test_data): New variable.
15645 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15646 (casinh_test_data): New variable.
15647 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15648 (catan_test_data): New variable.
15649 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15650 (catanh_test_data): New variable.
15651 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15652 (ccos_test_data): New variable.
15653 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15654 (ccosh_test_data): New variable.
15655 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15656 (cexp_test_data): New variable.
15657 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15658 (clog_test_data): New variable.
15659 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15660 (clog10_test_data): New variable.
15661 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15662 (conj_test_data): New variable.
15663 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15664 (cproj_test_data): New variable.
15665 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15666 (csin_test_data): New variable.
15667 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15668 (csinh_test_data): New variable.
15669 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15670 (csqrt_test_data): New variable.
15671 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15672 (ctan_test_data): New variable.
15673 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15674 (ctan_tonearest_test_data): New variable.
15675 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15676 (ctan_towardzero_test_data): New variable.
15677 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15678 (ctan_downward_test_data): New variable.
15679 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15680 (ctan_upward_test_data): New variable.
15681 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15682 (ctanh_test_data): New variable.
15683 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15684 (ctanh_tonearest_test_data): New variable.
15685 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15686 (ctanh_towardzero_test_data): New variable.
15687 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15688 (ctanh_downward_test_data): New variable.
15689 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15690 (ctanh_upward_test_data): New variable.
15691 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15692 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15693 of BUILD_COMPLEX.
15694
601a3a5f
JM
15695 * math/libm-test.inc (struct test_ff_f_data): New type.
15696 (struct test_ff_f_data_nexttoward): Likewise.
15697 (RUN_TEST_LOOP_2_f): New macro.
15698 (RUN_TEST_LOOP_ff_f): Likewise.
15699 (atan2_test_data): New variable.
15700 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15701 (copysign_test_data): New variable.
15702 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15703 (fdim_test_data): New variable.
15704 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15705 (fmax_test_data): New variable.
15706 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15707 (fmin_test_data): New variable.
15708 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15709 (fmod_test_data): New variable.
15710 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15711 (hypot_test_data): New variable.
15712 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15713 (nextafter_test_data): New variable.
15714 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15715 (nexttoward_test_data): New variable.
15716 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15717 (pow_test_data): New variable.
15718 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15719 (pow_tonearest_test_data): New variable.
15720 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15721 (pow_towardzero_test_data): New variable.
15722 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15723 (pow_downward_test_data): New variable.
15724 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15725 (pow_upward_test_data): New variable.
15726 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15727 (remainder_test_data): New variable.
15728 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15729 (scalb_test_data): New variable.
15730 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15731 * sysdeps/i386/fpu/libm-test-ulps: Update.
15732
74c57478
JM
157332013-05-11 Joseph Myers <joseph@codesourcery.com>
15734
8329e4da
JM
15735 * math/libm-test.inc (fma_test): Use max_value instead of local
15736 variable fltmax.
15737 (nextafter_test): Likewise.
15738
74c57478
JM
15739 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15740 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15741 (acos_downward_test_data): New variable.
15742 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15743 (acos_upward_test_data): New variable.
15744 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15745 (acosh_test_data): New variable.
15746 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15747 (asin_test_data): New variable.
15748 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15749 (asin_tonearest_test_data): New variable.
15750 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15751 (asin_towardzero_test_data): New variable.
15752 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15753 (asin_downward_test_data): New variable.
15754 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15755 (asin_upward_test_data): New variable.
15756 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15757 (asinh_test_data): New variable.
15758 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15759 (atan_test_data): New variable.
15760 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15761 (atanh_test_data): New variable.
15762 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15763 (cbrt_test_data): New variable.
15764 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15765 (ceil_test_data): New variable.
15766 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15767 (cos_test_data): New variable.
15768 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15769 (cos_tonearest_test_data): New variable.
15770 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15771 (cos_towardzero_test_data): New variable.
15772 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15773 (cos_downward_test_data): New variable.
15774 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15775 (cos_upward_test_data): New variable.
15776 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15777 (cosh_test_data): New variable.
15778 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15779 (cosh_tonearest_test_data): New variable.
15780 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15781 (cosh_towardzero_test_data): New variable.
15782 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15783 (cosh_downward_test_data): New variable.
15784 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15785 (cosh_upward_test_data): New variable.
15786 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15787 (erf_test_data): New variable.
15788 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15789 (erfc_test_data): New variable.
15790 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15791 (exp_test_data): New variable.
15792 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15793 (exp_tonearest_test_data): New variable.
15794 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15795 (exp_towardzero_test_data): New variable.
15796 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15797 (exp_downward_test_data): New variable.
15798 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15799 (exp_upward_test_data): New variable.
15800 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15801 (exp10_test_data): New variable.
15802 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15803 (exp2_test_data): New variable.
15804 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15805 (expm1_test_data): New variable.
15806 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15807 (fabs_test_data): New variable.
15808 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15809 (floor_test_data): New variable.
15810 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15811 (j0_test_data): New variable.
15812 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15813 (j1_test_data): New variable.
15814 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15815 (log_test_data): New variable.
15816 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15817 (log10_test_data): New variable.
15818 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15819 (log1p_test_data): New variable.
15820 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15821 (log2_test_data): New variable.
15822 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15823 (logb_test_data): New variable.
15824 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15825 (logb_downward_test_data): New variable.
15826 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15827 (nearbyint_test_data): New variable.
15828 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15829 (rint_test_data): New variable.
15830 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15831 (rint_tonearest_test_data): New variable.
15832 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15833 (rint_towardzero_test_data): New variable.
15834 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15835 (rint_downward_test_data): New variable.
15836 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15837 (rint_upward_test_data): New variable.
15838 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15839 (round_test_data): New variable.
15840 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15841 (sin_test_data): New variable.
15842 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15843 (sin_tonearest_test_data): New variable.
15844 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15845 (sin_towardzero_test_data): New variable.
15846 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15847 (sin_downward_test_data): New variable.
15848 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15849 (sin_upward_test_data): New variable.
15850 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15851 (sinh_test_data): New variable.
15852 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15853 (sinh_tonearest_test_data): New variable.
15854 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15855 (sinh_towardzero_test_data): New variable.
15856 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15857 (sinh_downward_test_data): New variable.
15858 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15859 (sinh_upward_test_data): New variable.
15860 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15861 (sqrt_test_data): New variable.
15862 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15863 (tan_test_data): New variable.
15864 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15865 (tan_tonearest_test_data): New variable.
15866 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15867 (tan_towardzero_test_data): New variable.
15868 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15869 (tan_downward_test_data): New variable.
15870 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15871 (tan_upward_test_data): New variable.
15872 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15873 (tanh_test_data): New variable.
15874 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15875 (tgamma_test_data): New variable.
15876 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15877 (trunc_test_data): New variable.
15878 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15879 (y0_test_data): New variable.
15880 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15881 (y1_test_data): New variable.
15882 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15883 (significand_test_data): New variable.
15884 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15885
7187d844
CG
158862013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15887
15888 [BZ #12387]
15889 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15890
f63fae73
PT
158912013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15892
15893 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15894
8a67a4b3
AJ
158952013-05-10 Andreas Jaeger <aj@suse.de>
15896
15897 [BZ #15448]
15898 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15899 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15900
51df539d
JM
159012013-05-10 Joseph Myers <joseph@codesourcery.com>
15902
15903 * math/gen-libm-test.pl (adjust_arg): New function.
15904 (special_functions): Handle generating output in both functions
15905 and arrays.
15906 (parse_args): Likewise.
15907 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15908 $in_func argument to parse_args.
15909 * math/libm-test.inc (struct test_f_f_data): New type.
15910 (IF_ROUND_INIT_): New macro.
15911 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15912 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15913 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15914 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15915 (ROUND_RESTORE_): Likewise.
15916 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15917 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15918 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15919 (ROUND_RESTORE_FE_UPWARD): Likewise.
15920 (RUN_TEST_LOOP_f_f): New macro.
15921 (acos_test_data): New variable.
15922 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15923 (acos_tonearest_test_data): New variable.
15924 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15925
5c637fe5
SP
159262013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15927
15928 * benchtests/bench-skeleton.c (startup): Fix coding style.
15929
ab2b9461
JM
159302013-05-10 Joseph Myers <joseph@codesourcery.com>
15931
15932 [BZ #6809]
15933 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15934 negative infinity argument.
15935 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15936 negative infinity argument.
15937 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15938 negative infinity argument.
15939 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15940 domain errors.
15941
4c0fe6fe
FW
159422013-05-10 Florian Weimer <fweimer@redhat.com>
15943
15944 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15945 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15946 * iconv/iconv_prog.c (main): Likewise.
15947 * locale/programs/charmap-dir.c (charmap_readdir)
15948 (fopen_uncompressed): Likewise.
15949 * locale/programs/locfile.c (siblings_uncached)
15950 (write_locale_data): Use lstat64 instead of lstat.
15951 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15952 stat.
15953
a3375d29
AJ
159542013-05-10 Andreas Jaeger <aj@suse.de>
15955
15956 [BZ #15395]
15957 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15958 localization.
15959 Include <locale.h>.
15960
36129722
CD
159612013-05-09 Carlos O'Donell <carlos@redhat.com>
15962
15963 * elf/dl-close.c (_dl_close_worker): Add comments.
15964
faa7f811
JM
159652013-05-09 Joseph Myers <joseph@codesourcery.com>
15966
ed41ffef
JM
15967 [BZ #15359]
15968 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15969 high part of pi/2.
15970 (__ieee754_rem_pio2l): Update comments.
15971
d0213cd0
JM
15972 [BZ #15429]
15973 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15974 high part of pi/2.
15975 (__ieee754_rem_pio2l): Update comments.
15976
0d3e777a
JM
15977 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15978 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15979
24f56066
JM
15980 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15981 M_PI_4l.
15982
faa7f811
JM
15983 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15984 (M_PI_34_LOG10El): Likewise.
15985 (M_PI2_LOG10El): Likewise.
15986 (M_PI4_LOG10El): Likewise.
15987 (M_PI_LOG10El): Likewise.
15988
e9a5e0fd
AZ
159892013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15990
15991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15992
d8cd06db
JM
159932013-05-08 Joseph Myers <joseph@codesourcery.com>
15994
a0d9f9d7
JM
15995 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15996 (MINUS_ZERO_INIT): Likewise.
15997 (PLUS_INFTY_INIT): Likewise.
15998 (MINUS_INFTY_INIT): Likewise.
15999 (QNAN_VALUE_INIT): Likewise.
16000 (MAX_VALUE_INIT): Likewise.
16001 (MIN_VALUE_INIT): Likewise.
16002 (MIN_SUBNORM_VALUE_INIT): Likewise.
16003 (plus_zero): Initialize with PLUS_ZERO_INIT.
16004 (minus_zero): Initialize with MINUS_ZERO_INIT.
16005 (plus_infty): Initialize with PLUS_INFTY_INIT.
16006 (minus_infty): Initialize with MINUS_INFTY_INIT.
16007 (qnan_value): Initialize with QNAN_VALUE_INIT.
16008 (max_value): Initialize with MAX_VALUE_INIT.
16009 (min_value): Initialize with MIN_VALUE_INIT.
16010 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16011
ae08db3b
JM
16012 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16013 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16014 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16015 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16016
f44bf14a
JM
16017 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16018 (RUN_TEST_2_f): Likewise.
16019 (RUN_TEST_ff_f): Likewise.
16020 (RUN_TEST_fi_f): Likewise.
16021 (RUN_TEST_fl_f): Likewise.
16022 (RUN_TEST_fff_f): Likewise.
16023 (RUN_TEST_c_f): Likewise.
16024 (RUN_TEST_f_f1): Likewise.
16025 (RUN_TEST_fF_f1): Likewise.
16026 (RUN_TEST_fI_f1): Likewise.
16027 (RUN_TEST_ffI_f1): Likewise.
16028 (RUN_TEST_c_c): Likewise.
16029 (RUN_TEST_cc_c): Likewise.
16030 (RUN_TEST_f_i): Likewise.
16031 (RUN_TEST_f_i_tg): Likewise.
16032 (RUN_TEST_ff_i_tg): Likewise.
16033 (RUN_TEST_f_b): Likewise.
16034 (RUN_TEST_f_b_tg): Likewise.
16035 (RUN_TEST_f_l): Likewise.
16036 (RUN_TEST_f_L): Likewise.
16037 (RUN_TEST_sincos): Likewise.
16038 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16039 whether to show exceptions. Do not include ");\n" in return
16040 value.
16041 (special_functions): Output call to RUN_TEST_sincos instead of
16042 check_float calls. Update calls to new_test.
16043 (parse_args): Output call to single RUN_TEST_* macro instead of
16044 check_* calls and other assignments. Update calls to new_test.
16045
d8cd06db
JM
16046 [BZ #2546]
16047 [BZ #2560]
16048 [BZ #5159]
16049 [BZ #15426]
16050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16051 input to result for tgamma overflow.
16052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16053 (gamma_coeff): New variable.
16054 (NCOEFF): New macro.
16055 (gamma_positive): New function.
16056 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16057 underflow here. Use gamma_positive instead of exp (lgamma) for
16058 other arguments.
16059 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16060 (gamma_coeff): New variable.
16061 (NCOEFF): New macro.
16062 (gammaf_positive): New function.
16063 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16064 underflow here. Use gamma_positive instead of exp (lgamma) for
16065 other arguments.
16066 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16067 (gamma_coeff): New variable.
16068 (NCOEFF): New macro.
16069 (gammal_positive): New function.
16070 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16071 underflow here. Use gamma_positive instead of exp (lgamma) for
16072 other arguments.
16073 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16074 (gamma_coeff): New variable.
16075 (NCOEFF): New macro.
16076 (gammal_positive): New function.
16077 (__ieee754_gammal_r): Handle positive infinity, overflow and
16078 underflow here. Handle NaN the same as positive infinity. Remove
16079 check x < 0xffffffff for negative integers. Use gamma_positive
16080 instead of exp (lgamma) for other arguments.
16081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16082 (gamma_coeff): New variable.
16083 (NCOEFF): New macro.
16084 (gammal_positive): New function.
16085 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16086 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16090 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16091 * sysdeps/generic/math_private.h (__gamma_productf): New
16092 prototype.
16093 (__gamma_product): Likewise.
16094 (__gamma_productl): Likewise.
16095 * math/Makefile (libm-calls): Add gamma_product.
16096 * math/libm-test.inc (tgamma_test): Add more tests.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update.
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16099
bb7cf681
OB
161002013-05-08 Ondřej Bílka <neleai@seznam.cz>
16101
16102 * benchtests/bench-skeleton.c (main): Preheat CPU.
16103
ba853947
AJ
161042013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16105
16106 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16107
8347c74c
RM
161082013-05-07 Roland McGrath <roland@hack.frob.com>
16109
16110 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16111 and _dl_skip_args_internal.
16112
e8dd4791
CD
161132013-05-07 Carlos O'Donell <carlos@redhat.com>
16114
16115 * manual/message.texi (Message Translation): Talk about users.
16116 Message to key mapping impacts design.
16117
c7405830
RM
161182013-05-06 Roland McGrath <roland@hack.frob.com>
16119
a9173057
RM
16120 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16121
976e2f03
RM
16122 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16123
9723ffc5
RM
16124 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16125 * sysdeps/wordsize-64/glob64.c: ... here.
16126
962e6658
RM
16127 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16128 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16129 New macros.
16130
ee586a6d
RM
16131 * debug/getlogin_r_chk.c: Moved to ...
16132 * login/getlogin_r_chk.c: ... here.
16133 * debug/Makefile (routines): Move getlogin_r_chk to ...
16134 * login/Makefile (routines): ... here.
16135 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16136 * login/Versions (libc: GLIBC_2.4): ... here.
16137
355f9165
RM
16138 * io/poll.c (__poll): Renamed from poll.
16139 Add libc_hidden_def.
16140 (poll): Define as weak alias.
16141
bd9ffde6
RM
16142 * debug/ptsname_r_chk.c: Moved to ...
16143 * login/ptsname_r_chk.c: ... here.
16144 * debug/Makefile (routines): Move ptsname_r_chk to ...
16145 * login/Makefile (routines): ... here.
16146 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16147 * login/Versions (libc: GLIBC_2.4): ... here.
16148
8fb16a04
RM
16149 * posix/getlogin.c: Moved to ...
16150 * login/getlogin.c: ... here.
16151 * posix/getlogin_r.c: Moved to ...
16152 * login/getlogin_r.c: ... here.
16153 * posix/getlogin_r.c: Moved to ...
16154 * login/getlogin_r.c: ... here.
16155 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16156 * login/Makefile (routines): ... here.
16157 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16158 * login/Versions (libc: GLIBC_2.0): ... here.
16159
b99b892f
RM
16160 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16161 (setrlimit): Define as weak alias.
16162
c7405830
RM
16163 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16164 Call __ names for open, ftruncate, and close.
16165 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16166 (truncate): Define as weak alias.
16167
5bf96de5
JM
161682013-05-06 Joseph Myers <joseph@codesourcery.com>
16169
9ea3513c
JM
16170 * math/gen-libm-test.pl (parse_args): Initialize x before each
16171 test of frexp, modf and remquo.
16172
5bf96de5
JM
16173 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16174 test signgam value.
16175
16e616a7
AZ
161762013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16177
16178 [BZ #15418]
16179 [BZ #15419]
16180 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16181 internal tests.
16182 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16183
d5e82754
RM
161842013-05-06 Roland McGrath <roland@hack.frob.com>
16185
16186 * elf/dl-writev.h: New file.
16187 * elf/dl-misc.c: Include it.
16188 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16189 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16190
a7548d41
JM
161912013-05-04 Joseph Myers <joseph@codesourcery.com>
16192
b7dab1e4
JM
16193 * math/libm-test.inc (noXFails): Remove variable.
16194 (noXPasses): Likewise.
16195 (BUILD_COMPLEX_INT): Remove macro.
16196 (print_screen): Remove xfail argument.
16197 (print_screen_max_error): Likewise.
16198 (update_stats): Likewise.
16199 (print_max_error): Likewise. Update calls to other affected
16200 functions.
16201 (print_complex_max_error): Likewise.
16202 (test_single_exception): Update calls to print_screen.
16203 (test_single_errno): Likewise.
16204 (check_float_internal): Remove xfail argument. Update calls to
16205 other affected functions.
16206 (check_float): Likewise.
16207 (check_complex): Likewise.
16208 (check_int): Likewise.
16209 (check_long): Likewise.
16210 (check_bool): Likewise.
16211 (check_longlong): Likewise.
16212 (main): Don't print noXFails and noXPasses.
16213 * math/gen-libm-test.pl (top level): Don't mention expected
16214 failure handling in comment.
16215 (new_test): Don't handle expected failures.
16216 (parse_args): Don't mention expected failure handling in comment.
16217 (generate_testfile): Don't handle expected failures.
16218 (parse_ulps): Likewise.
16219 (print_ulps_file): Likewise.
16220 (get_failure): Remove function.
16221 (output_test): Don't handle expected failures.
16222 * make/README.libm-test: Don't mention expected failure handling.
16223
a7548d41
JM
16224 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16225 (minus_zero): Likewise.
16226 (plus_infty): Likewise.
16227 (minus_infty): Likewise.
16228 (qnan_value): Likewise.
16229 (max_value): Likewise.
16230 (min_value): Likewise.
16231 (min_subnorm_value): Likewise.
16232 (initialize): Do not initialize those variables dynamically.
16233
60bfd54c
RM
162342013-05-03 Roland McGrath <roland@hack.frob.com>
16235
cc0e6ed8
RM
16236 * io/open.c (__open_2): Moved to ...
16237 * io/open_2.c: ... this new file.
16238 * io/open64.c (__open64_2): Moved to ...
16239 * io/open64_2.c: ... this new file.
16240 * io/openat.c (__openat_2): Moved to ...
16241 * io/openat_2.c: ... this new file.
16242 * io/openat64.c (__openat64_2): Moved to ...
16243 * io/openat64_2.c: ... this new file.
16244 * io/Makefile (routines): Add them.
16245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16246 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16247 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16248 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16249 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16250 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16251 (__openat64): Add hidden_ver.
16252 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16253 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16254
60bfd54c
RM
16255 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16256 Separately conditionalize setting of GLRO(dl_sysinfo) so
16257 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16258 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16259
83e7640f
AZ
162602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16261
16262 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16263 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16264 definition.
16265 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16266 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16267 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16268 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16269 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16270
d5dc2af3
JM
162712013-05-03 Joseph Myers <joseph@codesourcery.com>
16272
c31a5b1e
JM
16273 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16274 test signgam value.
16275
d5dc2af3
JM
16276 * math/libm-test.inc (hypot_test): Do not use
16277 IGNORE_ZERO_INF_SIGN.
16278
164fd39d
AJ
162792013-05-03 Andreas Jaeger <aj@suse.de>
16280
16281 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16282 Linux 3.9.
16283 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16284 (PF_MAX): Adjust for VSOCK change.
16285
8237f48c
AZ
162862013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16287
16288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16289
9df02941
CD
162902013-05-02 Carlos O'Donell <carlos@redhat.com>
16291
16292 [BZ #15264]
16293 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16294 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16295 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16296
d422395e
DM
162972013-05-02 David S. Miller <davem@davemloft.net>
16298
16299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16300
a07c5731
OB
163012013-05-01 Ondřej Bílka <neleai@seznam.cz>
16302
16303 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16304
1324e37f
RM
163052013-05-01 Roland McGrath <roland@hack.frob.com>
16306
16307 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16308
0695940b
RS
163092013-05-01 Richard Smith <richard@metafoo.co.uk>
16310
bb5f27ad 16311 [BZ #14952]
0695940b
RS
16312 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16313 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16314 Use __attribute__ ((__gnu_inline__)).
16315 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16316 Don't use __attribute__ ((__gnu_inline__)).
16317
10de07f5
JM
163182013-05-01 Joseph Myers <joseph@codesourcery.com>
16319
16320 [BZ #15423]
16321 * math/s_catan.c (__catan): Handle small real or imaginary part of
16322 input specially to avoid spurious underflow.
16323 * math/s_catanf.c (__catanf): Likewise.
16324 * math/s_catanh.c (__catanh): Likewise.
16325 * math/s_catanhf.c (__catanhf): Likewise.
16326 * math/s_catanhl.c (__catanhl): Likewise.
16327 * math/s_catanl.c (__catanl): Likewise.
16328 * math/libm-test.inc (catan_test): Add more tests.
16329 (catanh_test): Likewise.
16330 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16332
cb4d5414
AZ
163332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16334
16335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16336
caf84319
JM
163372013-04-30 Joseph Myers <joseph@codesourcery.com>
16338
16339 [BZ #15416]
16340 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16341 accurately for denominator in atan2.
16342 * math/s_catanf.c (__catanf): Likewise.
16343 * math/s_catanh.c (__catanh): Likewise.
16344 * math/s_catanhf.c (__catanhf): Likewise.
16345 * math/s_catanhl.c (__catanhl): Likewise.
16346 * math/s_catanl.c (__catanl): Likewise.
16347 * math/libm-test.inc (catan_test): Add more tests.
16348 (catanh_test): Likewise.
16349 * sysdeps/i386/fpu/libm-test-ulps: Update.
16350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16351
d569c6ee
SP
163522013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16353
6dbe713d
SP
16354 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16355
f0ee064b
SP
16356 * benchtests/Makefile (bench): Remove slow benchmarks.
16357 * benchtests/atan-inputs: Add slow benchmark inputs.
16358 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16359 (BENCH_FUNC): Accept variant offset.
16360 (VARIANT): Define.
16361 * benchtests/bench-skeleton.c (main): Run benchmark for each
16362 variant.
16363 * benchtests/cos-inputs: Add slow benchmark inputs.
16364 * benchtests/exp-inputs: Likewise.
16365 * benchtests/pow-inputs: Likewise.
16366 * benchtests/sin-inputs: Likewise.
16367 * benchtests/slowatan-inputs: Remove.
16368 * benchtests/slowatan.c: Remove.
16369 * benchtests/slowcos-inputs: Remove.
16370 * benchtests/slowcos.c: Remove.
16371 * benchtests/slowexp-inputs: Remove.
16372 * benchtests/slowexp.c: Remove.
16373 * benchtests/slowpow-inputs: Remove.
16374 * benchtests/slowpow.c: Remove.
16375 * benchtests/slowsin-inputs: Remove.
16376 * benchtests/slowsin.c: Remove.
16377 * benchtests/slowtan-inputs: Remove.
16378 * benchtests/slowtan.c: Remove.
16379 * benchtests/tan-inputs: Add slow benchmark inputs.
16380 * scripts/bench.pl: Parse comments and directives.
16381
d569c6ee
SP
16382 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16383 in CPPFLAGS.
16384 ($(objpfx)bench-%.c): Remove *-ITER.
16385 * benchtests/bench-modf.c: Remove definition of ITER.
16386 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16387 (main): Loop for DURATION seconds instead of fixed number of
16388 iterations.
16389 * scripts/bench.pl: Don't expect iterations in parameters.
16390
a6a242fe
RM
163912013-04-29 Roland McGrath <roland@hack.frob.com>
16392
16393 * io/fchdir.c (__fchdir): Renamed from fchdir.
16394 (fchdir): Define as weak alias.
16395
f2da7793
JM
163962013-04-29 Joseph Myers <joseph@codesourcery.com>
16397
16398 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16399 (ERRNO_EDOM): Likewise.
16400 (ERRNO_ERANGE): Likewise.
16401 (noErrnoTests): New variable.
16402 (init_max_error): Set errno to 0.
16403 (test_single_errno): New function.
16404 (test_errno): Likewise.
16405 (check_float_internal): Call test_errno. Set errno to 0.
16406 (check_complex): Refer to errno tests in comment.
16407 (check_int): Call test_errno. Set errno to 0.
16408 (check_long): Likewise.
16409 (check_bool): Likewise.
16410 (check_longlong): Likewise.
16411 (cos_test): Use ERRNO_* flags for errno tests instead of
16412 check_int.
16413 (expm1_test): Likewise.
16414 (fmod_test): Likewise.
16415 (ilogb_test): Likewise.
16416 (lgamma_test): Likewise.
16417 (pow_test): Likewise.
16418 (remainder_test): Likewise.
16419 (sin_test): Likewise.
16420 (tan_test): Likewise.
16421 (yn_test): Likewise.
16422 (initialize): Set errno to 0.
16423 (main): Print number of errno tests.
16424 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16425
b1a36ceb
AJ
164262013-04-29 Andreas Jaeger <aj@suse.de>
16427
c3ed8088
AJ
16428 [BZ #15084]
16429 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16430 and RES_USEVC.
16431
f1a24198
AJ
16432 [BZ #15085]
16433 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16434 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16435 unimplemented.
16436
9ce3b2cb
AJ
16437 [BZ #15380]
16438 * stdlib/random.c (__initstate): Return NULL if
16439 __initstate fails.
16440
f1a24198 16441 [BZ #15086]
b1a36ceb
AJ
16442 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16443 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16444 RES_SNGLKUPREOP.
16445
7e7b6f36
AZ
164462013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16447
16448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16449
4d14f449
JM
164502013-04-29 Joseph Myers <joseph@codesourcery.com>
16451
16452 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16453 of individual tests.
16454 (casin_test): Likewise.
16455 (casinh_test): Likewise.
16456
5b4217d7
JM
164572013-04-27 Joseph Myers <joseph@codesourcery.com>
16458
16459 [BZ #15409]
16460 * math/s_catan.c (__catan): Handle arguments with large real or
16461 imaginary part separately without squaring.
16462 * math/s_catanf.c (__catanf): Likewise.
16463 * math/s_catanh.c (__catanh): Likewise.
16464 * math/s_catanhf.c (__catanhf): Likewise.
16465 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16466 and redefine.
16467 (__catanhl): Handle arguments with large real or imaginary part
16468 separately without squaring.
16469 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16470 and redefine.
16471 (__catanl): Handle arguments with large real or imaginary part
16472 separately without squaring.
16473 * math/libm-test.inc (catan_test): Add more tests.
16474 (catanh_test): Likewise.
16475 * sysdeps/i386/fpu/libm-test-ulps: Update.
16476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16477
4220c3ef
AJ
164782013-04-27 Andreas Jaeger <aj@suse.de>
16479
16480 [BZ #15007]
16481 * stdlib/stdlib.h: Update guards for qecvt.
16482 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16483 <stdlib.h>.
16484
4721b2d1
AM
164852013-04-27 Allan McRae <allan@archlinux.org>
16486
16487 * sysdeps/i386/fpu/libm-test-ulps: Update.
16488
f0302940
JM
164892013-04-26 Joseph Myers <joseph@codesourcery.com>
16490
9457fd95
JM
16491 [BZ #15406]
16492 * math/s_catan.c: Include <float.h>.
16493 (__catan): Ensure underflow exception occurs for underflowed
16494 result.
16495 * math/s_catanf.c: Include <float.h>.
16496 (__catanf): Ensure underflow exception occurs for underflowed
16497 result.
16498 * math/s_catanh.c: Include <float.h>.
16499 (__catanh): Ensure underflow exception occurs for underflowed
16500 result.
16501 * math/s_catanhf.c: Include <float.h>.
16502 (__catanhf): Ensure underflow exception occurs for underflowed
16503 result.
16504 * math/s_catanhl.c: Include <float.h>.
16505 (__catanhl): Ensure underflow exception occurs for underflowed
16506 result.
16507 * math/s_catanl.c: Include <float.h>.
16508 (__catanl): Ensure underflow exception occurs for underflowed
16509 result.
16510 * math/libm-test.inc (catan_test): Add more tests.
16511 (catanh_test): Likewise.
16512
f0302940
JM
16513 [BZ #15405]
16514 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16515 underflowed result.
16516 * math/s_ccoshf.c (__ccoshf): Likewise.
16517 * math/s_ccoshl.c (__ccoshl): Likewise.
16518 * math/s_csin.c (__csin): Likewise.
16519 * math/s_csinf.c (__csinf): Likewise.
16520 * math/s_csinh.c (__csinh): Likewise.
16521 * math/s_csinhf.c (__csinhf): Likewise.
16522 * math/s_csinhl.c (__csinhl): Likewise.
16523 * math/s_csinl.c (__csinl): Likewise.
16524 * math/libm-test.inc (ccos_test): Add more tests.
16525 (ccosh_test): Likewise.
16526 (csin_test): Likewise.
16527 (csinh_test): Likewise.
16528
aa630f59
AZ
165292013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16530
16531 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16532 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16533 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16534 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16535 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16536 powerpc/power5+/fpu folders.
16537 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16538
16539
1b835983
MT
165402013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16541
16542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16543
73709b26
JM
165442013-04-25 Joseph Myers <joseph@codesourcery.com>
16545
16546 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16547 additions to variable.
16548 [$(config-machine) = x86_64] (modules-names): Likewise.
16549 ($(objpfx)tst-audit3): Remove dependency.
16550 ($(objpfx)tst-audit3.out): Likewise.
16551 ($(objpfx)tst-audit4): Likewise.
16552 ($(objpfx)tst-audit4.out): Likewise.
16553 ($(objpfx)tst-audit5): Likewise.
16554 ($(objpfx)tst-audit5.out): Likewise.
16555 ($(objpfx)tst-audit6): Likewise.
16556 ($(objpfx)tst-audit6.out): Likewise.
16557 ($(objpfx)tst-audit7): Likewise.
16558 ($(objpfx)tst-audit7.out): Likewise.
16559 (tst-audit3-ENV): Remove variable.
16560 (tst-audit4-ENV): Likewise.
16561 (tst-audit5-ENV): Likewise.
16562 (tst-audit6-ENV): Likewise.
16563 (tst-audit7-ENV): Likewise.
16564 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16565 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16566 addition to variable.
16567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16569 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16570 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16571 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16572 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16573 tst-audit3, tst-audit4 and tst-audit5.
16574 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16575 tst-audit6 and tst-audit7.
16576 [$(subdir) = elf] (modules-names): Add audit modules for those
16577 tests.
16578 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16579 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16580 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16581 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16582 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16583 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16584 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16585 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16586 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16587 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16588 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16589 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16590 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16591 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16592 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16593 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16594 Likewise.
16595 [$(subdir) = elf && $(config-cflags-avx) = yes]
16596 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16597 [$(subdir) = elf && $(config-cflags-avx) = yes]
16598 (CFLAGS-tst-auditmod4a.c): Likewise.
16599 [$(subdir) = elf && $(config-cflags-avx) = yes]
16600 (CFLAGS-tst-auditmod4b.c): Likewise.
16601 [$(subdir) = elf && $(config-cflags-avx) = yes]
16602 (CFLAGS-tst-auditmod6b.c): Likewise.
16603 [$(subdir) = elf && $(config-cflags-avx) = yes]
16604 (CFLAGS-tst-auditmod6c.c): Likewise.
16605 [$(subdir) = elf && $(config-cflags-avx) = yes]
16606 (CFLAGS-tst-auditmod7b.c): Likewise.
16607 * elf/tst-audit3.c: Move to ...
16608 * sysdeps/x86_64/tst-audit3.c: ... here.
16609 * elf/tst-audit4.c: Move to ...
16610 * sysdeps/x86_64/tst-audit4.c: ... here.
16611 * elf/tst-audit5.c: Move to ...
16612 * sysdeps/x86_64/tst-audit5.c: ... here.
16613 * elf/tst-audit6.c: Move to ...
16614 * sysdeps/x86_64/tst-audit6.c: ... here.
16615 * elf/tst-audit7.c: Move to ...
16616 * sysdeps/x86_64/tst-audit7.c: ... here.
16617 * elf/tst-auditmod3a.c: Move to ...
16618 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16619 * elf/tst-auditmod3b.c: Move to ...
16620 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16621 * elf/tst-auditmod4a.c: Move to ...
16622 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16623 * elf/tst-auditmod4b.c: Move to ...
16624 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16625 * elf/tst-auditmod5a.c: Move to ...
16626 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16627 * elf/tst-auditmod5b.c: Move to ...
16628 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16629 * elf/tst-auditmod6a.c: Move to ...
16630 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16631 * elf/tst-auditmod6b.c: Move to ...
16632 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16633 * elf/tst-auditmod6c.c: Move to ...
16634 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16635 * elf/tst-auditmod7a.c: Move to ...
16636 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16637 * elf/tst-auditmod7b.c: Move to ...
16638 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16639
1ef74943
PP
166402013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16641
16642 [BZ #15366]
16643 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16644 define unconditionally.
16645 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16646 define unconditionally.
16647 (INT8_C, INT16_C, etc.): Likewise.
16648
93fd48c5
MR
166492013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16650
ae9552cf
MR
16651 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16652 __ehdr_start with hidden visibility.
16653
93fd48c5
MR
16654 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16655
418601aa
CD
166562013-04-24 Carlos O'Donell <carlos@redhat.com>
16657
16658 * math/libm-test.inc (cos_test): Use accurate hex constants.
16659 (sincost_test): Likewise.
16660
2f38fbfe
JM
166612013-04-24 Joseph Myers <joseph@codesourcery.com>
16662
5e221800
JM
16663 * math/libm-test.inc (catan_test): Add more tests.
16664 (catanh_test): Likewise.
16665
77f143fd
JM
16666 * math/s_catanf.c (__catanf): Use suffixed floating-point
16667 constants.
16668 * math/s_catanhf.c (__catanhf): Likewise.
16669 * math/s_catanhl.c (__catanhl): Likewise.
16670 * math/s_catanl.c (__catanl): Likewise.
16671
2f38fbfe
JM
16672 [BZ #15394]
16673 * math/s_catan.c (__catan): Calculate imaginary part of result
16674 with log1p not log unless computing log of number close to 0.
16675 * math/s_catanf.c (__catanf): Likewise.
16676 * math/s_catanl.c (__catanl): Likewise.
16677 * math/s_catanh.c (__catanh): Calculate real part of result with
16678 log1p not log unless computing log of number close to 0.
16679 * math/s_catanhf.c (__catanhf): Likewise.
16680 * math/s_catanhl.c (__catanhl): Likewise.
16681 * math/libm-test.inc (catan_test): Add more tests.
16682 (catanh_test): Likewise.
16683 * sysdeps/i386/fpu/libm-test-ulps: Update.
16684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16685
45d69176
SP
166862013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16687
16688 * benchtests/Makefile: Mention files in which fast and slow
16689 paths of math functions are implemented.
16690
87f51853
RM
166912013-04-23 Roland McGrath <roland@hack.frob.com>
16692
16693 * sysdeps/posix/timespec_get.c: New file.
16694
3c026539
AZ
166952013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696
16697 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16698 POWER.
16699 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16700 for POWER.
16701 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16702 powerpc/power5/fpu folders.
16703 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16704 * benchtests/Makefile: Add modf testcase.
16705 * benchtests/bench-modf.c: New file: Benchmark test for mo
16706
ff491d14
SP
167072013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16708
16709 [BZ #14888]
16710 * time/Makefile (tests): Add tst-strptime-whitespace.
16711 * time/strptime_l.c (get_number): Use ISSPACE.
16712 (__strptime_internal): Likewise.
16713 * time/tst-strptime-whitespace.c: New test case.
16714
7ed3f4e8
AS
167152013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16716
16717 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16718 member.
16719 (_nss_files_init): Set it here.
16720
5c95f7b6
HC
167212013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16722
16723 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16724 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16725 unsigned.
16726
d34c9158
JBG
167272013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16728
16729 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16730
2169712d
SP
167312013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16732
16733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16734 size just once.
16735
29c5de99
DM
167362013-04-21 David S. Miller <davem@davemloft.net>
16737
16738 * po/ru.po: Update Russion translation from translation project.
16739
ccdad15d
AC
167402013-04-17 Adam Conrad <adconrad@0c3.net>
16741
16742 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16743 and setfsgid.
16744
0f122b8d
CD
167452013-04-17 Carlos O'Donell <carlos@redhat.com>
16746
5c5b07da 16747 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16748 * configure: Regenerate.
5c5b07da 16749 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16750 Add example to error message.
16751 * sysdeps/i386/configure: Regenerate.
16752
037714dd
SP
167532013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16754
16755 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16756 slowtan.
16757 * benchtests/cos-inputs: New file.
16758 * benchtests/slowcos-inputs: New file.
16759 * benchtests/slowcos.c: New file.
16760 * benchtests/slowtan-inputs: New file.
16761 * benchtests/slowtan.c: New file.
16762 * benchtests/tan-inputs: New file.
16763
e913141d
RM
167642013-04-16 Roland McGrath <roland@hack.frob.com>
16765
16766 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16767 considered kosher.
16768
a2964074
SP
167692013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16770
4856bcd2
SP
16771 * benchtests/Makefile: Include cppflags-iterator.mk to add
16772 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16773
a2964074
SP
16774 * Makefile.in (bench-clean): New target.
16775 * benchtests/Makefile (bench-clean): Likewise.
16776
9fbf9aca
DH
167772013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16778
16779 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16780
207d1e2a
TS
167812013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16782
16783 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16784
306dfba9
AS
167852013-04-15 Andreas Schwab <schwab@suse.de>
16786
16787 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16789 * nscd/pwdcache.c (cache_addpw): Likewise.
16790 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16791 more than recsize.
16792
206a6699
SP
167932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16794
16795 * benchtests/Makefile (bench): Write all output to
16796 bench-out.tmp together.
16797
0582f6b3
AS
167982013-04-15 Andreas Schwab <schwab@suse.de>
16799
16800 * nscd/nscd.c (main): Don't fork again after closing files.
16801
acb4325f
SP
168022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16803
5cb26d0a
SP
16804 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16805
acb4325f
SP
16806 * benchtests/Rules (bench-deps): Collect dependencies into a
16807 single variable. Add Makefile to dependencies.
16808 ($(objpfx)bench-%.c): Depend on bench-deps.
16809
47792506
RM
168102013-04-12 Roland McGrath <roland@hack.frob.com>
16811 Xavier Roche <roche+kml2@exalead.com>
16812
16813 [BZ #15361]
16814 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16815 just that it's a file descriptor.
16816 * manual/llio.texi (Synchronizing AIO Operations): Update description
16817 for EBADF error from aio_fsync.
16818
8fc1bee5
SP
168192013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16820
16821 * Rules (bench): Move target definition...
16822 * benchtests/Makefile: ... here.
16823
aba5e333
CD
168242013-04-11 Carlos O'Donell <carlos@redhat.com>
16825
16826 * math/libm-test.inc (cos_test): Fix PI/2 test.
16827 (sincos_test): Likewise.
16828 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16829 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16830
273cdee8
AS
168312013-04-11 Andreas Schwab <schwab@suse.de>
16832
6ecec3b6
AS
16833 [BZ #13988]
16834 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16835 accept exponent character only when digits were seen.
16836 * stdio-common/Makefile (tests): Add bug26.
16837 * stdio-common/bug26.c: New file.
16838
273cdee8
AS
16839 [BZ #14293]
16840 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16841 non-freeable.
16842
8da491f5
SP
168432013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16844
01dc6df9
SP
16845 * Makeconfig (rtld-prefix): Define built linker prefix.
16846 * Rules (run-bench): Use it.
16847 * math/Makefile (run-regen-ulps): Likewise.
16848
8da491f5
SP
16849 * Rules (bench): Remove eval.
16850
abe7f530
SP
168512013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16852 Roland McGrath <roland@hack.frob.com>
16853 Ondrej Bilka <neleai@seznam.cz>
16854
16855 [BZ #15346]
16856 * time/getdate.c: Include ctype.h and alloca.h.
16857 (__getdate_r): Trim leading and trailing spaces of input.
16858 * time/tst-getdate.c (tests): Add tests with leading and
16859 trailing spaces.
16860
61c23e62
RM
168612013-04-08 Roland McGrath <roland@hack.frob.com>
16862
16863 [BZ #14280]
16864 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16865 when computing value.
16866
7208a313
CD
168672013-04-06 Carlos O'Donell <carlos@redhat.com>
16868
085b2d41
CD
16869 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16870 Use testrun.sh to run libm tests.
16871
7208a313
CD
16872 [BZ #15309]
16873 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16874
872c0acd
MM
168752013-04-06 Marko Myllynen <myllynen@redhat.com>
16876
16877 [BZ #15264]
16878 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16879
26510bdd
CD
168802013-04-06 Carlos O'Donell <carlos@redhat.com>
16881
16882 * Makefile.in (regen-ulps): New target.
16883 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16884 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16885 [ifneq (no,$(PERL)] (regen-ulps): New target.
16886 [ifeq (no,$(PERL)] (regen-ulps): New target.
16887 * math/libm-test.inc (ulps_file_name): Define.
16888 (output_dir): New variable.
16889 (options): Add "output-dir" option.
16890 (parse_opt): Handle 'o' case.
16891 (main): If output_dir is non-NULL use it as a prefix
16892 otherwise use "".
16893 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16894
a01f19c8
CD
168952013-04-06 Carlos O'Donell <carlos@redhat.com>
16896
16897 [BZ #10060, #10062]
16898 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16899 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16900 fail configure if __sync_val_compare_and_swap is not inlined.
16901 * sysdeps/i386/configure: Regenerate.
16902 * configure.in: Build for i686 when configured for i386.
16903 * configure: Regenerate.
16904 * README: Remove i386 reference.
16905
b7a329a5
CD
169062013-04-06 Carlos O'Donell <carlos@redhat.com>
16907
16908 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16910
bf0f50df
TS
169112013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16912
ee091edf
TS
16913 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16914 (lmsnanval): New variables.
16915 (F): Add conversion tests.
16916 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16917 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16918
a8b792d6
TS
16919 * stdio-common/tstdiomisc.c (F): Properly collect individual
16920 tests' results.
16921
a1cbf437
TS
16922 [BZ #14686, #15336]
16923 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16924 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16925 Instead, use input NaN values or generate a qNaN by arithmetic
16926 operation. Also fix bugs to comply with the standard.
16927 * math/libm-test.inc (remainder_test): Add more tests.
16928
8b43a0c9
TS
16929 [BZ #15335, #15342]
16930 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16932 input NaN values or generate a qNaN by arithmetic operation.
16933
d91da4ce
TS
16934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16935 unreachable code.
16936
bf0f50df
TS
16937 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16938 definitions.
16939
05e166c8
JM
169402013-04-03 Joseph Myers <joseph@codesourcery.com>
16941
16942 [BZ #14478]
16943 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16944 underflowed result.
16945 * math/s_cexpf.c (__cexpf): Likewise.
16946 * math/s_cexpl.c (__cexpl): Likewise.
16947 * math/libm-test.inc (cexp_test): Add more tests.
16948
1cef1b19
AS
169492013-04-03 Andreas Schwab <schwab@suse.de>
16950
16951 [BZ #15330]
16952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16953 order arrays from heap if bigger than alloca cutoff.
16954
74d87055
TS
169552013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16956
16957 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16958 (SNAN_TESTS_double): Refer to GCC PR56831.
16959 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16960 GCC PR56828.
16961
d755bba4
SP
169622013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
90d5d5bb
SP
16964 * Rules (bench): Move bench.out after the run is complete.
16965
73e0cd5d
SP
16966 * Rules (bench): Echo currently running benchmark.
16967
64aabd4b
SP
16968 * benchtests/Makefile (bench): Add atan and slowatan.
16969 * benchtests/atan-inputs: New file.
16970 * benchtests/slowatan-inputs: New file.
16971 * benchtests/slowatan.c: New file.
16972
c871eccd
SP
16973 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16975 its value.
16976
d755bba4
SP
16977 [BZ #15305]
16978 * sysdeps/unix/sysv/linux/kernel-features.h
16979 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16980 __ASSUME_XFS_RESTRICTED_CHOWN.
16981 * sysdeps/unix/sysv/linux/pathconf.c
16982 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16983 Save and restore errno.
16984
52ce4860
JM
169852013-04-02 Joseph Myers <joseph@codesourcery.com>
16986
16987 [BZ #15327]
16988 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16989 arguments using __kernel_casinh.
16990 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16991 arguments using __kernel_casinhf.
16992 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16993 arguments using __kernel_casinhl.
16994 * math/libm-test.inc (cacosh_test): Add more tests.
16995 * sysdeps/i386/fpu/libm-test-ulps: Update.
16996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16997
81f311c2
SP
169982013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16999
e7906a47
SP
17000 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17002
92e3664b
SP
17003 * bench/Makefile (bench): Add sin and slowsin.
17004 * benchtests/sin-inputs: New file.
17005 * benchtests/slowsin-inputs: New file.
17006 * benchtests/slowsin.c: New file.
17007
81f311c2
SP
17008 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17009 (bench): Add slowexp and slowpow.
17010 (exp-ITER): Increase iterations.
17011 (pow-ITER): Likewise.
17012 * benchtests/exp-inputs: Change input.
17013 * benchtests/pow-inputs: Likewise.
17014 * benchtests/slowexp-inputs: New file.
17015 * benchtests/slowexp.c: New file.
17016 * benchtests/slowpow-inputs: New file.
17017 * benchtests/slowpow.c: New file.
17018
ab0f1aa9
AZ
170192013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020
17021 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17022 instructions.
17023 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17024 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17025 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17026 * benchtests/Makefile: Add rint benchtest.
17027 * benchtests/rint-inputs: Input for rint benchtest.
17028
57267616
TS
170292013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17030
17031 * Versions.def (libm): Add GLIBC_2.18.
17032 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17033 hidden libm prototypes.
17034 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17035 * math/Makefile (libm-calls): Add s_issignaling.
17036 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17037 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17038 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17039 declaration.
17040 * math/math.h [__USE_GNU] (issignaling): New macro.
17041 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17042 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17047 * manual/arith.texi (issignaling): New section.
17048 * manual/libm-err-tab.pl (@all_functions): Update comment.
17049 * math/gen-libm-test.pl (parse_args): Apply special handling for
17050 issignaling.
17051 * math/libm-test.inc (print_float, issignaling_test): New
17052 functions.
17053 (check_float_internal): Add issignaling checks.
17054 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17055 default definition.
17056 * sysdeps/powerpc/math-tests.h: New file.
17057 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17058 tests.
17059 * math/test-snan.c (TEST_FUNC): Likewise.
17060
6142896d
DM
170612013-03-30 David S. Miller <davem@davemloft.net>
17062
17063 * po/de.po: Update from translation team.
17064
ccc8cadf
JM
170652013-03-30 Joseph Myers <joseph@codesourcery.com>
17066
17067 [BZ #10357]
17068 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17069 imaginary part less than 1.0 and real part less than 0.5
17070 specially.
17071 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17072 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17073 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17074 (cacos_test): Add more tests.
17075 (casin_test): Likewise.
17076 (casinh_test): Likewise.
17077 * sysdeps/i386/fpu/libm-test-ulps: Update.
17078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17079
0f6a8d4b
SP
170802013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17081
0d1029de
SP
17082 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17083 ONE with its value.
17084
c2d94018
SP
17085 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17086 (__pow_mp): Replace ONE and MONE with their values.
17087 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17089 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17090 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17091 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17092 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17093
27ec37f1
SP
17094 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17095
a64d7e0e
SP
17096 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17097 (__pow_mp): Replace ZERO and MZERO with their values.
17098 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17100 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17102 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17103 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17104 (__sqr): Likewise.
17105
d26dd3eb
SP
17106 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17107
0f6a8d4b
SP
17108 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17109
e57b0c61
RM
171102013-03-28 Roland McGrath <roland@hack.frob.com>
17111
17112 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17113 Declare with __attribute__ ((weak)).
17114 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17115 Call __call_tls_dtors only if it's not NULL.
17116
356b3480
RM
171172013-03-28 Roland McGrath <roland@hack.frob.com>
17118
288f7d79
RM
17119 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17120 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17121 magic __ehdr_start linker symbol if it's defined.
17122 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17123 them up here if it was already done.
17124
dc0a0263
RM
17125 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17126 (_dl_aux_init): Use const in cast when setting it.
17127 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17128 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17129 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17130
3d3436ae
RM
17131 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17132 Declare them here.
17133 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17134 * csu/libc-tls.c: Nor here.
17135 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17136
356b3480
RM
17137 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17138 (__libc_message): Never call vsyslog.
17139
b0f1246a
AM
171402013-03-28 Alan Modra <amodra@gmail.com>
17141
17142 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17143 Define as empty.
17144 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17145 Likewise.
17146
fbbe2b9a
AZ
171472013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17148
17149 [BZ #15214]
17150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17151 underflow.
17152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17153
1728ab37
SP
171542013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17155
7a86be6e
SP
17156 [BZ #15304]
17157 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17158 Don't add gid passed as argument.
17159
1728ab37
SP
17160 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17161
3a7182a1
JM
171622013-03-27 Joseph Myers <joseph@codesourcery.com>
17163
17164 [BZ #15307]
17165 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17166 imaginary part between 1.0 and 1.5 and real part less than 0.5
17167 specially.
17168 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17169 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17170 * math/libm-test.inc (cacos_test): Add more tests.
17171 (casin_test): Likewise.
17172 (casinh_test): Likewise.
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175
6f2e90e7
SP
171762013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17177
5739f705
SP
17178 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17179 constants.
17180 (norm): Likewise.
17181 (denorm): Likewise.
17182 (__dbl_mp): Likewise.
17183 (add_magnitudes): Likewise.
17184 (sub_magnitudes): Likewise.
17185 (__add): Likewise.
17186 (__sub): Likewise.
17187 (__mul): Likewise.
17188 (__sqr): Likewise.
17189 (__inv): Likewise.
17190 (__dvd): Likewise.
17191
e375e83d
SP
17192 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17193 commented code.
17194 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17195 (__dubcos): Likewise.
17196 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17197 (__ieee754_acos): Likewise.
17198 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17200 (__exp1): Likewise.
17201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17203 (log1): Likewise.
17204 (my_log2): Likewise.
17205 (checkint): Likewise.
17206 * sysdeps/ieee754/dbl-64/e_remainder.c
17207 (__ieee754_remainder): Likewise.
17208 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17210 (bsloww): Likewise.
17211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17212
6f2e90e7
SP
17213 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17215 MANTISSA_STORE_T to store computations on mantissa. Use
17216 macros for rounding and division.
17217 (denorm): Likewise.
17218 (__dbl_mp): Likewise.
17219 (add_magnitudes): Likewise.
17220 (sub_magnitudes): Likewise.
17221 (__mul): Likewise.
17222 (__sqr): Likewise.
17223 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17224 powers of two in terms of TWOPOW macro.
17225 (mp_no): Make type of mantissa as MANTISSA_T.
17226 [!RADIXI]: Define RADIXI.
17227 [!TWO52]: Define TWO52.
17228 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17229
fce14d4e
AZ
172302013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17231
17232 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17233 llroundl symbol when building for PPC32.
17234
9ad027fb
MW
172352013-03-24 Mark H Weaver <mhw@netris.org>
17236
17237 * manual/arith.texi (Normalization Functions): Fix prototypes for
17238 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17239
e42a38dd
AZ
172402013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241
17242 [BZ #13889]
17243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17244 high value to check if expl overflow.
17245 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17246 to check for underflow and overflow.
17247 * math/libm-test.inc: Add exp test.
17248
2e0fb521
DL
172492013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17250
17251 [BZ #11120]
17252 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17253 with NOT_IN_libc.
17254
b5784d95
AZ
172552013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17256
17257 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17258 symbol.
17259
5aa4a1a1
TS
172602013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17261
bdef0be7
TS
17262 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17263 wrap blocks consisting of several statements.
17264
5aa4a1a1
TS
17265 * sysdeps/generic/math-tests.h: New file.
17266 * sysdeps/i386/fpu/math-tests.h: Likewise.
17267 * math/test-snan.c: Include it.
17268 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17269
98c48fe5
JM
172702013-03-21 Joseph Myers <joseph@codesourcery.com>
17271
17272 [BZ #15285]
17273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17274 (__ieee754_j0l): Do not improve calculations using cos of twice
17275 input for inputs above LDBL_MAX / 2.0L.
17276 (__ieee754_y0l): Likewise.
17277 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17278 (__ieee754_j1l): Do not improve calculations using cos of twice
17279 input for inputs above LDBL_MAX / 2.0L.
17280 (__ieee754_y1l): Likewise.
17281 * math/libm-test.inc (j0_test): Add another test.
17282 (j1_test): Likewise.
17283 (y0_test): Likewise.
17284 (y1_test): Likewise.
17285 * sysdeps/i386/fpu/libm-test-ulps: Update.
17286
3775a8bc
SP
172872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17288
17289 * Rules ($(objpfx)bench-%.c): Include code from a C source
17290 file.
17291
0a1b2ae6
JM
172922013-03-21 Joseph Myers <joseph@codesourcery.com>
17293
17294 [BZ #15287]
17295 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17296 imaginary part 1.0 and real part less than 0.5 specially.
17297 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17298 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17299 * math/libm-test.inc (cacos_test): Add more tests.
17300 (casin_test): Likewise.
17301 (casinh_test): Likewise.
17302 * sysdeps/i386/fpu/libm-test-ulps: Update.
17303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17304
b33d4ce4
SP
173052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17306
17307 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17308 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17309
bef0b507
JM
173102013-03-20 Joseph Myers <joseph@codesourcery.com>
17311
17312 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17313 * config.make.in (config-cflags-sse4): Remove variable.
17314 (config-cflags-avx): Likewise.
17315 (config-cflags-sse2avx): Likewise.
17316 (config-cflags-novzeroupper): Likewise.
17317 (config-asflags-i686): Likewise.
17318 (have-mfma4): Likewise.
17319 (have-as-vis3): Likewise.
17320 (MIG): Likewise.
17321 * configure.in (MIG): Do not AC_SUBST.
17322 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17323 (libc_cv_cc_sse4): Do not AC_SUBST.
17324 (libc_cv_cc_avx): Likewise.
17325 (libc_cv_cc_sse2avx): Likewise.
17326 (libc_cv_cc_novzeroupper): Likewise.
17327 (libc_cv_cc_fma4): Likewise.
17328 (libc_cv_as_i686): Likewise.
17329 (libc_cv_sparc_as_vis3): Likewise.
17330 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17331 LIBC_CONFIG_VAR.
17332 (config-asflags-i686): Likewise.
17333 (config-cflags-avx): Likewise.
17334 (config-cflags-sse2avx): Likewise.
17335 (have-mfma4): Likewise.
17336 (config-cflags-novzeroupper): Likewise.
17337 * sysdeps/mach/configure.in (MIG): Likewise.
17338 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17339 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17340 LIBC_CONFIG_VAR.
17341 (config-cflags-avx): Likewise.
17342 (config-cflags-sse2avx): Likewise.
17343 (have-mfma4): Likewise.
17344 (config-cflags-novzeroupper): Likewise.
17345 * configure: Regenerated.
17346 * sysdeps/i386/configure: Likewise.
17347 * sysdeps/mach/configure: Likewise.
17348 * sysdeps/sparc/configure: Likewise.
17349 * sysdeps/x86_64/configure: Likewise.
17350
912cc4b3
RM
173512013-03-20 Roland McGrath <roland@hack.frob.com>
17352
17353 [BZ #14812]
17354 * locale/programs/localedef.c (options): Put N_ translation marker
17355 on argument names, not just descriptions.
17356
04eed2b0
MS
173572013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17358
17359 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17360
a065ceff
OB
173612013-03-20 Ondřej Bílka <neleai@seznam.cz>
17362
9bb2a810 17363 [BZ #14176]
a065ceff
OB
17364 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17365
a600e5ce
RM
173662013-03-19 Roland McGrath <roland@hack.frob.com>
17367
17368 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17369 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17370 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17371 [!BEFORE_ABORT] (before_abort): New function.
17372 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17373 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17374 (writev_for_fatal): New function.
17375 (WRITEV_FOR_FATAL): New macro; call that.
17376 (backtrace_and_maps): New function.
17377 (BEFORE_ABORT): New macro; call that.
17378 (struct str_list): Type removed.
17379 (__libc_message, __libc_fatal): Functions removed.
17380 Include <sysdeps/posix/libc_fatal.c> instead.
17381
6b18bea6
JM
173822013-03-19 Joseph Myers <joseph@codesourcery.com>
17383
17384 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17385 constants.
17386 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17387 double constants.
17388
aaa8cb4b
AS
173892013-03-19 Andreas Schwab <schwab@suse.de>
17390
44673770
AS
17391 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17392 * sysdeps/gnu/configure: Regenerate.
17393
aaa8cb4b
AS
17394 * configure.in: Substitute libc_cv_rtlddir.
17395 * configure: Regenerate.
17396 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17397 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17398 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17399 * elf/Makefile (install-others, CFLAGS-interp.c)
17400 (ldso_install, common-ldd-rewrite): Likewise.
17401 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17402 $(inst_slibdir)/$(rtld-installed-name).
17403 * scripts/rellns-sh: Add -p option.
17404 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17405 for source.
17406
d3cfc668
SP
174072013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17408
17409 * manual/nptl.texi: Renamed to ...
17410 * manual/threads.texi: ... this.
17411 * manual/Makefile (chapters): Update.
17412
0e2b9cdd
RM
174132013-03-18 Roland McGrath <roland@hack.frob.com>
17414
17415 [BZ #14812]
17416 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17417 on argument names, not just descriptions.
0e2b9cdd
RM
17418 * malloc/memusagestat.c (options): Likewise.
17419 * nss/getent.c (options): Likewise.
63270c24
RM
17420
174212013-03-18 Benno Schulenberg <bensberg@justemail.net>
17422
17423 [BZ #14812]
17424 * iconv/iconv_prog.c (options): Put N_ translation marker
17425 on argument names, not just descriptions.
17426 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17427
b2e1393c
OB
174282013-03-18 Ondrej Bilka <neleai@seznam.cz>
17429
17430 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17431 implementation which is faster on all x86_64 architectures.
17432 Tested on AMD, Intel Nehalem, SNB, IVB.
17433 * sysdeps/x86_64/strnlen.S: Likewise.
17434
17435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17436 Remove all multiarch strlen and strnlen versions.
17437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17438 Remove strlen and strnlen related parts.
17439
17440 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17441 Inline strlen part.
17442 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17443
17444 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17445 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17446 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17447 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17448 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17449 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17450
ec4ff04d
CD
174512013-03-17 Carlos O'Donell <carlos@redhat.com>
17452
17453 * manual/memory.texi (Malloc Tunable Parameters):
17454 Sort parameters alphabetically. Add comments for missing entries.
17455
cd18e90a
DM
174562013-03-17 David S. Miller <davem@davemloft.net>
17457
17458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17459
2a185d32
JM
174602013-03-16 Joseph Myers <joseph@codesourcery.com>
17461
d2f9799e
JM
17462 [BZ #15283]
17463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17464 for arguments at most half maximum finite value.
17465 * math/libm-test.inc (j0_test): Add more tests.
17466 (j1_test): Likewise.
17467 (y0_test): Likewise.
17468 (y1_test): Likewise.
17469 * sysdeps/i386/fpu/libm-test-ulps: Update.
17470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17471
2a185d32
JM
17472 [BZ #14155]
17473 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17474 1 / x and functions P and Q for arguments above 0x1p256L.
17475 (__ieee754_y0l): Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17477 (__ieee754_y1l): Likewise.
17478 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17479 (j1_test): Likewise.
17480 (y0_test): Likewise.
17481 (y1_test): Likewise.
17482
6cbec759
TS
174832013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17484
17485 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17486 variable.
17487
bc16e260
RM
174882013-03-15 Roland McGrath <roland@hack.frob.com>
17489
aefc9b8c
RM
17490 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17491 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17492 zero since it's initialized to EXEC_PAGESIZE.
17493
bc16e260
RM
17494 * sysdeps/unix/sysv/linux/ldsodefs.h
17495 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17496 * sysdeps/generic/ldsodefs.h: ... here.
17497
a57da955
TS
174982013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17499
af00a34d
TS
17500 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17501
495ded2c
TS
17502 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17503 math/test-snan.c.
17504 * math/test-snan.c: Renamed from
17505 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17506 * math/Makefile (tests): Add test-snan.
17507 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17508 test-powerpc-snan.
17509
777b0332
TS
17510 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17511 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17512 functions.
17513 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17514 __builtin_nan family of functions.
17515 * math/libm-test.inc (initialize): Initialize qnan_value with
17516 __builtin_nan family of functions.
17517 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17518 Remove variables.
17519 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17520 Remove functions.
17521 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17522 storage class. Initialize qNaN_var and sNaN_var with
17523 __builtin_nan and __builtin_nans families of functions,
17524 respectively.
17525
64d063b8
TS
17526 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17527 (sqrt_test): Remove duplicate test with qNaN input.
17528 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17529 (round_test, signbit_test, significand_test): Note missing +/-Inf
17530 as well as qNaN tests.
17531
67e971f1
TS
17532 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17533 qNaN_var. Fix a few strings, too.
17534 * math/libm-test.inc (nan_value): Rename to qnan_value.
17535 * math/gen-libm-test.pl (%beautify): Adjust to that.
17536 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17537 * math/test-misc.c (main): Likewise.
17538 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17539 to __qnan_bytes, and __qnan_union, respectively.
17540 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17541 Likewise.
17542 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17543 and lqnanval, respectively.
17544 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17545 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17546 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17547 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17548
64487e12
TS
17549 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17550 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17551 doubles.
17552
e015e27b
TS
17553 * math/test-misc.c (main): Fix copy'n'pastos.
17554 * misc/tst-efgcvt.c (special): Likewise.
17555
a57da955
TS
17556 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17557 Remove declarations.
17558
1e380345
SP
175592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17560
17561 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17562 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17563 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17564 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17565
ef26eece
AZ
175662013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17567
17568 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17569 macro to return vdso values correctly in IFUNC implementations.
17570 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17571 Optimization by using IFUNC.
17572
8cfdb7e0
SP
175732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17574 Richard Henderson <rth@redhat.com>
17575 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17576
17577 * Makefile.in (bench): New target.
17578 * NEWS: Mention the benchmark framework.
17579 * Rules (bench): Likewise.
17580 (binaries-bench): Generate binaries for functions to
17581 benchmark.
17582 * benchtests/Makefile: New makefile for benchmark tests.
17583 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17584 programs.
17585 * benchtests/exp-inputs: New input file for EXP function.
17586 * benchtests/pow-inputs: New input file for POW function.
17587 * scripts/bench.pl: New script to generate source files for
17588 benchmark programs.
17589
bcda9880
SP
175902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17591
d22ca8cd
SP
17592 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17593 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17594 computations on mantissa. Use macros for rounding and
17595 division.
17596 (denorm): Likewise.
17597 (__dbl_mp): Likewise.
17598 (add_magnitudes): Likewise.
17599 (sub_magnitudes): Likewise.
17600 (__mul): Likewise.
17601 (__sqr): Likewise.
17602 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17603 powers of two in terms of TWOPOW macro.
17604 (mp_no): Make type of mantissa as MANTISSA_T.
17605 [!RADIXI]: Define RADIXI.
17606 [!TWO52]: Define TWO52.
17607 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17608
bcda9880
SP
17609 * manual/nptl.texi (cindex): Modify threads to pthreads.
17610
06d5adfb
JM
176112013-03-15 Joseph Myers <joseph@codesourcery.com>
17612
17613 * sysdeps/x86_64/preconfigure: Regenerated.
17614
41c7328e
JM
176152013-03-14 Joseph Myers <joseph@codesourcery.com>
17616
17617 [BZ #14155]
17618 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17619 0x1p28 and above.
17620 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17621 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17622 0x1p28 and above.
17623 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17624 * math/libm-test.inc (j0_test): Do not allow one spurious
17625 underflow exception.
17626 (y1_test): Likewise.
17627
e25cfa60
SP
176282013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17629
0409959c
SP
17630 * manual/Makefile (chapters): Add nptl.
17631 * manual/debug.texi (Debugging Support): Add link to Threads
17632 chapter.
17633 * manual/nptl.texi: New file.
17634
e25cfa60
SP
17635 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17636
58a1335e
PB
176372013-03-14 Petr Baudis <pasky@ucw.cz>
17638
17639 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17640 for non-NULL pointer before the memory validity test. Pointed
17641 out by Holger Brunck <holger.brunck@keymile.com>.
17642
9dc7c64f
AS
176432013-03-13 Andreas Schwab <schwab@suse.de>
17644
17645 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17646 instead of .os.
17647
54206aa6
JM
176482013-03-13 Joseph Myers <joseph@codesourcery.com>
17649
17650 * timezone/zic.c: Update from tzcode 2013b.
17651
e98cdb38
CD
176522013-03-12 Carlos O'Donell <carlos@redhat.com>
17653
17654 * manual/install.texi (Configuring and compiling):
17655 Mention i686 and i586.
17656 * INSTALL: Regenerate.
17657
9967e003
RM
176582013-03-12 Roland McGrath <roland@hack.frob.com>
17659
17660 * sysdeps/init_array/elf-init.c: New file.
17661 * csu/elf-init.c
17662 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17663 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17664
17665 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17666 __gmon_start__ as global, but as static with a .preinit_array pointer.
17667 * sysdeps/init_array/gmon-start.c: New file. Use that.
17668 * sysdeps/init_array/crti.S: New file, empty except for comments.
17669 * sysdeps/init_array/crtn.S: Likewise.
17670
e6b5a293 176712013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17672
17673 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17674 definining bcopy.
80f844c9
OB
17675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17676 Remove Prefer_SSE_for_memop.
17677 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17678 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17679 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17681 memset-x86-64.
80f844c9 17682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17683 Remove bzero, memset ifunc support.
80f844c9
OB
17684 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17685 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17686 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17687 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17688
fb6b0fcb
AS
176892013-03-11 Andreas Schwab <schwab@suse.de>
17690
17691 [BZ #15234]
17692 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17693 by SHLIB_COMPAT.
17694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17695 (GLIBC_2.16): Remove pthread_atfork.
17696
3e6bd4b1
PP
176972013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17698
17699 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17700 (ptestcases.h): Likewise.
17701
222d7f00
RM
177022013-03-08 Roland McGrath <roland@hack.frob.com>
17703
17704 * Makeconfig ($(common-objpfx)config.status): Depend on
17705 sysdeps/*/preconfigure{,.in} too.
17706
1ba4f030
JM
177072013-03-08 Joseph Myers <joseph@codesourcery.com>
17708
a222d91a
JM
17709 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17710 (__free_hook): Use void * instead of __malloc_ptr_t.
17711 (__malloc_hook): Likewise.
17712 (__realloc_hook): Likewise.
17713 (__memalign_hook): Likewise.
17714 (__after_morecore_hook): Likewise.
17715 * malloc/arena.c (save_malloc_hook): Likewise.
17716 (save_free_hook): Likewise.
17717 * malloc/hooks.c (malloc_hook_ini): Likewise.
17718 (realloc_hook_ini): Likewise.
17719 (memalign_hook_ini): Likewise.
17720 * malloc/malloc.c (malloc_hook_ini): Likewise.
17721 (realloc_hook_ini): Likewise.
17722 (memalign_hook_ini): Likewise.
17723 (__free_hook): Likewise.
17724 (__malloc_hook): Likewise.
17725 (__realloc_hook): Likewise.
17726 (__memalign_hook): Likewise.
17727 (__libc_malloc): Likewise.
17728 (__libc_free): Likewise.
17729 (__libc_realloc): Likewise.
17730 (__libc_memalign): Likewise.
17731 (__libc_valloc): Likewise.
17732 (__libc_pvalloc): Likewise.
17733 (__libc_calloc): Likewise.
17734 (__posix_memalign): Likewise.
17735 * malloc/morecore.c (__sbrk): Likewise.
17736 (__default_morecore): Likewise.
17737
5cc45e10
JM
17738 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17739
dd54b864
JM
17740 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17741 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17742 __malloc_ptrdiff_t.
17743
1ba4f030
JM
17744 * malloc/malloc.h (__malloc_size_t): Remove macro.
17745 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17746 __malloc_size_t.
17747 (old_memalign_hook): Likewise.
17748 (old_realloc_hook): Likewise.
17749 (struct hdr): Likewise.
17750 (flood): Likewise.
17751 (mallochook): Likewise.
17752 (memalignhook): Likewise.
17753 (reallochook): Likewise.
17754 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17755 (tr_old_realloc_hook): Likewise.
17756 (tr_old_memalign_hook): Likewise.
17757 (tr_mallochook): Likewise.
17758 (tr_reallochook): Likewise.
17759 (tr_memalignhook): Likewise.
17760
edf66e57
AZ
177612013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17762
17763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17764 default_ldbl_pack and using as default implementation.
17765 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17766 implementation.
17767 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17768 redundant definition.
17769 (ldbl_insert_mantissa): Likewise.
17770 (ldbl_canonicalize): Likewise.
17771 (ldbl_nearbyint): Likewise.
17772 (ldbl_pack): Rename to ldbl_pack_ppc.
17773 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17774 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17775 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17776
6d9145d8
SP
177772013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17780 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17781 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17782 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17784 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17785 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17786 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17787
4dd4e157
AJ
177882013-03-07 Andreas Jaeger <aj@suse.de>
17789
17790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17791 bits/mman-linux.h.
17792
adbb8027
SP
177932013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17794
ce544b5b
SP
17795 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17796 Include mpa.h and declare __MPEXP.
17797 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17798 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17799 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17800 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17801 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17802 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17803 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17804
4cc149fd
SP
17805 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17806 (__slowpow): Use long double EXPL and LOGL functions to
17807 compute POW.
17808 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17809 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17812 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17813 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17814
e6ebd4a7
SP
17815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17816 intermediate variable to calculate exponent.
17817 (__sqr): Likewise.
17818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17819 Likewise.
17820 (__sqr): Likewise.
17821
82a9811d
SP
17822 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17823 [!NO__SQR]: Define __sqr.
17824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17825 and NO__SQR. Remove all code except __mul and __sqr. Include
17826 sysdeps/ieee754/dbl-64/mpa.c.
17827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17828
adbb8027
SP
17829 [BZ #12723]
17830 * posix/Makefile (tests): Add tst-pathconf.
17831 * posix/tst-pathconf.c: New test case.
17832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17833 _PC_PIPE_BUF.
17834 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17835
39120df9
PF
178362013-03-06 Patsy Franklin <pfrankli@redhat.com>
17837
17838 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17839
67525cb8
AJ
178402013-03-06 Andreas Jaeger <aj@suse.de>
17841
664a9ce4
AJ
17842 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17843 definition via __MAP_ANONYMOUS.
17844
8e39047d
AJ
17845 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17846 it's not part of Linux headers.
17847
67525cb8
AJ
17848 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17849 (MAP_HUGE_MASK): Define.
17850
17851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17852 Define.
17853 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17854 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17855 Define.
17856 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17857 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17858 Define.
17859 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17860 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17861 Define.
17862 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17863
17864 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17865 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17866 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17867 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17868 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17869 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17870
17871 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17872 Handle f2fs.
17873
17874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17875 Handle f2fs and efivarfs.
17876
17877 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17878 f2fs.
17879
17880 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17881 (EFIVARFS_MAGIC): Add.
17882 (F2FS_LINK_MAX): Add.
17883
e1b42695
PP
178842013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17885
17886 * stdio-common/vfprintf.c: Replace __builtin_expect with
17887 __glibc_unlikely.
17888
2d67d91a
JM
178892013-03-06 Joseph Myers <joseph@codesourcery.com>
17890
17891 [BZ #13550]
17892 * sysdeps/generic/bp-sym.h: Remove file.
17893 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17894 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17895 <bp-sym.h> and <bp-asm.h>.
17896 (__longjmp): Don't use BP_SYM.
17897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17898 and <bp-asm.h>.
17899 (memcpy): Don't use BP_SYM.
17900 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17901 <bp-sym.h> and <bp-asm.h>.
17902 (memcpy): Don't use BP_SYM.
17903 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17904 <bp-asm.h>.
17905 (memcpy): Don't use BP_SYM.
17906 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17907 <bp-asm.h>.
17908 (memset): Don't use BP_SYM.
17909 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17910 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17911 (__bzero): Don't use BP_SYM.
17912 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17913 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17914 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17915 <bp-sym.h> and <bp-asm.h>.
17916 (memcmp): Don't use BP_SYM. Remove comment about bounded
17917 pointers.
17918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17919 <bp-sym.h> and <bp-asm.h>.
17920 (memcpy): Don't use BP_SYM.
17921 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17922 <bp-sym.h> and <bp-asm.h>.
17923 (memset): Don't use BP_SYM.
17924 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17925 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17926 (__bzero): Don't use BP_SYM.
17927 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17928 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17930 <bp-sym.h> and <bp-asm.h>.
17931 (strncmp): Don't use BP_SYM. Remove comment about bounded
17932 pointers.
17933 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17934 <bp-sym.h> and <bp-asm.h>.
17935 (memcpy): Don't use BP_SYM.
17936 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17937 <bp-sym.h> and <bp-asm.h>.
17938 (memset): Don't use BP_SYM.
17939 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17940 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17941 (__bzero): Don't use BP_SYM.
17942 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17943 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17944 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17945 <bp-sym.h> and <bp-asm.h>.
17946 (__memchr): Don't use BP_SYM.
17947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17948 <bp-sym.h> and <bp-asm.h>.
17949 (memcmp): Don't use BP_SYM. Remove comment about bounded
17950 pointers.
17951 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17952 <bp-sym.h> and <bp-asm.h>.
17953 (memcpy): Don't use BP_SYM.
17954 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17955 <bp-sym.h> and <bp-asm.h>.
17956 (__mempcpy): Don't use BP_SYM.
17957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17958 <bp-sym.h> and <bp-asm.h>.
17959 (__memrchr): Don't use BP_SYM.
17960 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17961 <bp-sym.h> and <bp-asm.h>.
17962 (memset): Don't use BP_SYM.
17963 (__bzero): Likewise.
17964 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17965 <bp-sym.h> and <bp-asm.h>.
17966 (__rawmemchr): Don't use BP_SYM.
17967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17968 <bp-sym.h> and <bp-asm.h>.
17969 (__STRCMP): Don't use BP_SYM.
17970 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17971 <bp-sym.h> and <bp-asm.h>.
17972 (strchr): Don't use BP_SYM.
17973 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17974 <bp-sym.h> and <bp-asm.h>.
17975 (__strchrnul): Don't use BP_SYM.
17976 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17977 <bp-sym.h> and <bp-asm.h>.
17978 (strlen): Don't use BP_SYM.
17979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17980 <bp-sym.h> and <bp-asm.h>.
17981 (strncmp): Don't use BP_SYM. Remove comment about bounded
17982 pointers.
17983 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17984 <bp-sym.h> and <bp-asm.h>.
17985 (__strnlen): Don't use BP_SYM.
17986 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17987 <bp-sym.h> and <bp-asm.h>.
17988 (__GI__setjmp): Don't use BP_SYM.
17989 (_setjmp): Likewise.
17990 (__sigsetjmp): Likewise.
17991 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17992 (L(start_addresses)): Don't use BP_SYM.
17993 (_start): Likewise.
17994 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17995 <bp-asm.h>.
17996 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17997 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17998 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17999 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18000 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18001 <bp-asm.h>.
18002 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18003 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18004 about bounded pointers.
18005 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18006 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18007 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18008 <bp-asm.h>.
18009 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18010 about bounded pointers. Remove GKM FIXME comments.
18011 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18012 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18013 <bp-asm.h>.
18014 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18015 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18016 Remove GKM FIXME comments.
18017 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18018 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18019 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18020 <bp-asm.h>.
18021 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18022 about bounded pointers. Remove GKM FIXME comment.
18023 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18024 and <bp-asm.h>.
18025 (strncmp): Don't use BP_SYM. Remove comment about bounded
18026 pointers.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18028 <bp-sym.h> and <bp-asm.h>.
18029 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18031 <bp-sym.h> and <bp-asm.h>.
18032 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18033 comment.
18034
cdcf361f
PP
180352013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18036
18037 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18038 call free(NULL).
18039
3c4a2b15
DM
180402013-03-05 David S. Miller <davem@davemloft.net>
18041
18042 * po/es.po: Update from translation team.
18043
cdcf361f 180442013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18045
18046 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18047 <bits/mman-linux.h>.
18048 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18049 is fine.
18050 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18051 <bits/mman-linux.h> to end of file.
18052 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18053 is fine.
18054 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18055 <bits/mman-linux.h> to end of file.
18056 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18057 is fine.
18058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18059 <bits/mman-linux.h> to end of file.
18060
18061 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18062 (MCL_CURRENT, MCL_FUTURE): Define here.
18063
5f67c04f
AK
180642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18065
8a4473cc 18066 [BZ #15232]
5f67c04f
AK
18067 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18068 attribute_hidden.
18069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18070
c3e94a95
AK
180712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18072
18073 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18074 fourth parameter needed for rt_sigprocmask syscall.
18075 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18076 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18077 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18078 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18079 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18080 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18081
cfb6382a
JM
180822013-03-04 Joseph Myers <joseph@codesourcery.com>
18083
18084 [BZ #13550]
18085 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18086 comment about bounded pointers.
18087 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18088 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18089
539d8e01
AJ
180902013-03-04 Andreas Jaeger <aj@suse.de>
18091
18092 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18093 common definitions.
18094
18095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18096 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18097 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18101
2e167a70 181022013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18103
18104 [BZ #15055]
18105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18106 __ieee754_sqrl instead of __sqrl.
18107
68508633
JM
181082013-03-01 Joseph Myers <joseph@codesourcery.com>
18109
18110 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18111 * sysdeps/powerpc/fpu_control.h: ... here.
18112 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18113 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18114 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18115 * sysdeps/powerpc/bits/mathinline.h: ... here.
18116
7775448e
RM
181172013-03-01 Roland McGrath <roland@hack.frob.com>
18118
18119 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18120 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18121 to just [NEED_DL_SYSINFO_DSO].
18122 * elf/dl-support.c: Likewise.
18123 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18124 * elf/rtld.c (dl_main): Likewise.
18125 * elf/setup-vdso.h (setup_vdso): Likewise.
18126 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18127 * sysdeps/unix/sysv/linux/dl-sysdep.c
18128 (_dl_discover_osversion): Likewise.
18129
4e9b5995
CD
181302013-03-01 Carlos O'Donell <carlos@redhat.com>
18131
18132 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18133 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18134
e23872c8
SP
181352013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18136
e5c74c63
SP
18137 * NEWS: Mention libm performance improvements and non-x86 PI
18138 futex support.
18139
e23872c8
SP
18140 * csu/libc-start.c (__pthread_initialize_minimal): Change
18141 function arguments.
18142 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18143
b5510883
JM
181442013-02-28 Joseph Myers <joseph@codesourcery.com>
18145
18146 [BZ #13550]
18147 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18148 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18149 <bp-sym.h> and <bp-asm.h>.
18150 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18151 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18152 and <bp-asm.h>.
18153 (memcpy): Don't use BP_SYM.
18154 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18155 <bp-asm.h>.
18156 (__mpn_add_n): Don't use BP_SYM.
18157 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18158 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18159 and <bp-asm.h>.
18160 (__mpn_addmul_1): Don't use BP_SYM.
18161 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18162 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18163 <bp-sym.h>.
18164 (_setjmp): Don't use BP_SYM.
18165 (__novmx_setjmp): Likewise.
18166 (__GI__setjmp): Likewise.
18167 (__vmx_setjmp): Likewise.
18168 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18169 <bp-sym.h>.
18170 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18171 (__bzero): Don't use BP_SYM.
18172 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18173 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18174 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18175 <bp-sym.h> and <bp-asm.h>.
18176 (memcpy): Don't use BP_SYM.
18177 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18178 <bp-sym.h> and <bp-asm.h>.
18179 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18181 <bp-sym.h> and <bp-asm.h>.
18182 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18183 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18184 <bp-asm.h>.
18185 (__mpn_lshift): Don't use BP_SYM.
18186 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18187 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18188 <bp-asm.h>.
18189 (memset): Don't use BP_SYM.
18190 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18191 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18192 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18193 <bp-asm.h>.
18194 (__mpn_mul_1): Don't use BP_SYM.
18195 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18197 <bp-sym.h> and <bp-asm.h>.
18198 (memcmp): Don't use BP_SYM.
18199 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18200 <bp-sym.h> and <bp-asm.h>.
18201 (memcpy): Don't use BP_SYM.
18202 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18203 <bp-sym.h> and <bp-asm.h>.
18204 (memset): Don't use BP_SYM.
18205 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18206 <bp-sym.h> and <bp-asm.h>.
18207 (strncmp): Don't use BP_SYM.
18208 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18209 <bp-sym.h> and <bp-asm.h>.
18210 (memcpy): Don't use BP_SYM.
18211 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18212 <bp-sym.h> and <bp-asm.h>.
18213 (memset): Don't use BP_SYM.
18214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18215 <bp-sym.h> and <bp-asm.h>.
18216 (__memchr): Don't use BP_SYM.
18217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18218 <bp-sym.h> and <bp-asm.h>.
18219 (memcmp): Don't use BP_SYM.
18220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18221 <bp-sym.h> and <bp-asm.h>.
18222 (memcpy): Don't use BP_SYM.
18223 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18224 <bp-sym.h> and <bp-asm.h>.
18225 (__mempcpy): Don't use BP_SYM.
18226 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18227 <bp-sym.h> and <bp-asm.h>.
18228 (__memrchr): Don't use BP_SYM.
18229 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18230 <bp-sym.h> and <bp-asm.h>.
18231 (memset): Don't use BP_SYM.
18232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18233 <bp-sym.h> and <bp-asm.h>.
18234 (__rawmemchr): Don't use BP_SYM.
18235 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18236 <bp-sym.h> and <bp-asm.h>.
18237 (__STRCMP): Don't use BP_SYM.
18238 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18239 <bp-sym.h> and <bp-asm.h>.
18240 (strchr): Don't use BP_SYM.
18241 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18242 <bp-sym.h> and <bp-asm.h>.
18243 (__strchrnul): Don't use BP_SYM.
18244 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18245 <bp-sym.h> and <bp-asm.h>.
18246 (strlen): Don't use BP_SYM.
18247 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18248 <bp-sym.h> and <bp-asm.h>.
18249 (strncmp): Don't use BP_SYM.
18250 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18251 <bp-sym.h> and <bp-asm.h>.
18252 (__strnlen): Don't use BP_SYM.
18253 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18254 <bp-asm.h>.
18255 (__mpn_rshift): Don't use BP_SYM.
18256 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18257 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18258 <bp-sym.h> and <bp-asm.h>.
18259 (__sigsetjmp): Don't use BP_SYM.
18260 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18261 (L(start_addresses)): Don't use BP_SYM.
18262 (_start): Likewise.
18263 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18264 <bp-asm.h>.
18265 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18266 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18267 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18268 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18269 <bp-asm.h>.
18270 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18271 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18272 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18273 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18274 <bp-asm.h>.
18275 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18276 comments.
18277 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18278 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18279 <bp-asm.h>.
18280 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18281 FIXME comments.
18282 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18283 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18284 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18285 <bp-asm.h>.
18286 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18287 comment.
18288 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18289 and <bp-asm.h>.
18290 (strncmp): Don't use BP_SYM,
18291 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18292 <bp-asm.h>.
18293 (__mpn_sub_n): Don't use BP_SYM.
18294 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18295 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18296 and <bp-asm.h>.
18297 (__mpn_submul_1): Don't use BP_SYM.
18298 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18300 <bp-sym.h> and <bp-asm.h>.
18301 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18303 <bp-sym.h> and <bp-asm.h>.
18304 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18305 comment.
18306
8d19fe64
SP
183072013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18308
18309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18310 Use ZK to minimize writes to Z.
18311 (sub_magnitudes): Simplify code a bit.
18312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18313 Use ZK to minimize writes to Z.
18314 (sub_magnitudes): Simplify code a bit.
18315
85bd816a
RM
183162013-02-27 Roland McGrath <roland@hack.frob.com>
18317
18318 * csu/gmon-start.c: Add special exception to license text.
18319
b5977bf2
RH
183202013-02-27 Richard Henderson <rth@redhat.com>
18321
18322 * scripts/config.guess: Update from config.git.
18323 * scripts/config.sub: Likewise.
18324
11d6e2f2
SP
183252013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18326
09c14ed2
SP
18327 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18328
a688864e
SP
18329 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18330
6295157a
SP
18331 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18332
b8de2202
SP
18333 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18334
11d6e2f2
SP
18335 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18336
7e80ddb8
RM
183372013-02-26 Roland McGrath <roland@hack.frob.com>
18338
18339 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18340 [$(build-shared = yes].
7e80ddb8 18341
7da6d9ed
SP
183422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18343
45f05884
SP
18344 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18345 (__mul): Reduce iterations for calculating mantissa.
18346
2236d359
SP
18347 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18348 MPTWO.
18349 (__mpranred): Likewise.
18350
7da6d9ed
SP
18351 [BZ #15160]
18352 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18353 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18354
b7688c42
PE
183552013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18356
18357 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18358 Define __attribute__.
18359
53a5c423
SP
183602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
18362 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18363 unused.
18364 * posix/regex_internal.h (__attribute): Remove.
18365 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18366 (re_string_context_at): Likewise.
18367 (bitset_not): Use __attribute__ and mark function as possibly
18368 unused.
18369 (bitset_merge): Likewise.
18370 (bitset_mask): Likewise.
18371 (re_string_char_size_at): Likewise.
18372 (re_string_wchar_at): Likewise.
18373 (re_string_elem_size_at): Likewise.
18374
60f5a8b5
SP
183752013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18376
2a983a2e
SP
18377 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18378 code.
18379 (cc32): Likewise.
18380
e69804d1
SP
18381 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18382 (__acr): Likewise.
18383 (__cpy): Likewise.
18384 (norm): Likewise.
18385 (denorm): Likewise.
18386 (__dbl_mp): Likewise.
18387 (add_magnitudes): Likewise.
18388 (sub_magnitudes): Likewise.
18389 (__mul): Likewise.
18390 (__inv): Likewise.
18391
2f22a1e8
SP
18392 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18393 style.
18394
8930ddc7
SP
18395 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18396 style.
18397
dc60cb11
SP
18398 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18399 code.
18400
60f5a8b5
SP
18401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18402 up changes with default code.
18403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18404 Likewise.
18405
b4d1fd33
AM
184062013-02-24 Allan McRae <allan@archlinux.org>
18407
faf6f8bc
AM
18408 * manual/socket.texi (The Internet Namespace): Order menu items
18409 to match that in the file.
18410
b4d1fd33
AM
18411 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18412 node listing of the info page menu.
18413
2366713d
JM
184142013-02-21 Joseph Myers <joseph@codesourcery.com>
18415
18416 [BZ #13550]
18417 * sysdeps/i386/bp-asm.h: Remove file.
18418 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18419 (PARMS): Do not use macros from bp-asm.h.
18420 (S1): Likewise.
18421 (S2): Likewise.
18422 (SIZE): Likewise.
18423 (__mpn_add_n): Do not use BP_SYM
18424 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18425 "bp-asm.h".
18426 (PARMS): Do not use macros from bp-asm.h.
18427 (S1): Likewise.
18428 (SIZE): Likewise.
18429 (__mpn_addmul_1): Do not use BP_SYM
18430 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18431 "bp-asm.h".
18432 (PARMS): Do not use macros from bp-asm.h.
18433 (SIGMSK): Likewise.
18434 (_setjmp): Likewise. Do not use BP_SYM.
18435 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18436 "bp-asm.h".
18437 (PARMS): Do not use macros from bp-asm.h.
18438 (SIGMSK): Likewise.
18439 (setjmp): Likewise. Do not use BP_SYM.
18440 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18441 "bp-asm.h".
18442 (PARMS): Do not use macros from bp-asm.h.
18443 (__frexp): Do not use BP_SYM.
18444 (frexp): Likewise.
18445 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18446 "bp-asm.h".
18447 (PARMS): Do not use macros from bp-asm.h.
18448 (__frexpf): Do not use BP_SYM.
18449 (frexpf): Likewise.
18450 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18451 "bp-asm.h".
18452 (PARMS): Do not use macros from bp-asm.h.
18453 (__frexpl): Do not use BP_SYM.
18454 (frexpl): Likewise.
18455 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18456 "bp-asm.h".
18457 (PARMS): Do not use macros from bp-asm.h.
18458 (__remquo): Do not use BP_SYM.
18459 (remquo): Likewise.
18460 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18461 "bp-asm.h".
18462 (PARMS): Do not use macros from bp-asm.h.
18463 (__remquof): Do not use BP_SYM.
18464 (remquof): Likewise.
18465 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18466 "bp-asm.h".
18467 (PARMS): Do not use macros from bp-asm.h.
18468 (__remquol): Do not use BP_SYM.
18469 (remquol): Likewise.
18470 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18471 "bp-asm.h".
18472 (PARMS): Do not use macros from bp-asm.h.
18473 (DEST): Likewise.
18474 (SRC): Likewise.
18475 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18476 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18477 "bp-asm.h".
18478 (PARMS): Do not use macros from bp-asm.h.
18479 (strlen): Do not use BP_SYM.
18480 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18481 "bp-asm.h".
18482 (PARMS): Do not use macros from bp-asm.h.
18483 (S1): Likewise.
18484 (S2): Likewise.
18485 (SIZE): Likewise.
18486 (__mpn_add_n): Do not use BP_SYM.
18487 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18488 "bp-asm.h".
18489 (PARMS): Do not use macros from bp-asm.h.
18490 (S1): Likewise.
18491 (SIZE): Likewise.
18492 (__mpn_addmul_1): Do not use BP_SYM.
18493 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18494 weak_alias.
18495 (bzero): Likewise.
18496 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18497 "bp-asm.h".
18498 (PARMS): Do not use macros from bp-asm.h.
18499 (S): Likewise.
18500 (SIZE): Likewise.
18501 (__mpn_lshift): Do not use BP_SYM.
18502 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18503 "bp-asm.h".
18504 (PARMS): Do not use macros from bp-asm.h.
18505 (DEST): Likewise.
18506 (SRC): Likewise.
18507 (LEN): Likewise.
18508 (memcpy): Likewise. Do not use BP_SYM.
18509 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18510 libc_hidden_def and weak_alias.
18511 (mempcpy): Do not use BP_SYM in weak_alias.
18512 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18513 "bp-asm.h".
18514 (PARMS): Do not use macros from bp-asm.h.
18515 (DEST): Likewise.
18516 (LEN): Likewise.
18517 [!BZERO_P] (CHR): Likewise.
18518 (memset): Likewise. Do not use BP_SYM.
18519 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18520 "bp-asm.h".
18521 (PARMS): Do not use macros from bp-asm.h.
18522 (S1): Likewise.
18523 (SIZE): Likewise.
18524 (__mpn_mul_1): Do not use BP_SYM.
18525 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18526 "bp-asm.h".
18527 (PARMS): Do not use macros from bp-asm.h.
18528 (S): Likewise.
18529 (SIZE): Likewise.
18530 (__mpn_rshift): Do not use BP_SYM.
18531 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18532 "bp-asm.h".
18533 (PARMS): Do not use macros from bp-asm.h.
18534 (STR): Likewise.
18535 (CHR): Likewise.
18536 (strchr): Likewise. Do not use BP_SYM.
18537 (index): Do not use BP_SYM in weak_alias.
18538 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18539 "bp-asm.h".
18540 (PARMS): Do not use macros from bp-asm.h.
18541 (DEST): Likewise.
18542 (SRC): Likewise.
18543 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18544 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18545 "bp-asm.h".
18546 (PARMS): Do not use macros from bp-asm.h.
18547 (strlen): Do not use BP_SYM.
18548 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18549 "bp-asm.h".
18550 (PARMS): Do not use macros from bp-asm.h.
18551 (S1): Likewise.
18552 (S2): Likewise.
18553 (SIZE): Likewise.
18554 (__mpn_sub_n): Do not use BP_SYM.
18555 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18556 "bp-asm.h".
18557 (PARMS): Do not use macros from bp-asm.h.
18558 (S1): Likewise.
18559 (SIZE): Likewise.
18560 (__mpn_submul_1): Do not use BP_SYM.
18561 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18562 "bp-asm.h".
18563 (PARMS): Do not use macros from bp-asm.h.
18564 (S1): Likewise.
18565 (S2): Likewise.
18566 (SIZE): Likewise.
18567 (__mpn_add_n): Do not use BP_SYM.
18568 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18569 weak_alias.
18570 (bzero): Likewise.
18571 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18572 "bp-asm.h".
18573 (PARMS): Do not use macros from bp-asm.h.
18574 (BLK2): Likewise.
18575 (LEN): Likewise.
18576 (memcmp): Do not use BP_SYM.
18577 (bcmp): Do not use BP_SYM in weak_alias.
18578 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18579 "bp-asm.h".
18580 (PARMS): Do not use macros from bp-asm.h.
18581 (DEST): Likewise.
18582 (SRC): Likewise.
18583 (LEN): Likewise.
18584 (memcpy): Likewise. Do not use BP_SYM.
18585 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18586 "bp-asm.h".
18587 (PARMS): Do not use macros from bp-asm.h.
18588 (DEST): Likewise.
18589 (SRC): Likewise.
18590 (LEN): Likewise.
18591 (memmove): Likewise. Do not use BP_SYM.
18592 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18593 "bp-asm.h".
18594 (PARMS): Do not use macros from bp-asm.h.
18595 (DEST): Likewise.
18596 (SRC): Likewise.
18597 (LEN): Likewise.
18598 (__mempcpy): Likewise. Do not use BP_SYM.
18599 (mempcpy): Do not use BP_SYM in weak_alias.
18600 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18601 "bp-asm.h".
18602 (PARMS): Do not use macros from bp-asm.h.
18603 (DEST): Likewise.
18604 (LEN): Likewise.
18605 [!BZERO_P] (CHR): Likewise.
18606 (memset): Likewise. Do not use BP_SYM.
18607 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18608 "bp-asm.h".
18609 (PARMS): Do not use macros from bp-asm.h.
18610 (STR2): Likewise.
18611 (strcmp): Do not use BP_SYM.
18612 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18613 "bp-asm.h".
18614 (PARMS): Do not use macros from bp-asm.h.
18615 (STR): Likewise.
18616 (DELIM): Likewise.
18617 [USE_AS_STRTOK_R] (SAVE): Likewise.
18618 (FUNCTION): Likewise. Do not use BP_SYM.
18619 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18620 aliases.
18621 (strtok_r): Likewise.
18622 (__GI___strtok_r): Likewise.
18623 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18624 (PARMS): Do not use macros from bp-asm.h.
18625 (S): Likewise.
18626 (SIZE): Likewise.
18627 (__mpn_lshift): Do not use BP_SYM.
18628 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18629 (PARMS): Do not use macros from bp-asm.h.
18630 (STR): Likewise.
18631 (CHR): Likewise.
18632 (__memchr): Do not use BP_SYM.
18633 (memchr): Do not use BP_SYM in weak_alias.
18634 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18635 (PARMS): Do not use macros from bp-asm.h.
18636 (BLK2): Likewise.
18637 (LEN): Likewise.
18638 (memcmp): Do not use BP_SYM.
18639 (bcmp): Do not use BP_SYM in weak_alias.
18640 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18641 (PARMS): Do not use macros from bp-asm.h.
18642 (S1): Likewise.
18643 (SIZE): Likewise.
18644 (__mpn_mul_1): Do not use BP_SYM.
18645 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18646 "bp-asm.h".
18647 (PARMS): Do not use macros from bp-asm.h.
18648 (STR): Likewise.
18649 (CHR): Likewise.
18650 (__rawmemchr): Do not use BP_SYM.
18651 (rawmemchr): Do not use BP_SYM in weak_alias.
18652 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18653 (PARMS): Do not use macros from bp-asm.h.
18654 (S): Likewise.
18655 (SIZE): Likewise.
18656 (__mpn_rshift): Do not use BP_SYM.
18657 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18658 (PARMS): Do not use macros from bp-asm.h.
18659 (SIGMSK): Likewise.
18660 (__sigsetjmp): Likewise. Do not use BP_SYM.
18661 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18662 (_start): Do not use BP_SYM.
18663 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18664 (PARMS): Do not use macros from bp-asm.h.
18665 (DEST): Likewise.
18666 (SRC): Likewise.
18667 (__stpcpy): Likewise. Do not use BP_SYM.
18668 (stpcpy): Do not use BP_SYM in weak_alias.
18669 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18670 "bp-asm.h".
18671 (PARMS): Do not use macros from bp-asm.h.
18672 (DEST): Likewise.
18673 (SRC): Likewise.
18674 (LEN): Likewise.
18675 (__stpncpy): Likewise. Do not use BP_SYM.
18676 (stpncpy): Do not use BP_SYM in weak_alias.
18677 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18678 (PARMS): Do not use macros from bp-asm.h.
18679 (STR): Likewise.
18680 (CHR): Likewise.
18681 (strchr): Likewise. Do not use BP_SYM.
18682 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18683 "bp-asm.h".
18684 (PARMS): Do not use macros from bp-asm.h.
18685 (STR): Likewise.
18686 (CHR): Likewise.
18687 (__strchrnul): Likewise. Do not use BP_SYM.
18688 (strchrnul): Do not use BP_SYM in weak_alias.
18689 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18690 "bp-asm.h".
18691 (PARMS): Do not use macros from bp-asm.h.
18692 (STOP): Likewise.
18693 (strcspn): Do not use BP_SYM.
18694 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18695 "bp-asm.h".
18696 (PARMS): Do not use macros from bp-asm.h.
18697 (STR): Likewise.
18698 (STOP): Likewise.
18699 (strpbrk): Likewise. Do not use BP_SYM.
18700 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18701 "bp-asm.h".
18702 (PARMS): Do not use macros from bp-asm.h.
18703 (STR): Likewise.
18704 (CHR): Likewise.
18705 (strrchr): Likewise. Do not use BP_SYM.
18706 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18707 (PARMS): Do not use macros from bp-asm.h.
18708 (SKIP): Likewise.
18709 (strspn): Do not use BP_SYM.
18710 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18711 (PARMS): Do not use macros from bp-asm.h.
18712 (STR): Likewise.
18713 (DELIM): Likewise.
18714 (SAVE): Likewise.
18715 (FUNCTION): Likewise. Do not use BP_SYM.
18716 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18717 aliases.
18718 (strtok_r): Likewise.
18719 (__GI___strtok_r): Likewise.
18720 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18721 (PARMS): Do not use macros from bp-asm.h.
18722 (S1): Likewise.
18723 (S2): Likewise.
18724 (SIZE): Likewise.
18725 (__mpn_sub_n): Do not use BP_SYM.
18726 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18727 "bp-asm.h".
18728 (PARMS): Do not use macros from bp-asm.h.
18729 (S1): Likewise.
18730 (SIZE): Likewise.
18731 (__mpn_submul_1): Do not use BP_SYM.
18732 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18733 <bp-sym.h>.
18734 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18735 and <bp-asm.h>.
18736 (PARMS): Do not use macros from bp-asm.h.
18737 (FLAGS): Likewise.
18738 (PTID): Likewise.
18739 (TLS): Likewise.
18740 (CTID): Likewise.
18741 (__clone): Do not use BP_SYM.
18742 (clone): Do not use BP_SYM in weak_alias.
18743 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18744 and <bp-asm.h>.
18745 (PARMS): Do not use macros from bp-asm.h.
18746 (LEN): Likewise.
18747 (__mmap64): Do not use BP_SYM.
18748 (mmap64): Do not use BP_SYM in weak_alias.
18749 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18750 <bp-sym.h> and <bp-asm.h>.
18751 (PARMS): Do not use macros from bp-asm.h.
18752 (__posix_fadvise64_l64): Do not use BP_SYM.
18753 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18754 (PARMS): Do not use macros from bp-asm.h.
18755 (NSOPS): Likewise.
18756 (semtimedop): Do not use BP_SYM.
18757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18758 and <bp-asm.h>.
18759
582a3cff
AM
187602013-02-21 Allan McRae <allan@archlinux.org>
18761
18762 * manual/message.texi (Charset conversion in gettext):
18763 Move @end statement to beginning of line.
18764
bab8a695
SP
187652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18766
80945231
SP
18767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18768 static.
18769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18770 Likewise.
18771
bab8a695
SP
18772 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18773 (denorm): Likewise.
18774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18776
e21d7aa7
AK
187772013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18778
18779 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18780 tail-call to the resolved function if pltexit isn't needed.
18781
4c7a4263
SP
187822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18783
18784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18785 or Y being zero as being unlikely.
18786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18787 Likewise.
18788
41f49342
CD
187892013-02-20 Carlos O'Donell <carlos@redhat.com>
18790
18791 * manual/nss.texi (System Databases and Name Service Switch):
18792 Remove frobnicate @pxref.
18793
50022a93
TS
187942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18795
18796 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18797 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18798
08cbd996
PM
187992013-02-20 Petr Machata <pmachata@redhat.com>
18800
18801 * elf/elf.h (R_ARM_TARGET1): New macro.
18802 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18803 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18804 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18805 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18806 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18807 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18808 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18809 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18810 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18811 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18812 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18813 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18814 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18815 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18816 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18817 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18818 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18819 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18820 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18821 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18822 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18823 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18824 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18825 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18826 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18827 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18828 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18829 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18830 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18831 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18832 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18833 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18834 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18835 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18836 (R_ARM_THM_GOT_BREL12): Likewise.
18837 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18838 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18839 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18840 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18841 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18842 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18843 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18844 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18845 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18846
c7b275d6
TS
188472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18848
18849 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18850 __attribute_used__ to __attribute__ ((unused)).
18851
20cd7fb3
SP
188522013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18853
18854 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18855 powerpc mpa.c.
18856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18857 comment formatting.
18858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18859
92945b52
JM
188602013-02-19 Joseph Myers <joseph@codesourcery.com>
18861
18862 [BZ #13550]
18863 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18864 Remove macro.
18865 (ENTER): Remove both macro definitions.
18866 (LEAVE): Likewise.
18867 (CHECK_BOUNDS_LOW): Likewise.
18868 (CHECK_BOUNDS_HIGH): Likewise.
18869 (CHECK_BOUNDS_BOTH): Likewise.
18870 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18871 (RETURN_BOUNDED_POINTER): Likewise.
18872 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18873 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18874 (POP_ERRNO_LOCATION_RETURN): Likewise.
18875 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18876 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18878 macros.
18879 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18880 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18881 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18882 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18883 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18884 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18885 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18886 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18887 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18888 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18889 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18890 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18891 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18892 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18893 removed macros.
18894 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18895 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18896 macros.
18897 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18898 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18899 * sysdeps/i386/i586/memset.S (memset): Likewise.
18900 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18901 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18902 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18903 macros.
18904 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18905 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18906 Change uses of L(2) to L(out).
18907 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18908 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18909 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18910 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18911 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18912 removed macros.
18913 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18914 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18915 macros.
18916 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18917 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18918 (RETURN): Do not use macro LEAVE.
18919 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18920 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18921 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18922 * sysdeps/i386/i686/memset.S (memset): Likewise.
18923 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18924 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18925 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18926 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18927 Likewise.
18928 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18929 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18930 L(1_2) and L(1_3) into L(1).
18931 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18932 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18933 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18934 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18935 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18936 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18937 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18938 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18939 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18940 macros.
18941 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18942 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18943 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18944 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18945 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18946 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18947 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18948 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18949 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18950 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18951 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18952 * sysdeps/i386/strspn.S (strspn): Likewise.
18953 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18954 conditional code.
18955 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18956 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18957 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18958 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18959 L(1_3) into L(1_1).
18960 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18961 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18962 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18963 macros.
18964 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18965
2389741a
JJ
189662013-02-19 Jakub Jelinek <jakub@redhat.com>
18967
18968 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18969 macro.
18970
2016b3cd
SP
189712013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18972
e4f22324
SP
18973 * math/atest-exp.c (exp_mpn): Remove ROUND.
18974 * math/atest-exp2.c (exp_mpn): Likewise.
18975 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18976
2016b3cd
SP
18977 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18978 * stdlib/tst-tls-atexit-lib.c: Likewise.
18979 * stdlib/tst-tls-atexit.c: Likewise.
18980
4be9b544
MF
189812013-02-18 Mike Frysinger <vapier@gentoo.org>
18982
18983 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18984 and __attribute_alloc_size__.
18985
2f62b9ee
MF
189862013-02-18 Mike Frysinger <vapier@gentoo.org>
18987
18988 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18989 __attribute_alloc_size__.
18990 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18991 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18992
6ff444c4
MF
189932013-02-18 Mike Frysinger <vapier@gentoo.org>
18994
18995 * include/programs/xmalloc.h: New file.
18996 * catgets/gencat.c: Include it.
18997 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18998 * elf/pldd.c: Likewise.
18999 * iconv/iconv_charmap.c: Likewise.
19000 * iconv/iconvconfig.c: Likewise.
19001 * iconv/strtab.c: Likewise.
19002 * locale/programs/locale.c: Likewise.
19003 * locale/programs/localedef.h: Likewise.
19004 * locale/programs/simple-hash.c: Likewise.
19005 * nscd/nscd.h: Likewise.
19006 * nss/makedb.c: Likewise.
19007 * sysdeps/generic/ldconfig.h: Likewise.
19008
be179c8a
SP
190092013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19010
ba384f6e
SP
19011 * Versions.def: Add GLIBC_2.18.
19012 * include/link.h (struct link_map): New member l_tls_dtor_count.
19013 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19014 (__call_tls_dtors): Likewise.
19015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19016 __cxa_thread_atexit_impl.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19018 Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19020 Likewise.
19021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19022 Likewise.
19023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19024 Likewise.
19025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19027 Likewise.
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19029 Likewise.
19030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19032 Likewise.
19033 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19034 (tests): Add test case tst-tls-atexit.
19035 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19036 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19037 (GLIBC_PRIVATE): Add __call_tls_dtors.
19038 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19039 for libstdc++.
19040 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19041 * stdlib/tst-tls-atexit.c: New test case.
19042 * stdlib/tst-tls-atexit-lib.c: New test case.
19043
ffaa74cf 19044 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19045
be179c8a
SP
19046 * elf/Versions (ld): Add _dl_find_dso_for_object.
19047 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19048 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19049 (dl_open_worker): Use _dl_find_dso_for_object.
19050 * elf/dl-sym.c (do_sym): Likewise.
19051 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19052
f78b5caa
AK
190532013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19054
19055 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19056 Syntactic changes only.
19057 (_dl_runtime_profile): Do a tail-call to the resolved function.
19058
29691210
JM
190592013-02-17 Joseph Myers <joseph@codesourcery.com>
19060
19061 [BZ #13550]
19062 * sysdeps/x86_64/bp-asm.h: Remove file.
19063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19064 <bp-sym.h> and <bp-asm.h>.
19065 (__clone): Do not use BP_SYM.
19066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19067 <bp-sym.h> and <bp-asm.h>.
19068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19069 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19070 "bp-asm.h".
19071 (_setjmp): Do not use BP_SYM.
19072 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19073 "bp-asm.h".
19074 (setjmp): Do not use BP_SYM.
19075 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19076 libc_hidden_def.
19077 (mempcpy): Do not use BP_SYM in weak_alias.
19078 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19079 "bp-asm.h".
19080 (strchr): Do not use BP_SYM.
19081 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19082 "bp-asm.h".
19083 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19084 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19085 (_start): Do not use BP_SYM.
19086 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19087 "bp-asm.h".
19088 (strcat): Do not use BP_SYM.
19089 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19090 "bp-asm.h".
19091 (STRCMP): Do not use BP_SYM.
19092 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19093 "bp-asm.h".
19094 (STRCPY): Do not use BP_SYM.
19095 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19096 "bp-asm.h".
19097 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19098 "bp-asm.h".
19099 (FUNCTION): Do not use BP_SYM.
19100 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19101 weak_alias.
19102 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19103
f238fd19
AJ
191042013-02-17 Andreas Jaeger <aj@suse.de>
19105
19106 * time/Versions: Sort entries.
19107 * string/Versions: Likewise.
19108 * resolv/Versions: Likewise.
19109 * posix/Versions: Likewise.
19110 * iconv/Versions: Likewise.
19111 * elf/Versions: Likewise.
19112 * wcsmbs/Versions: Likewise.
19113
bd07f23c 191142013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19115
22af19f9
SP
19116 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19117 loop termination condition.
19118
4709fe76
SP
19119 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19120 variable to calculate EZ.
19121 (__sqr): Likewise.
2d0e0f29
SP
19122
19123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19124 the lower precision input.
19125
daaa7713
JM
191262013-02-15 Joseph Myers <joseph@codesourcery.com>
19127
19128 [BZ #13550]
19129 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19130 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19131 (run-via-rtld-prefix): Do not handle %-bp tests.
19132 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19133 (all-object-suffixes): Remove .ob.
19134 (bppfx): Remove variable.
19135 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19136 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19137 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19138 [$(build-bounded) = yes] (libtype.ob): Likewise.
19139 * Makerules (elide-routines.ob): Remove variable.
19140 (do-tests-clean): Do not handle *-bp.out.
19141 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19142 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19143 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19144 (tests): Do not include $(tests-bp.out).
19145 (xtests): Do not include $(xtests-bp.out).
19146 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19147 [$(build-bounded) = yes] ($(addprefix
19148 $(objpfx),$(binaries-bounded))): Remove rule.
19149 ($(objpfx)%-bp.out): Remove rule.
19150 * config.make.in (build-bounded): Remove variable.
19151 * crypt/Makefile [$(build-bounded) = yes]
19152 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19153 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19154 append to variable.
19155 [$(build-bounded) = yes] (install-lib): Likewise.
19156 [$(build-bounded) = yes] (generated): Likewise.
19157 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19158 Remove rule.
19159 * intl/Makefile [$(build-bounded) = yes]
19160 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19161 * math/Makefile [$(build-bounded) = yes]
19162 ($(tests:%=$(objpfx)%-bp): Likewise.
19163 * misc/Makefile [$(build-bounded) = yes]
19164 ($(objpfx)tst-tsearch-bp): Likewise.
19165 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19166 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19167 Remove dependency.
19168 * string/Makefile (o-objects.ob): Remove variable.
19169 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19170 (CFLAGS-.ob): Remove variable.
19171 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19172 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19173 both definitions of variable.
19174 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19175 (ASFLAGS-.ob): Remove variable.
19176
e97ed6dd
JM
191772013-02-14 Joseph Myers <joseph@codesourcery.com>
19178
2bdd4ca6
JM
19179 [BZ #13550]
19180 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19181 Remove __BOUNDED_POINTERS__ from condition.
19182 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19183 * string/bits/string2.h [!__NO_STRING_INLINES &&
19184 !__BOUNDED_POINTERS__]: Likewise.
19185 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19186 Likewise.
19187 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19188 Remove conditional code.
19189 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19190 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19191 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19192 condition.
19193
e97ed6dd
JM
19194 [BZ #13550]
19195 * csu/libc-start.c: Do not include <bp-sym.h>.
19196 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19197 * elf/dl-open.c: Do not include <bp-sym.h>.
19198 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19199 * math/fegetenv.c: Do not include <bp-sym.h>.
19200 (fegetenv): Do not use BP_SYM in versioned symbols.
19201 * nptl/sysdeps/pthread/bits/libc-lockP.h
19202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19203 <bp-sym.h>.
19204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19205 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19207 (__pthread_mutex_destroy): Likewise.
19208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19209 (__pthread_mutex_lock): Likewise.
19210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19211 (__pthread_mutex_trylock): Likewise.
19212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19213 (__pthread_mutex_unlock): Likewise.
19214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19215 (__pthread_mutexattr_init): Likewise.
19216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19217 (__pthread_mutexattr_destroy): Likewise.
19218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19219 (__pthread_mutexattr_settype): Likewise.
19220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19221 (__pthread_rwlock_init): Likewise.
19222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19223 (__pthread_rwlock_destroy): Likewise.
19224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19225 (__pthread_rwlock_rdlock): Likewise.
19226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19227 (__pthread_rwlock_tryrdlock): Likewise.
19228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19229 (__pthread_rwlock_wrlock): Likewise.
19230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19231 (__pthread_rwlock_trywrlock): Likewise.
19232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19233 (__pthread_rwlock_unlock): Likewise.
19234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19235 (__pthread_key_create): Likewise.
19236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19237 (__pthread_setspecific): Likewise.
19238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19239 (__pthread_getspecific): Likewise.
19240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19241 Likewise.
19242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19243 (_pthread_cleanup_push_defer): Likewise.
19244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19245 (_pthread_cleanup_pop_restore): Likewise.
19246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19247 (pthread_setcancelstate): Likewise.
19248 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19249 <bp-sym.h>.
19250 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19251 (memchr): Do not use BP_SYM in weak_alias.
19252 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19253 (fegetenv): Do not use BP_SYM in versioned symbols.
19254 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19255 (fesetenv): Do not use BP_SYM in versioned symbols.
19256 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19257 (feupdateenv): Do not use BP_SYM in versioned symbols.
19258 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19259 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19260 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19261 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19262 (open64): Do not use BP_SYM in weak_alias.
19263 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19264 (fegetenv): Do not use BP_SYM in versioned symbols.
19265 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19266 (fesetenv): Do not use BP_SYM in versioned symbols.
19267 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19268 (feupdateenv): Do not use BP_SYM in versioned symbols.
19269 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19270 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19271 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19272 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19273 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19274 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19275 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19276 <bp-sym.h>.
19277 (__libc_start_main): Do not use BP_SYM.
19278
d6752ccd
SP
192792013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19280
cb57ce60
SP
19281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19282 redundant return line.
19283 (norm): Likewise.
19284 (denorm): Likewise.
19285 (dbl_mp): Likewise.
19286 (sub_magnitudes): Likewise.
19287 (__add): Likewise.
19288 (__sub): Likewise.
19289 (__mul): Likewise.
19290 (__inv): Likewise.
19291 (__dvd): Likewise.
19292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19293 (norm): Likewise.
19294 (denorm): Likewise.
19295 (dbl_mp): Likewise.
19296 (sub_magnitudes): Likewise.
19297 (__add): Likewise.
19298 (__sub): Likewise.
19299 (__mul): Likewise.
19300 (__inv): Likewise.
19301 (__dvd): Likewise.
19302
f414520d
SP
19303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19304 instead of __mul.
19305 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19306 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19307 (cc32): Likewise.
19308
d6752ccd
SP
19309 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19310 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19312 of __mul for squares.
19313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19314 function
19315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19316 Likewise.
19317 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19319
70d9946a
JM
193202013-02-13 Joseph Myers <joseph@codesourcery.com>
19321
19322 [BZ #13550]
19323 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19324 code.
19325 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19326 prototype or function definition. Rename ubp_* variables and
19327 parameters. Remove argv definitions conditional on
19328 [__BOUNDED_POINTERS__].
19329 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19330 * elf/dl-runtime.c (_dl_fixup): Likewise.
19331 * include/set-hooks.h (RUN_HOOK): Likewise.
19332 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19333 definition.
19334 * string/strcpy.c (strcpy): Do not use __unbounded.
19335 * sysdeps/generic/frame.h (struct layout): Likewise.
19336 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19337 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19338 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19339 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19340 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19341 (__backtrace): Likewise.
19342 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19343 use __ptrvalue.
19344 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19345 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19346 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19347 Likewise.
19348 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19349 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19350 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19351 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19352 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19353 Do not use __unbounded.
19354 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19355 Rename __unboundedrlimits parameter to rlimits in prototype.
19356 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19357 Do not use __unbounded.
19358 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19359 not use __ptrvalue.
19360 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19361 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19362 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19363 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19364 __ptrvalue or __unbounded.
19365 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19366 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19367 use __unbounded.
19368 (__new_msgctl): Do not use __ptrvalue.
19369 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19370 __unbounded.
19371 (__libc_msgrcv): Do not use __ptrvalue.
19372 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19373 startup_info): Do not use __unbounded.
19374 (__libc_start_main): Likewise. Rename ubp_* variables and
19375 parameters. Remove argv definitions conditional on
19376 [__BOUNDED_POINTERS__].
19377 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19378 __ptrvalue.
19379 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19380 use __unbounded.
19381 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19382 or __ptrvalue.
19383 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19384 use __unbounded.
19385 (__new_shmctl): Do not use __ptrvalue.
19386 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19387 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19388 Likewise.
19389 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19390 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19391 (__libc_sigaction): Likewise.
19392 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19393 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19394 Likewise.
19395 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19396
cc7834d6
OB
193972013-02-13 Ondřej Bílka <neleai@seznam.cz>
19398
ffb1ec7b 19399 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19400
19401 * string/mempcpy.c: Implement by calling memcpy.
19402
bdf02814
SP
194032013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19404
c2af38aa
SP
19405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19406
4e92d59e
SP
19407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19408 evaluation.
19409
909279a5
SP
19410 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19411 values in the mantissa.
19412
bdf02814
SP
19413 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19414 minimize writes to Z.
19415 (sub_magnitudes): Simplify code a bit.
19416
cd525923
RM
194172013-02-12 Roland McGrath <roland@hack.frob.com>
19418
19419 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19420 from the message. The linker prefixes all warnings with that already.
19421
7e2f0d2d
AS
194222013-02-12 Andreas Schwab <schwab@suse.de>
19423
a445af0b
AS
19424 [BZ #15078]
19425 * posix/regexec.c (extend_buffers): Add parameter min_len.
19426 (check_matching): Pass minimum needed length.
19427 (clean_state_log_if_needed): Likewise.
19428 (get_subexp): Likewise.
19429 * posix/Makefile (tests): Add bug-regex34.
19430 (bug-regex34-ENV): Define.
19431 * posix/bug-regex34.c: New file.
19432
7e2f0d2d
AS
19433 [BZ #11561]
19434 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19435 elements compare against the byte sequence of it, not its name.
19436 * posix/Makefile (tests): Add bug-regex35.
19437 (bug-regex35-ENV): Define.
19438 * posix/bug-regex35.c: New file.
19439
a175b684
TV
194402013-02-11 Tom de Vries <tom@codesourcery.com>
19441
19442 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19443 comment.
19444 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19445 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19446 (CHECK_EOL): Add undef.
19447
310998fe 194482013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19449
19450 * bits/stdlib-bsearch.h: New file.
19451 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19452 * stdlib/stdlib.h: Likewise.
41eda41d 19453
8ded91fb
RM
194542013-02-11 Roland McGrath <roland@hack.frob.com>
19455
19456 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19457 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19458 declaration.
19459 * manual/search.texi (Array Search Function): Add missing const in
19460 lfind prototype.
19461 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19462 declaration to use rlim_t.
19463 (Basic Scheduling Functions): Remove erroneous const from
19464 sched_getparam prototype. Remove erroneous * from
19465 sched_get_priority_max and sched_get_priority_min prototypes.
19466 (Resource Usage): Fix summary @comment on vtimes to refer to
19467 sys/vtimes.h rather than vtimes.h.
19468 Add missing *s in vtimes prototype.
19469 (Limits on Resources): Fix ulimit prototype to return long int.
19470 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19471 prototypes to use long int rather than double.
19472 (BSD Random): Fix initstate and setstate to use char *, not void *.
19473 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19474 prototype to make second argument 'struct aiocb64 *const[]'.
19475 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19476 (Status of AIO Operations): Remove erroneous const in aio_return and
19477 aio_return64 prototypes.
19478 (Synchronizing I/O): Fix sync prototype to return void.
19479 * manual/startup.texi (Suboptions): Remove an erroneous const in
19480 getsubopt prototype.
19481 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19482 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19483 use size_t rather than int.
19484 (Scanning All Users): Likewise for getpwent_r.
19485 (Setting Groups): Add missing const to setgroups prototype.
19486 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19487 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19488 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19489 'const void *' rather than 'const char *'.
19490 (Host Address Functions): Likewise for inet_ntop.
19491 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19492 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19493 ssize_t for return value.
19494 (Sending Data): Likewise for send, sendto, sendmsg.
19495 (Socket Option Functions): Add a missing const in setsockopt prototype.
19496 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19497 use wchar_t for the argument.
19498 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19499 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19500 take no arguments.
19501 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19502 double/float/long double for second argument.
19503 Fix return types of significand, significandf, significandl.
19504 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19505 argument in fchmod prototype.
19506 (File Owner): Use uid_t and gid_t in fchown prototype.
19507 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19508 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19509 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19510 use 'const struct dirent **' as argument types to CMP function pointer
19511 argument.
19512 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19513 (File Times): Fix summary magic @comment for struct utimbuf and utime
19514 to refer to utime.h, not time.h.
19515 * manual/string.texi (Argz Functions): Add missing const in
19516 argz_extract and argz_next prototypes.
19517 (Finding Tokens in a String): Likewise for basename.
19518 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19519 (Copying and Concatenation): Fix typo in wmemmove prototype.
19520 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19521 (Signal Stack): Remove erroneous const in sigstack prototype.
19522 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19523 prototype.
19524 (Simple Calendar Time): Likewise for stime.
19525 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19526 prototype.
19527 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19528 say sys/sysctl.h instead.
19529 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19530 and vsyslog prototypes.
19531
fe77fe6d
TV
195322013-02-11 Tom de Vries <tom@codesourcery.com>
19533
19534 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19535 Remove.
19536
3a09b620
RM
195372013-02-11 Roland McGrath <roland@hack.frob.com>
19538
19539 * misc/sys/mman.h: Fix typo in mremap comment.
19540
550a0b89
RM
195412013-02-08 Roland McGrath <roland@hack.frob.com>
19542
19543 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19544 the '\0' terminator.
19545
a2da1673
JM
195462013-02-08 Joseph Myers <joseph@codesourcery.com>
19547
19548 [BZ #13550]
19549 * debug/segfault.c: Don't include <bp-checks.h>.
19550 * sysdeps/generic/bp-checks.h: Remove file.
19551 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19552 (__GETDENTS): Don't use CHECK_N.
19553 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19554 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19555 (__getgroups): Don't use CHECK_N.
19556 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19557 (setgroups): Don't use CHECK_N.
19558 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19559 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19560 (__libc_msgrcv): Don't use CHECK_N.
19561 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19562 (__libc_msgsnd): Don't use CHECK_N.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19564 <bp-checks.h>.
19565 (__libc_pread): Don't use CHECK_N.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19567 include <bp-checks.h>.
19568 (__libc_pread64): Don't use CHECK_N.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19570 include <bp-checks.h>.
19571 (__libc_pwrite): Don't use CHECK_N.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19573 include <bp-checks.h>.
19574 (__libc_pwrite64): Don't use CHECK_N.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19576 <bp-checks.h>.
19577 (__libc_pread): Don't use CHECK_N.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19579 include <bp-checks.h>.
19580 (__libc_pread64): Don't use CHECK_N.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19582 include <bp-checks.h>.
19583 (__libc_pwrite): Don't use CHECK_N.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19585 include <bp-checks.h>.
19586 (__libc_pwrite64): Don't use CHECK_N.
19587 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19588 (do_pread): Don't use CHECK_N.
19589 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19590 (do_pread64): Don't use CHECK_N.
19591 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19592 (do_pwrite): Don't use CHECK_N.
19593 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19594 (do_pwrite64): Don't use CHECK_N.
19595 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19596 (__libc_readv): Don't use CHECK_N.
19597 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19598 (semop): Don't use CHECK_N.
19599 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19600 <bp-checks.h>.
19601 (semtimedop): Don't use CHECK_N.
19602 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19603 (__libc_pread): Don't use CHECK_N.
19604 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19605 <bp-checks.h>.
19606 (__libc_pread64): Don't use CHECK_N.
19607 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19608 <bp-checks.h>.
19609 (__libc_pwrite): Don't use CHECK_N.
19610 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19611 <bp-checks.h>.
19612 (__libc_pwrite64): Don't use CHECK_N.
19613 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19614 <bp-checks.h>.
19615 (__libc_msgrcv): Don't use CHECK_N.
19616 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19617 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19618 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19619 (__libc_writev): Don't use CHECK_N.
19620
b84660a8
RM
196212013-02-08 Roland McGrath <roland@hack.frob.com>
19622
7f3e75f8
RM
19623 * string/strcpy.c: Removed unused variable.
19624
b84660a8
RM
19625 * Makeconfig (+sysdep-includes): Define with := rather than =.
19626 Use an existing include/ subdir of each sysdeps dir before it.
19627
471514d3
CD
196282013-02-08 Carlos O'Donell <carlos@redhat.com>
19629
19630 * nscd/connection.c (register_traced_file): Comment function.
19631 [HAVE_INOTIFY] (union __inev): Define.
19632 [HAVE_INOTIFY] (inotify_check_files): New function.
19633 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19634 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19635 clear_db_cache.
19636 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19637
b2d3c3be
CD
196382013-02-08 Carlos O'Donell <carlos@redhat.com>
19639
19640 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19641 loaded if not already and that a failure is permanent.
19642
b39949d2
CD
196432013-02-08 Carlos O'Donell <carlos@redhat.com>
19644
ddacd1db 19645 [BZ #15006]
b39949d2
CD
19646 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19647 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19648
b2c9eff4
JM
196492013-02-08 Joseph Myers <joseph@codesourcery.com>
19650
f3aae3f3
JM
19651 [BZ #13550]
19652 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19653 (CHECK_1_NULL_OK): Likewise.
19654 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19655 (__fxstat): Do not use CHECK_1.
19656 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19657 <bp-checks.h>.
19658 (___fxstat64): Do not use CHECK_1.
19659 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19660 <bp-checks.h>.
19661 (__fxstatat): Do not use CHECK_1.
19662 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19663 <bp-checks.h>.
19664 (__fxstatat64): Do not use CHECK_1.
19665 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19666 <bp-checks.h>.
19667 (__fxstat): Do not use CHECK_1.
19668 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19669 <bp-checks.h>.
19670 (__fxstatat): Do not use CHECK_1.
19671 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19672 <bp-checks.h>.
19673 (__getresgid): Do not use CHECK_1.
19674 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19675 <bp-checks.h>.
19676 (__getresuid): Do not use CHECK_1.
19677 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19678 <bp-checks.h>.
19679 (__lxstat): Do not use CHECK_1.
19680 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19681 <bp-checks.h>.
19682 (__old_msgctl): Do not use CHECK_1.
19683 (__new_msgctl): Likewise.
19684 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19685 <bp-checks.h>.
19686 (__new_setrlimit): Do not use CHECK_1.
19687 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19688 <bp-checks.h>.
19689 (__old_shmctl): Do not use CHECK_1.
19690 (__new_shmctl): Likewise.
19691 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19692 <bp-checks.h>.
19693 (__xstat): Do not use CHECK_1.
19694 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19695 (__lxstat): Do not use CHECK_1.
19696 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19697 <bp-checks.h>.
19698 (___lxstat64): Do not use CHECK_1.
19699 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19700 (__old_msgctl): Do not use CHECK_1.
19701 (__new_msgctl): Likewise.
19702 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19703 <bp-checks.h>.
19704 (__gettimeofday): Do not use CHECK_1.
19705 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19706 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19707 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19708 <bp-checks.h>.
19709 (__gettimeofday): Do not use CHECK_1.
19710 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19711 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19712 (__new_shmctl): Do not use CHECK_1.
19713 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19714 <bp-checks.h>.
19715 (do_sigtimedwait): Do not use CHECK_1.
19716 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19717 <bp-checks.h>.
19718 (do_sigwaitinfo): Do not use CHECK_1.
19719 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19720 <bp-checks.h>.
19721 (msgctl): Do not use CHECK_1.
19722 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19723 <bp-checks.h>.
19724 (shmctl): Do not use CHECK_1.
19725 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19726 (ustat): Do not use CHECK_1.
19727 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19728 <bp-checks.h>.
19729 (__fxstat): Do not use CHECK_1.
19730 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19731 <bp-checks.h>.
19732 (__fxstatat): Do not use CHECK_1.
19733 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19734 <bp-checks.h>.
19735 (__lxstat): Do not use CHECK_1.
19736 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19737 <bp-checks.h>.
19738 (__xstat): Do not use CHECK_1.
19739 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19740 (__xstat): Do not use CHECK_1.
19741 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19742 (___xstat64): Do not use CHECK_1.
19743
b2c9eff4
JM
19744 [BZ #13550]
19745 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19746 definitions.
19747 (CHECK_BOUNDS_HIGH): Likewise.
19748 * string/strcpy.c: Do not include <bp-checks.h>.
19749 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19750
f1d70dad
RM
197512013-02-07 Roland McGrath <roland@hack.frob.com>
19752
19753 * nscd/nscd-client.h (__nscd_drop_map_ref):
19754 Add __attribute__ ((unused)).
19755 * nis/nss-nisplus.h (niserr2nss): Likewise.
19756
19757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19758 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19759
19760 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19761 Remove inline keyword.
19762 * include/rounding-mode.h (round_away): Likewise.
19763 * libio/wfileops.c (adjust_wide_data): Likewise.
19764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19765 (__m128i_strloadu_tolower): Likewise.
19766 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19767 (__m128i_strloadu_tolower): Likewise.
19768 * time/mktime.c (ydhms_diff): Likewise.
19769 * locale/elem-hash.h (elem_hash): Likewise.
19770 * locale/setlocale.c (setdata): Likewise.
19771 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19772 (re_string_wchar_at): Likewise.
19773 (bitset_not, bitset_merge, bitset_mask): Likewise.
19774 [!(__GNUC__ > 3)] (inline): Remove macro.
19775 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19776 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19777 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19778 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19779 * string/memcmp.c (memcmp_bytes): Likewise.
19780 * locale/programs/locarchive.c (compute_hashval): Likewise.
19781 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19782 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19783 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19784 * nss/getent.c (print_rpc, print_protocols): Likewise.
19785 (print_passwd, print_group, print_aliases): Likewise.
19786 * nis/nss-nisplus.h (niserr2nss): Likewise.
19787 * nscd/connections.c (restart_p): Likewise.
19788 Change return type to bool.
19789
eab55bfb
RM
197902013-02-05 Roland McGrath <roland@hack.frob.com>
19791
7bd642f5
RM
19792 * Makeconfig (all-Depend-files): Add existing
19793 $(sorted-subdirs:=/Depend) files.
19794 (all-subdirs): Remove nss.
19795 * sysdeps/unix/inet/Subdirs: Add it here instead.
19796 * hesiod/Depend: New file.
19797
573c29b2
RM
19798 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19799 instead of calling alloca.
19800
b2e25af0
RM
19801 * io/lseek.c (__lseek): Rename to __libc_lseek.
19802 Define __lseek as an alias.
19803
eab55bfb
RM
19804 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19805
9a0d1941
CD
198062013-02-04 Carlos O'Donell <carlos@redhat.com>
19807
19808 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19809 else clause and remove check for non-standard endianness.
19810
b83bbec4
DM
198112013-02-04 David S. Miller <davem@davemloft.net>
19812
19813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19814
6277fdab
JM
198152013-02-04 Joseph Myers <joseph@codesourcery.com>
19816
19817 [BZ #13550]
19818 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19819 (__ubp_memchr): Remove prototype.
19820 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19821 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19822 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19823 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19824 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19825 Remove alias.
19826 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19827 (__ubp_memchr): Likewise.
19828 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19829 (__ubp_memchr): Likewise.
19830 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19831 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19832 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19833 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19834 CHECK_STRING.
19835 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19836 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19837 (__getcwd): Do not use CHECK_STRING.
19838 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19839 <bp-checks.h>.
19840 (__real_chown): Do not use CHECK_STRING.
19841 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19842 <bp-checks.h>.
19843 (fchownat): Do not use CHECK_STRING.
19844 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19845 CHECK_STRING.
19846 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19847 <bp-checks.h>.
19848 (__lchown): Do not use CHECK_STRING.
19849 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19850 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19851 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19852 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19854 include <bp-checks.h>.
19855 (truncate64): Do not use CHECK_STRING.
19856 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19857 <bp-checks.h>.
19858 (__real_chown): Do not use CHECK_STRING.
19859 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19860 <bp-checks.h>.
19861 (__lchown): Do not use CHECK_STRING.
19862 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19863 <bp-checks.h>.
19864 (__chown): Do not use CHECK_STRING.
19865 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19866 <bp-checks.h>.
19867 (truncate64): Do not use CHECK_STRING.
19868 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19869 Likewise.
19870 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19871 (__xmknod): Do not use CHECK_STRING.
19872 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19873 <bp-checks.h>.
19874 (__xmknodat): Do not use CHECK_STRING.
19875 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19876 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19877
903ae060
AS
198782013-02-04 Andreas Schwab <schwab@suse.de>
19879
19880 [BZ #14142]
19881 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19882 * include/netdb.h: Likewise for h_errno.
19883 * elf/tst-stackguard1.c: Include <tls.h>.
19884
542f9466
JK
198852013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19886
19887 * elf/link.h (struct link_map): Extend the l_addr comment.
19888 * include/link.h (struct link_map): Likewise.
19889
e782a927
JM
198902013-02-01 Joseph Myers <joseph@codesourcery.com>
19891
19892 [BZ #13550]
19893 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19894 (BOUNDED_1): Remove macro.
19895 * debug/backtrace.c: Don't include <bp-checks.h>.
19896 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19897 (__backtrace): Likewise.
19898 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19899 <bp-checks.h>.
19900 (__backtrace): Don't use BOUNDED_1.
19901 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19902 <bp-checks.h>.
19903 (__backtrace): Don't use BOUNDED_1.
19904 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19905 (__backtrace): Don't use BOUNDED_1.
19906 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19907 (shmat): Don't use BOUNDED_N.
19908
8cf28c5e
JM
199092013-01-31 Joseph Myers <joseph@codesourcery.com>
19910
3a7ac8a0
JM
19911 [BZ #13550]
19912 * sysdeps/generic/bp-start.h: Remove file.
19913 * csu/libc-start.c: Don't include <bp-start.h>.
19914 (LIBC_START_MAIN): Set up __environ directly instead of using
19915 INIT_ARGV_and_ENVIRON.
19916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19917 <bp-start.h>.
19918
f3499f95
JM
19919 [BZ #13550]
19920 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19921 definitions.
19922 (CHECK_FCNTL): Likewise.
19923 (CHECK_N_PAGES): Likewise.
19924
32a45bea
JM
19925 [BZ #13550]
19926 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19927 definitions.
19928 (CHECK_SIGSET_NULL_OK): Likewise.
19929 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19930 <bp-checks.h>.
19931 (sigpending): Don't use CHECK_SIGSET.
19932 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19933 <bp-checks.h>.
19934 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19935 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19936 <bp-checks.h>.
19937 (do_sigsuspend): Don't use CHECK_SIGSET.
19938 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19939 use CHECK_SIGSET.
19940 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19941 (do_sigwait): Don't use CHECK_SIGSET.
19942 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19943 use CHECK_SIGSET.
19944 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19945 include <bp-checks.h>.
19946 (sigpending): Don't use CHECK_SIGSET.
19947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19948 include <bp-checks.h>.
19949 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19950 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19951 <bp-checks.h>.
19952 (sigpending): Don't use CHECK_SIGSET.
19953 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19954 <bp-checks.h>.
19955 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19956
2e8a5c8c
JM
19957 [BZ #13550]
19958 * sysdeps/generic/bp-semctl.h: Remove file.
19959 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19960 <bp-checks.h> and <bp-semctl.h>.
19961 (__old_semctl): Don't use CHECK_SEMCTL.
19962 (__new_semctl): Likewise.
19963 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19964 and <bp-semctl.h>.
19965 (__old_semctl): Don't use CHECK_SEMCTL.
19966 (__new_semctl): Likewise.
19967 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19968 <bp-checks.h> and <bp-semctl.h>.
19969 (__old_semctl): Don't use CHECK_SEMCTL.
19970 (__new_semctl): Likewise.
19971 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19972 <bp-checks.h> and <bp-semctl.h>.
19973 (semctl): Don't use CHECK_SEMCTL.
19974
c2d54929
JM
19975 [BZ #13550]
19976 * Makerules (elide-bp-thunks): Remove variable.
19977 (elide-routines.oS): Don't use $(elide-bp-thunks).
19978 (elide-routines.os): Likewise.
19979 (elide-routines.o): Likewise.
19980 (elide-routines.op): Likewise.
19981 (elide-routines.og): Likewise.
19982 (objects): Don't use $(bp-thunks).
19983 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19984 include.
19985 (common-generated): Do not add s-proto-bp.d.
19986 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19987 (int): Likewise.
19988 (typ): Likewise.
19989 Do not generate makefile rules for bounded-pointer thunks.
19990 * sysdeps/generic/bp-thunks.h: Remove file.
19991 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19992 * sysdeps/unix/s-proto-bp.S: Likewise.
19993
8cf28c5e
JM
19994 [BZ #15062]
19995 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19996 parts of result separately when argument is not close to line from
19997 -i to i and one part of argument is small.
19998 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19999 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20000 * math/libm-test.inc (cacos_test): Add more tests.
20001 (casin_test): Likewise.
20002 (casinh_test): Likewise.
20003 * sysdeps/i386/fpu/libm-test-ulps: Update.
20004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20005
c4e33b8d
DM
200062013-01-31 David S. Miller <davem@davemloft.net>
20007
20008 * po/de.po: Update from translation team.
20009
3b60b421
MK
200102013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20011
20012 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20013
bb931195
TS
200142013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20015
b5a5da23
TS
20016 * configure.in (_AC_PROG_CC_C89): New definition.
20017 * configure: Regenerate.
20018
bb931195
TS
20019 * configure.in (AC_PROG_CPP): New definition.
20020 * configure: Regenerate.
20021
8c53a12c
JM
200222013-01-23 Joseph Myers <joseph@codesourcery.com>
20023
20024 * debug/tst-backtrace.h: New file.
20025 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20026 (ret): Remove variable.
20027 (x): Likewise.
20028 (FAIL): Remove macro.
20029 (NO_INLINE): Likewise.
20030 (fn1): Use match function instead of strstr.
20031 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20032 (ret): Remove variable.
20033 (x): Likewise.
20034 (FAIL): Remove macro.
20035 (NO_INLINE): Likewise.
20036 (fn): Use match function instead of strstr.
20037 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20038 (ret): Remove variable.
20039 (x): Likewise.
20040 (FAIL): Remove macro.
20041 (NO_INLINE): Likewise.
20042 (handle_signal): Use match function instead of strstr.
20043 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20044 (ret): Remove variable.
20045 (x): Likewise.
20046 (FAIL): Remove macro.
20047 (NO_INLINE): Likewise.
20048 (handle_signal): Use match function instead of strstr.
20049
4858fa2a
RM
200502013-01-23 Roland McGrath <roland@hack.frob.com>
20051
20052 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20053
bae8e7f5
DM
200542013-01-23 David S. Miller <davem@davemloft.net>
20055
20056 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20057 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20058 argument of CAS if possible.
20059 * sysdeps/sparc/sparc64/bits/atomic.h
20060 (__arch_compare_and_exchange_val_32_acq): Likewise.
20061 (__arch_compare_and_exchange_val_64_acq): Likewise.
20062
9cbbc4ae
PT
200632013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20064
20065 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20066 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20067 Include <limits.h>.
67b3f58c 20068 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20069
5655a0b5
AC
200702013-01-23 Adam Conrad <adconrad@0c3.net>
20071
20072 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20073 (LDFLAGS-tst-array5): Likewise.
20074
052aff95
JM
200752013-01-23 Joseph Myers <joseph@codesourcery.com>
20076
20077 [BZ #15036]
20078 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20079 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20080 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20081 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20082
7c1e01aa
DM
200832013-01-21 David S. Miller <davem@davemloft.net>
20084
20085 * sysdeps/sparc/backtrace.c: New file.
20086 * sysdeps/sparc/sparc32/backtrace.h: New file.
20087 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20088 * sysdeps/sparc/sparc64/backtrace.h: New file.
20089 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20090 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20091 -funwind-tables.
20092
ab087e0a
AS
200932013-01-21 Andreas Schwab <schwab@suse.de>
20094
20095 [BZ #15020]
20096 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20097 closed its stdout.
20098
ed689c2f
AS
200992013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20100
20101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20102 "mpa2.h".
20103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20104
31d470ac
JM
201052013-01-18 Joseph Myers <joseph@codesourcery.com>
20106 Mark Mitchell <mark@codesourcery.com>
20107 Tom de Vries <tom@codesourcery.com>
20108 Paul Pluzhnikov <ppluzhnikov@google.com>
20109
20110 * debug/tst-backtrace2.c: New file.
20111 * debug/tst-backtrace3.c: Likewise.
20112 * debug/tst-backtrace4.c: Likewise.
20113 * debug/tst-backtrace5.c: Likewise.
20114 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20115 (CFLAGS-tst-backtrace3.c): Likewise.
20116 (CFLAGS-tst-backtrace4.c): Likewise.
20117 (CFLAGS-tst-backtrace5.c): Likewise.
20118 (LDFLAGS-tst-backtrace2): Likewise.
20119 (LDFLAGS-tst-backtrace3): Likewise.
20120 (LDFLAGS-tst-backtrace4): Likewise.
20121 (LDFLAGS-tst-backtrace5): Likewise.
20122 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20123 tst-backtrace4 and tst-backtrace5.
20124
90567f30 201252013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20126 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20127
20128 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20129 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20130 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20131 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20133 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20134 "+r" and remove output regs list as redundant. Add explicit inline
20135 asm to specify register of return val to work around compiler codegen
20136 bug. Remove (int) cast on return value. Add return type parameter to
20137 use in macro so that this macro does not truncate return value for
20138 64-bit values.
20139 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20140 pass to INTERNAL_VSYSCALL_NCS.
20141 (INLINE_VSYSCALL): Add 'long int' as return type to
20142 INTERNAL_VSYSCALL_NCS macro invocation.
20143 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20144 INTERNAL_VSYSCALL_NCS macro invocation.
20145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20146
d3b9ea61
SP
201472013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20148
0b57daeb
SP
20149 [BZ #14496]
20150 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20151 Fix application of SIMD FP exception mask.
20152
caa99d06
SP
20153 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20154 mp_no from a power of two.
20155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20156 __mpexp_twomm1. Use __pow_mp.
20157
d3b9ea61
SP
20158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20159 multiplication.
20160
1dbaee3c
DM
201612013-01-17 David S. Miller <davem@davemloft.net>
20162
20163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20164
728d7b43
JM
201652013-01-17 Joseph Myers <joseph@codesourcery.com>
20166
20167 [BZ #15023]
20168 * include/complex.h: Condition contents on [!_COMPLEX_H].
20169 (__kernel_casinhf): New prototype.
20170 (__kernel_casinh): Likewise.
20171 (__kernel_casinhl): Likewise.
20172 * math/Makefile (libm_calls): Add k_casinh.
20173 * math/k_casinh.c: New file.
20174 * math/k_casinhf.c: Likewise.
20175 * math/k_casinhl.c: Likewise.
20176 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20177 finite nonzero arguments.
20178 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20179 finite nonzero arguments.
20180 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20181 finite nonzero arguments.
20182 * math/s_casinh.c: Do not include <float.h>.
20183 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20184 * math/s_casinhf.c: Do not include <float.h>.
20185 (__casinhf): Move code for finite nonzero arguments to
20186 k_casinhf.c.
20187 * math/s_casinhl.c: Do not include <float.h>.
20188 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20189 redefine.
20190 (__casinhl): Move code for finite nonzero arguments to
20191 k_casinhl.c.
20192 * math/libm-test.inc (cacos_test): Add more tests.
20193 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20195
2a26ef3a
PT
201962013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20197
20198 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20199 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20200 [!HAVE_MREMAP]: Remove [defined linux] case.
20201 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20202
a897655d
SP
202032013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20204
20205 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20206
881ebe89 202072013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20208
20209 * elf/elf.h (R_386_SIZE32): New relocation.
20210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20211 R_386_SIZE32.
20212 (elf_machine_rela): Likewise.
20213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20214 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20215
59981e9b
JM
202162013-01-17 Joseph Myers <joseph@codesourcery.com>
20217
20218 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20219 (FP_FAST_FMA): Do not define.
20220 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20221 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20222 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20223 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20224 !_SOFT_FLOAT]: Likewise.
20225 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20227 value.
20228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20229 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20230 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20231 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20232 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20233 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20234 file.
20235
cfa8054f
AS
202362013-01-16 Andreas Schwab <schwab@suse.de>
20237
20238 [BZ #14327]
20239 * include/stdlib.h (__mktemp): Add declaration.
20240 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20241 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20242
dd930cc5
SP
202432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
881ebe89
SP
20245 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20246 definitions.
20247 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20248 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20249 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20250 definitions here.
20251 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20252 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20253 definitions.
20254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20255 and ONE.
20256 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20257 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20259 definitions.
20260 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20261 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20262 definitions.
20263 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20264
dd930cc5
SP
20265 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20266
c19a9f89
DM
202672013-01-15 David S. Miller <davem@davemloft.net>
20268
1aa61767
DM
20269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20270 trunc{,f} to libm-sysdep_routes.
20271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20273 file.
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20276 file.
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20278 file.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20281 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20282 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20283 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20284 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20285 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20286 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20287
c42d5e98
DM
20288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20289 nearbyint{,f} to libm-sysdep_routes.
20290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20292 New file.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20294 file.
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20296 New file.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20298 file.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20302 file.
20303 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20305 file.
20306 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20307 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20308 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20309
c19a9f89
DM
20310 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20311 libc_feholdexcept and libc_fesetenv.
20312
357679d2
MF
203132013-01-15 Mike Frysinger <vapier@gentoo.org>
20314
20315 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20316
65a82e3d
DM
203172013-01-14 David S. Miller <davem@davemloft.net>
20318
8b954ab9
DM
20319 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20320 (SPARC_ASM_VIS2_IFUNC): Likewise.
20321 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20323 use of 'siam' instruction.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20325 Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20327 Likewise.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20329 Likewise.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20335 file.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20337 file.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20339 file.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20341 file.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20347 new VIS2 routines.
20348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20351 Likewise.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20357 routines to libm-sysdep_routines.
20358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20359
65a82e3d
DM
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20361 fdim/fdimf to libm-sysdep_routines.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20363 file.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20366 file.
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20370 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20371 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20372 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20373 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20374
e34ab705
SP
203752013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20376
2a91b573
SP
20377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20378 to optimize copies.
20379
1066a534
SP
20380 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20383
e34ab705
SP
20384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20385 local variable MPTWO.
20386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20387 Likewise.
20388
aba5e596
MF
203892013-01-13 Mike Frysinger <vapier@gentoo.org>
20390
20391 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20392 GLOB_NOESCAPE.
20393
e557e9e5
MF
203942013-01-13 Mike Frysinger <vapier@gentoo.org>
20395
20396 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20397
0428cec9
MF
203982013-01-13 Mike Frysinger <vapier@gentoo.org>
20399
20400 * manual/pattern.texi (glob_t): Document gl_flags.
20401 (glob64_t): Likewise.
20402
8794a964
DM
204032013-01-11 David S. Miller <davem@davemloft.net>
20404
66438c3f
RM
20405 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20406 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20407 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20408 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20409 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20410 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20411 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20412 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20413 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20414 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20415 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20416 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20417 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20418
4ae4244d
DM
20419 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20420 sparc V9 rather than using V8 code.
20421 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20422 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20423
8794a964
DM
20424 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20425 Move to...
20426 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20427 Here.
20428
6270516e
RM
204292013-01-11 Roland McGrath <roland@hack.frob.com>
20430
20431 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20432 not in the main loop.
20433 * configure: Regenerated.
20434
6a57d931
JM
204352013-01-11 Joseph Myers <joseph@codesourcery.com>
20436
20437 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20438 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20439 to just #else.
20440 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20441 [!__GLIBC_HAVE_LONG_LONG] case.
20442 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20443 condition to just #else.
20444 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20445 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20446 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20447 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20448 unconditional.
20449 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20450 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20451 #elif condition to just #else.
20452 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20453 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20454 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20455 #elif condition to just #else.
20456
0e8529e9
SE
204572013-01-11 Steve Ellcey <sellcey@mips.com>
20458
20459 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20460 (EF_MIPS_ARCH_64): Fix value.
20461 (EF_MIPS_ARCH_32R2): New.
20462 (EF_MIPS_ARCH_64R2): New.
20463
740b3dbe
L
204642013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20465
20466 * Makeconfig (+link-pie-before-libc): New.
20467 (+link-pie-after-libc): Likewise.
20468 (+link-pie-tests): Likewise.
20469 (+link-pie): Rewritten.
20470 (link-before-libc): Remove $(config-LDFLAGS).
20471 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20472 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20473 (config-LDFLAGS): Renamed to ...
20474 (rtld-LDFLAGS): This.
20475 (rtld-tests-LDFLAGS): New macro.
20476 (link-libc-rpath-link): Likewise.
20477 (link-libc-tests-rpath-link): Likewise.
20478 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20479 (link-libc): Prepand $(link-libc-rpath-link).
20480 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20481 (test-program-prefix): New macro.
20482 (test-via-rtld-prefix): Likewise.
20483 (test-program-cmd): Likewise.
20484 (host-test-program-cmd): Likewise.
20485 * Makefile ($(common-objpfx)testrun.sh): Replace
20486 $(run-program-prefix) with $(test-program-prefix).
20487 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20488 $(rtld-LDFLAGS).
20489 ($(common-objpfx)shlib.lds): Likewise.
20490 (build-module-helper): Likewise.
20491 ($(common-objpfx)format.lds): Likewise.
20492 * Rules (binaries-pie-tests): New.
20493 (binaries-pie-notests): Likewise.
20494 (binaries-pie): Rewritten.
20495 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20496 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20497 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20498 (make-test-out): Replace $(host-built-program-cmd) with
20499 $(host-test-program-cmd).
20500 * config.make.in (build-hardcoded-path-in-tests): New variable.
20501 * configure.in (--enable-hardcoded-path-in-tests): New configure
20502 option.
20503 (hardcoded_path_in_tests): New AC_SUBST.
20504 * configure: Regenerated.
20505 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20506 $(built-program-cmd) with $(test-program-cmd).
20507 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20508 (test_program_cmd): This.
20509 * elf/Makefile ($(objpfx)order.out): Run test with
20510 $(test-program-prefix).
20511 ($(objpfx)order2.out): Likewise.
20512 ($(objpfx)tst-initorder.out): Likewise.
20513 ($(objpfx)tst-initorder2.out): Likewise.
20514 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20515 $(test-program-cmd).
20516 ($(objpfx)tst-array1-static.out): Likewise.
20517 ($(objpfx)tst-array2.out): Likewise.
20518 ($(objpfx)tst-array3.out): Likewise.
20519 ($(objpfx)tst-array4.out): Likewise.
20520 ($(objpfx)tst-array5.out): Likewise.
20521 ($(objpfx)tst-array5-static.out): Likewise.
20522 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20523 $(test-program-cmd).
20524 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20525 $(run-program-prefix) with $(test-program-prefix).
20526 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20527 (test_program_prefix): This.
20528 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20529 $(run-program-prefix) with $(test-program-prefix).
20530 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20531 (test_program_prefix): This.
20532 * iconvdata/tst-tables.sh: Likewise.
20533 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20534 $(run-program-prefix) with $(test-program-prefix).
20535 ($(objpfx)tst-translit.out): Likewise.
20536 ($(objpfx)tst-gettext2.out): Likewise.
20537 ($(objpfx)tst-gettext4.out): Likewise.
20538 ($(objpfx)tst-gettext6.out): Likewise.
20539 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20540 (test_program_prefix): This.
20541 * intl/tst-gettext2.sh: Likewise.
20542 * intl/tst-gettext4.sh Likewise.
20543 * intl/tst-gettext6.sh: Likewise.
20544 * intl/tst-translit.sh: Likewise.
20545 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20546 with $(test-program-cmd).
20547 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20548 $(run-program-prefix) with $(test-program-prefix).
20549 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20550 (test_program_prefix): This.
20551 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20552 $(run-program-prefix) with $(test-program-prefix).
20553 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20554 (test_program_prefix): This.
20555 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20556 * posix/Makefile ($(objpfx)globtest.out): Replace
20557 $(run-via-rtld-prefix) and $(test-wrapper) with
20558 $(test-program-prefix) and $(test-via-rtld-prefix).
20559 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20560 $(test-program-prefix).
20561 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20562 $(host-test-program-cmd).
20563 (tst-spawn-ARGS): Likewise.
20564 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20565 $(test-program-prefix).
20566 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20567 (test_via_rtld_prefix): This.
20568 (test_wrapper): Renamed to ...
20569 (test_program_prefix): This.
20570 (run_program_prefix): Replaced by test_program_prefix.
20571 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20572 (test_program_prefix): This.
20573 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20574 with $(host-test-program-cmd).
20575 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20576 $(run-program-prefix) with $(test-program-prefix).
20577 ($(objpfx)tst-printf.out): Likewise.
20578 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20579 $(test-program-cmd).
20580 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20581 (test_program_prefix): This.
20582 * stdio-common/tst-unbputc.sh: Likewise.
20583 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20584 $(run-program-prefix) with $(test-program-prefix).
20585 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20586 (test_program_prefix): This.
20587 * string/Makefile ($(objpfx)tst-svc.out): Replace
20588 $(built-program-cmd) with $(test-program-cmd).
20589
c6fe55cf
AJ
205902013-01-11 Andreas Jaeger <aj@suse.de>
20591
20592 [BZ #15003]
20593 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20594 value. Sync with Linux 3.7.
20595
9e6919c8
DM
205962013-01-10 David S. Miller <davem@davemloft.net>
20597
20598 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20599 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20601
1c9f1a02
RM
206022013-01-10 Roland McGrath <roland@hack.frob.com>
20603
20604 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20605 never set.
20606 * configure: Regenerated.
20607
b9de2dde
DM
206082013-01-10 David S. Miller <davem@davemloft.net>
20609
20610 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20611 sparc V9 rather than using V8 code.
20612 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20613 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20614
e7f68ef4
RM
206152013-01-10 Roland McGrath <roland@hack.frob.com>
20616
20617 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20618 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20619 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20620 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20621 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20622 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20623 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20624 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20625 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20626 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20627 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20628 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20629 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20630 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20631 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20632 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20633 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20634 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20635 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20636 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20637 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20638 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20639 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20640 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20641 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20642 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20643 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20644
5a47cc9c
DM
206452013-01-10 David S. Miller <davem@davemloft.net>
20646
20647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20648
4cf8f209
L
206492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20650
20651 * posix/Makefile (tests-static): New variable.
20652 (tests): Add $(tests-static).
20653 (tst-exec-static-ARGS): New variable.
20654 (tst-spawn-static-ARGS): Likewise.
20655 * posix/tst-exec-static.c: New file.
20656 * posix/tst-spawn-static.c: Likewise.
20657 * posix/tst-exec.c: Support run directly.
20658 * posix/tst-spawn.c: Likewise.
20659
fed0faa1
JM
206602013-01-10 Joseph Myers <joseph@codesourcery.com>
20661
828beb13
JM
20662 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20663 long.
20664 * math/bits/mathcalls.h (llrint): Likewise.
20665 (llround): Likewise.
20666 * stdlib/stdlib.h (struct drand48_data): Likewise.
20667 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20668 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20669 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20670 Likewise.
20671 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20672 Likewise.
20673 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20674 (elf_greg_t): Likewise.
20675 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20676 (__jmp_buf): Likewise.
20677 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20678 definitions.
20679 (llrint): Likewise, for all definitions.
20680 (llrintl): Likewise.
20681
fed0faa1
JM
20682 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20683 Remove [__GNUC__] condition.
20684 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20685 condition to just [__USE_ISOC99].
20686 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20687
1a20cb20
L
206882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20689
20690 [BZ #14200]
20691 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20692 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20693 defined.
20694 (_POSIX_V6_ILP32_OFF32): Likewise.
20695 (_XBS5_ILP32_OFF32): Likewise.
20696 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20697 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20698
751b85f7
SP
206992013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20700
7490eb81
SP
20701 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20702
751b85f7
SP
20703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20704 doubles __mpexp_twomm1. Adjust usage.
20705 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20706 Remove.
20707
988197f0
AS
207082013-01-10 Andreas Schwab <schwab@suse.de>
20709
20710 [BZ #14964]
20711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20712 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20713
e83d7298
DM
207142013-01-09 David S. Miller <davem@davemloft.net>
20715
034ed64b 20716 [BZ #15003]
57f41c40
AS
20717 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20718 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20719 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20720 (TCP_FASTOPEN): Define.
e83d7298
DM
20721 (tcp_repair_opt): New structure.
20722 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20723 enum values.
57f41c40
AS
20724 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20725 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20726 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20727 (tcp_cookie_transactions): New structure.
20728
d5e0b9bd
AB
207292013-01-09 Anton Blanchard <anton@samba.org>
20730
20731 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20732 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20734 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20735
0c07e3ea
JM
207362013-01-09 Joseph Myers <joseph@codesourcery.com>
20737
20738 * include/features.h (__USE_ANSI): Remove.
20739
232f7002
RM
207402013-01-09 Roland McGrath <roland@hack.frob.com>
20741
ad98e30c
RM
20742 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20743
232f7002
RM
20744 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20745
950c99ca
SP
207462013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20747
b5792741
SP
20748 * sysdeps/s390/fpu/libm-test-ulps: Update.
20749
47cf2278
SP
20750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20751
950c99ca
SP
20752 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20753 (__acr): Likewise.
20754 (__cpy): Likewise.
20755 (norm): Likewise.
20756 (denorm): Likewise.
20757 (__mp_dbl): Likewise.
20758 (__dbl_mp): Likewise.
20759 (add_magnitudes): Likewise.
20760 (sub_magnitudes): Likewise.
20761 (__add): Likewise.
20762 (__sub): Likewise.
20763 (__mul): Likewise.
20764 (__inv): Likewise.
20765 (__dvd): Likewise.
20766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20767 (__acr): Likewise.
20768 (__cpy): Likewise.
20769 (norm): Likewise.
20770 (denorm): Likewise.
20771 (__mp_dbl): Likewise.
20772 (__dbl_mp): Likewise.
20773 (add_magnitudes): Likewise.
20774 (sub_magnitudes): Likewise.
20775 (__add): Likewise.
20776 (__sub): Likewise.
20777 (__mul): Likewise.
20778 (__inv): Likewise.
20779 (__dvd): Likewise.
20780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20781 (__acr): Likewise.
20782 (__cpy): Likewise.
20783 (norm): Likewise.
20784 (denorm): Likewise.
20785 (__mp_dbl): Likewise.
20786 (__dbl_mp): Likewise.
20787 (add_magnitudes): Likewise.
20788 (sub_magnitudes): Likewise.
20789 (__add): Likewise.
20790 (__sub): Likewise.
20791 (__mul): Likewise.
20792 (__inv): Likewise.
20793 (__dvd): Likewise.
20794
eede9df9
JM
207952013-01-08 Joseph Myers <joseph@codesourcery.com>
20796
20797 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20798 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20799 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20800 2 && __USE_EXTERN_INLINES]: Likewise.
20801
c40ea3d9
AJ
208022013-01-08 Andreas Jaeger <aj@suse.de>
20803
20804 [BZ# 14985]
20805 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20806 Remove.
20807 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20808 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20809
2ccdea26
AB
208102013-01-07 Anton Blanchard <anton@samba.org>
20811
20812 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20813 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20814 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20815 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20816 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20818 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20819 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20821 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20822 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20825 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20826 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20828 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20829 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20830 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20831 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20832 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20833 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20835 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20836 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20837 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20838 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20841 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20842 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20846 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20847 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20848 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20850 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20852 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20854 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20855
a9708fed
JM
208562013-01-07 Joseph Myers <joseph@codesourcery.com>
20857
375607b9
JM
20858 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20859 (__MALLOC_PMT): Likewise.
20860 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20861 [__GNUC__], only on [_LIBC].
20862 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20863 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20864 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20865 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20866 forward declaration.
20867 (realloc_hook_ini): Likewise.
20868 (memalign_hook_ini): Likewise.
20869 (__libc_memalign): Do not use __MALLOC_PMT in variable
20870 declaration.
20871 (__libc_valloc): Likewise.
20872 (__libc_pvalloc): Likewise.
20873 (__libc_calloc): Likewise.
20874 (__posix_memalign): Likewise.
20875
a9708fed
JM
20876 [BZ #14996]
20877 * math/s_casinh.c: Include <float.h>.
20878 (__casinh): Do not do computation with squaring and square root
20879 for large arguments.
20880 * math/s_casinhf.c: Include <float.h>.
20881 (__casinhf): Do not do computation with squaring and square root
20882 for large arguments.
20883 * math/s_casinhl.c: Include <float.h>.
20884 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20885 (__casinhl): Do not do computation with squaring and square root
20886 for large arguments.
20887 * math/libm-test.inc (casin_test): Add more tests.
20888 (casinh_test): Likewise.
20889 * sysdeps/i386/fpu/libm-test-ulps: Update.
20890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20891
afec409a
L
208922013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20893
20894 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20895 (__x86_64_raw_data_cache_size): Likewise.
20896 (__x86_64_data_cache_size_half): Likewise.
20897 (__x86_64_raw_data_cache_size_half): Likewise.
20898 (__x86_64_shared_cache_size): Likewise.
20899 (__x86_64_raw_shared_cache_size): Likewise.
20900 (__x86_64_shared_cache_size_half): Likewise.
20901 (__x86_64_raw_shared_cache_size_half): Likewise.
20902 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20903 to ...
20904 (__x86_data_cache_size): This.
20905 (__x86_64_raw_data_cache_size): Renamed to ...
20906 (__x86_raw_data_cache_size): This.
20907 (__x86_64_data_cache_size_half): Renamed to ...
20908 (__x86_data_cache_size_half): This.
20909 (__x86_64_raw_data_cache_size_half): Renamed to ...
20910 (__x86_raw_data_cache_size_half): This.
20911 (__x86_64_shared_cache_size): Renamed to ...
20912 (__x86_shared_cache_size): This.
20913 (__x86_64_raw_shared_cache_size): Renamed to ...
20914 (__x86_raw_shared_cache_size): This.
20915 (__x86_64_shared_cache_size_half): Renamed to ...
20916 (__x86_shared_cache_size_half): This.
20917 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20918 (__x86_raw_shared_cache_size_half): This.
20919 * sysdeps/x86_64/memcpy.S: Updated.
20920 * sysdeps/x86_64/memset.S: Likewise.
20921 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20922 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20924
0b3986d0
DM
209252013-01-04 David S. Miller <davem@davemloft.net>
20926
20927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20928
e47686e9
AS
209292013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20930
d643bac1
AS
20931 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20932 1 to avoid redefinition warning.
20933 (__USE_GNU): Don't define.
20934 (init_signaling_nan): Protoize.
20935
e47686e9
AS
20936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20937
b18decba
SP
209382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20939
fffb407f
SP
20940 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20942 (__cpymn): Likewise.
20943 (norm): Remove commented code.
20944 (denorm): Likewise.
20945 (__mp_dbl): Likewise.
20946 (__inv): Likewise.
20947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20948 (__cpymn): Likewise.
20949 (norm): Remove commented code.
20950 (denorm): Likewise.
20951 (__mp_dbl): Likewise.
20952 (__inv): Likewise.
20953
b18decba
SP
20954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20955 mp_no value for 1.0 and 2.0.
20956 (norm): Use RADIXI instead of radixi.d.
20957 (denorm): Likewise.
20958 (__mul): Use 0.0 instead of zero.d.
20959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20960 mp_no value for 1.0 and 2.0.
20961 (norm): Use RADIXI instead of radixi.d.
20962 (denorm): Likewise.
20963 (__mul): Use 0.0 instead of zero.d.
20964
cdc1c96f
JM
209652013-01-04 Joseph Myers <joseph@codesourcery.com>
20966
20967 [BZ #14994]
20968 * math/s_casinh.c (__casinh): Reduce finite argument to first
20969 quadrant then set signs of results at the end.
20970 * math/s_casinhf.c (__casinhf): Likewise.
20971 * math/s_casinhl.c (__casinhl): Likewise.
20972 * math/libm-test.inc (casin_test): Add more tests.
20973 (casinh_test): Likewise.
20974 * sysdeps/i386/fpu/libm-test-ulps: Update.
20975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20976
302913e1
SP
209772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20978
6420d207
SP
20979 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20980
a9e48ab4
SP
20981 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20982
b7837264
SP
20983 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20984 declarations.
20985 (denorm): Likewise.
20986 (__mp_dbl): Likewise.
20987 (__inv): Likewise.
20988
f8af25d2
SP
20989 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20990 and adjust the header comment.
20991
302913e1
SP
20992 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20993 variable name from declaration.
20994
5d7dd1ca
L
209952013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20996
20997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20998 Initialize COMMON_CPUID_INDEX_7 element.
20999 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21000 (CPUID_RTM): Likewise.
21001 (HAS_RTM): Likewise.
21002 (COMMON_CPUID_INDEX_7): New enum.
21003
2f5f40f4
AS
210042013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21005
21006 [BZ #14981]
21007 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21008 size is zero, record memory as freed.
21009
4056f4a0
AJ
210102013-01-03 Andreas Jaeger <aj@suse.de>
21011
21012 * po/ia.po: Add new Interlingua translation.
21013
ab15736f 210142012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21015
21016 * locale/programs/localedef.c: Fix description of '--posix' flag.
21017
568035b7
JM
210182013-01-02 Joseph Myers <joseph@codesourcery.com>
21019
e6898b8d
JM
21020 * NEWS: Update dates in second copyright notice.
21021 * README: Update copyright dates in example.
21022 * manual/libc.texinfo: Update copyright dates.
21023 * scripts/test-installation.pl: Update copyright date in --version
21024 output.
21025
0e2f9562
JM
21026 * hurd/ctty-input.c: Fix copyright notice formatting.
21027 * hurd/ctty-output.c: Likewise.
21028 * hurd/dtable.c: Likewise.
21029 * hurd/hurd-raise.c: Likewise.
21030 * hurd/hurdprio.c: Likewise.
21031 * hurd/msgportdemux.c: Likewise.
21032 * misc/sys/file.h: Likewise.
21033 * misc/sys/ioctl.h: Likewise.
21034 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21035 * sysdeps/mach/hurd/chdir.c: Likewise.
21036 * sysdeps/mach/hurd/fchdir.c: Likewise.
21037 * sysdeps/mach/hurd/rename.c: Likewise.
21038 * sysdeps/mach/hurd/rmdir.c: Likewise.
21039 * sysdeps/mach/hurd/seekdir.c: Likewise.
21040 * sysdeps/mach/hurd/setsid.c: Likewise.
21041 * sysdeps/posix/wait3.c: Likewise.
21042
568035b7
JM
21043 * All files with FSF copyright notices: Update copyright dates
21044 using scripts/update-copyrights.
21045 * intl/plural.c: Regenerated.
21046 * locale/programs/charmap-kw.h: Likewise.
21047 * locale/programs/locfile-kw.h: Likewise.
21048
da08f647
SP
210492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
0f5477af
SP
21051 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21052 four values.
21053
44e0d4c2
SP
21054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21055 calculation loop and add branch prediction.
21056
4d55b4e5
SP
21057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21058 check access beyond bounds of m1np.
21059
da08f647
SP
21060 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21061 MPTWO.
21062 (__inv): Remove local variable MPTWO to use the global
21063 constant.
21064 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21065 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21066 variable MPTWO.
21067 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21068 MP3HALFS static const.
21069
8e051029
DM
210702013-01-01 David S. Miller <davem@davemloft.net>
21071
21072 * po/ca.po: Update from translation team.
21073
f4cf5f2d
JM
210742013-01-01 Joseph Myers <joseph@codesourcery.com>
21075
21076 * scripts/update-copyrights: New file.
21077 * Makeconfig: Reformat copyright notice.
21078 * ctype/ctype.h: Likewise.
21079 * debug/swprintf_chk.c: Likewise.
21080 * elf/dl-cache.c: Likewise.
21081 * elf/dl-debug.c: Likewise.
21082 * elf/dl-object.c: Likewise.
21083 * grp/initgroups.c: Likewise.
21084 * hurd/Makefile: Likewise.
21085 * hurd/hurd/signal.h: Likewise.
21086 * hurd/hurdfault.c: Likewise.
21087 * hurd/hurdioctl.c: Likewise.
21088 * hurd/hurdlookup.c: Likewise.
21089 * hurd/intr-msg.c: Likewise.
21090 * iconv/gconv_open.c: Likewise.
21091 * libio/swprintf.c: Likewise.
21092 * locale/lc-ctype.c: Likewise.
21093 * locale/nl_langinfo.c: Likewise.
21094 * mach/Machrules: Likewise.
21095 * mach/Makefile: Likewise.
21096 * malloc/obstack.h: Likewise.
21097 * manual/Makefile: Likewise.
21098 * manual/tsort.awk: Likewise.
21099 * misc/bits/stab.def: Likewise.
21100 * nis/nis_print_group_entry.c: Likewise.
21101 * nis/nis_table.c: Likewise.
21102 * nis/nss_compat/compat-pwd.c: Likewise.
21103 * nis/nss_compat/compat-spwd.c: Likewise.
21104 * po/Makefile: Likewise.
21105 * posix/fnmatch.c: Likewise.
21106 * posix/regex.h: Likewise.
21107 * resolv/Makefile: Likewise.
21108 * resolv/nss_dns/dns-network.c: Likewise.
21109 * resolv/res_hconf.c: Likewise.
21110 * scripts/gen-sorted.awk: Likewise.
21111 * soft-fp/soft-fp.h: Likewise.
21112 * stdio-common/printf.h: Likewise.
21113 * stdlib/monetary.h: Likewise.
21114 * stdlib/random.c: Likewise.
21115 * stdlib/random_r.c: Likewise.
21116 * sysdeps/generic/Makefile: Likewise.
21117 * sysdeps/gnu/Makefile: Likewise.
21118 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21146 * sysdeps/mach/hurd/errnos.awk: Likewise.
21147 * sysdeps/mach/hurd/fork.c: Likewise.
21148 * sysdeps/mach/hurd/getcwd.c: Likewise.
21149 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21150 * sysdeps/mach/hurd/mmap.c: Likewise.
21151 * sysdeps/mach/hurd/utimes.c: Likewise.
21152 * sysdeps/mach/hurd/xmknod.c: Likewise.
21153 * sysdeps/posix/profil.c: Likewise.
21154 * sysdeps/posix/readdir_r.c: Likewise.
21155 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21156 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21157 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21158 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21161 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21162 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21164 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21165 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21166 * sysdeps/pthread/lio_listio.c: Likewise.
21167 * sysdeps/sparc/dl-procinfo.h: Likewise.
21168 * sysdeps/unix/i386/sysdep.S: Likewise.
21169 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21170 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21171 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21172 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21174 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21175 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21176 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21177 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21178 * sysdeps/wordsize-32/divdi3.c: Likewise.
21179 * time/sys/time.h: Likewise.
21180 * wcsmbs/Makefile: Likewise.
21181
0549fbba
DM
211822013-01-01 David S. Miller <davem@davemloft.net>
21183
a141f1a7
DM
21184 * po/fr.po: Update from translation team.
21185
0549fbba
DM
21186 * catgets/gencat.c: Update copyright year.
21187 * csu/version.c: Likewise.
21188 * debug/catchsegv.sh: Likewise.
21189 * debug/pcprofiledump.c: Likewise.
21190 * debug/xtrace.sh: Likewise.
21191 * elf/ldconfig.c: Likewise.
21192 * elf/ldd.bash.in: Likewise.
21193 * elf/pldd.c: Likewise.
21194 * elf/sotruss.ksh: Likewise.
21195 * elf/sprof.c: Likewise.
21196 * iconv/iconv_prog.c: Likewise.
21197 * iconv/iconvconfig.c: Likewise.
21198 * locale/programs/locale.c: Likewise.
21199 * locale/programs/localedef.c: Likewise.
21200 * login/programs/pt_chown.c: Likewise.
21201 * malloc/memusage.sh: Likewise.
21202 * malloc/memusagestat.c: Likewise.
21203 * malloc/mtrace.pl: Likewise.
21204 * nscd/nscd.c: Likewise.
21205 * nss/getent.c: Likewise.
21206 * nss/makedb.c: Likewise.
21207 * posix/getconf.c: Likewise.
21208
18ea052c
SP
212092012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21210
21211 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21212 numbers.
21213
9c89fca6
MF
212142012-12-30 Mike Frysinger <vapier@gentoo.org>
21215
21216 * math/bits/mathcalls.h (modf): Use __nonnull.
21217
085ec079
SP
212182012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
21220 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21221 (split): Use macro CN instead of the bare value.
21222 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21223 could be used.
21224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21225 instead of the bare value.
21226 (power1): Likewise.
21227
6d9f97e1
SP
212282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21229
d63f73be
SP
21230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21231 __ATAN_TWOM.
21232 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21233
6d9f97e1
SP
21234 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21235 their values.
21236 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21237 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21238 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21239 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21240
4c4febf5
AJ
212412012-12-28 Andreas Jaeger <aj@suse.de>
21242
af5843ef
AJ
21243 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21244 values are from Linux 3.7.
21245
4c4febf5
AJ
21246 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21247 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21248
99136f82
SP
212492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21250
2f216c3c 21251 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21252 TRUE case.
21253
99136f82
SP
21254 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21255 (norm): Likewise.
21256 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21257 variables with preprocessor constants.
21258 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21259 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21260 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21261
7fffbdff
BH
212622012-12-27 Bruno Haible <bruno@clisp.org>
21263
21264 [BZ #14317]
21265 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21266 only if needed.
21267
b76eb5f0
SP
212682012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21269
31a7fe5c
SP
21270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21271 and use variable directly.
21272 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21273
b76eb5f0
SP
21274 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21275 MPONE.
21276 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21277 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21278 variable MPONE.
21279 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21281 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21282 include directive. Remove local variable MPONE.
21283 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21286
2c8bfe7d
DM
212872012-12-25 David S. Miller <davem@davemloft.net>
21288
21289 * version.h (RELEASE): Set to "development".
21290 (VERSION): Set to "2.17.90".
21291 * NEWS: Add 2.18 section.
21292
147d03b0
DM
212932012-12-21 David S. Miller <davem@davemloft.net>
21294
21295 * po/hr.po: Update from translation team.
21296
a8ebb2b9
AK
212972012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21298
21299 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21300
95b4f1b6
SE
213012012-12-19 Steve Ellcey <sellcey@mips.com>
21302
b2d94007 21303 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21304
cedb2a90
MS
213052012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21306
21307 * manual/contrib.texi (Contributors): Spelling correction.
21308
bbf527d6
DM
213092012-12-15 David S. Miller <davem@davemloft.net>
21310
21311 * po/ru.po: Update from translation team.
21312
bc38c906
DM
213132012-12-13 David S. Miller <davem@davemloft.net>
21314
85429b1a
DM
21315 * NEWS: Mention IFUNC testsuite enhancements.
21316
d283e353
DM
21317 * po/pl.po: Update from translation team.
21318 * po/bg.po: Likewise.
21319
bc38c906
DM
21320 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21321 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21322
a181b0d7
DM
213232012-12-11 David S. Miller <davem@davemloft.net>
21324
4641d57e
DM
21325 * po/sv.po: Update from translation team.
21326
f7bc6495
DM
21327 * po/vi.po: Update from translation team.
21328
6fc9048f
DM
21329 * po/cs.po: Update from translation team.
21330
a181b0d7
DM
21331 * po/de.po: Update from translation team.
21332 * po/eo.po: Likewise.
21333 * po/nl.po: Likewise.
21334
f70bfe80
SP
213352012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21336
3c8b4190
SP
21337 [BZ #14246]
21338 * manual/argp.texi (Argp Helper Functions): Move node to follow
21339 Argp Parsing State.
21340
f70bfe80
SP
21341 [BZ #14872]
21342 * manual/conf.texi (Limits on File System Capacity): Mention if
21343 terminating null is included in the max size.
21344
188f0adf
AJ
213452012-12-10 Andreas Jaeger <aj@suse.de>
21346
21347 * po/cs.po: Update from translation team.
21348
56e7d3ad
SP
213492012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21350
21351 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21352 void pointer and cast to uintptr_t.
21353 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21354 path.
21355 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21356 * sysdeps/s390/s390-64/memset.S: Likewise.
21357
76f2d2ea 213582012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21359
21360 [BZ #14833]
21361 * menual/message.texi (Message Translation): Fix typos.
21362 (Helper programs for gettext): Likewise.
21363
67cbf9a2
AS
213642012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21365
21366 [BZ #14898]
21367 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21368 Change to -1.
21369
682d0e9a
DM
213702012-12-07 David S. Miller <davem@davemloft.net>
21371
21372 * po/libc.pot: Update.
21373
573cd484
RH
213742012-12-07 Richard Henderson <rth@redhat.com>
21375
7e9da188 21376 [BZ #10114]
573cd484
RH
21377 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21378 normal/normal case to before the switch.
21379 (_FP_DIV): Likewise.
21380
e933a943
MF
213812012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21382 Mike Frysinger <vapier@gentoo.org>
21383
21384 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21385 check for __NR_fadvise64_64.
21386
82123268
CM
213872012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21388
21389 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21390 0, not just to plain "0" as a statement.
21391 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21392 with cw.
21393
d9814526
JM
213942012-12-06 Joseph Myers <joseph@codesourcery.com>
21395
21396 * NEWS: Use sourceware.org in Bugzilla URL.
21397
7728c574
SP
213982012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21399
f16946dd
SP
21400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21401 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21402
5704bbcb
SP
21403 * stdio-common/tst-put-error.c (do_test): Add newline to the
21404 padded test to ensure flush.
21405
17aa0516
JL
214062012-12-05 Jeff Law <law@redhat.com>
21407
21408 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21409
363313b5
JM
214102012-12-05 Joseph Myers <joseph@codesourcery.com>
21411
effbd42a
JM
21412 * README: Don't refer to ports add-on as distributed separately.
21413 Mention AArch64 in list of systems supported in the ports add-on.
21414
87600365
JM
21415 * LICENSES: Add more non-FSF copyright and license notices.
21416
a0d7066a
JM
21417 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21418 ((unused)).
21419
66ca5a5b
JM
21420 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21421
363313b5
JM
21422 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21423 10000 as width of padded output.
21424
b37984ad
JM
214252012-12-04 Joseph Myers <joseph@codesourcery.com>
21426
9003570a
JM
21427 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21428
b37984ad
JM
21429 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21430 variable LX with __attribute__ ((unused)).
21431 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21432 Likewise.
21433 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21435 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21436 with __attribute__ ((unused)).
21437
c8df52ec
DM
214382012-12-04 David S. Miller <davem@abraco.davemloft.net>
21439
21440 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21441
b3b099af
JM
214422012-12-04 Joseph Myers <joseph@codesourcery.com>
21443
c33aa6e3
JM
21444 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21445 (CFLAGS-nldbl-acos.c): New variable.
21446 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21540 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21541 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21542 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21543
20f0018d
JM
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21545 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21546
b3b099af
JM
21547 [BZ #14914]
21548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21549 whole low double instead of just low 47 bits when splitting values
21550 into two parts.
21551
029264d1
AM
215522012-12-03 Allan McRae <allan@archlinux.org>
21553
21554 * manual/stdio.texi (Predefined Printf Handlers): Remove
21555 @hsep and @vsep usage.
21556
c9d6789e
MF
215572012-12-03 Mike Frysinger <vapier@gentoo.org>
21558
21559 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21560 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21561
4b7634a5
JL
215622012-12-03 Jeff Law <law@redhat.com>
21563
21564 * time/sys/time.h (settimeofday): Do not mark TV argument
21565 as __nonnull.
21566
eb6cbd24
MF
215672012-12-01 Mike Frysinger <vapier@gentoo.org>
21568
21569 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21570 when currently writing and seek to current position when not.
21571 * libio/Makefile (tests): Remove bug-fclose1.
21572 * libio/bug-fclose1.c: Delete.
21573
f638872a
JM
215742012-12-01 Joseph Myers <joseph@codesourcery.com>
21575
21576 * manual/arith.texi (feenableexcept): Fix typo.
21577 (fedisableexcept): Likewise.
21578
48085d14
RM
215792012-11-30 Roland McGrath <roland@hack.frob.com>
21580
21581 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21582 second, differently-typed declaration, rather than a cast.
21583
1a538b9f
SP
215842012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21585
21586 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21587 * include/rpc/svc.h: ... here.
21588
d07f2ff1 215892012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21590
21591 [BZ #13013]
21592 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21593 depending n and resplen2 to catch cases where answer
21594 equals answerp2.
21595
c93ec1f0
CD
215962012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21597
21598 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21599 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21600
37db69de
MF
216012012-11-29 Mike Frysinger <vapier@gentoo.org>
21602
21603 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21604
e10c4e4f
RM
216052012-11-29 Roland McGrath <roland@hack.frob.com>
21606
21607 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21608
2af1b328
JL
216092012-11-28 Jeff Law <law@redhat.com>
21610
21611 [BZ #13761]
21612 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21613 dataset_temporary. Track alloca usage into alloca_used.
21614 If dataset is large allocate and release it via malloc/free.
21615
111db5b1
FW
216162012-06-04 Florian Weimer <fweimer@redhat.com>
21617
f06cc227 21618 [BZ #14197]
111db5b1
FW
21619 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21620
dd694abd
DM
216212012-11-28 David S. Miller <davem@davemloft.net>
21622
21623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21624
9984dd01
JM
216252012-11-28 Joseph Myers <joseph@codesourcery.com>
21626
21627 [BZ #14803]
21628 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21629 of pi/2 rounded to nearest to 64 bits.
21630 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21631 nearest to 64 bits.
21632 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21633 bits.
21634
14bc93a9
JL
216352012-11-28 Jeff Law <law@redhat.com>
21636 Martin Osvald <mosvald@redhat.com>
21637
21638 [BZ #14889]
21639 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21640 * sunrpc/svc.c: Include time.h.
21641 (__svc_accept_failed): New function.
21642 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21643 any reason other than EINTR, call __svc_accept_failed.
21644 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21645 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21646
e3c6aa3a
AS
216472012-11-28 Andreas Schwab <schwab@suse.de>
21648
21649 * scripts/abilist.awk: Also handle indirect functions in .opd
21650 section.
21651
1bead169
JM
216522012-11-28 Joseph Myers <joseph@codesourcery.com>
21653
21654 [BZ #13881]
21655 * sysdeps/x86/fpu/powl_helper.c: New file.
21656 * sysdeps/x86/fpu/Makefile: Likewise.
21657 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21658 (p3): New object.
21659 (__ieee754_powl): Use __powl_helper for finite arguments except
21660 integer exponents below 8.
21661 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21662 (p3): New object.
21663 (__ieee754_powl): Use __powl_helper for finite arguments except
21664 integer exponents below 8.
21665 * math/libm-test.inc (pow_test): Add more tests and enable some
21666 previously disabled tests.
21667 * sysdeps/i386/fpu/libm-test-ulps: Update.
21668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21669
0817d63d
SP
216702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21671 Carlos O'Donell <carlos_odonell@mentor.com>
21672
21673 * nss/makedb.c (is_prime): Assert that input is odd and greater
21674 than 4. Note that fact in a comment too.
21675 (next_prime): Add 4 to input.
21676
de2fd463
SP
216772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21678
21679 [BZ #11741]
21680 * libio/Makefile (tests): Add test case tst-fwrite-error.
21681 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21682 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21683 * libio/tst-fwrite-error.c: New test case.
21684
c515fb51
L
216852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21686
21687 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21688 before casting to void *.
21689 * include/libc-internal.h (__pointer_type): New macro.
21690 (__integer_if_pointer_type_sub): Likewise.
21691 (__integer_if_pointer_type): Likewise.
21692 (cast_to_integer): Likewise.
21693 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21694 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21695 before casting to atomic64_t.
21696 (atomic_exchange_acq): Likewise.
21697 (__arch_exchange_and_add_body): Likewise.
21698 (__arch_add_body): Likewise.
21699 (atomic_add_negative): Likewise.
21700 (atomic_add_zero): Likewise.
21701
4cf77aa9
JM
217022012-11-26 Joseph Myers <joseph@codesourcery.com>
21703
21704 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21705 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21706 (add_fdes): Likewise.
21707 (linear_search_fdes): Likewise.
21708 (binary_search_unencoded_fdes): Likewise.
21709
d260b3b4
AS
217102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21711
21712 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21713
67060746
AC
217142012-11-24 Adam Conrad <adconrad@0c3.net>
21715
21716 * configure.in: Autodetect C++ header directories.
21717 * configure: Regenerated.
21718
800938a1
MF
217192012-11-23 Mike Frysinger <vapier@gentoo.org>
21720
21721 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21722
4e6e34e6
AS
217232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21724
21725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21726
7c7feb47
JM
217272012-11-22 Joseph Myers <joseph@codesourcery.com>
21728
7184dcdf
JM
21729 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21730 LDBL_MANT_DIG == 106]: Disable some tests.
21731 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21732 Likewise.
21733 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21734 Likewise.
21735
0a42601f
JM
21736 [BZ #14871]
21737 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21738 input for small inputs. Return +/- pi/2 for large inputs.
21739 * math/libm-test.inc (atan_test): Add more tests.
21740
79c9b9fe
JM
21741 * sysdeps/generic/unwind-dw2-fde-glibc.c
21742 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21743 __attribute__ ((unused)).
21744
c60d3bf2
JM
21745 [BZ #14645]
21746 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21747 x * y if x and y are nonzero and z is zero.
21748
ef1e0867
JM
21749 [BZ #14811]
21750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21751 nonzero exponents with absolute value below 0x1p-117 to +/-
21752 0x1p-117.
21753
1468ded3
JM
21754 [BZ #14869]
21755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21756 up arguments below 2**-450, not just those below 2**-500.
21757 * math/libm-test.inc (hypot_test): Add another test.
21758
8e27e3cc
JM
21759 [BZ #14868]
21760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21761 Return a+b for ratio over 2**120, not 2**60.
21762 * math/libm-test.inc (hypot_test): Add another test.
21763
c9c0279b
JM
21764 * math/libm-test.inc (clog_test): Use
21765 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21766 (clog10_test): Likewise.
21767
7c7feb47
JM
21768 [BZ #6778]
21769 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21770
fff1530e
AS
217712012-11-22 Andreas Schwab <schwab@suse.de>
21772
21773 * sysdeps/i386/fpu/libm-test-ulps: Update.
21774
94558d30
PT
217752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21776
21777 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21778 printf output with newline.
21779
7e1be741
L
217802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21781
6bfea974
L
21782 [BZ #14865]
21783 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21784 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21785 -z nodlopen, -z initfirst and -z execstack support.
21786 * configure: Regenerated.
21787
7e1be741
L
21788 * elf/elf.h (DF_1_NODIRECT): New macro.
21789 (DF_1_IGNMULDEF): Likewise.
21790 (DF_1_NOKSYMS): Likewise.
21791 (DF_1_NOHDR): Likewise.
21792 (DF_1_EDITED): Likewise.
21793 (DF_1_NORELOC): Likewise.
21794 (DF_1_SYMINTPOSE): Likewise.
21795 (DF_1_GLOBAUDIT): Likewise.
21796 (DF_1_SINGLETON): Likewise.
21797 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21798 DT_1_SUPPORTED_MASK bits.
21799 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21800
105ce2ce
CD
218012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21802
21803 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21804
123be9de
TS
218052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21806
d072f3f7
TS
21807 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21808 macro.
21809
123be9de
TS
21810 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21811 (sendmmsg): Move declarations...
21812 * socket/sys/socket.h: ... here.
21813 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21814 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21815 include it from...
21816 * socket/recvmmsg.c: ... this new file.
21817 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21818 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21819 definition of __sendmmsg hidden.
21820 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21821 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21822 Move ENOSYS stub into and include it from...
21823 * socket/sendmmsg.c: ... this new file.
21824 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21825 (sysdep_routines): Move recvmmsg and sendmmsg...
21826 * socket/Makefile (routines): ... here.
21827 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21828 (GLIBC_PRIVATE): Add __sendmmsg.
21829 * include/sys/socket.h (__sendmmsg): Add declarations.
21830 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21831 sendmmsg.
21832
cf9a5d18
JM
218332012-11-20 Joseph Myers <joseph@codesourcery.com>
21834
21835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21836 variable I1 with __attribute__ ((unused)).
21837 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21838
ecd4caf9
JM
218392012-11-19 Joseph Myers <joseph@codesourcery.com>
21840
be14d48f
JM
21841 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21842 DUMMY variables with __attribute__ ((unused)).
21843
ecd4caf9
JM
21844 * bits/byteswap.h: Include <bits/types.h>.
21845 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21846
986cab95
PT
218472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21848
21849 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21850 string_t. Do not manually set errno.
21851 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21852 length with __strnlen. Make sure to both set errno and return it on
21853 failure.
21854
6d33cc9d
DM
218552012-11-19 David S. Miller <davem@davemloft.net>
21856
21857 With help from Joseph Myers.
21858 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21859 very large arguments properly.
21860 * math/libm-test.inc (atan_test): New tests.
21861 (atan2_test): New tests.
21862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21864
ee663277
JM
218652012-11-19 Joseph Myers <joseph@codesourcery.com>
21866
877f2d8e
JM
21867 [BZ #14856]
21868 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21869 Define to 3.
21870
116fc08a
JM
21871 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21872 [POSIX] (EADDRNOTAVAIL): Likewise.
21873 [POSIX] (EAFNOSUPPORT): Likewise.
21874 [POSIX] (EALREADY): Likewise.
21875 [POSIX] (ECONNABORTED): Likewise.
21876 [POSIX] (ECONNREFUSED): Likewise.
21877 [POSIX] (ECONNRESET): Likewise.
21878 [POSIX] (EDESTADDRREQ): Likewise.
21879 [POSIX] (EDQUOT): Likewise.
21880 [POSIX] (EHOSTUNREACH): Likewise.
21881 [POSIX] (EIDRM): Likewise.
21882 [POSIX] (EISCONN): Likewise.
21883 [POSIX] (ELOOP): Likewise.
21884 [POSIX] (EMULTIHOP): Likewise.
21885 [POSIX] (ENETDOWN): Likewise.
21886 [POSIX] (ENETUNREACH): Likewise.
21887 [POSIX] (ENOBUFS): Likewise.
21888 [POSIX] (ENODATA): Likewise.
21889 [POSIX] (ENOLINK): Likewise.
21890 [POSIX] (ENOMSG): Likewise.
21891 [POSIX] (ENOPROTOOPT): Likewise.
21892 [POSIX] (ENOSR): Likewise.
21893 [POSIX] (ENOSTR): Likewise.
21894 [POSIX] (ENOTCONN): Likewise.
21895 [POSIX] (ENOTSOCK): Likewise.
21896 [POSIX] (EOPNOTSUPP): Likewise.
21897 [POSIX] (EOVERFLOW): Likewise.
21898 [POSIX] (EPROTO): Likewise.
21899 [POSIX] (EPROTONOSUPPORT): Likewise.
21900 [POSIX] (EPROTOTYPE): Likewise.
21901 [POSIX] (ESTALE): Likewise.
21902 [POSIX] (ETIME): Likewise.
21903 [POSIX] (ETXTBSY): Likewise.
21904 [POSIX] (EWOULDBLOCK): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21906 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21907 [POSIX] (SEEK_CUR): Likewise.
21908 [POSIX] (SEEK_END): Likewise.
21909 [POSIX || UNIX98] (mode_t): Do not require.
21910 [POSIX] (off_t): Likewise.
21911 [POSIX] (pid_t): Likewise.
21912 [POSIX] (sys/stat.h): Do not allow header.
21913 [POSIX] (unistd.h): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21915 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21917 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21918 require.
21919 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21920 sigevent): Specify elements.
21921 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21922 entry.
21923 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21924 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21925
a483863f
JM
21926 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21927 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21928 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21929 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21930 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21931 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21932 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21933 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21935 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21936 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21937 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21938 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21939 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21940 Likewise.
21941 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21942 Likewise.
21943 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21944 Likewise.
21945 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21946 Likewise.
21947 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21948 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21949 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21950 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21952 Specify lower bound on value.
21953 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21954 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21955 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21956 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21957 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21958 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21959 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21960 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21961 value.
21962 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21963 as optional.
21964 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21965 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21966 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21967 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21968 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21969 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21971 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21973 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21975 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21978 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21979 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21980 entry.
21981 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21982 optional.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21985 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21986 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21987 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21989 Likewise.
21990 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21991 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21992 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21993 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21994 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21995 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21997 as optional.
21998 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21999 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22000 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22001 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22002 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22003 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22004 specify as optional.
22005 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22006 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22009 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22010 [XPG3] (NL_LANGMAX): Likewise.
22011 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22012 [POSIX || XPG3] (NL_NMAX): Likewise.
22013 [POSIX || XPG3] (NL_SETMAX): Likewise.
22014 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22015 [XPG3] (NZERO): Likewise.
22016 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22017 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22018 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22019 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22020 (REG_ERANGE): Expect.
22021 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22022 optional-constant.
22023 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22024 Use (void) in prototype.
22025 [POSIX] (*_t): Allow.
22026 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22027 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22028 (WRDE_BADVAL): Expect.
22029
5ba924e3
JM
22030 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22031 expect.
22032 [XPG3 || XPG4] (O_RSYNC): Likewise.
22033 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22034 Likewise.
22035 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22036 [XPG3 || XPG4] (sigqueue): Likewise.
22037 [XPG3 || XPG4] (sigtimedwait): Likewise.
22038 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22039 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22040 [XPG3 || XPG4] (vsnprintf): Likewise.
22041 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22042 Likewise.
22043 [XPG3 || XPG4] (blksize_t): Likewise.
22044 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22045 Likewise.
22046 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22047 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22048 [XPG3 || XPG4] (struct itimerspec): Likewise.
22049 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22050 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22051 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22052 [XPG3 || XPG4] (clockid_t): Likewise.
22053 [XPG3 || XPG4] (timer_t): Likewise.
22054 [XPG3 || XPG4] (clock_getres): Likewise.
22055 [XPG3 || XPG4] (clock_gettime): Likewise.
22056 [XPG3 || XPG4] (clock_settime): Likewise.
22057 [XPG3 || XPG4] (nanosleep): Likewise.
22058 [XPG3 || XPG4] (timer_create): Likewise.
22059 [XPG3 || XPG4] (timer_delete): Likewise.
22060 [XPG3 || XPG4] (timer_gettime): Likewise.
22061 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22062 [XPG3 || XPG4] (timer_settime): Likewise.
22063 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22064 [XPG3 || XPG4] (getlogin_r): Likewise.
22065 [XPG3 || XPG4] (pread): Likewise.
22066 [XPG3 || XPG4] (pthread_atfork): Likewise.
22067 [XPG3 || XPG4] (pwrite): Likewise.
22068
ee663277
JM
22069 [BZ #14835]
22070 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22071 <bits/siginfo.h>.
22072
942caa16
PT
220732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22074
e19af380
PT
22075 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22076 finalizing MALLSTREAM.
22077
942caa16
PT
22078 * sysdeps/mach/hurd/syncfs.c: New file.
22079
cfde9b46
SP
220802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22081
22082 [BZ #14719]
22083 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22084 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22085 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22086 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22087 (_nss_dns_gethostbyname4_r): Likewise.
22088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22089 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22090
f6da27e5
PH
220912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22092
22093 [BZ #13763]
22094 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22095
6665d4a2
SM
220962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22097
1f51ee92
SM
22098 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22099 * elf/cache.c (print_entry): Print ",AArch64" for
22100 FLAG_AARCH64_LIB64
22101
6665d4a2
SM
22102 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22103 * elf/cache.c (print_entry): Print ",hard-float" for
22104 FLAG_ARM_LIBHF.
22105
05b227bd
DM
221062012-11-18 David S. Miller <davem@davemloft.net>
22107
22108 With help from Joseph Myers.
22109 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22110 cutoff to 2**-13.
22111 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22112 cutoff to 2**-25.
22113 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22114 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22115 small.
22116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22117 * math/libm-test.inc (y0_test): New tests.
22118 (y1_test): New tests.
22119 * sysdeps/i386/fpu/libm-test-ulps: Update.
22120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22122
786b0b67
AS
221232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22124
22125 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22126 64-bit targets.
22127 * configure: Regenerated.
22128
8e18b86d
DM
221292012-11-17 David S. Miller <davem@davemloft.net>
22130
22131 [BZ #14811]
22132 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22133 nonzero exponents with absolute value below 0x1p-128 to +/-
22134 0x1p-128.
22135
531f1ae0
JM
221362012-11-17 Joseph Myers <joseph@codesourcery.com>
22137
12df29e2
JM
22138 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22139
150dc1a0
JM
22140 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22141
531f1ae0
JM
22142 * posix/getconf-speclist.c: New file.
22143 * posix/posix-envs.def: Likewise.
22144 * posix/confstr.c (START_ENV_GROUP): New macro.
22145 (END_ENV_GROUP): Likewise.
22146 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22147 (KNOWN_PRESENT_ENV_STRING): Likewise.
22148 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22149 (UNKNOWN_ENVIRONMENT): Likewise.
22150 (confstr): Include posix-envs.def instead of handling
22151 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22152 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22153 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22154 (END_ENV_GROUP): Likewise.
22155 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22156 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22157 (UNKNOWN_ENVIRONMENT): Likewise.
22158 (__sysconf): Include posix-envs.def instead of handling associated
22159 cases directly here.
22160 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22161 preprocessing getconf-speclist.c rather than running getconf or
22162 generating empty file.
22163
a93f9cbc
PT
221642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22165
22166 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22167
d64d9f87
AL
221682012-11-16 Andrej Lajovic <natrij@gmail.com>
22169
22170 [BZ #14672]
22171 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22172
447885eb
DM
221732012-11-16 David S. Miller <davem@davemloft.net>
22174
22175 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22176 smaller than LDBL_EPSILON/2.0L, just return xm1.
22177
bcbf9830
L
221782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22179
22180 * elf/tst-array1.c (init): Set constructor priority to 1000.
22181 (fini): Set destructor priority to 1000.
22182 * elf/tst-array2dep.c: Likewise.
22183
2b766585
SP
221842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22185
22186 [BZ #11741]
22187 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22188 (_IO_new_file_xsputn): Also return EOF if none of the input
22189 data was written when overflow failed.
22190 * libio/iopadn.c (_IO_padn): Likewise.
22191 * libio/iowpadn.c (_IO_wpadn): Likewise.
22192 * stdio-common/tst-put-error.c: Add copyright notice.
22193 (do_test): Add case for printing padded string.
22194 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22195 _IO_padn returned error.
22196 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22197 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22198 return EOF.
22199
b1848fde
SP
222002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22201
22202 * libio/libioP.h: Add comment note that the references to C++
22203 bits are now obsolete.
22204
2fd89785
MS
222052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22206
22207 * math/libm-test.inc (check_complex): Use asprintf.
22208
e3ea5409
JM
222092012-11-14 Joseph Myers <joseph@codesourcery.com>
22210
22211 * debug/pcprofiledump.c (print_version): Update copyright year.
22212 * malloc/memusagestat.c (print_version): Likewise.
22213
2e64d265
L
222142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22215
22216 [BZ #14831]
22217 * elf/Makefile (tests): Add tst-audit8.
22218 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22219 ($(objpfx)tst-audit8.out): New target.
22220 (tst-audit8-ENV): New variable.
22221 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22222 audit if l_reloc_result is NULL.
22223 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22224 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22225 * elf/tst-audit8.c: New file.
22226
c485e4d2
MS
222272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22228
22229 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22230 * misc/Makefile (CFLAGS-select.c): Define.
22231 * posix/Makefile (CFLAGS-pause.c): Define.
22232
3a0d900a
DM
222332012-11-13 David S. Miller <davem@davemloft.net>
22234
22235 * crypt/Makefile: Move test targets after toplevel Rules
22236 inclusion. Grab any necessary sysdep routines when linking.
22237 * crypt/md5.c (md5_process_block): Remove define, we will always
22238 name it __md5_process_block.
22239 (md5_finish_ctx): Update md5_process_block call.
22240 (md5_stream): Likewise.
22241 (md5_process_bytes): Likewise.
22242 (md5_process_block): Rename to __md5_process_block and move to ...
22243 * crypt/md5-block.c: ... here.
22244 * crypt/sha256.c (sha256_process_block): Move to ...
22245 * crypt/sha256-block.c: ... here.
22246 * crypt/sha512.c (sha512_process_block): Move to ...
22247 * crypt/sha512-block.c: ... here.
22248 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22249 path.
22250 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22251 * sysdeps/sparc/sparc64/multiarch/Makefile
22252 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22253 crypt subdir.
22254 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22256 multiarch changes.
22257 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22258 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22259 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22260 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22261 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22262 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22263 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22264 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22266 file.
22267 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22268 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22269 file.
22270 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22271
8ca89318
JM
222722012-11-13 Joseph Myers <joseph@codesourcery.com>
22273
e27d476a
JM
22274 * timezone/tzselect.ksh: Update from tzcode git revision
22275 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22276 * timezone/zdump.c: Likewise.
22277 * timezone/zic.c: Likewise.
22278 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22279 in TZVERSION setting, not $(PKGVERSION).
22280 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22281 REPORT_BUGS_TO settings.
22282
8ca89318
JM
22283 [BZ #14838]
22284 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22285 macro.
22286
47594329
MS
222872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22288
22289 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22290 detection to immediately after _FP_ROUND().
22291 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22292 bits are 0.
22293
640ac3f1
DM
222942012-11-11 David S. Miller <davem@davemloft.net>
22295
22296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22297 inttypes.h
22298 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22299 __close rather than their public counterparts.
22300
3d2577bb
JM
223012012-11-10 Joseph Myers <joseph@codesourcery.com>
22302
22303 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22304 file.
22305 [UNIX98] (sem_timedwait): Do not expect.
22306 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22307 [XPG4 || UNIX98] (sockatmark): Do not expect.
22308 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22309 (clock_getcpuclockid): Do not expect.
22310 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22311 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22312 Do not expect.
22313 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22314 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22315 [UNIX98] (vwscanf): Likewise.
22316 [UNIX98] (vswscanf): Likewise.
22317
fb1ae1ee
JM
223182012-11-09 Joseph Myers <joseph@codesourcery.com>
22319
9ec6f8bd
JM
22320 * timezone/version.h: Remove file.
22321 * timezone/README: Do not refer to version.h.
22322 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22323 $(objpfx)version.h.
22324 ($(objpfx)zdump.o): Likewise.
c3f81911 22325 ($(objpfx)version.h): New target.
9ec6f8bd 22326
0aa8f8a1
JM
22327 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22328 2012i.
22329 * timezone/README: Don't mention modification to tzselect.ksh.
22330 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22331 work on unmodified tzselect.ksh. Substitute version numbers in
22332 tzselect.ksh.
22333
4e87147f
JM
22334 * Makefile (format-me): Remove.
22335 (INSTALL): Adjust indentation. Use commands directly instead of
22336 using $(format-me).
22337
8b748aed
JM
22338 * aclocal.m4 (ACX_PKGVERSION): New macro.
22339 (ACX_BUGURL): Likewise.
22340 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22341 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22342 (REPORT_BUGS_TO): Likewise.
22343 * configure: Regenerated.
22344 * config.h.in (PKGVERSION): New macro.
22345 (REPORT_BUGS_TO): Likewise.
22346 * config.make.in (PKGVERSION): New variable.
22347 (PKGVERSION_TEXI): Likewise.
22348 (REPORT_BUGS_TO): Likewise.
22349 (REPORT_BUGS_TEXI): Likewise.
22350 * Makefile (format-me): Use -I$(common-objpfx)manual.
22351 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22352 ($(common-objpfx)manual/%): New target.
22353 (manual/%): Remove target.
22354 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22355 (print_version): Use PKGVERSION.
22356 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22357 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22358 and REPORT_BUGS_TO.
22359 ($(objpfx)xtrace): Likewise.
22360 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22361 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22362 (print_version): Use PKGVERSION.
22363 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22364 (do_version): Use PKGVERSION.
22365 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22366 REPORT_BUGS_TO.
22367 (common-ldd-rewrite): Likewise.
22368 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22369 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22370 (print_version): Use PKGVERSION.
22371 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22372 * elf/pldd.c (argp_program_bug_address): Remove variable.
22373 (more_help): New function.
22374 (argp): Use more_help.
22375 (print_version): Use PKGVERSION.
22376 * elf/sln.c (main): Use PKGVERSION.
22377 (usage): Use REPORT_BUGS_TO.
22378 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22379 (top level): Use PKGVERSION.
22380 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22381 (print_version): Use PKGVERSION.
22382 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22383 (print_version): Use PKGVERSION.
22384 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22385 (print_version): Use PKGVERSION.
22386 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22387 (print_version): Use PKGVERSION.
22388 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22389 (print_version): Use PKGVERSION.
22390 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22391 (print_version): Use PKGVERSION.
22392 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22393 and BUGURL.
22394 ($(objpfx)memusage): Likewise.
22395 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22396 (do_version): Use PKGVERSION.
22397 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22398 (print_version): Use PKGVERSION.
22399 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22400 ($PKGVERSION): New variable.
22401 ($REPORT_BUGS_TO): Likewise.
22402 (usage): Use $REPORT_BUGS_TO.
22403 (top level): Use $PKGVERSION.
22404 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22405 ($(objpfx)pkgvers.texi): New rule.
22406 ($(objpfx)stamp-pkgvers): Likewise.
22407 * manual/install.texi: Include pkgvers.texi.
22408 (--with-pkgversion): Document new configure option.
22409 (--with-bugurl): Likewise.
22410 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22411 than necessarily for this particular distribution. Use
22412 REPORT_BUGS_TO for where to report bugs.
22413 * INSTALL: Regenerated.
22414 * manual/libc.texinfo: Include pkgvers.texi.
22415 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22416 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22417 (print_version): Use PKGVERSION.
22418 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22419 (print_version): Use PKGVERSION.
22420 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22421 (print_version): Use PKGVERSION.
22422 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22423 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22424 macro.
22425 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22426 (print_version): Use PKGVERSION.
22427 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22428 (print_version): Use PKGVERSION.
22429 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22430 and PKGVERSION.
22431
92e4b6a9
JM
22432 * timezone/checktab.awk: Update from tzcode 2012i.
22433 * timezone/ialloc.c: Likewise.
22434 * timezone/private.h: Likewise.
22435 * timezone/scheck.c: Likewise.
22436 * timezone/tzfile.h: Likewise.
22437 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22438 (TZVERSION): Hardcode tzcode version number.
22439 * timezone/zdump.c: Update from tzcode 2012i.
22440 * timezone/zic.c: Likewise.
22441 * timezone/version.h: New file.
22442 * timezone/README: Describe version.h. Update upstream location.
22443
9bde902c
JM
22444 [BZ #14824]
22445 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22446 (mktemp): Enable declaration.
22447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22451 Likewise.
22452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22453 Likewise.
22454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22455 Likewise.
22456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22457 Likewise.
22458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22459 Likewise.
22460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22461 Likewise.
22462
fb1ae1ee
JM
22463 [BZ #14821]
22464 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22465 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22466 for copies of such integer values.
22467 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22468 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22469
2c1adbcb
AJ
224702012-11-09 Andreas Jaeger <aj@suse.de>
22471
22472 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22473 definitions and declarations that are provided by
22474 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22475
d0f8457e
AK
224762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22477
3a235abb 22478 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22479 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22480 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22481 definition.
22482
57241e26
MS
224832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22484
22485 * elf/elf.h: Update comment before AArch64 relocations.
22486
60e8270d
DM
224872012-11-07 David S. Miller <davem@davemloft.net>
22488
22489 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22490 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22491 (__start_context): Declare.
22492 (__makecontext_ret): Delete.
22493 (__makecontext): Hook up __start_context instead of
22494 __makecontext_ret.
22495 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22496 (sysdep_routines): Add __start_context when in stdlib.
22497
0fbb0fbc
JM
224982012-11-07 Joseph Myers <joseph@codesourcery.com>
22499
22500 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22501 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22502 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22503 hardcoded "nm".
22504 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22505 (READELF): New variable. Use it instead of hardcoded "readelf".
22506
eb48db7e
L
225072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22508
22509 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22510 * sysdeps/x86/Makefile: Here.
22511 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22512 * sysdeps/x86/tst-xmmymm.sh: This.
22513
05bcf62a
JM
225142012-11-07 Joseph Myers <joseph@codesourcery.com>
22515
c4b6cf53
JM
22516 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22517 expectations.
22518 [UNIX98] (pthread_barrier_t): Do not expect.
22519 [UNIX98] (pthread_barrierattr_t): Likewise.
22520 [UNIX98] (pthread_spinlock_t): Likewise.
22521 [UNIX98] (pthread_barrier_destroy): Likewise.
22522 [UNIX98] (pthread_barrier_init): Likewise.
22523 [UNIX98] (pthread_barrier_wait): Likewise.
22524 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22525 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22526 [UNIX98] (pthread_barrierattr_init): Likewise.
22527 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22528 [UNIX98] (pthread_getcpuclockid): Likewise.
22529 [UNIX98] (pthread_mutex_timedlock): Likewise.
22530 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22531 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22532 [UNIX98] (pthread_sigmask): Likewise.
22533 [UNIX98] (pthread_spin_destroy): Likewise.
22534 [UNIX98] (pthread_spin_init): Likewise.
22535 [UNIX98] (pthread_spin_lock): Likewise.
22536 [UNIX98] (pthread_spin_trylock): Likewise.
22537 [UNIX98] (pthread_spin_unlock): Likewise.
22538 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22539 Do not expect.
22540 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22542 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22543 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22544 [XPG3 || XPG4] (pthread_key_t): Likewise.
22545 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22546 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22547 [XPG3 || XPG4] (pthread_once_t): Likewise.
22548 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22549 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22551 [XPG3 || XPG4] (pthread_t): Likewise.
22552
cbe6e120
JM
22553 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22554 not expect.
22555 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22556
1b126443
JM
22557 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22558 Change function return type to int.
22559
b961a573
JM
22560 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22561 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22562 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22563 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22564 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22565 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22566 [!POSIX] (posix_madvise): Likewise.
22567 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22568 && !UNIX98].
22569 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22570 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22571 (mode_t): Likewise.
22572 (posix_mem_offset): Likewise.
22573 (posix_typed_mem_get_info): Likewise.
22574 (posix_typed_mem_open): Likewise.
22575
9e188909
JM
22576 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22577 Change condition to [XOPEN2K8].
22578
05bcf62a
JM
22579 * conform/conformtest.pl: Preprocess allow-header data with -x c
22580 instead of from stdin.
22581 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22582 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22583 [C99-based standards] (cerfc): Likewise.
22584 [C99-based standards] (cexp2): Likewise.
22585 [C99-based standards] (cexpm1): Likewise.
22586 [C99-based standards] (clog10): Likewise.
22587 [C99-based standards] (clog1p): Likewise.
22588 [C99-based standards] (clog2): Likewise.
22589 [C99-based standards] (clgamma): Likewise.
22590 [C99-based standards] (ctgamma): Likewise.
22591 [C99-based standards] (cerff): Likewise.
22592 [C99-based standards] (cerfcf): Likewise.
22593 [C99-based standards] (cexp2f): Likewise.
22594 [C99-based standards] (cexpm1f): Likewise.
22595 [C99-based standards] (clog10f): Likewise.
22596 [C99-based standards] (clog1pf): Likewise.
22597 [C99-based standards] (clog2f): Likewise.
22598 [C99-based standards] (clgammaf): Likewise.
22599 [C99-based standards] (ctgammaf): Likewise.
22600 [C99-based standards] (cerfl): Likewise.
22601 [C99-based standards] (cerfcl): Likewise.
22602 [C99-based standards] (cexp2l): Likewise.
22603 [C99-based standards] (cexpm1l): Likewise.
22604 [C99-based standards] (clog10l): Likewise.
22605 [C99-based standards] (clog1pl): Likewise.
22606 [C99-based standards] (clog2l): Likewise.
22607 [C99-based standards] (clgammal): Likewise.
22608 [C99-based standards] (ctgammal): Likewise.
22609 * conform/data/inttypes.h-data [C99-based standards]: Include
22610 stdint.h-data. Remove all expectations for stdint.h contents.
22611 [C99-based standards] (PRI*): Do not allow.
22612 [C99-based standards] (SCN*): Likewise.
22613 [C99-based standards] (*_t): Likewise.
22614 [C99-based-standards] (PRId8): Expect macro.
22615 [C99-based-standards] (PRIi8): Likewise.
22616 [C99-based-standards] (PRIo8): Likewise.
22617 [C99-based-standards] (PRIu8): Likewise.
22618 [C99-based-standards] (PRIx8): Likewise.
22619 [C99-based-standards] (PRIX8): Likewise.
22620 [C99-based-standards] (SCNd8): Likewise.
22621 [C99-based-standards] (SCNi8): Likewise.
22622 [C99-based-standards] (SCNo8): Likewise.
22623 [C99-based-standards] (SCNu8): Likewise.
22624 [C99-based-standards] (SCNx8): Likewise.
22625 [C99-based-standards] (PRIdLEAST8): Likewise.
22626 [C99-based-standards] (PRIiLEAST8): Likewise.
22627 [C99-based-standards] (PRIoLEAST8): Likewise.
22628 [C99-based-standards] (PRIuLEAST8): Likewise.
22629 [C99-based-standards] (PRIxLEAST8): Likewise.
22630 [C99-based-standards] (PRIXLEAST8): Likewise.
22631 [C99-based-standards] (SCNdLEAST8): Likewise.
22632 [C99-based-standards] (SCNiLEAST8): Likewise.
22633 [C99-based-standards] (SCNoLEAST8): Likewise.
22634 [C99-based-standards] (SCNuLEAST8): Likewise.
22635 [C99-based-standards] (SCNxLEAST8): Likewise.
22636 [C99-based-standards] (PRIdFAST8): Likewise.
22637 [C99-based-standards] (PRIiFAST8): Likewise.
22638 [C99-based-standards] (PRIoFAST8): Likewise.
22639 [C99-based-standards] (PRIuFAST8): Likewise.
22640 [C99-based-standards] (PRIxFAST8): Likewise.
22641 [C99-based-standards] (PRIXFAST8): Likewise.
22642 [C99-based-standards] (SCNdFAST8): Likewise.
22643 [C99-based-standards] (SCNiFAST8): Likewise.
22644 [C99-based-standards] (SCNoFAST8): Likewise.
22645 [C99-based-standards] (SCNuFAST8): Likewise.
22646 [C99-based-standards] (SCNxFAST8): Likewise.
22647 [C99-based-standards] (PRId16): Likewise.
22648 [C99-based-standards] (PRIi16): Likewise.
22649 [C99-based-standards] (PRIo16): Likewise.
22650 [C99-based-standards] (PRIu16): Likewise.
22651 [C99-based-standards] (PRIx16): Likewise.
22652 [C99-based-standards] (PRIX16): Likewise.
22653 [C99-based-standards] (SCNd16): Likewise.
22654 [C99-based-standards] (SCNi16): Likewise.
22655 [C99-based-standards] (SCNo16): Likewise.
22656 [C99-based-standards] (SCNu16): Likewise.
22657 [C99-based-standards] (SCNx16): Likewise.
22658 [C99-based-standards] (PRIdLEAST16): Likewise.
22659 [C99-based-standards] (PRIiLEAST16): Likewise.
22660 [C99-based-standards] (PRIoLEAST16): Likewise.
22661 [C99-based-standards] (PRIuLEAST16): Likewise.
22662 [C99-based-standards] (PRIxLEAST16): Likewise.
22663 [C99-based-standards] (PRIXLEAST16): Likewise.
22664 [C99-based-standards] (SCNdLEAST16): Likewise.
22665 [C99-based-standards] (SCNiLEAST16): Likewise.
22666 [C99-based-standards] (SCNoLEAST16): Likewise.
22667 [C99-based-standards] (SCNuLEAST16): Likewise.
22668 [C99-based-standards] (SCNxLEAST16): Likewise.
22669 [C99-based-standards] (PRIdFAST16): Likewise.
22670 [C99-based-standards] (PRIiFAST16): Likewise.
22671 [C99-based-standards] (PRIoFAST16): Likewise.
22672 [C99-based-standards] (PRIuFAST16): Likewise.
22673 [C99-based-standards] (PRIxFAST16): Likewise.
22674 [C99-based-standards] (PRIXFAST16): Likewise.
22675 [C99-based-standards] (SCNdFAST16): Likewise.
22676 [C99-based-standards] (SCNiFAST16): Likewise.
22677 [C99-based-standards] (SCNoFAST16): Likewise.
22678 [C99-based-standards] (SCNuFAST16): Likewise.
22679 [C99-based-standards] (SCNxFAST16): Likewise.
22680 [C99-based-standards] (PRId32): Likewise.
22681 [C99-based-standards] (PRIi32): Likewise.
22682 [C99-based-standards] (PRIo32): Likewise.
22683 [C99-based-standards] (PRIu32): Likewise.
22684 [C99-based-standards] (PRIx32): Likewise.
22685 [C99-based-standards] (PRIX32): Likewise.
22686 [C99-based-standards] (SCNd32): Likewise.
22687 [C99-based-standards] (SCNi32): Likewise.
22688 [C99-based-standards] (SCNo32): Likewise.
22689 [C99-based-standards] (SCNu32): Likewise.
22690 [C99-based-standards] (SCNx32): Likewise.
22691 [C99-based-standards] (PRIdLEAST32): Likewise.
22692 [C99-based-standards] (PRIiLEAST32): Likewise.
22693 [C99-based-standards] (PRIoLEAST32): Likewise.
22694 [C99-based-standards] (PRIuLEAST32): Likewise.
22695 [C99-based-standards] (PRIxLEAST32): Likewise.
22696 [C99-based-standards] (PRIXLEAST32): Likewise.
22697 [C99-based-standards] (SCNdLEAST32): Likewise.
22698 [C99-based-standards] (SCNiLEAST32): Likewise.
22699 [C99-based-standards] (SCNoLEAST32): Likewise.
22700 [C99-based-standards] (SCNuLEAST32): Likewise.
22701 [C99-based-standards] (SCNxLEAST32): Likewise.
22702 [C99-based-standards] (PRIdFAST32): Likewise.
22703 [C99-based-standards] (PRIiFAST32): Likewise.
22704 [C99-based-standards] (PRIoFAST32): Likewise.
22705 [C99-based-standards] (PRIuFAST32): Likewise.
22706 [C99-based-standards] (PRIxFAST32): Likewise.
22707 [C99-based-standards] (PRIXFAST32): Likewise.
22708 [C99-based-standards] (SCNdFAST32): Likewise.
22709 [C99-based-standards] (SCNiFAST32): Likewise.
22710 [C99-based-standards] (SCNoFAST32): Likewise.
22711 [C99-based-standards] (SCNuFAST32): Likewise.
22712 [C99-based-standards] (SCNxFAST32): Likewise.
22713 [C99-based-standards] (PRId64): Likewise.
22714 [C99-based-standards] (PRIi64): Likewise.
22715 [C99-based-standards] (PRIo64): Likewise.
22716 [C99-based-standards] (PRIu64): Likewise.
22717 [C99-based-standards] (PRIx64): Likewise.
22718 [C99-based-standards] (PRIX64): Likewise.
22719 [C99-based-standards] (SCNd64): Likewise.
22720 [C99-based-standards] (SCNi64): Likewise.
22721 [C99-based-standards] (SCNo64): Likewise.
22722 [C99-based-standards] (SCNu64): Likewise.
22723 [C99-based-standards] (SCNx64): Likewise.
22724 [C99-based-standards] (PRIdLEAST64): Likewise.
22725 [C99-based-standards] (PRIiLEAST64): Likewise.
22726 [C99-based-standards] (PRIoLEAST64): Likewise.
22727 [C99-based-standards] (PRIuLEAST64): Likewise.
22728 [C99-based-standards] (PRIxLEAST64): Likewise.
22729 [C99-based-standards] (PRIXLEAST64): Likewise.
22730 [C99-based-standards] (SCNdLEAST64): Likewise.
22731 [C99-based-standards] (SCNiLEAST64): Likewise.
22732 [C99-based-standards] (SCNoLEAST64): Likewise.
22733 [C99-based-standards] (SCNuLEAST64): Likewise.
22734 [C99-based-standards] (SCNxLEAST64): Likewise.
22735 [C99-based-standards] (PRIdFAST64): Likewise.
22736 [C99-based-standards] (PRIiFAST64): Likewise.
22737 [C99-based-standards] (PRIoFAST64): Likewise.
22738 [C99-based-standards] (PRIuFAST64): Likewise.
22739 [C99-based-standards] (PRIxFAST64): Likewise.
22740 [C99-based-standards] (PRIXFAST64): Likewise.
22741 [C99-based-standards] (SCNdFAST64): Likewise.
22742 [C99-based-standards] (SCNiFAST64): Likewise.
22743 [C99-based-standards] (SCNoFAST64): Likewise.
22744 [C99-based-standards] (SCNuFAST64): Likewise.
22745 [C99-based-standards] (SCNxFAST64): Likewise.
22746 [C99-based-standards] (PRIdMAX): Likewise.
22747 [C99-based-standards] (PRIiMAX): Likewise.
22748 [C99-based-standards] (PRIoMAX): Likewise.
22749 [C99-based-standards] (PRIuMAX): Likewise.
22750 [C99-based-standards] (PRIxMAX): Likewise.
22751 [C99-based-standards] (PRIXMAX): Likewise.
22752 [C99-based-standards] (SCNdMAX): Likewise.
22753 [C99-based-standards] (SCNiMAX): Likewise.
22754 [C99-based-standards] (SCNoMAX): Likewise.
22755 [C99-based-standards] (SCNuMAX): Likewise.
22756 [C99-based-standards] (SCNxMAX): Likewise.
22757 [C99-based-standards] (PRIdPTR): Likewise.
22758 [C99-based-standards] (PRIiPTR): Likewise.
22759 [C99-based-standards] (PRIoPTR): Likewise.
22760 [C99-based-standards] (PRIuPTR): Likewise.
22761 [C99-based-standards] (PRIxPTR): Likewise.
22762 [C99-based-standards] (PRIXPTR): Likewise.
22763 [C99-based-standards] (SCNdPTR): Likewise.
22764 [C99-based-standards] (SCNiPTR): Likewise.
22765 [C99-based-standards] (SCNoPTR): Likewise.
22766 [C99-based-standards] (SCNuPTR): Likewise.
22767 [C99-based-standards] (SCNxPTR): Likewise.
22768 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22769 allow.
22770 * conform/data/stdint.h-data: Update comments to clarify
22771 requirements.
22772 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22773 type.
22774 [C99-based standards] (INT8_MAX): Likewise.
22775 [C99-based standards] (INT16_MIN): Likewise.
22776 [C99-based standards] (INT16_MAX): Likewise.
22777 [C99-based standards] (INT32_MIN): Likewise.
22778 [C99-based standards] (INT32_MAX): Likewise.
22779 [C99-based standards] (INT64_MIN): Likewise.
22780 [C99-based standards] (INT64_MAX): Likewise.
22781 [C99-based standards] (UINT8_MAX): Likewise.
22782 [C99-based standards] (UINT16_MAX): Likewise.
22783 [C99-based standards] (UINT32_MAX): Likewise.
22784 [C99-based standards] (UINT64_MAX): Likewise.
22785 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22786 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22787 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22788 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22789 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22790 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22791 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22792 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22793 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22794 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22795 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22796 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22797 [C99-based standards] (INT_FAST8_MIN): Likewise.
22798 [C99-based standards] (INT_FAST8_MAX): Likewise.
22799 [C99-based standards] (INT_FAST16_MIN): Likewise.
22800 [C99-based standards] (INT_FAST16_MAX): Likewise.
22801 [C99-based standards] (INT_FAST32_MIN): Likewise.
22802 [C99-based standards] (INT_FAST32_MAX): Likewise.
22803 [C99-based standards] (INT_FAST64_MIN): Likewise.
22804 [C99-based standards] (INT_FAST64_MAX): Likewise.
22805 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22806 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22807 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22808 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22809 [C99-based standards] (INTPTR_MIN): Likewise.
22810 [C99-based standards] (INTPTR_MAX): Likewise.
22811 [C99-based standards] (UINTPTR_MAX): Likewise.
22812 [C99-based standards] (INTMAX_MIN): Likewise.
22813 [C99-based standards] (INTMAX_MAX): Likewise.
22814 [C99-based standards] (UINTMAX_MAX): Likewise.
22815 [C99-based standards] (PTRDIFF_MIN): Likewise.
22816 [C99-based standards] (PTRDIFF_MAX): Likewise.
22817 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22818 [C99-based standards] (SIZE_MAX): Likewise.
22819 [C99-based standards] (WCHAR_MAX): Likewise.
22820 [C99-based standards] (WINT_MAX): Likewise.
22821 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22822 constraint on value.
22823 [C99-based standards] (WCHAR_MIN): Likewise.
22824 [C99-based standards] (WINT_MIN): Likewise.
22825 [C99-based standards] (*_t): Allow.
22826 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22827 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22828 Include math.h-data and complex.h-data. Remove all expectations
22829 of math.h and complex.h contents.
22830 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22831 at end of line.
22832 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22833 (struct tm): Expect tag.
22834 [C99-based-standards] (wcstof): Expect function.
22835 [C99-based-standards] (wcstold): Likewise.
22836 [C99-based-standards] (wcstoll): Likewise.
22837 [C99-based-standards] (wcstoull): Likewise.
22838 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22839 macro-int-constant. Specify type.
22840 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22841 constraint on value.
22842 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22843 Specify type.
22844 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22845 Specify value.
22846 [ISO C standards]: Do not allow headers.
22847 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22848 wcs[abcdefghijklmnopqrstuvwxyz]*.
22849 [ISO C standards] (*_t): Do not allow.
22850 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22851 Expect function.
22852 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22853 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22854 Specify type.
22855 [ISO C standards]: Do not allow headers.
22856 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22857 is[abcdefghijklmnopqrstuvwxyz]*.
22858 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22859 to[abcdefghijklmnopqrstuvwxyz]*.
22860 [ISO C standards] (*_t): Do not allow.
22861 * conform/data/stdalign.h-data: New file.
22862 * conform/data/stdbool.h-data: Likewise.
22863 * conform/data/stdnoreturn.h-data: Likewise.
22864
7514feb8
RM
228652012-11-07 Roland McGrath <roland@hack.frob.com>
22866
22867 [BZ #14815]
22868 * manual/filesys.texi (Directory Entries): Typo fix.
22869 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22870
19b2ecfc
MS
228712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22872
22873 * elf/elf.h (EM_AARCH64): New macro.
22874 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22875 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22876 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22877 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22878 (R_AARCH64_TLSDESC): Likewise.
22879 (NT_ARM_TLS): Likewise.
22880 (NT_ARM_HW_BREAK): Likewise.
22881 (NT_ARM_HW_WATCH): Likewise.
22882
60e235ee
JM
228832012-11-07 Joseph Myers <joseph@codesourcery.com>
22884
22885 [BZ #14811]
22886 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22887 (__ieee754_powl): Saturate nonzero exponents with absolute value
22888 below 0x1p-79 to +/- 0x1p-79.
22889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22890 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22891 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22892 nonzero exponents with absolute value below 0x1p-32 to +/-
22893 0x1p-32.
22894 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22895 (__ieee754_powl): Saturate nonzero exponents with absolute value
22896 below 0x1p-79 to +/- 0x1p-79.
22897 * math/libm-test.inc (pow_test): Add more tests.
22898
0ab234b7
AK
228992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22900
22901 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22902 _dl_s390_cap_flags with kernel. Increase string length.
22903 (_dl_s390_platforms): Add z196 and zEC12.
22904
45832f74
JM
229052012-11-07 Joseph Myers <joseph@codesourcery.com>
22906
22907 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22908 Change XOPEN21K to XOPEN2K.
22909
19218757
MK
229102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22911
22912 * string/memmove.c: Use memcpy when possible.
22913
c5f45721
AJ
229142012-11-06 Andreas Jaeger <aj@suse.de>
22915
22916 * po/eo.po: Update from translation team.
22917
82477c28
JM
229182012-11-06 Joseph Myers <joseph@codesourcery.com>
22919
22920 [BZ #14793]
22921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22922 exponent and small x and y exponents, scale x or y up. Increase
22923 by 2 the exponent used in scaling up.
22924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22926 * math/libm-test.inc (fma_test): Add more tests.
22927 (fma_test_towardzero): Likewise.
22928 (fma_test_downward): Likewise.
22929 (fma_test_upward): Likewise.
22930
99252c8c
JM
229312012-11-05 Joseph Myers <joseph@codesourcery.com>
22932
acfa885f
JM
22933 [BZ #14805]
22934 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22935 fenv_t *.
22936
99252c8c
JM
22937 [BZ #14801]
22938 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22939 namespace for names of struct fields.
22940 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22941 fenv_t fields.
22942 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22943 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22944
d6d98dea
ST
229452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22946
22947 [BZ #3665]
22948 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22949
e10bb107
TS
229502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22951
22952 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22953 PTR_DEMANGLE.
22954
22955 [BZ #5246]
22956 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22957 PTR_DEMANGLE.
22958
a0c2940d
JM
229592012-11-04 Joseph Myers <joseph@codesourcery.com>
22960
22961 [BZ #14797]
22962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22963 definitely overflow as x * y not x * y + z.
22964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22965 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22966 * math/libm-test.inc (fma_test): Add more tests.
22967 (fma_test_towardzero): Likewise.
22968 (fma_test_downward): Likewise.
22969 (fma_test_upward): Likewise.
22970
b830319d
TS
229712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22972
22973 [BZ #157]
22974
22975 * include/stub-tag.h: Remove file.
22976 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22977 '#include' of it.
22978 * manual/maint.texi (Porting): Don't reference it.
22979 * Makerules ($(objpfx)stubs): Likewise.
22980 * dirent/closedir.c: Don't include <stub-tag.h>.
22981 * dirent/dirfd.c: Likewise.
22982 * dirent/fdopendir.c: Likewise.
22983 * dirent/getdents.c: Likewise.
22984 * dirent/getdents64.c: Likewise.
22985 * dirent/opendir.c: Likewise.
22986 * dirent/readdir.c: Likewise.
22987 * dirent/readdir64.c: Likewise.
22988 * dirent/readdir64_r.c: Likewise.
22989 * dirent/readdir_r.c: Likewise.
22990 * dirent/rewinddir.c: Likewise.
22991 * dirent/seekdir.c: Likewise.
22992 * dirent/telldir.c: Likewise.
22993 * gmon/profil.c: Likewise.
22994 * grp/setgroups.c: Likewise.
22995 * inet/if_index.c: Likewise.
22996 * io/access.c: Likewise.
22997 * io/chdir.c: Likewise.
22998 * io/chmod.c: Likewise.
22999 * io/chown.c: Likewise.
23000 * io/close.c: Likewise.
23001 * io/dup.c: Likewise.
23002 * io/dup2.c: Likewise.
23003 * io/dup3.c: Likewise.
23004 * io/euidaccess.c: Likewise.
23005 * io/faccessat.c: Likewise.
23006 * io/fchdir.c: Likewise.
23007 * io/fchmod.c: Likewise.
23008 * io/fchmodat.c: Likewise.
23009 * io/fchown.c: Likewise.
23010 * io/fchownat.c: Likewise.
23011 * io/fcntl.c: Likewise.
23012 * io/flock.c: Likewise.
23013 * io/fstatfs.c: Likewise.
23014 * io/fstatfs64.c: Likewise.
23015 * io/fstatvfs.c: Likewise.
23016 * io/fstatvfs64.c: Likewise.
23017 * io/futimens.c: Likewise.
23018 * io/fxstat.c: Likewise.
23019 * io/fxstat64.c: Likewise.
23020 * io/fxstatat.c: Likewise.
23021 * io/fxstatat64.c: Likewise.
23022 * io/getcwd.c: Likewise.
23023 * io/isatty.c: Likewise.
23024 * io/lchmod.c: Likewise.
23025 * io/lchown.c: Likewise.
23026 * io/link.c: Likewise.
23027 * io/linkat.c: Likewise.
23028 * io/lseek.c: Likewise.
23029 * io/lseek64.c: Likewise.
23030 * io/lxstat64.c: Likewise.
23031 * io/mkdir.c: Likewise.
23032 * io/mkdirat.c: Likewise.
23033 * io/mkfifo.c: Likewise.
23034 * io/mkfifoat.c: Likewise.
23035 * io/open.c: Likewise.
23036 * io/open64.c: Likewise.
23037 * io/openat.c: Likewise.
23038 * io/openat64.c: Likewise.
23039 * io/pipe.c: Likewise.
23040 * io/pipe2.c: Likewise.
23041 * io/poll.c: Likewise.
23042 * io/posix_fadvise.c: Likewise.
23043 * io/posix_fadvise64.c: Likewise.
23044 * io/posix_fallocate.c: Likewise.
23045 * io/posix_fallocate64.c: Likewise.
23046 * io/read.c: Likewise.
23047 * io/readlink.c: Likewise.
23048 * io/readlinkat.c: Likewise.
23049 * io/rmdir.c: Likewise.
23050 * io/sendfile.c: Likewise.
23051 * io/sendfile64.c: Likewise.
23052 * io/statfs.c: Likewise.
23053 * io/statfs64.c: Likewise.
23054 * io/statvfs.c: Likewise.
23055 * io/statvfs64.c: Likewise.
23056 * io/symlink.c: Likewise.
23057 * io/symlinkat.c: Likewise.
23058 * io/ttyname.c: Likewise.
23059 * io/ttyname_r.c: Likewise.
23060 * io/umask.c: Likewise.
23061 * io/unlink.c: Likewise.
23062 * io/unlinkat.c: Likewise.
23063 * io/utime.c: Likewise.
23064 * io/utimensat.c: Likewise.
23065 * io/write.c: Likewise.
23066 * io/xmknod.c: Likewise.
23067 * io/xmknodat.c: Likewise.
23068 * io/xstat.c: Likewise.
23069 * io/xstat64.c: Likewise.
23070 * login/getpt.c: Likewise.
23071 * login/grantpt.c: Likewise.
23072 * login/unlockpt.c: Likewise.
23073 * math/e_acoshl.c: Likewise.
23074 * math/e_acosl.c: Likewise.
23075 * math/e_asinl.c: Likewise.
23076 * math/e_atan2l.c: Likewise.
23077 * math/e_atanhl.c: Likewise.
23078 * math/e_coshl.c: Likewise.
23079 * math/e_expl.c: Likewise.
23080 * math/e_fmodl.c: Likewise.
23081 * math/e_gammal_r.c: Likewise.
23082 * math/e_hypotl.c: Likewise.
23083 * math/e_j0l.c: Likewise.
23084 * math/e_j1l.c: Likewise.
23085 * math/e_jnl.c: Likewise.
23086 * math/e_lgammal_r.c: Likewise.
23087 * math/e_log10l.c: Likewise.
23088 * math/e_log2l.c: Likewise.
23089 * math/e_logl.c: Likewise.
23090 * math/e_powl.c: Likewise.
23091 * math/e_rem_pio2l.c: Likewise.
23092 * math/e_sinhl.c: Likewise.
23093 * math/e_sqrtl.c: Likewise.
23094 * math/fclrexcpt.c: Likewise.
23095 * math/fedisblxcpt.c: Likewise.
23096 * math/feenablxcpt.c: Likewise.
23097 * math/fegetenv.c: Likewise.
23098 * math/fegetexcept.c: Likewise.
23099 * math/fegetround.c: Likewise.
23100 * math/feholdexcpt.c: Likewise.
23101 * math/fesetenv.c: Likewise.
23102 * math/fesetround.c: Likewise.
23103 * math/feupdateenv.c: Likewise.
23104 * math/fgetexcptflg.c: Likewise.
23105 * math/fraiseexcpt.c: Likewise.
23106 * math/fsetexcptflg.c: Likewise.
23107 * math/ftestexcept.c: Likewise.
23108 * math/k_cosl.c: Likewise.
23109 * math/k_rem_pio2l.c: Likewise.
23110 * math/k_sinl.c: Likewise.
23111 * math/k_tanl.c: Likewise.
23112 * math/s_asinhl.c: Likewise.
23113 * math/s_atanl.c: Likewise.
23114 * math/s_cbrtl.c: Likewise.
23115 * math/s_erfl.c: Likewise.
23116 * math/s_expm1l.c: Likewise.
23117 * math/s_log1pl.c: Likewise.
23118 * math/s_tanhl.c: Likewise.
23119 * misc/acct.c: Likewise.
23120 * misc/brk.c: Likewise.
23121 * misc/chflags.c: Likewise.
23122 * misc/chroot.c: Likewise.
23123 * misc/fchflags.c: Likewise.
23124 * misc/fgetxattr.c: Likewise.
23125 * misc/flistxattr.c: Likewise.
23126 * misc/fremovexattr.c: Likewise.
23127 * misc/fsetxattr.c: Likewise.
23128 * misc/fsync.c: Likewise.
23129 * misc/ftruncate.c: Likewise.
23130 * misc/futimes.c: Likewise.
23131 * misc/futimesat.c: Likewise.
23132 * misc/getdomain.c: Likewise.
23133 * misc/getdtsz.c: Likewise.
23134 * misc/gethostid.c: Likewise.
23135 * misc/gethostname.c: Likewise.
23136 * misc/getloadavg.c: Likewise.
23137 * misc/getpagesize.c: Likewise.
23138 * misc/getsysstats.c: Likewise.
23139 * misc/getxattr.c: Likewise.
23140 * misc/gtty.c: Likewise.
23141 * misc/ioctl.c: Likewise.
23142 * misc/lgetxattr.c: Likewise.
23143 * misc/listxattr.c: Likewise.
23144 * misc/llistxattr.c: Likewise.
23145 * misc/lremovexattr.c: Likewise.
23146 * misc/lsetxattr.c: Likewise.
23147 * misc/lutimes.c: Likewise.
23148 * misc/madvise.c: Likewise.
23149 * misc/mincore.c: Likewise.
23150 * misc/mlock.c: Likewise.
23151 * misc/mlockall.c: Likewise.
23152 * misc/mmap.c: Likewise.
23153 * misc/mprotect.c: Likewise.
23154 * misc/msync.c: Likewise.
23155 * misc/munlock.c: Likewise.
23156 * misc/munlockall.c: Likewise.
23157 * misc/munmap.c: Likewise.
23158 * misc/preadv.c: Likewise.
23159 * misc/preadv64.c: Likewise.
23160 * misc/ptrace.c: Likewise.
23161 * misc/pwritev.c: Likewise.
23162 * misc/pwritev64.c: Likewise.
23163 * misc/readv.c: Likewise.
23164 * misc/reboot.c: Likewise.
23165 * misc/remap_file_pages.c: Likewise.
23166 * misc/removexattr.c: Likewise.
23167 * misc/revoke.c: Likewise.
23168 * misc/select.c: Likewise.
23169 * misc/setdomain.c: Likewise.
23170 * misc/setegid.c: Likewise.
23171 * misc/seteuid.c: Likewise.
23172 * misc/sethostid.c: Likewise.
23173 * misc/sethostname.c: Likewise.
23174 * misc/setregid.c: Likewise.
23175 * misc/setreuid.c: Likewise.
23176 * misc/setxattr.c: Likewise.
23177 * misc/sstk.c: Likewise.
23178 * misc/stty.c: Likewise.
23179 * misc/swapoff.c: Likewise.
23180 * misc/swapon.c: Likewise.
23181 * misc/sync.c: Likewise.
23182 * misc/syncfs.c: Likewise.
23183 * misc/syscall.c: Likewise.
23184 * misc/truncate.c: Likewise.
23185 * misc/ualarm.c: Likewise.
23186 * misc/usleep.c: Likewise.
23187 * misc/ustat.c: Likewise.
23188 * misc/utimes.c: Likewise.
23189 * misc/vhangup.c: Likewise.
23190 * misc/writev.c: Likewise.
23191 * posix/_exit.c: Likewise.
23192 * posix/alarm.c: Likewise.
23193 * posix/execve.c: Likewise.
23194 * posix/fexecve.c: Likewise.
23195 * posix/fork.c: Likewise.
23196 * posix/fpathconf.c: Likewise.
23197 * posix/getaddrinfo.c: Likewise.
23198 * posix/getegid.c: Likewise.
23199 * posix/geteuid.c: Likewise.
23200 * posix/getgid.c: Likewise.
23201 * posix/getgroups.c: Likewise.
23202 * posix/getlogin.c: Likewise.
23203 * posix/getlogin_r.c: Likewise.
23204 * posix/getpgid.c: Likewise.
23205 * posix/getpid.c: Likewise.
23206 * posix/getppid.c: Likewise.
23207 * posix/getresgid.c: Likewise.
23208 * posix/getresuid.c: Likewise.
23209 * posix/getsid.c: Likewise.
23210 * posix/getuid.c: Likewise.
23211 * posix/glob64.c: Likewise.
23212 * posix/nanosleep.c: Likewise.
23213 * posix/pathconf.c: Likewise.
23214 * posix/pause.c: Likewise.
23215 * posix/posix_madvise.c: Likewise.
23216 * posix/pread.c: Likewise.
23217 * posix/pread64.c: Likewise.
23218 * posix/pwrite.c: Likewise.
23219 * posix/pwrite64.c: Likewise.
23220 * posix/sched_getaffinity.c: Likewise.
23221 * posix/sched_getp.c: Likewise.
23222 * posix/sched_gets.c: Likewise.
23223 * posix/sched_primax.c: Likewise.
23224 * posix/sched_primin.c: Likewise.
23225 * posix/sched_rr_gi.c: Likewise.
23226 * posix/sched_setaffinity.c: Likewise.
23227 * posix/sched_setp.c: Likewise.
23228 * posix/sched_sets.c: Likewise.
23229 * posix/sched_yield.c: Likewise.
23230 * posix/setgid.c: Likewise.
23231 * posix/setlogin.c: Likewise.
23232 * posix/setpgid.c: Likewise.
23233 * posix/setresgid.c: Likewise.
23234 * posix/setresuid.c: Likewise.
23235 * posix/setsid.c: Likewise.
23236 * posix/setuid.c: Likewise.
23237 * posix/sleep.c: Likewise.
23238 * posix/spawni.c: Likewise.
23239 * posix/sysconf.c: Likewise.
23240 * posix/times.c: Likewise.
23241 * posix/wait.c: Likewise.
23242 * posix/wait3.c: Likewise.
23243 * posix/wait4.c: Likewise.
23244 * posix/waitpid.c: Likewise.
23245 * resolv/gai_sigqueue.c: Likewise.
23246 * resource/getpriority.c: Likewise.
23247 * resource/getrlimit.c: Likewise.
23248 * resource/getrusage.c: Likewise.
23249 * resource/nice.c: Likewise.
23250 * resource/setpriority.c: Likewise.
23251 * resource/setrlimit.c: Likewise.
23252 * resource/ulimit.c: Likewise.
23253 * rt/aio_cancel.c: Likewise.
23254 * rt/aio_fsync.c: Likewise.
23255 * rt/aio_read.c: Likewise.
23256 * rt/aio_sigqueue.c: Likewise.
23257 * rt/aio_suspend.c: Likewise.
23258 * rt/aio_write.c: Likewise.
23259 * rt/clock_getres.c: Likewise.
23260 * rt/clock_gettime.c: Likewise.
23261 * rt/clock_nanosleep.c: Likewise.
23262 * rt/clock_settime.c: Likewise.
23263 * rt/lio_listio.c: Likewise.
23264 * rt/mq_close.c: Likewise.
23265 * rt/mq_getattr.c: Likewise.
23266 * rt/mq_notify.c: Likewise.
23267 * rt/mq_open.c: Likewise.
23268 * rt/mq_receive.c: Likewise.
23269 * rt/mq_send.c: Likewise.
23270 * rt/mq_setattr.c: Likewise.
23271 * rt/mq_timedreceive.c: Likewise.
23272 * rt/mq_timedsend.c: Likewise.
23273 * rt/mq_unlink.c: Likewise.
23274 * rt/shm_open.c: Likewise.
23275 * rt/shm_unlink.c: Likewise.
23276 * rt/timer_create.c: Likewise.
23277 * rt/timer_delete.c: Likewise.
23278 * rt/timer_getoverr.c: Likewise.
23279 * rt/timer_gettime.c: Likewise.
23280 * rt/timer_settime.c: Likewise.
23281 * setjmp/__longjmp.c: Likewise.
23282 * setjmp/setjmp.c: Likewise.
23283 * signal/kill.c: Likewise.
23284 * signal/killpg.c: Likewise.
23285 * signal/raise.c: Likewise.
23286 * signal/sigaction.c: Likewise.
23287 * signal/sigaltstack.c: Likewise.
23288 * signal/sigblock.c: Likewise.
23289 * signal/sigignore.c: Likewise.
23290 * signal/sigintr.c: Likewise.
23291 * signal/signal.c: Likewise.
23292 * signal/sigpause.c: Likewise.
23293 * signal/sigpending.c: Likewise.
23294 * signal/sigqueue.c: Likewise.
23295 * signal/sigreturn.c: Likewise.
23296 * signal/sigset.c: Likewise.
23297 * signal/sigsetmask.c: Likewise.
23298 * signal/sigstack.c: Likewise.
23299 * signal/sigsuspend.c: Likewise.
23300 * signal/sigtimedwait.c: Likewise.
23301 * signal/sigvec.c: Likewise.
23302 * signal/sigwait.c: Likewise.
23303 * signal/sigwaitinfo.c: Likewise.
23304 * signal/sysv_signal.c: Likewise.
23305 * socket/accept.c: Likewise.
23306 * socket/accept4.c: Likewise.
23307 * socket/bind.c: Likewise.
23308 * socket/connect.c: Likewise.
23309 * socket/getpeername.c: Likewise.
23310 * socket/getsockname.c: Likewise.
23311 * socket/getsockopt.c: Likewise.
23312 * socket/isfdtype.c: Likewise.
23313 * socket/listen.c: Likewise.
23314 * socket/recv.c: Likewise.
23315 * socket/recvfrom.c: Likewise.
23316 * socket/recvmsg.c: Likewise.
23317 * socket/send.c: Likewise.
23318 * socket/sendmsg.c: Likewise.
23319 * socket/sendto.c: Likewise.
23320 * socket/setsockopt.c: Likewise.
23321 * socket/shutdown.c: Likewise.
23322 * socket/sockatmark.c: Likewise.
23323 * socket/socket.c: Likewise.
23324 * socket/socketpair.c: Likewise.
23325 * stdio-common/ctermid.c: Likewise.
23326 * stdio-common/cuserid.c: Likewise.
23327 * stdio-common/remove.c: Likewise.
23328 * stdio-common/rename.c: Likewise.
23329 * stdio-common/renameat.c: Likewise.
23330 * stdio-common/tempname.c: Likewise.
23331 * stdlib/getcontext.c: Likewise.
23332 * stdlib/makecontext.c: Likewise.
23333 * stdlib/setcontext.c: Likewise.
23334 * stdlib/swapcontext.c: Likewise.
23335 * stdlib/system.c: Likewise.
23336 * streams/fattach.c: Likewise.
23337 * streams/fdetach.c: Likewise.
23338 * streams/getmsg.c: Likewise.
23339 * streams/getpmsg.c: Likewise.
23340 * streams/putmsg.c: Likewise.
23341 * streams/putpmsg.c: Likewise.
23342 * sysdeps/unix/bsd/getpt.c: Likewise.
23343 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23344 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23345 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23347 Likewise.
23348 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23349 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23350 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23351 * sysvipc/msgctl.c: Likewise.
23352 * sysvipc/msgget.c: Likewise.
23353 * sysvipc/msgrcv.c: Likewise.
23354 * sysvipc/msgsnd.c: Likewise.
23355 * sysvipc/semctl.c: Likewise.
23356 * sysvipc/semget.c: Likewise.
23357 * sysvipc/semop.c: Likewise.
23358 * sysvipc/semtimedop.c: Likewise.
23359 * sysvipc/shmat.c: Likewise.
23360 * sysvipc/shmctl.c: Likewise.
23361 * sysvipc/shmdt.c: Likewise.
23362 * sysvipc/shmget.c: Likewise.
23363 * termios/tcdrain.c: Likewise.
23364 * termios/tcflow.c: Likewise.
23365 * termios/tcflush.c: Likewise.
23366 * termios/tcgetattr.c: Likewise.
23367 * termios/tcgetpgrp.c: Likewise.
23368 * termios/tcsendbrk.c: Likewise.
23369 * termios/tcsetattr.c: Likewise.
23370 * termios/tcsetpgrp.c: Likewise.
23371 * time/adjtime.c: Likewise.
23372 * time/clock.c: Likewise.
23373 * time/getitimer.c: Likewise.
23374 * time/gettimeofday.c: Likewise.
23375 * time/setitimer.c: Likewise.
23376 * time/settimeofday.c: Likewise.
23377 * time/stime.c: Likewise.
23378 * time/time.c: Likewise.
23379
233802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23381
a20492cf
PT
23382 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23383 /usr/old/bin.
23384
72e182e3
PT
23385 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23386 instead of spaces.
23387 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23388
fbeafede
JM
233892012-11-03 Joseph Myers <joseph@codesourcery.com>
23390
5b5b04d6
JM
23391 [BZ #14796]
23392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23393 FE_TONEAREST before applying Dekker multiplication and Knuth
23394 addition. Clear inexact exceptions and check for exact zero
23395 results afterwards.
23396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23397 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23399 * math/libm-test.inc (fma_test): Add more tests.
23400 (fma_test_towardzero): Likewise.
23401 (fma_test_downward): Likewise.
23402 (fma_test_upward): Likewise.
23403 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23404 function.
23405 (libc_fesetround): New macro.
23406 (libc_fesetroundf): Likewise.
23407 (libc_fesetroundl): Likewise.
23408 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23409 function.
23410 (libc_fesetround_387): Likewise.
23411 (libc_fesetroundf): New macro.
23412 (libc_fesetround): Likewise.
23413 (libc_fesetroundl): Likewise.
23414 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23415 function.
23416 (libc_fesetroundf): New macro.
23417 (libc_fesetround): Likewise.
23418 (libc_fesetroundl): Likewise.
23419 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23420 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23421 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23422 libm_hidden_ver.
23423 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23424 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23425 libm_hidden_def.
23426 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23427 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23428 libm_hidden_ver.
23429 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23430 libm_hidden_def.
23431
fbeafede
JM
23432 [BZ #3439]
23433 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23434 integer constant usable in #if and use that to give value to enum
23435 constant.
23436 (FE_DIVBYZERO): Likewise.
23437 (FE_UNDERFLOW): Likewise.
23438 (FE_OVERFLOW): Likewise.
23439 (FE_INVALID): Likewise.
23440 (FE_INVALID_SNAN): Likewise.
23441 (FE_INVALID_ISI): Likewise.
23442 (FE_INVALID_IDI): Likewise.
23443 (FE_INVALID_ZDZ): Likewise.
23444 (FE_INVALID_IMZ): Likewise.
23445 (FE_INVALID_COMPARE): Likewise.
23446 (FE_INVALID_SOFTWARE): Likewise.
23447 (FE_INVALID_SQRT): Likewise.
23448 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23449 (FE_TONEAREST): Likewise.
23450 (FE_TOWARDZERO): Likewise.
23451 (FE_UPWARD): Likewise.
23452 (FE_DOWNWARD): Likewise.
23453 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23454 (FE_DIVBYZERO): Likewise.
23455 (FE_OVERFLOW): Likewise.
23456 (FE_UNDERFLOW): Likewise.
23457 (FE_INEXACT): Likewise.
23458 (FE_TONEAREST): Likewise.
23459 (FE_DOWNWARD): Likewise.
23460 (FE_UPWARD): Likewise.
23461 (FE_TOWARDZERO): Likewise.
23462 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23463 (FE_UNDERFLOW): Likewise.
23464 (FE_OVERFLOW): Likewise.
23465 (FE_DIVBYZERO): Likewise.
23466 (FE_INVALID): Likewise.
23467 (FE_TONEAREST): Likewise.
23468 (FE_TOWARDZERO): Likewise.
23469 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23470 (FE_OVERFLOW): Likewise.
23471 (FE_UNDERFLOW): Likewise.
23472 (FE_DIVBYZERO): Likewise.
23473 (FE_INEXACT): Likewise.
23474 (FE_TONEAREST): Likewise.
23475 (FE_TOWARDZERO): Likewise.
23476 (FE_UPWARD): Likewise.
23477 (FE_DOWNWARD): Likewise.
23478 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23479 (FE_DIVBYZERO): Likewise.
23480 (FE_OVERFLOW): Likewise.
23481 (FE_UNDERFLOW): Likewise.
23482 (FE_INEXACT): Likewise.
23483 (FE_TONEAREST): Likewise.
23484 (FE_DOWNWARD): Likewise.
23485 (FE_UPWARD): Likewise.
23486 (FE_TOWARDZERO): Likewise.
23487
105ca950
CM
234882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23489
23490 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23491
a542b389
AS
234922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23493
23494 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23495 commands. Quote $PWD.
23496 (blacklist_exports): Don't use remove_newlines. Replace "declare
23497 -x" by "export".
23498 (remove_newlines): Remove.
23499
f62c8abc
L
235002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23501
23502 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23503 * stdlib/stdlib.h (atof): Moved to ...
23504 * include/bits/stdlib-float.h: Here. New file.
23505 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23506 * stdlib/bits/stdlib-float.h: New file.
23507 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23508 -mno-sse -mno-mmx.
23509 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23510 <xmmintrin.h>.
23511
0155d5b2
JM
235122012-11-02 Joseph Myers <joseph@codesourcery.com>
23513
a68d0680
JM
23514 * conform/conformtest.pl (@headers): Add fenv.h.
23515 * conform/data/fenv.h-data: New file.
23516 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23517 include of <math/fenv.h>.
23518
caf7f573
JM
23519 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23520 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23521 && !UNIX98]. Enables tests for XOPEN2K8.
23522 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23523 POSIX2008]: Likewise.
23524
6c073ad6
JM
23525 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23526 (struct rusage): Do not expect type or its members.
23527
0155d5b2
JM
23528 [BZ #3439]
23529 * math/math.h (FP_NAN): Define macro to integer constant usable in
23530 #if and use that to give value to enum constant.
23531 (FP_INFINITE): Likewise.
23532 (FP_ZERO): Likewise.
23533 (FP_SUBNORMAL): Likewise.
23534 (FP_NORMAL): Likewise.
23535
b5dcacb4
AS
235362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23537
23538 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23539 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23540 arguments.
23541
f7934be8
RM
235422012-11-02 Roland McGrath <roland@hack.frob.com>
23543
23544 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23545 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23546 autoconf-time if not.
23547 * configure.in: Remove AC_PREREQ.
23548
d7d08bde
TMQMF
235492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23550
23551 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23552 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23553 of the internal implementation.
23554
dcdae19a
JM
235552012-11-02 Joseph Myers <joseph@codesourcery.com>
23556
23557 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23558 except include of <misc/sys/syslog.h>.
23559
d6cffd3e
AS
235602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23561
23562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23563 function returns with a NULL context exit with zero.
23564
b3563932
TMQMF
235652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23566
23567 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23568
b288a93d
L
235692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23570
23571 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23572 (run_program_cmd): This.
23573 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23574 (tst_langinfo): New variable. Use it.
23575
a2421a68
SAS
235762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23577
23578 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23579 floating point opcodes.
23580
6f796e1b
TS
235812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23582
7402596b
TS
23583 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23584 variable.
23585
d0d4f868
TS
23586 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23587
6f796e1b
TS
23588 * sysdeps/mach/hurd/powerpc: Remove directory.
23589 * sysdeps/mach/powerpc: Likewise.
23590
4da224a2
AS
235912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23592
23593 * scripts/check-local-headers.sh: Ignore c++ headers.
23594
341dd673
TS
235952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23596
23597 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23598 __libc_cleanup_region_start argument.
23599
473611b2
JM
236002012-11-01 Joseph Myers <joseph@codesourcery.com>
23601
23602 [BZ #14784]
23603 [BZ #14785]
23604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23605 x * y using scaling, not as x * y + z.
23606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23608 * math/libm-test.inc (fma_test): Add more tests.
23609 (fma_test_towardzero): Likewise.
23610 (fma_test_downward): Likewise.
23611 (fma_test_upward): Likewise.
23612
4078da3d
TS
236132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23614
23615 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23616
903252aa
JM
236172012-10-31 Joseph Myers <joseph@codesourcery.com>
23618
23619 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23620 New variable.
23621
cbc818d0
TS
236222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23623
23624 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23625
5a03cb1e
AS
236262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23627
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23629 Fix sort order.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23631 Likewise.
23632
90aff2ff
TMQMF
236332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23634
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23636 Fix the order of the list for glibc 2.17.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23638 Likewise.
23639
1818fcb7
AS
236402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23641
23642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23643
ef82f4da
JM
236442012-10-31 Joseph Myers <joseph@codesourcery.com>
23645
16a0e2ec
JM
23646 [BZ #14610]
23647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23648 for low part of x being zero before using __atanl (y).
23649 * math/libm-test.inc (atan2_test): Add another test.
23650
0eb69512
JM
23651 * manual/install.texi (Configuring and compiling): Document
23652 general use of test-wrapper and test-wrapper-env.
23653 * INSTALL: Regenerated.
23654
ef82f4da
JM
23655 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23656 (__fma): Do not extract and scale down low bits on after-rounding
23657 systems when result rounded to normal precision would have normal
23658 exponent.
23659 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23660 (__fmal): Do not extract and scale down low bits on after-rounding
23661 systems when result rounded to normal precision would have normal
23662 exponent.
23663 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23664 (__fmal): Do not extract and scale down low bits on after-rounding
23665 systems when result rounded to normal precision would have normal
23666 exponent.
23667 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23668 macro.
23669 (fma_test): Add more tests.
23670 (fma_test_towardzero): Likewise.
23671 (fma_test_downward): Likewise.
23672 (fma_test_upward): Likewise.
23673
954ef0d9
L
236742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 * sysdeps/i386/tininess.h: Renamed to ...
23677 * sysdeps/x86/tininess.h: This.
23678 * sysdeps/x86_64/tininess.h: Removed.
23679
df61ffb2
JM
236802012-10-30 Joseph Myers <joseph@codesourcery.com>
23681
23682 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23683 input. Use $(build-program-cmd).
23684 ($(objpfx)tst-array1-static.out): Likewise.
23685 ($(objpfx)tst-array2.out): Likewise.
23686 ($(objpfx)tst-array3.out): Likewise.
23687 ($(objpfx)tst-array4.out): Likewise.
23688 ($(objpfx)tst-array5.out): Likewise.
23689 ($(objpfx)tst-array5-static.out): Likewise.
23690
01767843
CM
236912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23692
47cc1490
CM
23693 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23694 if defined.
23695
01767843
CM
23696 * nss/nsswitch.h (nss_interface_function): Provide new
23697 macro for use with NSS functions.
23698 * grp/initgroups.c: Use new macro.
23699 * nss/getXXbyYY.c: Likewise.
23700 * nss/getXXbyYY_r.c: Likewise.
23701 * nss/getXXent.c: Likewise.
23702 * nss/getXXent_r.c: Likewise.
23703 * sysdeps/posix/getaddrinfo.c: Likewise.
23704
8321aa97
AJ
237052012-10-30 Andreas Jaeger <aj@suse.de>
23706
23707 * po/ru.po: Update Russion translation from translation project.
23708
2a27fd6d
JM
237092012-10-30 Joseph Myers <joseph@codesourcery.com>
23710
8627a232
JM
23711 [BZ #14152]
23712 [BZ #14783]
23713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23714 result and shift together with sticky bit instead of replicating
23715 round-to-nearest rounding.
23716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23718 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23719 missing underflow exceptions.
23720 (fma_test_towardzero): Add more tests.
23721 (fma_test_downward): Likewise.
23722 (fma_test_upward): Likewise.
23723
2a27fd6d
JM
23724 [BZ #14047]
23725 * sysdeps/generic/tininess.h: New file.
23726 * sysdeps/i386/tininess.h: Likewise.
23727 * sysdeps/sh/tininess.h: Likewise.
23728 * sysdeps/x86_64/tininess.h: Likewise.
23729 * stdlib/tst-strtod-underflow.c: Likewise.
23730 * stdlib/tst-tininess.c: Likewise.
23731 * stdlib/strtod_l.c: Include <tininess.h>.
23732 (round_and_return): Do not set errno for exact underflow cases.
23733 Force an underflow exception when setting errno for underflow.
23734 Determine underflow based on rounding to normal precision if
23735 TININESS_AFTER_ROUNDING.
23736 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23737 ERANGE for exact underflow cases.
23738 * stdlib/Makefile (tests): Add tst-tininess and
23739 tst-strtod-underflow.
23740 ($(objpfx)tst-tininess): Use $(link-libm).
23741 ($(objpfx)tst-strtod-underflow): Likewise.
23742
e7170363
AJ
237432012-10-30 Andreas Jaeger <aj@suse.de>
23744
e5088dc6
AJ
23745 [BZ#14767]
23746 * elf/Makefile (tests): Remove conditional for have-initfini-array
23747 since this is now always required and the variable does not exist
23748 anymore.
23749 (tests-static): Likewise.
23750 (modules-names): Likewise.
23751
e7170363 23752 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23753
23754 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23755 merged with constructor/destructor.
23756 (init_array): Likewise.
23757 * elf/tst-array2dep.c (fini_array): Likewise.
23758 (init_array): Likewise.
23759
60457d8a
MF
237602012-10-29 Mike Frysinger <vapier@gentoo.org>
23761
23762 * manual/message.texi: Delete @cartouche tags.
23763
8bece752
PT
237642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23765
94ce799f
PT
23766 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23767 EOPNOTSUPP.
23768 * sysdeps/mach/hurd/fsync.c: Likewise.
23769
8bece752
PT
23770 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23771 [_POSIX_REALTIME_SIGNALS]: Change condition to
23772 [_POSIX_REALTIME_SIGNALS > 0].
23773
86ebe6b1
AJ
237742012-10-27 Andreas Jaeger <aj@suse.de>
23775
23776 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23777 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23779 [__WORDSIZE != 64]: Likewise.
23780
54399c08
L
237812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23782
23783 * iconvdata/tst-table.sh: Remove ${SHELL}.
23784 * iconvdata/tst-tables.sh: Likewise.
23785
e2211bed
DM
237862012-10-25 David S. Miller <davem@davemloft.net>
23787
23788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23789 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23790 of strtoull.
23791
f303f97c
DM
23792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23793 ifunc-impl-list.c
23794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23795 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23796 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23797 file.
23798
1e9d84cd
RM
237992012-10-25 Roland McGrath <roland@hack.frob.com>
23800
23801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23802 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23803 __getdirentries.
23804
df381762
JM
238052012-10-25 Joseph Myers <joseph@codesourcery.com>
23806 Jim Blandy <jimb@codesourcery.com>
23807
23808 * scripts/cross-test-ssh.sh: New file.
23809 * manual/install.texi (Configuring and compiling): Document use of
23810 cross-test-ssh.sh.
23811 * INSTALL: Regenerated.
23812
bff64913
PT
238132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23814
23815 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23816 EOPNOTSUPP.
23817
25fe8932
JM
238182012-10-25 Joseph Myers <joseph@codesourcery.com>
23819
23820 * Makeconfig (run-program-prefix): Fix comment.
23821
cc1290d0
JM
238222012-10-24 Joseph Myers <joseph@codesourcery.com>
23823 Jim Blandy <jimb@codesourcery.com>
23824
23825 * Makeconfig (test-wrapper): New variable,
23826 (test-wrapper-env): Likewise.
23827 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23828 (run-built-tests): Define to yes.
23829 (run-program-prefix): Use $(test-wrapper).
23830 (built-program-cmd): Likewise.
23831 * Rules (make-test-out): Use $(test-wrapper-env) and
23832 $(host-built-program-cmd).
23833 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23834 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23835 tst-pathopt.sh.
23836 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23837 $(test-wrapper-env) to tst-rtld-load-self.sh.
23838 ($(objpfx)order2.out): Use $(test-wrapper).
23839 ($(objpfx)tst-initorder.out): Likewise.
23840 ($(objpfx)tst-initorder2.out): Likewise.
23841 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23842 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23843 (test_wrapper_env): New variable. Use it to run ld.so.
23844 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23845 Use it to run ld.so.
23846 (test_wrapper_env): Likewise.
23847 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23848 $(test-wrapper) to run-iconv-test.sh.
23849 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23850 (ICONV): Use $test_wrapper.
23851 * posix/Makefile ($(objpfx)globtest.out): Pass
23852 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23853 globtest.sh, not $(run-program-prefix).
23854 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23855 (test_wrapper): Likewise.
23856 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23857 set together with run_via_rtld_prefix.
23858 (run_program_prefix): Define in terms of test_wrapper and
23859 run_via_rtld_prefix.
23860
6e6249d0
RM
238612012-10-24 Roland McGrath <roland@hack.frob.com>
23862
23863 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23864 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23865 Targets removed.
23866
23867 [BZ #14743]
23868 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23869 Declare __clock_getres, __clock_gettime, __clock_settime,
23870 __clock_nanosleep, and __clock_getcpuclockid.
23871 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23872 Remove librt_hidden_def (clock_gettime).
23873 * sysdeps/unix/clock_gettime.c: Likewise.
23874 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23876 * rt/clock_getres.c: Define __clock_getres as an alias.
23877 * sysdeps/posix/clock_getres.c: Likewise.
23878 * rt/clock_settime.c: Define __clock_settime as an alias.
23879 * sysdeps/unix/clock_settime.c: Likewise.
23880 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23881 * sysdeps/unix/clock_nanosleep.c: Likewise.
23882 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23883 * rt/clock-compat.c: New file.
23884 * rt/Makefile (librt-routines): Add clock-compat and move
23885 $(clock-routines) to ...
23886 (routines): ... here, new variable.
23887 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23888 Don't add get_clockfreq here.
23889 * rt/Versions (libc: GLIBC_2.17): New version set.
23890 Add clock_* symbols here.
23891 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23893 (GLIBC_2.17): Add clock_* symbols.
23894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23898 Likewise.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23900 Likewise.
23901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23905 * NEWS: Mention the move.
23906
23907 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23908 Use __open, __read, __close rather than their public counterparts.
23909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23910 (__get_clockfreq_via_cpuinfo): Likewise.
23911 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23912 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23913
23914 * config.h.in (HAVE_IFUNC): New #undef.
23915 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23916 was successful.
23917 * configure: Regenerated.
23918
0cae3f4b
MF
239192012-10-24 Mike Frysinger <vapier@gentoo.org>
23920
23921 * configure.in: Move READELF check to start of file.
23922 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23923 libc_cv_asm_gnu_indirect_function in the process.
23924 * configure: Regenerated.
23925
8175a253
MF
239262012-10-24 Mike Frysinger <vapier@gentoo.org>
23927
23928 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23929 send the output to /dev/null.
23930 (libc_cv_cc_with_libunwind): Likewise.
23931 (libc_cv_as_noexecstack): Likewise.
23932 * configure: Regenerate.
23933
0708a7d1
JM
239342012-10-24 Joseph Myers <joseph@codesourcery.com>
23935
10b40d85
JM
23936 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23937
0708a7d1
JM
23938 * posix/globtest.sh (TMPDIR): Do not set.
23939 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23940 (testout): Likewise.
23941
9fddec1a
AJ
239422012-10-24 Andreas Jaeger <aj@suse.de>
23943
3a8db22f
AJ
23944 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23945 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23946 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23947 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23948 posix_fadvise64, posix_fallocate64.
23949
9fddec1a
AJ
23950 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23951 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23952 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23953 Likewise.
23954 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23955 Likewise.
23956 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23957
23958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23959 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23960 <bits/fcntl-linux.h>.
23961 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23962
23963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23964 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23965 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23966 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23967 [__WORDSIZE != 64]: Likewise.
23968
ebfd1bbd
JM
239692012-10-23 Joseph Myers <joseph@codesourcery.com>
23970
03ac099f
JM
23971 * Makeconfig (run-built-tests): New variable.
23972 * Rules [$(cross-compiling) = yes]: Change condition to
23973 [$(run-built-tests) = no].
23974 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23975 to [$(run-built-tests) = yes].
23976 * elf/Makefile [$(cross-compiling) = no]: Likewise
23977 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23978 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23979 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23980 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23981 * io/Makefile [$(cross-compiling) = no]: Likewise.
23982 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23983 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23984 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23985 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23986 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23987 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23988 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23989 * string/Makefile [$(cross-compiling) = no]: Likewise.
23990
ebfd1bbd
JM
23991 * posix/Makefile ($(objpfx)globtest.out): Pass
23992 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23993 $(rtld-installed-name).
23994 * posix/globtest.sh (elf_objpfx): Remove variable.
23995 (rtld_installed_name): Likewise.
23996 (library_path): Likewise.
23997 (run_program_prefix): New variable. Use for running globtest
23998 binary.
23999
166bca24
JB
240002012-10-23 Jim Blandy <jimb@codesourcery.com>
24001 Joseph Myers <joseph@codesourcery.com>
24002
24003 * Makeconfig (host-built-program-cmd): New variable.
24004 * elf/Makefile (tst-stackguard1-ARGS): Use
24005 $(host-built-program-cmd).
24006 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24007 (tst-spawn-ARGS): Likewise.
24008 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24009
88866099
JM
240102012-10-23 Joseph Myers <joseph@codesourcery.com>
24011 Jim Blandy <jimb@codesourcery.com>
24012
24013 * Makeconfig (run-via-rtld-prefix): New variable.
24014 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24015 (built-program-cmd): Likewise.
24016
b4b4c296
AJ
240172012-10-22 Andreas Jaeger <aj@suse.de>
24018
24019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24020 __O_RSYNC if it exists, otherwise to O_SYNC.
24021
6fb54a22
JB
240222012-10-22 Jim Blandy <jimb@codesourcery.com>
24023 Joseph Myers <joseph@codesourcery.com>
24024
24025 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24026 /dev/null.
24027 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24028 from /dev/null
24029 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24030 /dev/null.
24031
481b90b9
AJ
240322012-10-22 Andreas Jaeger <aj@suse.de>
24033
2a0e2669
AJ
24034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24035 Define always.
24036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24037
76e38f9a
AJ
24038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24039 bits/fcntl-linux.h.
24040
7cd37b43
AJ
24041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24042 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24043
481b90b9
AJ
24044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24045 to __O_LARGEFILE.
24046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24047 to __O_LARGEFILE.
24048
aba75984
JB
240492012-10-21 Jim Blandy <jimb@codesourcery.com>
24050 Joseph Myers <joseph@codesourcery.com>
24051
24052 * config.make.in (NM): New variable.
24053
88d4247f
AJ
240542012-10-21 Andreas Jaeger <aj@suse.de>
24055
24056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24057 definitions and declarations that are provided by
24058 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24059
f2eed205
L
240602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 [BZ #14683]
24063 * elf/Makefile (tests-static): Add tst-leaks1-static.
24064 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24065 ($(objpfx)tst-leaks1-static): New rule.
24066 ($(objpfx)tst-leaks1-static-mem): Likewise.
24067 (tst-leaks1-static-ENV): New macro.
24068 * elf/dl-open.c (dl_open_worker): Check the main application
24069 only if SHARED is defined.
24070 * elf/tst-leaks1-static.c: New file.
24071
335e6931
AJ
240722012-10-20 Andreas Jaeger <aj@suse.de>
24073
24074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24075 generic values for Linux.
24076 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24077 and declarations that are provided by <bits/fcntl-linux.h> and
24078 include <bits/fcntl-linux.h>.
24079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24081
ac5c94d3
RM
240822012-10-20 Roland McGrath <roland@hack.frob.com>
24083
24084 * io/fcntl.h: Move include of <bits/types.h> to the top and
24085 include it unconditionally.
24086
de54b33a
L
240872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24088
228cfb01
L
24089 * wcsmbs/Makefile (tests-ifunc): New variable.
24090 (tests): Add $(tests-ifunc).
24091 * wcsmbs/test-wcschr-ifunc.c: New file.
24092 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24093 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24094 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24095 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24096 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24097
69f07e5f
L
24098 * string/Makefile (tests-ifunc): New variable.
24099 (tests): Add $(tests-ifunc).
24100 * string/test-memccpy.c (TEST_NAME): New macro.
24101 * string/test-memchr.c (TEST_NAME): Likewise.
24102 * string/test-memcmp.c (TEST_NAME): Likewise.
24103 * string/test-memcpy.c (TEST_NAME): Likewise.
24104 * string/test-memmem.c (TEST_NAME): Likewise.
24105 * string/test-memmove.c (TEST_NAME): Likewise.
24106 * string/test-memset.c (TEST_NAME): Likewise.
24107 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24108 * string/test-stpcpy.c (TEST_NAME): Likewise.
24109 * string/test-stpncpy.c (TEST_NAME): Likewise.
24110 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24111 * string/test-strcasestr.c (TEST_NAME): Likewise.
24112 * string/test-strcat.c (TEST_NAME): Likewise.
24113 * string/test-strchr.c (TEST_NAME): Likewise.
24114 * string/test-strcmp.c(TEST_NAME): Likewise.
24115 * string/test-strcpy.c (TEST_NAME): Likewise.
24116 * string/test-strcspn.c (TEST_NAME): Likewise.
24117 * string/test-strlen.c (TEST_NAME): Likewise.
24118 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24119 * string/test-strncmp.c (TEST_NAME): Likewise.
24120 * string/test-strncpy.c (TEST_NAME): Likewise.
24121 * string/test-strnlen.c (TEST_NAME): Likewise.
24122 * string/test-strpbrk.c (TEST_NAME): Likewise.
24123 * string/test-strrchr.c (TEST_NAME): Likewise.
24124 * string/test-strspn.c (TEST_NAME): Likewise.
24125 * string/test-strstr.c (TEST_NAME): Likewise.
24126 * string/test-bcopy-ifunc.c: New file.
24127 * string/test-bzero-ifunc.c: Likewise.
24128 * string/test-memccpy-ifunc.c: Likewise.
24129 * string/test-memchr-ifunc.c: Likewise.
24130 * string/test-memcmp-ifunc.c: Likewise.
24131 * string/test-memcpy-ifunc.c: Likewise.
24132 * string/test-memmem-ifunc.c: Likewise.
24133 * string/test-memmove-ifunc.c: Likewise.
24134 * string/test-mempcpy-ifunc.c: Likewise.
24135 * string/test-memset-ifunc.c: Likewise.
24136 * string/test-rawmemchr-ifunc.c: Likewise.
24137 * string/test-stpcpy-ifunc.c: Likewise.
24138 * string/test-stpncpy-ifunc.c: Likewise.
24139 * string/test-strcasecmp-ifunc.c: Likewise.
24140 * string/test-strcasestr-ifunc.c: Likewise.
24141 * string/test-strcat-ifunc.c: Likewise.
24142 * string/test-strchr-ifunc.c: Likewise.
24143 * string/test-strchrnul-ifunc.c: Likewise.
24144 * string/test-strcmp-ifunc.c: Likewise.
24145 * string/test-strcpy-ifunc.c: Likewise.
24146 * string/test-strcspn-ifunc.c: Likewise.
24147 * string/test-strlen-ifunc.c: Likewise.
24148 * string/test-strncasecmp-ifunc.c: Likewise.
24149 * string/test-strncat-ifunc.c: Likewise.
24150 * string/test-strncmp-ifunc.c: Likewise.
24151 * string/test-strncpy-ifunc.c: Likewise.
24152 * string/test-strnlen-ifunc.c: Likewise.
24153 * string/test-strpbrk-ifunc.c: Likewise.
24154 * string/test-strrchr-ifunc.c: Likewise.
24155 * string/test-strspn-ifunc.c: Likewise.
24156 * string/test-strstr-ifunc.c: Likewise.
24157
de54b33a
L
24158 * debug/Makefile (tests-ifunc): New variable.
24159 (tests): Add $(tests-ifunc).
24160 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24161 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24162 * debug/test-stpcpy_chk-ifunc.c: New file.
24163 * debug/test-strcpy_chk-ifunc.c: Likewise.
24164
88481c16
SP
241652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
24167 [BZ #13601]
24168 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24169 header is not read in.
24170
135948bd
JM
241712012-10-19 Joseph Myers <joseph@codesourcery.com>
24172
89f1c388
JM
24173 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24174 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24175 directly. Pass built executable to script as
24176 $(built-program-cmd).
24177 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24178 $testprogram without using LD_LIBRARY_PATH and $ldso.
24179
e40a0d21
JM
24180 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24181 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24182 $(rtld-installed-name).
24183 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24184 (rtld_installed_name): Likewise.
24185 (library_path): Likewise.
24186 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24187 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24188 $(run-program-prefix) to tst-tables.sh.
24189 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24190 it to run tst-table-from and tst-table-to.
24191 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24192 Pass it to tst-table.sh.
24193 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24194 $(run-program-prefix) to tst-gettext.sh.
24195 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24196 tst-translit.sh.
24197 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24198 tst-gettext2.sh.
24199 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24200 to run tst-gettext.
24201 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24202 to run tst-gettext2.
24203 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24204 to run tst-translit.
24205 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24206 $(run-program-prefix) to tst-mtrace.sh.
24207 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24208 to run tst-mtrace.
24209 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24210 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24211 $(rtld-installed-name).
24212 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24213 (rtld_installed_name): Likewise.
24214 (run_program_prefix): New variable. Use it to run wordexp-test.
24215
728e272a
JM
24216 * Makeconfig (ARCH): Remove all definitions.
24217 (machine): Likewise.
24218 [ARCH]: Remove conditional code.
24219 [!objdir]: Give error.
24220 [!objdir] (objpfx): Remove.
24221 [!objdir] (common-objpfx): Likewise.
24222 [!objdir] (common-objdir): Likewise.
24223 * configure.in (config_makefile): Remove. Hardcode Makefile in
24224 AC_CONFIG_FILES call.
24225 * configure: Regenerated.
24226
d528cdcf
JM
24227 [BZ #13888]
24228 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24229 or TMPDIR.
24230 (testout): Likewise.
24231
135948bd
JM
24232 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24233 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24234 $(rtld-installed-name).
24235 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24236 (rtld_installed_name): Likwise.
24237 (runit): Remove function.
24238 (run_getconf): New variable, Use it for running getconf binary.
24239
38c78296
L
242402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 [BZ #14716]
24243 * string/test-memmem.c (check_result): New function.
24244 (do_one_test): Use it.
24245 (check1): New function.
24246 (test_main): Use it.
24247
d077f65f
MT
242482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24249
24250 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24251
ced52c71
JM
242522012-10-18 Joseph Myers <joseph@codesourcery.com>
24253
24254 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24255 (_G_LSEEK64): Likewise.
24256 (_G_MMAP64): Likewise.
24257 (_G_FSTAT64): Likewise.
24258 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24259 (_G_LSEEK64): Likewise.
24260 (_G_MMAP64): Likewise.
24261 (_G_FSTAT64): Likewise.
24262 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24263 unconditional. Call __mmap64 directly.
24264 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24265 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24266 __lseek64 directly.
24267 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24268 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24269 __mmap64 directly.
24270 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24271 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24272 __lseek64 directly.
24273 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24274 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24275 __lseek64 directly.
24276 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24277 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24278 __lseek64 directly.
24279 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24280 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24281 __fxstat64 directly.
24282 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24283 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24284 unconditional.
24285 (freopen64) [!_G_OPEN64]: Remove conditional code.
24286 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24287 unconditional.
24288 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24289 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24290 unconditional.
24291 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24292 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24293 unconditional.
24294 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24295 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24296 unconditional.
24297 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24298 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24299 unconditional.
24300 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24301 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24302 unconditional.
24303 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24304 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24305 unconditional.
24306 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24307
b741de23
SP
243082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24309
24310 [BZ #12140]
24311 * manual/memory.texi (Malloc Tunable Parameters): Add note
24312 about free list pointers overwriting some perturb bytes.
24313 Wording suggested by Roland McGrath.
24314
f9b9d9c9
JM
243152012-10-17 Joseph Myers <joseph@codesourcery.com>
24316
24317 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24318 (lgamma_test): Likewise.
24319 (tgamma_test): Likewise.
24320
172a631a
FW
243212012-10-16 Florian Weimer <fweimer@redhat.com>
24322
24323 [BZ #14700]
24324 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24325 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24326
e9f37252
MK
243272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24328
24329 * NEWS: Mention BZ #14716.
24330 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24331 when removing AVAILABLE1_USES_J macro.
24332
d394eb74
L
243332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24334
24335 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24336 (__bswap_64): __uint64_t for unsigned 64-bit int.
24337
ca38dc17
AS
243382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24339
24340 * include/string.h (memmem): Declare libc hidden alias.
24341 * string/memmem.c (memmem): Define libc hidden alias.
24342 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24343 __read, __close instead of open, read, close.
24344
9a387d1f
L
243452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24346
ac49ecaf
L
24347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24348 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24349 global and hidden.
24350 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24351 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24352 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24353 Likewise.
24354 (__rawmemchr_sse2): Likewise.
24355 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24356 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24357 (__strchr_sse2): Likewise.
24358 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24359 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24360 (__strcasecmp_sse2): Likewise.
24361 (__strncasecmp_sse2): Likewise.
24362 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24363 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24364 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24365 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24366 (__strrchr_sse2): Likewise.
24367 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24368 ifunc-impl-list.c.
24369 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24370 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24371 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24372 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24373 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24374 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24375 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24376 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24377 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24378 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24379 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24380 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24381 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24382 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24383 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24384 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24385 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24386 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24387 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24388 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24389 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24390 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24391 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24392 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24393 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24394 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24395 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24396 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24397 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24398 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24399
b090e8ea
L
24400 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24401 global and hidden.
24402 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24403 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24404 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24405 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24406 Likewise.
24407 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24408 Likewise.
24409 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24410 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24411 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24412 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24413 ifunc-impl-list.c.
24414 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24415 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24432 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24445 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24448 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24455
11dd4af6
L
24456 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24457 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24458 * include/ifunc-impl-list.h: New file.
24459 * misc/ifunc-impl-list.c: Likewise.
24460 * misc/Makefile (routines): Add ifunc-impl-list.
24461 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24462 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24463 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24464 TEST_NAME]: New variables.
11dd4af6
L
24465 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24466 are defined.
24467 (test_init): Call __libc_ifunc_impl_list to initialize
24468 func_list if TEST_IFUNC and TEST_NAME are defined.
24469
9a387d1f
L
24470 * string/Makefile (strop-tests): Add bcopy and bzero.
24471 * string/test-bcopy.c: New file.
24472 * string/test-bzero.c: Likewise.
24473 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24474 defined.
24475 * string/test-memset.c: Support bzero test if TEST_BZERO is
24476 defined.
24477 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24478 __libc_memmove.
24479 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24480 __libc_memset.
24481 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24482 of memset.
24483
472371b9
JM
244842012-10-10 Joseph Myers <joseph@codesourcery.com>
24485
1e4a9536
JM
24486 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24487 * configure: Regenerated.
24488
d173d12e
JM
24489 * Makeconfig (+link-static-before-libc): Don't include
24490 $(link-static-libc).
24491
472371b9
JM
24492 * libio/libio.h (_IO_pos_t): Remove.
24493
89a3ad0b
AO
244942012-10-10 Alexandre Oliva <aoliva@redhat.com>
24495
24496 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24497 McGrath.
24498
e7451425
AO
244992012-10-10 Alexandre Oliva <aoliva@redhat.com>
24500
24501 * crypt/crypt-entry.c: Include fips-private.h.
24502 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24503 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24504 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24505 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24506
4ba74a35
AO
245072012-10-10 Alexandre Oliva <aoliva@redhat.com>
24508
24509 * crypt/crypt-private.h: Include stdbool.h.
24510 (_ufc_setup_salt_r): Return bool.
24511 * crypt/crypt-entry.c: Include errno.h.
24512 (__crypt_r): Return NULL with EINVAL for bad salt.
24513 * crypt/crypt_util.c (bad_for_salt): New.
24514 (_ufc_setup_salt_r): Check that salt is long enough and within
24515 the specified alphabet.
24516 * crypt/badsalttest.c: New file.
24517 * crypt/Makefile (tests): Add it.
24518 ($(objpfx)badsalttest): New.
24519
f96f1242
MK
245202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24521
24522 * NEWS: Add entry for BZ #14602.
24523
0e8e0c1c
JM
245242012-10-09 Joseph Myers <joseph@codesourcery.com>
24525
24526 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24527 type-generic.
24528 * math/libm-test.inc: Update comment listing what functions and
24529 macros are tested.
24530 (isgreater_test): New function.
24531 (isgreaterequal_test): Likewise.
24532 (isless_test): Likewise.
24533 (islessequal_test): Likewise.
24534 (islessgreater_test): Likewise.
24535 (isunordered_test): Likewise.
24536 (main): Call the new functions.
24537
273edc5e
RM
245382012-10-09 Roland McGrath <roland@hack.frob.com>
24539
b8493de0
RM
24540 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24541 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24542 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24543 * sysdeps/i386/configure: Regenerated.
24544 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24545 * sysdeps/mach/configure: Regenerated.
24546 * sysdeps/mach/hurd/configure: Regenerated.
24547 * sysdeps/powerpc/configure: Regenerated.
24548 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24549 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24550 * sysdeps/s390/s390-32/configure: Regenerated.
24551 * sysdeps/s390/s390-64/configure: Regenerated.
24552 * sysdeps/sh/configure: Regenerated.
24553 * sysdeps/sparc/configure: Regenerated.
24554 * sysdeps/unix/sysv/linux/configure: Regenerated.
24555 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24556 * sysdeps/x86_64/configure: Regenerated.
24557
273edc5e
RM
24558 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24559 defined. Don't check if MAP is NULL.
24560
c8450f70
JM
245612012-10-09 Joseph Myers <joseph@codesourcery.com>
24562
24563 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24564 (_G_stat64): Likewise.
24565 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24566 (_G_stat64): Likewise.
24567 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24568 instead of struct _G_stat64.
24569 * libio/fileops.c (mmap_remap_check): Likewise.
24570 (decide_maybe_mmap): Likewise.
24571 (_IO_new_file_seekoff): Likewise.
24572 (_IO_file_stat): Likewise.
24573 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24574 _G_off64_t.
24575 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24576 instead of struct _G_stat64.
24577 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24578
57e605ba
MK
245792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24580
24581 [BZ #14602]
24582 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24583 Replace with ...
24584 (CHECK_EOL): New macro.
24585 (two_way_short_needle): Check beginning of haystack for EOL. Use
24586 CHECK_EOL.
24587 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24588 Replace with CHECK_EOL.
24589 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24590 Replace with CHECK_EOL.
24591
ef1bb361
JM
245922012-10-08 Joseph Myers <joseph@codesourcery.com>
24593
24594 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24595 type-generic.
24596 * math/libm-test.inc: Update comment listing what functions and
24597 macros are tested.
24598 (finite_test): New function.
24599 (isinf_test): Likewise.
24600 (isnan_test): Likewise.
24601 (fpclassify_test): Test subnormal input.
24602 (isfinite_test): Likewise.
24603 (isnormal_test): Likewise.
24604 (main): Call the new functions.
24605
55f11534
JN
246062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24607
24608 [BZ #14660]
24609 * Makerules (%.dynsym): Force C locale when running
24610 $(OBJDUMP) --dynamic-syms.
24611
1ab29350
AS
246122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24613
24614 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24615 <stdint.h>.
24616
f1ecb7ef
DM
246172012-10-06 David S. Miller <davem@davemloft.net>
24618
24619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24620 upper 32-bits of the length value in %o2 since we use branch-on-register
24621 tests which consider the entire 64-bit register.
24622
5d41d91a
L
246232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24624
24625 * string/test-strstr.c (check2): Add a test for page boundary.
24626
3baddb72
DM
246272012-10-05 David S. Miller <davem@davemloft.net>
24628
24629 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24630 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24631 file.
24632 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24633 sysdep_routines.
24634 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24635 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24636 and bzero when HWCAP_SPARC_CRYPTO is present.
24637
9cee5585
L
246382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24639
d7e0dab9
L
24640 [BZ #14602]
24641 * string/test-strstr.c (check2): New function.
24642 (test_main): Call check2.
24643
03759f47
L
24644 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24645 and bug-strchr1.
24646 * string/bug-strcasestr1.c (do_test): Moved to ...
24647 * string/test-strcasestr.c (check1): Here. New function.
24648 (do_one_test): Break out result checking code into ...
24649 (check_result): This. New function.
24650 (do_one_test): Call check_result.
24651 (test_main): Call check1.
24652 * string/bug-strchr1.c (do_test): Moved to ...
24653 * string/test-strchr.c (check1): Here. New function.
24654 (do_one_test): Break out result checking code into ...
24655 (check_result): This. New function.
24656 (do_one_test): Call check_result.
24657 (test_main): Call check1.
24658 * string/bug-strstr1.c (main): Moved to ...
046f153e 24659 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24660 (do_one_test): Break out result checking code into ...
24661 (check_result): This. New function.
24662 (do_one_test): Call check_result.
24663 (test_main): Call check1.
24664 * string/bug-strcasestr1.c: Removed.
24665 * string/bug-strchr1.c: Likewise.
24666 * string/bug-strstr1.c: Likewise.
24667
53cea63e
L
24668 * elf/Makefile (dl-routines): Add hwcaps.
24669 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24670 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24671 (_dl_important_hwcaps): Moved to ...
24672 * elf/dl-hwcaps.c: Here. New file.
24673 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24674
9cee5585 24675 [BZ #14557]
bb859b06
L
24676 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24677 if IS_IN_rtld isn't defined.
24678
9cee5585
L
24679 * elf/dl-support.c (_dl_sysinfo_map): New.
24680 Include "get-dynamic-info.h" and "setup-vdso.h".
24681 (_dl_non_dynamic_init): Call setup_vdso.
24682 * elf/dynamic-link.h: Don't include <assert.h>.
24683 (elf_get_dynamic_info): Moved to ...
24684 * elf/get-dynamic-info.h: Here. New file.
24685 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24686 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24687 * elf/setup-vdso.h: Here. New file.
24688 * elf/rtld.c: Include "setup-vdso.h".
24689 (dl_main): Call setup_vdso.
24690
23c31b76
JM
246912012-10-05 Joseph Myers <joseph@codesourcery.com>
24692
28234b07
JM
24693 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24694 creal in comment listing functions tested. List finite, isinf,
24695 isnan, isless, islessequal, isgreater, isgreaterequal,
24696 islessgreater, isunordered, lgamma_r and pow10 as functions and
24697 macros not tested. Mention which functions not tested are aliases
24698 for other functions. Fix typo. Note that signs of NaNs are not
24699 tested.
24700
23c31b76
JM
24701 * scripts/config.guess: Update from config.git.
24702 * scripts/config.sub: Likewise.
24703
9043e228
RM
247042012-10-04 Roland McGrath <roland@hack.frob.com>
24705
24706 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24707 * misc/madvise.c (madvise): Renamed to __madvise.
24708 Make madvise a weak alias.
24709 * include/sys/mman.h: Declare __madvise.
24710 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24711 * sysdeps/unix/syscalls.list
24712 (madvise): Make __madvise the strong name, and madvise a weak alias.
24713 * sysdeps/unix/sysv/linux/syscalls.list
24714 (madvise, mmap): Remove redundant entries.
24715 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24716 * malloc/malloc.c (mtrim): Likewise.
24717 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24718
f57f8055
RM
247192012-10-03 Roland McGrath <roland@hack.frob.com>
24720
24721 * sysdeps/mach/hurd/dl-cache.c: File removed.
24722 * config.h.in (USE_LDCONFIG): New #undef.
24723 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24724 * configure: Regenerated.
24725 * elf/Makefile (dl-routines): Add dl-cache only under
24726 [$(use-ldconfig) = yes].
24727 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24728 cache on [USE_LDCONFIG].
24729 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24730 [USE_LDCONFIG].
24731 * elf/rtld.c (dl_main): Likewise.
24732
5bb0c10a
PT
247332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24734
24735 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24736 _SC_LEVEL4_CACHE_LINESIZE.
24737
010188c6
RM
247382012-10-03 Roland McGrath <roland@hack.frob.com>
24739
24740 * sysdeps/unix/bsd/confstr.h: File removed.
24741
b6c5ec07
AO
247422012-10-02 Alexandre Oliva <aoliva@redhat.com>
24743
24744 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24745 sys/sdt-config.h.
24746
408223d4
RM
247472012-10-02 Roland McGrath <roland@hack.frob.com>
24748
24749 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24750 Make 'mapoff' field ElfW(Off) rather than off_t.
24751
bb9510dc
DL
247522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24753
fc997c6e
DL
24754 * nscd/Makefile: Remove nscd-cflags and all its users.
24755 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24756 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24757
bb9510dc
DL
24758 [BZ #10631]
24759 * malloc.c (malloc_printerr): Clarify error message.
24760
05699367
L
247612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 [BZ #14648]
24764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24765 Set bit_FMA_Usable if FMA is supported.
24766 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24767 macro.
24768 (bit_FMA4_Usable): Updated.
24769 (index_FMA_Usable): New macro.
24770 (CPUID_FMA): Likewise
24771 (HAS_FMA): Defined with bit_FMA_Usable.
24772
51367701
RM
247732012-10-01 Roland McGrath <roland@hack.frob.com>
24774
24775 * bits/types.h (__swblk_t): Type removed.
24776 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24777 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24779 (__SWBLK_T_TYPE): Likewise.
24780 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24781 (__SWBLK_T_TYPE): Likewise.
24782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24783 (__SWBLK_T_TYPE): Likewise.
24784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24785 (__SWBLK_T_TYPE): Likewise.
24786
4d57bf63 247872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24788 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24789
24790 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24791 (xdr_mapname): Use YPMAXMAP as maxsize.
24792 (xdr_peername): Use YPMAXPEER as maxsize.
24793 (xdr_keydat): Use YPAXRECORD as maxsize.
24794 (xdr_valdat): Use YPMAXRECORD as maxsize.
24795
93c65d43
RM
247962012-10-01 Roland McGrath <roland@hack.frob.com>
24797
497a03d6
RM
24798 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24799
93c65d43
RM
24800 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24801 * csu/init-first.c: ... here.
24802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24803 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24804 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24805 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24806 * sysdeps/i386/init-first.c: File removed.
24807 * sysdeps/sh/init-first.c: File removed.
24808
bec749fd
JM
248092012-10-01 Joseph Myers <joseph@codesourcery.com>
24810
24811 [BZ #14645]
24812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24813 if x * y might underflow to zero and z is zero.
24814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24816 * math/libm-test.inc (min_subnorm_value): New variable.
24817 (fma_test): Add more tests.
24818 (fma_test_towardzero): Likewise.
24819 (fma_test_downward): Likewise
24820 (fma_test_upward): Likewise.
24821 (initialize): Set min_subnorm_value.
24822
8ec5b013
JM
248232012-09-29 Joseph Myers <joseph@codesourcery.com>
24824
24825 [BZ #14638]
24826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24827 0 + 0.
24828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24829 mode for addition resulting in exact zero.
24830 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24832 exact 0 + 0.
24833 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24835 * math/libm-test.inc (fma_test): Add more tests.
24836 (fma_test_towardzero): New function.
24837 (fma_test_downward): Likewise.
24838 (fma_test_upward): Likewise.
24839 (main): Call the new functions.
24840
b1fa802e
DM
248412012-09-28 David S. Miller <davem@davemloft.net>
24842
24843 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24844
d3b9fd9e
RM
248452012-09-28 Roland McGrath <roland@hack.frob.com>
24846
ea4d37b3
RM
24847 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24848 instead of SIGALRM.
24849
ac51c949
RM
24850 * sysdeps/gnu/_G_config.h: Moved to ...
24851 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24852 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24853 * sysdeps/generic/_G_config.h: ... here.
24854
28c195f7
RM
24855 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24856
848917f9
RM
24857 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24858
6bacf05b
RM
24859 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24860 Conditionalize target on [libnss_test1.so-version].
24861
91363dbb
RM
24862 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24863
cc87f7d8
RM
24864 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24865 (elfobjdir): Move out of conditionals.
24866
b1c608fe
RM
24867 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24868 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24869 (__nss_lookup_function): Conditionalize label remove_from_tree on
24870 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24871
1d9a6d96
DM
248722012-09-28 David S. Miller <davem@davemloft.net>
24873
24874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24876 file.
24877 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24878 sysdep_routines.
24879 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24881 when HWCAP_SPARC_CRYPTO is present.
24882
72581615
PT
248832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24884
24885 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24886
715a900c
JL
248872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24888
24889 [BZ #6530]
24890 * stdio-common/vfprintf.c (process_string_arg): Revert
24891 2000-07-22 change.
24892
248932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24894
24895 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24896 for testcase.
24897 * stdio-common/tst-sprintf.c: Include <locale.h>
24898 (main): Test sprintf's handling of incomplete multibyte
24899 characters.
24900
9bac1d86
L
249012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24902
24903 * elf/dl-runtime.c (VERSYMIDX): Removed.
24904 * elf/dl-version.c (VERSYMIDX): Likewise.
24905 * elf/do-rel.h (VERSYMIDX): Likewise.
24906 (VALIDX): Likewise.
24907 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24908 * elf/rtld.c (VALIDX): Likewise.
24909 (ADDRIDX): Likewise.
9bac1d86
L
24910 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24911 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24912 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24913 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24914 (VALIDX): Likewise.
24915 (ADDRIDX): Likewise.
9bac1d86 24916
b31606c0
PT
249172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24918
24919 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24920
11541177
JL
249212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24922
24923 [BZ #11438]
24924 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24925 to global scope.
24926 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24927 addresses are in the same scope as 192.0.2/24.
24928 * posix/gai.conf: Document new scope table defaults.
24929
adb26fae
SP
249302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24931
24932 [BZ #5298]
24933 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24934 for ftell. Compute offsets from write pointers instead.
24935 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24936
4573c6b0
SP
249372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24938
24939 [BZ #14543]
24940 * libio/Makefile (tests): New test case tst-fseek.
24941 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24942 combination works in wide mode.
24943 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24944 state when the external buffer state changes.
24945
aa9bbfe6
DM
249462012-09-27 David S. Miller <davem@davemloft.net>
24947
24948 [BZ #14376]
24949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24950 pass reloc->r_addend in as the 'high' argument to
24951 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24952
784421e7
DM
24953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24954
c39bc8b8
PT
249552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24956
24957 * rt/tst-aio2.c: Include <pthread.h>.
24958 * rt/tst-aio3.c: Likewise.
24959
1ccc2399
SE
249602012-09-27 Steve Ellcey <sellcey@mips.com>
24961
24962 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24963
31ed4153
L
249642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24965
25f5f885
L
24966 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24967 contents on [SHARED].
31ed4153 24968
b7bfe116
MP
249692012-09-26 Marek Polacek <polacek@redhat.com>
24970
24971 [BZ #14530]
24972 [BZ #13741]
24973 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24974 for C++ and GCC <4.3 as well as for non GCC compilers.
24975
43c4edba
MT
249762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24977
24978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24979
6a1bf82f
RM
249802012-09-25 Roland McGrath <roland@hack.frob.com>
24981
24982 * Makefile.in (all, install): Declare with .PHONY.
24983 Reported by Michael Hope <michael.hope@linaro.org>.
24984
8ad11b9a
TMQMF
249852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24986
24987 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24988 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24989 system header.
24990 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24991 Likewise.
24992 (sydep_routines): Add the new and the internal functions.
24993 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24994 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24996 (GLIBC_2.17): Add the new function.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24998 (GLIBC_2.17): Likewise.
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25000 (GLIBC_2.17): Likewise.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25002 (GLIBC_2.17): Likewise.
25003 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25004
7e2fca8d
AM
250052012-09-25 Alan Modra <amodra@gmail.com>
25006
25007 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25008 Add release barrier before setting once_control to say
25009 initialisation is done. Add hints on lwarx. Use macro in
25010 place of isync.
25011 (clear_once_control): Add release barrier.
25012
b87c4b24
JM
250132012-09-25 Joseph Myers <joseph@codesourcery.com>
25014
d032e0d2
JM
25015 [BZ #13629]
25016 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25017 specially.
25018 * math/s_clog10.c (__clog10): Likewise.
25019 * math/s_clog10f.c (__clog10f): Likewise.
25020 * math/s_clog10l.c (__clog10l): Likewise.
25021 * math/s_clogf.c (__clogf): Likewise.
25022 * math/s_clogl.c (__clogl): Likewise.
25023 * math/Makefile (libm-calls): Add x2y2m1.
25024 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25025 (__x2y2m1): Likewise.
25026 (__x2y2m1l): Likewise.
25027 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25028 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25031 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25032 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25033 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25034 * sysdeps/i386/fpu/libm-test-ulps: Update.
25035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25036
b87c4b24
JM
25037 [BZ #14621]
25038 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25039 int as type of variable DEPTH.
25040 (glob): Use size_t instead of int as type of variables NEWCOUNT
25041 and OLD_PATHC.
25042
6d3bf199
LD
250432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25044
22bf5c17
LD
25045 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25046 Add s_sincosf-sse2.
25047 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25048 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25049 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25050 macros for using routine as __sincosf_ia32.
25051 Use macro for function declaration and weak_alias.
25052 * sysdeps/i386/fpu/libm-test-ulps: Update.
25053
25054 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25056
25057 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25058 subnormal argument.
25059 * math/s_cexpf.c (__cexpf): Likewise.
25060 * math/s_csinf.c (__csinf): Likewise.
25061 * math/s_csinhf.c (__csinhf): Likewise.
25062 * math/s_ctanf.c (__ctanf): Likewise.
25063 * math/s_ctanhf.c (__ctanhf): Likewise.
25064 * math/s_ccosh.c (__ccoshf): Likewise.
25065 * math/s_cexp.c (__cexpl): Likewise.
25066 * math/s_csin.c (__csin): Likewise.
25067 * math/s_csinh.c (__csinh): Likewise.
25068 * math/s_ctan.c (__ctan): Likewise.
25069 * math/s_ctanh.c (ctanh): Likewise.
25070 * math/s_ccoshl.c (__ccoshl): Likewise.
25071 * math/s_cexpl.c (__cexpl): Likewise.
25072 * math/s_csinl.c (__csinl): Likewise.
25073 * math/s_csinhl.c (__csinhl): Likewise.
25074 * math/s_ctanl.c (__ctanl): Likewise.
25075 * math/s_ctanhl.c (__ctanhl): Likewise.
25076
203e5603
JM
250772012-09-25 Joseph Myers <joseph@codesourcery.com>
25078
25079 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25080 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25081 (_IO_off_t): Define to __off_t, not _G_off_t.
25082 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25083 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25084 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25085 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25086 type of __dummy and __dummy2 fields.
25087 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25088 (_G_ssize_t): Likewise.
25089 (_G_off_t): Likewise.
25090 (_G_pid_t): Likewise.
25091 (_G_uid_t): Likewise.
25092 (_G_wchar_t): Likewise.
25093 (_G_wint_t): Likewise.
25094 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25095 (_G_ssize_t): Likewise.
25096 (_G_off_t): Likewise.
25097 (_G_pid_t): Likewise.
25098 (_G_uid_t): Likewise.
25099 (_G_wchar_t): Likewise.
25100 (_G_wint_t): Likewise.
25101 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25102 (_G_ssize_t): Likewise.
25103 (_G_off_t): Likewise.
25104 (_G_pid_t): Likewise.
25105 (_G_uid_t): Likewise.
25106 (_G_wchar_t): Likewise.
25107 (_G_wint_t): Likewise.
25108
9fab36eb
SP
251092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25110
25111 * malloc/arena.c: Include malloc-sysdep.h.
25112 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25113 is sufficient to shrink the heap or an unmap is needed.
25114 * sysdeps/generic/malloc-sysdep.h: New file. Define
25115 new function check_may_shrink_heap.
25116 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25117 new function check_may_shrink_heap.
25118
2b4f00d1
SP
251192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25120
25121 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25122 comments.
25123
9a9028b1
DL
251242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25125
57c69bef
DL
25126 * catgets/test-gencat.sh: Add "set -e".
25127 * elf/tst-pathopt.sh: Likewise.
25128 * grp/tst_fgetgrent.sh: Likewise.
25129 * iconvdata/run-iconv-test.sh: Likewise.
25130 * intl/tst-gettext.sh: Likewise.
25131 * intl/tst-gettext2.sh: Likewise.
25132 * intl/tst-gettext4.sh: Likewise.
25133 * intl/tst-gettext6.sh: Likewise.
25134 * intl/tst-translit.sh: Likewise.
25135 * io/ftwtest-sh: Likewise.
25136 * libio/test-freopen.sh: Likewise.
25137 * malloc/tst-mtrace.sh: Likewise.
25138 * posix/globtest.sh: Likewise.
25139 * posix/tst-getconf.sh: Likewise.
25140 * posix/wordexp-tst.sh: Likewise.
25141 * stdio-common/tst-printf.sh: Likewise.
25142 * stdio-common/tst-unbputc.sh: Likewise.
25143 * stdlib/tst-fmtmsg.sh: Likewise.
25144 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25145 * catgets/Makefile: Do not specify -e option when running
25146 testsuite shell scripts.
25147 * elf/Makefile: Likewise.
25148 * grp/Makefile: Likewise.
25149 * iconvdata/Makefile: Likewise.
25150 * intl/Makefile: Likewise.
25151 * io/Makefile: Likewise.
25152 * libio/Makefile: Likewise.
25153 * malloc/Makefile: Likewise.
25154 * posix/Makefile: Likewise.
25155 * stdio-common/Makefile: Likewise.
25156 * stdlib/Makefile: Likewise.
25157 * sysdeps/x86_64/Makefile: Likewise.
25158
9a9028b1
DL
25159 * io/ftwtest-sh: Add copyright header.
25160 * posix/globtest.sh: Likewise.
25161 * posix/tst-getconf.sh: Likewise.
25162 * posix/wordexp-tst.sh: Likewise.
25163 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25164
ced6f16e
L
251652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25166
94b32c39
L
25167 [BZ #13679]
25168 * Makeconfig (+link): Defined as $(+link-static) if
25169 $(build-shared) isn't yes.
25170 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25171 isn't yes.
25172 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25173
189e935b
L
25174 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25175
ced6f16e
L
25176 [BZ #14562]
25177 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25178 new chunk size with MALLOC_ALIGN_MASK.
25179
a9f8e53a
JM
251802012-09-24 Joseph Myers <joseph@codesourcery.com>
25181
25182 [BZ #5044]
25183 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25184 <rounding-mode.h>.
25185 (__printf_fphex): Determine rounding using get_rounding_mode and
25186 round_away.
25187 * stdio-common/tst-printf-round.c (struct hex_test): New
25188 structure.
25189 (hex_tests): New variable.
25190 (test_hex_in_one_mode): New function.
25191 (do_test): Also run tests for hex float output.
25192
43153109
JM
251932012-09-21 Joseph Myers <joseph@codesourcery.com>
25194
25195 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25196 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25197 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25198 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25199 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25200 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25201 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25202 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25203
8a26625d
JM
252042012-09-20 Joseph Myers <joseph@codesourcery.com>
25205
25206 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25207 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25208 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25209 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25210
f3fd569c
DL
252112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25212
25213 [BZ #14579]
25214 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25215 mode only.
25216 * elf/tst-rtld-load-self.sh: New test.
25217 * elf/Makefile: Run it.
25218
63bbedd4
JM
252192012-09-18 Joseph Myers <joseph@codesourcery.com>
25220
25221 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25222 (tst-writev-ENV): Remove.
25223 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25224
626f8b6a
CM
252252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25226
25227 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25228
b7aaa4d6
JM
252292012-09-17 Joseph Myers <joseph@codesourcery.com>
25230
25231 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25232 unconditional.
25233 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25234 Likewise.
25235 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25236 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25237 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25238 Likewise.
25239
65513990
L
252402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25241
25242 [BZ #14587]
25243 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25244 * config.make.in (have-cpp-asm-debuginfo): Removed.
25245 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25246 * configure: Regenerated.
25247
784761be
JM
252482012-09-14 Joseph Myers <joseph@codesourcery.com>
25249
25250 [BZ #5044]
25251 * stdio-common/printf_fp.c: Include <stdbool.h> and
25252 <rounding-mode.h>.
25253 (___printf_fp): Determine rounding using get_rounding_mode and
25254 round_away.
25255 * stdio-common/tst-printf-round.c: New file.
25256 * stdio-common/Makefile (tests): Add tst-printf-round.
25257 (link-libm): New variable.
25258 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25259
9503345f
L
252602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25261
25262 [BZ #14576]
25263 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25264 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25265 Likewise.
25266 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25267 Likewise.
25268
ad35fc00
JM
252692012-09-13 Joseph Myers <joseph@codesourcery.com>
25270
25271 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25272 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25273 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25274 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25275
6c9b0f68
JM
252762012-09-12 Joseph Myers <joseph@codesourcery.com>
25277
25278 [BZ #14518]
25279 * include/rounding-mode.h: New file.
25280 * sysdeps/generic/get-rounding-mode.h: Likewise.
25281 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25282 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25283 (MAX_VALUE): New macro.
25284 (MIN_VALUE): Likewise.
25285 (overflow_value): New function.
25286 (underflow_value): Likewise.
25287 (round_and_return): Use overflow_value and underflow_value to
25288 determine return values in overflow and underflow cases. Use
25289 round_away to determine rounding depending on rounding mode.
25290 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25291 determine return values in overflow and underflow cases.
25292 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25293 (struct test_results): New structure.
25294 (struct test): Use struct test_results to store expected results
25295 for all rounding modes.
25296 (TEST): Include expected results for all rounding modes.
25297 (test_in_one_mode): New function.
25298 (do_test): Use test_in_one_mode to compute and check results.
25299 Check results for all rounding modes.
25300 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25301 $(link-libm).
25302
19fcedd5
AM
253032012-12-09 Allan McRae <allan@archlinux.org>
25304
1e9d84cd 25305 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25306
8bbfd2f1
JM
253072012-09-11 Joseph Myers <joseph@codesourcery.com>
25308
25309 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25310 (_G_int32_t): Likewise.
25311 (_G_uint16_t): Likewise.
25312 (_G_uint32_t): Likewise.
25313 (_G_HAVE_BOOL): Likewise.
25314 (_G_HAVE_ATEXIT): Likewise.
25315 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25316 (_G_HAVE_IO_FILE_OPEN): Likewise.
25317 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25318 (_G_int32_t): Likewise.
25319 (_G_uint16_t): Likewise.
25320 (_G_uint32_t): Likewise.
25321 (_G_HAVE_BOOL): Likewise.
25322 (_G_HAVE_ATEXIT): Likewise.
25323 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25324 (_G_HAVE_IO_FILE_OPEN): Likewise.
25325 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25326 (_G_int32_t): Likewise.
25327 (_G_uint16_t): Likewise.
25328 (_G_uint32_t): Likewise.
25329 (_G_HAVE_BOOL): Likewise.
25330 (_G_HAVE_ATEXIT): Likewise.
25331 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25332 (_G_HAVE_IO_FILE_OPEN): Likewise.
25333
b1dc5912
L
253342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25335
25336 * csu/libc-tls.c: Update copyright years.
25337
0e886ef9
JM
253382012-09-10 Joseph Myers <joseph@codesourcery.com>
25339
28361c5e
JM
25340 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25341 [!_G_USING_THUNKS]: Remove conditional code.
25342 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25343 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25344
0e886ef9
JM
25345 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25346 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25347 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25348 (_G_VTABLE_LABEL_PREFIX): Likewise.
25349 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25350 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25351 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25352 (_G_VTABLE_LABEL_PREFIX): Likewise.
25353 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25354 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25355 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25356 (_G_VTABLE_LABEL_PREFIX): Likewise.
25357 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25358
bcba7aa2
L
253592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25360
25361 * libio/Makefile: Include ../Makeconfig before tests.
25362 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25363 only if $(build-shared) is yes.
25364
06585ee8
L
25365 * iconv/gconv_db.c: Update copyright years.
25366
80ccd52c
LD
253672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25368
25369 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25370 unwind info if defined PIC. Fix special cases description.
25371 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25372
25373 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25374 DP_HI_MASK entry.
25375 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25376
691bc9c1
L
253772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25378
3d9b46b3
L
25379 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25380
de2139a9
L
25381 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25382 is NULL.
25383
5ca78dd0
L
25384 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25385 (LDLIBS-tst-chk4): This.
25386 (LDFLAGS-tst-chk5): Renamed to ...
25387 (LDLIBS-tst-chk5): This.
25388 (LDFLAGS-tst-chk6): Renamed to ...
25389 (LDLIBS-tst-chk6): This.
25390 (LDFLAGS-tst-lfschk4): Renamed to ...
25391 (LDLIBS-tst-lfschk4): This.
25392 (LDFLAGS-tst-lfschk5): Renamed to ...
25393 (LDLIBS-tst-lfschk5): This.
25394 (LDFLAGS-tst-lfschk6): Renamed to ...
25395 (LDLIBS-tst-lfschk6): This.
25396
691bc9c1
L
25397 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25398 on $(common-objpfx)soversions.mk.
25399
65cafb1c
JM
254002012-09-07 Joseph Myers <joseph@codesourcery.com>
25401
25402 [BZ #10014]
25403 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25404 example host name.
25405
c78ab094
SP
254062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25407
25408 * malloc/arena.c (arena_get_retry): New function that gets
25409 another arena for the caller to try its request on.
25410 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25411 current arena cannot fulfill the request.
25412 (__libc_memalign): Likewise.
25413 (__libc_memalign): Likewise.
25414 (__libc_pvalloc): Likewise.
25415 (__libc_calloc): Likewise.
25416
01f49f59
JT
254172012-09-05 John Tobey <john.tobey@gmail.com>
25418
25419 [BZ #13542]
25420 * manual/arith.texi (Operations on Complex): Fix description
25421 of carg branch cut.
25422
4c23fed5
JM
254232012-09-06 Joseph Myers <joseph@codesourcery.com>
25424
1d3c8572
JM
25425 [BZ #10014]
25426 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25427 host name.
25428
4c23fed5
JM
25429 [BZ #10038]
25430 * manual/memory.texi (Memory): Make order of menu items match
25431 order of sections.
25432
04570aaa
L
254332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25436 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25437 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25438
b80af2f4
L
254392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25440
25441 * csu/libc-tls.c (static_dtv): Renamed to ...
25442 (_dl_static_dtv): This. Make it global.
25443 (_dl_initial_dtv): Removed.
25444 (__libc_setup_tls): Updated.
25445 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25446 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25447 DL_INITIAL_DTV.
25448
2abe9f15
PM
254492012-09-06 Petr Machata <pmachata@redhat.com>
25450
25451 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25452 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25453 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25454 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25455
0948c3af
L
254562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #14545]
25459 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25460 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25461 freeing dtv[-1].
25462
a5055ad1
L
254632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25464
25465 [BZ #14544]
25466 * Makeconfig (link-static-before-libc): Replace $(+prector)
25467 with $(+prectorT).
25468 (link-static-after-libc): Replace $(+postctor) with
25469 $(+postctorT).
25470 (link-bounded): Replace $(+prector)/$(+postctor) with
25471 $(+prectorT)/$(+postctorT).
25472 (+prectorT): New macro.
25473 (+postctorT): Likewise.
25474
ed8c2ecd
JM
254752012-09-06 Joseph Myers <joseph@codesourcery.com>
25476
25477 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25478 (round_str): Handle values above the maximum for IBM long double
25479 as inexact.
25480 * stdlib/tst-strtod-round.c (tests): Regenerated.
25481
14c996c8
AK
254822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25483
25484 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25485 assembler flag.
25486 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25487 zarch_nohighgprs around the zarch optimized routines.
25488 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25489 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25491 for zarch.
25492
430d6ce6
DM
254932012-09-05 David S. Miller <davem@davemloft.net>
25494
25495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25496
57f41c40
AS
25497 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25498 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25499 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25500 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25501 entries.
25502
24d4e01b
AO
255032012-09-05 Alexandre Oliva <aoliva@redhat.com>
25504
25505 * malloc/arena.c: Fold copyright years.
25506 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25507
61d58174
AO
255082012-09-05 Alexandre Oliva <aoliva@redhat.com>
25509
25510 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25511
20196a5e
AO
255122012-09-05 Alexandre Oliva <aoliva@redhat.com>
25513
25514 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25515
5c447383
AO
255162012-09-05 Alexandre Oliva <aoliva@redhat.com>
25517
25518 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25519 change internal state upon failure.
25520
fad64255
AO
255212012-09-05 Alexandre Oliva <aoliva@redhat.com>
25522
25523 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25524 * malloc/memusage.c (mmap): Likewise.
25525 (mmap64, mremap): Likewise. Adjust name in comment.
25526
1ffb8c90
SP
255272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25528
25529 * libio/fileops.c: Fix typos in comments.
25530 * libio/oldfileops.c: Likewise.
25531 * libio/wfileops.c: Likewise.
25532
6ef9cc37
SP
255332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25534
25535 [BZ #1349]
25536 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25537 (tst-malloc-usable-ENV): Set environment for test case.
25538 * malloc/hooks.c (malloc_check_get_size): New function to get
25539 requested size.
25540 * malloc/malloc.c (musable): Use malloc_check_get_size.
25541 * malloc/tst-malloc-usable.c: New test case.
25542
4d038ae3
AS
255432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25544
25545 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25546
c4e85184
AM
255472012-09-05 Allan McRae <allan@archlinux.org>
25548
b9dafc56 25549 [BZ #13966]
c4e85184
AM
25550 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25551 determine header location.
25552 * configure: Regenerated.
25553
e1343020
AS
255542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25555
25556 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25557 float format.
25558 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25559 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25560 format.
e1343020
AS
25561 (test): Regenerate.
25562
0a9f1987
DM
255632012-09-04 David S. Miller <davem@davemloft.net>
25564
25565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25567 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25568
29237804
FW
255692012-09-04 Florian Weimer <fweimer@redhat.com>
25570
25571 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25572 failures.
25573
edb3cb88
FW
25574 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25575
60160d83
JM
255762012-09-04 Joseph Myers <joseph@codesourcery.com>
25577
25578 [BZ #9914]
25579 * libio/iogetdelim.c: Include <limits.h>.
25580 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25581 + len + 1 would overflow.
25582
bcd6c8dc
AJ
255832012-09-03 Andreas Jaeger <aj@suse.de>
25584
25585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25586 * sysdeps/i386/fpu/libm-test-ulps: Update.
25587
4ffffbd2
LD
255882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25589
25590 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25591 Add s_sinf-sse2, s_conf-sse2.
25592
25593 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25594 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25595 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25596 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25597
25598 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25599 for using routine as __sinf_ia32.
25600 Use macro for function declaration and weak_alias.
25601 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25602 for using routine as __cosf_ia32.
25603 Use macro for function declaration and weak_alias.
25604
25605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25606 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25607
25608 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25609 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25611
25612 * math/libm-test.inc (cos_test): Add more test cases.
25613 (sin_test): Likewise.
25614 (sincos_test): Likewise.
25615
511fa286
AK
256162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25617
25618 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25619 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25620 hidden.
25621 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25622
5f30cfec
L
256232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25624
25625 [BZ #14538]
25626 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25627 first element of the GOT.
25628 (elf_machine_load_address): Return the difference between
25629 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25630
0786794f
AM
256312012-09-01 Allan McRae <allan@archlinux.org>
25632
5f30cfec
L
25633 [BZ #13412]
25634 * configure.in (AWK): Require gawk version 3.0 or later.
25635 * configure: Regenerated.
0786794f 25636
26889eac
JM
256372012-09-01 Joseph Myers <joseph@codesourcery.com>
25638
25639 * sysdeps/unix/sysv/linux/kernel-features.h
25640 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25642 [__NR_clock_getres]: Make code unconditional.
25643 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25644 (clock_getcpuclockid): Remove code left unreachable by removal of
25645 conditionals.
25646 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25647 code unconditional.
25648 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25649 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25650 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25651 Make code unconditional.
25652 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25653 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25654 * sysdeps/unix/sysv/linux/clock_settime.c
25655 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25656 conditional code.
25657 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25658 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25659
d22e28b0
L
256602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25661
25662 [BZ #14476]
25663 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25664 scripts/test-installation.pl.
25665
25666 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25667 and $ld_so_version if it is set.
25668
050af9c4
SP
256692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25670
25671 [BZ #14516]
25672 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25673 failure if reading from procfs failed.
25674 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25675
ad845c0b
JM
256762012-08-27 Joseph Myers <joseph@codesourcery.com>
25677
25678 * sysdeps/unix/sysv/linux/kernel-features.h
25679 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25680 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25681 Remove conditional code.
25682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25683 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25684 Remove conditional code.
25685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25686 * sysdeps/unix/sysv/linux/i386/fxstat.c
25687 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25689 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25690 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25692 * sysdeps/unix/sysv/linux/i386/lxstat.c
25693 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25695 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25696 Remove conditional code.
25697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25698 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25699 Remove conditional code.
25700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25701 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25702 <kernel-features.h>.
25703 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25704 Remove.
25705 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25706 Remove conditional code.
25707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25708 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25709 Remove conditional.
25710
5dbf56af
MF
257112012-08-27 Mike Frysinger <vapier@gentoo.org>
25712
25713 [BZ #5400]
25714 * NEWS: Add fixed bug number.
25715
d6e70f43
JM
257162012-08-27 Joseph Myers <joseph@codesourcery.com>
25717
7efb4737
JM
25718 [BZ #14519]
25719 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25720 underflowing exponent in case of negative sign.
25721 * stdlib/tst-strtod-round-data: Add more tests.
25722 * stdlib/tst-strtod-round.c (tests): Regenerated.
25723
af92131a
JM
25724 [BZ #3479]
25725 * stdlib/strtod_l.c (NDIG): Remove.
25726 (HEXNDIG): Likewise.
25727 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25728 smallest representable value.
25729 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25730 lie within an exact representation of 1/2 ulp of the result.
25731 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25732 unconditionally.
25733 (TENS_P9_IDX): Define unconditionally.
25734 (TENS_P9_SIZE): Likewise.
25735 (TENS_P10_IDX): Likewise.
25736 (TENS_P10_SIZE): Likewise.
25737 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25738 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25739 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25740 entries for 10^2^13 and 10^2^14.
25741 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25742 (TENS_P13_IDX): Define.
25743 (TENS_P13_SIZE): Likewise.
25744 (TENS_P14_IDX): Likewise.
25745 (TENS_P14_SIZE): Likewise.
25746 (_fpioconst_pow10): Change array size to
25747 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25748 unconditional.
25749 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25750 1024]: Add entries for 10^2^13 and 10^2^14.
25751 [LAST_POW10 > _LAST_POW10]: Remove #error.
25752 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25753 (_fpioconst_pow10): Change array size to
25754 FPIOCONST_POW10_ARRAY_SIZE.
25755 * stdlib/gen-fpioconst.c: New file.
25756 * stdlib/gen-tst-strtod-round.c: Likewise.
25757 * stdlib/tst-strtod-round-data: Likewise.
25758 * stdlib/tst-strtod-round.c: Likewise.
25759 * stdlib/Makefile (tests): Add tst-strtod-round.
25760
d6e70f43
JM
25761 [BZ #14459]
25762 * stdlib/strtod_l.c: Include <stdint.h>.
25763 (NDEBUG): Do not define.
25764 (round_and_return): Change EXPONENT parameter to type intmax_t.
25765 Rearrange calculations to avoid internal overflow possibilities.
25766 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25767 Rearrange calculations to avoid internal overflow possibilities.
25768 Assert that number fits inside MPNSIZE limbs.
25769 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25770 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25771 calculations and add assertions to avoid internal overflow
25772 possibilities. Add casts to avoid signed/unsigned operations.
25773 * stdlib/tst-strtod-overflow.c: New file.
25774 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25775
1f529f7d
MP
257762012-08-25 Marek Polacek <polacek@redhat.com>
25777
25778 * time/time.h: Fix some typos in comments.
25779
59a629f1
RM
257802012-08-23 Roland McGrath <roland@hack.frob.com>
25781
25782 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25783 * posix/tst-rfc3484-2.c: Likewise.
25784 * posix/tst-rfc3484-3.c: Likewise.
25785
d3bafbc9
SM
257862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25787
25788 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25789 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25790
4efcc022
JM
257912012-08-23 Joseph Myers <joseph@codesourcery.com>
25792
25793 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25794 #include of fxstatat64.c.
25795
3cc3ef96
RM
257962012-08-22 Roland McGrath <roland@hack.frob.com>
25797
f04e2132
RM
25798 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25799 * shadow/getspent_r.c: Likewise.
25800 * shadow/getspnam.c: Likewise.
25801 * shadow/getspnam_r.c: Likewise.
25802 * gshadow/getsgent.c: Likewise.
25803 * gshadow/getsgent_r.c: Likewise.
25804 * gshadow/getsgnam.c: Likewise.
25805 * gshadow/getsgnam_r.c: Likewise.
25806 * inet/getnetbyad.c: Likewise.
25807 * inet/getnetbyad_r.c: Likewise.
25808 * inet/getnetbynm.c: Likewise.
25809 * inet/getnetbynm_r.c: Likewise.
25810 * inet/getnetent.c: Likewise.
25811 * inet/getnetent_r.c: Likewise.
25812 * inet/getproto.c: Likewise.
25813 * inet/getproto_r.c: Likewise.
25814 * inet/getprtent.c: Likewise.
25815 * inet/getprtent_r.c: Likewise.
25816 * inet/getprtname.c: Likewise.
25817 * inet/getprtname_r.c: Likewise.
25818 * inet/getrpcbyname.c: Likewise.
25819 * inet/getrpcbyname_r.c: Likewise.
25820 * inet/getrpcbynumber.c: Likewise.
25821 * inet/getrpcbynumber_r.c: Likewise.
25822 * inet/getrpcent.c: Likewise.
25823 * inet/getrpcent_r.c: Likewise.
25824 * inet/getaliasent.c: Likewise.
25825 * inet/getaliasent_r.c: Likewise.
25826 * inet/getaliasname.c: Likewise.
25827 * inet/getaliasname_r.c: Likewise.
25828 * nscd/getgrgid_r.c: Likewise.
25829 * nscd/getgrnam_r.c: Likewise.
25830 * nscd/gethstbyad_r.c: Likewise.
25831 * nscd/gethstbynm3_r.c: Likewise.
25832 * nscd/getpwnam_r.c: Likewise.
25833 * nscd/getpwuid_r.c: Likewise.
25834 * nscd/getsrvbynm_r.c: Likewise.
25835 * nscd/getsrvbypt_r.c: Likewise.
25836 * nscd/gai.c: Likewise.
25837
c53d909c
RM
25838 * configure.in (build_nscd): New substituted variable, set
25839 by --disable-build-nscd and defaults to $use_nscd.
25840 * configure: Regenerated.
25841 * config.make.in (build-nscd): New substituted variable.
25842 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25843 Change conditional to require [$(build-nscd) = yes] as well.
25844 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25845
3cc3ef96
RM
25846 [BZ# 13696]
25847 * configure.in (use_nscd): New substituted variable, set by
25848 --disable-nscd. If enabled, define USE_NSCD.
25849 * configure: Regenerated.
25850 * config.h.in: Add USE_NSCD.
25851 * config.make.in (use-nscd): New substituted variable.
25852 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25853 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25854 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25855 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25856 (CFLAGS-getgrnam_r.c): Likewise.
25857 (CFLAGS-initgroups.c): Likewise.
25858 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25859 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25860 Variables removed.
25861 * inet/getnetgrent_r.c
25862 (nscd_setnetgrent): New function, broken out of ...
25863 (setnetgrent): ... here. Call it.
25864 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25865 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25866 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25867 * nscd/Makefile (routines, aux): Move definitions after include of
25868 Makeconfig. Conditionalize on [$(use-nscd) != no].
25869 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25870 Conditionalize on [USE_NSCD].
25871 (is_nscd, nscd_init_cb): Likewise.
25872 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25873 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25874 * nss/nss_db/db-init.c: Likewise.
25875 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25876 [USE_NSCD].
25877 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25878 (make_request): Use it.
25879 (cache_valid_p): New function.
25880 (__check_pf): Use it.
25881 * NEWS: Add item for --disable-nscd.
25882
07e51550
DL
258832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25884
25885 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25886 to support sed >= 4.2.1-20-ga9bf076.
25887 * configure: Regenerated.
25888
35a5b08b
RM
258892012-08-22 Roland McGrath <roland@hack.frob.com>
25890
25891 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25892 Conditionalize whole body on [IREL].
25893
8479f23a
JL
258942012-08-22 Jeff Law <law@redhat.com>
25895
25896 [BZ #14505]
25897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25898 if the family is PF_UNSPEC.
25899
48da0b21
MF
259002012-08-22 Mike Frysinger <vapier@gentoo.org>
25901
25902 * Makerules (lib-version): Rename from V.
25903 (install-lib-nosubdir): Change V to lib-version.
25904
15d0da8c
WS
259052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25906
25907 [BZ #14252]
25908 * powerpc32/power6/wcschr.c: New file.
25909 * powerpc32/power6/wcscpy.c: New file.
25910 * powerpc32/power6/wcsrchr.c: New file.
25911 * powerpc64/power6/wcschr.c: New file.
25912 * powerpc64/power6/wcscpy.c: New file.
25913 * powerpc64/power6/wcsrchr.c: New file.
25914
bcca0895
MK
259152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25916
25917 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25918 (two_way_short_needle): Use it.
5a4aaa33
RM
25919 * string/strstr.c (AVAILABLE1_USES_J): Define.
25920 * string/strcasestr.c: Likewise.
99677e57
MK
25921
25922 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25923 array references.
25924 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25925
400726de
MK
25926 [BZ #11607]
25927 * NEWS: Add an entry.
25928 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25929 define their defaults.
25930 (two_way_short_needle): Detect end-of-string on-the-fly.
25931 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25932 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25933 * string/bug-strcasestr1.c: New test.
25934 * string/Makefile: Run it.
25935
20a71f2c
MK
259362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25937
25938 [BZ #11607]
25939 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25940 the first character.
25941
21ad0558
RM
259422012-08-21 Roland McGrath <roland@hack.frob.com>
25943
25944 * csu/elf-init.c (__libc_csu_irel): Function removed.
25945 * csu/libc-start.c (apply_irel): New function.
25946 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25947
0e1d9911
JM
259482012-08-21 Joseph Myers <joseph@codesourcery.com>
25949
25950 * sysdeps/unix/sysv/linux/kernel-features.h
25951 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25952 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25953 <kernel-features.h>.
25954 [__NR_fadvise64_64]: Make code unconditional.
25955 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25956 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25957 !__NR_fadvise64_64)]: Likewise.
25958 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25959 !__NR_fadvise64_64))]: Likewise.
25960 [__NR_fadvise64]: Make code unconditional.
25961 [!__NR_fadvise64]: Remove conditional code.
25962 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25963 <kernel-features.h>.
25964 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25965 unconditional.
25966 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25967 conditional code.
25968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25969 not include <kernel-features.h>.
25970 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25971 unconditional.
25972 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25973 conditional code.
25974 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25975 include <kernel-features.h>.
25976 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25977 unconditional.
25978 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25979 conditional code.
25980
14a50c9d
WS
259812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25982
25983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25984 slight instruction rearrangements per scrollpipe analysis.
25985 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25986
c0f4faf0
RM
259872012-08-20 Roland McGrath <roland@hack.frob.com>
25988
696da859
RM
25989 * manual/syslog.texi (syslog; vsyslog, closelog):
25990 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25991 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25992
c0f4faf0
RM
25993 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25994 DSOCAPS to match condition on defining it.
25995
348363b2
JM
259962012-08-20 Joseph Myers <joseph@codesourcery.com>
25997
a35cbf28
JM
25998 * sysdeps/unix/sysv/linux/kernel-features.h
25999 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26001 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26002 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26004 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26005 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26007 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26008 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26009
445f7ecd
JM
26010 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26011 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26012
348363b2
JM
26013 * sysdeps/unix/sysv/linux/kernel-features.h
26014 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26015 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26016 unconditional.
26017 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26018 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26019 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26020 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26021 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26022 Make code unconditional.
26023 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26024 (__mmap64) [!__NR_mmap2]: Likewise.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26026 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26027 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26028 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26029 [__NR_mmap2]: Make code unconditional.
26030 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26031 (__mmap64) [!__NR_mmap2]: Likewise.
26032
bc5bc0e5
AK
260332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26034
26035 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26036
88d506de
AJ
260372012-08-18 Andreas Jaeger <aj@suse.de>
26038
26039 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26040
493387d2
MF
260412012-08-18 Mike Frysinger <vapier@gentoo.org>
26042
26043 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26044 * include/unistd.h (__have_sock_cloexec): Likewise.
26045 (__have_pipe2): Likewise.
26046 (__have_dup3): Likewise.
26047
a277af22
MF
260482012-08-18 Mike Frysinger <vapier@gentoo.org>
26049
26050 [BZ #9685]
26051 * include/unistd.h (__have_pipe2): Change define into an extern int.
26052 (__have_dup3): Likewise.
26053 * socket/have_sock_cloexec.c: Include fcntl.h.
26054 (__have_pipe2): New variable.
26055 (__have_dup3): Likewise.
26056
fdab8fd3
MF
260572012-08-17 Mike Frysinger <vapier@gentoo.org>
26058
26059 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26060
31035e80
MP
260612012-08-17 Marek Polacek <polacek@redhat.com>
26062
26063 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26064 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26065
3bd9e993
RM
260662012-08-17 Roland McGrath <roland@hack.frob.com>
26067
c91c505f
RM
26068 * configure.in: Add AC_SUBST for sysheaders.
26069 * configure: Regenerated.
26070 * config.make.in (sysheaders): New substituted variable.
26071
7c6f9d53
RM
26072 * sysdeps/unix/mkfifo.c: Moved ...
26073 * sysdeps/posix/mkfifo.c: ... here.
26074 * sysdeps/unix/mkfifoat.c: Moved ...
26075 * sysdeps/posix/mkfifoat.c: ... here.
26076
26077 * sysdeps/unix/utime.c: Moved ...
26078 * sysdeps/posix/utime.c: ... here.
26079
26080 * sysdeps/unix/time.c: Moved ...
26081 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26082 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26083 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26084
26085 * sysdeps/unix/nice.c: Moved ...
26086 * sysdeps/posix/nice.c: ... here.
26087
26088 * sysdeps/unix/alarm.c: Moved ...
26089 * sysdeps/posix/alarm.c: ... here.
26090
3bd9e993
RM
26091 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26092
d1f09384
JL
260932012-08-17 Jeff Law <law@redhat.com>
26094
26095 * intl/Makefile (codeset_mo): New variable.
26096 ($(codeset_mo)): New target.
26097 (tst-codeset.out): Depend on that. Remove explicit rule.
26098 (tst-gettext3.out, tst-gettext5.out): Likewise.
26099 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26100 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26101 * intl/tst-codeset.sh: Remove.
26102 * intl/tst-gettext3.sh: Likewise.
26103 * intl/tst-gettext5.sh: Likewise.
26104
2ae1ae5c
RM
261052012-08-17 Roland McGrath <roland@hack.frob.com>
26106
c31fdb83
RM
26107 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26108 * sysdeps/unix/syscalls.list: ... here.
26109
a0844057
RM
26110 * sysdeps/posix/getaddrinfo.c
26111 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26112 (gaiconf_init, gaiconf_reload): Use them.
26113 [!_STATBUF_ST_NSEC]
26114 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26115 Define using time_t rather than struct timespec.
26116
750c1f2a
RM
26117 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26118 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26119 Macros removed.
26120 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26121 [!NO_THREADS].
26122 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26123 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26124 Likewise.
26125
2ae1ae5c
RM
26126 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26127 __libc_cleanup_push argument.
26128
e66a42f5
RM
26129 * bits/param.h: New file.
26130 * misc/sys/param.h: New file.
26131 * include/sys/param.h: New file.
26132 * misc/Makefile (headers): Add bits/param.h.
26133 * sysdeps/generic/sys/param.h: File removed.
26134 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26135 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26136 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26137 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26138
b7c08a66
RM
26139 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26140 last change.
26141
b2e1c562
RM
26142 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26143 [_IO_MTSAFE_IO].
26144 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26145 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26146 New macros.
26147
c75ccd4c
RM
26148 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26149 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26150 rather than -D_IO_MTSAFE_IO conditionally.
26151 * stdio-common/Makefile (CPPFLAGS): Likewise.
26152 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26153 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26154 Use $(libio-mtsafe).
26155 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26156 of -D_IO_MTSAFE_IO.
26157 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26158 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26159 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26160 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26161 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26162 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26163 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26164 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26165 (CFLAGS-fread_u_chk.c): Likewise.
26166 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26167 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26168 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26169 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26170 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26171 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26172 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26173 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26174 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26175
26176 * libio/Makefile: Test [$(libc-reentrant) = yes]
26177 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26178
26179 * Makeconfig
26180 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26181 * sysdeps/pthread/configure: File removed.
26182 * sysdeps/pthread/Makeconfig: New file.
26183 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26184 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26185
d9195db8
GB
261862012-08-16 Gary Benson <gbenson@redhat.com>
26187
26188 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26189 unmapping the first object in a namespace.
26190
86466cd9
RM
261912012-08-16 Roland McGrath <roland@hack.frob.com>
26192
26193 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26194 (__internal_setnetgrent): ... this. Add internal_function to
26195 definition. Add libc_hidden_def.
26196 (setnetgrent): Update caller.
26197 (internal_endnetgrent): Renamed to ...
26198 (__internal_endnetgrent): ... this. Add internal_function to
26199 definition. Add libc_hidden_def.
26200 (endnetgrent): Update caller.
26201 (internal_getnetgrent_r): Renamed to ...
26202 (__internal_getnetgrent_r): ... this. Add internal_function to
26203 definition. Add libc_hidden_def.
26204 (__getnetgrent_r): Update caller.
26205 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26206
c3c8283c
JM
262072012-08-16 Joseph Myers <joseph@codesourcery.com>
26208
26209 * stdlib/longlong.h: Update from GCC.
26210
db1ee0a8
RM
262112012-08-16 Roland McGrath <roland@hack.frob.com>
26212
26213 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26214 on _QL, which is set by umul_ppmm but never used.
26215 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26216 variables, which are set by GMP macros but never used.
26217 * stdio-common/_itowa.c (_itowa): Likewise.
26218 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26219 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26220
30f69637
CD
262212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26222
26223 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26224 struct La_sh_regs is not constant.
26225 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26226 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26227 and struct La_sparc64_regs are not constant.
26228
93a78ac4
JM
262292012-08-16 Joseph Myers <joseph@codesourcery.com>
26230
26231 * sysdeps/unix/sysv/linux/kernel-features.h
26232 (__ASSUME_POSIX_TIMERS): Remove.
26233 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26235 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26236 Make code unconditional.
26237 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26238 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26239 Make code unconditional.
26240 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26241 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26242 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26243 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26244 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26245 Make code unconditional.
26246 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26247 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26248 (__libc_missing_posix_timers): Remove.
26249
dd924cd7
RM
262502012-08-15 Roland McGrath <roland@hack.frob.com>
26251
4b4f2771
RM
26252 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26253 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26254
601c888b
RM
26255 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26256
176790a7
RM
26257 * elf/dl-sym.c: Include <stdlib.h>.
26258
329bc018
RM
26259 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26260 constants, which avoids warnings in 32-bit builds.
26261
e04e272d
RM
26262 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26263 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26264
952bf94a
RM
26265 * misc/lseek.c: File moved to ...
26266 * io/lseek.c: ... here.
26267
7c99b50a
RM
26268 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26269
dd924cd7
RM
26270 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26271 shifting LEN more than 31 bits at once.
26272
b3f479a8
LD
262732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26274
26275 [BZ #14195]
8c4ae0d4
RM
26276 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26277 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26278 * string/test-strncasecmp.c (check1): Renamed to...
26279 (bz12205): ...this.
26280 (bz14195): Add new testcase for two empty input strings and N > 0.
26281 (test_main): Call new testcase, adapt for renamed function.
26282
9c55864e
AJ
262832012-08-15 Andreas Jaeger <aj@suse.de>
26284
26285 [BZ #14090]
26286 * crypt/md5test2.c: New test, based on test supplied by Serge
26287 Belyshev <belyshev@depni.sinp.msu.ru>.
26288 * crypt/Makefile (xtests): Add md5test-giant..
26289 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26290
02dcb6c5
PE
262912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26292
26293 [BZ #14090]
26294 * crypt/md5.c (md5_process_block): Don't assume the buffer
26295 length is less than 2**32.
26296 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26297 length is less than 2**64.
26298
a3f95dcc
RM
262992012-08-15 Roland McGrath <roland@hack.frob.com>
26300
be75d758
RM
26301 * string/str-two-way.h: Include <sys/param.h>.
26302 (MAX): Macro removed.
26303
7312ca90
RM
26304 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26305 Move #define and #undef of memmove to just before and after
26306 including <string.h>.
26307
9a0a5486
RM
26308 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26309 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26310 and after including <string.h>. Move declarations of
26311 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26312 to before #include "string/memmove.c".
26313
67cc348d
RM
26314 * include/dirent.h: Declare __getdirentries.
26315
a3f95dcc
RM
26316 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26317 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26318
ca98e171
MF
263192012-08-14 Mike Frysinger <vapier@gentoo.org>
26320
26321 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26322 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26323 * sysdeps/i386/configure: Regenerated.
26324 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26325 STABS_CURRENT_FILE, and STABS_FUN.
26326 (END): Remove call to STABS_FUN_END.
26327 (STABS_CURRENT_FILE1): Delete.
26328 (STABS_CURRENT_FILE): Likewise.
26329 (STABS_FUN): Likewise.
26330 (STABS_FUN_END): Likewise.
26331 (STABS_FUN2): Likewise.
26332 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26333 * sysdeps/x86_64/configure: Regenerated.
26334
5908bf46
RM
263352012-08-14 Roland McGrath <roland@hack.frob.com>
26336
26337 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26338 * elf/dl-lookup.c: Likewise.
5908bf46 26339
f2c05b9e
JM
263402012-08-14 Joseph Myers <joseph@codesourcery.com>
26341
26342 * sysdeps/unix/sysv/linux/kernel-features.h
26343 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26344 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26345 unconditionally.
26346 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26347 unconditionally.
26348 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26349 condition on __ASSUME_CLONE_THREAD_FLAGS.
26350
e11f5155
AJ
263512012-08-14 Andreas Jaeger <aj@suse.de>
26352
26353 * sysdeps/i386/fpu/libm-test-ulps: Update.
26354
51a9ba86
MK
263552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26356
2fdd4f78
AJ
26357 * include/atomic.h (atomic_exchange_and_add): Split into ...
26358 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26359 New atomic macros.
51a9ba86 26360
ba6cba9e
MT
263612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26362
26363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26364
42443a47
JL
263652012-08-13 Jeff Law <law@redhat.com>
26366
26367 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26368 null byte in the output string.
26369
121dce05
JM
263702012-08-10 Joseph Myers <joseph@codesourcery.com>
26371
26372 * sysdeps/unix/sysv/linux/kernel-features.h
26373 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26374 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26375 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26376 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26377 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26378 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26379 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26380
bf51f568
JL
263812012-08-09 Jeff Law <law@redhat.com>
26382
26383 [BZ #13939]
26384 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26385 When avoid_arena is set, don't retry in the that arena. Pick the
26386 next one, whatever it might be.
26387 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26388 (arena_lock): Pass in new parameter to arena_get2.
26389 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26390 arena_get2.
26391 (__libc_malloc): Unify retrying after main arena failure with
26392 __libc_memalign version.
26393 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26394
f85fa270
L
263952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26396
26397 [BZ #14166]
26398 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26399 to __redirect_strstr.
26400 (__strstr_sse42): Use typeof __redirect_strstr.
26401 (__strstr_ia32): Likewise.
26402 (__libc_strstr): New prototype.
26403 (strstr): Renamed to ...
26404 (__libc_strstr): This.
26405 (strstr): New strong alias of __libc_strstr.
26406 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26407 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26408 __redirect_time.
26409 Include <time.h>.
26410 (__libc_time): New prototype.
26411 (time_ifunc): Replace time with __libc_time.
26412 (time): New strong alias and hidden definition of __libc_time.
26413 (__GI_time): Remove strong alias.
26414 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26415 Include <stddef.h>.
26416 (memmove): Redefined to __redirect_memmove.
26417 (__memmove_sse2): Use typeof __redirect_memmove.
26418 (__memmove_ssse3): Likewise.
26419 (__memmove_ssse3_back): Likewise.
26420 (__libc_memmove): New prototype.
26421 (memmove): Renamed to ...
26422 (__libc_memmove): This.
26423 (memmove): New strong alias of __libc_memmove.
26424
33b4a91e
MS
264252012-08-08 Mark Salter <msalter@redhat.com>
26426
26427 * elf/elf.h
26428 (R_MN10300_TLS_GD): Define.
26429 (R_MN10300_TLS_LD): Likewise.
26430 (R_MN10300_TLS_LDO): Likewise.
26431 (R_MN10300_TLS_GOTIE): Likewise.
26432 (R_MN10300_TLS_IE): Likewise.
26433 (R_MN10300_TLS_LE): Likewise.
26434 (R_MN10300_TLS_DTPMOD): Likewise.
26435 (R_MN10300_TLS_DTPOFF): Likewise.
26436 (R_MN10300_TLS_TPOFF): Likewise.
26437 (R_MN10300_SYM_DIFF): Likewise.
26438 (R_MN10300_ALIGN): Likewise.
26439 (R_MN10300_NUM): Update.
26440
b36137f1
JM
264412012-08-08 Joseph Myers <joseph@codesourcery.com>
26442
26443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26444 Remove.
26445
cdd915fd
RM
264462012-08-08 Roland McGrath <roland@hack.frob.com>
26447
a2433aac
RM
26448 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26449
cdd915fd
RM
26450 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26451 sysdeps/unix -> sysdeps/posix move.
26452 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26453
bf9b740a
AM
264542012-08-07 Allan McRae <allan@archlinux.org>
26455
26456 [BZ #14303]
26457 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26458 (SUNOS_CPP): Likewise.
26459 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26460 not found.
26461 (open_input): Call CPP using execvp.
26462
93df14ee
JM
264632012-08-07 Joseph Myers <joseph@codesourcery.com>
26464
26465 * sysdeps/unix/sysv/linux/kernel-features.h
26466 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26467 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26468 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26469 (__ASSUME_WAITID_SYSCALL): Likewise.
26470 * sysdeps/unix/sysv/linux/dl-execstack.c
26471 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26472 code unconditional.
26473 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26474 conditional code.
26475 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26476 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26477 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26478 code.
26479 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26480 unconditional.
26481 [__ASSUME_WAITID_SYSCALL]: Likewise.
26482 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26483
d34689de
RM
264842012-08-07 Roland McGrath <roland@hack.frob.com>
26485
a281decc
RM
26486 * sysdeps/unix/closedir.c: Renamed to ...
26487 * sysdeps/posix/closedir.c: ... here.
26488 * sysdeps/unix/dirfd.c: Renamed to ...
26489 * sysdeps/posix/dirfd.c: ... here.
26490 * sysdeps/unix/dirstream.h: Renamed to ...
26491 * sysdeps/posix/dirstream.h: ... here.
26492 * sysdeps/unix/fdopendir.c: Renamed to ...
26493 * sysdeps/posix/fdopendir.c: ... here.
26494 * sysdeps/unix/opendir.c: Renamed to ...
26495 * sysdeps/posix/opendir.c: ... here.
26496 * sysdeps/unix/readdir.c: Renamed to ...
26497 * sysdeps/posix/readdir.c: ... here.
26498 * sysdeps/unix/readdir_r.c: Renamed to ...
26499 * sysdeps/posix/readdir_r.c: ... here.
26500 * sysdeps/unix/rewinddir.c: Renamed to ...
26501 * sysdeps/posix/rewinddir.c: ... here.
26502 * sysdeps/unix/seekdir.c: Renamed to ...
26503 * sysdeps/posix/seekdir.c: ... here.
26504 * sysdeps/unix/telldir.c: Renamed to ...
26505 * sysdeps/posix/telldir.c: ... here.
26506 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26507 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26508 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26509 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26510
22895b47
RM
26511 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26512 * bits/fcntl.h: ... here.
26513
707a53b6
RM
26514 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26515 not 0.
26516 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26517 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26518 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26519 (struct flock): Move l_start, l_len to the beginning.
26520 Use __pid_t for l_pid.
26521 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26522 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26523 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26524 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26525 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26526 [__USE_LARGEFILE64] (struct flock64): New type.
26527 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26528
f0bd3e25
RM
26529 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26530 * bits/dirent.h: ... here.
26531
d34689de
RM
26532 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26533 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26534
6dad2c06
JM
265352012-08-07 Joseph Myers <joseph@codesourcery.com>
26536
26537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26538 Change from 2.6.0 to 2.6.16.
26539 * sysdeps/unix/sysv/linux/configure: Regenerated.
26540 * sysdeps/unix/sysv/linux/kernel-features.h
26541 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26542 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26543 version.
26544 (__ASSUME_UTIMES): Likewise.
26545 (__ASSUME_CLONE_STOPPED): Remove.
26546 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26547 architectures, not kernel version.
26548 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26551 (__ASSUME_WAITID_SYSCALL): Likewise.
26552 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26553 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26554 * README: State 2.6.16 as minimum Linux kernel version. Do not
26555 refer to older versions.
26556
03af9520
RM
265572012-08-06 Roland McGrath <roland@hack.frob.com>
26558
8e49df1d
RM
26559 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26560 Define alphasort64 as an alias.
26561 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26562 Define versionsort64 as an alias.
26563 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26564 Define scandir64 as an alias.
26565 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26566 Define scandirat64 as an alias.
26567 * dirent/alphasort64.c (alphasort64):
26568 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26569 * dirent/versionsort64.c: Likewise.
26570 * dirent/scandir64.c: Likewise.
26571 * dirent/scandirat64.c: Likewise.
26572 * sysdeps/wordsize-64/alphasort.c: File removed.
26573 * sysdeps/wordsize-64/alphasort64.c: File removed.
26574 * sysdeps/wordsize-64/scandir.c: File removed.
26575 * sysdeps/wordsize-64/scandir64.c: File removed.
26576 * sysdeps/wordsize-64/scandirat.c: File removed.
26577 * sysdeps/wordsize-64/scandirat64.c: File removed.
26578 * sysdeps/wordsize-64/versionsort.c: File removed.
26579 * sysdeps/wordsize-64/versionsort64.c: File removed.
26580 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26581 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26582 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26583 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26584 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26585 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26586 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26587 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26588
26589 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26591 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26593 [defined __arch64__ || defined __sparcv9]
26594 (__INO_T_MATCHES_INO64_T): New macro.
26595 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26596 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26597 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26598 * sysdeps/unix/sysv/linux/bits/dirent.h
26599 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26600 (_DIRENT_MATCHES_DIRENT64): New macro.
26601
03af9520
RM
26602 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26603 Define lockf64 as an alias.
26604 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26605 Define fseeko64 as an alias.
26606 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26607 Define ftello64 as an alias.
26608 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26609 Define _IO_fgetpos64 and fgetpos64 as aliases.
26610 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26611 Define _IO_fsetpos64 and fsetpos64 as aliases.
26612 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26613 Conditionalize body on this.
26614 * libio/fseeko64.c: Likewise.
26615 * libio/ftello64.c: Likewise.
26616 * libio/iofgetpos64.c: Likewise.
26617 * libio/iofsetpos64.c: Likewise.
26618 * sysdeps/wordsize-64/lockf.c: File removed.
26619 * sysdeps/wordsize-64/lockf64.c: File removed.
26620 * sysdeps/wordsize-64/fseeko.c: File removed.
26621 * sysdeps/wordsize-64/fseeko64.c: File removed.
26622 * sysdeps/wordsize-64/ftello.c: File removed.
26623 * sysdeps/wordsize-64/ftello64.c: File removed.
26624 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26625 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26626 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26627 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26628 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26629 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26630 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26631 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26632 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26633 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26634 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26636 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26637 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26638
26639 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26641 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26643 [defined __arch64__ || defined __sparcv9]
26644 (__OFF_T_MATCHES_OFF64_T): New macro.
26645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26646 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26648 (__OFF_T_MATCHES_OFF64_T): New macro.
26649
c5757acd
L
266502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26651
26652 * stdlib/secure-getenv.c (__secure_getenv): Replace
26653 GLIBC_2_16 with GLIBC_2_17.
26654
3a31811e
L
266552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26658 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26659
faa2bccb
DM
266602012-08-03 David S. Miller <davem@davemloft.net>
26661
26662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26663
85fe1997
JM
266642012-08-03 Joseph Myers <joseph@codesourcery.com>
26665
26666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26667 Remove.
26668 (__ASSUME_CORRECT_SI_PID): Likewise.
26669 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26670 (__ASSUME_TMPFS_NAME): Likewise.
26671 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26672 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26673 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26674 (HAVE_AUX_SECURE): Make definition unconditional.
26675 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26676 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26677
4f75b7a0
RM
266782012-08-03 Roland McGrath <roland@hack.frob.com>
26679
26680 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26681 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26682 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26683 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26684 __eloop_threshold instead of SYMLOOP_MAX.
26685
26686 * sysdeps/generic/eloop-threshold.h: New file.
26687 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26688 of MAXSYMLINKS.
26689 * elf/chroot_canon.c (chroot_canon): Likewise.
26690
7aab07e4
JM
266912012-08-03 Joseph Myers <joseph@codesourcery.com>
26692
26693 [BZ #13717]
26694 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26695 Change to 2.6.0 everywhere.
26696 * sysdeps/unix/sysv/linux/configure: Regenerated.
26697 * sysdeps/unix/sysv/linux/kernel-features.h
26698 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26699 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26700 kernel versions.
26701 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26702 (__ASSUME_FUTEX_REQUEUE): Remove.
26703 (__ASSUME_STATFS64): Define unconditionally.
26704 (__ASSUME_AT_SECURE): Likewise.
26705 (__ASSUME_CORRECT_SI_PID): Likewise.
26706 (__ASSUME_TGKILL): Define without depending on kernel version for
26707 i386.
26708 (__ASSUME_UTIMES): Likewise.
26709 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26710 kernel version.
26711 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26712 (__ASSUME_TMPFS_NAME): Likewise.
26713 * README: Update reference to Linux kernel versions.
26714
b67e9372
MP
267152012-08-02 Marek Polacek <polacek@redhat.com>
26716
1f529f7d 26717 [BZ# 14150]
b67e9372
MP
26718 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26719 libc_cv_asm_type_prefix with %.
26720 * configure: Regenerated.
d2441631
RM
26721 * include/libc-symbols.h: Remove comment about
26722 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26723 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26724 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26725 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26726 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26727 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26728 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26729 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26730 * elf/tst-unique2mod1.c: Likewise.
26731 * elf/tst-unique1mod2.c: Likewise.
26732 * elf/tst-unique1mod1.c: Likewise.
26733 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26734 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26735 Replace ASM_TYPE_DIRECTIVE with .type.
26736 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26737 * sysdeps/i386/sysdep.h: Likewise.
26738 * sysdeps/x86_64/sysdep.h: Likewise.
26739 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26741 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26742 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26743 * sysdeps/powerpc/powerpc32/sysdep.h:
26744 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26745 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26746 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26747 * sysdeps/i386/fpu/e_powf.S: Likewise.
26748 * sysdeps/i386/fpu/e_expl.S: Likewise.
26749 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26750 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26751 * sysdeps/i386/fpu/e_pow.S: Likewise.
26752 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26753 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26754 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26755 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26756 * sysdeps/i386/fpu/e_log2.S: Likewise.
26757 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26758 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26759 * sysdeps/i386/fpu/e_powl.S: Likewise.
26760 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26761 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26762 * sysdeps/i386/fpu/e_logl.S: Likewise.
26763 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26764 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26765 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26766 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26767 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26768 * sysdeps/i386/fpu/e_log.S: Likewise.
26769 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26770 * sysdeps/i386/fpu/e_logf.S: Likewise.
26771 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26773 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26774 * sysdeps/i386/fpu/e_log10.S: Likewise.
26775 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26776 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26777 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26778 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26779 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26780 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26781 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26782 * sysdeps/i386/i686/strtok.S: Likewise.
26783 * sysdeps/i386/i386-mcount.S: Likewise.
26784 * sysdeps/i386/strtok.S: Likewise.
26785 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26788 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26789 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26791 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26792 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26793 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26794 * sysdeps/x86_64/_mcount.S: Likewise.
26795 * sysdeps/x86_64/strtok.S: Likewise.
26796 * sysdeps/sh/_mcount.S: Likewise.
26797
2747bf9a
RM
267982012-08-01 Roland McGrath <roland@hack.frob.com>
26799
26800 * libio/iofopen.c: Include <fcntl.h>.
26801 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26802 (_IO_fopen64, fopen64): Define as aliases.
26803 * libio/iofopen64.c: Include <fcntl.h>.
26804 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26805 Conditionalize body on this.
26806 * sysdeps/wordsize-64/iofopen.c: File removed.
26807 * sysdeps/wordsize-64/iofopen64.c: File removed.
26808
3fb791b8
MP
268092012-08-01 Marek Polacek <polacek@redhat.com>
26810
26811 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26812 Use dlfcn directly instead of a variable.
26813 (binfmt-subdir): Do not define.
26814 (dlfcn): Likewise.
26815
a9f1039f
JM
268162012-08-01 Joseph Myers <joseph@codesourcery.com>
26817
23bddc06
JM
26818 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26819 Remove all definitions.
26820 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26821 <kernel-features.h>.
26822 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26823 (miss_F_GETOWN_EX): Remove all definitions.
26824 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26825 macro definition.
26826 [!__ASSUME_FCNTL64]: Remove conditional code.
26827 [__ASSUME_FCNTL64]: Make code unconditional.
26828 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26829 <kernel-features.h>.
26830 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26831 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26832 (lockf64) [__NR_fcntl64]: Make code unconditional.
26833 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26834
a9f1039f
JM
26835 * sysdeps/unix/sysv/linux/kernel-features.h
26836 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26837 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26838 Make code unconditional.
26839 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26840 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26842 [__NR_vfork]: Make code unconditional.
26843 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26844 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26846 [__NR_vfork]: Make code unconditional.
26847 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26848 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26849
09c0ee5f
RM
268502012-08-01 Roland McGrath <roland@hack.frob.com>
26851
48aec5b9
RM
26852 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26853 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26854
cd97c966
RM
26855 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26856 Define mkstemp64 as an alias.
3f55550c
RM
26857 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26858 Define mkstemps64 as an alias.
cd97c966
RM
26859 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26860 Define mkostemp64 as an alias.
b8625cfc
RM
26861 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26862 Define mkostemps64 as an alias.
cd97c966
RM
26863 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26864 Conditionalize body on this.
26865 * misc/mkostemp64.c: Likewise.
b8625cfc 26866 * misc/mkostemps64.c: Likewise.
3f55550c 26867 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26868 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26869 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26870 * sysdeps/wordsize-64/mkostemp.c: File removed.
26871 * sysdeps/wordsize-64/mkstemp.c: File removed.
26872 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26873 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26874 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26875 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26876
09c0ee5f
RM
26877 [BZ #14138]
26878 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26879 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26880 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26881 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26882
26883 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26884 compat_symbol macros from <shlib-compat.h> rather than the underlying
26885 default_symbol_version and symbol_version macros, so that DEFAULT
26886 lines in shlib-versions are respected.
26887 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26888
7e66ee51
FW
268892012-08-01 Florian Weimer <fweimer@redhat.com>
26890
26891 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26892 Declare with warn_unused_result.
26893 (setgid, setregid, setegid, setresgid): Likewise.
26894 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26895 Likewise.
26896 * WUR-REPORT: Remove set*id functions.
26897
d2a54255
PT
268982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26899
26900 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26901
7ecdb005
RM
269022012-07-31 Roland McGrath <roland@hack.frob.com>
26903
b4180a5e 26904 [BZ #10191]
789bd351
RM
26905 * include/sys/socket.h (__libc_accept, __libc_accept4):
26906 Add attribute_hidden.
26907 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26908
40ce302d
RM
26909 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26910 use of PTR_MANGLE.
26911 * inet/getnetgrent_r.c (setup): Likewise.
26912
7ecdb005
RM
26913 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26914
e2eabb2c
DM
269152012-07-31 David S. Miller <davem@davemloft.net>
26916
26917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26918
d0419dbf
JM
269192012-07-31 Joseph Myers <joseph@codesourcery.com>
26920
26921 [BZ #13629]
26922 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26923 value between 1.0 and 2.0 and smaller part has absolute value less
26924 than 1.0.
26925 * math/s_clog10.c (__clog10): Likewise.
26926 * math/s_clog10f.c (__clog10f): Likewise.
26927 * math/s_clog10l.c (__clog10l): Likewise.
26928 * math/s_clogf.c (__clogf): Likewise.
26929 * math/s_clogl.c (__clogl): Likewise.
26930 * math/libm-test.inc (clog_test): Add more tests.
26931 (clog10_test): Likewise.
26932 * sysdeps/i386/fpu/libm-test-ulps: Update.
26933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26934
2bc13872
FW
269352012-07-31 Florian Weimer <fweimer@redhat.com>
26936
26937 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26938 Exit with zero in case no suitable GID is found, and write a
26939 message to standard error.
26940
bea9b193
RM
269412012-07-30 Roland McGrath <roland@hack.frob.com>
26942
26943 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26944 rather than to 1.
26945 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26946 (MAXPATHLEN): Removed.
26947 (NOGROUP, NODEV): New macros.
26948 (setbit, clrbit, isset, isclr): New macros.
26949 (howmany, roundup, powerof2): New macros.
26950 (DEV_BSIZE): New macro.
26951
26952 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26953 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26954
26955 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26956 definition on [!__NO_LONG_DOUBLE_MATH].
26957
26958 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26959 PTR_MANGLE and PTR_DEMANGLE.
26960
26961 * socket/accept4.c (accept4): Rename to __libc_accept4.
26962 Define accept4 as a weak alias.
26963
26964 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26965 on [_DIRENT_HAVE_D_TYPE].
26966 * io/ftw.c (ftw_dir): Likewise.
26967
26968 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26969
26970 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26971
26972 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26973 Use the BSD numbers rather than the arbitrary ones we had.
26974 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26975 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26976 (SIGXCPU, SIGXFSZ): New macros.
26977 (_NSIG): Now 32.
26978
26979 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26980 initializer on [_LIBC_REENTRANT].
26981
26982 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26983 definitions inside [_POSIX_MAPPED_FILES].
26984
26985 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26986
26987 * dirent/opendir.c: Include <fcntl.h>.
26988
26989 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26990 (__libc_getspecific): Likewise.
26991 (__libc_key_create): Likewise.
26992
26993 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26994 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26995 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26996 (tmpfile64): Define as alias.
26997 * sysdeps/wordsize-64/tmpfile.c: File removed.
26998 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26999 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27000 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27001
27002 * stdio-common/vfscanf.c: Include <stdbool.h>.
27003 * nss/makedb.c: Likewise.
27004 * stdio-common/_i18n_number.h: Likewise.
27005 * argp/argp-help.c: Likewise.
27006 * posix/wordexp.c: Likewise.
27007 * sysdeps/posix/spawni.c: Likewise.
27008 * nss/nss_files/files-initgroups.c: Likewise.
27009 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27010 * nss/nss_files/files-initgroups.c: Likewise.
27011 * nss/nss_db/db-netgrp.c: Likewise.
27012 * nss/nss_db/db-initgroups.c: Likewise.
27013 * io/fchmodat.c: Include <sys/stat.h>.
27014
27015 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27016 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27017
27018 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27019 [HAVE_MMAP].
27020
27021 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27022 Add multiple inclusion protection.
27023
e5abc686
DM
270242012-07-27 David S. Miller <davem@davemloft.net>
27025
27026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27027
815e6fa3
GB
270282012-07-27 Gary Benson <gbenson@redhat.com>
27029
27030 [BZ #14298]
27031 * elf/rtld.c: Include <stap-probe.h>.
27032 (dl_main): Added static probes "init_start" and "init_complete".
27033 * elf/dl-load.c: Include <stap-probe.h>.
27034 (lose): Take new parameter "nsid".
27035 Added static probe "map_failed".
27036 (_dl_map_object_from_fd): Pass namespace id to lose.
27037 Added static probe "map_start".
27038 (open_verify): Pass namespace id to lose.
27039 * elf/dl-open.c: Include <stap-probe.h>.
27040 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27041 and "reloc_complete".
27042 * elf/dl-close.c: Include <stap-probe.h>.
27043 (_dl_close_worker): Added static probes "unmap_start" and
27044 "unmap_complete".
27045 * elf/rtld-debugger-interface.txt: New file documenting the above.
27046
9f98c16c
RM
270472012-07-26 Roland McGrath <roland@hack.frob.com>
27048
27049 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27050 rather than a string variable.
27051 * sunrpc/rpc_main.c (h_output): Likewise.
27052 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27053
f3c22df3
PT
270542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27055
27056 * inet/check_native.c: New file.
27057
3129cfc6
JM
270582012-07-26 Joseph Myers <joseph@codesourcery.com>
27059
da865e95
JM
27060 [BZ #13629]
27061 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27062 if larger part has absolute value 1.0.
27063 * math/s_clog10.c (__clog10): Likewise.
27064 * math/s_clog10f.c (__clog10f): Likewise.
27065 * math/s_clog10l.c (__clog10l): Likewise.
27066 * math/s_clogf.c (__clogf): Likewise.
27067 * math/s_clogl.c (__clogl): Likewise.
27068 * math/libm-test.inc (clog_test): Add more tests.
27069 (clog10_test): Likewise.
27070 * sysdeps/i386/fpu/libm-test-ulps: Update.
27071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27072
3129cfc6
JM
27073 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27074 (pltexit): Likewise.
27075 (La_regs): Likewise.
27076 (La_retval): Likewise.
27077 (int_retval): Likewise.
27078 Update #error for removed macros to refer only to definitions in
27079 tst-audit.h.
27080 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27081 macro.
27082 (pltexit): Likewise.
27083 (La_regs): Likewise.
27084 (La_retval): Likewise.
27085 (int_retval): Likewise.
27086 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27087 macro.
27088 (pltexit): Likewise.
27089 (La_regs): Likewise.
27090 (La_retval): Likewise.
27091 (int_retval): Likewise.
27092 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27093 macro.
27094 (pltexit): Likewise.
27095 (La_regs): Likewise.
27096 (La_retval): Likewise.
27097 (int_retval): Likewise.
27098 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27099 macro.
27100 (pltexit): Likewise.
27101 (La_regs): Likewise.
27102 (La_retval): Likewise.
27103 (int_retval): Likewise.
27104 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27105 macro.
27106 (pltexit): Likewise.
27107 (La_regs): Likewise.
27108 (La_retval): Likewise.
27109 (int_retval): Likewise.
27110 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27111 macro.
27112 (pltexit): Likewise.
27113 (La_regs): Likewise.
27114 (La_retval): Likewise.
27115 (int_retval): Likewise.
27116 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27117 macro definitions in tst-audit.h.
27118 * sysdeps/i386/tst-audit.h: New file.
27119 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27120 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27121 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27122 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27123 * sysdeps/sh/tst-audit.h: Likewise.
27124 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27125 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27126 * sysdeps/x86_64/tst-audit.h: Likewise.
27127
bfc07087
AJ
271282012-07-26 Andreas Jaeger <aj@suse.de>
27129
b1b2aaf8
AJ
27130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27131 ptrace.
27132
27133 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27134 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27135 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27136 PTRACE_O_MASK.
27137 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27138 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27139 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27140
bfc07087
AJ
27141 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27142 value.
27143
27144 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27145 _sigsys.
27146 (si_call_addr, si_syscall, si_arch): Define new macro.
27147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27148 _sigsys.
27149 (si_call_addr, si_syscall, si_arch): Define new marcro.
27150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27151 _sigsys.
27152 (si_call_addr, si_syscall, si_arch): Define new macro.
27153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27154 _sigsys.
27155 (si_call_addr, si_syscall, si_arch): Define new macro.
27156
89b4b02f
JM
271572012-07-25 Joseph Myers <joseph@codesourcery.com>
27158
27159 [BZ #13717]
27160 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27161 Change to 2.4.21 where previously 2.4.1.
27162 * sysdeps/unix/sysv/linux/configure: Regenerated.
27163 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27164 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27165 Linux kernel version.
27166 (__ASSUME_STD_AUXV): Remove.
27167 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27168 kernel version.
27169 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27170 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27171 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27172 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27173 (__ASSUME_NETLINK_SUPPORT): Likewise.
27174 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27175 (__no_netlink_support): Remove conditional definition.
27176 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27177 Remove.
27178 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27179 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27180 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27181 (if_nameindex_ioctl): Remove.
27182 (if_nameindex_netlink): Do not handle __no_netlink_support.
27183 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27184 code.
27185 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27186 Remove conditional code.
27187 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27188 code.
27189 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27190 unconditional.
27191 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27192 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27193 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27194 Remove.
27195 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27196 [!__ASSUME_STD_AUXV]: Remove conditional code.
27197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27198 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27199 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27201 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27202 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27203 code.
27204 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27206 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27207 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27208 conditional code.
27209 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27211 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27212 code.
27213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27214 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27215 conditional code.
27216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27217 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27218 code unconditional.
27219 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27220 conditional code.
27221 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27222 unconditional.
27223 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27224 conditional code.
27225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27226 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27227 unconditional.
27228 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27229 conditional code.
27230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27231 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27232 code unconditional.
27233 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27234 conditional code.
27235 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27236 unconditional.
27237 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27238 conditional code.
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27240 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27241 code unconditional.
27242 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27243 conditional code.
27244 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27245 unconditional.
27246 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27247 conditional code.
27248
842a39cd
AS
272492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27250
27251 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27252 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27253 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27254 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27255 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27256 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27257 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27258 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27259 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27260 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27261 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27262 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27263 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27264 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27266 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27267 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27268 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27269 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27271 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27272 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27274
84b3fd84
FW
272752012-07-25 Florian Weimer <fweimer@redhat.com>
27276
27277 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27278 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27279 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27280 Introduce __libc_secure_getenv.
0c7936d5
FW
27281 * stdlib/Versions (2.17): Add secure_getenv
27282 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27283 * stdlib/secure-getenv.c: Rename __secure_getenv to
27284 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27285 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27286 * stdlib/tst-secure-getenv.c: New.
27287 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27288 * manual/startup.texi (Environment Access): Document
27289 secure_getenv.
84b3fd84
FW
27290 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27291 __libc_secure_getenv.
27292 * inet/ruserpass.c (ruserpass): Likewise.
27293 * malloc/mtrace.c (mtrace): Likewise.
27294 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27295 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27296 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27297 * sysdeps/posix/tempname.c: Likewise. Evaluate
27298 HAVE_SECURE_GETENV.
27299 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27300 __secure_getenv to __libc_secure_getenv.
84b3fd84 27301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27303 Likewise.
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27305 Likewise.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27313
56e49b71
JM
273142012-07-25 Joseph Myers <joseph@codesourcery.com>
27315
27316 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27317 (struct La_i86_retval): Likewise.
27318 (struct La_x86_64_regs): Likewise.
27319 (struct La_x86_64_retval): Likewise.
27320 (struct La_x32_regs): Likewise.
27321 (struct La_x32_retval): Likewise.
27322 (struct La_ppc32_regs): Likewise.
27323 (struct La_ppc32_retval): Likewise.
27324 (struct La_ppc64_regs): Likewise.
27325 (struct La_ppc64_retval): Likewise.
27326 (struct La_sh_regs): Likewise.
27327 (struct La_sh_retval): Likewise.
27328 (struct La_s390_32_regs): Likewise.
27329 (struct La_s390_32_retval): Likewise.
27330 (struct La_s390_64_regs): Likewise.
27331 (struct La_s390_64_retval): Likewise.
27332 (struct La_sparc32_regs): Likewise.
27333 (struct La_sparc32_retval): Likewise.
27334 (struct La_sparc64_regs): Likewise.
27335 (struct La_sparc64_retval): Likewise.
27336 (struct audit_ifaces): Remove architecture-specific pltenter and
27337 pltexit members.
27338 * sysdeps/i386/ldsodefs.h: New file.
27339 * sysdeps/powerpc/ldsodefs.h: Likewise.
27340 * sysdeps/s390/ldsodefs.h: Likewise.
27341 * sysdeps/sh/ldsodefs.h: Likewise.
27342 * sysdeps/sparc/ldsodefs.h: Likewise.
27343 * sysdeps/x86_64/ldsodefs.h: Likewise.
27344
354691b7
MP
273452012-07-25 Marek Polacek <polacek@redhat.com>
27346
27347 [BZ #6808]
27348 * math/libm-test.inc (yn_test): Add another test.
27349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27350 to ERANGE when the result is +-Inf.
27351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27352 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27353 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27354 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27355
bf9e2071
JM
273562012-07-24 Joseph Myers <joseph@codesourcery.com>
27357
27358 * conform/data/time.h-data (NULL): Use macro-constant. Require
27359 equal to 0.
27360 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27361 clock_t.
27362 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27363
57633811
TS
273642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27365
27366 * configure.in <sysdeps resolving>: Correct printing
27367 Implies_before.
27368 * configure: Regenerate.
27369
c23c33b0
TS
273702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27371
27372 * math/w_ilogb.c: Include <limits.h>.
27373 * math/w_ilogbl.c: Likewise.
27374
b5982523
JM
273752012-07-20 Joseph Myers <joseph@codesourcery.com>
27376
27377 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27378 va_copy. Document allowing for unavailable va_copy only as
27379 pre-C99 compatibility.
27380 * manual/string.texi (Copying and Concatenation): Use va_copy
27381 instead of __va_copy in concat example.
27382
ac4ea442
PT
273832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27384
27385 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27386 (__sendto): Use create_address_port. Initialize APORT and deallocate
27387 it if not null.
27388
f98eafbd
PT
27389 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27390 with O_NOLINK passed to __file_name_lookup.
27391
898c7aab
PT
27392 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27393 with O_NOLINK passed to __file_name_lookup.
27394
0ced335a
PT
27395 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27396 negative N or less than NGIDS.
27397
b3404dbd
PT
27398 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27399 type to string_t. Set ERANGE as errno and return it if NAME is not big
27400 enough. Use memcpy instead of strncpy.
27401
0f48659e
JM
274022012-07-20 Joseph Myers <joseph@codesourcery.com>
27403
27404 * elf/Makefile (check-data): Remove.
27405 (localplt.data): New vpath directive.
27406 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27407 instead of $(check-data).
27408 * scripts/data/localplt-generic.data: Move to ...
27409 * sysdeps/generic/localplt.data: ... here.
27410 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27411 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27412 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27414 ... here.
27415 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27417 ... here.
27418 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27420 ... here.
27421 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27423 ... here.
27424 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27426 ... here.
27427 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27429 ... here.
27430
d37cbdaa
AZ
274312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27432
27433 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27434 PPC32 and PPC64 files.
27435 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27436 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27437
46f85fc2
AK
274382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27439
27440 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27441 __makecontext_ret to ...
27442 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27443 ... here and call exit if uc_link is NULL. New file.
27444 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27445 __makecontext_ret.S.
27446 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27447 __makecontext_ret to ...
27448 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27449 ... here and call exit if uc_link is NULL. New file.
27450 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27451 __makecontext_ret.S.
27452
08f43f9b
AK
274532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27454
27455 * elf/elf.h (R_390_IRELATIVE): New definition.
27456 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27457 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27458 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27460 (elf_machine_lazy_rel): Likewise.
27461 * sysdeps/s390/dl-irel.h: New file.
27462 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27463 * sysdeps/s390/s390-64/memset.S: New asm code.
27464 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27465 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27466 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27467 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27468 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27469 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27471 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27472 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27473 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27474 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27475 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27476 * sysdeps/s390/s390-32/memset.S: New asm code.
27477 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27478
3b05db33
MP
274792012-07-17 Marek Polacek <polacek@redhat.com>
27480
27481 [BZ #14349]
27482 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27483 * sysdeps/s390/s390-64/configure.in: Likewise.
27484 * sysdeps/sparc/configure.in: Likewise.
27485 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27486 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27487 * sysdeps/i386/configure.in: Likewise.
27488 * sysdeps/x86_64/configure.in: Likewise.
27489 * sysdeps/sh/configure.in: Likewise.
27490 * sysdeps/s390/s390-32/configure: Regenerated.
27491 * sysdeps/s390/s390-64/configure: Likewise.
27492 * sysdeps/x86_64/configure: Likewise.
27493 * sysdeps/sh/configure: Likewise.
27494 * sysdeps/powerpc/powerpc64/configure: Likewise.
27495 * sysdeps/powerpc/powerpc32/configure: Likewise.
27496 * sysdeps/sparc/configure: Likwise.
27497 * sysdeps/i386/configure: Likewise.
27498
a66877c6
MP
27499 * elf/dl-open.c: Comment fixes.
27500
cfc82fd8
JM
275012012-07-17 Joseph Myers <joseph@codesourcery.com>
27502
bd29910a
JM
27503 * Makefile [CXX] (check-data): Remove.
27504 [CXX] (c++-types.data): New vpath directive.
27505 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27506 vpath. Do not allow for C++ type data being missing.
27507 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27508 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27509 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27510 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27511 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27512 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27513 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27515 ... here.
27516 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27518 ... here.
27519 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27521 ... here.
27522 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27524 ... here.
27525 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27527 ... here.
27528 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27530 ... here.
27531 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27533 ... here.
27534 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27536
cfc82fd8
JM
27537 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27538 definitions to architecture-specific files.
27539 (TLS_IE): Likewise.
27540 (TLS_LD): Likewise.
27541 (TLS_GD): Likewise.
27542 * sysdeps/i386/tls-macros.h: New file.
27543 * sysdeps/powerpc/tls-macros.h: Likewise.
27544 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27545 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27546 * sysdeps/sh/tls-macros.h: Likewise.
27547 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27548 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27549 * sysdeps/x86_64/tls-macros.h: Likewise.
27550
f7db3170
TS
275512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27552
07cbfc23
TS
27553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27554 zero value for regular exit case.
27555
f7db3170
TS
27556 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27557 (__start_context): Preserve zero value for regular exit case.
27558
dc97c227
TS
275592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27560 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27561
27562 * manual/setjmp.texi (setcontext): Clarify normal process
27563 termination when uc_link is the null pointer.
27564 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27565 exit call.
27566
d0cd7d02
AS
275672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27568
27569 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27570 preprocessor. Test for each exception mask separately.
27571
dd318934
AJ
275722012-07-16 Andreas Jaeger <aj@suse.de>
27573
27574 * po/ru.po: Update from translation team.
27575
8048311a
JM
275762012-07-15 Joseph Myers <joseph@codesourcery.com>
27577
27578 * conform/data/string.h-data (NULL): Use macro-constant. Require
27579 equal to 0.
27580 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27581 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27582 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27583 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27585
b637d46e
AJ
275862012-07-13 Andreas Jaeger <aj@suse.de>
27587
27588 * po/fr.po: Update from translation team.
27589
541428fe
MP
275902012-07-12 Marek Polacek <polacek@redhat.com>
27591
27592 [BZ #14173]
27593 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27595 loop condition.
27596
ec332e94
JM
275972012-07-12 Joseph Myers <joseph@codesourcery.com>
27598
27599 [BZ #13717]
27600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27601 Change to 2.4.1 where previously 2.4.0.
27602 * sysdeps/unix/sysv/linux/configure: Regenerated.
27603 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27604 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27605 version.
27606 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27607 (__ASSUME_AT_CLKTCK): Remove.
27608 (__ASSUME_AT_PAGESIZE): Likewise.
27609 (__ASSUME_AT_XID): Likewise.
27610 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27611 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27612 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27613 unconditionally.
27614 (HAVE_AUX_PAGESIZE): Likewise.
27615 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27616 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27617 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27618
7b6e99be
JB
276192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27620
27621 [BZ #14307]
27622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27623 the temporary buffer used to invoke __gethostbyname2_r,
27624 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27625 host_data / struct gaih_addrtuple.
27626 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27627 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27628 header file nss/nsswitch.h.
27629 * nss/nsswitch.h (global scope): Add definition of implementation
27630 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27631 resolv/nss_dns/dns-host.c).
27632
608404eb
AJ
276332012-07-11 Andreas Jaeger <aj@suse.de>
27634
27635 * po/fr.po: Update from translation team.
27636
71220aca
AJ
27637 * po/sv.po: Update from translation team
27638 * po/fr.po: Another update from translation team.
27639
28cfe843
AZ
276402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27641
27642 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27643 for subnormals or multiply small sinh result by itself.
27644 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27646
6b90f981
DM
276472012-07-11 David S. Miller <davem@davemloft.net>
27648
27649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27650
c6825772
AS
276512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27652
27653 [BZ #14347]
27654 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27655 (INTERNAL_MARK): Shift it here.
27656
7b8e0d49
MP
276572012-07-10 Marek Polacek <polacek@redhat.com>
27658
27659 [BZ #14151]
27660 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27661 libc_cv_asm_global_directive with .globl.
27662 * configure: Regenerated.
27663 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27664 with .globl.
27665 * sysdeps/i386/configure: Regenerated.
27666 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27667 with .globl.
27668 * sysdeps/x86_64/configure: Regenerated.
27669 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27670 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27671 * elf/tst-unique2mod2.c: Likewise.
27672 * elf/tst-unique2mod1.c: Likewise.
27673 * elf/tst-unique1mod2.c: Likewise.
27674 * elf/tst-unique1mod1.c: Likewise.
27675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27677 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27679 * sysdeps/mach/sysdep.h: Likewise.
27680 * sysdeps/i386/sysdep.h: Likewise.
27681 * sysdeps/i386/i386-mcount.S: Likewise.
27682 * sysdeps/x86_64/_mcount.S: Likewise.
27683 * sysdeps/x86_64/sysdep.h: Likewise.
27684 * sysdeps/sh/_mcount.S: Likewise.
27685 * sysdeps/sh/sysdep.h: Likewise.
27686 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27687 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27688 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27689 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27690 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27691 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27692 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27693 * locale/localeinfo.h: Likewise.
27694 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27695 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27696
6c55cda3
RM
276972012-07-09 Roland McGrath <roland@hack.frob.com>
27698
27699 [BZ #14336]
27700 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27701 system".
27702 * manual/message.texi (The Uniforum approach): Likewise.
27703 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27704 (glibc iconv Implementation): Likewise.
27705
638a572e
JM
277062012-07-09 Joseph Myers <joseph@codesourcery.com>
27707
27708 [BZ #14337]
27709 * math/s_clog.c (__clog): Avoid scaling a value down where that
27710 could result in underflow.
27711 * math/s_clog10.c (__clog10): Likewise.
27712 * math/s_clog10f.c (__clog10f): Likewise.
27713 * math/s_clog10l.c (__clog10l): Likewise.
27714 * math/s_clogf.c (__clogf): Likewise.
27715 * math/s_clogl.c (__clogl): Likewise.
27716 * math/libm-test.inc (clog_test): Add more tests.
27717 (clog10_test): Likewise.
27718 * sysdeps/i386/fpu/libm-test-ulps: Update.
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27720
261f4859
AS
277212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27722
0abaf3e4
AS
27723 [BZ #14283]
27724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27725 by 7 not 8 to examine high bit of fractional part.
27726
261f4859
AS
27727 [BZ #14042]
27728 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27729 for call to __mcount_internal.
27730 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27731 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27732 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27733
f17ac40d
JM
277342012-07-06 Joseph Myers <joseph@codesourcery.com>
27735
9ad63c23
JM
27736 [BZ #14154]
27737 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27738 approximation for values within 0x1p-13f of an odd multiple of
27739 pi/4.
27740 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27741 exception. Add more tests.
27742 * sysdeps/i386/fpu/libm-test-ulps: Update.
27743
f17ac40d
JM
27744 [BZ #6778]
27745 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27746 inputs and return -1 for them. Do not check for +Inf in case not
27747 reachable for +Inf.
27748 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27749 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27750 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27751 and return -1 for them. Do not check for +Inf in case not
27752 reachable for +Inf.
27753 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27754 define.
27755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27756 and return -1 for them. Do not check for +Inf in case not
27757 reachable for +Inf.
27758 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27759 spurious underflow.
27760 * sysdeps/i386/fpu/libm-test-ulps: Update.
27761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27762
fb21f89b
MF
277632012-07-06 Mike Frysinger <vapier@gentoo.org>
27764
27765 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27766
cdfe2c5e
JM
277672012-07-05 Joseph Myers <joseph@codesourcery.com>
27768
27769 [BZ #14157]
27770 [BZ #14331]
27771 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27772 could result in spurious underflow. Scale down values above
27773 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27774 * math/s_csqrtf.c (__csqrtf): Likewise.
27775 * math/s_csqrtl.c (__csqrtl): Likewise.
27776 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27777 spurious underflow.
27778 * sysdeps/i386/fpu/libm-test-ulps: Update.
27779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27780
70d35b67
AS
277812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27782
704bc459
AS
27783 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27784 xopen-msg.sed.
27785 * catgets/xopen-msg.awk: New file.
27786 * catgets/xopen-msg.sed: Removed.
27787
70d35b67
AS
27788 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27789 po2text.sed.
27790 * intl/po2test.awk: New file.
27791 * intl/po2test.sed: Removed.
27792
ca61cf32
JM
277932012-07-04 Joseph Myers <joseph@codesourcery.com>
27794
27795 [BZ #14328]
27796 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27797 or multiply small sinh result by itself.
27798 * math/s_ctanf.c (__ctanf): Likewise.
27799 * math/s_ctanh.c (__ctanh): Likewise.
27800 * math/s_ctanhf.c (__ctanhf): Likewise.
27801 * math/s_ctanhl.c (__ctanhl): Likewise.
27802 * math/s_ctanl.c (__ctanl): Likewise.
27803 * math/libm-test.inc (ctan_test_tonearest): New function.
27804 (ctan_test_towardzero): Likewise.
27805 (ctan_test_downward): Likewise.
27806 (ctan_test_upward): Likewise.
27807 (ctanh_test_tonearest): Likewise.
27808 (ctanh_test_towardzero): Likewise.
27809 (ctanh_test_downward): Likewise.
27810 (ctanh_test_upward): Likewise.
27811 (main): Call these new functions.
27812 * sysdeps/i386/fpu/libm-test-ulps: Update.
27813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27814
ca48a46a
MF
278152012-07-03 Mike Frysinger <vapier@gentoo.org>
27816
27817 * .gitignore: Delete /ports entry.
27818
9d63d37d
AJ
278192012-07-03 Andreas Jaeger <aj@suse.de>
27820
27821 * po/bg.po: Update from translation team.
27822 * po/cs.po: Likewise.
27823 * po/de.po: Likewise.
27824 * po/hr.po: Likewise.
27825 * po/nl.pl: Likewise.
27826 * po/pl.po: Likewise.
27827 * po/vi.po: Likewise.
27828
370ca3d2
JM
278292012-07-03 Joseph Myers <joseph@codesourcery.com>
27830
95f5a9a8
JM
27831 * Makeconfig [!+link] (+link-before-libc): New variable.
27832 [!+link] (+link-after-libc): Likewise.
27833 [!+link] (+link-tests): Likewise.
27834 [!+link] (+link): Define in terms of $(+link-before-libc) and
27835 $(+link-after-libc).
27836 [!+link-static] (+link-static-before-libc): New variable.
27837 [!+link-static] (+link-static-after-libc): Likewise.
27838 [!+link-static] (+link-static-tests): Likewise.
27839 [!+link-static] (+link-static): Define in terms of
27840 $(+link-static-before-libc) and $(+link-static-after-libc).
27841 [build-shared] (link-libc-before-gnulib): New variable.
27842 [build-shared] (link-libc-tests): Likewise.
27843 [build-shared] (link-libc): Define in terms of
27844 $(link-libc-before-gnulib).
27845 [!build-shared] (link-libc-tests): New variable.
27846 (link-libc-static-tests): New variable.
27847 [!gnulib] (gnulib-arch): New variable.
27848 [!gnulib] (gnulib-tests): Likewise.
27849 [!gnulib] (static-gnulib-arch): Likewise.
27850 [!gnulib] (static-gnulib-tests): Likewise.
27851 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27852 Define with "=" instead of ":=".
27853 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27854 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27855 * Rules (binaries-all-notests): New variable.
27856 (binaries-all-tests): Likewise.
27857 (binaries-static-notests): Likewise.
27858 (binaries-static-tests): Likewise.
27859 (binaries-all): Define using $(binaries-all-notests) and
27860 $(binaries-all-tests).
27861 (binaries-static): Define using $(binaries-static-notests) and
27862 $(binaries-static-tests).
27863 (binaries-shared-tests): New variable.
27864 (binaries-shared-notests): Likewise.
27865 (binaries-shared): Remove variable.
27866 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27867 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27868 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27869 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27870 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27871 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27872 * elf/Makefile (sln-modules): New variable.
27873 (extra-objs): Add $(sln-modules:=.o).
27874 (ldconfig-modules): Add static-stubs.
27875 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27876 * elf/static-stubs.c: New file.
27877
7a845b2c
JM
27878 [BZ #14283]
27879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27880 by 7 not 8 to examine high bit of fractional part. Use volatile
27881 variables when splitting into final array of floats if
27882 __FLT_EVAL_METHOD__ != 0.
27883 * math/libm-test.inc (cos_test): Add another test.
27884 (sin_test): Likewise.
27885 * sysdeps/i386/fpu/libm-test-ulps: Update.
27886
e2283f38
JM
27887 [BZ #14273]
27888 * math/libm-test.inc (cosh_test): Add more tests.
27889
370ca3d2
JM
27890 * version.h (RELEASE): Set to "development".
27891 (VERSION): Set to "2.16.90".
27892
ee9247c3
CD
278932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27894
27895 * NEWS: Update copyright. Remove last-updated date.
27896 Mention math library bug fixes and timezone data changes.
27897 * README: Mention GNU/Hurd, x32, and HPPA support status.
27898
4648c381
TS
278992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27900
27901 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27902
aac78a43
AJ
279032012-06-27 Andreas Jaeger <aj@suse.de>
27904
27905 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27906
ed3dbfad
AJ
279072012-06-25 Andreas Jaeger <aj@suse.de>
27908
27909 * sysdeps/s390/fpu/libm-test-ulps: Update.
27910
4d0ee855
AS
279112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27912 Thomas Schwinge <thomas@codesourcery.com>
27913
27914 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27915 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27917 fanotify_mark.
27918
af1bce34
TS
279192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27920
a9fa33ba
TS
27921 * sysdeps/mach/start.c: Remove file.
27922 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27923 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27924 * sysdeps/sh/init-first.c: Likewise.
27925
58f902b8
TS
27926 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27927 registers for frame unwinding purposes, add CFI directives.
27928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27929 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27930 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27931 Likewise.
27932
1518f58b
TS
27933 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27934 __fortify_fail returning.
27935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27936
db9b5059
TS
27937 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27938 sysdeps/sh/____longjmp_chk.S.
27939 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27940 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27941 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27942 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27943
967705fe
TS
27944 * sysdeps/sh/abort-instr.h: New file.
27945 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27946 process in case exit returns.
27947
a9def8c4
TS
27948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27949 initialize the GOT register before use.
27950
2a649725
TS
27951 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27952 calculation of ARGC > 4.
27953
af1bce34
TS
27954 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27955 meaningful names to some local labels.
27956
d230f50a
KK
279572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27958 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27959
27960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27961 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27962 (__arch_compare_and_exchange_val_16_acq): Likewise.
27963 (__arch_compare_and_exchange_val_32_acq): Likewise.
27964 (atomic_exchange_and_add): Fix gUSA sequence.
27965 (atomic_add): Likewise.
27966 (atomic_add_negative): Likewise.
27967 (atomic_add_zero): Likewise.
27968 (atomic_bit_test_set): Likewise.
27969
0479b305
AS
279702012-06-22 Andreas Schwab <schwab@redhat.com>
27971
27972 [BZ #13579]
27973 * include/link.h (struct link_map): Add l_free_initfini.
27974 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27975 l_initfini.
27976 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27977 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27978 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27979 set.
27980
0e3933b9
CD
279812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27982
27983 * configure.in: Use AC_LANG_SOURCE.
27984 * configure: Regenerate.
27985
4248b1b1
RM
279862012-06-22 Roland McGrath <roland@hack.frob.com>
27987
27988 * configure.in (libc_cv_localstatedir): New substituted variable.
27989 * configure: Regenerated.
27990 * config.make.in (localstatedir): New variable, substituted from
27991 libc_cv_localstatedir.
27992 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27993 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27994 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27995 * sysdeps/gnu/configure: Regenerated.
27996
006dd861
JL
279972012-06-21 Jeff Law <law@redhat.com>
27998
27999 [BZ #14277]
28000 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28001 free. Simplify list management for _LIBC case.
28002
79662d42
JM
280032012-06-21 Joseph Myers <joseph@codesourcery.com>
28004
b7abb4bf
JM
28005 [BZ #14273]
28006 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28007 Clear sign bit of 64-bit integer value before comparing against
28008 overflow value.
28009
79662d42
JM
28010 * sysdeps/mach/configure: Regenerated.
28011
1f150908
L
280122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28013
28014 [BZ #14278]
28015 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28016
28363bbf
JL
280172012-06-21 Jeff Law <law@redhat.com>
28018
28019 [BZ #13882]
28020 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28021 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28022 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28023 * elf/dl-open.c (dl_open_worker): Likewise.
28024
09615db4
CD
280252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28026
28027 * scripts/list-sources.sh: Scan PORTS for translations.
28028 * po/libc.pot: Regenerated.
28029
2174c6dd
AJ
280302012-06-21 Andreas Jaeger <aj@suse.de>
28031
28032 [BZ #12194]
28033 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28034 warning.
28035 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28036 * bits/byteswap-16.h (__bswap_16): Likewise.
28037 * bits/byteswap.h (__bswap_constant_16): Likewise.
28038
3ee947b1
L
280392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28040
28041 [BZ #14117]
a2f34833
L
28042 * sysdeps/i386/fpu_control.h: Removed.
28043 * sysdeps/x86_64/fpu_control.h: Moved to ...
28044 * sysdeps/x86/fpu_control.h: Here.
28045
3ee947b1
L
28046 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28047 (_FPU_SETCW): Likewise.
28048
ed1825f8
L
280492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28050
25f1282a
L
28051 [BZ #14117]
28052 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28053 * sysdeps/x86/fpu/bits/mathinline.h: This.
28054 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28055
ed1825f8
L
28056 [BZ #14050]
28057 [BZ #14117]
28058 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28059 functions if __x86_64__ is defined.
28060
36d54b74
CLT
280612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28062
28063 * string/endian.h: Add !__ASSEMBLER__ condition for including
28064 conversion interfaces.
28065
10285c21
JM
280662012-06-15 Joseph Myers <joseph@codesourcery.com>
28067
28068 [BZ #14241]
28069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28070 of ABS(x) in calculating zero to negative powers other than odd
28071 integers.
28072 * math/libm-test.inc (pow_test): Add more tests.
28073
06c5abbd
AJ
280742012-06-15 Andreas Jaeger <aj@suse.de>
28075
28076 * manual/contrib.texi (Contributors): Update entry of Liubov
28077 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28078 Machado Filho.
28079
a3aeac40
CH
280802012-06-15 Cyril Hrubis <metan@ucw.cz>
28081
28082 * string/string.h: Add __wur to GNU version of strerror_r.
28083
49bdf4c1
L
280842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 [BZ #14229]
28087 * string/Makefile (tests): Add tst-strtok_r.
28088 * string/tst-strtok_r.c: New file.
28089 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28090 RAX_LP/RDX_LP on SAVE_PTR.
28091
834f9b8d
RM
280922012-06-14 Roland McGrath <roland@hack.frob.com>
28093
28094 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28095
75fa1921
JM
280962012-06-14 Joseph Myers <joseph@codesourcery.com>
28097
28098 * libm_test.inc (csqrt_test): Allow more spurious underflow
28099 exceptions.
28100 (j0_test): Likewise.
28101 (j1_test): Likewise.
28102 (y0_test): Likewise.
28103 (y1_test): Likewise.
28104
771766df
CD
281052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28106
28107 * po/Makefile (libc.pot): Use UTF-8 charset.
28108
ceb9e56b
PP
281092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28110
28111 [BZ #14210]
28112 Suppress sign-conversion warning from FD_SET.
28113 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28114 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28115 not unsigned long int.
28116 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28117
ddb28975
L
281182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28119
28120 [BZ #14050]
28121 [BZ #14117]
28122 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28123 __extern_always_inline instead of __extern_inline.
28124 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28125 (__signbit): Likewise.
28126 (__signbitl): Support C++ namespace.
28127 (lrintf): New inline function.
28128 (lrint): Likewise.
28129 (llrintf): Likewise.
28130 (llrint): Likewise.
28131 (fmaxf): Likewise.
28132 (fmax): Likewise.
28133 (fminf): Likewise.
28134 (fmin): Likewise.
28135 (rint): Likewise.
28136 (rintf): Likewise.
28137 (ceil): Likewise.
28138 (ceilf): Likewise.
28139 (floor): Likewise.
28140 (floorf): Likewise.
28141 (nearbyint): Likewise.
28142 (nearbyintf): Likewise.
28143
d7b4fb26
TS
281442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28145
28146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28147 non-default versions.
28148
eb55f5c2
RM
281492012-06-11 Roland McGrath <roland@hack.frob.com>
28150
28151 [BZ #14218]
28152 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28153
366af02c
TS
281542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28155
99ff6e5c
TS
28156 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28157 (FE_UPWARD, FE_DOWNWARD): Don't define.
28158 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28160
366af02c
TS
28161 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28162 reading it.
28163 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28164 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28165
793ea851
KK
281662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28167
28168 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28170 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28171 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28172
a728a38f
L
281732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28174
28175 [BZ #14117]
c08010c7
L
28176 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28177 * sysdeps/i386/fpu/Implies: New file.
28178 * sysdeps/x86_64/fpu/Implies: Likewise.
28179 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28180 * sysdeps/x86/fpu/bits/fenv.h: This.
28181
a728a38f
L
28182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28183 __SSE_MATH__.
28184
6e230d11
SP
281852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28186
28187 [BZ #14134]
28188 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28189 character 0xffff that matches the last element of the
28190 conversion table.
28191
1b671feb
AZ
281922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28193
28194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28195 fmodl commit.
28196
6043738b
AZ
281972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28198
28199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28200 values higher than 25.6283.
28201
34ae0b32
AZ
282022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28203
28204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28205 subnormal exponent extraction and add some __builtin_expect.
28206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28207 Fix for subnormal mantissa calculation.
28208
1214ec8f
MF
282092012-06-04 Mike Frysinger <vapier@gentoo.org>
28210
28211 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28212 cpu2 is -1 and errno is not ENOSYS.
28213
f3d1f93c
L
282142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 [BZ #14117]
0e4a3cd7
L
28217 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28218 * sysdeps/x86/bits/string.h: This.
28219 * sysdeps/x86_64/bits/string.h: Removed.
28220
6704c645
L
28221 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28222 if not compiling for x86-64, but compiling for >= i486.
28223
48495318
L
28224 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28225 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28226
14adcbfc
L
28227 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28228 New macro from Linux kernel 3.4.0.
28229 (FP_XSTATE_MAGIC2): Likewise.
28230 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28231 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28232 (struct _fpx_sw_bytes): New struct.
28233 (struct _xsave_hdr): Likewise.
28234 (struct _ymmh_state): Likewise.
28235 (struct _xstate): Likewise.
28236
68e408ab
L
28237 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28238 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28240 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28241 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28242 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28243
f3d1f93c
L
28244 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28246 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28247 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28248 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28249 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28250
d9dc34cd
TMQMF
282512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28252
28253 [BZ #13743]
28254 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28255 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28256 (sysdep_headers): Include sys/platform/ppc.h.
28257 * sysdeps/powerpc/test-gettimebase.c: Test for
28258 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28259 * manual/Makefile (appendices): Include platform.texi.
28260 * manual/contrib.texi (Contributors): Update @node pointers.
28261 * manual/maint.texi (Maintenance): Likewise.
28262 (Platform): New node.
28263 * manual/platform.texi: New file. Document the new features.
28264
4af3879c
SP
282652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28266 Jakub Jelinek <jakub@redhat.com>
28267
28268 [BZ #14188]
28269 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28270 where __builtin_expect is unavailable.
28271
2fd6ff13
DM
282722012-06-03 David S. Miller <davem@davemloft.net>
28273
28274 * stdlib/longlong.h: Updated from GCC.
28275
173f7220
AS
282762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28277
28278 [BZ #14042]
28279 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28280 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28281 __mcount_internal.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28283 (GLIBC_2.16): Likewise.
28284
f34a1c6f
L
282852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28286
28287 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28288
88a4576f
JM
282892012-06-01 Joseph Myers <joseph@codesourcery.com>
28290
ea32bcdd
JM
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28292 (default-abi): New variable.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28294 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28295 variable.
28296 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28297 Likewise.
28298 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28299 Likewise.
28300 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28301 Likewise.
28302
88a4576f
JM
28303 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28304 definition. Document in comment.
28305
402fe938
DM
283062012-06-01 David S. Miller <davem@davemloft.net>
28307
28308 * stdlib/longlong.h: Updated from GCC.
28309
3553723f
L
283102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 [BZ #14117]
3bd872c4
L
28313 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28314 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28315 sys/debugreg.h sys/io.h here.
28316 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28317 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28318 sys/io.h.
28319 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28320 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28321 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28322 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28323 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28324 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28325
3553723f
L
28326 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28327 Define only if __x86_64__ is defined.
28328
4842e4fe
JM
283292012-06-01 Joseph Myers <joseph@codesourcery.com>
28330
c5bfe3d5
JM
28331 [BZ #14048]
28332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28333 Use int64_t for variable i.
28334 * math/libm-test.inc (fmod_test): Add more tests.
28335
4842e4fe
JM
28336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28337 z computation is not scheduled after fetestexcept.
28338 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28339 Use math_force_eval instead of asm to ensure calculation scheduled
28340 before exception test.
28341 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28342 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28343
efb73488
AJ
283442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28345
28346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28347 computation is not scheduled after fetestexcept.
28348
29bcce7c
L
283492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 [BZ #14117]
28352 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28353 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28354
73a68f94
AZ
283552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28356
28357 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28358 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28359
67b6df78
L
283602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28361
edf2933a 28362 [BZ #14117]
ebc64a18
L
28363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28364 <bits/wordsize.h>.
28365 (__WCHAR_MIN): Support __WORDSIZE == 64.
28366 (__WCHAR_MAX): Likewise.
28367
edf2933a
L
28368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28369 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28370
57c6cf40
L
28371 [BZ #14183]
28372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28373 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28374
67b6df78 28375 [BZ #14117]
8eb6281e
L
28376 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28378
aac639f4
L
28379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28380 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28381
67b6df78
L
28382 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28383 Defined to 1 if __x86_64__ isn't defined.
28384 (_STAT_VER_LINUX_OLD): New.
28385 (st_atime): Remove duplicate.
28386 (st_mtime): Likewise.
28387 (st_ctime): Likewise.
28388
1c2cfe81
DM
283892012-05-31 David S. Miller <davem@davemloft.net>
28390
28391 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28392 entries.
28393
5be8418c
AS
283942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28395
e7725326
AS
28396 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28397 gen-libm-test.pl.
28398
5be8418c
AS
28399 [BZ #14132]
28400 * elf/dl-reloc.c: Include <_itoa.h>.
28401 (_dl_reloc_bad_type): Remove use of INTUSE.
28402 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28403 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28404 * stdio-common/psiginfo.c (psiginfo): Likewise.
28405 * stdio-common/psignal.c (psignal): Likewise.
28406 * string/strsignal.c (strsignal): Likewise.
28407 * include/signal.h (_sys_siglist): Declare hidden proto.
28408 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28409 INTVARDEF with libc_hidden_data_def.
28410 * stdio-common/itoa-udigits.c: Likewise.
28411 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28412 (_itoa_lower_digits_internal): Remove declaration.
28413 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28414 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28415 (_sys_sigabbrev_internal): Remove aliases.
28416 (_sys_siglist): Define hidden alias.
28417
507352f1
MT
284182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28419
28420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28421 bits/sysctl.h.
28422
42bbb1c3
L
284232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28424
28425 [BZ #14117]
6bd784b6
L
28426 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28427 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28428
8bca20f0
L
28429 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28430 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28431 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28432 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28434 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28435
f9e890a9
L
28436 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28437 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28438 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28439
471101a1
L
28440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28441 with __addr.
28442 (insw): Likewise.
28443 (insl): Likewise.
28444 (outsb): Likewise.
28445 (outsw): Likewise.
28446 (outsl): Likewise.
28447
6451c862
L
28448 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28450 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28451
a254b8c9
L
28452 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28453 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28455 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28456 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28457 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28458
b8dfdd92
L
28459 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28460 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28461
578cd270
L
28462 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28463 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28464
de662f5f
L
28465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28467 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28468
25653439
L
28469 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28470 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28471 to ...
28472 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28473
6bad24a0
L
28474 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28475 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28476 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28477
42bbb1c3
L
28478 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28479 for x86-64.
28480 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28481
2d10d547
JM
284822012-05-31 Joseph Myers <joseph@codesourcery.com>
28483
28484 * math/math.h (M_El): Use two more decimal places.
28485 (M_LOG2El): Likewise.
28486 (M_LOG10El): Likewise.
28487 (M_LN2l): Likewise.
28488 (M_LN10l): Likewise.
28489 (M_PIl): Likewise.
28490 (M_PI_2l): Likewise.
28491 (M_PI_4l): Likewise.
28492 (M_1_PIl): Likewise.
28493 (M_2_PIl): Likewise.
28494 (M_2_SQRTPIl): Likewise.
28495 (M_SQRT2l): Likewise.
28496 (M_SQRT1_2l): Likewise.
28497
f230c29b
DM
284982012-05-31 David S. Miller <davem@davemloft.net>
28499
28500 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28501 values between float registers.
28502 * sysdeps/sparc/sparc64/memset.S: Likewise.
28503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28504
fed806c3
MF
285052012-05-31 Mike Frysinger <vapier@gentoo.org>
28506
28507 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28508 -D_FORTIFY_SOURCE=1.
28509 (CPPFLAGS-tst-longjmp_chk.c): Define.
28510 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28511 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28512 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28513 CFLAGS-tst-wchar-h.c.
28514
30917259
MP
285152012-05-31 Marek Polacek <polacek@redhat.com>
28516
28517 [BZ #14132]
28518 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28519 __endmntent_internal): Remove declaration.
28520 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28521 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28522 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28523
1c58d5dc
DM
285242012-05-30 David S. Miller <davem@davemloft.net>
28525
28526 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28527 (___Q_simulate_exceptions): Use real FP ops rather than writing
28528 into the %fsr.
28529 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28530 Likewise.
28531
7dc00e0d
L
285322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 [BZ #14117]
0bd53985
L
28535 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28536 * sysdeps/x86/bits/xtitypes.h: This.
28537
3a257e66
L
28538 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28539 * sysdeps/x86/bits/wordsize.h: This.
28540
62f62904
L
28541 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28542 * sysdeps/x86/bits/huge_vall.h: This.
28543
404fe9d9
L
28544 * sysdeps/i386/bits/select.h: Removed.
28545 * sysdeps/x86_64/bits/select.h: Renamed to ...
28546 * sysdeps/x86/bits/select.h: This.
28547
d48d0446
L
28548 * sysdeps/i386/bits/setjmp.h: Removed.
28549 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28550 * sysdeps/x86/bits/setjmp.h: This.
28551
7dc00e0d
L
28552 * sysdeps/i386/bits/mathdef.h: Removed.
28553 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28554 * sysdeps/x86/bits/mathdef.h: This.
28555
03277f8f
AS
285562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28557
28558 [BZ #14132]
28559 * include/sys/socket.h (__connect_internal)
28560 (__libc_sa_len_internal): Remove declaration.
28561 (__connect, __libc_sa_len): Declare hidden_proto.
28562 (SA_LEN): Remove use of INTUSE.
28563 * socket/connect.c: Add libc_hidden_def.
28564 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28565 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28566 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28567 alias.
28568 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28570 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28571 of adding _internal alias.
28572
13764867
L
285732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 [BZ #14117]
6bd97696
L
28576 * sysdeps/i386/bits/link.h: Removed.
28577 * sysdeps/i386/bits/linkmap.h: Likewise.
28578 * sysdeps/x86_64/bits/link.h: Renamed to ...
28579 * sysdeps/x86/bits/link.h: This.
28580 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28581 * sysdeps/x86/bits/linkmap.h: This.
28582
f726f0bb
L
28583 * sysdeps/i386/bits/endian.h: Removed.
28584 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28585 * sysdeps/x86/bits/endian.h: This.
28586
13764867
L
28587 * sysdeps/i386/bits/byteswap.h: Removed.
28588 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28589 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28590 * sysdeps/x86/bits/byteswap.h: This.
28591 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28592 * sysdeps/x86/bits/byteswap-16.h: This.
28593 * sysdeps/i386/Implies: Add x86.
28594 * sysdeps/x86_64/Implies: Likewise.
28595
ae251b0b
DM
285962012-05-30 David S. Miller <davem@davemloft.net>
28597
28598 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28599 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28601 (FP_TRAPPING_EXCEPTIONS): Define.
28602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28603 (FP_TRAPPING_EXCEPTIONS): Define.
28604 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28605 subnormals only when inexact has been signalled or underflow
28606 exceptions are enabled.
28607 (_FP_PACK_CANONICAL): Likewise.
28608
d5c90867
L
286092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 [BZ #14183]
28612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28613 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28614
63f1549e
RH
286152012-05-30 Richard Henderson <rth@twiddle.net>
28616
8d8f2279
RH
28617 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28618 with #ifndef NOT_IN_libc.
28619
63f1549e
RH
28620 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28621 marked to avoid plt entry.
28622
0ab0291b
L
286232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28624
28625 [BZ #14112]
28626 * Makeconfig (default-abi): New macro.
28627 (abi-includes): Likewise.
28628 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28629 $(abi-$(default-abi)-lib-soname) for soname if defined.
28630 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28631 abi-variants.
28632 * Makefile (installed-stubs): Likewise.
28633 * include/stubs-biarch.h: Removed.
28634 * scripts/lib-names.awk: Only handle one library at a time.
28635 * scripts/soversions.awk: Remove WORDSIZE support.
28636 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28637 entries.
28638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28639 Removed.
28640 (syscall-list-default-condition): Likewise.
28641 (syscall-list-default-condition): Likewise.
28642 (syscall-list-includes): Likewise.
28643 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28644 syscall-list-* with abi-*. Handle undefined abi-variants.
28645 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28646 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28647 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28648 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28649 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28650 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28651 Removed.
28652 (syscall-list-32-options): Likewise.
28653 (syscall-list-32-condition): Likewise.
28654 (syscall-list-64-options): Likewise.
28655 (syscall-list-64-condition): Likewise.
28656 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28657 macro.
28658 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28659 Renamed to ...
28660 (abi-*): This.
28661 (abi-64-ld-soname): New macro.
28662 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28663 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28664 Renamed to ...
28665 (abi-*): This.
28666 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28667 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28668
4da0431d
JM
286692012-05-30 Joseph Myers <joseph@codesourcery.com>
28670
3a85279c
JM
28671 * sysdeps/unix/sysv/linux/kernel-features.h
28672 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28673 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28674 include <kernel-features.h>.
28675 [!__NR_ftruncate64]: Remove conditional code.
28676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28677 [__NR_ftruncate64]: Make code unconditional.
28678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28679 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28680 include <kernel-features.h>.
28681 [!__NR_ftruncate64]: Remove conditional code.
28682 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28683 [__NR_ftruncate64]: Make code unconditional.
28684 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28686 include <kernel-features.h>.
28687 [!__NR_ftruncate64]: Remove conditional code.
28688 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28689 [__NR_ftruncate64]: Make code unconditional.
28690 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28692 include <kernel-features.h>.
28693 [!__NR_ftruncate64]: Remove conditional code.
28694 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28695 [__NR_ftruncate64]: Make code unconditional.
28696 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28697
4da0431d
JM
28698 * configure.in (libc_cv_fpie): Weaken to a compile test using
28699 LIBC_TRY_CC_OPTION.
28700 * configure: Regenerated.
28701
11ef492c
AK
287022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28703
28704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28708 Refreshed.
28709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28715 Refreshed.
28716
d66ef399
DM
287172012-05-27 David S. Miller <davem@davemloft.net>
28718
28719 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28720 (___Q_zero): New.
28721 (__Q_simulate_exceptions): Return void. Change to simulate
28722 exceptions by writing into the %fsr.
28723 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28724 (__Qp_handle_exceptions): Likewise.
28725 (numbers): Delete.
28726 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28727 __Qp_handle_exceptions.
28728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28729 __Qp_handle_exceptions.
28730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28731 as unused and give dummy FP_RND_NEAREST initializer.
28732 (FP_INHIBIT_RESULTS): Define.
28733 (___Q_simulate_exceptions): Update declaration.
28734 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28735 formatting.
28736 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28737 as unused and give dummy FP_RND_NEAREST initializer.
28738 (__Qp_handle_exceptions): Update declaration.
28739 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28740 formatting.
28741
04fb54b5
TS
287422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28743
28744 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28745 the temporary FPU control word.
28746 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28747 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28748 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28749 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28750 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28751 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28752 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28753 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28754 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28755 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28756 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28757
3f99608f
KK
287582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28759
28760 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28761 fields.
28762
65a4de4e
CLT
287632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28764
28765 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28766 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28767 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28768 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28769 Likewise.
28770 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28771 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28772 Likewise.
28773
15749d40
UD
287742012-05-27 Ulrich Drepper <drepper@gmail.com>
28775
28776 * po/h.po: Update from translation team.
28777
25dbcb27
AS
287782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28779
3d3f8e55
AS
28780 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28781
25dbcb27
AS
28782 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28783 handling of denormals.
28784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28785 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28786 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28787 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28791 Likewise.
28792
7ad47a80 287932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28794
28795 [BZ #14152]
28796 * math/libm-test.inc (fma_test): Don't always expect underflow
28797 exception.
28798
9c6ea9fa
SP
287992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28800
28801 [BZ #12416]
28802 * elf/tst-execstack.c: Include stackinfo.h.
28803 (do_test): Adjust test case to ensure that pthread_getattr_np
28804 behaviour remains the same after marking stack executable.
28805
a8239222
JM
288062012-05-25 Joseph Myers <joseph@codesourcery.com>
28807
28808 * sysdeps/unix/sysv/linux/kernel-features.h
28809 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28811 kernel-features.h.
28812 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28813 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28814 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28815 kernel-features.h.
28816 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28817 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28818
918b5606
L
288192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 * configure.in: Define the default includes to being none.
28822 * configure: Regenerated.
28823
3a097cc7
RM
288242012-05-25 Roland McGrath <roland@hack.frob.com>
28825
8422c9a5
RM
28826 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28827 * sysdeps/x86_64/setjmp.S: Likewise.
28828 * sysdeps/i386/bsd-setjmp.S: Likewise.
28829 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28830 * sysdeps/i386/setjmp.S: Likewise.
28831 * sysdeps/i386/__longjmp.S: Likewise.
28832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28833 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28834
3a097cc7
RM
28835 * include/stap-probe.h: New file.
28836 * configure.in: Handle --enable-systemtap.
28837 * configure: Regenerated.
28838 * config.h.in (USE_STAP_PROBE): New #undef.
28839 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28840 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28841 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28842
21708942
JM
288432012-05-25 Joseph Myers <joseph@codesourcery.com>
28844
28845 [BZ #13717]
28846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28847 to 2.4.0 where earlier.
28848 * sysdeps/unix/sysv/linux/configure: Regenerated.
28849 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28850 <kernel-features.h>.
28851 [__ASSUME_32BITUIDS]: Make code unconditional.
28852 [!__ASSUME_32BITUIDS]: Remove conditional code.
28853 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28854 <kernel-features.h>.
28855 [__ASSUME_32BITUIDS]: Make code unconditional.
28856 [!__ASSUME_32BITUIDS]: Remove conditional code.
28857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28858 [__ASSUME_32BITUIDS]: Make code unconditional.
28859 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28860 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28861 <kernel-features.h>.
28862 [__ASSUME_32BITUIDS]: Make code unconditional.
28863 [!__ASSUME_32BITUIDS]: Remove conditional code.
28864 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28865 <kernel-features.h>.
28866 [__ASSUME_32BITUIDS]: Make code unconditional.
28867 [!__ASSUME_32BITUIDS]: Remove conditional code.
28868 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28869 <kernel-features.h>.
28870 [__ASSUME_32BITUIDS]: Make code unconditional.
28871 [!__ASSUME_32BITUIDS]: Remove conditional code.
28872 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28873 <kernel-features.h>.
28874 [__ASSUME_32BITUIDS]: Make code unconditional.
28875 [!__ASSUME_32BITUIDS]: Remove conditional code.
28876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28877 <kernel-features.h>.
28878 [__ASSUME_32BITUIDS]: Make code unconditional.
28879 [!__ASSUME_32BITUIDS]: Remove conditional code.
28880 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28881 <kernel-features.h>.
28882 [__ASSUME_32BITUIDS]: Make code unconditional.
28883 [!__ASSUME_32BITUIDS]: Remove conditional code.
28884 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28885 <kernel-features.h>.
28886 [__ASSUME_32BITUIDS]: Make code unconditional.
28887 [!__ASSUME_32BITUIDS]: Remove conditional code.
28888 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28889 <kernel-features.h>.
28890 [__ASSUME_32BITUIDS]: Make code unconditional.
28891 [!__ASSUME_32BITUIDS]: Remove conditional code.
28892 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28893 <kernel-features.h>.
28894 [__ASSUME_32BITUIDS]: Make code unconditional.
28895 [!__ASSUME_32BITUIDS]: Remove conditional code.
28896 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28897 <kernel-features.h>.
28898 [__ASSUME_32BITUIDS]: Make code unconditional.
28899 [!__ASSUME_32BITUIDS]: Remove conditional code.
28900 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28901 <kernel-features.h>.
28902 [__NR_setresgid] (__setresgid): Do not declare.
28903 [__ASSUME_32BITUIDS]: Make code unconditional.
28904 [!__ASSUME_32BITUIDS]: Remove conditional code.
28905 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28906 <kernel-features.h>.
28907 [__NR_setresuid] (__setresuid): Do not declare.
28908 [__ASSUME_32BITUIDS]: Make code unconditional.
28909 [!__ASSUME_32BITUIDS]: Remove conditional code.
28910 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28911 <kernel-features.h>.
28912 [__ASSUME_32BITUIDS]: Make code unconditional.
28913 [!__ASSUME_32BITUIDS]: Remove conditional code.
28914 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28915 <kernel-features.h>.
28916 [__ASSUME_32BITUIDS]: Make code unconditional.
28917 [!__ASSUME_32BITUIDS]: Remove conditional code.
28918 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28919 <kernel-features.h>.
28920 [__ASSUME_32BITUIDS]: Make code unconditional.
28921 [!__ASSUME_32BITUIDS]: Remove conditional code.
28922 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28923 <kernel-features.h>.
28924 [__ASSUME_32BITUIDS]: Make code unconditional.
28925 [!__ASSUME_32BITUIDS]: Remove conditional code.
28926 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28927 <kernel-features.h>.
28928 [__ASSUME_32BITUIDS]: Make code unconditional.
28929 [!__ASSUME_32BITUIDS]: Remove conditional code.
28930 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28931 <kernel-features.h>.
28932 [__ASSUME_32BITUIDS]: Make code unconditional.
28933 [!__ASSUME_32BITUIDS]: Remove conditional code.
28934 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28935 <kernel-features.h>.
28936 [__ASSUME_32BITUIDS]: Make code unconditional.
28937 [!__ASSUME_32BITUIDS]: Remove conditional code.
28938 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28939 <kernel-features.h>.
28940 [__ASSUME_32BITUIDS]: Make code unconditional.
28941 [!__ASSUME_32BITUIDS]: Remove conditional code.
28942 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28943 <kernel-features.h>.
28944 [__ASSUME_32BITUIDS]: Make code unconditional.
28945 [!__ASSUME_32BITUIDS]: Remove conditional code.
28946 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28947 <kernel-features.h>.
28948 [__ASSUME_32BITUIDS]: Make code unconditional.
28949 [!__ASSUME_32BITUIDS]: Remove conditional code.
28950 * sysdeps/unix/sysv/linux/kernel-features.h
28951 (__ASSUME_SETRESUID_SYSCALL): Remove.
28952 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28953 (__ASSUME_32BITUIDS): Likewise.
28954 (__ASSUME_LDT_WORKS): Likewise.
28955 (__ASSUME_O_DIRECTORY): Likewise.
28956 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28957 architecture but not kernel version.
28958 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28959 (__ASSUME_MMAP2_SYSCALL): Likewise.
28960 (__ASSUME_STAT64_SYSCALL): Likewise.
28961 (__ASSUME_IPC64): Likewise.
28962 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28963 <kernel-features.h>.
28964 [__ASSUME_32BITUIDS]: Make code unconditional.
28965 [!__ASSUME_32BITUIDS]: Remove conditional code.
28966 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28967 <kernel-features.h>.
28968 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28969 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28970 132096]: Remove conditional code.
28971 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28973 <kernel-features.h>.
28974 [__ASSUME_32BITUIDS]: Make code unconditional.
28975 [!__ASSUME_32BITUIDS]: Remove conditional code.
28976 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28977 <kernel-features.h>.
28978 [__ASSUME_32BITUIDS]: Make code unconditional.
28979 [!__ASSUME_32BITUIDS]: Remove conditional code.
28980 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28981 <kernel-features.h>.
28982 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28983 unconditional.
28984 (__setresgid): Do not declare.
28985 [__ASSUME_32BITUIDS]: Make code unconditional.
28986 [!__ASSUME_32BITUIDS]: Remove conditional code.
28987 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28988 <kernel-features.h>.
28989 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28990 unconditional.
28991 (__setresuid): Do not declare.
28992 [__ASSUME_32BITUIDS]: Make code unconditional.
28993 [!__ASSUME_32BITUIDS]: Remove conditional code.
28994 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28995 <kernel-features.h>.
28996 [__ASSUME_32BITUIDS]: Make code unconditional.
28997 [!__ASSUME_32BITUIDS]: Remove conditional code.
28998 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28999 <kernel-features.h>.
29000 [__ASSUME_32BITUIDS]: Make code unconditional.
29001 [!__ASSUME_32BITUIDS]: Remove conditional code.
29002
a386f1cc
RH
290032012-05-25 Richard Henderson <rth@twiddle.net>
29004
29005 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29006 dl_hwcap to ifunc resolver.
29007 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29008 elf_ifunc_invoke.
29009 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29010 dl_hwcap to ifunc resolver.
29011 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29012
b6550497
JM
290132012-05-24 Joseph Myers <joseph@codesourcery.com>
29014
29015 [BZ #14153]
29016 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29017 for |x| <= 2**-26, not 2**-57.
29018 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29019 exception.
29020
b0bc23a1
JL
290212012-05-24 Jeff Law <law@redhat.com>
29022
29023 * stdio-common/Makefile (tests): Add bug25.
29024 * stdio-common/bug25.c: New test.
29025
347c92e9
L
290262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29027
29028 [BZ #13576]
29029 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29030 multiple of MALLOC_ALIGNMENT in size.
29031 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29032
6bcc8b3f
JM
290332012-05-24 Joseph Myers <joseph@codesourcery.com>
29034
29035 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29036 Require >= 256.
29037 (FILENAME_MAX): Use macro-int-constant.
29038 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29039 (_IOFBF): Use macro-int-constant.
29040 (_IOLBF): Likewise.
29041 (_IONBF): Likewise.
29042 (SEEK_CUR): Likewise.
29043 (SEEK_END): Likewise.
29044 (SEEK_SET): Likewise.
29045 (TMP_MAX): Likewise.
29046 (EOF): Use macro-int-constant. Require < 0.
29047 (NULL): Use macro-constant. Require == 0.
29048 (stdin): Require type to be FILE *.
29049 (stdout): Likewise.
29050 (stderr): Likewise.
29051 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29052 macro-int-constant.
29053 (EXIT_SUCCESS): Likewise.
29054 (NULL): Use macro-constant. Require == 0.
29055 (RAND_MAX): Use macro-int-constant.
29056 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29057 [C99-based standards] (strtof): Require function.
29058 [C99-based standards] (strtold): Likewise.
29059 [C99-based standards] (strtoll): Likewise.
29060 [C99-based standards] (strtoull): Likewise.
29061 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29062 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29063 [ISO || ISO99 || ISO11] (math.h): Likewise.
29064 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29065 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29067
d18ea0c5
AS
290682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29069
29070 [BZ #14132]
56d25bb8
AS
29071 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29072 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29073 * intl/dgettext.c (DCGETTEXT): Likewise.
29074 * intl/gettext.c (DCGETTEXT): Likewise.
29075 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29076 * posix/regex_internal.h (gettext): Likewise.
29077 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29078 Remove declaration.
29079 * include/argz.h (__argz_count_internal)
29080 (__argz_stringify_internal): Remove declaration.
29081 (__argz_count, __argz_stringify): Declare hidden proto.
29082 * intl/dcgettext.c: Remove use of INTDEF.
29083 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29084 * string/argz-stringify.c: Likewise.
29085 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29086 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29087 Declare hidden proto.
d18ea0c5
AS
29088 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29089 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29090 Declare hidden proto.
29091 * include/stdio.h (__asprintf_internal): Don't declare.
29092 (__asprintf): Don't define as macro. Declare hidden proto.
29093 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29094 (__fsetlocking): Declare hidden proto.
29095 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29096 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29097 hidden proto.
29098 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29099 (_IO_setlinebuf): Remove use of INTUSE.
29100 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29101 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29102 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29103 Remove declaration.
29104 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29105 (_IO_do_flush): Remove use of INTUSE.
29106 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29107 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29108 (_IO_adjust_column, _IO_least_wmarker)
29109 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29110 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29111 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29112 (_IO_default_doallocate, _IO_wdefault_doallocate)
29113 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29114 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29115 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29116 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29117 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29118 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29119 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29120 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29121 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29122 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29123 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29124 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29125 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29126 proto.
29127 (_IO_flush_all_internal, _IO_adjust_column_internal)
29128 (_IO_default_uflow_internal, _IO_default_finish_internal)
29129 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29130 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29131 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29132 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29133 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29134 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29135 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29136 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29137 (_IO_file_close_internal, _IO_file_close_it_internal)
29138 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29139 (_IO_file_init_internal, _IO_file_attach_internal)
29140 (_IO_file_fopen_internal, _IO_file_read_internal)
29141 (_IO_file_sync_internal, _IO_file_seek_internal)
29142 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29143 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29144 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29145 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29146 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29147 (_IO_list_all_internal, _IO_link_in_internal)
29148 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29149 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29150 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29151 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29152 (_IO_do_write_internal, _IO_padn_internal)
29153 (_IO_getline_info_internal, _IO_getline_internal)
29154 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29155 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29156 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29157 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29158 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29159 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29160 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29161 with libc_hidden_ver, remove use of INTUSE.
29162 * libio/genops.c: Likewise.
29163 * libio/freopen.c: Likewise.
29164 * libio/freopen64.c: Likewise.
29165 * libio/iofclose.c: Likewise.
29166 * libio/iofdopen.c: Likewise.
29167 * libio/iofflush.c: Likewise.
29168 * libio/iofflush_u.c: Likewise.
29169 * libio/iofgets.c: Likewise.
29170 * libio/iofgets_u.c: Likewise.
29171 * libio/iofopen.c: Likewise.
29172 * libio/iofopncook.c: Likewise.
29173 * libio/iofread.c: Likewise.
29174 * libio/iofread_u.c: Likewise.
29175 * libio/ioftell.c: Likewise.
29176 * libio/iofwrite.c: Likewise.
29177 * libio/iogetline.c: Likewise.
29178 * libio/iogets.c: Likewise.
29179 * libio/iogetwline.c: Likewise.
29180 * libio/iopadn.c: Likewise.
29181 * libio/iopopen.c: Likewise.
29182 * libio/ioseekoff.c: Likewise.
29183 * libio/ioseekpos.c: Likewise.
29184 * libio/iosetbuffer.c: Likewise.
29185 * libio/iosetvbuf.c: Likewise.
29186 * libio/ioungetc.c: Likewise.
29187 * libio/ioungetwc.c: Likewise.
29188 * libio/iovdprintf.c: Likewise.
29189 * libio/iovsprintf.c: Likewise.
29190 * libio/iovsscanf.c: Likewise.
29191 * libio/memstream.c: Likewise.
29192 * libio/obprintf.c: Likewise.
29193 * libio/oldfileops.c: Likewise.
29194 * libio/oldiofclose.c: Likewise.
29195 * libio/oldiofdopen.c: Likewise.
29196 * libio/oldiofopen.c: Likewise.
29197 * libio/oldiopopen.c: Likewise.
29198 * libio/oldstdfiles.c: Likewise.
29199 * libio/putc.c: Likewise.
29200 * libio/setbuf.c: Likewise.
29201 * libio/setlinebuf.c: Likewise.
29202 * libio/stdfiles.c: Likewise.
29203 * libio/strops.c: Likewise.
29204 * libio/vasprintf.c: Likewise.
29205 * libio/vscanf.c: Likewise.
29206 * libio/vsnprintf.c: Likewise.
29207 * libio/vswprintf.c: Likewise.
29208 * libio/wfiledoalloc.c: Likewise.
29209 * libio/wfileops.c: Likewise.
29210 * libio/wgenops.c: Likewise.
29211 * libio/wmemstream.c: Likewise.
29212 * libio/wstrops.c: Likewise.
29213 * libio/__fpurge.c: Likewise.
29214 * libio/__fsetlocking.c: Likewise.
29215 * assert/assert.c: Likewise.
29216 * debug/fgets_chk.c: Likewise.
29217 * debug/fgets_u_chk.c: Likewise.
29218 * debug/fread_chk.c: Likewise.
29219 * debug/fread_u_chk.c: Likewise.
29220 * debug/gets_chk.c: Likewise.
29221 * debug/obprintf_chk.c: Likewise.
29222 * debug/vasprintf_chk.c: Likewise.
29223 * debug/vdprintf_chk.c: Likewise.
29224 * debug/vsnprintf_chk.c: Likewise.
29225 * debug/vsprintf_chk.c: Likewise.
29226 * malloc/mtrace.c: Likewise.
29227 * misc/error.c: Likewise.
29228 * misc/syslog.c: Likewise.
29229 * stdio-common/asprintf.c: Likewise.
29230 * stdio-common/fxprintf.c: Likewise.
29231 * stdio-common/getw.c: Likewise.
29232 * stdio-common/isoc99_fscanf.c: Likewise.
29233 * stdio-common/isoc99_scanf.c: Likewise.
29234 * stdio-common/isoc99_vfscanf.c: Likewise.
29235 * stdio-common/isoc99_vscanf.c: Likewise.
29236 * stdio-common/isoc99_vsscanf.c: Likewise.
29237 * stdio-common/printf-prs.c: Likewise.
29238 * stdio-common/printf_fp.c: Likewise.
29239 * stdio-common/printf_fphex.c: Likewise.
29240 * stdio-common/printf_size.c: Likewise.
29241 * stdio-common/putw.c: Likewise.
29242 * stdio-common/scanf.c: Likewise.
29243 * stdio-common/sprintf.c: Likewise.
29244 * stdio-common/tmpfile.c: Likewise.
29245 * stdio-common/vfprintf.c: Likewise.
29246 * stdio-common/vfscanf.c: Likewise.
29247 * stdlib/strfmon_l.c: Likewise.
29248 * sunrpc/openchild.c: Likewise.
29249 * sunrpc/xdr_stdio.c: Likewise.
29250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29251 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29252
d6c33fda
RM
292532012-05-24 Roland McGrath <roland@hack.frob.com>
29254
c1487492
RM
29255 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29256
29257 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29258 in the third column, to generate for the shared library an IFUNC
29259 that uses _dl_vdso_vsym.
29260 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29261 * Makeconfig (object-suffixes-noshared): New variable.
29262
29263 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29264 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29265 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29266 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29267
d6c33fda
RM
29268 [BZ #14132]
29269 * include/sys/time.h (__gettimeofday): Remove macro.
29270 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29271 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29272 Remove INTDEF.
29273 (__gettimeofday): Add libc_hidden_def.
29274 (gettimeofday): Add libc_hidden_weak.
29275 * sysdeps/mach/gettimeofday.c: Likewise.
29276 * sysdeps/posix/gettimeofday.c: Likewise.
29277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29278 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29280 (__gettimeofday_internal): Remove strong_alias.
29281 (__gettimeofday): Add libc_hidden_def.
29282 (gettimeofday): Add libc_hidden_weak.
29283 * sysdeps/unix/syscalls.list (gettimeofday):
29284 Remove __gettimeofday_internal alias.
29285
b5a2bbe6
L
292862012-05-24 Daniel Jacobowitz <drow@false.org>
29287 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 [BZ #12495]
29290 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29291 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29292 (largebin_index_32_big): New.
29293 (largebin_index): Use it for 16-byte alignment.
29294 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29295 correction with front_misalign.
29296
cfba4fda
L
292972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29298
7f907421
L
29299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29301 Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29303 Likewise.
29304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29305 Likewise.
29306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29307 Likewise.
29308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29309 Likewise.
29310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29311 Likewise.
29312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29313 Likewise.
29314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29315 Likewise.
29316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29317 Likewise.
29318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29319 Likewise.
29320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29321 Likewise.
29322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29323 Likewise.
29324
cfba4fda
L
29325 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29326 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29327
80bad0cc
JM
293282012-05-24 Joseph Myers <joseph@codesourcery.com>
29329
7a25eb06
JM
29330 [BZ #10846]
29331 [BZ #14036]
29332 * math/libm-test.inc (exp_test): Add test from bug 14036.
29333 (pow_test): Add test from bug 10846.
29334
795405f9
JM
29335 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29336 and other flags.
29337 (special_function): Do not include flags in test name.
29338 (parse_args): Likewise.
29339 * sysdeps/i386/fpu/libm-test-ulps: Update.
29340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29342 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29344
80bad0cc
JM
29345 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29346 exceptions.
29347 * math/libm-test.inc ("Philosophy"): Update comment about
29348 exception testing.
29349 (UNDERFLOW_EXCEPTION): New macro.
29350 (UNDERFLOW_EXCEPTION_OK): Likewise.
29351 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29352 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29353 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29354 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29355 (INVALID_EXCEPTION_OK): Update value.
29356 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29357 (OVERFLOW_EXCEPTION_OK): Likewise.
29358 (IGNORE_ZERO_INF_SIGN): Likewise.
29359 (test_exceptions): Handle underflow exceptions.
29360 (acos_test): Update for underflow exception expectations.
29361 (cexp_test): Likewise.
29362 (clog_test): Likewise.
29363 (clog10_test): Likewise.
29364 (csqrt_test): Likewise.
29365 (ctan_test): Likewise.
29366 (ctanh_test): Likewise.
29367 (exp_test): Likewise.
29368 (exp10_test): Likewise.
29369 (exp2_test): Likewise.
29370 (expm1_test): Likewise.
29371 (fma_test): Likewise.
29372 (j0_test): Likewise.
29373 (jn_test): Likewise.
29374 (nexttoward_test): Likewise.
29375 (pow_test): Likewise.
29376 (scalbn_test): Likewise.
29377 (scalbln_test): Likewise.
29378 (tan_test): Likewise.
29379 (y1_test): Likewise.
29380 * sysdeps/i386/fpu/libm-test-ulps: Update.
29381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29382
9e0e3d0b
DM
293832012-05-23 David S. Miller <davem@davemloft.net>
29384
29385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29386 (__libc_sigaction): Remove unused local variables.
29387
ccd0a08f
L
293882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29391
62bdf9a6
PE
293922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29393
f8591f80
PE
29394 mktime: avoid signed integer overflow
29395 * time/mktime.c (__mktime_internal): Do not mishandle the case
29396 where diff == INT_MIN.
29397
94c7d826
PE
29398 mktime: simplify computation of average
29399 * time/mktime.c (ranged_convert): Use new time_t_avg function
29400 instead of rolling our own (probably-slower) code.
29401
ce73d683
PE
29402 mktime: do not assume signed right shift propagates sign bit
29403 * time/mktime.c (isdst_differ): New static function.
29404 (__mktime_internal): No need to normalize tm_isdst now.
29405 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29406 tm_isdst values.
29407
72a22e59
PE
29408 mktime: merge another wrapv change from gnulib
29409 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29410 from some compilers.
29411
68605433
PE
29412 mktime: remove incorrect attempt at unusual arithmetics
29413 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29414 The code didn't really work on such machines anyway.
29415 (TYPE_MINIMUM): Assume two's complement.
29416 (twos_complement_arithmetic): Verify that long_int and time_t
29417 are two's complement (or unsigned, in the latter case).
29418
03cf7fe3
PE
29419 mktime: check signed shifts on long_int and time_t, too
29420 * time/mktime.c (SHR): Check that shifts work as desired
29421 on the types long_int and time_t too, as SHR is used on
29422 such types.
29423
f04dfbc2
PE
29424 mktime: do not assume 'long' is wide enough
29425 * time/mktime.c (verify): Move decl up.
29426 (long_int): New type.
29427 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29428 to remove assumption in the code that 'long' is wide enough to
29429 store year values. This assumption is not true on x32 and on
29430 some non-glibc platforms.
29431
62bdf9a6
PE
29432 mktime: merge wrapv change from gnulib
29433 * time/mktime.c (WRAPV): New macro.
29434 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29435 (guess_time_tm, __mktime_internal): Do not assume that signed
29436 integer overflow wraps around; modern compilers generate code
29437 where this assumption is no longer valid.
29438
5e292e4f
L
294392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29442 Replace "jmp L(pseudo_end)" with "ret".
29443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29444 Likewise.
29445
8caf8c87
AJ
294462012-05-23 Andreas Jaeger <aj@suse.de>
29447
29448 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29449 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29450
1a09dc56
AJ
294512012-05-23 Andreas Jaeger <aj@suse.de>
29452 Maximilian Attems <max@stro.at>
29453
29454 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29455 New macros.
29456
1c87aba0
L
294572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29458
29459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29460 code so that pseudo_end is just ret and the stack pointer is
29461 correct also for static library in error case.
29462
40e45bd5
JM
294632012-05-23 Joseph Myers <joseph@codesourcery.com>
29464
c2670533
JM
29465 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29466 move to syscalls.list.
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29471
40e45bd5
JM
29472 * manual/install.texi (Running make install): Do not mention Linux
29473 kernel version for which pt_chown is not needed.
29474 (Linux): Do not mention problems with nscd with 2.0 kernels.
29475 * INSTALL: Regenerated.
29476
be08eda5
AJ
294772012-05-23 Andreas Jaeger <aj@suse.de>
29478
29479 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29480 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29481 macro.
29482 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29484 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29486 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29491 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29492 * sysdeps/unix/sysv/linux/bits/in.h
29493 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29494
a6a056bb
RM
294952012-05-22 Roland McGrath <roland@hack.frob.com>
29496
29497 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29498 (PREPARE_VERSION): Just use assert instead, it will be elided
29499 under [NDEBUG] anyway.
29500
c9009328
L
295012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 * sysdeps/unix/sysv/linux/Makefile: Include
29504 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29505 (sysdep_routines): Remove sysctl.
c9009328
L
29506 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29507 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29509 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29510 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29511
73338355
AJ
295122012-05-22 Andreas Jaeger <aj@suse.de>
29513
29514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29515 that pseudo_end is just ret and the stack pointer is correct also
29516 for static library in error case.
29517
d44638b0
PP
295182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29519
29520 [BZ #14122]
29521 * nss/nsswitch.c (defconfig_entries): New variable.
29522 (__nss_database_lookup): Don't leak defconfig entries.
29523 (nss_parse_service_list): Don't leak on error paths.
29524 (free_database_entries): New function.
29525 (free_defconfig): New function.
29526 (free_mem): Move common code to free_database_entries.
29527
31a39bd8
L
295282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29529
da0331a8
L
29530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29531 Add arch_prctl.
29532 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29533
31a39bd8
L
29534 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29535 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29537 New macro.
29538 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29539 (INTERNAL_SYSCALL_TYPES): Likewise.
29540 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29541 (LOAD_REGS_TYPES_[1-6]): Likewise.
29542 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29543 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29544
45470df3
AZ
295452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29546
29547 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29548 copysignl for GLIBC_2_0.
29549 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29550 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29552 logbl for GLIBC_2_0.
29553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29554 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29555
98a61bcb
L
295562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29557
a4f6e481
L
29558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29560
f63d5db6
L
29561 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29562 Use "neg %eax".
29563
98a61bcb
L
29564 * time/mktime.c: Update copyright years.
29565
95770f14
PE
295662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29567
6226efbd
PE
29568 mktime: merge comment-quoting-style change from gnulib
29569 * time/mktime.c: Quote 'like this' in comments.
29570 The GNU coding standards suggest that we no longer quote `like this',
29571 as "`" and "'" are typically rendered asymmetrically nowadays.
29572 The typical gnulib style is to quote 'like this' when quoting
29573 code, and "like this" when quoting English.
29574
b99e4f78
PE
29575 * time/mktime.c (compile-command): Add "-I.".
29576
643e01e6
PE
29577 mktime: merge mktime-internal.h change from gnulib
29578 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29579
2554247d
PE
29580 mktime: merge time_r change from gnulib
29581 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29582
826dd0ab
PE
29583 mktime: merge DEBUG change from gnulib
29584 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29585 case system <time.h> has a #define.
29586
bd83aabe
PE
29587 mktime: merge <sys/types.h> change from gnulib
29588 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29589 since <time.t> is now guaranteed to define time_t.
29590
95770f14
PE
29591 mktime: merge HAVE_CONFIG_H change from gnulib
29592 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29593
5e1a27a9
L
295942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29595
0e44a77e
L
29596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29597 Use "neg %eax".
29598
5e1a27a9
L
29599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29600 __rlim_t cast.
29601 (struct rusage): Use anonymous union to pad each field to
29602 __syscall_slong_t.
29603
46259bec
DM
296042012-05-21 David S. Miller <davem@davemloft.net>
29605
29606 * Makefules (o-iterator): Remove .s cases.
29607 (compile-command.s): Delete.
29608 (COMPILE.s): Delete.
29609 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29610
59f0c22e
JM
296112012-05-21 Joseph Myers <joseph@codesourcery.com>
29612
29613 * configure.in (libc_cv_predef_stack_protector): Only consider
29614 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29615 * configure: Regenerated.
29616
20c07380
L
296172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29618
bbb3154b
L
29619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29620 New macro. Use R*LP on int and pointer.
29621 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29622 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29623 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29624 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29625
20c07380
L
29626 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29627 [__WORDSIZE_TIME64_COMPAT32] instead of
29628 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29629 (struct utmp): Likewise.
29630 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29631 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29632 Renamed to ...
29633 (__WORDSIZE_TIME64_COMPAT32): This.
29634 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29635 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29636 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29637 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29638 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29639 (__WORDSIZE_TIME64_COMPAT32): New macro.
29640
d8d1017e
AJ
296412012-05-21 Andreas Jaeger <aj@suse.de>
29642
29643 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29644 only if [SHARED]. Add prototype for __wcschr_ia32.
29645
6c7fb145
RM
296462012-05-21 Roland McGrath <roland@hack.frob.com>
29647
29648 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29649 of %rbp unmolested in the jmp_buf while mangling the low bits.
29650 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29651 unmolested high bits of %rbp while demangling the low bits.
29652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29653
66274218
AJ
296542012-05-21 Andreas Jaeger <aj@suse.de>
29655
07c58f8f
AJ
29656 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29657 * sunrpc/svc_simple.c: Use it for registerrpc.
29658 * sunrpc/xcrypt.c: Use it for passwd2des.
29659
66274218
AJ
29660 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29661
61f65140
L
296622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29663
29664 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29665 Don't define if [__SYSCALL_WORDSIZE != 32].
29666 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29667 New macro.
29668
5fefb436
AJ
296692012-05-21 Bruno Haible <bruno@clisp.org>
29670 Andreas Jaeger <aj@suse.de>
29671
29672 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29673 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29674 inptr and inend for must_buffer_ch.
29675 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29676 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29677 * stdio-common/Makefile (tests): Remove bug15.
29678 (bug15-ENV): Remove macro.
29679 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29680 anymore.
29681
d8e272ab
AJ
296822012-05-19 Andreas Jaeger <aj@suse.de>
29683 Roland McGrath <roland@hack.frob.com>
29684
29685 * manual/contrib.texi: Completely rewritten. It contains now an
29686 alphabetical list of contributors and their contributions.
29687
4a56a162
RH
296882012-05-21 Richard Henderson <rth@twiddle.net>
29689
29690 * misc/getauxval.c (__getauxval): Use unsigned long int.
29691 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29692 (getauxval): Use unsigned long int.
29693
d024d23c
L
296942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29697
cbc00a03
RM
296982012-05-21 Roland McGrath <roland@hack.frob.com>
29699
29700 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29701 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29702 __alignof__ (long double).
29703
478143fa
AZ
297042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29705
29706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29707
c7683a6d
RH
297082012-05-20 Richard Henderson <rth@twiddle.net>
29709
29710 * misc/getauxval.c: New file.
29711 * misc/sys/auxv.h: New file.
29712 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29713 (routines): Add getauxval.
29714 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29716 * elf/dl-sysdep.c (_dl_auxv): Remove.
29717 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29718 * elf/dl-support.c (_dl_auxv): New variable.
29719 (_dl_aux_init): Initialize it.
29720 * manual/startup.texi (Auxiliary Vector): New node.
29721 * sysdeps/generic/bits/hwcap.h: New file.
29722 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29723 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29724 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29725 * sysdeps/sparc/sysdep.h: ... here. Include it.
29726 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29727 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29729 Update.
c7683a6d
RH
29730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29738
a6f1845d
AZ
297392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29740
29741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29742
cbcbe830
DM
297432012-05-19 David S. Miller <davem@davemloft.net>
29744
29745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29746
e0b16cc2
JM
297472012-05-19 Joseph Myers <joseph@codesourcery.com>
29748
29749 [BZ #14123]
29750 * math/s_ccosh.c: Include <float.h>
29751 (__ccosh): Avoid internal overflow calculating sinh and cosh
29752 values before multiplying by sin and cos values.
29753 * math/s_ccoshf.c: Likewise.
29754 * math/s_ccoshl.c: Likewise.
29755 * math/s_csin.c: Likewise.
29756 * math/s_csinf.c: Likewise.
29757 * math/s_csinl.c: Likewise.
29758 * math/s_csinh.c: Likewise.
29759 * math/s_csinhf.c: Likewise.
29760 * math/s_csinhl.c: Likewise.
29761 * math/libm-test.inc (ccos_test): Add more tests.
29762 (ccosh_test): Likewise.
29763 (csin_test): Likewise.
29764 (csinh_test): Likewise.
29765 * sysdeps/i386/fpu/libm-test-ulps: Update.
29766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29767
6ad13e08
L
297682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29769
f66f0ce8
L
29770 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29771 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29772
6ad13e08
L
29773 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29774
b1d072a7
JM
297752012-05-19 Joseph Myers <joseph@codesourcery.com>
29776
29777 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29778 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29779 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29780 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29781 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29782 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29783 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29784 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29785 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29786 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29787 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29788 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29789 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29790 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29791 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29792 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29793 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29794 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29795 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29796 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29797 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29798 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29799 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29800 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29801 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29802 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29803 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29804 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29805 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29806 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29807 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29808
9eae47cb
AJ
298092012-05-18 Andreas Jaeger <aj@suse.de>
29810
29811 * csu/.gitignore: Delete.
29812
bb07f69f
L
298132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29814
29815 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29816 (timex): Use __syscall_slong_t.
29817
e6bdb741
AJ
298182012-05-18 Andreas Jaeger <aj@suse.de>
29819 Carlos O'Donell <carlos_odonell@mentor.com>
29820
29821 * manual/install.texi (Configuring and compiling): Update
29822 description about files modified in the source directory.
d6c33fda 29823 * INSTALL: Regenerated.
e6bdb741 29824
1b74487e
L
298252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29828 value. Use "or" to set return value to -1.
29829 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29830 negate return value.
29831
a88b64b9
TMQMF
298322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29833
57f41c40
AS
29834 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29835 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29836 failure if the compiler has Graphite support disabled.
29837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29838 Likewise.
57f41c40
AS
29839 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29840 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29841 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29842 Likewise.
29843
3707636e
L
298442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29845
610b8622
L
29846 * sysdeps/x86_64/x32/_itoa.h: New file.
29847
7cd195df
L
29848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29849 getdents system call only if kernel and user dirents have the
29850 same d_ino and d_off.
29851
94b07d20
L
29852 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29853 LLONG_MAX != LONG_MAX.
29854 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29855 (_fitoa_word): Likewise.
29856
18298070
L
29857 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29858 years.
29859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29862
553c7ea4
L
29863 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29864 include <bits/wordsize.h>. Check __x86_64__ instead of
29865 __WORDSIZE.
29866 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29867 if __x86_64__ is defined. Use anonymous union on fpstate.
29868
3707636e
L
29869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29870 anonymous union.
29871
b53ef01a
AS
298722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29873
37fb1dc0
AS
29874 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29875 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29877 Refer to _rtld_local_ro instead of _rtld_global_ro.
29878 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29879 Likewise.
29880 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29881 Likewise.
29882 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29883 Likewise.
29884 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29885 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29886 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29887
b53ef01a
AS
29888 * sysdeps/powerpc/powerpc32/dl-machine.c
29889 (__elf_machine_runtime_setup) [PROF]: Don't reference
29890 _dl_prof_resolve.
29891
7a185db2
AJ
298922012-05-18 Andreas Jaeger <aj@suse.de>
29893
29894 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29895 function only available for GCCs before 3.4 since GCC 3.4
29896 introduced a builtin.
29897 (lrint): Likewise.
29898 (llrintf): Likewise.
29899 (llrint): Likewise.
29900 (fmaxf): Likewise.
29901 (fmax): Likewise.
29902 (fminf): Likewise.
29903 (fmin): Likewise.
29904 (rint): Likewise.
29905 (rintf): Likewise.
29906 (nearbyint): Likewise.
29907 (nearbyintf): Likewise.
29908 (ceil): Likewise.
29909 (ceilf): Likewise.
29910 (floor): Likewise.
29911 (floorf): Likewise.
29912
3e5aef87
L
299132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29914
428bd707
L
29915 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29916 on both fields and cast pointer to __syscall_ulong_t.
29917
3e5aef87
L
29918 * bits/types.h (__fsword_t): New type.
29919 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29920 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29922 (__FSWORD_T_TYPE): Likewise.
29923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29924 (__FSWORD_T_TYPE): Likewise.
29925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29926 (__FSWORD_T_TYPE): Likewise.
29927 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29928 (__FSWORD_T_TYPE): Likewise.
29929 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29930 __SWORD_TYPE with __fsword_t.
29931 (statfs64): Likewise.
29932
1ba7c3dc
DM
299332012-05-17 David S. Miller <davem@davemloft.net>
29934
29935 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29936
59910343
AJ
299372012-05-17 Andreas Jaeger <aj@suse.de>
29938
29939 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29940 warning.
29941
2e4c1e9e
L
299422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29943
29944 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29945
de7f5ce7
AJ
299462012-05-17 Andreas Jaeger <aj@suse.de>
29947
29948 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29949 when it is used.
29950
286abc3d
CM
299512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29952
29953 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29954
477cc68e
L
299552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29956
29957 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29958 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29959
1a0994f5
CD
299602012-05-17 Andreas Jaeger <aj@suse.de>
29961 Carlos O'Donell <carlos_odonell@mentor.com>
29962
29963 [BZ #14059]
29964 * sysdeps/x86_64/multiarch/init-arch.h
29965 (bit_YMM_Usable): Rename to...
29966 (bit_AVX_Usable): ... this.
29967 (bit_FMA4_Usable): New macro.
29968 (bit_XMM_state): New macro.
29969 (bit_YMM_state): New macro.
29970 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29971 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29972 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29973 (CPUID_OSXSAVE): New macro.
29974 (CPUID_AVX): New macro.
29975 (CPUID_FMA4): New macro.
29976 (index_YMM_Usable): Rename to...
29977 (index_AVX_Usable): ... this.
29978 (HAS_AVX): Use HAS_ARCH_FEATURE.
29979 (HAS_FMA4): Likewise.
29980 (HAS_YMM_USABLE): Remove.
29981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29982 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29983 are present.
29984 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29985 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29986 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29987 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29988 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29989
0af797de
CM
299902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29991
29992 * math/libm-test.c: Support platforms without multiple rounding modes.
29993 * math/bug-nextafter.c: Support platforms without FP exceptions.
29994 * math/bug-nexttoward.c: Likewise.
29995 * math/test-fenv.c: Likewise.
29996 * math/test-misc.c: Likewise.
29997 * stdlib/bug-getcontext.c: Likewise.
29998
e39745ff
AJ
299992012-05-17 Andreas Jaeger <aj@suse.de>
30000
30001 * manual/examples/search.c (critter_cmp): Change signature to
30002 avoid warnings.
30003 * manual/string.texi (Collation Functions): Likewise.
30004
48970aba
L
300052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30006
30007 * bits/types.h: Fold copyright years.
30008 * bits/typesizes.h: Likewise.
30009 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30013 * time/time.h: Likewise.
30014
bedee953
PP
300152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30016
30017 [BZ #208]
30018 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30019 in instead of returning them. Return void.
30020 (__libc_mallinfo): Accumulate over all arenas.
30021 (__malloc_stats): Adjust for change in int_mallinfo interface.
30022
61653dfb
RM
300232012-05-16 Roland McGrath <roland@hack.frob.com>
30024
30b99d79
RM
30025 [BZ #10375]
30026 * configure.in (NM): Add AC_CHECK_TOOL for it.
30027 (libc_extra_cflags): New substituted variable.
30028 Check for -fstack-protector being used implicitly.
30029 * configure: Regenerated.
30030 * config.make.in (config-extra-cflags): New variable,
30031 gets @libc_extra_cflags@.
30032 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30033
61653dfb
RM
30034 [BZ #10375]
30035 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30036 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30037 * configure: Regenerated.
30038 * config.make.in (CPPUNDEFS): New substituted variable.
30039 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30040 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30041 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30042
661768bb
L
300432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30044
30045 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30046 (mq_attr): Use __syscall_slong_t.
30047
d4261567
L
300482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30049
30050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30051 Check __x86_64__ instead of __WORDSIZE.
30052 (_STAT_VER_LINUX): Likewise.
30053 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30054 __syscall_ulong_t and __syscall_slong_t.
30055 (stat64): Likewise.
30056
cf3ff365
L
300572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30058
30059 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30060
76cf3e4d
L
300612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30062
30063 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30064
a637753a
L
300652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30066
30067 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30068 __syscall_ulong_t.
30069
d5e05119
L
30070 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30071 include <bits/wordsize.h>. Check __x86_64__ instead of
30072 __WORDSIZE.
30073 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30074 defined.
30075 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30076
f62ee380
L
30077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30078 include <bits/wordsize.h>. Check __x86_64__ instead of
30079 __WORDSIZE.
30080 (user_regs_struct): Use "__extension__ unsigned long long"
30081 instead of "unsigned long" if __x86_64__ is defined.
30082 (user): Likewise. Pad after pointer field if __ILP32__ is
30083 defined.
30084
4e124ced
JM
300852012-05-16 Joseph Myers <joseph@codesourcery.com>
30086
6a3951a0
JM
30087 * configure.in (makeinfo): Require version 4.5 or later. Allow
30088 versions 5 to 9.
30089 * configure: Regenerated.
30090 * manual/install.texi (texinfo): Increase version requirement to
30091 4.5 or later.
30092 * INSTALL: Regenerated.
30093
4e124ced
JM
30094 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30095
953ca31a
L
300962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30097
30098 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30099
617aca05
L
30100 * sysdeps/x86_64/x32/ffs.c: New file.
30101
5762f7ae
L
30102 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30103 __syscall_ulong_t.
30104 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30105 defined. Use __syscall_ulong_t.
30106 (shminfo): Use __syscall_ulong_t.
30107 (shm_info): Likewise.
30108
a26b6856
L
30109 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30110 __syscall_ulong_t.
30111
cb2b9ef7
L
30112 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30113 <bits/wordsize.h>.
30114 (msgqnum_t): Use __syscall_ulong_t.
30115 (msglen_t): Likewise.
30116 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30117 __syscall_ulong_t.
30118
34683bb0
L
30119 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30120 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30121
84a68786
L
30122 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30123
48baa5f1
L
30124 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30125 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30126
180be88b
L
30127 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30128 __syscall_slong_t.
30129
5e90c8ad
L
30130 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30131 include <bits/wordsize.h>. Check __x86_64__ instead of
30132 __WORDSIZE.
30133
23dfb58b
L
30134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30135 "unsigned long long int" if __x86_64__ is defined.
30136 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30137
ce5d54b0
L
30138 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30140 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30141
13dc9eac
L
30142 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30143 <stdint.h>.
30144 (GET_PC): Cast to uintptr_t first.
30145 (GET_FRAME): Likewise.
30146 (GET_STACK): Likewise.
30147
a7895d15
L
30148 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30149 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30152 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30154 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30159 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30163 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30164 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30166 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30167 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30168 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30169 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30170 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30171 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30173 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30174 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30175 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30176 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30177
656416c9
AS
301782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30179
5bd66283
AS
30180 * Makerules (+depfiles): Also collect depfiles from .oS in
30181 $(extra-objs).
30182 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30183 .oS, $(libnldbl-routines)).
30184
656416c9
AS
30185 * Makerules (native-compile-mkdep-flags): Define.
30186 * sunrpc/Makefile (extra-objs): Add $(addprefix
30187 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30188 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30189 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30190 calling $(make-target-directory).
30191
a46f2169
L
301922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30193
30194 * bits/types.h (__snseconds_t): Removed.
30195 * time/time.h (struct timespec): Replace __snseconds_t with
30196 __syscall_slong_t.
30197 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30198 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30199 Likewise.
30200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30201 (__SNSECONDS_T_TYPE): Likewise.
30202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30203 (__SNSECONDS_T_TYPE): Likewise.
30204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30205 (__SNSECONDS_T_TYPE): Likewise.
30206
6af6528b
L
302072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 * sysdeps/mach/hurd/bits/typesizes.h
30210 (__SYSCALL_SLONG_TYPE): New macro.
30211 (__SYSCALL_ULONG_TYPE): Likewise.
30212
de986b56
L
302132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30214
30215 * bits/types.h (__syscall_slong_t): New type.
30216 (__syscall_ulong_t): Likewise.
30217
30218 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30219 (__SYSCALL_ULONG_TYPE): Likewise.
30220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30221 (__SYSCALL_SLONG_TYPE): Likewise.
30222 (__SYSCALL_ULONG_TYPE): Likewise.
30223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30224 (__SYSCALL_SLONG_TYPE): Likewise.
30225 (__SYSCALL_ULONG_TYPE): Likewise.
30226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30227 (__SYSCALL_SLONG_TYPE): Likewise.
30228 (__SYSCALL_ULONG_TYPE): Likewise.
30229
85736dc7
L
302302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30231
30232 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30233 Add sigaltstack-offsets.sym.
30234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30235 <sigaltstack-offsets.h>.
30236 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30237 longjmp_msg pointer.
30238 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30239 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30240 signal stack.
30241 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30242
cc03b296
JM
302432012-05-15 Joseph Myers <joseph@codesourcery.com>
30244
a9538892
JM
30245 * elf/stackguard-macros.h: Remove file.
30246 * sysdeps/generic/stackguard-macros.h: New file.
30247 * sysdeps/i386/stackguard-macros.h: Likewise.
30248 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30249 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30250 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30251 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30252 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30253 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30254 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30255 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30256 <elf/stackguard-macros.h>.
30257
cc03b296
JM
30258 [BZ #14109]
30259 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30260 __aligned__ in attribute.
30261 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30262 (gregset_t): Likewise.
30263
93171016
L
302642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30267 * sysdeps/x86_64/64/Implies-after: Here. New file.
30268 * sysdeps/x86_64/x32/Implies-after: New file.
30269
d86813a0
L
302702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30271
30272 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30273 and access return value for _dl_profile_fixup. Use R10_LP to
30274 load frame size.
30275
2953ec75
L
302762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30277
30278 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30279
3b550e9e
L
302802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30281
30282 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30283 * sysdeps/x86_64/x32/sysdep.h: New file.
30284
eda41706
L
302852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30286
30287 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30288 * sysdeps/x86_64/setjmp.S: Likewise.
30289
9ea01d93
AZ
302902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30291
30292 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30294 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30295 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30296 remove unused global constant.
30297
02a91938
CM
302982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30299
30300 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30301 include of <not-cancel.h>.
30302
6540185f
RM
303032012-05-15 Roland McGrath <roland@hack.frob.com>
30304
30305 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30306
509072a0
AJ
303072012-05-15 Jeff Law <law@redhat.com>
30308 Andreas Jaeger <aj@suse.de>
30309
30310 [BZ #13594]
30311 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30312 out from...
30313 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30314 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30315 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30316 code changing __hst_map_handle.map.
30317
ba75122d
RM
303182012-05-15 Roland McGrath <roland@hack.frob.com>
30319
30320 * configure.in (sysnames): Look for Implies-before and Implies-after
30321 files.
30322 * configure: Regenerated.
30323
890d8bd8
L
303242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30325
30326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30327 8-byte data alignment with LP_SIZE alignment.
30328
f6ee6623
L
303292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30330
30331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30332 into R10_LP.
30333
ea2626f6
L
303342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30335
30336 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30337
085f715e
L
303382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30339
30340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30341 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30343 Likewise.
30344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30345
be8498fc
L
303462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30347
30348 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30349 (stackinfo_sub_sp): Likewise.
30350
70bc83b9
L
303512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30352
30353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30354 RAX_LP.
30355
9bc0b730
L
303562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30357
30358 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30359 into R*_LP.
30360
6d2850e7
L
303612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30362
30363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30364 sizes into R*_LP.
30365
3cb84561
L
303662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30367
30368 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30369
54e2ed81
L
303702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30371
30372 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30373 into R11_LP and load __x86_64_shared_cache_size_half into
30374 R8_LP.
30375
8a17f349
L
303762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30377
30378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30379 R8_LP.
30380
777b1eea
AZ
303812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30382
30383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30384 logb for POWER7.
30385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30386 logbf for POWER7.
30387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30388 logbl for POWER7.
30389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30390 powerpc32/power7/fpu/s_logb.c via #include.
30391 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30392 powerpc32/power7/fpu/s_logbf.c via #include.
30393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30394 powerpc32/power7/fpu/s_logbl.c via #include.
30395
d20d4ac2
JM
303962012-05-15 Joseph Myers <joseph@codesourcery.com>
30397
30398 * README.libm: Remove file.
30399
6cdef1ab
L
304002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30401
30402 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30403 count for x32. Use R*_LP and omit operand-size suffix.
30404
0b254d8f
L
304052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30406
30407 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30408 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30409 * sysdeps/x86_64/x32/shlib-versions: New file.
30410
ceb809dc
RM
304112012-05-14 Roland McGrath <roland@hack.frob.com>
30412
30413 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30414 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30415 Use _dl_fatal_printf instead.
30416
37f1abd4
JM
304172012-05-14 Joseph Myers <joseph@codesourcery.com>
30418
30419 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30420 set if not set by the user. Do not allow for being unset.
30421 * sysdeps/unix/sysv/linux/configure: Regenerated.
30422
11de3a33
L
304232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30424
30425 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30426 the `q' suffix from lea and replace .quad with ASM_ADDR.
30427
e02f153a
L
304282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30429
30430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30431 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30432 instead of $17.
30433 (PTR_DEMANGLE): Likewise.
30434
520ae0fd
L
304352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30436
30437 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30438 (LP_OP): Likewise.
30439 (ASM_ADDR): Likewise.
30440 (RAX_LP): Likewise.
30441 (RBP_LP): Likewise.
30442 (RBX_LP): Likewise.
30443 (RCX_LP): Likewise.
30444 (RDI_LP): Likewise.
30445 (RSI_LP): Likewise.
30446 (RSP_LP): Likewise.
30447 (R8_LP): Likewise.
30448 (R9_LP): Likewise.
30449 (R10_LP): Likewise.
30450 (R10_LP): Likewise.
30451 (R11_LP): Likewise.
30452 (R12_LP): Likewise.
30453 (R13_LP): Likewise.
30454 (R14_LP): Likewise.
30455 (R15_LP): Likewise.
30456
b985be81
L
304572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30458
30459 * sysdeps/x86_64/x32/dl-machine.h: New file.
30460
6a4888ff
AJ
304612012-05-14 Andreas Jaeger <aj@suse.de>
30462
30463 * manual/Makefile (subdir): Remove export of subdir.
30464 (all): Remove target.
30465 (.PHONY): Remove all from list.
30466 (mkinstalldirs): Remove.
30467 (.PHONY): Remove installdirs from list.
30468 ($(inst_infodir)/libc.info): Use make-target-directory.
30469 (installdirs): Remove.
30470 (subdir_%): Remove.
30471 (glibc-targets): Remove.
30472 (lib): Remove.
30473 (stubs): Remove.
30474 ($(objpfx)stubs ../po/manual.pot): Remove.
30475 ($(objpfx)stamp%): Remove.
30476 (make-target-directory): Remove.
30477 (subdir_install): Remove.
30478 (routines): Remove.
30479 (aux): Remove.
30480 (sources): Remove.
30481 (objects): Remove.
30482 (headers): Remove.
30483
30484 [BZ #13750]
30485 * manual/.gitignore: Remove, it's not needed anymore.
30486 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30487 all files in it.
30488 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30489 directory.
30490 (texis): Renamed to $(objpfx)texis.
30491 (texis-path): New, contains path to generated files.
30492 (chapters.%): Use texis-path for complete path, add extra argument
30493 libc-texinfo.sh.
30494 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30495 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30496 (summary,texi, stamp-summary): Use complete path of
30497 files. Generate files in build dir.
30498 (dir-add.texi): Build in build dir.
30499 (libm-err.texi,stamp-libm-err): Likewise.
30500 (version.texi, stamp-version): Likewise.
30501 (.%c.texi): Likewise.
30502 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30503 (mostlyclean): Remove target.
30504 (realclean): Remove target.
30505 (generated): Add new variable with contents from mostlyclean and
30506 realclean, remove entries duplicated in common-mostlyclean, add
30507 stamp-libm-err and stamp-version.
30508 (generated-dirs): Add libc directory.
30509 ($(inst_infodir)/libc.info): Install files from build dir.
30510
30511 * manual/install.texi (Configuring and compiling): Adjust since
30512 the info files are not part of the tar ball anymore.
30513
7ac77294
AJ
305142012-05-14 Andreas Jaeger <aj@suse.de>
30515
30516 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30517 variable.
30518
ffb7875d
JM
305192012-05-14 Joseph Myers <joseph@codesourcery.com>
30520
30521 [BZ #13717]
30522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30523 to 2.2.0 where earlier.
30524 * sysdeps/unix/sysv/linux/configure: Regenerated.
30525 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30526 Remove conditional code.
30527 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30528 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30529 Remove conditional code.
30530 [!__NR_lchown]: Likewise.
30531 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30532 [__NR_lchown]: Likewise.
30533 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30534 comment referencing __ASSUME_LCHOWN_SYSCALL.
30535 * sysdeps/unix/sysv/linux/i386/sigaction.c
30536 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30537 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30538 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30539 Remove conditional code.
30540 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30541 (__protocol_available): Remove #if 0 code.
30542 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30543 conditional code.
30544 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30545 * sysdeps/unix/sysv/linux/kernel-features.h
30546 (__ASSUME_GETCWD_SYSCALL): Don't define.
30547 (__ASSUME_REALTIME_SIGNALS): Likewise.
30548 (__ASSUME_PREAD_SYSCALL): Likewise.
30549 (__ASSUME_PWRITE_SYSCALL): Likewise.
30550 (__ASSUME_POLL_SYSCALL): Likewise.
30551 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30552 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30553 non-SPARC.
30554 (__ASSUME_SIOCGIFNAME): Don't define.
30555 (__ASSUME_MSG_NOSIGNAL): Likewise.
30556 (__ASSUME_SENDFILE): Define unconditionally.
30557 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30558 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30559 conditional code.
30560 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30561 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30562 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30563 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30564 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30565 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30566 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30571 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30577 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30580 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30583 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30589 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30591 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30592 Remove conditional code.
30593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30594 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30595 Remove conditional code.
30596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30597 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30598 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30600 Remove conditional code.
30601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30602 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30603 Remove conditional code.
30604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30605 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30606 Remove conditional code.
30607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30608 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30609 Remove conditional code.
30610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30611 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30612 Remove conditional code.
30613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/sigaction.c
30618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/sigpending.c
30621 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30622 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/sigprocmask.c
30624 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30625 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30626 * sysdeps/unix/sysv/linux/sigsuspend.c
30627 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30628 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30629 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30630 (__libc_missing_rt_sigs): Remove.
30631 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30632 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30633 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30634 Remove conditional code.
30635 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30636 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30637 return 1.
30638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30639 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30641 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30642
1bfb7291
AJ
306432012-05-14 Andreas Jaeger <aj@suse.de>
30644
caae5a81
AJ
30645 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30646 it's not used in glibc.
30647 (__coshm1): Likewise.
30648 (__acosh1p): Likewise.
30649 (__sgn): Likewise.
30650
1bfb7291
AJ
30651 * manual/string.texi (Copying and Concatenation): Add missing
30652 variable in concat example.
30653 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30654
c044d724
L
306552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30656
144c5467 30657 [BZ #14103]
c044d724
L
30658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30659 __builtin_clzl with __builtin_clzll.
30660
2523c62b
L
306612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30662
30663 [BZ #14104]
30664 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30665 libc_freeres_ptr.
30666
d7bb4c42
LD
306672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30668
30669 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30670 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30671 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30673
9dc4e1fb
MF
306742012-05-14 Mike Frysinger <vapier@gentoo.org>
30675
30676 * NEWS: Update ia64 info.
30677
c7df0112
AS
306782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30679
30680 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30681 used as bcopy.
30682
dc70356c
TS
306832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30684
30685 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30686 * sysdeps/unix/syscalls.list (dup3): Likewise.
30687 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30688 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30689
9fb1a21f
L
306902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30691
30692 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30693 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30694
4822a2a5
L
306952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30696
30697 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30698 thread pointer.
30699 (TLS_IE): Use mov/add instead of movq/addq to load thread
30700 pointer.
30701 (TLS_GD_PREFIX): New.
30702 (TLS_GD): Use it.
30703
842b81d6
DM
307042012-05-11 David S. Miller <davem@davemloft.net>
30705
30706 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30707 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30708 (_FPU_SETCW): Likewise.
30709
1cf463cd
L
307102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30711
30712 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30713 is 32-byte aligned.
30714
60cc4a18
AS
307152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30716
30717 [BZ #11837]
30718 * iconvdata/gb18030.c: Update tables.
30719 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30720 characters specially.
30721 (BODY for TO_LOOP): Add encoding of missing ranges.
30722
febb44a4
TS
307232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30724
30725 [BZ #13673]
30726 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30727 * sysdeps/mach/hurd/dup3.c: Likewise.
30728 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30729 * sysdeps/powerpc/memmove.c:: Likewise.
30730
0a10fb9e
L
307312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30734 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30735
df8a552f
L
307362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30737
30738 * elf/elf.h (R_X86_64_RELATIVE64): New.
30739 (R_X86_64_NUM): Updated.
30740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30741 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30742 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30743 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30744 tst-quad1pie tst-quad2pie
30745 (modules-names): Add tst-quadmod1 tst-quadmod2.
30746 ($(objpfx)tst-quad1): New dependency.
30747 ($(objpfx)tst-quad2): Likewise.
30748 ($(objpfx)tst-quad1pie): Likewise.
30749 ($(objpfx)tst-quad2pie): Likewise.
30750 * sysdeps/x86_64/tst-quad1.c: New file.
30751 * sysdeps/x86_64/tst-quad1pie.c: New file.
30752 * sysdeps/x86_64/tst-quad2.c: Likewise.
30753 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30754 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30755 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30756 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30757 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30758
f34d6f84
ST
307592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30760
f42d41d1
ST
30761 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30762 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30763 * streams/stropts.h (t_scalar_t): Define type.
30764
3c3571fc
ST
30765 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30766 (_PATH_PRESERVE): Set to "/var/lib".
30767 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30768
61f06bd3
ST
30769 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30770 instead of int.
30771
918d4d71
ST
30772 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30773 if __dir_mkfile succeeded.
30774
f34d6f84
ST
30775 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30776 checking for _hurd_dtablesize. Unlock it right after having
30777 finished _hurd_dtable allocation.
30778
10589b4a
TS
307792012-05-10 Thomas Schwinge <thomas@schwinge.name>
30780
674cdbc7
TS
30781 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30782 * sysdeps/mach/hurd/configure: Regenerated.
30783 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30784 special-casing to...
30785 * sysdeps/gnu/configure.in: ... this new file.
30786 * sysdeps/unix/sysv/linux/configure: Regenerated.
30787 * sysdeps/gnu/configure: New generated file.
30788
8e41b99f
TS
30789 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30790 for Linux: use nsec instead of usec, as well as:
30791 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30792 members of type struct timespec.
30793 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30794 New macros.
30795 (struct stat64): Likewise.
30796 (_STATBUF_ST_NSEC): New macro.
30797 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30798
10589b4a
TS
30799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30800 __strtoul_internal rather than strtoul.
30801
63643c85
PT
308022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30803
30804 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30805 and reject them.
30806
3faebe6a
ST
308072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30808
30809 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30810 which preserves existing values.
30811 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30812
c6474b07
PT
308132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30814
30815 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30816 TIMEOUT values. Return EINVAL for NFDS values either negative or
30817 greater than FD_SETSIZE.
30818
1043890b
ST
308192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30820
30821 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30822 allocated, call __vm_protect to finish enabling the existing space, and
30823 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30824 allocate the remainder.
30825
37ed8b9b
PT
308262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30827
30828 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30829 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30830
db653660
ST
308312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30832
37ed8b9b
PT
30833 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30834 sysdeps/mach/hurd/readlink.c.
b29d4053 30835
db653660
ST
30836 * posix/tst-sysconf.c (posix_options): Only use
30837 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30838 _POSIX_SYNCHRONIZED_IO when they are defined
30839 * sysdeps/mach/hurd/bits/posix_opt.h:
30840 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30841 (_XOPEN_REALTIME): Undefine macro.
30842 (_XOPEN_REALTIME_THREADS): Undefine macro.
30843 (_XOPEN_SHM): Undefine macro.
30844 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30845 macro to -1.
30846 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30847 macro to -1.
30848 (_POSIX_ASYNC_IO): Undefine macro.
30849 (_POSIX_PRIORITIZED_IO): Undefine macro.
30850 (_POSIX_SPIN_LOCKS): Define macro to -1.
30851
ee16e894
ST
30852 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30853 SA_NODEFER, SA_RESETHAND.
30854 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30855 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30856 F_DUPFD_CLOEXEC.
30857
6103ae3b
TS
308582012-05-10 Thomas Schwinge <thomas@schwinge.name>
30859
30860 * elf/Makefile (pldd-modules): Define unconditionally.
30861
80b4e5f3
TS
308622012-05-10 Thomas Schwinge <thomas@schwinge.name>
30863
30864 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30865
edadcbd6
ST
308662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30867
30868 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30869 Return ENOENT when name is empty.
30870 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30871
80694780
TS
308722012-05-10 Thomas Schwinge <thomas@schwinge.name>
30873
1792c087
TS
30874 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30875
80694780
TS
30876 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30877
6b645f0d
ST
308782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30879
80694780
TS
30880 Fix mlock in all cases except non-readable pages.
30881 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30882 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30883
6b645f0d
ST
30884 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30885 (__mkdir): When path is `/', just fail with EEXIST.
30886 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30887
e468f8a3
TS
308882012-05-10 Thomas Schwinge <thomas@schwinge.name>
30889
30890 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30891 <sys/uio.h> (for writev).
30892 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30893 and <sys/param.h> (for MIN).
30894
a4186cff
PT
308952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30896
30897 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30898 REQUESTED_TIME. Properly set the remaining time and return EINTR
30899 if interrupted.
30900
510bbf14
TS
309012012-05-10 Thomas Schwinge <thomas@schwinge.name>
30902
30903 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30904 Depend on against $(link-rpcuserlibs).
30905
5d5722e8
ST
309062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30907
a4186cff
PT
30908 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30909 (__libc_stack_end): Do not use attribute_relro.
30910 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30911 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30912 to libthread-provided value.
a4186cff
PT
30913 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30914 attribute_relro.
5d5722e8 30915
37233df9
TS
309162012-05-10 Thomas Schwinge <thomas@schwinge.name>
30917
be971a2b
TS
30918 [BZ #3748]
30919 * bits/libc-lock.h (__libc_once_get): New macro.
30920 * sysdeps/mach/bits/libc-lock.h: Likewise.
30921 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30923 instead of using implementation details.
30924
37233df9
TS
30925 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30926 * libio/freopen.c: Likewise.
30927 * libio/freopen64.c: Likewise.
30928 * misc/syslog.c: Likewise.
30929 * nscd/connections.c: Likewise.
30930 * nscd/netgroupcache.c: Likewise.
30931 * sysdeps/posix/getcwd.c: Likewise.
30932
38de94a5
RM
309332012-05-10 Roland McGrath <roland@hack.frob.com>
30934
30935 * math/w_ilogbf.c: Add #include <limits.h>.
30936
67530489
ST
309372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30938
a4186cff 30939 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30940 path instead of returning without unlocking.
30941
67530489
ST
30942 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30943 immediate-write ioctls.
30944 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30945
5aa3a74a
TS
309462012-05-10 Thomas Schwinge <thomas@schwinge.name>
30947
18bad2ae
TS
30948 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30949 __builtin_frame_address instead of making assumptions about the
30950 location of the return address relative to DATA. Force early load of
30951 the return address.
30952 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30953 __builtin_frame_address.
30954
5aa3a74a
TS
30955 dup3 for GNU Hurd.
30956 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30957 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30958 implement dup3 and do some further code clean-ups.
30959 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30960 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30961
ecd0de9a
ST
309622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30963
cd9fa985
ST
30964 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30965
a4186cff
PT
30966 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30967 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30968 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30969 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30970 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30971 d->port.lock.
802ca5a5 30972
a4186cff
PT
30973 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30974 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30975 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30976
bcf55240
TS
309772012-05-10 Thomas Schwinge <thomas@schwinge.name>
30978
6960eb42
TS
30979 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30980 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30981 definitions.
30982
eb43375f
TS
30983 accept4 for GNU Hurd.
30984 * include/sys/socket.h (__libc_accept4): New prototype.
30985 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30986 to implement __libc_accept4.
30987 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30988 __libc_accept4.
30989 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30990
bcf55240
TS
30991 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30992 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30993 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30994 signal-defines.sym.
30995
6178c55b
ST
309962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30997
a4186cff 30998 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30999
6f080c2f
TS
310002012-05-10 Thomas Schwinge <thomas@schwinge.name>
31001
31002 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31003 assertion on O_CLOEXEC flag.
31004 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31005 * hurd/intern-fd.c: Likewise.
31006 * hurd/port2fd.c: Likewise.
31007
bcfe3a54
ST
310082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31009
31010 [BZ #3906]
31011 * bits/in.h (IPV6_PKTINFO): Define new macro.
31012 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31013
89c9aa49
AZ
310142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31015
31016 [BZ #13954]
31017 [BZ #13955]
31018 [BZ #13956]
31019 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31021 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31025 * math/libm-test.inc (logb_test) : Additional logb tests.
31026
021db4be
AJ
310272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31028 Andreas Jaeger <aj@suse.de>
31029
31030 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31031 * configure: Regenerated.
31032 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31033 * config.make.in (link-obsolete-rpc): New substituted variable.
31034 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31035 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31036 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31037 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31038 so that libc.a contains the symbols.
31039 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31040 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31041 * sunrpc/auth_none.c: Likewise.
31042 * sunrpc/auth_unix.c: Likewise.
31043 * sunrpc/authdes_prot.c: Likewise.
31044 * sunrpc/authuxprot.c: Likewise.
31045 * sunrpc/clnt_gen.c: Likewise.
31046 * sunrpc/clnt_perr.c: Likewise.
31047 * sunrpc/clnt_raw.c: Likewise.
31048 * sunrpc/clnt_simp.c: Likewise.
31049 * sunrpc/clnt_tcp.c: Likewise.
31050 * sunrpc/clnt_udp.c: Likewise.
31051 * sunrpc/clnt_unix.c: Likewise.
31052 * sunrpc/des_crypt.c: Likewise.
31053 * sunrpc/des_soft.c: Likewise.
31054 * sunrpc/get_myaddr.c: Likewise.
31055 * sunrpc/key_call.c: Likewise.
31056 * sunrpc/key_prot.c: Likewise.
31057 * sunrpc/netname.c: Likewise.
31058 * sunrpc/pm_getmaps.c: Likewise.
31059 * sunrpc/pm_getport.c: Likewise.
31060 * sunrpc/pmap_clnt.c: Likewise.
31061 * sunrpc/pmap_prot.c: Likewise.
31062 * sunrpc/pmap_prot2.c: Likewise.
31063 * sunrpc/pmap_rmt.c: Likewise.
31064 * sunrpc/publickey.c: Likewise.
31065 * sunrpc/rpc_cmsg.c: Likewise.
31066 * sunrpc/rpc_common.c: Likewise.
31067 * sunrpc/rpc_dtable.c: Likewise.
31068 * sunrpc/rpc_prot.c: Likewise.
31069 * sunrpc/rpc_thread.c: Likewise.
31070 * sunrpc/rtime.c: Likewise.
31071 * sunrpc/svc.c: Likewise.
31072 * sunrpc/svc_auth.c: Likewise.
31073 * sunrpc/svc_raw.c: Likewise.
31074 * sunrpc/svc_run.c: Likewise.
31075 * sunrpc/svc_tcp.c: Likewise.
31076 * sunrpc/svc_udp.c: Likewise.
31077 * sunrpc/svc_unix.c: Likewise.
31078 * sunrpc/svcauth_des.c: Likewise.
31079 * sunrpc/xcrypt.c: Likewise.
31080 * sunrpc/xdr.c: Likewise.
31081 * sunrpc/xdr_array.c: Likewise.
31082 * sunrpc/xdr_float.c: Likewise.
31083 * sunrpc/xdr_intXX_t.c: Likewise.
31084 * sunrpc/xdr_mem.c: Likewise.
31085 * sunrpc/xdr_rec.c: Likewise.
31086 * sunrpc/xdr_ref.c: Likewise.
31087 * sunrpc/xdr_sizeof.c: Likewise.
31088 * sunrpc/xdr_stdio.c: Likewise.
31089
b5c086a2
RM
310902012-05-10 Roland McGrath <roland@hack.frob.com>
31091
31092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31093 change. Update copyright years.
31094
6d74dd09
JM
310952012-05-10 Joseph Myers <joseph@codesourcery.com>
31096
31097 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31098
28e72501
MK
310992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31100 Joseph Myers <joseph@codesourcery.com>
31101 Paul Pluzhnikov <ppluzhnikov@google.com>
31102
31103 [BZ #14012]
31104 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31105 requiring rpcgen.
31106 [cross-compiling] (extra-libs): Likewise.
31107 [cross-compiling] (extra-libs-others): Likewise.
31108 [cross-compiling] (librpcsvc-routines): Likewise.
31109 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31110 [cross-compiling] (omit-deps): Likewise.
31111 (sunrpc-CPPFLAGS): New variable.
31112 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31113 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31114 (cross-rpcgen-objs): New variable.
31115 (extra-objs): Append $(cross-rpcgen-objs).
31116 ($(cross-rpcgen-objs)): New rule.
31117 ($(objpfx)cross-rpcgen): Likewise.
31118 (rpcgen-cmd): Define to use $(built-program-file). Expand
31119 comment.
31120 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31121 ($(objpfx)x%.stmp): Likewise.
31122 * sunrpc/proto.h [IS_IN_build] (_): Define.
31123 [IS_IN_build] (_libc_intl_domainname): Likewise.
31124
c8c59454
L
311252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31126
31127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31128 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31129 and R_X86_64_TPOFF64.
31130
6f27cd16
JM
311312012-05-10 Joseph Myers <joseph@codesourcery.com>
31132
31133 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31134 sysdeps/unix/sysv/syscalls.list.
31135 (stime): Likewise.
31136 (utime): Likewise.
31137 * sysdeps/unix/sysv/syscalls.list: Remove file.
31138
02467e1c
PE
311392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31140
31141 [BZ #3440]
31142 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31143 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31144 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31145 (__LC_IDENTIFICATION): Make these macros useful in #if
31146 expressions, as required by C99.
31147
da392631
AS
311482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31149
31150 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31151 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31152 after this.
31153
8115f29b
L
311542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31155
31156 * stdlib/longlong.h: Updated from GCC.
31157
bdd74070
AJ
311582012-05-09 Andreas Jaeger <aj@suse.de>
31159
edfe0dbe
AJ
31160 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31161 default is first entry.
31162 (run_mode): Set type.
31163 (main): Remove informal message about syslog.
31164 (options): Fix typo.
31165
bcfe3a54
ST
31166 [BZ #14053]
31167 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31168 to asm.
bcfe3a54
ST
31169 (lrint): Likewise.
31170 (llrintf): Likewise.
31171 (llrint): Likewise.
31172 (rint): Likewise.
31173 (rintf): Likewise.
31174 (nearbyint): Likewise.
31175 (nearbyintf): Likewise.
bdd74070 31176
91d8d69e
AJ
311772012-05-09 Andreas Jaeger <aj@suse.de>
31178 Pedro Alves <palves@redhat.com>
31179
31180 * nscd/nscd.c (run_mode): Use enum.
31181 (main): Cleanup coding style issue.
31182
bb90b80b
AJ
311832012-05-09 Alexandre Oliva <aoliva@redhat.com>
31184 Andreas Jaeger <aj@suse.de>
31185
bcfe3a54
ST
31186 * nscd/nscd.c (go_background): Replaced with...
31187 (run_mode): ... this.
bb90b80b 31188 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31189 (options): Add -F --foreground.
31190 (main): Implement it.
31191 (parse_opt): Parse it.
bb90b80b 31192
1a4b75a1
AJ
311932012-05-09 Andreas Jaeger <aj@suse.de>
31194
31195 [BZ #14083]
31196 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31197 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31198 -Wconversion warning.
31199 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31200 Likewise.
31201
b1cc2472
JM
312022012-05-09 Joseph Myers <joseph@codesourcery.com>
31203
31204 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31205 == 0.
31206 (LC_ALL): Use macro-int-constant.
31207 (LC_COLLATE): Likewise.
31208 (LC_CTYPE): Likewise.
31209 (LC_MESSAGES): Likewise.
31210 (LC_MONETARY): Likewise.
31211 (LC_NUMERIC): Likewise.
31212 (LC_TIME): Likewise.
31213 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31214 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31216 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31217 Specify type.
31218 [C99-based standards] (float_t): Expect type.
31219 [C99-based standards] (double_t): Expect type.
31220 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31221 type.
31222 [C99-based standards] (HUGE_VALL): Likewise.
31223 [C99-based standards] (INFINITY): Likewise.
31224 [C99-based standards] (NAN): Likewise.
31225 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31226 [C99-based standards] (FP_NAN): Likewise.
31227 [C99-based standards] (FP_NORMAL): Likewise.
31228 [C99-based standards] (FP_SUBNORMAL): Likewise.
31229 [C99-based standards] (FP_ZERO): Likewise.
31230 [C99-based standards] (FP_FAST_FMA): Use
31231 optional-macro-int-constant. Specify type. Require == 1.
31232 [C99-based standards] (FP_FAST_FMAF): Likewise.
31233 [C99-based standards] (FP_FAST_FMAL): Likewise.
31234 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31235 [C99-based standards] (FP_ILOGBNAN): Likewise.
31236 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31237 Specify type.
31238 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31239 [C99-based standards] (math_errhandling): Specify type.
31240 [ISO99 || ISO11] (signgam): Do not allow.
31241 [non-C99-based standards] (copysignf): Do not allow.
31242 [non-C99-based standards] (exp2f): Likewise.
31243 [non-C99-based standards] (log2f): Likewise.
31244 [non-C99-based standards] (modff): Allow.
31245 [non-C99-based standards] (erff): Do not allow.
31246 [non-C99-based standards] (erfcf): Likewise.
31247 [non-C99-based standards] (gammaf): Likewise.
31248 [non-C99-based standards] (hypotf): Likewise.
31249 [non-C99-based standards] (j0f): Likewise.
31250 [non-C99-based standards] (j1f): Likewise.
31251 [non-C99-based standards] (jnf): Likewise.
31252 [non-C99-based standards] (lgammaf): Likewise.
31253 [non-C99-based standards] (tgammaf): Likewise.
31254 [non-C99-based standards] (y0f): Likewise.
31255 [non-C99-based standards] (y1f): Likewise.
31256 [non-C99-based standards] (ynf): Likewise.
31257 [non-C99-based standards] (isnanf): Likewise.
31258 [non-C99-based standards] (acoshf): Likewise.
31259 [non-C99-based standards] (asinhf): Likewise.
31260 [non-C99-based standards] (atanhf): Likewise.
31261 [non-C99-based standards] (cbrtf): Likewise.
31262 [non-C99-based standards] (expm1f): Likewise.
31263 [non-C99-based standards] (ilogbf): Likewise.
31264 [non-C99-based standards] (log1pf): Likewise.
31265 [non-C99-based standards] (logbf): Likewise.
31266 [non-C99-based standards] (nextafterf): Likewise.
31267 [non-C99-based standards] (remainderf): Likewise.
31268 [non-C99-based standards] (rintf): Likewise.
31269 [non-C99-based standards] (scalbf): Likewise.
31270 [non-C99-based standards] (copysignl): Likewise.
31271 [non-C99-based standards] (exp2l): Likewise.
31272 [non-C99-based standards] (log2l): Likewise.
31273 [non-C99-based standards] (modfl): Allow.
31274 [non-C99-based standards] (erfl): Do not allow.
31275 [non-C99-based standards] (erfcl): Likewise.
31276 [non-C99-based standards] (gammal): Likewise.
31277 [non-C99-based standards] (hypotl): Likewise.
31278 [non-C99-based standards] (j0l): Likewise.
31279 [non-C99-based standards] (j1l): Likewise.
31280 [non-C99-based standards] (jnl): Likewise.
31281 [non-C99-based standards] (lgammal): Likewise.
31282 [non-C99-based standards] (tgammal): Likewise.
31283 [non-C99-based standards] (y0l): Likewise.
31284 [non-C99-based standards] (y1l): Likewise.
31285 [non-C99-based standards] (ynl): Likewise.
31286 [non-C99-based standards] (isnanl): Likewise.
31287 [non-C99-based standards] (acoshl): Likewise.
31288 [non-C99-based standards] (asinhl): Likewise.
31289 [non-C99-based standards] (atanhl): Likewise.
31290 [non-C99-based standards] (cbrtl): Likewise.
31291 [non-C99-based standards] (expm1l): Likewise.
31292 [non-C99-based standards] (ilogbl): Likewise.
31293 [non-C99-based standards] (log1pl): Likewise.
31294 [non-C99-based standards] (logbl): Likewise.
31295 [non-C99-based standards] (nextafterl): Likewise.
31296 [non-C99-based standards] (remainderl): Likewise.
31297 [non-C99-based standards] (rintl): Likewise.
31298 [non-C99-based standards] (scalbl): Likewise.
31299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31300 [non-C99-based standards] (FP_*): Do not allow.
31301 [C99-based standards] (FP_*): Change to
31302 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31303 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31304 allow.
31305 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31306 (SIG_ERR): Likewise.
31307 [X/Open-based standards] (SIG_HOLD): Likewise.
31308 (SIG_IGN): Likewise.
31309 (SIGABRT): Use macro-int-constant. Specify type. Require
31310 positive value.
31311 (SIGFPE): Likewise.
31312 (SIGILL): Likewise.
31313 (SIGINT): Likewise.
31314 (SIGSEGV): Likewise.
31315 (SIGTER): Likewise.
31316 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31317 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31322 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31323 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31328 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31329 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31330 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31331 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31334 [X/Open-based standards] (SIGTRAP): Likewise.
31335 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31336 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31337 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31338 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31339 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31340 allow.
31341
b9f1922d
IW
313422012-05-08 Ian Wienand <ianw@vmware.com>
31343
31344 [BZ #14080]
31345 * time/tzset.c (__tzset_parse_tz): Update default rules for
31346 daylight time changes in the Energy Policy Act of 2005.
31347
1db86e88
AJ
313482012-05-09 Andreas Jaeger <aj@suse.de>
31349
31350 [BZ #13983]
31351 * elf/ldconfig.c (parse_conf): Change string to make clear that
31352 ldconfig only issued a warning if ld.so.conf does not exist.
31353
dee4a4e3
DM
313542012-05-08 David S. Miller <davem@davemloft.net>
31355
ee0db190
DM
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31357 movxtod instead of popping the value on the stack.
31358
dee4a4e3
DM
31359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31360
6a43ec98
CD
313612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31362
31363 * config.h.in: Add HAVE_ARM_PCS_VFP.
31364
05c2c961
RMG
313652012-05-08 Roland Mc Grath <roland@hack.frob.com>
31366
bcfe3a54
ST
31367 [BZ #13979]
31368 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31369 checking but the checks are disabled for any reason.
05c2c961 31370
4b30f61a
L
313712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31372
31373 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31374 and ELF64_R_TYPE with ELFW(R_TYPE).
31375
eee2bc67
JM
313762012-05-08 Joseph Myers <joseph@codesourcery.com>
31377
7ea5391a
JM
31378 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31379 (ulimit): Likewise.
31380
eee2bc67
JM
31381 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31382 (settimeofday): Likewise.
31383
abb66a67
MF
313842012-05-08 Mike Frysinger <vapier@gentoo.org>
31385
31386 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31387 a struct th_u2 inside the union, and move tu_block/tu_code into
31388 a new th_u3 union of tu_block/tu_code inside of that. Move
31389 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31390 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31391 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31392 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31393 (th_stuff): Change to th_u1.tu_stuff.
31394 (th_data): Define.
31395 (th_msg): Change to th_u1.th_u2.tu_data.
31396
7f18b530
DM
313972012-05-07 David S. Miller <davem@davemloft.net>
31398
05760585
DM
31399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31400
7f18b530
DM
31401 [BZ #14074]
31402 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31403 (SETUP_PIC_REG): Use it.
31404 (SETUP_PIC_REG_LEAF): Use it.
31405
495fd99f
JM
314062012-05-07 Joseph Myers <joseph@codesourcery.com>
31407
31408 [BZ #13885]
31409 [BZ #13923]
31410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31411 USE_AS_EXPM1L.
31412 (EXPL_FINITE): Likewise.
31413 (FLDLOG): Likewise.
31414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31415 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31416 e_expl.S.
31417 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31418 USE_AS_EXPM1L.
31419 (EXPL_FINITE): Likewise.
31420 (FLDLOG): Likewise.
31421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31422 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31423 e_expl.S.
31424 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31425 test of -max_value argument for long double.
31426 * sysdeps/i386/fpu/libm-test-ulps: Update.
31427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31428
6693d694
DM
314292012-05-06 David S. Miller <davem@davemloft.net>
31430
31431 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31432 quad soft-float symbols whose references which are compiler
31433 generated.
31434 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31435
6c23e11c
JM
314362012-05-06 Joseph Myers <joseph@codesourcery.com>
31437
d8b82cad
JM
31438 [BZ #13884]
31439 [BZ #13914]
31440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31441 USE_AS_EXP10L.
31442 (EXPL_FINITE): Likewise.
31443 (FLDLOG): Likewise.
31444 (c0): Likewise.
31445 (c1): Likewise.
31446 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31447 Adjust comments for base varying.
31448 (__expl_finite): Change alias to EXPL_FINITE.
31449 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31450 e_expl.S.
31451 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31452 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31453 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31454 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31455 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31456 USE_AS_EXP10L.
31457 (EXPL_FINITE): Likewise.
31458 (FLDLOG): Likewise.
31459 (c0): Likewise.
31460 (c1): Likewise.
31461 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31462 Adjust comments for base varying.
31463 (__expl_finite): Change alias to EXPL_FINITE.
31464 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31465 tests for bugs.
31466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31467
6c23e11c
JM
31468 [BZ #14064]
31469 * math/libm-test.inc (check_float_internal): Correct ulp
31470 calculation for subnormal expected results.
31471
29ba805c
AJ
314722012-05-06 Andreas Jaeger <aj@suse.de>
31473
31474 * Makeconfig (+math-flags): New, set to -frounding-math.
31475 (+cflags): Add +math-flags so that all of glibc gets compiled with
31476 it.
31477
31478 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31479
7b17aeda
JM
314802012-05-05 Joseph Myers <joseph@codesourcery.com>
31481
5779f134
JM
31482 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31483 Disable one test.
31484
41498f4d
JM
31485 [BZ #13787]
31486 [BZ #13922]
31487 [BZ #14036]
31488 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31489 (__ieee754_expl): Allow for and saturate large arguments.
31490 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31491 (u_threshold): Likewise.
31492 (__exp): Call __ieee754_exp before checking for overflow and
31493 underflow.
31494 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31495 (u_threshold): Likewise.
31496 (__expf): Call __ieee754_expf before checking for overflow and
31497 underflow.
31498 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31499 (u_threshold): Likewise.
31500 (__expl): Call __ieee754_expl before checking for overflow and
31501 underflow.
31502 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31503 (__ieee754_expl): Allow for and saturate large arguments.
31504 * math/libm-test.inc (exp_test): Add another test. Do not allow
31505 missing overflow exception on overflow.
31506 (expm1_test): Do not allow missing overflow exception on overflow.
31507
6698b8bf
JM
31508 * sysdeps/i386/fpu/e_expl.c: Move to ...
31509 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31510 rather than using inline asm.
31511 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31512 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31513 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31514
7b17aeda
JM
31515 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31516 (nice): Likewise.
31517 (poll): Likewise.
31518 (signal): Likewise.
31519 (time): Likewise.
31520 (times): Likewise.
31521
f7c85819
JM
315222012-05-04 Joseph Myers <joseph@codesourcery.com>
31523
31524 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31525 sysdeps/unix/common/syscalls.list.
31526 (fchmod): Likewise.
31527 (fchown): Likewise.
31528 (ftruncate): Likewise.
31529 (getrusage): Likewise.
31530 (gettimeofday): Likewise.
31531 (setpgid): Likewise.
31532 (setregid): Likewise.
31533 (setreuid): Likewise.
31534 (sigaction): Likewise.
31535 (truncate): Likewise.
31536 (vhangup): Likewise.
31537 * sysdeps/unix/common/syscalls.list: Remove file.
31538 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31539 * sysdeps/unix/sysv/linux/Implies: Likewise.
31540
336270d0
L
315412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31542
31543 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31545 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31546 Moved to ...
31547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31548 Here.
31549 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31550 to ...
31551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31552 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31553 to ...
31554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31555 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31556 to ...
31557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31558 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31559 to ...
31560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31561 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31562 to ...
31563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31564 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31565 to ...
31566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31567 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31568 to ...
31569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31570 Here.
31571 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31572 to ...
31573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31574 Here.
31575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31576 to ...
31577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31578 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31579 Moved to ...
31580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31581 Here.
31582 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31583 to ...
31584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31585
d128e450
JM
315862012-05-04 Joseph Myers <joseph@codesourcery.com>
31587
fa8ee516
JM
31588 * sysdeps/unix/common/bits/dirent.h: Remove file.
31589 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31590
d128e450
JM
31591 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31592 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31593 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31594 * sysdeps/unix/bsd/isatty.c: Likewise.
31595 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31596 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31597 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31598
ff8faaf0 315992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31600
62881be4 31601 [BZ #13563]
31dc8730
AZ
31602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31603 long double comparison inaccuracies.
31604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31606
6fef930c
AS
316072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31608
31609 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31611
8f203e6c
JM
316122012-05-04 Joseph Myers <joseph@codesourcery.com>
31613
31614 [BZ #14049]
31615 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31616 nonzero digits before rounding a hex value.
31617 * stdlib/tst-strtod.c (tests): Add another test.
31618
5197d9c2
AK
316192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31620
31621 * sysdeps/s390/fpu/libm-test-ulps: Update.
31622
f0c1dedf
AJ
316232012-05-03 Andreas Jaeger <aj@suse.de>
31624
31625 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31626 does not get optimized out.
31627 (malloc_opt_barrier): New.
31628
a65ef2ae 316292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31630 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31631
2b942cb7 31632 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31633 intermediate file deletion.
2b942cb7 31634 (generated): Add .symlist files.
a65ef2ae 31635
54b71e02
JM
316362012-05-03 Joseph Myers <joseph@codesourcery.com>
31637
31638 [BZ #13775]
31639 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31640 Redirect under this condition.
31641 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31642 [__USE_GNU] (__dprintf_chk): Not under this condition.
31643 [__USE_GNU] (__vdprintf_chk): Likewise.
31644 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31645 under this condition.
31646 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31647 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31648 [__USE_XOPEN2K8] (vdprintf): Likewise.
31649 [__USE_GNU] (__dprintf_chk): Not under this condition.
31650 [__USE_GNU] (__vdprintf_chk): Likewise.
31651 [__USE_GNU] (dprintf): Likewise.
31652 [__USE_GNU] (vdprintf): Likewise.
31653
d3dfcc41
RM
316542012-05-03 Roland McGrath <roland@hack.frob.com>
31655
31656 * elf/Makefile (common-generated): Set this instead of generated for
31657 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31658 $(all-built-dso)-derived lists.
31659
7ac30cc5
AJ
316602012-05-03 Andreas Jaeger <aj@suse.de>
31661
0c51e550
AJ
31662 * sysdeps/i386/fpu/libm-test-ulps: Update.
31663
7ac30cc5
AJ
31664 * FAQ: Removed.
31665 * FAQ.in: Likewise.
31666 * scripts/gen-FAQ.pl: Likewise.
31667 * manual/install.texi (Installation): Point to online location of
31668 FAQ.
31669 * Makefile (files-for-dist): Remove FAQ.
31670 (FAQ): Remove.
31671
d4c2917f
AM
316722012-05-02 Allan McRae <allan@archlinux.org>
31673
31674 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31675 (LDFLAGS-reldepmod5.so): Likewise.
31676 (LDFLAGS-reldep6mod1.so): Likewise.
31677 (LDFLAGS-reldep6mod4.so): Likewise.
31678 (LDFLAGS-reldep8mod3.so): Likewise.
31679 (LDFLAGS-unload4mod1.so): Likewise.
31680 (LDFLAGS-unload4mod2.so): Likewise.
31681 (LDFLAGS-tst-initorder): Likewise.
31682 (LDFLAGS-tst-initordera2.so): Likewise.
31683 (LDFLAGS-tst-initordera3.so): Likewise.
31684 (LDFLAGS-tst-initordera4.so): Likewise.
31685 (LDFLAGS-tst-initorderb2.so): Likewise.
31686 (LDFLAGS-noload): Likewise.
31687 (LDFLAGS-next): Likewise.
31688 (LDFLAGS-order2mod1.so): Likewise.
31689 (LDFLAGS-order2mod2.so): Likewise.
31690 (LDFLAGS-tst-initorder2): Likewise.
31691 (LDFLAGS-tst-initorder2a.so): Likewise.
31692 (LDFLAGS-tst-initorder2b.so): Likewise.
31693 (LDFLAGS-tst-initorder2c.so): Likewise.
31694 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31695
d77f993f
DM
316962012-05-02 David S. Miller <davem@davemloft.net>
31697
31698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31699
171a70b4
PP
317002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31701
31702 [BZ #14055]
31703 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31704
0be196ad
AJ
317052012-05-02 Andreas Jaeger <aj@suse.de>
31706
31707 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31708 since we manipulate rounding mode.
31709 (CPPFLAGS-test-idouble.c): Likewise.
31710 (CPPFLAGS-test-ifloat.c): Likewise.
31711 (CFLAGS-test-ldouble.c): Likewise.
31712 (CFLAGS-test-double.c): Likewise.
31713 (CFLAGS-test-float.c): Likewise.
31714 (CFLAGS-test-misc.c): Likewise.
31715 (CFLAGS-test-test-fenv.c): Likewise.
31716
4f9d04aa
AZ
317172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31718
2b942cb7
RM
31719 [BZ #2550]
31720 [BZ #2570]
31721 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31722 comparisons to determine direction to adjust input.
4f9d04aa 31723
82a79e7d
RM
317242012-05-01 Roland McGrath <roland@hack.frob.com>
31725
f5a01ca9
RM
31726 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31727 output to the target.
31728
90fe4186
RM
31729 * scripts/localplt.awk: New file.
31730 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31731 (check-localplt-CFLAGS): Variable removed.
31732 ($(all-built-dso:=.jmprel)): New static pattern rule.
31733 (generated): Add those targets.
31734 (localplt-built-dso): New variable.
31735 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31736
31737 * elf/check-localplt.c: File removed.
31738
82397ed6
RM
31739 * scripts/check-execstack.awk: New file.
31740 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31741 (check-execstack-CFLAGS): Variable removed.
31742 ($(objpfx)check-execstack.h): Target removed.
31743 ($(objpfx)execstack-default): New target.
31744 (generated): Add that instead of check-execstack.h.
31745 ($(all-built-dso:=.phdr)): New static pattern rule.
31746 (generated): Add those targets.
31747 * elf/check-execstack.c: File removed.
31748
82a79e7d
RM
31749 * scripts/check-textrel.awk: New file.
31750 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31751 (check-textrel-CFLAGS): Variable removed.
31752 (all-built-dso): Use := to define.o
31753 ($(all-built-dso:=.dyn)): New static pattern rule.
31754 (generated): Add those targets.
31755 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31756 * config.make.in (READELF): New substituted variable.
31757 * elf/check-textrel.c: File removed.
31758
62fde54f 317592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31760
615605c9
JM
31761 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31762 allow.
31763 * conform/data/ctype.h-data [C99-based standards] (isblank):
31764 Expect function.
31765 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31766 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31768 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31769 Specify type. Require positive value.
31770 (EILSEQ): Likewise.
31771 (ERANGE): Likewise.
31772 [ISO || POSIX] (EILSEQ): Do not expect.
31773 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31774 Specify type. Require positive value.
31775 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31780 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31781 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31782 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31784 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31786 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31787 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31788 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31789 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31790 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31791 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31792 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31793 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31794 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31795 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31796 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31797 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31798 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31849 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31850 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31851 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31852 Require >= 2.
31853 (FLT_ROUNDS): Expect as macro, not constant.
31854 (FLT_MANT_DIG): Use macro-int-constant.
31855 (DBL_MANT_DIG): Likewise.
31856 (LDBL_MANT_DIG): Likewise.
31857 (FLT_DIG): Likewise.
31858 (DBL_DIG): Likewise.
31859 (LDBL_DIG): Likewise.
31860 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31861 (DBL_MIN_EXP): Likewise.
31862 (LDBL_MIN_EXP): Likewise.
31863 (FLT_MAX_EXP): Use macro-int-constant.
31864 (DBL_MAX_EXP): Likewise.
31865 (LDBL_MAX_EXP): Likewise.
31866 (FLT_MAX_10_EXP): Likewise.
31867 (DBL_MAX_10_EXP): Likewise.
31868 (LDBL_MAX_10_EXP): Likewise.
31869 (FLT_MAX): Use macro-constant.
31870 (DBL_MAX): Likewise.
31871 (LDBL_MAX): Likewise.
31872 (FLT_EPSILON): Use macro-constant. Give upper bound.
31873 (DBL_EPSILON): Likewise.
31874 (LDBL_EPSILON): Likewise.
31875 (FLT_MIN): Likewise.
31876 (DBL_MIN): Likewise.
31877 (LDBL_MIN): Likewise.
31878 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31879 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31880 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31881 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31882 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31883 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31884 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31885 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31886 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31887 [ISO11] (FLT_TRUE_MIN): Likewise.
31888 [ISO11] (LDBL_TRUE_MIN): Likewise.
31889 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31890 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31891 (SCHAR_MIN): Use macro-int-constant. Specify type.
31892 (SCHAR_MAX): Likewise.
31893 (UCHAR_MAX): Likewise.
31894 (CHAR_MIN): Likewise.
31895 (CHAR_MAX): Likewise.
31896 (MB_LEN_MAX): Use macro-int-constant.
31897 (SHRT_MIN): Use macro-int-constant. Specify type.
31898 (SHRT_MAX): Likewise.
31899 (USHRT_MAX): Likewise.
31900 (INT_MAX): Likewise.
31901 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31902 bound negative.
31903 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31904 bound with "U".
31905 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31906 bound with "L".
31907 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31908 bound negative. Suffix upper bound with "L".
31909 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31910 bound with "UL".
31911 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31912 Specify type.
31913 [C99-based standards] (LLONG_MAX): Likewise.
31914 [C99-based standards] (ULLONG_MAX): Likewise.
31915 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31916 == 0.
31917 [ISO11] (max_align_t): Require type.
31918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31919
c9140a62
JM
31920 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31921 from $CFLAGS, without defining away __attribute__ calls.
31922 (checknamespace): Use $CFLAGS_namespace.
31923
9af0bf29
JM
31924 * conform/conformtest.pl (@keywords): Only include C99 keywords
31925 for standards based on C99 or C11.
31926
343222a2
JM
31927 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31928 Disable tests.
31929 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31930 UNIX98]: Likewise.
31931
661f8cf0
JM
31932 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31933 usability of symbols in #if.
31934
ee74b9cb
JM
31935 * conform/conformtest.pl: If macro or constant types start
31936 "promoted:", expect the symbol to be of the following type
31937 promoted by the integer promotions.
62fde54f 31938
aafc49b3
JM
31939 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31940 in one place. Also handle "macro-constant".
31941
fefdf574
JM
31942 * conform/conformtest.pl: Only accept expected macro values with
31943 "==". Parse all "macro" lines in one place.
31944 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31945
f2d922fe
JM
31946 * conform/conformtest.pl: Handle braced types on "constant" lines
31947 instead of handling "typed-constant".
31948 * conform/data/signal.h-data: Use "constant" instead of
31949 "typed-constant".
31950
d22956c9
JM
31951 * conform/conformtest.pl: Handle "optional-" at start of lines in
31952 one place rather than duplicating several cases. Handle each
31953 format of "macro" line with initial "optional-".
31954
028e2e38
JM
31955 * conform/conformtest.pl: Only accept expected constant or
31956 optional-constant values with "==". Parse all "constant" lines in
31957 one place. Parse all "optional-constant" lines in one place.
31958 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31959 * conform/data/fmtmsg.h-data: Likewise.
31960 * conform/data/netinet/in.h-data: Likewise.
31961 * conform/data/tar.h-data: Likewise.
31962 * conform/data/limits.h-data: Use "==" form on "constant" and
31963 "optional-constant" lines.
31964
1b8f2850
JM
31965 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31966 Use -std=c99 for XOPEN2K.
31967 (@knownproblems): Remove.
31968 (newtoken): Don't check %isknown.
31969
a05a144b
JM
31970 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31971 Do not expect macro.
31972 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31984 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31985 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31991 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32002 [XPG3] (acosh): Likewise.
32003 [XPG3] (asinh): Likewise.
32004 [XPG3] (atanh): Likewise.
32005 [XPG3] (cbrt): Likewise.
32006 [XPG3] (expm1): Likewise.
32007 [XPG3] (ilogb): Likewise.
32008 [XPG3] (log1p): Likewise.
32009 [XPG3] (logb): Likewise.
32010 [XPG3] (nextafter): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32013 [XPG3] (remainder): Likewise.
32014 [XPG3] (rint): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32022 [UNIX98 || XOPEN2K] (scalb): Expect.
32023 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32024 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32160
73c5ebe3
JM
32161 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32162 _XOPEN_SOURCE_EXTENDED for XPG4.
32163
39c33b6c
JM
32164 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32165
62fde54f
JM
32166 * Makeconfig (localtime): Remove variable.
32167 (inst_localtime-file): Likewise.
32168
0741d64c
AS
321692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32170
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32172 Update.
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32174 Update.
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32176 Update.
32177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32178 Update.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32180 Update.
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32182 Update.
32183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32184 Update.
32185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32186 Update.
32187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32188 Update.
32189
7cb029ee
JM
321902012-05-01 Joseph Myers <joseph@codesourcery.com>
32191
32192 [BZ #2550]
32193 [BZ #2570]
32194 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32195 comparisons to determine direction to adjust input.
32196 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32197 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32199 Likewise.
32200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32201 Likewise.
32202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32203 Likewise.
32204 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32205 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32206 Likewise.
32207 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32208 Likewise.
32209 * math/libm-test.inc (nexttoward_test): Add more tests.
32210
412bd966
AS
322112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32212
32213 [BZ #14040]
32214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32215 in version GLIBC_2.1, not GLIBC_2.0.
32216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32217 Likewise.
32218
9568c0c2
JM
322192012-04-30 Joseph Myers <joseph@codesourcery.com>
32220
adfbc8ac
JM
32221 [BZ #13942]
32222 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32223 (1 - x) * (1 + x).
32224 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32225 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32226 * math/libm-test.inc (acos_test): Add more tests.
32227 (asin_test): Likewise.
32228 * sysdeps/i386/fpu/libm-test-ulps: Update.
32229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32230
5ba3cc69
JM
32231 [BZ #14034]
32232 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32233 of square root.
32234 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32235 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32236 * math/libm-test.inc (acos_test_tonearest): New function.
32237 (acos_test_towardzero): Likewise.
32238 (acos_test_downward): Likewise.
32239 (acos_test_upward): Likewise.
32240 (asin_test_tonearest): Likewise.
32241 (asin_test_towardzero): Likewise.
32242 (asin_test_downward): Likewise.
32243 (asin_test_upward): Likewise.
32244 (main): Call the new functions.
32245 * sysdeps/i386/fpu/libm-test-ulps: Update.
32246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32247
9568c0c2
JM
32248 [BZ #13884]
32249 [BZ #13924]
32250 * math/e_exp10.c: Include <float.h>.
32251 (__ieee754_exp10): Handle underflow here rather than multiplying
32252 large negative argument by M_LN10.
32253 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32254 of __ieee754_expf.
32255 * math/e_exp10l.c: Include <float.h>.
32256 (__ieee754_exp10l): Handle underflow here rather than multiplying
32257 large negative argument by M_LN10l.
32258 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32259 spurious overflow exception on underflow.
32260
5ac3ea17
MP
322612012-04-29 Marek Polacek <polacek@redhat.com>
32262
32263 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32264 (__fortify_function): New macro.
32265 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32266 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32267 __extern_always_inline.
32268 * libio/bits/stdio2.h: Likewise.
32269 * libio/bits/stdio.h: Likewise.
32270 * string/string.h: Likewise.
32271 * string/bits/string3.h: Likewise.
32272 * include/stdio.h: Likewise.
32273 * stdlib/bits/stdlib.h: Likewise.
32274 * stdlib/stdlib.h: Likewise.
32275 * rt/bits/mqueue2.h: Likewise.
32276 * rt/mqueue.h: Likewise.
32277 * posix/bits/unistd.h: Likewise.
32278 * posix/unistd.h: Likewise.
32279 * io/bits/poll2.h: Likewise.
32280 * io/bits/fcntl2.h: Likewise.
32281 * io/fcntl.h: Likewise.
32282 * io/sys/poll.h: Likewise.
32283 * misc/bits/syslog.h: Likewise.
32284 * misc/bits/syslog-ldbl.h: Likewise.
32285 * misc/sys/syslog.h: Likewise.
32286 * socket/bits/socket2.h: Likewise.
32287 * socket/sys/socket.h: Likewise.
32288 * debug/tst-chk1.c: Likewise.
32289 * wcsmbs/bits/wchar2.h: Likewise.
32290 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32291 * wcsmbs/wchar.h: Likewise.
32292
ecf0ebfb
AJ
322932012-04-29 Andreas Jaeger <aj@suse.de>
32294
32295 * Makerules (tests): Remove enable-check-abi protection.
32296 (check-abi-warn): Remove.
32297 (check-abi-%): Remove check-abi-warn usage.
32298
32299 * configure.in: Remove check-abi configure option.
32300 * configure: Regenerated.
32301 * config.make.in (enable-check-abi): Remove.
32302
6d5c57fa
AS
323032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32304
24c5d07e 32305 [BZ #14033]
ded5180a
AS
32306 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32307 double functions to double *_finite functions.
32308
7e0d315d
AS
32309 [BZ #13941]
32310 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32311 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32312 LDBL_MIN_EXP.
32313 * stdio-common/Makefile (tests): Add tst-sprintf3.
32314 * stdio-common/tst-sprintf3.c: New file.
32315
6d5c57fa
AS
32316 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32317 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32318
0749ff8b
JM
323192012-04-28 Joseph Myers <joseph@codesourcery.com>
32320
32321 * conform/conformtest.pl: Remove duplicate typed-constant
32322 handling.
32323
8dbd5d7b
DM
323242012-04-28 David S. Miller <davem@davemloft.net>
32325
32326 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32327 (check-abi-%): Remove AWK script prerequisite and explicit
32328 abilist directory.
32329 (check-abi): Rewrite to just diff the symlist with the abilist.
32330 (config-tls, config-abi-config): Delete, no longer used.
32331 (update-abi-%): Remove AWK script and explicit abilist directory.
32332 (update-abi): Rewrite to simply compare and conditionally copy the
32333 symlist and the sysdep abilist file. Remove update-abi-config
32334 checks.
32335 * abilist/ld.abilist: Remove.
32336 * abilist/libBrokenLocale.abilist: Remove.
32337 * abilist/libanl.abilist: Remove.
32338 * abilist/libcrypt.abilist: Remove.
32339 * abilist/libdl.abilist: Remove.
32340 * abilist/librt.abilist: Remove.
32341 * abilist/libthread_db.abilist: Remove.
32342 * abilist/libutil.abilist: Remove.
32343 * scripts/extract-abilist.awk: Remove.
32344 * scripts/merge-abilist.awk: Remove.
32345 * sysdeps/generic/libcidn.abilist: New file.
32346 * sysdeps/generic/libnss_compat.abilist: New file.
32347 * sysdeps/generic/libnss_db.abilist: New file.
32348 * sysdeps/generic/libnss_dns.abilist: New file.
32349 * sysdeps/generic/libnss_files.abilist: New file.
32350 * sysdeps/generic/libnss_hesiod.abilist: New file.
32351 * sysdeps/generic/libnss_nis.abilist: New file.
32352 * sysdeps/generic/libnss_nisplus.abilist: New file.
32353 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32354 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32355 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32356 file.
32357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32358 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32359 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32360 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32361 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32362 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32363 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32364 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32365 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32366 file.
32367 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32368 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32369 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32370 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32371 file.
32372 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32374 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32375 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32376 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32377 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32378 file.
32379 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32380 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32381 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32382 file.
32383 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32385 New file.
32386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32387 New file.
32388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32389 New file.
32390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32391 New file.
32392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32393 New file.
32394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32395 New file.
32396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32397 New file.
32398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32399 New file.
32400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32401 New file.
32402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32403 New file.
32404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32405 New file.
32406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32407 New file.
32408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32409 New file.
32410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32411 file.
32412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32413 New file.
32414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32415 New file.
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32417 file.
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32419 New file.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32421 New file.
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32423 file.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32425 New file.
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32427 New file.
32428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32429 New file.
32430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32431 New file.
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32433 New file.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32435 New file.
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32438 file.
32439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32440 New file.
32441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32442 file.
32443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32444 file.
32445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32446 file.
32447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32448 file.
32449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32450 file.
32451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32452 New file.
32453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32454 file.
32455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32456 file.
32457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32458 New file.
32459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32460 file.
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32463 file.
32464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32465 New file.
32466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32467 file.
32468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32469 file.
32470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32471 file.
32472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32473 file.
32474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32475 file.
32476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32477 New file.
32478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32479 file.
32480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32481 file.
32482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32483 New file.
32484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32485 file.
32486 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32487 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32488 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32489 file.
32490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32491 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32492 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32494 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32495 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32496 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32497 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32498 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32499 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32502 file.
32503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32504 New file.
32505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32506 file.
32507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32508 file.
32509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32510 file.
32511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32512 file.
32513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32514 file.
32515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32516 New file.
32517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32518 New file.
32519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32520 file.
32521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32522 New file.
32523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32524 file.
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32527 file.
32528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32529 New file.
32530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32531 file.
32532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32533 file.
32534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32535 file.
32536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32537 file.
32538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32539 file.
32540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32541 New file.
32542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32543 New file.
32544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32545 file.
32546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32547 New file.
32548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32549 file.
32550
41d73a1b
JM
325512012-04-28 Joseph Myers <joseph@codesourcery.com>
32552
32553 * conform/conformtest.pl: Fix typo in handling typed-constant from
32554 allow-header.
32555
28aeeda4
JM
325562012-04-27 Joseph Myers <joseph@codesourcery.com>
32557
adae8f5e
JM
32558 * README: Cut down references to pre-2.6 Linux kernels and
32559 Linuxthreads. Update lists of configurations in libc and ports
32560 and sort alphabetically. Say "or newer" with Linux kernel version
32561 requirements.
32562
28aeeda4
JM
32563 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32564
a462cb63
RA
325652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32566
32567 [BZ #887]
32568 * math/libm-test.inc (logb_test_downward): New test to expose
32569 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32570 rounding mode.
32571
6ad3493e
JM
325722012-04-27 Joseph Myers <joseph@codesourcery.com>
32573
32574 [BZ #14027]
32575 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32576 to be done.
32577 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32578 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32579
2ce4f015
JM
325802012-04-26 Joseph Myers <joseph@codesourcery.com>
32581
5aeb141a
JM
32582 * sysdeps/unix/i386/brk.S: Remove file.
32583 * sysdeps/unix/i386/dl-brk.S: Likewise.
32584 * sysdeps/unix/i386/pipe.S: Likewise.
32585 * sysdeps/unix/i386/sigreturn.S: Likewise.
32586 * sysdeps/unix/i386/syscall.S: Likewise.
32587 * sysdeps/unix/i386/vfork.S: Likewise.
32588 * sysdeps/unix/i386/wait.S: Likewise.
32589
7143acae
JM
32590 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32591 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32592
2ce4f015
JM
32593 * configure.in (arm*-none*): Do not allow without
32594 --enable-hacker-mode.
32595 (netbsd*): Remove case setting base_os.
32596 (386bsd*): Likewise.
32597 (freebsd*): Likewise.
32598 (bsdi*): Likewise.
32599 (osf*): Likewise.
32600 (sunos*): Likewise.
32601 (ultrix*): Likewise.
32602 (newsos*): Likewise.
32603 (dynix*): Likewise.
32604 (*bsd*): Likewise.
32605 (sysv*): Likewise.
32606 (isc*): Likewise.
32607 (esix*): Likewise.
32608 (sco*): Likewise.
32609 (minix*): Likewise.
32610 (irix4*): Likewise.
32611 (irix6*): Likewise.
32612 (solaris[2-9]*): Likewise.
32613 (none): Likewise.
32614 * configure: Regenerated.
32615
0ac229c8
AZ
326162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32617
32618 [BZ #11521]
32619 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32620 overflow or cancellation in calculating denominator.
32621 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32623 down expression to avoid unexpected rounding in newer GCCs.
32624 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32625
33f244f4
DM
326262012-04-26 David S. Miller <davem@davemloft.net>
32627
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32629 long-double compat symbols.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32643
cfa1f3e8
DM
326442012-04-25 David S. Miller <davem@davemloft.net>
32645
32646 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32647 HWCAP_* values only after the memory barriers have been defined.
32648 (atomic_full_barrier): Define.
32649 (atomic_read_barrier): Define.
32650 (atomic_write_barrier): Define.
32651
6e236b92
SP
326522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32653
32654 * shlib-versions: Add libgcc_s version information.
32655 * sysdeps/generic/libgcc_s.h: Remove.
32656 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32657 libgcc_s.h.
32658 * sysdeps/gnu/unwind-resume.c: Likewise.
32659 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32660
aab39a09
DM
326612012-04-25 David S. Miller <davem@davemloft.net>
32662
32663 * sysdeps/unix/sparc/brk.S: Delete.
32664 * sysdeps/unix/sparc/dl-brk.S: Delete.
32665 * sysdeps/unix/sparc/pipe.S: Delete.
32666 * sysdeps/unix/sparc/sysdep.S: Delete.
32667 * sysdeps/unix/sparc/sysdep.h: Delete.
32668 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32669 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32670 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32671 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32672 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32673 (JUMPTARGET): Remove.
32674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32675 sysdeps/unix/sparc/sysdep.h
32676 (ENTRY, END): Remove.
32677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32678
a3cc4f48
JM
326792012-04-25 Joseph Myers <joseph@codesourcery.com>
32680
2ed8cda2
JM
32681 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32682 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32683 -DIS_IN_build.
32684
35d76d59
JM
32685 * timezone/README: Update upstream location and email address for
32686 tzcode and tzdata.
32687 * timezone/zdump.c: Update from tzcode 2012b.
32688 * timezone/zic.c: Likewise.
32689
a3cc4f48
JM
32690 * configure.in (libc_cv_as_needed): Remove test.
32691 * configure: Regenerated.
32692 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32693 conditional definition.
32694 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32695 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32696 * config.make.in (have-as-needed): Remove variable.
32697
ceab42c3
SP
326982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32699 Paul Pluzhnikov <ppluzhnikov@google.com>
32700
32701 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32702 strings correctly.
32703
3ce2865f
CLT
327042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32705
32706 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32707 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32708 * sysdeps/sh/strlen.S: Likewise.
32709
f37e0d68
JM
327102012-04-24 Joseph Myers <joseph@codesourcery.com>
32711
ae186e9a
JM
32712 * sysdeps/unix/fork.S: Remove file.
32713 * sysdeps/unix/i386/fork.S: Likewise.
32714 * sysdeps/unix/sparc/fork.S: Likewise.
32715
b96914af
JM
32716 * sysdeps/unix/system.c: Remove file.
32717 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32718
f37e0d68
JM
32719 * sysdeps/unix/getegid.S: Remove file.
32720 * sysdeps/unix/geteuid.S: Likewise.
32721
87ef29ca
RM
327222012-04-24 Roland McGrath <roland@hack.frob.com>
32723
83bcd236
RM
32724 * scripts/check-localplt.awk: New file.
32725 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32726 of diff.
32727 * scripts/data/localplt-generic.data: Add a comment.
32728
87ef29ca
RM
32729 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32730 NODE when __dir_mkfile failed.
32731 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32732 Reported by Ludovic Courtès <ludo@gnu.org>.
32733
e5a6e567
AJ
327342012-04-24 Andreas Jaeger <aj@suse.de>
32735
32736 * Makerules (common-clean): Also remove gen-as-const-headers
32737 files.
32738
c1820385
JM
327392012-04-24 Joseph Myers <joseph@codesourcery.com>
32740
32741 * Makerules (native-compile): Do not change working directory for
32742 build. Use $(OUTPUT_OPTION) in command.
32743 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32744
94e02fc4
AZ
327452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32746
32747 [BZ #13886]
32748 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32749 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32750 * math/libm-test.inc (floor_test): Add more tests.
32751 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32752
3a533ca3
JM
327532012-04-24 Joseph Myers <joseph@codesourcery.com>
32754
940ab4b3
JM
32755 * sysdeps/unix/getdents.c: Remove file.
32756 * sysdeps/unix/sysv/getdents.c: Likewise.
32757 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32758
90e037bd
JM
32759 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32760 sysdeps/unix/mman/syscalls.list.
32761 (mmap): Likewise.
32762 (mprotect): Likewise.
32763 (msync): Likewise.
32764 (munmap): Likewise.
32765 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32766 * sysdeps/unix/mman/syscalls.list: Remove.
32767 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32768
3a533ca3
JM
32769 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32770 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32771 * configure: Regenerated.
32772 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32773 $(libgcc_s_suffix).
32774 * config.make.in (libgcc_s_suffix): Remove variable.
32775
1ad743de
JM
327762012-04-23 Joseph Myers <joseph@codesourcery.com>
32777
4ad451e2
JM
32778 * sysdeps/unix/sysv/gethostname.c: Move to ...
32779 * sysdeps/posix/gethostname.c: ... here.
32780
5e37ce39
JM
32781 * sysdeps/unix/execve.S: Remove file.
32782
1ad743de
JM
32783 * sysdeps/unix/_exit.S: Remove file.
32784
4e681b5b
AJ
327852012-04-23 Andreas Jaeger <aj@suse.de>
32786
32787 [BZ #13739]
32788 * manual/Makefile: Remove make dist support, there's no
32789 need for a stand-alone documentation tar ball.
32790 (TEXI2DVI): Define always, it's not in Makeconfig.
32791 (dist): Removed.
32792 (tar-it): Removed.
32793 (edition): Removed.
32794 (glibc-doc-$(edition).tar): Removed
32795 (%.Z): Removed.
32796 (%.gz): Removed.
32797 (%.uu): Removed.
32798 (ETAGS): Remove, it's in Makeconfig.
32799 (move-if-change): Remove, it's in Makeconfig.
32800
38686a03 328012012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32802
32803 [BZ #13970]
32804 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32805 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32806 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32807 (strtod_l, strtof_l, strtold_l): Remove __wur.
32808 It is not necessarily an error to ignore strtol's return value.
32809 One can reliably look at the stored endptr to decide whether
32810 the number had valid syntax.
32811
7c0616fa
AJ
328122012-04-21 Andreas Jaeger <aj@suse.de>
32813
803cb6b7 32814 [BZ #13739]
7c0616fa
AJ
32815 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32816
b0fe253f
JM
328172012-04-21 Joseph Myers <joseph@codesourcery.com>
32818
32819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32820 * sysdeps/unix/sysv/Versions: Remove file.
32821
8280f22d
MT
328222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32823
32824 [BZ #13927]
32825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32826
75ce411f 328272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32828
32829 [BZ #7064]
32830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32831 version from __vm86.
32832
097d59fa
JM
328332012-04-20 Joseph Myers <joseph@codesourcery.com>
32834
a90f3bcb
JM
32835 * sysdeps/unix/common/lxstat.c: Remove file.
32836 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32837
edc7ea78
JM
32838 * sysdeps/unix/sysv/Makefile: Remove file.
32839
cb78c221
JM
32840 * sysdeps/unix/sysv/direct.h: Remove file.
32841
efa6a45f
JM
32842 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32843 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32844 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32845 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32846 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32847 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32848 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32849
9c9f2d0c
JM
32850 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32851
4541c83b
JM
32852 * sysdeps/unix/xmknod.c: Remove file.
32853 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32854
f5d153a0
JM
32855 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32856
aa746595
JM
32857 * sysdeps/unix/sysv/i386/time.S: Remove file.
32858
cce5905e
JM
32859 * sysdeps/unix/fxstat.c: Remove file.
32860 * sysdeps/unix/xstat.c: Likewise.
32861 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32862
37fa3841
JM
32863 * sysdeps/unix/sysv/sigaction.c: Remove file.
32864
ff1962a3
JM
32865 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32866 (sysdep_headers): Remove variable.
32867 [termio.h not in sysdep_headers] (generated): Likewise.
32868 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32869 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32870 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32871 * sysdeps/unix/sysv/tcflow.c: Likewise.
32872 * sysdeps/unix/sysv/tcflush.c: Likewise.
32873 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32874 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32875 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32876 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32877 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32878
e7740d31
JM
32879 * sysdeps/unix/siglist.c: Remove file.
32880
ee06f18b
JM
32881 * sysdeps/unix/getppid.S: Remove file.
32882
097d59fa
JM
32883 * sysdeps/unix/mkdir.c: Remove file.
32884 * sysdeps/unix/rmdir.c: Likewise.
32885
ff3d51ec
AS
328862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32887
32888 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32889 ERR_MAX value.
32890 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32891 errlist-compat value.
32892
50f81fd7
DM
328932012-04-18 David S. Miller <davem@davemloft.net>
32894
32895 * sysdeps/generic/memcopy.h (reg_char): Delete.
32896 * debug/strcat_chk.c: Use char, not reg_char.
32897 * debug/strcpy_chk.c: Likewise.
32898 * debug/strncat_chk.c: Likewise.
32899 * debug/strncpy_chk.c: Likewise.
32900 * string/memchr.c: Likewise.
32901 * string/memrchr.c: Likewise.
32902 * string/rawmemchr.c: Likewise.
32903 * string/strcat.c: Likewise.
32904 * string/strchr.c: Likewise.
32905 * string/strchrnul.c: Likewise.
32906 * string/strcmp.c: Likewise.
32907 * string/strcpy.c: Likewise.
32908 * string/strncat.c: Likewise.
32909 * string/strncmp.c: Likewise.
32910 * string/strncpy.c: Likewise.
32911
8ff41c46
WS
329122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32913
32914 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32915 __builtin_memcopy is called when src and dest ranges are known to not
32916 overlap.
32917
6b652f46
WS
329182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32919
32920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32921 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32922 fwd_align_merge macro call.
32923 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32924 bwd_align_merge macro call.
32925 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32926
b282631e
WS
329272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32928
32929 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32930 bwd_align_merge macros.
32931 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32932 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32933 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32934
95aa737c
DM
329352012-04-18 David S. Miller <davem@davemloft.net>
32936
32937 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32938
7a99a614
AJ
329392012-04-18 Andreas Jaeger <aj@suse.de>
32940
32941 [BZ# 6794]
32942 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32943 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32945
32946 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32947 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32948 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32949
32950 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32951 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32952 Adjust for changed ldbl-128 files.
32953
32954 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32955 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32956 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32957
e5270c23
DM
329582012-04-17 David S. Miller <davem@davemloft.net>
32959
32960 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32961
fb5e92c9
AS
329622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32963
32964 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32965 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32966 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32967 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32968 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32969 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32970
76da7265
AZ
329712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32972
32973 [BZ #6794]
32974 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32975 * math/libm-test.inc: Add ilogb errno and exception tests.
32976 * math/w_ilogb.c: New file: ilogb wrapper.
32977 * math/w_ilogbf.c: New file: ilogbf wrapper.
32978 * math/w_ilogbl.c: New file: ilogbl wrapper.
32979 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32980 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32981 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32982 exception being thrown with 0.0 as argument.
32983 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32984 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32985 exception being thrown with 0.0 as argument.
32986 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32987 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32988 exception being thrown with 0.0 as argument.
32989 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32990 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32991 exception being thrown with 0.0 as argument.
32992 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32993 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32994 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32995 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32996 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32997 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32998 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32999 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33000 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33001
0396e69d
PB
330022012-04-17 Petr Baudis <pasky@ucw.cz>
33003
33004 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33005 with altivec.
33006
750b5926
MP
330072012-04-16 Marek Polacek <polacek@redhat.com>
33008
33009 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33010
751728a1
MP
330112012-04-16 Marek Polacek <polacek@redhat.com>
33012
33013 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33014 operands of fdivp instruction.
33015
34a27407
L
330162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33017
33018 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33019 * elf/tst-auditmod3b.c: Likewise.
33020 * elf/tst-auditmod4b.c: Likewise.
33021 * elf/tst-auditmod5b.c: Likewise.
33022 * elf/tst-auditmod6b.c: Likewise.
33023 * elf/tst-auditmod6c.c: Likewise.
33024 * elf/tst-auditmod7b.c: Likewise.
33025 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33026 * sysdeps/x86_64/preconfigure.in: Likewise.
33027 * sysdeps/x86_64/preconfigure: Regenerated.
33028
7e73e17d
L
330292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33030
33031 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33032 __ILP32__.
33033
c7a6ab72
AB
330342012-04-13 Antoine Balestrat <merkil33@gmail.com>
33035
33036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33037 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33038
a9e8e0e0
CL
330392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33040
33041 [BZ #13973]
33042 * locale/iso-639.def: Fix gl language name. Spotted by
33043 Yaron Shahrabani.
33044
ec98af7d
RM
330452012-04-12 Roland McGrath <roland@hack.frob.com>
33046
33047 [BZ #2074]
33048 * libio/libio.h (__io_write_fn): Update comment.
33049
247c3ede
PB
330502012-04-12 Petr Baudis <pasky@ucw.cz>
33051
33052 [BZ #2074]
33053 * stdio.texi (Hook Functions): The user provided writer function
33054 is not allowed to return -1.
33055
55939d6d
DM
330562012-04-11 David S. Miller <davem@davemloft.net>
33057
33058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33059
90020f5a
MF
330602012-04-11 Mike Frysinger <vapier@gentoo.org>
33061
33062 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33063 Add a leading slash to rtkaio.
33064
288f9098
JM
330652012-04-11 Jim Meyering <meyering@redhat.com>
33066
90020f5a
MF
33067 [BZ #11959]
33068 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33069 It is not necessarily an error to ignore fwrite's return
33070 value. One can reliably use ferror to test for errors after
33071 the fact.
288f9098 33072
4be2b570
L
330732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33074
33075 * bits/types.h (__snseconds_t): New type.
33076 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33077
33078 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33080 (__SNSECONDS_T_TYPE): Likewise.
33081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33082 (__SNSECONDS_T_TYPE): Likewise.
33083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33084 (__SNSECONDS_T_TYPE): Likewise.
33085
288f9098 330862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33087
33088 [BZ #2636]
33089 * manual/time.texi (Processor Time): Return type of times is
33090 elapsed real time since an arbitrary point in the past.
33091 (CPU Time): Move CLK_TCK from here...
33092 (Processor Time): ...to here. Correct description.
33093 * manual/conf.texi (Constants for Sysconf): Correct description of
33094 _SC_CLK_TCK.
33095
d7dd4413
DM
330962012-04-10 David S. Miller <davem@davemloft.net>
33097
33098 [BZ #13967]
33099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33100 where the is a gap between DT_REL(A) and DT_JMPREL.
33101
b46068fc
L
331022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33107
73d65cc3
SP
331082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33109
33110 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33111 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33112 (dl_main): Handle --inhibit-cache.
33113 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33114 _dl_inhibit_cache.
33115 * elf/dl-load.c (_dl_map_object): Use it.
33116 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33117
bcc8d661
JM
331182012-04-09 Joseph Myers <joseph@codesourcery.com>
33119
8f9a2fae
JM
33120 [BZ #13872]
33121 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33122 (__ieee754_powl): Saturate large exponents rather than testing for
33123 overflow of y*log2(x).
33124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33125 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33126 exceptions.
33127
bcc8d661
JM
33128 [BZ #11521]
33129 * math/s_ctan.c: Include <float.h>.
33130 (__ctan): Avoid internal overflow or cancellation in calculating
33131 denominator.
33132 * math/s_ctanf.c: Likewise.
33133 * math/s_ctanl.c: Likewise.
33134 * math/s_ctanh.c: Likewise.
33135 * math/s_ctanhf.c: Likewise.
33136 * math/s_ctanhl.c: Likewise.
33137 * math/libm-test.inc (ctan_test): Add more tests.
33138 (ctanh_test): Likewise.
33139 * sysdeps/i386/fpu/libm-test-ulps: Update.
33140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141
823fbbb4
AJ
331422012-04-09 Andreas Jaeger <aj@suse.de>
33143
03879793
AJ
33144 [BZ #6894]
33145 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33146 is an optional BSD extension.
33147
823fbbb4
AJ
33148 [BZ #10254]
33149 * manual/stdio.texi (Opening Streams): Document additional fopen
33150 parameters.
33151
8de131cb
RM
331522012-04-09 Roland McGrath <roland@hack.frob.com>
33153
33154 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33155 %eax without telling the compiler.
33156
c0ed9d7d
CD
331572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33158
33159 [BZ # 13963]
33160 * manual/install.texi: Use sourceware.org.
33161
c483f6b4
JM
331622012-04-09 Joseph Myers <joseph@codesourcery.com>
33163
d7dd9453
JM
33164 [BZ #13873]
33165 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33166 (__ieee754_pow): Generate overflow and underflow using huge*huge
33167 and tiny*tiny rather than just returning constant infinity or zero
33168 for large exponents.
33169 * math/libm-test.inc (pow_test): Require overflow exceptions for
33170 applicable cases of large exponents.
33171
c483f6b4
JM
33172 [BZ #706]
33173 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33174 (__ieee754_pow): Use iterative multiplication algorithm only for
33175 integer exponents with absolute value below 1024. Check for odd
33176 integer exponents when using algorithm for real exponents.
33177 * math/libm-test.inc (pow_test): Add more tests.
33178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33179
d2de7579
JM
331802012-04-08 Joseph Myers <joseph@codesourcery.com>
33181
33182 [BZ #13705]
33183 * math/libm-test.inc (exp_test): Do not allow overflow exception
33184 on underflow test.
33185
f77f1232
AJ
331862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33187
33188 [BZ #13705]
33189 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33190 instead of __kernel_standard_f.
33191
3884932b
MF
331922012-04-08 Mike Frysinger <vapier@gentoo.org>
33193
33194 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33195 * sysdeps/x86_64/memset_chk.S: Likewise.
33196
54472e9c
AJ
331972012-04-08 Andreas Jaeger <aj@suse.de>
33198
6ab0fbfc
AJ
33199 [BZ #10153]
33200 * manual/startup.texi (Environment Access): Describe return value
33201 for putenv and setenv.
33202
61efba8c
AJ
33203 [BZ #6895]
33204 * manual/filesys.texi (Directory Entries): Add description for
33205 DT_LNK.
33206
95c3f29a
AJ
33207 [BZ #6890]
33208 * manual/filesys.texi (Directory Entries): Clarify that it's file
33209 system not operating system in the description of DT_UNKNOWN.
33210
54472e9c
AJ
33211 [BZ #6578]
33212 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33213
624254b1
SC
332142012-04-08 Stephen Compall <s11@member.fsf.org>
33215
33216 [BZ #6649]
33217 * manual/llio.texi (Opening and Closing Files): Add cross
33218 reference to explain mode argument.
33219
1e4920e0
MF
332202012-04-07 Mike Frysinger <vapier@gentoo.org>
33221
33222 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33223 * sysdeps/x86_64/memset_chk.S: Likewise.
33224
5ed848f3
DM
332252012-04-07 David S. Miller <davem@davemloft.net>
33226
33227 * elf/elf.h (R_SPARC_WDISP10): Define.
33228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33229 R_SPARC_SIZE32.
33230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33231 R_SPARC_SIZE64 and R_SPARC_H34.
33232
96154cd8
CD
332332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33234
33235 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33236 conditions and remove no longer applicable assertion.
33237
9904dc47
L
332382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33239
33240 * bits/byteswap.h: Include <features.h>.
33241 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33242 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33243
f8887d0a
L
332442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33245
33246 * bits/byteswap.h (__bswap_16): Removed.
33247 Include <bits/byteswap-16.h> to get __bswap_16.
33248 * sysdeps/i386/bits/byteswap.h: Likewise.
33249 * sysdeps/s390/bits/byteswap.h: Likewise.
33250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33251 * bits/byteswap-16.h: New file.
33252 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33253 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33254 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33255 * string/Makefile (headers): Add bits/byteswap-16.h.
33256
62470f60
PP
332572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33258
33259 [BZ #13895]
33260 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33261 extra indirection.
33262 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33263 * nss/tst-nss-static.c: New.
33264
4dad7bab
RM
332652012-04-06 Robert Millan <rmh@gnu.org>
33266
33267 [BZ #6486]
33268 * manual/llio.texi (File Position Primitive): lseek
33269 refers to WHENCE when it really means OFFSET.
33270
e9142a17
AJ
332712012-04-06 Andreas Jaeger <aj@suse.de>
33272
2c040eff
AJ
33273 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33274 strncmp declarations.
33275
e9142a17
AJ
33276 * abilist/libc.abilist: Add __poll and __ppoll.
33277
ff9f1c5f
DM
332782012-04-05 David S. Miller <davem@davemloft.net>
33279
dcd2ae90
DM
33280 * scripts/check-local-headers.sh: Accept a host triplet in the
33281 path matched by the exclude regexp.
33282
993eb054
DM
33283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33284 definition.
33285 * sysdeps/powerpc/powerpc32/dl-machine.h
33286 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33287 * sysdeps/s390/s390-32/dl-machine.h
33288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33289 * sysdeps/sparc/sparc32/dl-machine.h
33290 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33291 * sysdeps/sparc/sparc64/dl-machine.h
33292 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33293
ff9f1c5f
DM
33294 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33295 lazy binding.
48e2e132 33296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33297 undefined symbol errors.
33298
48e2e132 33299 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33300 DT_NEEDED entries.
33301
e80d6f94
MM
333022012-04-05 Michael Matz <matz@suse.de>
33303
33304 [BZ #13592]
33305 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33306
349fa79f
AJ
333072012-04-05 Andreas Jaeger <aj@suse.de>
33308
33309 [BZ #13908]
33310 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33311 comment.
33312
f402708f
KK
333132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33314
33315 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33316 which ROUND is no valid rounding mode.
33317
2ecccfc9
KK
333182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33319
33320 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33321 read again.
33322 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33323
8a53f50f
KK
333242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33325
33326 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33327 an exception using FPU order intentionally.
33328
333292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33330
33331 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33332 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33333 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33334 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33335
d653abb7
SJ
333362012-04-05 Simon Josefsson <simon@josefsson.org>
33337
33338 [BZ #12340]
33339 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33340 EINVAL when BUFLEN is too smal.
33341
c3b1bf7d
TS
333422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33343
33344 [BZ #13553]
33345 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33346 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33347
b1aa60f3
AJ
333482012-04-03 Andreas Jaeger <aj@suse.de>
33349
c3b1bf7d 33350 [BZ #13938]
67f60a26
AJ
33351 * manual/setjmp.texi (System V contexts): Fix sentence.
33352
b1aa60f3
AJ
33353 [BZ #13926]
33354 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33355 New macro for this case.
33356 [!__GNUC__] (__bswap_64): New inline function for this case.
33357 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33358 * bits/byteswap.h: Likewise.
33359 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33360 ull, guard with __GLIBC_HAVE_LONG_LONG.
33361
33362 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33363 __GLIBC_HAVE_LONG_LONG.
33364
33365 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33366 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33367
39c59c35
TMQMF
333682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33369
33370 [BZ #13691]
33371 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33372 inptr and inend, rather than using last_ch.
33373
135ffda8
DM
333742012-04-02 David S. Miller <davem@davemloft.net>
33375
33376 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33377 * stdio-common/printf-parse.h (read_int): Change return type to
33378 'int', return -1 on INT_MAX overflow.
33379 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33380 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33381 overflows INT_MAX. Check for overflow of in-format-string precision
33382 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33383 SIZE_MAX not INT_MAX for integer overflow test.
33384 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33385 skip the construct in the format string but do not record anything.
33386 * stdio-common/bug22.c: Adjust to test both width/prevision
33387 INT_MAX overflow as well as total length INT_MAX overflow. Check
33388 explicitly for proper errno values.
33389
228c019e
TS
333902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33391
302cadd3
TS
33392 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33393 CHAR_MAX.
33394 * string/test-strcmp.c [! WIDE]: Likewise.
33395 * time/tst-mktime2.c: Likewise for INT_MAX.
33396 * string/test-string.h: #include <sys/param.h> for MIN.
33397
228c019e
TS
33398 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33399 * sysdeps/i386/init-first.c (init): Likewise.
33400 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33401 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33402 * sysdeps/sh/init-first.c (init): Likewise.
33403
cfa633f5
UD
334042012-04-01 Ulrich Drepper <drepper@gmail.com>
33405
33406 * po/ru.po: Update from translation team.
d1635ef8 33407 * po/vi.po: Likewise.
cfa633f5 33408
6cd0a5ea
SP
334092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33410
33411 * resolv/nss_dns/dns-host.c: Merge copyright years.
33412
4b43400f
LD
334132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33414
33415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33416 Optimize memcpy with prefetch if
33417 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33418 src, dst pointers have unequal 16 byte alignments.
33419
48c41d04
SP
334202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33421
33422 [BZ #13928]
33423 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33424 from a CNAME entry and return the minimum ttl for the query.
33425 (gaih_getanswer_slice): Likewise.
33426
b8dc394d
JL
334272012-03-30 Jeff Law <law@redhat.com>
33428
33429 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33430 due to long keys.
33431 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33432 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33433
2f5a5ed0
JL
33434 * resolv/nss_dns/dns-host.c: Update copyright year.
33435
1d39e359
UD
334362012-03-30 Ulrich Drepper <drepper@gmail.com>
33437
c030f70c 33438 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33439 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33440
1d39e359
UD
33441 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33442 comments for sendmmsg.
33443
334442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33445
33446 [BZ #13691]
33447 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33448 with only 1 character between 0x0041 and 0x01b0.
33449 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33450 * wcsmbs/tst-mbsnrtowcs.c: New file.
33451
20fde227
DM
334522012-03-29 David S. Miller <davem@davemloft.net>
33453
33454 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33455 small copies by hand.
33456
984a4237
JL
334572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33458
33459 [BZ #13761]
57f41c40
AS
33460 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33461 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33462 group memberships.
984a4237 33463
18c9d62b
DM
334642012-03-28 David S. Miller <davem@davemloft.net>
33465
88d85d4f
DM
33466 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33467 that branches into memcpy.
33468 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33471 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33473 bits.
33474 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33475 implementation too.
33476 * sysdeps/sparc/mempcpy.S: New file.
33477
e5aa83e1
DM
33478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33479 the IFUNC routine in the libc case.
33480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33481
88570753
DM
33482 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33483 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33484 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33485 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33486 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33487 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33488 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33489 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33490
249d7567
DM
33491 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33492 loop to 256 bytes instead of 64 bytes and fix test signedness.
33493
18c9d62b
DM
33494 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33495 * sysdeps/sparc/sparc32/Makefile: rather than here...
33496 * sysdeps/sparc/sparc64/Makefile: and here.
33497
05f3d1f6
UD
334982012-03-28 Ulrich Drepper <drepper@gmail.com>
33499
33500 * malloc/mallocbug.c: Avoid warnings about unused variables.
33501
86ae07a8
JL
335022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33503
33504 [BZ #13760]
33505 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33506 in the right place. Discard and retry query if response is
33507 larger than input buffer size.
33508
41bf21a1
JM
335092012-03-28 Joseph Myers <joseph@codesourcery.com>
33510
d6270972
JM
33511 [BZ #369]
33512 [BZ #2678]
33513 [BZ #3866]
33514 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33515 x for large integer exponent.
33516 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33517 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33518 sign of result as needed afterwards.
33519 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33521 result for underflowing pow the same as for overflow.
33522 (__kernel_standard_l): Handle powl overflow and underflow here
33523 rather than calling __kernel_standard.
33524 * math/libm-test.inc (pow_test): Add more tests.
33525
414fca03 33526 [BZ #3868]
41bf21a1
JM
33527 [BZ #13879]
33528 [BZ #13910]
33529 [BZ #13911]
33530 [BZ #13912]
33531 [BZ #13913]
33532 [BZ #13915]
33533 [BZ #13916]
33534 [BZ #13917]
33535 [BZ #13918]
33536 [BZ #13919]
33537 [BZ #13920]
33538 [BZ #13921]
33539 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33540 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33541 (__kernel_standard_l): New function.
33542 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33543 __kernel_standard.
33544 * math/w_acosl.c (__acosl): Likewise.
33545 * math/w_asinl.c (__asinl): Likewise.
33546 * math/w_atan2l.c (__atan2l): Likewise.
33547 * math/w_atanhl.c (__atanhl): Likewise.
33548 * math/w_coshl.c (__coshl): Likewise.
33549 * math/w_exp10l.c (__exp10l): Likewise.
33550 * math/w_exp2l.c (__exp2l): Likewise.
33551 * math/w_fmodl.c (__fmodl): Likewise.
33552 * math/w_hypotl.c (__hypotl): Likewise.
33553 * math/w_j0l.c (__j0l, __y0l): Likewise.
33554 * math/w_j1l.c (__j1l, __y1l): Likewise.
33555 * math/w_jnl.c (__jnl, __ynl): Likewise.
33556 * math/w_lgammal.c (__lgammal): Likewise.
33557 * math/w_log10l.c (__log10l): Likewise.
33558 * math/w_log2l.c (__log2l): Likewise.
33559 * math/w_logl.c (__logl): Likewise.
33560 * math/w_powl.c (__powl): Likewise.
33561 * math/w_remainderl.c (__remainderl): Likewise.
33562 * math/w_scalbl.c (sysv_scalbl): Likewise.
33563 * math/w_sinhl.c (__sinhl): Likewise.
33564 * math/w_sqrtl.c (__sqrtl): Likewise.
33565 * math/w_tgammal.c (__tgammal): Likewise.
33566 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33567 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33568 * math/libm-test.inc (acos_test): Add more tests.
33569 (acosh_test): Likewise.
33570 (asin_test): Likewise.
33571 (atanh_test): Likewise.
33572 (exp_test): Likewise.
33573 (exp10_test): Likewise.
33574 (exp2_test): Likewise.
33575 (expm1_test): Likewise.
33576 (lgamma_test): Likewise.
33577 (log_test): Likewise.
33578 (log10_test): Likewise.
33579 (log1p_test): Likewise.
33580 (log2_test): Likewise.
33581 (pow_test): Do not allow some spurious overflow exceptions.
33582 (sqrt_test): Add more tests.
33583 (tgamma_test): Likewise.
33584 (y0_test): Likewise.
33585 (y1_test): Likewise.
33586 (yn_test): Likewise.
33587
dd62fda6
AB
335882012-03-27 Anton Blanchard <anton@samba.org>
33589
33590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33591 MAP_HUGETLB.
33592 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33593 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33595
1e3cdfda
AJ
335962012-03-27 David S. Miller <davem@davemloft.net>
33597
b855ab85
DM
33598 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33599
1e3cdfda
AJ
33600 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33601 have-as-vis3 check.
33602
336032012-03-27 Andreas Jaeger <aj@suse.de>
33604
33605 * sysdeps/x86_64/elf/configure.in: Moved to ...
33606 * sysdeps/x86_64/configure.in: ... here.
33607 * sysdeps/x86_64/elf/start.S: Moved to ...
33608 * sysdeps/x86_64/start.S: ... here.
33609 * sysdeps/x86_64/elf/configure: Delete.
33610
33611 * sysdeps/x86_64/configure.in: Merge contents from
33612 sysdeps/i386/configure.in (without i686 check).
33613
33614 * sysdeps/i386/elf/Versions: Merge into ...
33615 * sysdeps/i386/Versions: ... this.
33616 * sysdeps/i386/elf/Versions: Delete file.
33617 * sysdeps/i386/elf/start.S: Moved to ...
33618 * sysdeps/i386/start.S: ...here.
33619 * sysdeps/i386/elf/configure.in: Merge into...
33620 * sysdeps/i386/configure.in: ...here.
33621 * sysdeps/i386/elf/configure.in: Delete file.
33622 * sysdeps/i386/elf/configure: Delete file.
33623
33624 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33625 * debug/backtracesyms.c: ... here.
33626 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33627 * debug/backtracesymsfd.c: ... here.
33628 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33629 * sysdeps/generic/ifunc-sel.h: ... here.
33630
33631 * sysdeps/unix/i386/start.c: Delete file.
33632 * sysdeps/unix/sparc/start.c: Delete file.
33633 * sysdeps/unix/start.c: Delete file.
33634
33635 * sysdeps/sh/elf/configure.in: Moved to ...
33636 * sysdeps/sh/configure.in: ... here.
33637 * sysdeps/sh/elf/start.S: Moved to ...
33638 * sysdeps/sh/start.S: ... here.
33639 * sysdeps/sh/elf/configure: Delete file.
33640
33641 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33642 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33643 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33644 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33645 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33646 * sysdeps/powerpc/powerpc64/start.S: here.
33647 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33648 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33649 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33650 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33651 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33652
33653 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33654 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33655 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33656 * sysdeps/powerpc/powerpc32/start.S: ... here.
33657 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33658 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33659 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33660
33661 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33662 * sysdeps/powerpc/ifunc-sel.h: ... here.
33663 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33664 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33665
33666 * sysdeps/sparc/elf/configure.in: Moved to ...
33667 * sysdeps/sparc/configure.in: ... here.
33668 * sysdeps/sparc/elf/configure: Delete file.
33669 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33670 * sysdeps/sparc/sparc32/start.S: ... here.
33671 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33672 * sysdeps/sparc/sparc64/start.S: ... here.
33673 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33674 * sysdeps/sparc/sparc32/Makefile: ... this.
33675 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33676 * sysdeps/sparc/sparc64/Makefile: ... this.
33677
33678 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33679 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33680 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33681 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33682 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33683 * sysdeps/s390/s390-32/setjmp.S: ... here.
33684 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33685 * sysdeps/s390/s390-32/configure.in: ... here.
33686 * sysdeps/s390/s390-32/elf/configure: Delete file.
33687 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33688 * sysdeps/s390/s390-32/start.S: ... here.
33689
33690 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33691 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33692 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33693 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33694 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33695 * sysdeps/s390/s390-64/setjmp.S: ... here.
33696 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33697 * sysdeps/s390/s390-64/configure.in: ... here
33698 * sysdeps/s390/s390-64/elf/configure: Delete file.
33699 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33700 * sysdeps/s390/s390-64/start.S: ... here.
33701 * sysdeps/s390/s390-64/elf/configure: Delete.
33702
33703 * configure.in: Remove support for elf directories in sysdeps.
33704
33705 * configure: Regenerated.
33706 * sysdeps/i386/configure: Regenerated.
33707 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33708 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33709 * sysdeps/s390/s390-32/configure: Regenerated.
33710 * sysdeps/s390/s390-64/configure: Regenerated.
33711 * sysdeps/sh/configure: Regenerated.
33712 * sysdeps/sparc/configure: Regenerated.
33713 * sysdeps/x86_64/configure: Regenerated.
33714
a3f61311
AS
337152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33716
c876e002
AS
33717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33718
a3f61311
AS
33719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33720 denormal result into account.
33721
ac4c54f0
RM
337222012-03-25 Roland McGrath <roland@hack.frob.com>
33723
33724 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33725 Reported by Allan McRae <allan@archlinux.org>.
33726
6a9b9c02
JL
337272012-03-23 Jeff Law <law@redhat.com>
33728
33729 * nss/getnssent.c (__nss_getent): Fix typo.
33730
4c42a0c1
DM
337312012-03-23 David S. Miller <davem@davemloft.net>
33732
33733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33734
1532c7ac
L
337352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33736
33737 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33738 to pad to uint64_t for each field.
33739 (dl_tls_index): Replace unsigned long with uint64_t.
33740
3ff42526
PP
337412012-03-23 Daniel Jacobowitz <dmj@google.com>
33742 Paul Pluzhnikov <ppluzhnikov@google.com>
33743
33744 [BZ #6528]
33745 * grp/Makefile (otherlibs): Don't set it.
33746 * inet/Makefile (otherlibs): Likewise.
33747 * login/Makefile (otherlibs): Likewise.
33748 * nscd/Makefile (otherlibs): Likewise.
33749 * posix/Makefile (otherlibs): Likewise.
33750 * pwd/Makefile (otherlibs): Likewise.
33751 * rt/Makefile (otherlibs): Likewise.
33752 * sunrpc/Makefile (otherlibs): Likewise.
33753 * nss/Makefile (otherlibs): Likewise.
33754 Add libnss_files to routines and static-only-routines.
33755 ($(objpfx)getent): Remove rule.
33756 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33757 static-only-routines.
33758
7c69cd14
JM
337592012-03-22 Joseph Myers <joseph@codesourcery.com>
33760
33761 [BZ #13892]
33762 * math/s_cexp.c: Include <float.h>.
33763 (__cexp): Handle exp result overflowing not necessarily
33764 overflowing both real and imaginary parts of result.
33765 * math/s_cexpf.c: Likewise.
33766 * math/s_cexpl.c: Likewise.
33767 * math/libm-test.inc (cexp_test): Add more tests.
33768 * sysdeps/i386/fpu/libm-test-ulps: Update.
33769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33770
81b035fe
L
337712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33772
33773 * include/link.h (ELFW): New macro.
33774 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33775 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33776
1da7940c
L
337772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33778
33779 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33780 with uint64_t.
33781
b749dbb9
L
337822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33783
33784 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33785 declaration.
33786 (struct La_x32_retval): Likewise.
33787
2ff87f3f
L
337882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33789
33790 * sysdeps/x86_64/preconfigure.in: New file.
33791 * sysdeps/x86_64/preconfigure: New generated file.
33792
c0df8e69
JM
337932012-03-22 Joseph Myers <joseph@codesourcery.com>
33794
48e44791
JM
33795 [BZ #13824]
33796 * math/e_exp2l.c: Include <float.h>.
33797 (__ieee754_exp2l): Handle overflow and underflow cases
33798 separately. Only pass fractional part of argument to
33799 __ieee754_expl.
33800 * math/libm-test.inc (exp2_test): Add more tests.
33801
c0df8e69
JM
33802 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33803 negating x to take absolute value.
33804 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33805 Likewise.
33806 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33807 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33808 Likewise.
33809 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33810 computing low part if x was negated.
33811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33812
c8e43ba7
L
338132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33816 la_x32_gnu_pltexit.
33817 (pltexit): Cast int_retval to ptrdiff_t.
33818 * elf/tst-auditmod3b.c: Likewise.
33819 * elf/tst-auditmod4b.c: Likewise.
33820 * elf/tst-auditmod5b.c: Likewise.
33821 * elf/tst-auditmod6b.c: Likewise.
33822 * elf/tst-auditmod6c.c: Likewise.
33823 * elf/tst-auditmod7b.c: Likewise.
33824
33825 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33826 and x32_gnu_pltexit.
33827
33828 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33829 __ELF_NATIVE_CLASS.
33830 (La_x32_regs): New macro.
33831 (La_x32_retval): Likewise.
33832 (la_x32_gnu_pltenter): New function prototype.
33833 (la_x32_gnu_pltexit): Likewise.
33834
7998fa78
AS
338352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33836
dcb33988
AS
33837 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33838 exponent.
33839
233fc563
AS
33840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33841
7998fa78
AS
33842 * configure.in (libc_cv_cc_nofma): Check for option to disable
33843 generation of FMA instructions.
33844 * configure: Regenerate.
33845 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33846 * sysdeps/ieee754/dbl-64/Makefile: New file.
33847 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33848 Remove brandred-fma4.
33849 (CFLAGS-brandred-fma4.c): Remove.
33850 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33851 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33852 define.
33853 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33854 define.
33855
8e95c99a
L
338562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33857
33858 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33859 LLONG_MAX != LONG_MAX.
33860 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33861 (_fitoa_word): Likewise.
33862 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33863 LLONG_MAX != LONG_MAX.
33864 * stdio-common/_itowa.h: Include <_itoa.h>.
33865 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33866 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33867 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33868 only if not defined.
33869 (_ITOA_WORD_TYPE): Likewise.
33870 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33871 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33872
6f4db457
DM
338732012-03-21 David S. Miller <davem@davemloft.net>
33874
33875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33876
7785fe5a
L
338772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33878
33879 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33880 of x86_64 when setting libc_cv_slibdir, libdir and
33881 libc_cv_localedir.
33882 * sysdeps/unix/sysv/linux/configure: Regenerated.
33883
4535cd55
JM
338842012-03-21 Joseph Myers <joseph@codesourcery.com>
33885
33886 * manual/lang.texi (Old Varargs): Remove section.
33887 (How Variadic): Update menu.
33888 (va_start): Do not mention varargs.h.
33889
17228132
TS
338902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33891 Joseph Myers <joseph@codesourcery.com>
33892
33893 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33894 link test.
33895 * configure: Regenerated.
33896
8149f976
TS
338972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33898
05f3d1f6
UD
33899 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33900 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33901 conformtest.pl
8149f976 33902
1a4ac776
JM
339032012-03-21 Joseph Myers <joseph@codesourcery.com>
33904
be22ce65
JM
33905 * NOTES: Remove.
33906 * Makefile (files-for-dist): Remove NOTES.
33907 (NOTES): Remove rule.
33908 * README: Don't refer to NOTES.
33909 * manual/creature.texi: Don't include macros.texi.
33910 * manual/intro.texi (creature.texi): Remove comment referring to
33911 NOTES.
33912
40b601fb
JM
33913 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33914 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33915 * configure: Regenerated.
33916 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33917 LIBC_TRY_CC_OPTION.
33918 (libc_cv_as_i686): Likewise.
33919 (libc_cv_cc_avx): Likewise.
33920 (libc_cv_cc_sse2avx): Likewise.
33921 (libc_cv_cc_fma4): Likewise.
33922 (libc_cv_cc_novzeroupper): Likewise.
33923 * sysdeps/i386/configure: Regenerated.
33924
1a4ac776
JM
33925 [BZ #13883]
33926 * sysdeps/i386/fpu/s_cexp.S: Remove.
33927 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33928 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33929 * math/libm-test.inc (cexp_test): Add more tests.
33930 * sysdeps/i386/fpu/libm-test-ulps: Update.
33931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33932
a458e7fe
AM
339332012-03-21 Allan McRae <allan@archlinux.org>
33934
33935 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33936
0cb7efc5
JM
339372012-03-21 Joseph Myers <joseph@codesourcery.com>
33938
33939 [BZ #13871]
33940 * math/w_exp2.c: Do not include <float.h>.
33941 (o_threshold, u_threshold): Remove.
33942 (__exp2): Calculate result before checking finiteness and calling
33943 __kernel_standard.
33944 * math/w_exp2f.c: Likewise.
33945 * math/w_exp2l.c: Likewise.
33946 * math/libm-test.inc (exp2_test): Require overflow exception for
33947 1e6 input.
2460d3aa
JM
33948
33949 [BZ #3866]
33950 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33951 range of signed 64-bit integers before using fistpll. Remove
33952 checks for whether integers fit in mantissa bits.
33953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33954 the range of signed 32-bit integers before using fistpl. Remove
33955 checks for whether integers fit in mantissa bits.
33956 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33957 (__ieee754_powl): Test for y outside the range of signed 64-bit
33958 integers before using fistpll. Reduce 64-bit values to 63-bit
33959 ones as needed.
33960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33961 divide-by-zero is raised for zero to large negative powers.
33962 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33963 (__ieee754_powl): Test for y outside the range of signed 64-bit
33964 integers before using fistpll. Reduce 64-bit values to 63-bit
33965 ones as needed.
33966 * math/libm-test.inc (pow_test): Add more tests.
33967
eb96ffb0
L
339682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33969
33970 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33971 <stdio-common/_itoa.h>.
33972 * debug/segfault.c: Likewise.
33973 * elf/dl-cache.c: Likewise.
33974 * elf/dl-minimal.c: Likewise.
33975 * elf/dl-misc.c: Likewise.
33976 * elf/dl-sysdep.c: Likewise.
33977 * elf/dl-version.c: Likewise.
33978 * elf/rtld.c: Likewise.
33979 * hurd/hurdsock.c: Likewise.
33980 * hurd/lookup-retry.c: Likewise.
33981 * malloc/malloc.c: Likewise.
33982 * malloc/mtrace.c: Likewise.
33983 * nscd/nscd_getgr_r.c: Likewise.
33984 * nscd/nscd_getpw_r.c: Likewise.
33985 * nscd/nscd_getserv_r.c: Likewise.
33986 * posix/getopt_init.c: Likewise.
33987 * posix/wordexp.c: Likewise.
33988 * stdio-common/_itoa.c: Likewise.
33989 * stdio-common/printf_fphex.c: Likewise.
33990 * stdio-common/vfprintf.c: Likewise.
33991 * string/_strerror.c: Likewise.
33992 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33993 * sysdeps/i386/i686/hp-timing.h: Likewise.
33994 * sysdeps/mach/_strerror.c: Likewise.
33995 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33996 * sysdeps/mach/hurd/sethostid.c: Likewise.
33997 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33998 * sysdeps/mach/xpg-strerror.c: Likewise.
33999 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34000 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34001 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34002 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34003 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34004 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34005 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34006 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34007 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34008 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34009 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34010 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34011 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34012 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34013 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34014 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34015 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34016 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34017 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34018 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34019 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34020
34021 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34022
34023 * stdio-common/_itoa.h: Moved to ...
34024 * sysdeps/generic/_itoa.h: Here.
34025
34026 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34027
34028 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34029 instead of "_itoa.h" and "_itowa.h".
34030 * stdio-common/vfprintf.: Likewise.
34031
d1af992d
L
340322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34033
34034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34035 <bits/wordsize.h>.
34036 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34037 (__signbit): Likwise.
34038 (llrintf): Likwise.
34039 (llrint): Likwise.
34040
114883e0
L
340412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34042
34043 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34044 __WORDSIZE != 64.
34045
c135cc1b
JM
340462012-03-20 Joseph Myers <joseph@codesourcery.com>
34047
34048 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34049 OVERFLOW_EXCEPTION_OK.
34050 * math/libm-test.inc ("Philosophy"): Update comment about
34051 exception testing.
34052 (OVERFLOW_EXCEPTION): Define.
34053 (OVERFLOW_EXCEPTION_OK): Likewise.
34054 (INVALID_EXCEPTION_OK): Renumber.
34055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34056 (IGNORE_ZERO_INF_SIGN): Likewise.
34057 (test_exceptions): Handle FE_OVERFLOW.
34058 (exp10_test): Expect overflow exceptions.
34059 (exp2_test): Likewise.
34060 (expm1_test): Likewise.
34061 (nextafter_test): Likewise.
34062 (pow_test): Likewise.
34063 (scalbn_test): Likewise.
34064 (scalbln_test): Likewise.
34065
95443d88
L
340662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34067
34068 * sysdeps/x86_64/bits/atomic.h
34069 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34070 64bit integer.
34071 (atomic_exchange_acq): Likewise.
34072 (__arch_exchange_and_add_body): Likewise.
34073 (__arch_add_body): Likewise.
34074 (atomic_add_negative): Likewise.
34075 (atomic_add_zero): Likewise.
34076
490df6c4
L
340772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34078
c2722551 34079 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34080 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34081
5e52b189
L
340822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34083
34084 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34085 Check __x86_64__ instead of __WORDSIZE.
34086
a9879d4c
L
340872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34088
34089 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34090
5df98260
DM
340912012-03-19 David S. Miller <davem@davemloft.net>
34092
e1497744
DM
34093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34094
5df98260
DM
34095 * sysdeps/sparc/fpu/fenv_private.h: New file.
34096 * sysdeps/sparc/fpu/math_private.h: Use it.
34097 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34098 Remove.
57f41c40 34099 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34100 (libc_feholdexcept_setroundl): Remove.
34101 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34102 Remove.
34103 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34104 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34105
b4c35121
L
341062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34107
34108 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34109 int64_t instead of long int.
34110 (INSERT_WORDS64): Likwise.
34111
56965fd7
L
341122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34113
34114 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34115 _Unwind_GetCFA return to _Unwind_Ptr first.
34116
83d1aec8
JM
341172012-03-19 Joseph Myers <joseph@codesourcery.com>
34118
1897ad44
JM
34119 [BZ #13629]
34120 * math/s_clog.c: Include <float.h>.
34121 (__clog): Scale large or subnormal inputs.
34122 * math/s_clogf.c: Likewise.
34123 * math/s_clogl.c: Likewise.
34124 * math/s_clog10.c: Include <float.h>.
34125 (M_LOG10_2): Define.
34126 (__clog10): Scale large or subnormal inputs.
34127 * math/s_clog10f.c: Likewise.
34128 * math/s_clog10l.c: Likewise.
34129 * math/libm-test.inc (clog_test): Add more tests.
34130 (clog10_test): Likewise.
34131 * sysdeps/i386/fpu/libm-test-ulps: Update.
34132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34133
7726d6a9
JM
34134 [BZ #11451]
34135 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34136 x and y.
34137 * math/libm-test.inc (atan2_test): Add another test.
34138
83d1aec8
JM
34139 * Makerules (common-objdir-compile): Remove.
34140 * sysdeps/unix/Makefile (config-generated): Do not add
34141 $(unix-generated) to variable.
34142 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34143 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34144 Remove rule.
34145 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34146 Likewise.
34147 [generic bits/local_lim.h] (before-compile): Do not append to
34148 variable.
34149 [generic bits/local_lim.h] (common-generated): Likewise.
34150 [generic sys/param.h] (before-compile): Do not append to variable.
34151 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34152 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34153 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34154 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34155 include.
34156 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34157 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34158 [generic sys/param.h] ($(addprefix
34159 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34160 [generic sys/param.h] (common-generated): Do not append to
34161 variable.
34162 [generic sys/param.h] (sysdep_headers): Likewise.
34163 [generic bits/errno.h] (before-compile): Do not append to
34164 variable.
34165 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34166 rule.
34167 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34168 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34169 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34170 [generic bits/errno.h] (common-generated): Do not append to
34171 variable.
34172 [generic bits/ioctls.h] (before-compile): Do not append to
34173 variable.
34174 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34175 rule.
34176 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34177 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34178 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34179 rule.
34180 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34181 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34182 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34183 [generic bits/ioctls.h] (common-generated): Do not append to
34184 variable.
34185 [generic sys/syscall.h] (syscall.h): Remove variable.
34186 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34187 rule.
34188 [generic sys/syscall.h] (before-compile): Do not append to
34189 variable.
34190 [generic sys/syscall.h] (common-generated): Likewise.
34191 * sysdeps/unix/errnos-tmpl.c: Remove file.
34192 * sysdeps/unix/errnos.awk: Likewise.
34193 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34194 * sysdeps/unix/ioctls.awk: Likewise.
34195 * sysdeps/unix/mk-local_lim.c: Likewise.
34196 * sysdeps/unix/snarf-ioctls: Likewise.
34197
4851a949
RH
341982012-03-19 Richard Henderson <rth@twiddle.net>
34199
bd37f2ee
RH
34200 * sysdeps/i386/fpu/fenv_private.h: New file.
34201 * sysdeps/i386/fpu/math_private.h: Use it.
34202 (math_opt_barrier, math_force_eval): Remove.
34203 (libc_feholdexcept_setround_53bit): Remove.
34204 (libc_feupdateenv_53bit): Remove.
34205 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34206 (math_opt_barrier, math_force_eval): Remove.
34207 (libc_feholdexcept): Remove.
34208 (libc_feholdexcept_setround): Remove.
34209 (libc_fetestexcept, libc_fesetenv): Remove.
34210 (libc_feupdateenv_test): Remove.
34211 (libc_feupdateenv, libc_feholdsetround): Remove.
34212 (libc_feresetround): Remove.
34213
d0adc922
RH
34214 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34215 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34216
0fe0f1f8
RH
34217 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34218 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34219 (libc_feupdateenv_testl): New.
34220 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34221 (libc_feupdateenv_testf): New.
34222 (libc_feupdateenv): Use libc_feupdateenv_test.
34223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34224 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34225
eb92c487
RH
34226 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34227 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34228 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34229 (libc_feresetround_noex): New.
34230 (libc_feresetround_noexf): New.
34231 (libc_feresetround_noexl): New.
34232 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34233 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34234 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34235 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34236 SET_RESTORE_ROUND.
34237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34239 (__cos): Likewise.
34240 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34242 SET_RESTORE_ROUND_NOEX.
34243 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34244 SET_RESTORE_ROUND_NOEXF.
34245 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34246 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34247 (libc_feholdsetroundf): New.
34248 (libc_feresetround, libc_feresetroundf): New.
34249
7d2e8012
RH
34250 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34251 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34252 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34253
b4dabbb4
RH
34254 * sysdeps/generic/math_private.h: Include <fenv.h>.
34255 (default_libc_feholdexcept): New.
34256 (default_libc_feholdexcept_setround): New.
34257 (default_libc_fesetenv, default_libc_feupdateenv): New.
34258 (libc_feholdexcept): Only define if undefined.
34259 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34260 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34261 (libc_feholdexcept_setroundl): Likewise.
34262 (libc_feholdexcept_setround_53bit): Likewise.
34263 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34264 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34265 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34266 (libc_feupdateenv_53bit): Likewise.
34267 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34268 (libc_feholdexcept): Convert from macro to inline function.
34269 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34270 (libc_fesetenv, libc_feupdateenv): Likewise.
34271
4851a949
RH
34272 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34273 not previously defined.
34274 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34275 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34276 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34277 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34278 * sysdeps/ieee754/flt-32/math_private.h: New file.
34279 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34280 math_private.h below SET_FLOAT_WORD.
34281 (__isnan, __isinf_ns, __finite): Remove.
34282 (__isnanf, __isinf_nsf, __finitef): Remove.
34283
e79d442e
AS
342842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34285
34286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34287
90b80344
DM
342882012-03-17 David S. Miller <davem@davemloft.net>
34289
34290 [BZ #6471]
34291 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34292 for 2.16.
34293
edc21804
DM
342942012-03-16 David S. Miller <davem@davemloft.net>
34295
77e927af
DM
34296 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34297 warnings.
34298
374976dd
DM
34299 [BZ #6471]
34300 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34301 properly.
34302 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34303 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34304 sysdep_routines when subdir is sysvipc.
34305 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34306 __getshmlba helper.
34307
edc21804
DM
34308 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34309
473c3ef3
L
343102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34313 [__LP64__].
34314
eb0f39b6
L
343152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34316
34317 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34318 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34319 (__lround): Renamed to ...
34320 (__llround): This. Replace long int with long long int.
34321 Define lround functions as aliases of llround functions.
34322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34323
6b6cd74b
L
343242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34325
34326 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34327 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34328 adresses to uintptr_t. Replace "long int" and "unsigned long
34329 int" with "greg_t" on va_arg.
34330
f1a77b01
L
343312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34332
34333 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34334 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34335
34336 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34337 Move e_machine check before EI_CLASS check. Handle x32
34338 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34339 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34340 SKIP_EM_IA_64 and include
34341 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34342
34343 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34344 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34345 (add_system_dir): New macro.
34346
34347 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34348 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34349
11b90b9f
JM
343502012-03-16 Joseph Myers <joseph@codesourcery.com>
34351
c36e1d23
JM
34352 [BZ #2551]
34353 [BZ #2552]
34354 [BZ #2553]
34355 [BZ #2554]
34356 [BZ #2562]
34357 [BZ #2563]
34358 [BZ #2565]
34359 [BZ #2566]
34360 [BZ #2576]
34361 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34362 (y0): Likewise.
34363 * math/w_j0f.c (j0f): Likewise.
34364 (y0f): Likewise.
34365 * math/w_j0l.c (__j0l): Likewise.
34366 (__y0l): Likewise.
34367 * math/w_j1.c (j1): Likewise.
34368 (y1): Likewise.
34369 * math/w_j1f.c (j1f): Likewise.
34370 (y1f): Likewise.
34371 * math/w_j1l.c (__j1l): Likewise.
34372 (__y1l): Likewise.
34373 * math/w_jn.c (jn): Likewise.
34374 (yn): Likewise.
34375 * math/w_jnf.c (jnf): Likewise.
34376 (ynf): Likewise.
34377 * math/w_jnl.c (__jnl): Likewise.
34378 (__ynl): Likewise.
34379 * math/libm-test.inc (j0_test): Add more tests.
34380 (j1_test): Likewise.
34381 (jn_test): Likewise. Add trailing semicolon to existing test.
34382 (y0_test): Likewise.
34383 (y1_test): Likewise.
34384 * sysdeps/i386/fpu/libm-test-ulps: Update.
34385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34386
11b90b9f
JM
34387 [BZ #13851]
34388 [BZ #13854]
34389 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34390 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34391 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34393 (__tanl): Set errno for infinite argument.
34394 * sysdeps/i386/fpu/mptan.c: Remove.
34395 * sysdeps/i386/fpu/s_tan.S: Likewise.
34396 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34397 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34398 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34399 * math/libm-test.inc (tan_test): Add more tests and enable more
34400 tests for double and long double.
34401 * sysdeps/i386/fpu/libm-test-ulps: Update.
34402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34403
6a1bd2a1
JK
344042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34405
34406 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34407 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34408
10a803e0
RM
344092012-03-16 Roland McGrath <roland@hack.frob.com>
34410
34411 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34412 * configure.in: Use it for both main tree and add-ons.
34413 * configure: Regenerated.
34414
f196c7f7
L
344152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34416
34417 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34418
8848d99d
JM
344192012-03-16 Joseph Myers <joseph@codesourcery.com>
34420
96cbe7f4
JM
34421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34422 in comment.
34423
8848d99d
JM
34424 [BZ #13851]
34425 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34426 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34430 infinite argument.
34431 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34432 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34433 != 0 for prec == 2.
34434 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34435 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34436 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34437 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34438 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34439 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34440 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34441 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34442 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34443 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34444 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34445 * math/libm-test.inc (cos_test): Add more tests and enable more
34446 tests for long double.
34447 (sin_test): Likewise.
34448 (sincos_test): Likewise.
34449 * sysdeps/i386/fpu/libm-test-ulps: Update.
34450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34451
dd7f4703
DM
344522012-03-16 David S. Miller <davem@davemloft.net>
34453
34454 * sysdeps/sparc/fpu/math_private.h: New file.
34455
006f1daa
DM
344562012-03-15 David S. Miller <davem@davemloft.net>
34457
c0c83bc8
DM
34458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34459 file.
e6a62e18 34460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34462 file.
e6a62e18
DM
34463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34469 sysdep routines.
34470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34471
88cb87d9
DM
34472 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34473 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34474
006f1daa 34475 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34477 sparc-ifunc.h
006f1daa 34478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34480 Likewise.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34482 Likewise.
006f1daa
DM
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34487 Likewise.
006f1daa
DM
34488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34493 Likewise.
34494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34495 Likewise.
006f1daa
DM
34496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34520
11e0098e
AS
345212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34522
34523 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34524 scaling.
34525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34526
e85b09d0
AJ
345272012-03-15 Andreas Jaeger <aj@suse.de>
34528
34529 [BZ #13852]
34530 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34531 ieee754/flt-32 implementation for sin, cos and sincos.
34532 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34533 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34534 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34535 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34536 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34537 ieee754/flt-32 implementation for tan.
34538
34539 * math/libm-test.inc (cos_test): Enable some large input tests for
34540 float as well
34541 (sin_test): Likewise.
34542 (sincos_test): Likewise.
34543 (tan_test): Add tests for large input.
34544
34545 * sysdeps/i386/fpu/libm-test-ulps: Update.
34546
81c64153
AJ
345472012-03-15 Andreas Jaeger <aj@suse.de>
34548
34549 [BZ #13658]
34550 * math/libm-test.inc (cos_test): Add more test cases.
34551 (sin_test): Likewise.
34552 (sincos_test): Likewise.
34553
7bbfa5c6
AJ
345542012-03-15 Andreas Jaeger <aj@suse.de>
34555
34556 [BZ #13837]
34557 * math/libm-test.inc (cos_test): Add a test case for large input
34558 value.
34559 (sin_test): Likewise.
34560 (sincos_test): Likewise.
34561
57f41c40
AS
345622012-03-15 Andreas Jaeger <aj@suse.de>
34563 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34564
34565 [BZ #13658]
0671f479 34566 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34567 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34568 * sysdeps/i386/fpu/branred.c: Likewise.
34569 * sysdeps/i386/fpu/dosincos.c: Likewise.
34570 * sysdeps/i386/fpu/mpa.c: Likewise.
34571 * sysdeps/i386/fpu/s_cos.S: Likewise.
34572 * sysdeps/i386/fpu/s_sin.S: Likewise.
34573 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34574 * sysdeps/i386/fpu/sincos32.c: Likewise.
34575
34576 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34577 Define.
34578 (libc_feupdateenv_53bit): Define.
34579 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34580 Define.
34581 (libc_feupdateenv_53bit): Define.
34582
34583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34584 53 bit (without extend i386 double precision).
34585
34586 * math/libm-test.inc (sincos_test): Add tests for large input.
34587 (sin): Likewise.
34588 (cos): Likewise.
34589
34590 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34591
9cad04ea
AS
345922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34593
34594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34595
f7062b9a
DM
345962012-03-15 David S. Miller <davem@davemloft.net>
34597
34598 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34599 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34600 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34601 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34614 file.
f7062b9a 34615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34617 file.
f7062b9a 34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34620 file.
f7062b9a 34621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34623 file.
f7062b9a
DM
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34626 fmin/fmax sysdep routines.
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34628
7bd951ff
DM
346292012-03-14 David S. Miller <davem@davemloft.net>
34630
559398ab
DM
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34637 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34638 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34660 routines.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34662 file.
559398ab 34663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34665 file.
559398ab 34666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34668 file.
559398ab 34669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34671 file.
559398ab 34672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34674 file.
559398ab 34675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34677 file.
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34679 file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34681 file.
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34683 file.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34685 New file.
34686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34687 file.
34688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34689 file.
559398ab 34690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34692 file.
559398ab 34693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34695 file.
559398ab 34696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34698 file.
559398ab 34699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34701 VIS3 routines.
559398ab
DM
34702
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34704 New file.
34705
5a1c1e32
DM
34706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34707
eae47a36
DM
34708 * sysdeps/sparc/configure.in: New file.
34709 * sysdeps/sparc/configure: Generate.
34710 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34711 * configure: Regenerate.
34712 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34713 * config.make.in (have-as-vis3): New.
34714 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34715 available use -Av9d instead of -Av9a.
34716 * sysdeps/sparc/sparc64/Makefile: Likewise.
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34719 New file.
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34721 file.
34722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34723 New file.
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34725 file.
eae47a36
DM
34726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34731
c0c83bc8
DM
34732 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34733 fzeros/fnegs to load 0x80000000 into a float register instead of
34734 using the stack.
7bd951ff
DM
34735 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34736
bd951ccb
JM
347372012-03-14 Joseph Myers <joseph@codesourcery.com>
34738
34739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34740 bits/syscall.h.
34741 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34742 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34743 ($(inst_includedir)/bits/syscall.h): Remove rule.
34744 ($(objpfx)bits/syscall.d): Include instead of
34745 $(objpfx)syscall-list.d.
34746 (generated): Change syscall-list.h and syscall-list.d to
34747 bits/syscall.h and bits/syscall.d.
34748
bb4e6db2
RM
347492012-03-14 Roland McGrath <roland@hack.frob.com>
34750
34751 [BZ #13846]
34752 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34753
aa4a2ae1
JM
347542012-03-14 Joseph Myers <joseph@codesourcery.com>
34755
e456826d
JM
34756 [BZ #13841]
34757 * math/s_csqrt.c: Include <float.h>.
34758 (__csqrt): Scale large or subnormal inputs.
34759 * math/s_csqrtf.c: Likewise.
34760 * math/s_csqrtl.c: Likewise.
34761 * math/libm-test.inc (csqrt_test): Add more tests.
34762 * sysdeps/i386/fpu/libm-test-ulps: Update.
34763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34764
aa4a2ae1
JM
34765 [BZ #13840]
34766 * math/libm-test.inc (hypot_test): Add more tests.
34767
7c10fd35
DM
347682012-03-13 David S. Miller <davem@davemloft.net>
34769
34770 [BZ #13840]
34771 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34772 double-precision for the calculation instead of scaling.
34773
f453b98b
JM
347742012-03-13 Joseph Myers <joseph@codesourcery.com>
34775
34776 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34777 manipulate bits before adding and subtracting TWO52[sx].
34778 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34780 Likewise.
34781 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34782
09a3453f
DM
347832012-03-13 David S. Miller <davem@davemloft.net>
34784
8e59da90
DM
34785 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34786 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34788 rtld-global-offsets.h
34789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34790
2a8ab7f2
DM
34791 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34792 large parameters.
34793
10f62770
DM
34794 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34795
5f0bdb18
DM
34796 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34797 'err' in the ifdef scope in which it is actually used.
34798
09a3453f
DM
34799 * nss/nss_db/db-init.c: Include string.h
34800
b4b2eb5e
DM
348012012-03-12 David S. Miller <davem@davemloft.net>
34802
98bb2f1c
DM
34803 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34804 masking out of the most significant byte of random value used.
34805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34806 Fix coding style in previous change.
34807
b4b2eb5e
DM
34808 * sysdeps/unix/sysv/linux/kernel-features.h
34809 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34810 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34811 expression.
34812 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34813 later.
34814
6e226b09
DM
348152012-03-11 David S. Miller <davem@davemloft.net>
34816
a1bcbd40
DM
34817 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34818 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34820 for 'resultvar' otherwise things get truncated on 64-bit.
34821
cb9d6174
DM
34822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34823 Fix masking out of the most significant byte of random value used.
34824
6e226b09
DM
34825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34826
058c132d
AS
348272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34828
34829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34830
2d2cd515
DM
348312012-03-09 David S. Miller <davem@davemloft.net>
34832
34833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34834 variables with appropriate CPP guards.
57f41c40
AS
34835 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34836 from the frame pointer, not the stack pointer. Correct layout
34837 comments. Fix test on resulting framesize and the management of
34838 the outregs buffer for pltexit. Preserve floating point return
34839 values across _dl_call_pltexit call.
2d2cd515
DM
34840 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34841 framesize and the management of the outregs buffer for pltexit.
34842 Preserve floating point return values across _dl_call_pltexit
34843 call.
57f41c40
AS
34844 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34845 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34846 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34847 (print_exit): Fix format string for return register value.
34848
9a07f9d0
JM
348492012-03-10 Joseph Myers <joseph@codesourcery.com>
34850
34851 * sunrpc/Makefile (others): Add rpcgen.
34852 ($(objpfx)rpcgen): Remove special build rule and dependency on
34853 libc.
34854 * sunrpc/rpcgen.c: New file.
34855
547b5e30
PE
348562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34857
c524201a
PE
34858 [BZ #13673]
34859 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34860 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34861 * sysdeps/i386/crti.S: Likewise.
34862 * sysdeps/i386/crtn.S: Likewise.
34863 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34864 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34865 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34866 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34867 * sysdeps/sh/crti.S: Likewise.
34868 * sysdeps/sh/crtn.S: Likewise.
34869 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34870
7b6235f2
PE
34871 [BZ #13673]
34872 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34873 with URL.
34874 * locale/programs/locfile-kw.gperf: Likewise.
34875 * locale/programs/charmap-kw.h: Regenerated.
34876 * locale/programs/locfile-kw.h: Likewise.
34877
547b5e30
PE
34878 [BZ #13673]
34879 * intl/plural.y: Replace FSF snail mail address with URL.
34880 * intl/plural.c: Regenerated.
34881
5f0a5dae
RH
348822012-03-09 Richard Henderson <rth@twiddle.net>
34883
34884 * include/math_private.h: Remove file.
34885 * math/math_private.h: Move file ...
34886 * sysdeps/generic/math_private.h: ... here.
34887
b8c03620
RH
34888 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34889 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34890 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34891
4e234f5d 34892 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34893 and <math_private.h>.
34894 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34895 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34896 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34897 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34898 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34981 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34982 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34983 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34984 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34985 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34987 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34988 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34989 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34990 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34991 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34992 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34994 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34995 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34996 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34997 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34998 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34999 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35000 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35001 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35002 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35003 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35004 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35005 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35006 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35010 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35011 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35013 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35014 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35015 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35016 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35017 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35019 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35020 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35021 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35022 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35023 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35024 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35025 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35026 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35027 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35028 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35029 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35030 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35031 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35032 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35033 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35034 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35035 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35036 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35037 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35038 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35039 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35040 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35041 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35042 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35043 * sysdeps/ieee754/k_standard.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35192 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35193 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35194 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35204 * sysdeps/ieee754/s_lib_version.c: Likewise.
35205 * sysdeps/ieee754/s_matherr.c: Likewise.
35206 * sysdeps/ieee754/s_signgam.c: Likewise.
35207 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35209 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35210 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35211 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35212 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35213 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35214 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35215 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35216 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35217 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35218 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35219 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35220 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35221 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35222 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35224 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35225 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35227 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35228
1991fa03
JM
352292012-03-09 Joseph Myers <joseph@codesourcery.com>
35230
35231 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35232 * sunrpc/rpc_main.c: Likewise.
35233 * sunrpc/rpc_svcout.c: Likewise.
35234
60d6f5a6
DM
352352012-03-09 David S. Miller <davem@davemloft.net>
35236
35237 * include/math_private.h: New file.
35238
4962050e
JM
352392012-03-09 Joseph Myers <joseph@codesourcery.com>
35240
02a6f887
JM
35241 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35242 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35243 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35244 from <bits/socket_type.h>.
35245 (enum __socket_type): Don't define here.
35246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35248 bits/socket_type.h.
35249
c6e013c1
JM
35250 [BZ #13566]
35251 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35252 checking __USE_GNU.
35253
4962050e
JM
35254 * Makerules ($(inst_includedir)/%.h): New rule.
35255 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35256 (install-others): Remove variable setting.
35257 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35258
38842f45
RH
352592012-03-08 Richard Henderson <rth@twiddle.net>
35260
67bb6da6
RH
35261 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35262 from macro to inline function; merge with the
35263 !__LIBC_INTERNAL_MATH_INLINES version.
35264 (__ieee754_sqrtf): Likewise.
35265
15194b4b
RH
35266 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35267 to inline function.
35268 (__rintf, __floor, __floorf): Likewise.
35269
64e21ede
RH
35270 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35271 macro to inline function.
35272 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35273
38842f45
RH
35274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35275 not <math/math_private.h>.
35276
c64bf5fe
DM
352772012-03-08 David S. Miller <davem@davemloft.net>
35278
35279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35280 copyright year.
35281 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35282
82d86f28
TS
352832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35284
35285 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35286 normalization.
35287 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35288 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35289
aea5d727
UD
352902012-03-08 Ulrich Drepper <drepper@gmail.com>
35291
35292 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35293 be defined individually, they must be defined as a block. Define
35294 S for printing a string instead of hidint the different by using a
35295 macro for adding the 'l'.
35296 * stdio-common/tst-fphex-wide.c: Adjust.
35297
70bca0a3
MP
352982012-03-07 Marek Polacek <polacek@redhat.com>
35299
35300 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35301
65b81130
MP
353022012-03-08 Marek Polacek <polacek@redhat.com>
35303
35304 [BZ #13806]
35305 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35306 * stdio-common/tst-fphex.c: Define a few macros to make the
35307 test reusable. Use them.
35308 * stdio-common/tst-fphex-wide.c: New file.
35309
07037eeb
JM
353102012-03-08 Joseph Myers <joseph@codesourcery.com>
35311
a7a93d50
JM
35312 [BZ #6911]
35313 * manual/macros.texi (gnusystems): New macro.
35314 (nongnusystems): Likewise.
35315 (gnulinuxhurdsystems): Likewise.
35316 (gnuhurdsystems): Likewise..
35317 (gnulinuxsystems): Likewise.
35318 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35319 variants of the GNU system, not "GNU system".
35320 * manual/conf.texi: Likewise.
35321 * manual/errno.texi: Likewise. Update example of errno macro
35322 expansion.
35323 * manual/filesys.texi: Likewise.
35324 (getumask): Document as specific to GNU/Hurd.
35325 * manual/install.texi: Likewise. Reword some references to
35326 GNU/Linux.
35327 * manual/intro.texi: Likewise.
35328 * manual/io.texi: Likewise.
35329 (File Name Portability): Detail which constraints are inapplicable
35330 to all GNU systems and which are only inapplicable to GNU/Hurd.
35331 * manual/job.texi: Likewise.
35332 * manual/llio.texi: Likewise.
35333 (O_NOCTTY): Document as present on GNU/Linux.
35334 * manual/maint.texi: Likewise.
35335 * manual/memory.texi: Likewise.
35336 * manual/pattern.texi: Likewise.
35337 * manual/pipe.texi: Likewise.
35338 * manual/process.texi: Likewise.
35339 * manual/resource.texi: Likewise.
35340 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35341 child on GNU/Hurd.
35342 * manual/setjmp.texi: Likewise.
35343 * manual/signal.texi: Likewise.
35344 * manual/startup.texi: Likewise.
35345 * manual/stdio.texi: Likewise.
35346 * manual/terminal.texi: Likewise.
35347 (ONLCR): Document as POSIX.
35348 (OXTABS): Document availability on GNU/Linux as XTABS.
35349 (ONOEOT): Document availability separately from other bits.
35350 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35351 * manual/time.texi: Likewise.
35352 * manual/users.texi: Likewise.
35353 * INSTALL: Regenerated.
35354 * sysdeps/gnu/errlist.c: Regenerated.
35355
07037eeb
JM
35356 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35357 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35358 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35359 puts.
35360 * configure: Regenerated.
35361
d1d3431a
JM
353622012-03-07 Joseph Myers <joseph@codesourcery.com>
35363
af6a1e37
JM
35364 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35365 default includes instead of AC_HEADER_CHECK.
35366 * sysdeps/i386/configure: Regenerated.
35367
d1d3431a
JM
35368 [BZ #10716]
35369 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35370 * math/s_cacoshf.c (__cacoshf): Likewise.
35371 * math/s_cacoshl.c (__cacoshl): Likewise.
35372 * math/s_casinh.c (__casinh): Set signs of result from argument.
35373 * math/s_casinhf.c (__casinhf): Likewise.
35374 * math/s_casinhl.c (__casinhl): Likewise.
35375 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35376 (casinh_test): Add more tests.
35377 * sysdeps/i386/fpu/libm-test-ulps: Update.
35378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35379
482ff4da
UD
353802012-03-07 Ulrich Drepper <drepper@gmail.com>
35381
872fda05
UD
35382 * po/zh_TW.po: Update from translation team.
35383
a4300c7a
UD
35384 * login/Makefile (distribute): Remove variable.
35385 * catgets/Makefile: Likewise.
35386 * mach/Makefile: Likewise.
35387 * malloc/Makefile: Likewise.
35388 * misc/Makefile: Likewise.
35389 * iconv/Makefile: Likewise.
35390 * nscd/Makefile: Likewise.
35391 * hurd/Makefile: Likewise.
35392 * manual/Makefile: Likewise.
35393 * locale/Makefile: Likewise.
35394 * intl/Makefile: Likewise.
35395 * conform/Makefile: Likewise.
35396 * nss/Makefile: Likewise.
35397 * time/Makefile: Likewise.
35398 * soft-fp/Makefile: Likewise.
35399 * dirent/Makefile: Likewise.
35400 * gmon/Makefile: Likewise.
35401 * po/Makefile: Likewise.
35402 * rt/Makefile: Likewise.
35403 * socket/Makefile: Likewise.
35404 * math/Makefile: Likewise.
35405 * signal/Makefile: Likewise.
35406 * debug/Makefile: Likewise.
35407 * elf/Makefile: Likewise.
35408 * timezone/Makefile: Likewise.
35409 * stdlib/Makefile: Likewise.
35410 * iconvdata/Makefile: Likewise.
35411 * sunrpc/Makefile: Likewise.
35412 * io/Makefile: Likewise.
35413 * argp/Makefile: Likewise.
35414 * inet/Makefile: Likewise.
35415 * hesiod/Makefile: Likewise.
35416 * grp/Makefile: Likewise.
35417 * csu/Makefile: Likewise.
35418 * wctype/Makefile: Likewise.
35419 * crypt/Makefile: Likewise.
35420 * libio/Makefile: Likewise.
35421 * string/Makefile: Likewise.
35422 * nis/Makefile: Likewise.
35423 * resolv/Makefile: Likewise.
35424 * stdio-common/Makefile: Likewise.
35425 * wcsmbs/Makefile: Likewise.
35426 * dlfcn/Makefile: Likewise.
35427 * posix/Makefile: Likewise.
35428
3b7c4e74 35429 [BZ #6959]
482ff4da
UD
35430 * timezone/Makefile: Don't install timezone files, just the programs
35431 and scripts.
35432
f72ed77d
UD
354332012-03-06 Ulrich Drepper <drepper@gmail.com>
35434
a000466f
UD
35435 * nss/databases.def: Add missing gshadow entry.
35436
f72ed77d
UD
35437 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35438
a53b7a4e
MP
354392012-03-06 Marek Polacek <polacek@redhat.com>
35440
35441 [BZ #13726]
35442 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35443 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35444 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35445 * stdio-common/tst-long-dbl-fphex.c: New file.
35446
e9258400
DM
354472012-03-06 David S. Miller <davem@davemloft.net>
35448
35449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35450 (set_obp_int): New function.
35451 (get_obp_int): New function.
35452 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35454 Avoid unused variable warnings on 'val' and use builtin_expect.
35455 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35456 __builtin_expect.
e9258400
DM
35457 (INLINE_CLONE_SYSCALL): Likewise.
35458
3bd2c723
DM
354592012-03-05 David S. Miller <davem@davemloft.net>
35460
35461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35462
bbb78d03
AS
354632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35464
884c5db4
AS
35465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35466
bbb78d03
AS
35467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35468 only for |x| >= 40.
35469 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35470
1c9f702a 354712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35472
35473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35474 Replace gettimeofday with __vdso_gettimeofday.
35475
7be16f82
RM
35476 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35477 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35478 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35479
35480 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35481 time with __vdso_time.
35482
ed58a00f
JM
354832012-03-05 Joseph Myers <joseph@codesourcery.com>
35484
35485 * manual/lang.texi (size_t): Note types to which size_t may be
35486 equivalent with the GNU C Library, but do not describe when
35487 differences between them are significant.
35488
30ee4ced
AJ
354892012-03-05 Andreas Jaeger <aj@suse.de>
35490
35491 * sysdeps/i386/fpu/libm-test-ulps: Update.
35492
b7cd39e8
JM
354932012-03-05 Joseph Myers <joseph@codesourcery.com>
35494
35495 [BZ #3976]
35496 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35497 (__ieee754_pow): Save and restore rounding mode and use
35498 round-to-nearest for main computations.
35499 * math/libm-test.inc (pow_test_tonearest): New function.
35500 (pow_test_towardzero): Likewise.
35501 (pow_test_downward): Likewise.
35502 (pow_test_upward): Likewise.
35503 (main): Call the new functions.
35504 * sysdeps/i386/fpu/libm-test-ulps: Update.
35505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35506
35507 [BZ #3976]
35508 * math/libm-test.inc (cosh_test_tonearest): New function.
35509 (cosh_test_towardzero): Likewise.
35510 (cosh_test_downward): Likewise.
35511 (cosh_test_upward): Likewise.
35512 (sinh_test_tonearest): Likewise.
35513 (sinh_test_towardzero): Likewise.
35514 (sinh_test_downward): Likewise.
35515 (sinh_test_upward): Likewise.
35516 (main): Call the new functions.
35517 * sysdeps/i386/fpu/libm-test-ulps: Update.
35518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35519
6c6a98c9
TV
355202012-03-05 Tom de Vries <tom@codesourcery.com>
35521
35522 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35523 default stack guard is set in last bytes.
35524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35525
21bb2d2e 355262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35527
21bb2d2e 35528 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35529
21bb2d2e
AJ
35530 [BZ #13656]
35531 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35532 possibly allocate from heap instead of stack.
35533 * stdio-common/bug-vfprintf-nargs.c: New file.
35534 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35535
c6922934
AS
355362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35537
35538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35539
bc957d53
MP
355402012-03-03 Marek Polacek <polacek@redhat.com>
35541
35542 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35543 * math/math_private.h: Likewise.
35544 * stdlib/tst-strtod.c: Likewise.
35545 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35546 * sysdeps/x86_64/bits/atomic.h: Likewise.
35547
6358490d
DM
355482012-03-02 David S. Miller <davem@davemloft.net>
35549
35550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35554 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35555 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35556 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35557 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35558
01ae168d
RM
355592012-03-02 Roland McGrath <roland@hack.frob.com>
35560
d9a17c07
RM
35561 [BZ #13792]
35562 * manual/examples/README: New file, says the example source files
35563 can be used under GPL>=2.
35564 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35565 line containing just "*/".
35566 * manual/examples/add.c: Add copyright header (GPL>=2).
35567 * manual/examples/argp-ex1.c: Likewise.
35568 * manual/examples/argp-ex2.c: Likewise.
35569 * manual/examples/argp-ex3.c: Likewise.
35570 * manual/examples/argp-ex4.c: Likewise.
35571 * manual/examples/atexit.c: Likewise.
35572 * manual/examples/db.c: Likewise.
35573 * manual/examples/dir.c: Likewise.
35574 * manual/examples/dir2.c: Likewise.
35575 * manual/examples/execinfo.c: Likewise.
35576 * manual/examples/filecli.c: Likewise.
35577 * manual/examples/filesrv.c: Likewise.
35578 * manual/examples/fmtmsgexpl.c: Likewise.
35579 * manual/examples/genpass.c: Likewise.
35580 * manual/examples/inetcli.c: Likewise.
35581 * manual/examples/inetsrv.c: Likewise.
35582 * manual/examples/isockad.c: Likewise.
35583 * manual/examples/longopt.c: Likewise.
35584 * manual/examples/memopen.c: Likewise.
35585 * manual/examples/memstrm.c: Likewise.
35586 * manual/examples/mkfsock.c: Likewise.
35587 * manual/examples/mkisock.c: Likewise.
35588 * manual/examples/mygetpass.c: Likewise.
35589 * manual/examples/pipe.c: Likewise.
35590 * manual/examples/popen.c: Likewise.
35591 * manual/examples/rprintf.c: Likewise.
35592 * manual/examples/search.c: Likewise.
35593 * manual/examples/select.c: Likewise.
35594 * manual/examples/setjmp.c: Likewise.
35595 * manual/examples/sigh1.c: Likewise.
35596 * manual/examples/sigusr.c: Likewise.
35597 * manual/examples/stpcpy.c: Likewise.
35598 * manual/examples/strdupa.c: Likewise.
35599 * manual/examples/strftim.c: Likewise.
35600 * manual/examples/strncat.c: Likewise.
35601 * manual/examples/subopt.c: Likewise.
35602 * manual/examples/swapcontext.c: Likewise.
35603 * manual/examples/termios.c: Likewise.
35604 * manual/examples/testopt.c: Likewise.
35605 * manual/examples/testpass.c: Likewise.
35606 * manual/examples/timeval_subtract.c: Likewise.
35607
01ae168d
RM
35608 [BZ #13792]
35609 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35610 function to ...
35611 * manual/timeval_subtract.c.texi: ... here, new file.
35612
49efa33d
DM
356132012-03-02 David S. Miller <davem@davemloft.net>
35614
35615 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35616
28afd92d
JM
356172012-03-02 Joseph Myers <joseph@codesourcery.com>
35618
804360ed
JM
35619 [BZ #3976]
35620 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35621 (__sin): Save and restore rounding mode and use round-to-nearest
35622 for all computations.
35623 (__cos): Save and restore rounding mode and use round-to-nearest
35624 for all computations.
35625 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35626 <fenv.h>.
35627 (tan): Save and restore rounding mode and use round-to-nearest for
35628 all computations.
35629 * math/libm-test.inc (cos_test_tonearest): New function.
35630 (cos_test_towardzero): Likewise.
35631 (cos_test_downward): Likewise.
35632 (cos_test_upward): Likewise.
35633 (sin_test_tonearest): Likewise.
35634 (sin_test_towardzero): Likewise.
35635 (sin_test_downward): Likewise.
35636 (sin_test_upward): Likewise.
35637 (tan_test_tonearest): Likewise.
35638 (tan_test_towardzero): Likewise.
35639 (tan_test_downward): Likewise.
35640 (tan_test_upward): Likewise.
35641 (main): Call the new functions.
35642 * sysdeps/i386/fpu/libm-test-ulps: Update.
35643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35644
a6d06d7b
JM
35645 [BZ #10135]
35646 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35647 small n, then large n, before computing and testing k+n.
35648 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35650 Likewise.
35651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35652 Likewise.
35653 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35654 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35659 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35660 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35661 * math/libm-test.inc (scalbn_test): Add more tests.
35662 (scalbln_test): Likewise.
35663
07e12bb3
JM
35664 * manual/filesys.texi (mode_t): Describe constraints on size and
35665 signedness, not exact equivalence to a particular type.
35666 (ino_t): Likewise.
35667 (ino64_t): Likewise.
35668 (dev_t): Likewise.
35669 (nlink_t): Likewise.
35670 (blkcnt_t): Likewise.
35671 (blkcnt64_t): Likewise.
35672 * manual/llio.texi (off_t): Likewise.
35673
28afd92d
JM
35674 [BZ #3976]
35675 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35676 (__ieee754_exp): Save and restore rounding mode and use
35677 round-to-nearest for all computations.
35678 * math/libm-test.inc (exp_test_tonearest): New function.
35679 (exp_test_towardzero): Likewise.
35680 (exp_test_downward): Likewise.
35681 (exp_test_upward): Likewise.
35682 (main): Call the new functions.
35683 * sysdeps/i386/fpu/libm-test-ulps: Update.
35684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685
b1eeb65d
CD
356862012-03-01 Chris Demetriou <cgd@google.com>
35687
35688 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35689 have predictable order.
35690
53362a4b
DM
356912012-03-01 David S. Miller <davem@davemloft.net>
35692
3c969083
DM
35693 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35694
759707de
DM
35695 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35696 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35697 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35698 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35699
dfdb8ff2
DM
35700 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35701 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35702 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35704 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35705 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35706 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35707 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35708 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35709
ead89f96
DM
35710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35711
7f66bd07
DM
35712 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35713 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35714 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35715
53362a4b
DM
35716 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35717 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35718 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35719 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35720 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35721 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35723 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35724 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35725 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35726 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35727 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35729 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35730 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35732 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35733 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35734 * sysdeps/sparc/elf/configure: Regenerated.
35735
7b1902cb
JM
357362012-03-01 Joseph Myers <joseph@codesourcery.com>
35737
bec039bc
JM
35738 * configure.in (AS, LD): Require binutils 2.20 or later.
35739 * configure: Regenerated.
35740 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35741 as required minimum version.
35742 * INSTALL: Regenerated.
35743
7b1902cb
JM
35744 [BZ #2541]
35745 [BZ #4108]
35746 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35747 before squaring exponent.
35748 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35749 bottom long double and 27 bits of top long double before squaring
35750 exponent.
35751 * math/libm-test.inc (erfc_test): Add more tests.
35752 * sysdeps/i386/fpu/libm-test-ulps: Update.
35753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35755
f775c276
KT
357562012-03-01 Kai Tietz <ktietz@redhat.com>
35757
35758 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35759 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35760 containing bit-fields.
35761 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35762 * soft-fp/single.h (_FP_UNION_S): Likewise.
35763 * soft-fp/double.h (_FP_UNION_D): Likewise.
35764
5b8a4d4a
JM
357652012-02-29 Joseph Myers <joseph@codesourcery.com>
35766
0bab47b6
JM
35767 [BZ #13786]
35768 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35769 not include ../strcmp.S.
35770 [USE_AS_STRNCASECMP_L]: Likewise.
35771 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35772 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35773 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35774 (__strncasecmp_l_ia32): Define as alias to
35775 __strncasecmp_l_nonascii.
35776
0fcad3e2
JM
35777 [BZ #5794]
35778 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35779 * sysdeps/i386/fpu/libm-test-ulps: Update.
35780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35781
5b8a4d4a
JM
35782 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35784
8fdceb2e
JL
357852012-02-29 Jeff Law <law@redhat.com>
35786
35787 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35788 out of bounds read.
35789
1f393a11
MP
357902012-02-29 Marek Polacek <polacek@redhat.com>
35791
35792 [BZ #13706]
35793 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35794 * elf/Makefile: Add rules to run tst-unused-dep.out.
35795
8847f037
DM
357962012-02-28 David S. Miller <davem@davemloft.net>
35797
35798 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35799 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35800 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35803 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35804
169d7f11
JM
358052012-02-29 Joseph Myers <joseph@codesourcery.com>
35806
35807 * math/libm-test.inc (llround_test): Move one test from
35808 lround_test. Use TEST_f_L in moved test.
35809 (lround_test): Move misplaced test to llround_test. Add testcase
35810 from bug 2561.
35811
39adf059
UD
358122012-02-28 Ulrich Drepper <drepper@gmail.com>
35813
35814 * sysdeps/x86_64/fpu/e_expf.S: New file.
35815 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35816
71b5d1c5
SB
358172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35818
35819 [BZ #13637]
35820 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35821 of remain_len that may cause incomplete multi-byte character and
35822 false match.
35823 * posix/bug-regex33.c: New file.
35824 * posix/Makefile (tests): Add bug-regex33.
35825
1f77f049
JM
358262012-02-28 Joseph Myers <joseph@codesourcery.com>
35827
35828 * manual/macros.texi: New file.
35829 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35830 * manual/libc.texinfo: Include macros.texi.
35831 * manual/creatute.texi: Likewise.
35832 * manual/install.texi: Likewise.
35833 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35834 @glibcadj{} in references to the GNU C Library.
35835 * manual/charset.texi: Likewise.
35836 * manual/conf.texi: Likewise.
35837 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35838 when not using those macros.
35839 * manual/creature.texi: Likewise.
35840 * manual/crypt.texi: Likewise.
35841 * manual/errno.texi: Likewise.
35842 * manual/filesys.texi: Likewise.
35843 * manual/header.texi: Likewise.
35844 * manual/install.texi: Likewise.
35845 * manual/intro.texi: Likewise.
35846 * manual/io.texi: Likewise.
35847 * manual/job.texi: Likewise.
35848 * manual/lang.texi: Likewise.
35849 * manual/libc.texiinfo: Likewise.
35850 * manual/llio.texi: Likewise.
35851 * manual/locale.texi: Likewise.
35852 * manual/maint.texi: Likewise.
35853 * manual/math.texi: Likewise.
35854 * manual/memory.texi: Likewise.
35855 * manual/message.texi: Likewise.
35856 * manual/nss.texi: Likewise.
35857 * manual/pattern.texi: Likewise.
35858 * manual/process.texi: Likewise.
35859 * manual/resource.texi: Likewise.
35860 * manual/search.texi: Likewise.
35861 * manual/setjmp.texi: Likewise.
35862 * manual/signal.texi: Likewise.
35863 * manual/socket.texi: Likewise.
35864 * manual/startup.texi: Likewise.
35865 * manual/stdio.texi: Likewise.
35866 * manual/string.texi: Likewise.
35867 * manual/sysinfo.texi: Likewise.
35868 * manual/syslog.texi: Likewise.
35869 * manual/terminal.texi: Likewise.
35870 * manual/time.texi: Likewise.
35871 * manual/users.texi: Likewise.
35872 * INSTALL: Regenerated.
35873 * NOTES: Regenerated.
d40c5d54 35874 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35875
450bf206
AS
358762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35877
35878 * include/dirent.h: Include <dirstream.h> before
35879 <dirent/dirent.h>.
35880
741a235b
DM
358812012-02-28 David S. Miller <davem@davemloft.net>
35882
35883 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35884 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35885 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35886 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35887
d6b5aa58
DM
358882012-02-27 David S. Miller <davem@davemloft.net>
35889
1aff59a3
DM
35890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35892 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35893 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35894
d6b5aa58
DM
35895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35896 frame pointer instead of stack pointer relative arg slot.
35897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35898 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35899 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35900
433f48bf
CD
359012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35902
35903 [BZ #3992]
35904 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35905
d674b76d
DM
359062012-02-27 David S. Miller <davem@davemloft.net>
35907
35908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35912 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35913 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35914 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35915 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35916
0e7727f7
JM
359172012-02-27 Joseph Myers <joseph@codesourcery.com>
35918
35919 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35920 later. Allow versions 5-9.
43be4ca2 35921 * configure: Regenerated.
0e7727f7
JM
35922 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35923 required minimum version and 4.6 as recommended version. Do not
35924 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35925 * INSTALL: Regenerated.
0e7727f7 35926
a78bc654
DM
359272012-02-27 David S. Miller <davem@davemloft.net>
35928
428d5830
DM
35929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35933 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35934 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35935 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35936 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35937
a78bc654
DM
35938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35939 manipulate bits before adding and subtracting TWO112[sx].
35940 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35941
4579f81c
RM
359422012-02-27 Roland McGrath <roland@hack.frob.com>
35943
36c8acb4
RM
35944 [BZ #13775]
35945 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35946 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35947 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35948 being in POSIX, because they are in 1003.1-2008.
35949
84ad622b
RM
35950 * rt/tst-aio.c: Include <fcntl.h>.
35951 * rt/tst-aio7.c: Likewise.
35952 * rt/tst-aio64.c: Likewise.
35953
4579f81c
RM
35954 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35955
abd923db
JM
359562012-02-27 Joseph Myers <joseph@codesourcery.com>
35957
35958 * manual/install.texi (--with-headers): Describe headers as
35959 interface headers, not private headers.
35960 (Specific advice for GNU/Linux systems): Describe use of headers
35961 from "make headers_install", not private headers from older
35962 kernels.
43be4ca2 35963 * INSTALL: Regenerated.
abd923db
JM
35964 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35965 Change to 2.6.19.
35966 * sysdeps/unix/sysv/linux/configure: Regenerated.
35967
6664049b
JM
35968 * manual/llio.texi (fclean): Remove documentation.
35969
bb8b6697
JM
35970 * manual/Makefile (libc-texi-generated): New variable. Include
35971 version.texi.
35972 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35973 $(libc-texi-generated), not duplicated list of files.
35974 (version.texi, stamp-version): New rules.
35975 (realclean): Remove $(libc-texi-generated), not individual files
35976 from that list. Do not remove dir-add.texinfo.
35977 * manual/libc.texinfo: Comment out uses of edition numbers and
35978 references to printed manual. Remove last-updated dates.
35979 (EDITION): Comment out.
35980 (ISBN): Likewise.
35981 (VERSION, UPDATED): Remove.
35982 (version.texi): Include.
35983
12e5c3b9
AS
359842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35985
35986 * sysdeps/posix/spawni.c: Include <signal.h>.
35987 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35988 * sysdeps/pthread/aio_fsync.c: Likewise.
35989
4efeffc1 359902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35991
ba63ba08
UD
35992 * conform/Makefile (tests): Run only when not cross-compiling and
35993 when fast-check is not defined.
35994
d94a4670
UD
35995 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35996 * conform/data/limits.h-data: Fixes for POSIX2008.
35997 * conform/run-conformtest.sh: Run all tests.
35998 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35999 headers.
36000 * include/bits/dlfcn.h: Likewise.
36001 * include/langinfo.h: Likewise.
36002 * include/monetary.h: Likewise.
36003 * include/sys/poll.h: Likewise.
36004
36005 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36006 for __USE_GNU.
36007 * posix/spawn.h: Define __need_sigset_t.
36008 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36009 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36010 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36011 to get sigevent_t only.
36012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36013 only for __USE_GNU.
36014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36015 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36016 process_vm_writev only for __USE_GNU.
36017 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36018
36019 * conform/Makefile: For now ignore errors from run-conformtest.
36020 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36021 POSIX to avoid namespace pollution. Don't prepend headers.
36022 * conform/data/aio.h-data: Fixes for POSIX testing.
36023 * conform/data/fcntl.h-data: Likewise.
36024 * conform/data/glob.h-data: Likewise.
36025 * conform/data/grp.h-data: Likewise.
36026 * conform/data/pthread.h-data: Likewise.
36027 * conform/data/pwd.h-data: Likewise.
36028 * conform/data/signal.h-data: Likewise.
36029 * conform/data/spawn.h-data: Likewise.
36030 * conform/data/stdio.h-data: Likewise.
36031 * conform/data/stdlib.h-data: Likewise.
36032 * conform/data/stropts.h-data: Likewise.
36033 * conform/data/sys/mman.h-data: Likewise.
36034 * conform/data/sys/stat.h-data: Likewise.
36035 * conform/data/sys/types.h-data: Likewise.
36036 * conform/data/sys/wait.h-data: Likewise.
36037 * conform/data/time.h-data: Likewise.
36038 * conform/data/unistd.h-data: Likewise.
36039 * conform/data/utime.h-data: Likewise.
36040
36041 * io/sys/stat.h: fchmod was always in POSIX.
36042 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36043 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36044 * rt/aio.h: Define __need_timespec before including <time.h>.
36045 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36046 struct. Add forward declaration of pthread_attr_t and use it in
36047 sigevent.
36048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36050 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36051 always remove CLK_TCK definition.
36052
c20105c3
AS
360532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36054
36055 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36056
7a270350
UD
360572012-02-25 Ulrich Drepper <drepper@gmail.com>
36058
31341567
UD
36059 * conform/run-conformtest.sh: New file.
36060 * conform/Makefile: Run run-conformtest for tests.
36061 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36062 support.
36063
36064 * conform/data/uchar.h-data: New file.
36065 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36066 * conform/data/arpa/inet.h-data: Likewise.
36067 * conform/data/assert.h-data: Likewise.
36068 * conform/data/complex.h-data: Likewise.
36069 * conform/data/cpio.h-data: Likewise.
36070 * conform/data/ctype.h-data: Likewise.
36071 * conform/data/dirent.h-data: Likewise.
36072 * conform/data/dlfcn.h-data: Likewise.
36073 * conform/data/errno.h-data: Likewise.
36074 * conform/data/fcntl.h-data: Likewise.
36075 * conform/data/float.h-data: Likewise.
36076 * conform/data/fmtmsg.h-data: Likewise.
36077 * conform/data/fnmatch.h-data: Likewise.
36078 * conform/data/ftw.h-data: Likewise.
36079 * conform/data/glob.h-data: Likewise.
36080 * conform/data/grp.h-data: Likewise.
36081 * conform/data/iconv.h-data: Likewise.
36082 * conform/data/inttypes.h-data: Likewise.
36083 * conform/data/langinfo.h-data: Likewise.
36084 * conform/data/libgen.h-data: Likewise.
36085 * conform/data/limits.h-data: Likewise.
36086 * conform/data/locale.h-data: Likewise.
36087 * conform/data/math.h-data: Likewise.
36088 * conform/data/monetary.h-data: Likewise.
36089 * conform/data/mqueue.h-data: Likewise.
36090 * conform/data/ndbm.h-data: Likewise.
36091 * conform/data/net/if.h-data: Likewise.
36092 * conform/data/netdb.h-data: Likewise.
36093 * conform/data/netinet/in.h-data: Likewise.
36094 * conform/data/nl_types.h-data: Likewise.
36095 * conform/data/poll.h-data: Likewise.
36096 * conform/data/pthread.h-data: Likewise.
36097 * conform/data/pwd.h-data: Likewise.
36098 * conform/data/regex.h-data: Likewise.
36099 * conform/data/sched.h-data: Likewise.
36100 * conform/data/search.h-data: Likewise.
36101 * conform/data/semaphore.h-data: Likewise.
36102 * conform/data/setjmp.h-data: Likewise.
36103 * conform/data/signal.h-data: Likewise.
36104 * conform/data/spawn.h-data: Likewise.
36105 * conform/data/stdarg.h-data: Likewise.
36106 * conform/data/stdio.h-data: Likewise.
36107 * conform/data/stdlib.h-data: Likewise.
36108 * conform/data/string.h-data: Likewise.
36109 * conform/data/strings.h-data: Likewise.
36110 * conform/data/stropts.h-data: Likewise.
36111 * conform/data/sys/ipc.h-data: Likewise.
36112 * conform/data/sys/mman.h-data: Likewise.
36113 * conform/data/sys/msg.h-data: Likewise.
36114 * conform/data/sys/resource.h-data: Likewise.
36115 * conform/data/sys/select.h-data: Likewise.
36116 * conform/data/sys/sem.h-data: Likewise.
36117 * conform/data/sys/shm.h-data: Likewise.
36118 * conform/data/sys/socket.h-data: Likewise.
36119 * conform/data/sys/stat.h-data: Likewise.
36120 * conform/data/sys/statvfs.h-data: Likewise.
36121 * conform/data/sys/time.h-data: Likewise.
36122 * conform/data/sys/timeb.h-data: Likewise.
36123 * conform/data/sys/times.h-data: Likewise.
36124 * conform/data/sys/types.h-data: Likewise.
36125 * conform/data/sys/uio.h-data: Likewise.
36126 * conform/data/sys/un.h-data: Likewise.
36127 * conform/data/sys/utsname.h-data: Likewise.
36128 * conform/data/sys/wait.h-data: Likewise.
36129 * conform/data/syslog.h-data: Likewise.
36130 * conform/data/tar.h-data: Likewise.
36131 * conform/data/termios.h-data: Likewise.
36132 * conform/data/utime.h-data: Likewise.
36133 * conform/data/utmpx.h-data: Likewise.
36134 * conform/data/varargs.h-data: Likewise.
36135 * conform/data/wchar.h-data: Likewise.
36136 * conform/data/wctype.h-data: Likewise.
36137 * conform/data/wordexp.h-data: Likewise.
36138
36139 * include/stropts.h: New file.
36140 * include/uchar.h: New file.
36141 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36142 * include/assert.h: Likewise.
36143 * include/ctype.h: Likewise.
36144 * include/dirent.h: Likewise.
36145 * include/dlfcn.h: Likewise.
36146 * include/fcntl.h: Likewise.
36147 * include/fnmatch.h: Likewise.
36148 * include/glob.h: Likewise.
36149 * include/grp.h: Likewise.
36150 * include/libio.h: Likewise.
36151 * include/locale.h: Likewise.
36152 * include/math.h: Likewise.
36153 * include/net/if.h: Likewise.
36154 * include/netdb.h: Likewise.
36155 * include/netinet/in.h: Likewise.
36156 * include/pthread.h: Likewise.
36157 * include/pwd.h: Likewise.
36158 * include/regex.h: Likewise.
36159 * include/sched.h: Likewise.
36160 * include/search.h: Likewise.
36161 * include/setjmp.h: Likewise.
36162 * include/signal.h: Likewise.
36163 * include/stdio.h: Likewise.
36164 * include/stdlib.h: Likewise.
36165 * include/string.h: Likewise.
36166 * include/sys/cdefs.h: Likewise.
36167 * include/sys/mman.h: Likewise.
36168 * include/sys/msg.h: Likewise.
36169 * include/sys/resource.h: Likewise.
36170 * include/sys/select.h: Likewise.
36171 * include/sys/socket.h: Likewise.
36172 * include/sys/stat.h: Likewise.
36173 * include/sys/statvfs.h: Likewise.
36174 * include/sys/time.h: Likewise.
36175 * include/sys/times.h: Likewise.
36176 * include/sys/uio.h: Likewise.
36177 * include/sys/utsname.h: Likewise.
36178 * include/sys/wait.h: Likewise.
36179 * include/termios.h: Likewise.
36180 * include/time.h: Likewise.
36181 * include/ulimit.h: Likewise.
36182 * include/unistd.h: Likewise.
36183 * include/utime.h: Likewise.
36184 * include/wchar.h: Likewise.
36185 * include/wctype.h: Likewise.
36186 * include/wordexp.h: Likewise.
36187
36188 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36189
7a270350
UD
36190 * time/time.h: TIME_UTC must be a macro.
36191 Make timespec_get available for ISO C11 only as well.
36192
7724defc
UD
361932012-02-24 Ulrich Drepper <drepper@gmail.com>
36194
36195 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36196 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36197
6b1d1d46
JM
361982012-02-24 Joseph Myers <joseph@codesourcery.com>
36199
36200 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36201
0f8bbd69
JM
362022012-02-24 Joseph Myers <joseph@codesourcery.com>
36203
36204 * manual/texinfo.tex: Update to version 2012-01-19.16.
36205
66ab80bc
JM
362062012-02-24 Joseph Myers <joseph@codesourcery.com>
36207
36208 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36209
74981cc5
RM
362102012-02-24 Roland McGrath <roland@hack.frob.com>
36211
ee968201
RM
36212 [BZ #13738]
36213 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36214 * manual/fdl-1.3.texi: New file.
36215 * manual/fdl-1.1.texi: File removed.
36216
74981cc5
RM
36217 [BZ #13738]
36218 * manual/libc.texinfo (FDL_VERSION): New @set.
36219 Use it for mention of FDL in cover text.
36220 (Documentation License): Use it in @include file name.
36221
7bb764bc
JM
362222012-02-22 Joseph Myers <joseph@codesourcery.com>
36223 Roland McGrath <roland@hack.frob.com>
36224
36225 [BZ #5461]
57f41c40
AS
36226 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36227 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36228 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36229 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36230 name.
36231 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36232
6cbeae47
JM
362332012-02-22 Joseph Myers <joseph@codesourcery.com>
36234
36235 [BZ #2547]
36236 [BZ #11365]
36237 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36238 manipulate bits before adding and subtracting TWO23[sx].
36239 * math/libm-test.inc (nearbyint_test): Add more tests.
36240
fe45ce09
JM
362412012-02-22 Joseph Myers <joseph@codesourcery.com>
36242
36243 [BZ #2548]
36244 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36245 bits before adding and subtracting TWO23[sx].
36246 * math/libm-test.inc (rint_test): Add more tests.
36247 (rint_test_tonearest): Likewise.
36248 (rint_test_towardzero): Likewise.
36249 (rint_test_downward): Likewise.
36250 (rint_test_upward: Likewise.
36251
ff3b3d82
JM
362522012-02-22 Joseph Myers <joseph@codesourcery.com>
36253
36254 [BZ #10110]
36255 * include/stdc-predef.h: New file. Extracted from features.h.
36256 * include/features.h: Include stdc-predef.h.
36257 * Makefile (headers): Add stdc-predef.h.
36258 * CONFORMANCE (Compiler limitations): Update.
36259
ef0aab35
JM
362602012-02-22 Joseph Myers <joseph@codesourcery.com>
36261
36262 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36263
58639409
DM
362642012-02-21 David S. Miller <davem@davemloft.net>
36265
36266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36267 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36268
c0e70b25
DM
362692012-02-20 David S. Miller <davem@davemloft.net>
36270
36271 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36272 using a normal save/restore sequence, rather than allocating a
36273 dummy stack frame just to store a frame pointer and restore.
36274 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36275
fb06851d
JM
362762012-02-21 Joseph Myers <joseph@codesourcery.com>
36277
36278 * manual/install.texi: Fix stray word in line-wrapped comment.
36279
7a8b71c3
DM
362802012-02-20 David S. Miller <davem@davemloft.net>
36281
d510c123
DM
36282 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36283 both binutils and gcc support GOTDATA.
36284
0722d7c2
DM
36285 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36286 "rd %pc" in the PIC register setup sequences.
36287
3d2b3019
DM
36288 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36289 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36290 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36291 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36292 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36297 (SYSCALL_ERROR_HANDLER): Likewise.
36298 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36299 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36300 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36301 (SYSCALL_ERROR_HANDLER): Likewise.
36302
c80098a9
DM
36303 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36304 (HAVE_GCC_GOTDATA): New.
36305 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36306 relocation support in both binutils and gcc.
36307 * sysdeps/sparc/elf/configure: Regenerate.
36308
3a2545a0
DM
36309 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36310 * sysdeps/sparc/sparc32/elf/configure: Delete.
36311 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36312 * sysdeps/sparc/sparc64/elf/configure: Delete.
36313 * sysdeps/sparc/elf/configure.in: New file.
36314 * sysdeps/sparc/elf/configure: Generate.
36315
7a8b71c3
DM
36316 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36317 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36318 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36319 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36320 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36321
f1e86fca
JM
363222012-02-21 Joseph Myers <joseph@codesourcery.com>
36323
36324 * manual/install.texi: Do not mention specific glibc version
36325 numbers.
36326 * manual/libc.texinfo (VERSION, UPDATED): Update.
36327 (@copying): Use @copyright{} and range of years.
36328
0e7dfaef
JM
363292012-02-21 Joseph Myers <joseph@codesourcery.com>
36330
36331 [BZ #13695]
36332 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36333 [crti.S not in sysdirs] (generated): Do not append.
36334 [crti.S not in sysdirs] (omit-deps): Likewise.
36335 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36336 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36337 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36338 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36339 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36340 Likewise.
36341 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36342 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36343 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36344 * csu/defs.awk: Remove file.
36345 * sysdeps/generic/initfini.c: Likewise.
36346 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36347 variable.
36348 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36349 Likewise.
36350
599af3ca
JM
363512012-02-20 Joseph Myers <joseph@codesourcery.com>
36352
36353 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36354 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36355 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36358 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36359 <bits/epoll.h>.
36360 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36361 (__EPOLL_PACKED): Define to empty if not defined by
36362 <bits/epoll.h>.
36363 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36365 bits/epoll.h.
36366
0e499750
JM
363672012-02-20 Joseph Myers <joseph@codesourcery.com>
36368
36369 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36370 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36371 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36372 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36373 <bits/timerfd.h>.
36374 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36376 bits/timerfd.h.
36377
5ad91f6e
JM
363782012-02-20 Joseph Myers <joseph@codesourcery.com>
36379
36380 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36381 in C locale.
36382 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36383 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36384 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36386
06b99b02
AJ
363872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36388
36389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36391
7638c0fd
AS
363922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36393
36394 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36395 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36396 defined.
36397 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36398 Likewise.
36399 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36400 entry for 2.16.
36401
92221550
AJ
364022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36403
36404 * math/w_acos.c: Use non-signaling floating-point comparisons.
36405 * math/w_acosf.c: Likewise.
36406 * math/w_acosh.c: Likewise.
36407 * math/w_acoshf.c: Likewise.
36408 * math/w_acoshl.c: Likewise.
36409 * math/w_acosl.c: Likewise.
36410 * math/w_asin.c: Likewise.
36411 * math/w_asinf.c: Likewise.
36412 * math/w_asinl.c: Likewise.
36413 * math/w_atanh.c: Likewise.
36414 * math/w_atanhf.c: Likewise.
36415 * math/w_atanhl.c: Likewise.
36416 * math/w_exp2.c: Likewise.
36417 * math/w_exp2f.c: Likewise.
36418 * math/w_exp2l.c: Likewise.
36419 * math/w_j0.c: Likewise.
36420 * math/w_j0f.c: Likewise.
36421 * math/w_j0l.c: Likewise.
36422 * math/w_j1.c: Likewise.
36423 * math/w_j1f.c: Likewise.
36424 * math/w_j1l.c: Likewise.
36425 * math/w_jn.c: Likewise.
36426 * math/w_jnf.c: Likewise.
36427 * math/w_log.c: Likewise.
36428 * math/w_log10.c: Likewise.
36429 * math/w_log10f.c: Likewise.
36430 * math/w_log10l.c: Likewise.
36431 * math/w_log2.c: Likewise.
36432 * math/w_log2f.c: Likewise.
36433 * math/w_log2l.c: Likewise.
36434 * math/w_logf.c: Likewise.
36435 * math/w_logl.c: Likewise.
36436 * math/w_sqrt.c: Likewise.
36437 * math/w_sqrtf.c: Likewise.
36438 * math/w_sqrtl.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36442 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36443 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36444
ebaf36eb
JM
364452012-02-19 Joseph Myers <joseph@codesourcery.com>
36446
36447 [BZ #9739]
36448 * manual/string.texi (strnlen): Use correct parameter name in
36449 equivalent expression.
36450
71c254a6
JM
364512012-02-19 Joseph Myers <joseph@codesourcery.com>
36452
36453 [BZ #11174]
36454 * manual/users.texi (seteuid): Consistently use neweuid for
36455 argument name.
36456
16d2c631
JM
364572012-02-19 Joseph Myers <joseph@codesourcery.com>
36458
36459 [BZ #13704]
36460 * manual/nss.texi (Services in the NSS configuration): Correct
36461 list of services in example configuration file.
36462
cd837b09
NB
364632012-02-19 Nick Bowler <nbowler@draconx.ca>
36464
36465 [BZ #11322]
36466 * manual/arith.texi: Remove statements about negative zero
36467 behaving identically to zero.
36468
02c4bbad
JM
364692012-02-18 Joseph Myers <joseph@codesourcery.com>
36470
36471 [BZ #5993]
36472 * manual/install.texi: Do not document upgrading from libc5.
36473
366842e7
JM
364742012-02-18 Joseph Myers <joseph@codesourcery.com>
36475
36476 [BZ #4596]
36477 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36478
dd54084d
DM
364792012-02-18 David S. Miller <davem@davemloft.net>
36480
36481 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36482 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36483 %o7 across the call.
36484 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36485 instead.
36486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36487 SETUP_PIC_REG_LEAF.
36488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36489 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36490 * sysdeps/sparc/crtn.S: Likewise.
36491
2bcc53a3
UD
364922012-02-17 Ulrich Drepper <drepper@gmail.com>
36493
36494 * aout/Makefile: Remove.
36495
09c093b5
RK
364962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36497
36498 [BZ #13058]
36499 * manual/examples/argp-ex1.c (main): Format definition in GNU
36500 style.
36501 * manual/examples/argp-ex2.c (main): Likewise.
36502 * manual/examples/argp-ex3.c (main): Likewise.
36503 * manual/examples/argp-ex4.c (main): Likewise.
36504 * manual/examples/longopt.c (main): Use new-style prototype
36505 definition.
36506 * manual/examples/strncat.c (main): Specify return type and use
36507 (void) for arguments.
36508 * manual/examples/subopt.c (main): Use char **argv argument.
36509
2ee633a2
JM
365102012-02-17 Joseph Myers <joseph@codesourcery.com>
36511
36512 [BZ #5077]
36513 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36514 rounding modes.
36515
0520adde
FB
365162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36517
36518 [BZ #6907]
36519 * manual/string.texi (strchr): Change when strchrnul is
36520 recommended.
36521
3f4081cd
DGM
365222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36523
36524 [BZ #174]
36525 * manual/locale.texi (setlocale): Document LOCPATH.
36526
d1b10e78
JM
365272012-02-17 Joseph Myers <joseph@codesourcery.com>
36528
36529 [BZ #10210]
36530 * manual/process.texi (execle): Move @dots{} before last argument.
36531
79c6869c
PB
365322012-02-17 Paul Bolle <pebolle@tiscali.nl>
36533
36534 [BZ #12047]
36535 * manual/charset.texi (Generic Charset Conversion): Fix typo
36536 (LC_TYPE -> LC_CTYPE).
36537
cc6e48bc
NB
365382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36539
36540 [BZ #5805]
36541 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36542 (scalbnf): Likewise.
36543 (scalbnl): Likewise.
36544 (scalbln): Likewise.
36545 (scalblnf): Likewise.
36546 (scalblnl): Likewise.
36547 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36548 (vwarnx): Likewise.
36549 (verr): Likewise.
36550 (verrx): Likewise.
36551 * manual/filesys.texi (telldir): Use braces around return type.
36552 * manual/llio.texi (mmap): Add space after comma.
36553 (mmap64): Likewise.
36554 * manual/math.texi (jn): Use @var{} on parameter names.
36555 (jnf): Likewise.
36556 (jnl): Likewise.
36557 (yn): Likewise.
36558 (ynf): Likewise.
36559 (ynl): Likewise.
36560 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36561 line.
36562 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36563 "...".
36564 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36565 (sched_get_priority_max): Likewise.
36566 * manual/signal.texi (sigvec): Add space after comma.
36567 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36568 names.
36569 (if_indextoname): Likewise.
36570 (if_freenameindex): Likewise.
36571 (sendto): Use ',' instead of '.' in prototype.
36572 * manual/startup.texi (syscall): Use @dots{} instead of literal
36573 "...".
36574 * manual/stdio.texi (__fpending): Separate initial words of
36575 paragraph from @deftypefun line.
36576 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36577 "...".
36578 (vsyslog): Use @var{} on parameter names.
36579 * manual/terminal.texi (stty): Use @var{} on parameter names.
36580 * manual/users.texi (getutmp): Use @var{} on parameter names.
36581 (getutmpx): Likewise.
36582
5b23062f
JM
365832012-02-17 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #6884]
36586 * manual/stdio.texi (fopen): Fix typos in description of
36587 ",ccs=STRING".
36588
8dee4833
AJ
365892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36590
36591 [BZ #4026]
36592 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36593 get clock_id definition.
36594
9078ce93
TS
365952012-02-17 Thomas Schwinge <thomas@schwinge.name>
36596
36597 [BZ #4822]
36598 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36599 (madvise): Cast every argument to void on its own.
36600
3835c55f
JM
366012012-02-17 Joseph Myers <joseph@codesourcery.com>
36602
36603 [BZ #9902]
36604 * manual/startup.texi (Exit Status): Fix typo.
36605
35c47e37
JM
366062012-02-17 Joseph Myers <joseph@codesourcery.com>
36607
36608 [BZ #10140]
36609 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36610 * manual/examples/argp-ex2.c: Likewise.
36611 * manual/examples/argp-ex3.c: Likewise.
36612
e3b69ca7
RH
366132012-02-16 Richard Henderson <rth@redhat.com>
36614
36615 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36616 * sysdeps/s390/s390-32/initfini.c: Remove.
36617 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36618 * sysdeps/s390/s390-64/initfini.c: Remove.
36619
df83af67
KK
366202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36621
36622 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36623 compiler output for sysdeps/generic/initfini.c.
36624 * sysdeps/sh/elf/initfini.c: Remove file.
36625
f63f3380
DM
366262012-02-16 David S. Miller <davem@davemloft.net>
36627
fb59b3a4
DM
36628 [BZ #11494]
36629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36630
f63f3380
DM
36631 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36632 * sysdeps/sparc/crti.S: New file.
36633 * sysdeps/sparc/crtn.S: New file.
36634 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36635 * sysdeps/sparc/sparc64/Makefile: Likewise.
36636
df6a4a4a
MF
366372012-02-15 Mike Frysinger <vapier@gentoo.org>
36638
6dd8f3dc 36639 [BZ #3335]
df6a4a4a
MF
36640 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36641
1cac7236
RM
366422012-02-15 Roland McGrath <roland@hack.frob.com>
36643
d2c736f8
RM
36644 [BZ #4822]
36645 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36646
1cac7236
RM
36647 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36648 (write, read, close): Likewise.
36649 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36650
8e475601
JM
366512012-02-15 Joseph Myers <joseph@codesourcery.com>
36652
36653 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36654 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36655 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36656 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36657 <bits/signalfd.h>.
36658 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36660 bits/signalfd.h.
36661
ed656b40
MP
366622012-02-14 Marek Polacek <polacek@redhat.com>
36663
36664 * sysdeps/x86_64/crti.S: New file.
36665 * sysdeps/x86_64/crtn.S: New file.
36666 * sysdeps/x86_64/elf/initfini.c: Remove file.
36667
2a979d3a
JM
366682012-02-13 Joseph Myers <joseph@codesourcery.com>
36669
36670 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36671 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36672 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36673 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36674 <bits/inotify.h>.
36675 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36677 bits/inotify.h.
36678
2a418ac3
JM
366792012-02-13 Joseph Myers <joseph@codesourcery.com>
36680
36681 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36682 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36683 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36684 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36685 <bits/eventfd.h>.
36686 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36688 bits/eventfd.h.
36689
fb779be7
TS
366902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36691
e19e83c5
RM
36692 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36693 __feraiseexcept instead of feraiseexcept.
7c35ffed 36694
fb779be7
TS
36695 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36696 nanosleep invocations.
36697 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36698 strings, and add error checking for a nanosleep invocations.
36699
59ba27a6
PE
367002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36701
36702 Replace FSF snail mail address with URLs, as per GNU coding standards.
36703 Most of the snail mail addresses were wrong anyway, and omitting
36704 them makes the source code easier to maintain. Almost all of the
36705 changes are to license notices and to locale LC_IDENTIFICATION
36706 addresses, except for this one:
36707 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36708 not its snail mail address.
36709
57b957eb
RH
367102012-02-09 Richard Henderson <rth@twiddle.net>
36711
af850b1c
RH
36712 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36713 of kernel-features.h.
36714
57b957eb
RH
36715 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36716
6b73181a
MP
367172012-02-08 Marek Polacek <polacek@redhat.com>
36718
36719 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36720 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36721 * sysdeps/gnu/_G_config.h: Likewise.
36722 * sysdeps/generic/_G_config.h: Likewise.
36723
26ecc33a
AS
367242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36725
6c6dbc63
AS
36726 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36727 tests.
36728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36729
e216c012
AS
36730 * sysdeps/powerpc/powerpc32/crti.S: New file.
36731 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36732 * sysdeps/powerpc/powerpc64/crti.S: New file.
36733 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36734
26ecc33a
AS
36735 * Makeconfig (have-initfini): Don't set.
36736 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36737 * configure.in (nopic_initfini): Don't substitute.
36738 * config.h.in (HAVE_INITFINI): Don't #undef.
36739 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36740 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36741
3add8e13
JM
367422012-02-08 Joseph Myers <joseph@codesourcery.com>
36743
36744 Support crti.S and crtn.S provided directly by architectures.
36745 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36746 [crti.S in sysdirs] (omit-deps): Likewise.
36747 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36748 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36749 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36750 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36751 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36752 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36753 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36754 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36755 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36756 compiler output for sysdeps/generic/initfini.c.
36757 * sysdeps/i386/elf/Makefile: Remove file.
36758 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36759
a22f12b4
MP
367602012-02-07 Marek Polacek <polacek@redhat.com>
36761
36762 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36763 * sysdeps/gnu/_G_config.h: Likewise.
36764 * sysdeps/mach/hurd/_G_config.h: Likewise.
36765
148cf100
MP
367662012-02-07 Marek Polacek <polacek@redhat.com>
36767
36768 * math/Makefile (tests): Add tst-CMPLX2.
36769 * math/tst-CMPLX2.c: New file.
36770
cfdc0dd7
AS
367712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36772
84ba42c4
AS
36773 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36774
cfdc0dd7
AS
36775 * math/libm-test.inc (jn_test): Add missing L suffix.
36776
622c86f4
MP
367772012-02-06 Marek Polacek <polacek@redhat.com>
36778
36779 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36780 * sysdeps/i386/fpu/e_powf.S: Likewise.
36781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36782 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36783 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36784 * sysdeps/i386/fpu/e_pow.S: Likewise.
36785 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36786 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36787 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36788 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36789 * sysdeps/i386/fpu/e_log2.S: Likewise.
36790 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36791 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36792 * sysdeps/i386/fpu/e_powl.S: Likewise.
36793 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36794 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36795 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36796 * sysdeps/i386/fpu/e_logl.S: Likewise.
36797 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36798 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36799 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36800 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36801 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36802 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36803 * sysdeps/i386/fpu/e_log.S: Likewise.
36804 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36805 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36806 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36807 * sysdeps/i386/fpu/e_logf.S: Likewise.
36808 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36809 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36810 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36811 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36812 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36813 * sysdeps/i386/fpu/e_log10.S: Likewise.
36814 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36815 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36816 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36817 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36818 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36819 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36820 * sysdeps/i386/asm-syntax.h: Likewise.
36821 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36822 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36823 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36824 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36825 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36826 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36827 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36828 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36829 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36830 * sysdeps/powerpc/sysdep.h: Likewise.
36831 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36833
d4a54ac6
JM
368342012-02-06 Joseph Myers <joseph@codesourcery.com>
36835
36836 [BZ #411]
36837 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36838
314054ea
JM
368392012-02-06 Joseph Myers <joseph@codesourcery.com>
36840
36841 * sysdeps/i386/sysdep.h: Include <features.h>.
36842 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36843 version.
36844
d8e0ca50
JM
368452012-02-05 Joseph Myers <joseph@codesourcery.com>
36846
36847 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36848 Define.
36849 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36850 LOAD_PIC_REG_STR.
36851
b1da7dd9
JM
368522012-02-03 Joseph Myers <joseph@codesourcery.com>
36853
36854 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36855 (SETUP_PIC_REG): Use GET_PC_THUNK.
36856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36857 macro.
36858
9a1d9254
JM
368592012-02-03 Joseph Myers <joseph@codesourcery.com>
36860
36861 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36862 for non-PIC compilation.
36863 (SETUP_PIC_REG): Add .p2align directive.
36864 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36865 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36866 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36868 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36870 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36872 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36873 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36875 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36878 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36881 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36882 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36883 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36884 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36885 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36886 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36887 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36891 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36900 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36901 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36902 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36903 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36904 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36905
65dc3b75
JM
369062012-02-03 Joseph Myers <joseph@codesourcery.com>
36907
36908 * math/tst-CMPLX.c: Include <stdio.h>.
36909
d55bf177
JM
369102012-01-31 Joseph Myers <joseph@codesourcery.com>
36911
36912 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36913 float.
36914 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36915 * sysdeps/sparc/bits/mathdef.h: Likewise.
36916
69db4f8f
MP
369172012-01-31 Marek Polacek <polacek@redhat.com>
36918
36919 * libio/libio.h: Don't define _PARAMS.
36920 * locale/programs/config.h: Don't define PARAMS.
36921 * stdlib/strtol_l.c: Likewise.
36922 (__strtol_l): Remove PARAMS from the prototype.
36923
41b81892
UD
369242012-01-31 Ulrich Drepper <drepper@gmail.com>
36925
3b49edc0
UD
36926 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36927 names. Just use the correct names. Remove unnecessary wrapper
36928 functions.
36929 * malloc/arena.c: Likewise.
36930 * malloc/hooks.c: Likewise.
36931
41b81892
UD
36932 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36933 ARENA_TEST says not to. Simplify test for creation of a new arena.
36934 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36935
27a25b6e
UD
369362012-01-30 Ulrich Drepper <drepper@gmail.com>
36937
36938 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36939 into tail calls.
36940 (update_get_addr): New function.
36941 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36942 GET_ADDR_MODULE parameter.
36943
c8a89e7d
JM
369442012-01-30 Joseph Myers <joseph@codesourcery.com>
36945
36946 * crypt/cert.c: Remove __STDC__ conditionals.
36947 * crypt/crypt-entry.c: Likewise.
36948 * crypt/crypt_util.c: Likewise.
36949 * libio/filedoalloc.c: Likewise.
36950 * libio/fileops.c: Likewise.
36951 * libio/genops.c: Likewise.
36952 * libio/iofclose.c: Likewise.
36953 * libio/iofdopen.c: Likewise.
36954 * libio/iofopen.c: Likewise.
36955 * libio/iofopen64.c: Likewise.
36956 * libio/iogetdelim.c: Likewise.
36957 * libio/iopopen.c: Likewise.
36958 * libio/obprintf.c: Likewise.
36959 * libio/oldfileops.c: Likewise.
36960 * libio/oldiofclose.c: Likewise.
36961 * libio/oldiofdopen.c: Likewise.
36962 * libio/oldiofopen.c: Likewise.
36963 * libio/oldiopopen.c: Likewise.
36964 * libio/wfiledoalloc.c: Likewise.
36965 * libio/wgenops.c: Likewise.
36966 * locale/programs/xmalloc.c: Likewise.
36967 * misc/syslog.c: Likewise.
36968 * stdio-common/xbug.c: Likewise.
36969 * string/memchr.c: Likewise.
36970 * string/memcmp.c: Likewise.
36971 * string/memrchr.c: Likewise.
36972 * string/rawmemchr.c: Likewise.
36973 * sysdeps/posix/getcwd.c: Likewise.
36974 * time/strftime_l.c: Likewise.
36975
3b100462
JM
369762012-01-30 Joseph Myers <joseph@codesourcery.com>
36977
36978 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36979 * config.make.in (config-cflags-sse2avx): Define.
36980 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36981 Fix typo.
36982
607998af
CM
369832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36984
36985 * scripts/config.guess: Update from upstream config git repository.
36986 * scripts/config.sub: Likewise.
36987
3601428f
CM
369882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36989
3ac8b282
CM
36990 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36991 (EM_NUM): Update.
36992 (R_TILEPRO_*, R_TILEGX_*): New macros.
36993
e034841e
CM
36994 * scripts/firstversions.awk: Fix bug in version range handling.
36995
540d7568
CM
36996 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36997
3601428f
CM
36998 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36999
463de862
CM
37000 * include/sys/epoll.h: New file.
37001 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37002 libc_hidden_def.
37003
73139a76
UD
370042012-01-28 Ulrich Drepper <drepper@gmail.com>
37005
96bc5b45
UD
37006 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37007 Avoid unnecessary __WORDSIZE == 64 test.
37008 (fmaxf): Use VEX format if possible.
37009 (fmax): Likewise.
37010 (fminf): Likewise.
37011 (fmin): Likewise.
37012
56f6f6a2
UD
37013 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37014 * math/math_private.h: Remove libc_fegetround* and
37015 libc_fesetround*.
37016 * sysdeps/i386/configure.in: Check for -msse2avx.
37017 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37018 also if SSE2AVX is defined.
37019 Remove libc_fegetround* and libc_fesetround*.
37020 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37021 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37023 of HAS_YMM_USABLE.
37024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37025 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37026 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37027 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37029
73139a76
UD
37030 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37031
d73f93a4
AZ
370322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37033
37034 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37035 size is not set.
37036 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37037
6ee65ed6
UD
370382012-01-27 Ulrich Drepper <drepper@gmail.com>
37039
37040 [BZ #13618]
37041 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37042 relocation.
37043 * Makeconfig (libm): Define.
37044 * elf/Makefile: Add rules to build and run tst-relsort1.
37045 * elf/tst-relsort1.c: New file.
37046 * elf/tst-relsort1mod1.c: New file.
37047 * elf/tst-relsort1mod2.c: New file.
37048
8db21882
JM
370492012-01-27 Joseph Myers <joseph@codesourcery.com>
37050
37051 * math/s_ldexp.c: Remove __STDC__ conditionals.
37052 * math/s_ldexpf.c: Likewise.
37053 * math/s_ldexpl.c: Likewise.
37054 * math/s_nextafter.c: Likewise.
37055 * math/s_nexttowardf.c: Likewise.
37056 * math/s_significand.c: Likewise.
37057 * math/s_significandf.c: Likewise.
37058 * math/s_significandl.c: Likewise.
37059 * math/w_jnl.c: Likewise.
37060 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37061 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37062 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37063 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37064 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37086 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37087 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37088 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37089 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37092 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37093 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37095 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37096 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37100 * sysdeps/ieee754/k_standard.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37162 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37167 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37176 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37180 * sysdeps/ieee754/s_matherr.c: Likewise.
37181 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37182 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37183 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37185
965a54a4
JM
371862012-01-26 Joseph Myers <joseph@codesourcery.com>
37187
37188 * crypt/md5.h: Remove __STDC__ conditionals.
37189 * libio/libioP.h: Likewise.
37190 * locale/programs/config.h: Likewise.
37191 * sysdeps/generic/sysdep.h: Likewise.
37192 * sysdeps/i386/asm-syntax.h: Likewise.
37193 * sysdeps/s390/asm-syntax.h: Likewise.
37194 * sysdeps/unix/sysdep.h: Likewise.
37195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37197
7071ad79
JM
371982012-01-26 Joseph Myers <joseph@codesourcery.com>
37199
37200 * libio/libio.h: Remove __STDC__ conditionals.
37201 * malloc/obstack.h: Likewise.
37202 * math/complex.h: Likewise.
37203 * math/math.h: Likewise.
37204 * sysdeps/generic/_G_config.h: Likewise.
37205 * sysdeps/gnu/_G_config.h: Likewise.
37206 * sysdeps/mach/hurd/_G_config.h: Likewise.
37207 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37208 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37209 * sysdeps/sparc/bits/mathdef.h: Likewise.
37210
afc5ed09
UD
372112012-01-26 Ulrich Drepper <drepper@gmail.com>
37212
37213 [BZ #13583]
37214 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37215 Clean up HAS_* macros.
afc5ed09 37216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37217 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37218 possible.
37219 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37220 HAS_AVX.
37221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37222 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37223 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37224 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37225 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37226
bdb6de1d
JM
372272012-01-25 Joseph Myers <joseph@codesourcery.com>
37228
37229 * elf/tst-unique3.cc (gets): Remove declaration.
37230 * elf/tst-unique3lib.cc (gets): Likewise.
37231 * elf/tst-unique3lib2.cc (gets): Likewise.
37232 * elf/tst-unique4.cc (gets): Likewise.
37233
b15549e6
UD
372342012-01-24 Ulrich Drepper <drepper@gmail.com>
37235
37236 * include/stdio.h: Add C++ protection. Add gets declarations and
37237 definitions.
37238 * debug/tst-chk1.c: Don't declare gets here.
37239 * stdio-common/tst-gets.c: Likewise.
37240
a037381f
JM
372412012-01-24 Joseph Myers <joseph@codesourcery.com>
37242
37243 * posix/glob: Remove directory.
37244
f1d4aa75
JM
372452012-01-24 Joseph Myers <joseph@codesourcery.com>
37246
37247 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37248
81c0c964
PT
372492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37250
37251 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37252 of the non-standard EPFNOSUPPORT.
37253
0ea698ae
ST
372542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37255
37256 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37257 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37258 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37259
d220b117
UD
372602012-01-21 Ulrich Drepper <drepper@gmail.com>
37261
37262 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37263
3e1aa84e
UD
372642012-01-20 Ulrich Drepper <drepper@gmail.com>
37265
37266 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37267 transient errors.
37268 * nscd/grpcache.c (cache_addgr): Likewise.
37269 * nscd/hstcache.c (cache_addhst): Likewise.
37270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37271 * nscd/pwdcache.c (cache_addpw): Likewise.
37272 * nscd/servicescache.c (cache_addserv): Likewise.
37273
400aa020
UD
372742012-01-16 Ulrich Drepper <drepper@gmail.com>
37275
d77e7869
UD
37276 * malloc/malloc.c: Various cleanups.
37277 * malloc/hooks.c: Likewise.
37278
400aa020
UD
37279 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37280 * stdlib/bug-fmtmsg1.c: New file.
37281
37282 * stdlib/fmtmsg.c (init): Add missing unlock.
37283 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37284
e0a309cf
MP
372852012-01-12 Marek Polacek <polacek@redhat.com>
37286
37287 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37288 and _GNU_SOURCE.
37289
929d11c7
WS
372902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37291
37292 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37293 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37294 macro to ensure uniqueness of label name.
37295 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37296 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37297
41d0e869
UD
372982012-01-11 Ulrich Drepper <drepper@gmail.com>
37299
0cc5ed3b
UD
37300 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37301
41d0e869
UD
37302 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37303 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37306
a47a831a
UD
373072012-01-10 Ulrich Drepper <drepper@gmail.com>
37308
daa891c0
UD
37309 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37310
37311 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37312 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37313 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37314
e58ef0f2
UD
37315 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37316
a47a831a 37317 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37318 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37321
37322 * math/bits/math-finite.h: Add ldexp support.
37323
a0bfc9c7
MP
373242012-01-10 Marek Polacek <polacek@redhat.com>
37325
37326 * locale/programs/localedef.h (show_archive_content): Add noreturn
37327 attribute.
37328
d6e97a1d
UD
373292012-01-09 Ulrich Drepper <drepper@gmail.com>
37330
37331 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37332
d5835c26
UD
373332012-01-08 Ulrich Drepper <drepper@gmail.com>
37334
e5f484c6
UD
37335 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37336
d5835c26
UD
37337 * io/Makefile (headers): Add bits/poll2.h.
37338
d1f741e9
WS
373392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37340
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37342 typo #include statement.
37343
ec09c1c4
UD
373442012-01-08 Ulrich Drepper <drepper@gmail.com>
37345
37346 * include/sys/cdefs.h: Define __attribute_alloc_size.
37347 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37348 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37349 * elf/pldd.c: Likewise.
37350 * iconv/iconv_charmap.c: Likewise.
37351 * iconv/iconvconfig.c: Likewise.
37352 * iconv/strtab.c: Likewise.
37353 * locale/programs/locale.c: Likewise.
37354 * locale/programs/localedef.h: Likewise.
37355 * locale/programs/simple-hash.c: Likewise.
37356 * nscd/nscd.h: Likewise.
37357 * nss/makedb.c: Likewise.
37358 * sysdeps/generic/ldconfig.h: Likewise.
37359 * locale/programs/localedef.c: Remove xmalloc prototype.
37360 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37361
20b38e03
PP
373622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37363
37364 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37365 appropriate.
37366
a0da5fe1
UD
373672012-01-08 Ulrich Drepper <drepper@gmail.com>
37368
1d5a644a 37369 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37370 * math/tst-CMPLX.c: New file.
1d5a644a 37371
8784a6db
UD
37372 * math/complex.h (CMPLXL): Fix typo.
37373
d9a216c0
UD
37374 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37375 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37376 GLIBC_2.16.
37377 * debug/tst-chk1.c: Add poll and ppoll tests.
37378 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37379 * include/sys/poll.h: Add hidden proto for ppoll.
37380 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37381 * sysdeps/mach/hurd/ppoll.c: Likewise.
37382 * io/ppoll.c: Likewise.
37383 * debug/poll_chk.c: New file.
37384 * debug/ppoll_chk.c: New file.
37385 * include/bits/poll2.h: New file.
37386 * io/bits/poll2.h: New file.
37387
ac097f5c
UD
37388 [BZ #1350]
37389 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37390
2119dcfa
UD
37391 * configure.in: static is always set to yes. Remove.
37392 * config.make.in: Don't set build-static.
37393 * Makeconfig: Remove use of build-static.
37394 * dlfcn/Makefile: Likewise.
37395 * elf/Makefile: Likewise.
37396 * math/Makefile: Likewise.
37397 * misc/Makefile: Likewise.
37398 * nptl/Makefile: Likewise.
37399 * sysdeps/mach/hurd/Makefile: Likewise.
37400
121766a9
UD
37401 * configure.in: PWD_P is not used anymore.
37402 * config.make.in: Remove PWD_P entry.
37403
51a1d39c 37404 * configure.in: Remove last remnants of RANLIB.
8720d066 37405 No need to check for signed size_t anymore.
215f4bdc
UD
37406 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37407 and IA-64.
3857022a 37408 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37409 * aclocal.m4: Likewise.
37410
d3ed7225
UD
37411 * wcsmbs/mbrtoc16.c: Implement using towc function.
37412 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37413 * wcsmbs/wcsmbsload.c: Likewise.
37414 * iconv/gconv_simple.c: Likewise.
37415 * iconv/gconv_int.h: Likewise.
37416 * iconv/gconv_builtin.h: Likewise.
37417 * iconv/iconv_prog.c: Remove CHAR16 handling.
37418
37419 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37420
37421 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37422
a0da5fe1
UD
37423 * configure.in: Remove --with-elf and --enable-bounded options.
37424 Dont set base_machine for ia64. More non-ELF conditions removed.
37425 Remove testing and setting of leading underscore information.
37426 * config.make.in (build-bounded): Set to no.
37427 * config.h.in: Remove NO_UNDERSCORES entry.
37428 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37429 them.
37430 * csu/start.c: Remove !NO_UNDERSCORE code.
37431 * locale/localeinfo.h: Likewise.
37432 * sysdeps/generic/machine-gmon.h: Likewise.
37433 * sysdeps/generic/sysdep.h: Likewise.
37434 * sysdeps/i386/sysdep.h: Likewise.
37435 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37436 * sysdeps/mach/sysdep.h: Likewise.
37437 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37439 * sysdeps/sh/sysdep.h: Likewise.
37440 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37441 * sysdeps/unix/i386/sysdep.S: Likewise.
37442 * sysdeps/unix/sparc/start.c: Likewise.
37443 * sysdeps/unix/sparc/sysdep.S: Likewise.
37444 * sysdeps/unix/sparc/sysdep.h: Likewise.
37445 * sysdeps/unix/start.c: Likewise.
37446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37447 * sysdeps/x86_64/sysdep.h: Likewise.
37448
df78418a
UD
374492012-01-07 Ulrich Drepper <drepper@gmail.com>
37450
a784e502
UD
37451 [BZ #13553]
37452 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37453 for non-gcc.
37454 * argp/argp-fmtstream.h: Use const instead __const.
37455 * argp/argp.h: Likewise.
37456 * assert/assert.h: Likewise.
37457 * bits/fenv.h: Likewise.
37458 * bits/sched.h: Likewise.
37459 * bits/sigset.h: Likewise.
37460 * bits/sigthread.h: Likewise.
37461 * catgets/nl_types.h: Likewise.
37462 * conform/data/pthread.h-data: Likewise.
37463 * crypt/crypt-private.h: Likewise.
37464 * crypt/crypt.h: Likewise.
37465 * crypt/crypt_util.c: Likewise.
37466 * ctype/ctype.h: Likewise.
37467 * debug/execinfo.h: Likewise.
37468 * debug/mbsnrtowcs_chk.c: Likewise.
37469 * debug/mbsrtowcs_chk.c: Likewise.
37470 * debug/wcsnrtombs_chk.c: Likewise.
37471 * debug/wcsrtombs_chk.c: Likewise.
37472 * debug/wcstombs_chk.c: Likewise.
37473 * dirent/dirent.h: Likewise.
37474 * dlfcn/dlfcn.h: Likewise.
37475 * elf/neededtest4.c: Likewise.
37476 * grp/grp.h: Likewise.
37477 * gshadow/gshadow.h: Likewise.
37478 * iconv/gconv.h: Likewise.
37479 * iconv/gconv_int.h: Likewise.
37480 * iconv/gconv_simple.c: Likewise.
37481 * iconv/iconv.h: Likewise.
37482 * iconv/loop.c: Likewise.
37483 * iconv/skeleton.c: Likewise.
37484 * include/aio.h: Likewise.
37485 * include/aliases.h: Likewise.
37486 * include/argz.h: Likewise.
37487 * include/arpa/inet.h: Likewise.
37488 * include/assert.h: Likewise.
37489 * include/dirent.h: Likewise.
37490 * include/dlfcn.h: Likewise.
37491 * include/execinfo.h: Likewise.
37492 * include/fcntl.h: Likewise.
37493 * include/fenv.h: Likewise.
37494 * include/glob.h: Likewise.
37495 * include/grp.h: Likewise.
37496 * include/libintl.h: Likewise.
37497 * include/mntent.h: Likewise.
37498 * include/netdb.h: Likewise.
37499 * include/pwd.h: Likewise.
37500 * include/rpc/netdb.h: Likewise.
37501 * include/sched.h: Likewise.
37502 * include/search.h: Likewise.
37503 * include/shadow.h: Likewise.
37504 * include/signal.h: Likewise.
37505 * include/stdio.h: Likewise.
37506 * include/stdlib.h: Likewise.
37507 * include/string.h: Likewise.
37508 * include/sys/socket.h: Likewise.
37509 * include/sys/stat.h: Likewise.
37510 * include/sys/statfs.h: Likewise.
37511 * include/sys/statvfs.h: Likewise.
37512 * include/sys/syslog.h: Likewise.
37513 * include/sys/time.h: Likewise.
37514 * include/sys/uio.h: Likewise.
37515 * include/time.h: Likewise.
37516 * include/unistd.h: Likewise.
37517 * include/utmp.h: Likewise.
37518 * include/wchar.h: Likewise.
37519 * include/wctype.h: Likewise.
37520 * inet/aliases.h: Likewise.
37521 * inet/arpa/inet.h: Likewise.
37522 * inet/netinet/ether.h: Likewise.
37523 * inet/netinet/in.h: Likewise.
37524 * intl/libintl.h: Likewise.
37525 * io/bits/fcntl2.h: Likewise.
37526 * io/fcntl.h: Likewise.
37527 * io/ftw.h: Likewise.
37528 * io/sys/poll.h: Likewise.
37529 * io/sys/stat.h: Likewise.
37530 * io/sys/statfs.h: Likewise.
37531 * io/sys/statvfs.h: Likewise.
37532 * io/utime.h: Likewise.
37533 * libio/bits/stdio.h: Likewise.
37534 * libio/bits/stdio2.h: Likewise.
37535 * libio/libio.h: Likewise.
37536 * libio/libioP.h: Likewise.
37537 * libio/stdio.h: Likewise.
37538 * locale/lc-ctype.c: Likewise.
37539 * locale/locale.h: Likewise.
37540 * login/utmp.h: Likewise.
37541 * malloc/arena.c: Likewise.
37542 * malloc/malloc.c: Likewise.
37543 * malloc/malloc.h: Likewise.
37544 * malloc/mcheck.c: Likewise.
37545 * malloc/mtrace.c: Likewise.
37546 * math/bits/mathcalls.h: Likewise.
37547 * math/fenv.h: Likewise.
37548 * math/math_private.h: Likewise.
37549 * misc/bits/error.h: Likewise.
37550 * misc/bits/syslog.h: Likewise.
37551 * misc/err.h: Likewise.
37552 * misc/error.h: Likewise.
37553 * misc/fstab.h: Likewise.
37554 * misc/mntent.h: Likewise.
37555 * misc/regexp.h: Likewise.
37556 * misc/search.h: Likewise.
37557 * misc/sgtty.h: Likewise.
37558 * misc/sys/mman.h: Likewise.
37559 * misc/sys/syslog.h: Likewise.
37560 * misc/sys/uio.h: Likewise.
37561 * misc/sys/xattr.h: Likewise.
37562 * misc/ttyent.h: Likewise.
37563 * nis/rpcsvc/ypclnt.h: Likewise.
37564 * nss/nss.h: Likewise.
37565 * posix/bits/unistd.h: Likewise.
37566 * posix/fnmatch.h: Likewise.
37567 * posix/glob.h: Likewise.
37568 * posix/sched.h: Likewise.
37569 * posix/spawn.h: Likewise.
37570 * posix/sys/wait.h: Likewise.
37571 * posix/unistd.h: Likewise.
37572 * posix/wordexp.h: Likewise.
37573 * pwd/pwd.h: Likewise.
37574 * resolv/netdb.h: Likewise.
37575 * resource/sys/resource.h: Likewise.
37576 * rt/aio.h: Likewise.
37577 * rt/bits/mqueue2.h: Likewise.
37578 * rt/mqueue.h: Likewise.
37579 * shadow/shadow.h: Likewise.
37580 * signal/signal.h: Likewise.
37581 * socket/send.c: Likewise.
37582 * socket/sendto.c: Likewise.
37583 * socket/sys/socket.h: Likewise.
37584 * stdio-common/printf.h: Likewise.
37585 * stdlib/bits/stdlib.h: Likewise.
37586 * stdlib/fmtmsg.h: Likewise.
37587 * stdlib/monetary.h: Likewise.
37588 * stdlib/stdlib.h: Likewise.
37589 * stdlib/ucontext.h: Likewise.
37590 * streams/stropts.h: Likewise.
37591 * string/argz.h: Likewise.
37592 * string/bits/string2.h: Likewise.
37593 * string/string.h: Likewise.
37594 * string/strings.h: Likewise.
37595 * sunrpc/rpc/auth.h: Likewise.
37596 * sunrpc/rpc/auth_des.h: Likewise.
37597 * sunrpc/rpc/clnt.h: Likewise.
37598 * sunrpc/rpc/netdb.h: Likewise.
37599 * sunrpc/rpc/pmap_clnt.h: Likewise.
37600 * sunrpc/rpc/xdr.h: Likewise.
37601 * sysdeps/generic/inttypes.h: Likewise.
37602 * sysdeps/generic/net/if.h: Likewise.
37603 * sysdeps/generic/sys/swap.h: Likewise.
37604 * sysdeps/gnu/net/if.h: Likewise.
37605 * sysdeps/gnu/utmpx.h: Likewise.
37606 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37607 * sysdeps/i386/i486/bits/string.h: Likewise.
37608 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37609 * sysdeps/s390/bits/string.h: Likewise.
37610 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37611 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37612 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37613 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37614 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37615 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37616 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37617 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37618 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37619 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37620 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37621 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37622 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37623 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37624 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37625 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37626 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37628 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37631 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37632 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37633 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37634 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37635 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37636 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37638 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37640 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37641 * sysvipc/sys/ipc.h: Likewise.
37642 * sysvipc/sys/msg.h: Likewise.
37643 * sysvipc/sys/sem.h: Likewise.
37644 * sysvipc/sys/shm.h: Likewise.
37645 * termios/termios.h: Likewise.
37646 * time/sys/time.h: Likewise.
37647 * time/time.h: Likewise.
37648 * wcsmbs/bits/wchar2.h: Likewise.
37649 * wcsmbs/uchar.h: Likewise.
37650 * wcsmbs/wchar.h: Likewise.
37651 * wctype/wctype.h: Likewise.
37652
0269750c
UD
37653 [BZ #13551]
37654 * Makeconfig: Remove all but ELF support including AIX support.
37655 * Makerules: Likewise.
37656 * config.h.in: Likewise.
37657 * config.make.in: Likewise.
37658 * configure: Likewise.
37659 * configure.in: Likewise.
37660 * csu/Makefile: Likewise.
37661 * csu/version.c: Likewise.
37662 * debug/Makefile: Likewise.
37663 * dlfcn/Makefile: Likewise.
37664 * elf/Makefile: Likewise.
37665 * extra-lib.mk: Likewise.
37666 * iconv/Makefile: Likewise.
37667 * include/libc-symbols.h: Likewise.
37668 * include/shlib-compat.h: Likewise.
37669 * resolv/Makefile: Likewise.
37670 * resolv/res_libc.c: Likewise.
37671 * rt/Makefile: Likewise.
37672 * sysdeps/i386/asm-syntax.h: Likewise.
37673 * sysdeps/i386/sysdep.h: Likewise.
37674 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37675 * sysdeps/mach/sysdep.h: Likewise.
37676 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37677 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37678 * sysdeps/s390/asm-syntax.h: Likewise.
37679 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37681 * sysdeps/sh/sysdep.h: Likewise.
37682 * sysdeps/unix/sparc/sysdep.h: Likewise.
37683 * sysdeps/wordsize-32/divdi3.c: Likewise.
37684 * sysdeps/x86_64/sysdep.h: Likewise.
37685
00bbd29b
UD
37686 * argp/Versions: Remove _argp_unlock_xxx.
37687
37688 [BZ #13559]
37689 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37690 * abilist/libBrokenLocale.abilist: Likewise.
37691 * abilist/libanl.abilist: Likewise.
37692 * abilist/libc.abilist: Likewise.
37693 * abilist/libcrypt.abilist: Likewise.
37694 * abilist/libdl.abilist: Likewise.
37695 * abilist/libm.abilist: Likewise.
37696 * abilist/libnsl.abilist: Likewise.
37697 * abilist/libpthread.abilist: Likewise.
37698 * abilist/libresolv.abilist: Likewise.
37699 * abilist/librt.abilist: Likewise.
37700 * abilist/libthread_db.abilist: Likewise.
37701 * abilist/libutil.abilist: Likewise.
37702 * abilist/libnss_db.abilist: New file.
37703
37704 * scripts/abilist.awk: Add support for indirect functions.
37705
a2693a0e
UD
37706 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37707
3f05895f
UD
37708 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37709
ecb6fb48
UD
37710 * shlib-versions: Remove entries for ports architectures.
37711
664f8cb9
UD
37712 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37713 files in ports.
37714 * elf/stackguard-macros.h: Remove support for IA-64.
37715 * elf/tst-auditmod1.c: Likewise.
37716 * sysdeps/generic/ldsodefs.h: Likewise.
37717
7ae81d88
UD
37718 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37719 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37720 configure files.
37721
bdeba135
UD
37722 [BZ #13552]
37723 * configure.in: Remove --enable-omitfp support.
37724 * FAQ.in: Adjust.
37725 * config.make.in: Likewise.
37726 * Makeconfig: Likewise.
37727 * manual/install.texi: Likewise.
37728
d75a0a62
UD
37729 In case anyone cares, the IA-64 architecture could move to ports.
37730 * sysdeps/ia64/*: Removed.
37731 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37732 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37733
dcc9756b
UD
37734 [BZ #13555]
37735 * configure.in: Remove entries for unsupported architectures.
37736
d3761ebc 37737 [BZ #13533]
9954432e
UD
37738 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37739 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37740 routines.
37741 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37742 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37743 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37744 fall back to using wcrtomb.
37745 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37746 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37747 renaming.
37748 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37749 * wcsmbs/tst-c16c32-1.c: New file.
37750
37751 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37752 local variable.
37753
c3a87236
UD
37754 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37755
28926a1b
UD
37756 * elf/tst-unique3.cc: Add explicit declaration of gets.
37757 * elf/tst-unique3lib.cc: Likewise.
37758 * elf/tst-unique3lib2.cc: Likewise.
37759 * elf/tst-unique4.cc: Likewise.
37760
df78418a
UD
37761 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37762
8ecd6b2a
JM
377632012-01-06 Joseph Myers <joseph@codesourcery.com>
37764
37765 [BZ #13566]
37766 * assert/assert.h (static_assert): Don't define for C++.
37767 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37768 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37769
9f115170
UD
377702012-01-03 Ulrich Drepper <drepper@gmail.com>
37771
5e0d0300
UD
37772 * iconv/loop.c (single loop): Fix assertion in storing of
37773 remaining bytes.
37774
9f115170
UD
37775 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37776
81fb02b0
UD
377772012-01-01 Ulrich Drepper <drepper@gmail.com>
37778
37779 * posix/getconf.c: Update copyright year.
37780 * nss/getent.c: Likewise.
a316c1f6 37781 * nss/makedb.c: Likewise.
81fb02b0
UD
37782 * iconv/iconvconfig.c: Likewise.
37783 * iconv/iconv_prog.c: Likewise.
37784 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37785 * elf/pldd.c: Likewise.
37786 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37787 * catgets/gencat.c: Likewise.
37788 * csu/version.c: Likewise.
37789 * elf/ldd.bash.in: Likewise.
37790 * elf/sprof.c (print_version): Likewise.
37791 * locale/programs/locale.c: Likewise.
37792 * locale/programs/localedef.c: Likewise.
a316c1f6 37793 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37794 * nscd/nscd.c (print_version): Likewise.
37795 * debug/xtrace.sh: Likewise.
37796 * malloc/memusage.sh: Likewise.
37797 * malloc/mtrace.pl: Likewise.
37798 * debug/catchsegv.sh: Likewise.
37799
2ba92745
JJ
378002011-12-30 Jakub Jelinek <jakub@redhat.com>
37801
37802 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37803 pure attribute.
37804
dadebdae
UD
378052011-12-24 Ulrich Drepper <drepper@gmail.com>
37806
d3761ebc 37807 [BZ #13533]
db6af3eb
UD
37808 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37809 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37810 transformations.
37811 * iconv/gconv_int.h: Likewise.
37812 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37813 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37814 from libc for GLIBC_2.16.
37815 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37816 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37817 * wcsmbs/uchar.h: Really define mbstate_t.
37818 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37819 * wcsmbs/c16rtomb.c: New file.
37820 * wcsmbs/mbrtoc16.c: New file.
37821 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37822 for C/POSIX locale.
37823 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37824 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37825
dadebdae
UD
37826 * wcsmbs/wchar.h: Add missing __restrict.
37827
67371b56
UD
378282011-12-23 Ulrich Drepper <drepper@gmail.com>
37829
74033a25
UD
37830 [BZ #13532]
37831 * time/Makefile (routines): Add timespec_get.
37832 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37833 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37834 timespec for ISO C11.
37835 * time/timespec_get.c: New file.
37836 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37837 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37838
380d7e87
UD
37839 [BZ #13531]
37840 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37841 * stdlib/stdlib.h: Declare aligned_alloc.
37842 * Versions.def: Add GLIBC_2.16 for libc.
37843 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37844
4e9e7a35
UD
37845 [BZ 13527]
37846 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37847 ISO C11.
37848
380d7e87 37849 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37850 code.
37851
03a71829
UD
37852 [BZ #13528]
37853 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37854
839e283e
UD
37855 [BZ #13529]
37856 * assert/assert.h (static_assert): Define.
37857
ce5294e2 37858 * version.h: Update for 2.16 development version.
90fa7312 37859
8d44e150 37860 [BZ #13526]
d7809905
UD
37861 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37862 _ISOC11_SOURCE.
37863
c0da14cd
UD
37864 * version.h (RELEASE): Bump for 2.15 release.
37865 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37866
530a3249
MP
37867 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37868 Patch by Marek Polacek <mpolacek@redhat.com>.
37869
67371b56
UD
37870 * bits/byteswap.h: Protect long long constants with __extension__.
37871 * sysdeps/i386/bits/byteswap.h: Likewise.
37872 * sysdeps/ia64/bits/byteswap.h: Likewise.
37873 * sysdeps/s390/bits/byteswap.h: Likewise.
37874 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37875
15db4de1
LD
378762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37877
37878 [BZ #13540]
bbe315ea
LD
37879 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37880 destination buffer.
15db4de1
LD
37881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37882
2b2596b1
MP
378832011-12-23 Marek Polacek <polacek@redhat.com>
37884
37885 * elf/dl-addr.c (determine_info): Add inline keyword.
37886 * elf/tst-auditmod4b.c (check_avx): Likewise.
37887 * elf/tst-auditmod6b.c (check_avx): Likewise.
37888 * elf/tst-auditmod6c.c (check_avx): Likewise.
37889 * elf/tst-auditmod7b.c (check_avx): Likewise.
37890
70c6c246
UD
378912011-12-23 Ulrich Drepper <drepper@gmail.com>
37892
37893 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37894 !__SSE_MATH__.
37895
c044cf14
LD
378962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37897
15db4de1 37898 [BZ #13540]
c044cf14
LD
37899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37900 processing for last bytes.
37901
6b13d9d9
BH
379022011-08-06 Bruno Haible <bruno@clisp.org>
37903
d455f537
BH
37904 [BZ #13061]
37905 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37906 U+0385, not to U+1FEE.
37907
6b13d9d9
BH
37908 [BZ #13062]
37909 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37910 entry for U+00A5 U+0301.
37911
db910efd
UD
379122011-12-22 Ulrich Drepper <drepper@gmail.com>
37913
27deeafc
UD
37914 [BZ #13166]
37915 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37916 buffer for the output is too small.
37917
aed9d171
UD
37918 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37919 optimization.
37920
db910efd
UD
37921 [BZ #13185]
37922 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37923 SSE flags if possible.
37924
2bd779ae
LD
379252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37926
e7f9dac3 37927 [BZ #13540]
2bd779ae
LD
37928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37929 processing for last bytes.
37930
154bfc16
JM
379312011-12-22 Joseph Myers <joseph@codesourcery.com>
37932
37933 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37934 (syscall-list-default-options, syscall-list-default-condition)
37935 (syscall-list-includes): Define.
37936 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37937 list of ABIs and options and #if conditions for each ABI. Do not
37938 handle common syscalls between ABIs specially.
37939 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37940 Remove.
37941 (syscall-list-variants, syscall-list-32bit-options)
37942 (syscall-list-32bit-condition, syscall-list-64bit-options)
37943 (syscall-list-64bit-condition): Define.
37944 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37945 (syscall-list-variants, syscall-list-32bit-options)
37946 (syscall-list-32bit-condition, syscall-list-64bit-options)
37947 (syscall-list-64bit-condition): Define.
37948 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37949 Remove.
37950 (syscall-list-variants, syscall-list-32bit-options)
37951 (syscall-list-32bit-condition, syscall-list-64bit-options)
37952 (syscall-list-64bit-condition): Define.
37953 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37954 Remove.
37955 (syscall-list-variants, syscall-list-32bit-options)
37956 (syscall-list-32bit-condition, syscall-list-64bit-options)
37957 (syscall-list-64bit-condition): Define.
37958
21eaf3a5
UD
379592011-12-22 Ulrich Drepper <drepper@gmail.com>
37960
16c6f992
UD
37961 * locale/iso-639.def: Add brx entry.
37962
41043168
UD
37963 [BZ #13328]
37964 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37965 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37966
21eaf3a5
UD
37967 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37968 __feraiseexcept_renamed.
37969
e3a851a2
UD
379702011-12-21 Ulrich Drepper <drepper@gmail.com>
37971
4920765e
UD
37972 [BZ #13538]
37973 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37974 EPOLLET with unsigned values.
37975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37976 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37977
e3a851a2
UD
37978 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37979 to large cancellation.
37980 * math/s_cacoshf.c: Likewise.
37981 * math/s_cacoshl.c: Likewise.
37982
b27e24b8
RK
379832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37984
37985 [BZ #13305]
aebefeee 37986 [BZ #12786]
b27e24b8
RK
37987 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37988 * math/s_cacoshf.c: Likewise.
37989 * math/s_cacoshl.c: Likewise.
37990
ee190f67
UD
379912011-12-21 Ulrich Drepper <drepper@gmail.com>
37992
37993 [BZ #13439]
37994 * iconv/gconv.h: Define __GCONV_SWAP.
37995 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37996 * iconvdata/utf-16.c: Likewise.
37997 * iconvdata/utf-32.c: Likewise.
37998
707f25df
AS
379992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38000
38001 [BZ #13524]
38002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38003 numerator after shifting it by one limb.
38004
d2daaa1e
RÁE
380052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38006
38007 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38008 under [__USE_EXTERN_INLINES].
38009
a4647e72
UD
380102011-12-17 Ulrich Drepper <drepper@gmail.com>
38011
38012 [BZ #13446]
38013 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38014
f0b264f1
AZ
380152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38016
38017 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38018 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38019 optimized code.
38020 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38021 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38022 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38023 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38024 for strncasecmp/strncasecmp_l compilation.
38025 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38026 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38027
8ef4f244
MP
380282011-12-08 Marek Polacek <mpolacek@redhat.com>
38029
38030 [BZ #13484]
38031 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38032 of __asm__.
38033
97ac2654
UD
380342011-12-17 Ulrich Drepper <drepper@gmail.com>
38035
38036 [BZ #13506]
38037 * time/tzfile.c (__tzfile_read): Check values from file header.
38038
91d2a845
WS
380392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38040
38041 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38042 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38043 * powerpc/powerpc32/dl-start.S: Likewise.
38044 * powerpc/powerpc32/elf/start.S: Likewise.
38045 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38046 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38047 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38048 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38049 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38050 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38051 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38052 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38053 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38054 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38055 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38056 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38057 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38058 * powerpc/powerpc32/memset.S: Likewise.
38059 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38060 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38061 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38062 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38063 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38064 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38065 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38066 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38067 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38068 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38069 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38070 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38071 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38072
a1267ba1
AZ
380732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38074
38075 * math/libm-test.inc: Added more nearbyint tests.
38076 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38077 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38078 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38079 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38080
ad8ac1bd
RL
380812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38082
38083 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38084 FD_CLOEXEC.
38085
1d3e4b61
UD
380862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38087
38088 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38089 Add wcscpy-ssse3 wcscpy-c.
38090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38091 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38092 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38093 * sysdeps/x86_64/wcschr.S: New file.
38094 * sysdeps/x86_64/wcsrchr.S: New file.
38095 * string/test-strcmp.c: Remove checking of wcscmp function for
38096 wrong alignments.
38097 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38098 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38099 wcsrchr-sse2 wcsrchr-c.
38100 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38101 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38102 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38103 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38104 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38105 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38106 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38107 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38109 * wcsmbc/wcschr.c (WCSCHR): New macro.
38110
5b330a2d
UD
381112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38112
38113 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38114 * wcsmbs/test-wcsrchr.c: New file.
38115 * string/test-strrchr.c: Add wcsrchr support.
38116 (WIDE): New macro.
38117 * wcsmbs/test-wcscpy.c: New file.
38118 * string/test-strcpy.c: Add wcscpy support.
38119 (WIDE): New macro.
26428b7c 38120
f039c043
UD
381212011-12-10 Ulrich Drepper <drepper@gmail.com>
38122
38123 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38124 the inner loop.
38125
850fb039
AS
381262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38127
38128 [BZ #13472]
38129 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38130
4efbd5cb
UD
381312011-12-04 Ulrich Drepper <drepper@gmail.com>
38132
52ff5dd0 38133 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38134 Minor optimizations.
52ff5dd0 38135
4efbd5cb
UD
38136 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38137 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38138 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38139
8a426e12
UD
381402011-12-03 Ulrich Drepper <drepper@gmail.com>
38141
aff2453d
UD
38142 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38143 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38144 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38145 for gcc to avoid warnings.
38146 * inet/Makefile (tests): Add tst-checks.
38147 * inet/tst-checks.c: New file.
38148
38149 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38150 warning.
38151
38152 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38153 __wmemcmp_sse2.
38154
38155 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38156 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38157
8a426e12
UD
38158 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38159
9bea3473
UD
381602011-12-02 Ulrich Drepper <drepper@gmail.com>
38161
3a965496
UD
38162 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38163 problem.
38164
9bea3473
UD
38165 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38166
f101631b
UD
381672011-11-29 Joseph Myers <joseph@codesourcery.com>
38168
38169 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38170 conditional on GCC version.
38171 (__arch_compare_and_exchange_val_8_acq)
38172 (__arch_compare_and_exchange_val_16_acq)
38173 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38174 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38175 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38176
a98275aa
UD
381772011-12-02 Joseph Myers <joseph@codesourcery.com>
38178
38179 * sysdeps/sh/backtrace.c: New file.
38180
d4cc29a2
AS
381812011-12-02 Andreas Schwab <schwab@redhat.com>
38182
38183 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38184 parenthesis.
38185
6257af2d
AS
381862011-12-01 Andreas Schwab <schwab@redhat.com>
38187
38188 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38189 falling back to utime.
38190
b5f44c1a
AS
381912011-11-30 Andreas Schwab <schwab@redhat.com>
38192
38193 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38194 expectations for float.
38195
f3a6cc0a
AS
381962011-11-29 Andreas Schwab <schwab@redhat.com>
38197
38198 * locale/weight.h (findidx): Add parameter len.
38199 * locale/weightwc.h (findidx): Likewise.
38200 * posix/fnmatch_loop.c (FCT): Adjust caller.
38201 * posix/regcomp.c (build_equiv_class): Likewise.
38202 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38203 * posix/regexec.c (check_node_accept_bytes): Likewise.
38204 * string/strcoll_l.c (STRCOLL): Likewise.
38205 * string/strxfrm_l.c (STRXFRM): Likewise.
38206
9d65ea3a
UD
382072011-11-17 Ulrich Drepper <drepper@gmail.com>
38208
38209 * Makefile.in: Remove CVSOPT handling.
38210 * configure.in: Remove use of AC_REVISION.
38211 * iconvdata/Makefile (distribute): No need to filter out CVS.
38212 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38213 handling.
38214
5583a086
AS
382152011-11-16 Andreas Schwab <schwab@redhat.com>
38216
38217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38218 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38219 [USE_AS_STRNCASECMP_L]: Likewise.
38220 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38221 NO_TLS_DIRECT_SEG_REFS.
38222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38223 Fix argument offsets for non-PIC.
38224 [USE_AS_STRNCASECMP_L]: Likewise.
38225 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38226 NO_TLS_DIRECT_SEG_REFS.
38227
d62a8200
UD
382282011-11-15 Ulrich Drepper <drepper@gmail.com>
38229
9d65ea3a 38230 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38231 O_CLOEXEC.
38232 * locale/loadlocale.c (_nl_load_locale): Likewise.
38233
09f93bd3
AS
382342011-11-15 Andreas Schwab <schwab@redhat.com>
38235
446514f9
AS
38236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38237 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38238 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38239 (SYSCALL_GETTIME): Set errno on error.
38240
09f93bd3
AS
38241 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38242 count references to noai6ai_cached.
38243
312be3f9
UD
382442011-11-15 Ulrich Drepper <drepper@gmail.com>
38245
38246 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38247
38248 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38249 FD_CLOEXEC for /proc/self/maps.
38250
38251 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38252 FD_CLOEXEC for /proc/meminfo.
38253
38254 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38255 gai.conf.
38256
38257 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38258 FD_CLOEXEC for given file.
38259
38260 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38261
38262 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38263 FD_CLOEXEC for /etc/hosts.
38264 (_gethtent): Likewise.
38265
38266 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38267
38268 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38269 cancellation and set FD_CLOEXEC for /etc/netgroup.
38270
38271 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38272 reading /etc/publickey.
38273
38274 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38275 allow cancellation when reading /etc/group.
38276
38277 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38278 cancellation.
38279 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38280
38281 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38282 when using data file.
38283
38284 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38285
38286 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38287 (write_nis_obj): Use "c" and "e" in fopen.
38288
38289 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38290
38291 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38292
38293 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38294
38295 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38296
38297 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38298 locale.alias.
38299
38300 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38301
38302 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38303
38304 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38305
38306 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38307 file parsing and set FD_CLOEXEC.
38308
82af0fa8
UD
383092011-11-14 Ulrich Drepper <drepper@gmail.com>
38310
38311 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38312
a5fb313c
AS
383132011-11-14 Andreas Schwab <schwab@redhat.com>
38314
38315 * malloc/arena.c (arena_get2): Don't call reused_arena when
38316 _int_new_arena failed.
38317
6abf3465
UD
383182011-11-14 Ulrich Drepper <drepper@gmail.com>
38319
38320 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38321 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38323 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38326 to compile strcasecmp and strncasecmp.
38327 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38328 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38329
38330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38331
76e3966e
UD
383322011-11-13 Ulrich Drepper <drepper@gmail.com>
38333
38334 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38335 locale-defines.sym to gen-as-const-headers.
38336 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38337 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38339 to compile strcasecmp and strncasecmp.
38340 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38341 strcasecmp_l and strncasecmp_l.
38342 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38343 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38344 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38345 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38346 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38347 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38348 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38349 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38350 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38351 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38352 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38353
ab26144e
UD
383542011-11-12 Ulrich Drepper <drepper@gmail.com>
38355
7edb22ef
UD
38356 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38357 result of SYSDEP_GETTIME_CPU to retval.
38358 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38359 parameter list to macro. Remove trailing semicolon. Adjust users.
38360
9694fc44
UD
38361 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38362 variable.
38363
8ad89ef8
UD
38364 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38365 mantissa words.
38366 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38367
0c822ef9
UD
38368 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38369 from unused variable.
38370
874e0564
UD
38371 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38372 DWARF definitions.
38373 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38374 for assembling.
38375
3a2edc79
UD
38376 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38377 over namespaces.
38378
f3c2577f
UD
38379 * sunrpc/rpc_prot.c (rejected): Fix case value.
38380
294ce126
UD
38381 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38382 unsigned long long int to avoid warnings in shift.
38383
5e2b63c6
UD
38384 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38385 of use of trans.
38386 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38387 variable tmp.
38388
e7f4b08e
UD
38389 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38390 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38391 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38392
ab26144e
UD
38393 * nis/nis_table.c (nis_list): Use variable of correct type for
38394 result of __follow_path call.
38395
8a6d5255
AZ
383962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38397
38398 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38399 of math functions ceil, trunc, floor, round, and sqrt, when
38400 avaliable on the platform.
38401 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38402 name clash.
38403 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38404 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38405 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38406
aaddc98c
MP
384072011-10-30 Marek Polacek <mpolacek@redhat.com>
38408
38409 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38411
95b7042b
RM
384122011-11-11 Roland McGrath <roland@hack.frob.com>
38413
38414 * include/unistd.h: Fix __readlink return type.
38415 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38416
57769839
UD
384172011-11-11 Ulrich Drepper <drepper@gmail.com>
38418
38419 * stdlib/ucontext.h: Undo last change for makecontext.
38420
edc5984d
AS
384212011-11-11 Andreas Schwab <schwab@redhat.com>
38422
98591e58
AS
38423 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38424
edc5984d
AS
38425 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38426 * setjmp/setjmp.h: Mark functions as non-leaf.
38427 * setjmp/bits/setjmp2.h: Likewise.
38428 * stdlib/ucontext.h: Likewise.
38429
77cdc054
AS
384302011-11-10 Andreas Schwab <schwab@redhat.com>
38431
38432 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38433 (reused_arena): Don't check arena limit.
38434 (arena_get2): Atomically check arena limit.
38435
fe72eebd
UD
384362011-11-08 Ulrich Drepper <drepper@gmail.com>
38437
5f078c32
UD
38438 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38439 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38440
fe72eebd
UD
38441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38442 instructions.
38443
ae1bc2fa
AS
384442011-11-07 Andreas Schwab <schwab@redhat.com>
38445
7583a88d
AS
38446 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38447 handler when locking.
38448
ae1bc2fa
AS
38449 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38450 Fix size of allocated buffer.
38451
10fb0bfa
AS
384522011-11-04 Andreas Schwab <schwab@redhat.com>
38453
998832a4
AS
38454 [BZ #10103]
38455 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38456 declarations for long double functions.
38457 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38458
10fb0bfa
AS
38459 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38460
3d7ba52b
AS
384612011-11-03 Andreas Schwab <schwab@redhat.com>
38462
a9ae54a1
AS
38463 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38464 installed.
38465
3d7ba52b
AS
38466 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38467 is disabled.
38468
bc8db248
ST
384692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38470
38471 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38472
45b96dd6
AS
384732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38474
647776f6
AS
38475 * include/alloca.h (stackinfo_alloca_round): Define.
38476 (extend_alloca): Use it.
38477 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38478 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38479 here.
38480
d91a8b93
AS
38481 * scripts/check-local-headers.sh: Ignore libaudit.h.
38482
45b96dd6
AS
38483 * nscd/Makefile (extra-objs): Make recursively expanded.
38484
432d41ce
UD
384852011-11-01 Ulrich Drepper <drepper@gmail.com>
38486
34372fc6
UD
38487 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38489
fadb59f8
UD
38490 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38491 * posix/tst-rfc3484-2.c: Likewise.
38492 * posix/tst-rfc3484-3.c: Likewise.
38493
78239589
UD
38494 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38495 process_vm_writev.
38496 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38497 process_vm_writev.
38498 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38499 process_vm_writev from libc using GLIBC_2.15 version.
38500
432d41ce
UD
38501 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38502
02f9c6cf
PP
385032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38504
38505 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38506 stack usage.
38507
3a2c0242
UD
385082011-10-31 Ulrich Drepper <drepper@gmail.com>
38509
f4ec4833
UD
38510 [BZ #13367]
38511 * nss/getent.c (initgroups_keys): Show error message in case no group
38512 names are given.
38513
3a2c0242
UD
38514 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38515 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38516 __bump_nl_timestamp.
38517 * nscd/connections (nscd_init): When host database is served open
38518 netlink socket and request notification about configuration changes.
38519 (main_loop_poll): Track netlink file descriptor and bump timestamp
38520 in case data becomes available.
38521 (main_loop_epoll): Likewise.
38522 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38523 (database_pers_head): Add extra_data fileds.
38524 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38525 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38526 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38527 Adjust caller.
38528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38529 in6ai data, call __free_in6ai.
38530 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38531 Add -DHAVE_NETLINK.
38532 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38533 interface information. Reuse previous data if netlink timestamp
38534 is not changed.
38535 (__bump_nl_timestamp): New function.
38536 (__free_in6ai): New function.
38537
636064eb
UD
385382011-10-30 Ulrich Drepper <drepper@gmail.com>
38539
38540 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38541 close_not_cancel_no_status here.
38542 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38543
9beb2334
UD
385442011-10-29 Ulrich Drepper <drepper@gmail.com>
38545
6ef76f3b
UD
38546 [BZ #13276]
38547 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38548 return value.
38549
0ffc4f3e 38550 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38551 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38552 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38553
cb95113e
UD
385542011-07-03 Andreas Jaeger <aj@suse.de>
38555
38556 [BZ #10709]
38557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38558 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38559 * math/libm-test.inc (sin_test): Add test case.
38560
a1b560ff
UD
385612011-10-29 Ulrich Drepper <drepper@gmail.com>
38562
c9aaface
UD
38563 [BZ #13337]
38564 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38565 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38566
d272e7f1
UD
38567 * elf/chroot_canon.c (chroot_canon): Cleanups.
38568
1bc33071
UD
38569 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38570
1760874d
TJ
38571 [BZ #13335]
38572 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38573 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38574
51d91b18
UD
38575 * string/test-strchr.c: Make usable for strchrnul testing.
38576 * string/test-strchrnul.c: New file.
38577 * string/Makefile (strop-tests): Add strchrnul.
38578
a1b560ff 38579 * po/it.po: Update from translation team.
b611fb81 38580 * po/es.po: Likewise.
a1b560ff 38581
a5b81e1f
UD
385822011-10-28 Ulrich Drepper <drepper@gmail.com>
38583
fd52bc6d
UD
38584 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38585 the three constants needed as parameters. Drop the others.
38586 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38587 __m128i_strloadu_tolower.
52e4b9eb
UD
38588 Create and initialize variable zero and use it in all the places
38589 where _mm_setzero_si128 was used.
fd52bc6d 38590
a5b81e1f
UD
38591 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38592 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38593 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38594 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38595 anymore.
38596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38597 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38598 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38599 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38600 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38601 __mpranred, __mptan.
38602 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38603 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38604 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38605 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38606 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38607 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38608 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38609 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38610 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38611
b4343346
AS
386122011-10-28 Andreas Schwab <schwab@redhat.com>
38613
0c92d8a8
AS
38614 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38615 redefine if SHARED.
38616 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38617
b4343346
AS
38618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38619 wide char related routines to wcsmbs subdir.
38620
3871f58f
AS
386212011-10-27 Andreas Schwab <schwab@redhat.com>
38622
38623 [BZ #13344]
38624 * misc/sys/cdefs.h (__THROWNL): Define.
38625 * posix/unistd.h: Use __THREADNL instead of __THREAD
38626 for memory synchronization functions.
38627
94d44d9f
RM
386282011-10-26 Roland McGrath <roland@hack.frob.com>
38629
21b64b15 38630 [BZ #13349]
94d44d9f
RM
38631 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38632 doesn't exist.
38633 * manual/stdio.texi (Obstack Streams): Node removed.
38634
f6ce9294
AS
386352011-10-26 Andreas Schwab <schwab@redhat.com>
38636
80479147
AS
38637 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38640
f6ce9294
AS
38641 * math/math_private.h (math_force_eval): Allow non-addressable
38642 arguments.
38643 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38644
618280a1
UD
386452011-10-25 Ulrich Drepper <drepper@gmail.com>
38646
e0016b11
UD
38647 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38648 file is not needed.
38649
38650 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38651 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38657 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38658 Add AVX variants.
38659 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38660 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38661 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38662 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38663 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38664 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38665 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38666 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38667 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38668 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38669 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38670 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38671 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38672 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38675 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38676 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38677 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38678
38679 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38680 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38681
618280a1
UD
38682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38683 place. Use VEX encoding when compiling for AVX.
38684
37822576
AS
386852011-10-25 Andreas Schwab <schwab@redhat.com>
38686
1f1e1947
AS
38687 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38688 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38689
37822576
AS
38690 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38691
31ea014d
UD
386922011-10-25 Ulrich Drepper <drepper@gmail.com>
38693
d7826aa1 38694 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38695 useless if() expression.
d7826aa1
UD
38696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38706 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38708 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38709 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38710 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38712 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38713 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38714 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38715
31ea014d
UD
38716 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38717
16437fec
AS
387182011-10-25 Andreas Schwab <schwab@redhat.com>
38719
38720 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38721 condition.
38722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38723
31d3cc00
UD
387242011-10-25 Ulrich Drepper <drepper@gmail.com>
38725
38726 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38727 .text section. Avoid duplicate constants.
38728 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38737 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38738 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38740 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38745 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38750 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38751 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38752 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38753 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38754 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38755 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38756 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38757 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38758 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38759 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38760 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38761 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38762 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38763 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38764 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38766 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38767 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38770 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38771 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38772 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38773
58985aa9
UD
387742011-10-24 Ulrich Drepper <drepper@gmail.com>
38775
202c9deb
UD
38776 * sysdeps/x86_64/dla.h: Move to ...
38777 * sysdeps/x86_64/fpu/dla.h: ...here.
38778 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38779 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38780
af968f62
UD
38781 * config.make.in: Add have-mfma4 entry.
38782 * configure.in: Substitute libc_cv_cc_fma4.
38783 * math/Makefile (dbl-only-routines): Add sincostab.
38784 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38785 Use __sincostab not sincos.
38786 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38787 name is a macro.
38788 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38792 using __copysign.
38793 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38794 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38795 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38796 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38797 and __inv.
38798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38799 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38800 __copysign.
38801 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38802 define aliases when function name is a macro.
38803 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38804 sysdeps/ieee754/dbl-64/sincos.tbl.
38805 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38806 fma4-enabled routines.
38807 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38808 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38809 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38810 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38811 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38812 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38816 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38817 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38818 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38819 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38820 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38821 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38822 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38823 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38824 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38825 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38827 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38828 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38834 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38835 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38836 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38837
58985aa9
UD
38838 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38839 rename.
38840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38848
a201fbcf
AS
388492011-10-24 Andreas Schwab <schwab@redhat.com>
38850
38851 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38852
fc2ee42a
LD
388532011-10-23 Ulrich Drepper <drepper@gmail.com>
38854
bb3129bd
UD
38855 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38856
0275fff8
UD
38857 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38858 prediction.
38859 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38860
2fa2ae85
UD
38861 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38862 Remove unused variable magic_bits.
38863 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38864
fc2ee42a
LD
38865 * string/strnlen.c: Define and use STRNLEN macro.
38866 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38867 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38868 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38869 * wcsmbs/wcslen.c: Define and use WCSLEN.
38870 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38871 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38872 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38873 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38874 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38875 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38876 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38877
ce7dd29f
LD
388782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38879
38880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38881 strnlen-sse2-no-bsf.
38882 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38884 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38885 Add strnlen support.
38886 (USE_AS_STRNLEN): New macro.
38887 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38888 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38889 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38890 * sysdeps/x86_64/wcslen.S: New file.
38891
979c70a3
MZ
388922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38893
38894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38895 XMM-moves are used for copying on small sizes.
38896
2d09f82f
LD
388972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38898
38899 * wcsmbs/Makefile (strop-tests): Add wcschr.
38900 * wcsmbs/test-wcschr.c: New file.
38901 * string/test-strchr.c: Update.
38902 Add wcschr support.
38903 (WIDE): New macro.
38904
619fccca
LD
389052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38906
2d09f82f 38907 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38908 * wcsmbs/test-wcslen.c: New file.
38909 * string/test-strlen.c: Update.
38910 Add wcslen support.
38911 (WIDE): New macro.
38912
09f699ea
UD
389132011-10-23 Ulrich Drepper <drepper@gmail.com>
38914
38915 * po/it.po: Update from translation team.
38916
95584d3b
LD
389172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38918
38919 * sysdeps/x86_64/wcscmp.S: Update.
38920 Fix wrong comparison semantics.
38921 wcscmp shall use signed comparison not unsigned.
38922 Don't use substraction to avoid overflow bug.
38923 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38924 * wcsmbc/wcscmp.c: Likewise.
38925 * string/test-strcmp.c: Likewise.
38926 Add new tests to check cases with negative values.
38927
c8b3296b
UD
389282011-10-23 Ulrich Drepper <drepper@gmail.com>
38929
38930 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38931 * sysdeps/x86_64/dla.h: ...here. New file.
38932 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38941
246ad57a
AS
389422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38943
38944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38945 __ynl_finite aliases.
38946
a1a87169
UD
389472011-10-22 Ulrich Drepper <drepper@gmail.com>
38948
0d355eb7
UD
38949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38950
a1a87169
UD
38951 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38952 define DLA_FMA.
38953 [DLA_FMA] (EMULV): Use DLA_FMA.
38954 [DLA_FMA] (MUL12): Use EMULV.
38955 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38956 that are not needed.
38957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38964
ee2aafe0
AS
389652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38966
38967 * math/s_nan.c: Undef __nan.
38968 * math/s_nanf.c: Undef __nanf.
38969 * math/s_nanl.c: Undef __nanl.
38970 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38971 "math_private.h".
38972
bc62c2fb
UD
389732011-10-22 Ulrich Drepper <drepper@gmail.com>
38974
77425c63
UD
38975 * math/s_catan.c: Add branch predictions.
38976 * math/s_catanf.c: Likewise.
38977 * math/s_catanh.c: Likewise.
38978 * math/s_catanhf.c: Likewise.
38979 * math/s_catanhl.c: Likewise.
38980 * math/s_catanl.c: Likewise.
38981 * math/s_cexp.c: Likewise.
38982 * math/s_cexpf.c: Likewise.
38983 * math/s_cexpl.c: Likewise.
38984 * math/s_clog.c: Likewise.
38985 * math/s_clog10.c: Likewise.
38986 * math/s_clog10f.c: Likewise.
38987 * math/s_clog10l.c: Likewise.
38988 * math/s_clogf.c: Likewise.
38989 * math/s_clogl.c: Likewise.
38990 * math/s_csqrt.c: Likewise.
38991 * math/s_csqrtf.c: Likewise.
38992 * math/s_csqrtl.c: Likewise.
38993 * math/s_ctanf.c: Likewise.
38994 * math/s_ctanh.c: Likewise.
38995 * math/s_ctanhf.c: Likewise.
38996 * math/s_ctanhl.c: Likewise.
38997 * math/s_ctanl.c: Likewise.
38998
bc62c2fb
UD
38999 * math/math_private.h: Define __nan, __nanf, __nanl.
39000 * math/s_cacosh.c: Include <math_private.h>.
39001 * math/s_cacoshl.c: Likewise.
39002 * math/s_casinh.c: Likewise.
39003 * math/s_casinhf.c: Likewise.
39004 * math/s_casinhl.c: Likewise.
39005 * math/s_ccos.c: Rely entire on ccosh.
39006 * math/s_ccosf.c: Rely entire on ccoshf.
39007 * math/s_ccosl.c: Rely entirely on ccoshl.
39008 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39009 Remove tests for FE_INVALID.
39010 * math/s_ccoshf.c: Likewise.
39011 * math/s_ccoshl.c: Likewise.
39012 * math/s_csin.c: Likewise.
39013 * math/s_csinf.c: Likewise.
39014 * math/s_csinh.c Likewise.
39015 * math/s_csinhf.c: Likewise.
39016 * math/s_csinhl.c: Likewise.
39017 * math/s_csinl.c: Likewise.
39018 * math/s_ctan.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39020 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39021 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39022
8ec250a4
UD
390232011-10-21 Ulrich Drepper <drepper@gmail.com>
39024
c196fed8
UD
39025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39026 compilation problems.
39027
8ec250a4
UD
39028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39029 __builtin_expect.
39030
8d4f46c6
UD
390312011-10-20 Ulrich Drepper <drepper@gmail.com>
39032
ed72b654
UD
39033 * sysdeps/i386/configure.in: Test for -mfma4 option.
39034 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39035 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39036 COMMON_CPUID_INDEX_80000001.
39037 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39038 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39039 use it if FMA3 is not supported.
39040 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39041
8d4f46c6
UD
39042 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39044
d45c60c2
AS
390452011-10-20 Andreas Schwab <schwab@redhat.com>
39046
39047 [BZ #12892]
39048 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39049 it would create a cycle with a link time dependency.
39050
d9a4d2ab
UD
390512011-10-19 Ulrich Drepper <drepper@gmail.com>
39052
855d1560
UD
39053 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39054 instruction.
39055 * string/Makefile (strop-tests): Add rawmemchr.
39056 * string/test-rawmemchr.c: New file.
39057
d9a4d2ab
UD
39058 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39060 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39061 when compiling str{,n}casecmp and when AVX is available. Hook up
39062 new optimized code in initializers.
39063
8f3b1ffe
AS
390642011-10-19 Andreas Schwab <schwab@redhat.com>
39065
39066 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39067 __feraiseexcept instead of feraiseexcept.
39068
d38f1dba
UD
390692011-10-18 Ulrich Drepper <drepper@gmail.com>
39070
d9a8d0ab
UD
39071 * math/math_private.h: Define defaults for libc_fetestexcept and
39072 libc_feupdateenv.
39073 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39074 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39076 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39077 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39078 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39079 libc_fetestexcept and libc_feupdateenv.
39080
4855e3dd
UD
39081 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39082 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39083 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39084 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39085 libc_feholdexcept_setround.
39086
581d30e3
UD
39087 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39088 Add s_nearbyint-c and s_nearbyintf-c.
39089 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39090 nearbyintf inlines.
39091 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39092 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39093 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39094 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39095
d38f1dba
UD
39096 * math/math_private.h: Define defaults for libc_fegetround,
39097 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39098 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39099 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39100 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39101 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39102 standard functions.
39103 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39104 Remove comments and hacks for old compiler versions.
39105 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39106 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39107 libc_feholdexceptl.
39108
caa6c9d8
AS
391092011-10-18 Andreas Schwab <schwab@redhat.com>
39110
39111 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39112 (__feraiseexcept_renamed): Add __NTH.
39113 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39114 namespace violations.
39115
97c066e6
UD
391162011-10-17 Ulrich Drepper <drepper@gmail.com>
39117
99ce7b04
UD
39118 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39119
1004d182
UD
39120 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39121
228a984d
UD
39122 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39123 recently added interfaces.
39124 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39125
c8553a6a
UD
39126 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39127 about macro parameter expansion.
39128
ed22dcf6
UD
39129 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39130 __NO_MATH_INLINES is defined. Cleanups.
39131
39132 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39133 and __floorf is target has SSE4.1.
39134 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39135 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39136 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39137 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39138
b171c137
UD
39139 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39140 name.
39141 (floorf): Likewise.
39142
97c066e6
UD
39143 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39144
629f62ef
AS
391452011-10-17 Andreas Schwab <schwab@redhat.com>
39146
49a43d80
AS
39147 * misc/sys/cdefs.h: Fix last change.
39148
629f62ef
AS
39149 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39150 database lookup.
39151
e453f6cd
UD
391522011-10-16 Ulrich Drepper <drepper@gmail.com>
39153
aa78043a
UD
39154 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39155
ad0f5cad
UD
39156 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39161 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39162 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39163 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39164 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39165 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39166 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39167 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39168 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39170 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39171 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39172 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39173 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39174 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39175 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39176 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39177 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39178
39179 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39180 ceil, ceilf, floor, floorf.
39181
39182 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39183 Perform IRELATIVE relocations last.
39184
e453f6cd
UD
39185 * elf/do-rel.h: Add another parameter nrelative, replacing the
39186 local variable with the same name. Change name of the function
39187 to end in Rel or Rela (uppercase).
39188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39189 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39190 elf_dynamic_do_##reloc function.
39191
fd5bdc09
UD
391922011-10-15 Ulrich Drepper <drepper@gmail.com>
39193
79b195b5
UD
39194 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39195 is sufficient, at least on modern CPUs.
39196
d4a28569
UD
39197 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39198
b61099b5
UD
39199 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39200 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39201
bcf01e6d
UD
39202 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39203 __expl_finite.
39204 * math/bits/math-finite.h: Add entries for exp.
39205 * math/e_expl.c: Add __*_finite alias.
39206 * sysdeps/i386/fpu/e_exp.S: Likewise.
39207 * sysdeps/i386/fpu/e_expf.S: Likewise.
39208 * sysdeps/i386/fpu/e_expl.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39210 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39214 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39215 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39216
ba1a0d59
UD
39217 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39218 is sufficient, at least on modern CPUs.
39219
fd5bdc09
UD
39220 * ctype/ctype-info.c (__ctype_init): Define.
39221 * include/ctype.h (__ctype_init): Declare.
39222 (__ctype_b_loc): The variable is always initialized.
39223 (__ctype_toupper_loc): Likewise.
39224 (__ctype_tolower_loc): Likewise.
39225 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39226 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39227
7872cfb0
AS
392282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39229
b468825a
AS
39230 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39231
7872cfb0
AS
39232 * configure.in: Also look in $cxxmachine/include for C++ system
39233 headers.
39234
be13f7bf
LD
392352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39236
39237 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39238 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39239 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39240 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39242 (USE_AS_WMEMCMP): New macro.
39243 Fixing indents.
39244 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39245 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39246 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39247 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39249 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39250 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39251 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39252 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39253 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39254 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39255 (USE_AS_WMEMCMP): New macro.
39256 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39257 * sysdeps/string/test-memcmp.c: Update.
39258 Fix simple_wmemcmp.
39259 Add new tests.
39260 * wcsmbs/wmemcmp.c: Update.
39261 (WMEMCMP): New macro.
39262 Fix overflow bug.
39263
556a2007
AJ
392642011-10-12 Andreas Jaeger <aj@suse.de>
39265
39266 [BZ #13268]
39267 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39268
538faaa7
UD
392692011-10-15 Ulrich Drepper <drepper@gmail.com>
39270
ab6737ff
UD
39271 * libio/iofwide.c (do_length): Avoid warning.
39272
538faaa7
UD
39273 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39274
396a21b1
UD
392752011-10-14 Ulrich Drepper <drepper@gmail.com>
39276
cdf2901f
UD
39277 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39278
38ad40ce
UD
39279 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39280 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39281 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39282 * sysdeps/i386/i686/fpu/e_log.S: New file.
39283 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39284 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39285
396a21b1
UD
39286 * ctype/ctype.h: Add support for inlined isXXX functions when
39287 compiling C++ code.
39288
6b1f68c9
AS
392892011-10-14 Andreas Schwab <schwab@redhat.com>
39290
349290c0
AS
39291 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39292
6b1f68c9
AS
39293 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39294
f2282d42
RM
392952011-10-13 Roland McGrath <roland@hack.frob.com>
39296
39297 [BZ #13291]
39298 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39299
5298ffa8
AS
393002011-10-13 Andreas Schwab <schwab@redhat.com>
39301
714fad23
AS
39302 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39303 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39304 feraiseexcept.
39305
81dcc7fb
AS
39306 * sysdeps/x86_64/memrchr.S: Check for zero size.
39307
5298ffa8
AS
39308 * string/stratcliff.c: Add memrchr tests.
39309
951fbcec
LD
393102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39311
39312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39313 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39314 rawmemchr-sse2 rawmemchr-sse2-bsf.
39315 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39316 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39317 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39318 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39319 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39320 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39321 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39322 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39323 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39324 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39325 * string/memrchr.c (MEMRCHR): New macro.
39326
0ac5ae23
UD
393272011-10-12 Ulrich Drepper <drepper@gmail.com>
39328
39329 Add integration with gcc's -ffinite-math-only and optimize wrapper
39330 functions in libm.
39331 * Versions.def: Define GLIBC_2.15 version for libm.
39332 * math/Makefile (headers): Add bits/math-finite.h.
39333 * math/bits/math-finite.h: New file.
39334 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39335 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39336 * math/e_acoshl.c: Add __*_finite alias.
39337 * math/e_acosl.c: Likewise.
39338 * math/e_asinl.c: Likewise.
39339 * math/e_atan2l.c: Likewise.
39340 * math/e_atanhl.c: Likewise.
39341 * math/e_coshl.c: Likewise.
39342 * math/e_exp10.c: Likewise.
39343 * math/e_exp10f.c: Likewise.
39344 * math/e_exp10l.c: Likewise.
39345 * math/e_exp2l.c: Likewise.
39346 * math/e_fmodl.c: Likewise.
39347 * math/e_gammal_r.c: Likewise.
39348 * math/e_hypotl.c: Likewise.
39349 * math/e_j0l.c: Likewise.
39350 * math/e_j1l.c: Likewise.
39351 * math/e_jnl.c: Likewise.
39352 * math/e_lgammal_r.c: Likewise.
39353 * math/e_log10l.c: Likewise.
39354 * math/e_log2l.c: Likewise.
39355 * math/e_logl.c: Likewise.
39356 * math/e_powl.c: Likewise.
39357 * math/e_sinhl.c: Likewise.
39358 * math/e_sqrtl.c: Likewise.
39359 * math/e_scalb.c: Completely rewritten and optimized.
39360 * math/e_scalbf.c: Likewise.
39361 * math/e_scalbl.c: Likewise.
39362 * math/w_acos.c: Likewise.
39363 * math/w_acosf.c: Likewise.
39364 * math/w_acosl.c: Likewise.
39365 * math/w_acosh.c: Likewise.
39366 * math/w_acoshf.c: Likewise.
39367 * math/w_acoshl.c: Likewise.
39368 * math/w_asin.c: Likewise.
39369 * math/w_asinf.c: Likewise.
39370 * math/w_asinl.c: Likewise.
39371 * math/w_atan2.c: Likewise.
39372 * math/w_atan2f.c: Likewise.
39373 * math/w_atan2l.c: Likewise.
39374 * math/w_atanh.c: Likewise.
39375 * math/w_atanhf.c: Likewise.
39376 * math/w_atanhl.c: Likewise.
39377 * math/w_exp10.c: Likewise.
39378 * math/w_exp10f.c: Likewise.
39379 * math/w_exp10l.c: Likewise.
39380 * math/w_fmod.c: Likewise.
39381 * math/w_fmodf.c: Likewise.
39382 * math/w_fmodl.c: Likewise.
39383 * math/w_j0.c: Likewise.
39384 * math/w_j0f.c: Likewise.
39385 * math/w_j0l.c: Likewise.
39386 * math/w_j1.c: Likewise.
39387 * math/w_j1f.c: Likewise.
39388 * math/w_j1l.c: Likewise.
39389 * math/w_jn.c: Likewise.
39390 * math/w_jnf.c: Likewise.
39391 * math/w_log.c: Likewise.
39392 * math/w_logf.c: Likewise.
39393 * math/w_logl.c: Likewise.
39394 * math/w_log10.c: Likewise.
39395 * math/w_log10f.c: Likewise.
39396 * math/w_log10l.c: Likewise.
39397 * math/w_log2.c: Likewise.
39398 * math/w_log2f.c: Likewise.
39399 * math/w_log2l.c: Likewise.
39400 * math/w_pow.c: Likewise.
39401 * math/w_powf.c: Likewise.
39402 * math/w_powl.c: Likewise.
39403 * math/w_remainder.c: Likewise.
39404 * math/w_remainderf.c: Likewise.
39405 * math/w_remainderl.c: Likewise.
39406 * math/w_scalb.c: Likewise.
39407 * math/w_scalbf.c: Likewise.
39408 * math/w_scalbl.c: Likewise.
39409 * math/w_sqrt.c: Likewise.
39410 * math/w_sqrtf.c: Likewise.
39411 * math/w_sqrtl.c: Likewise.
39412 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39413 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39414 used.
39415 * math/math_private.h: Declare __kernel_standard_f.
39416 * math/w_cosh.c: Remove cruft and optimize a bit.
39417 * math/w_coshf.c: Likewise.
39418 * math/w_coshl.c: Likewise.
39419 * math/w_exp2.c: Likewise.
39420 * math/w_exp2f.c: Likewise.
39421 * math/w_exp2l.c: Likewise.
39422 * math/w_hypot.c: Likewise.
39423 * math/w_hypotf.c: Likewise.
39424 * math/w_hypotl.c: Likewise.
39425 * math/w_lgamma.c: Likewise.
39426 * math/w_lgamma_r.c: Likewise.
39427 * math/w_lgammaf.c: Likewise.
39428 * math/w_lgammaf_r.c: Likewise.
39429 * math/w_lgammal.c: Likewise.
39430 * math/w_lgammal_r.c: Likewise.
39431 * math/w_sinh.c: Likewise.
39432 * math/w_sinhf.c: Likewise.
39433 * math/w_sinhl.c: Likewise.
39434 * math/w_tgamma.c: Likewise.
39435 * math/w_tgammaf.c: Likewise.
39436 * math/w_tgammal.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39439 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39440 Minor optimizations. Pretty printing. Remove cruft.
39441 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39442 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39444 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39445 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39446 * sysdeps/i386/fpu/e_asin.S: Likewise.
39447 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39448 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39449 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39450 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39451 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39454 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39455 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39456 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39457 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39458 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39459 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39460 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39461 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39462 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39463 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39464 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39465 * sysdeps/i386/fpu/e_log.S: Likewise.
39466 * sysdeps/i386/fpu/e_log10.S: Likewise.
39467 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39469 * sysdeps/i386/fpu/e_log2.S: Likewise.
39470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39472 * sysdeps/i386/fpu/e_logf.S: Likewise.
39473 * sysdeps/i386/fpu/e_logl.S: Likewise.
39474 * sysdeps/i386/fpu/e_pow.S: Likewise.
39475 * sysdeps/i386/fpu/e_powf.S: Likewise.
39476 * sysdeps/i386/fpu/e_powl.S: Likewise.
39477 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39478 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39479 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39480 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39481 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39482 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39483 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39484 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39485 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39507 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39511 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39513 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39524 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39526 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39527 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39566 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39571 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39574 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39577 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39578 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39579 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39580 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39581 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39582 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39583 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39584 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39585 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39586 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39587 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39588 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39589 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39590 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39591 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39592 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39593 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39594 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39595 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39596 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39597 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39598 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39599 (__isnanf): Likewise.
39600 (__isinf_ns): Likewise.
39601 (__isinf_nsf): Likewise.
39602 (__finite): Likewise.
39603 (__finitef): Likewise.
39604 (__ieee754_sqrt): Define as macro.
39605 (__ieee754_sqrtf): Define as macro.
39606 (__ieee754_sqrtl): Define as macro.
39607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39608 inlined copy.
39609 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39610 __FINITE_MATH_ONLY__ consistent.
39611 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39612
12cc2fcd
AS
396132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39614
a843a204
AS
39615 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39616 of rawmemchr.
39617
12cc2fcd
AS
39618 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39619
c853acd5
UD
396202011-10-09 Ulrich Drepper <drepper@gmail.com>
39621
39622 * po/ja.po: Update from translation team.
39623
c658d255
RM
396242011-10-08 Roland McGrath <roland@hack.frob.com>
39625
110946e4
RM
39626 * locale/programs/locarchive.c (prepare_address_space): New function.
39627 (create_archive, enlarge_archive, open_archive): Use it.
39628
50604220
RM
39629 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39630 inside [SHARED], where it is used.
39631
c658d255
RM
39632 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39633
39634 * nss/getent.c (netgroup_keys): Remove unused variable.
39635 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39636
6a621eb7
UD
396372011-10-08 Ulrich Drepper <drepper@gmail.com>
39638
7edb55ce
UD
39639 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39640 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39642 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39643 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39644 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39645 * math/Makefile (libm-calls): Add s_isinf_ns.
39646 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39647 * math/multc3.c: Likewise.
39648 * math/s_casin.c: Likewise.
39649 * math/s_casinf.c: Likewise.
39650 * math/s_casinl.c: Likewise.
39651 * math/s_ccos.c: Likewise.
39652 * math/s_ccosf.c: Likewise.
39653 * math/s_ccosl.c: Likewise.
39654 * math/s_ctan.c: Likewise.
39655 * math/s_ctanf.c: Likewise.
39656 * math/s_ctanh.c: Likewise.
39657 * math/s_ctanhf.c: Likewise.
39658 * math/s_ctanhl.c: Likewise.
39659 * math/s_ctanl.c: Likewise.
39660 * math/w_fmod.c: Likewise.
39661 * math/w_fmodf.c: Likewise.
39662 * math/w_fmodl.c: Likewise.
39663 * math/w_remainder.c: Likewise.
39664 * math/w_remainderf.c: Likewise.
39665 * math/w_remainderl.c: Likewise.
39666 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39667 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39668 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39670 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39671 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39672 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39673 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39674
187da0ae
UD
39675 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39676 of the number.
39677 * stdio-common/printf_fphex.c: Likewise.
39678 * stdio-common/printf_size.c: Likewise.
39679
9277c064
UD
39680 * math/e_exp10.c: Include math_private.h using <...> not "...".
39681 * math/e_exp10f.c: Likewise.
39682 * math/e_exp10l.c: Likewise.
39683 * math/e_exp2l.c: Likewise.
39684 * math/e_j0l.c: Likewise.
39685 * math/e_j1l.c: Likewise.
39686 * math/e_jnl.c: Likewise.
39687 * math/e_lgammal_r.c: Likewise.
39688 * math/e_rem_pio2l.c: Likewise.
39689 * math/e_scalb.c: Likewise.
39690 * math/e_scalbf.c: Likewise.
39691 * math/e_scalbl.c: Likewise.
39692 * math/k_cosl.c: Likewise.
39693 * math/k_sinl.c: Likewise.
39694 * math/k_tanl.c: Likewise.
39695 * math/s_cacoshf.c: Likewise.
39696 * math/s_catan.c: Likewise.
39697 * math/s_catanf.c: Likewise.
39698 * math/s_catanh.c: Likewise.
39699 * math/s_catanhf.c: Likewise.
39700 * math/s_catanhl.c: Likewise.
39701 * math/s_catanl.c: Likewise.
39702 * math/s_ccosh.c: Likewise.
39703 * math/s_ccoshf.c: Likewise.
39704 * math/s_ccoshl.c: Likewise.
39705 * math/s_cexp.c: Likewise.
39706 * math/s_cexpf.c: Likewise.
39707 * math/s_cexpl.c: Likewise.
39708 * math/s_clog.c: Likewise.
39709 * math/s_clog10.c: Likewise.
39710 * math/s_clog10f.c: Likewise.
39711 * math/s_clog10l.c: Likewise.
39712 * math/s_clogf.c: Likewise.
39713 * math/s_clogl.c: Likewise.
39714 * math/s_csin.c: Likewise.
39715 * math/s_csinf.c: Likewise.
39716 * math/s_csinh.c: Likewise.
39717 * math/s_csinhf.c: Likewise.
39718 * math/s_csinhl.c: Likewise.
39719 * math/s_csinl.c: Likewise.
39720 * math/s_csqrt.c: Likewise.
39721 * math/s_csqrtf.c: Likewise.
39722 * math/s_csqrtl.c: Likewise.
39723 * math/s_ctan.c: Likewise.
39724 * math/s_ctanf.c: Likewise.
39725 * math/s_ctanh.c: Likewise.
39726 * math/s_ctanhf.c: Likewise.
39727 * math/s_ctanhl.c: Likewise.
39728 * math/s_ctanl.c: Likewise.
39729 * math/s_ldexp.c: Likewise.
39730 * math/s_ldexpf.c: Likewise.
39731 * math/s_ldexpl.c: Likewise.
39732 * math/s_significand.c: Likewise.
39733 * math/s_significandf.c: Likewise.
39734 * math/s_significandl.c: Likewise.
39735 * math/w_acos.c: Likewise.
39736 * math/w_acosf.c: Likewise.
39737 * math/w_acosh.c: Likewise.
39738 * math/w_acoshf.c: Likewise.
39739 * math/w_acoshl.c: Likewise.
39740 * math/w_acosl.c: Likewise.
39741 * math/w_asin.c: Likewise.
39742 * math/w_asinf.c: Likewise.
39743 * math/w_asinl.c: Likewise.
39744 * math/w_atan2.c: Likewise.
39745 * math/w_atan2f.c: Likewise.
39746 * math/w_atan2l.c: Likewise.
39747 * math/w_atanh.c: Likewise.
39748 * math/w_atanhf.c: Likewise.
39749 * math/w_atanhl.c: Likewise.
39750 * math/w_cosh.c: Likewise.
39751 * math/w_coshf.c: Likewise.
39752 * math/w_coshl.c: Likewise.
39753 * math/w_dremf.c: Likewise.
39754 * math/w_exp10.c: Likewise.
39755 * math/w_exp10f.c: Likewise.
39756 * math/w_exp10l.c: Likewise.
39757 * math/w_exp2.c: Likewise.
39758 * math/w_exp2f.c: Likewise.
39759 * math/w_fmod.c: Likewise.
39760 * math/w_fmodf.c: Likewise.
39761 * math/w_fmodl.c: Likewise.
39762 * math/w_hypot.c: Likewise.
39763 * math/w_hypotf.c: Likewise.
39764 * math/w_hypotl.c: Likewise.
39765 * math/w_j0.c: Likewise.
39766 * math/w_j0f.c: Likewise.
39767 * math/w_j0l.c: Likewise.
39768 * math/w_j1.c: Likewise.
39769 * math/w_j1f.c: Likewise.
39770 * math/w_j1l.c: Likewise.
39771 * math/w_jn.c: Likewise.
39772 * math/w_jnf.c: Likewise.
39773 * math/w_jnl.c: Likewise.
39774 * math/w_lgamma.c: Likewise.
39775 * math/w_lgamma_r.c: Likewise.
39776 * math/w_lgammaf.c: Likewise.
39777 * math/w_lgammaf_r.c: Likewise.
39778 * math/w_lgammal.c: Likewise.
39779 * math/w_lgammal_r.c: Likewise.
39780 * math/w_log.c: Likewise.
39781 * math/w_log10.c: Likewise.
39782 * math/w_log10f.c: Likewise.
39783 * math/w_log10l.c: Likewise.
39784 * math/w_log2.c: Likewise.
39785 * math/w_log2f.c: Likewise.
39786 * math/w_log2l.c: Likewise.
39787 * math/w_logf.c: Likewise.
39788 * math/w_logl.c: Likewise.
39789 * math/w_pow.c: Likewise.
39790 * math/w_powf.c: Likewise.
39791 * math/w_powl.c: Likewise.
39792 * math/w_remainder.c: Likewise.
39793 * math/w_remainderf.c: Likewise.
39794 * math/w_remainderl.c: Likewise.
39795 * math/w_scalb.c: Likewise.
39796 * math/w_scalbf.c: Likewise.
39797 * math/w_scalbl.c: Likewise.
39798 * math/w_sinh.c: Likewise.
39799 * math/w_sinhf.c: Likewise.
39800 * math/w_sinhl.c: Likewise.
39801 * math/w_sqrt.c: Likewise.
39802 * math/w_sqrtf.c: Likewise.
39803 * math/w_sqrtl.c: Likewise.
39804 * math/w_tgamma.c: Likewise.
39805 * math/w_tgammaf.c: Likewise.
39806 * math/w_tgammal.c: Likewise.
39807
6a621eb7
UD
39808 * po/ja.po: Update from translation team.
39809
bf582445
AJ
398102011-09-29 Andreas Jaeger <aj@suse.de>
39811
f9efbf3a
AJ
39812 [BZ #13179]
39813 * sunrpc/netname.c (netname2host): Fix logic.
39814
bf582445
AJ
39815 [BZ #6779]
39816 [BZ #6783]
39817 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39818 correctly.
39819 * math/w_remainder.c (__remainder): Likewise.
39820 * math/w_remainderf.c (__remainderf): Likewise.
39821 * math/libm-test.inc (remainder_test): Add test cases.
39822
48693bea
AK
398232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39824
39825 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39826 sdiv_qrnnd.
39827
42622229
LD
398282011-10-07 Ulrich Drepper <drepper@gmail.com>
39829
39830 * string/test-memcmp.c: Avoid unncessary #defines.
39831 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39832
093ecf92
LD
398332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39834
39835 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39836 Use new sse2 version for core i3 - i7 as it's faster
39837 than sse42 version.
39838 (bit_Prefer_PMINUB_for_stringop): New.
39839 * sysdeps/x86_64/rawmemchr.S: Update.
39840 Replace with faster SSE2 version.
39841 * sysdeps/x86_64/memrchr.S: New file.
39842 * sysdeps/x86_64/memchr.S: Update.
39843 Replace with faster SSE2 version.
39844
fde56e5c
MP
398452011-09-12 Marek Polacek <mpolacek@redhat.com>
39846
39847 * elf/dl-load.c (lose): Add cast to avoid warning.
39848
21fd49a9
UD
398492011-10-07 Ulrich Drepper <drepper@gmail.com>
39850
5a06e643
UD
39851 * po/ca.po: Update from translation team.
39852
684ae515
UD
39853 * inet/getnetgrent_r.c: Hook up nscd.
39854 * nscd/Makefile (routines): Add nscd_netgroup.
39855 (nscd-modules): Add netgroupcache.
39856 (CFLAGS-netgroupcache.c): Define.
39857 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39858 (cache_search): Add const to second parameter.
39859 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39860 INNETGR.
39861 (dbs): Add netgrdb entry.
39862 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39863 (verify_persistent_db): Handle netgrdb.
39864 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39865 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39866 GETFDNETGR.
39867 (netgroup_response_header): Define.
39868 (innetgroup_response_header): Define.
39869 (datahead): Add netgroup_response_header and innetgroup_response_header
39870 elements.
39871 * nscd/nscd.conf: Add entries for netgroup cache.
39872 * nscd/nscd.h (dbtype): Add netgrdb.
39873 (_PATH_NSCD_NETGROUP_DB): Define.
39874 (netgroup_iov_disabled): Declare.
39875 (xmalloc, xcalloc, xrealloc): Move declarations here.
39876 (cache_search): Adjust prototype.
39877 Add netgroup-related prototypes.
39878 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39879 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39880 (__nscd_innetgr): Declare.
39881 * nscd/selinux.c (perms): Use access_vector_t as element type and
39882 add netgroup-related initializers.
39883 * nscd/netgroupcache.c: New file.
39884 * nscd/nscd_netgroup.c: New file.
39885 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39886 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39887 For four parameters use innetgr.
39888 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39889 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39890 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39891 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39892
21fd49a9
UD
39893 * nscd/connections.c (register_traced_file): Don't register file
39894 for disabled databases.
39895
054c0457
UD
398962011-10-06 Ulrich Drepper <drepper@gmail.com>
39897
32b63198
UD
39898 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39899
054c0457
UD
39900 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39901 from tree and freeing node.
39902
64031225
JO
399032011-09-25 Jiri Olsa <jolsa@redhat.com>
39904
39905 * nss/nsswitch.c (__nss_database_lookup): Handle
39906 nss_parse_service_list out of memory case.
39907
0490345c
JO
399082011-09-15 Jiri Olsa <jolsa@redhat.com>
39909
39910 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39911 out of memory case.
39912
3a62d00d
AS
399132011-10-04 Andreas Schwab <schwab@redhat.com>
39914
39915 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39916 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39917 pass it down.
39918 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39919 elf_machine_rela, elf_machine_lazy_rel.
39920 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39921 (ELF_DYNAMIC_DO_REL): Likewise.
39922 (ELF_DYNAMIC_DO_RELA): Likewise.
39923 (ELF_DYNAMIC_RELOCATE): Likewise.
39924 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39925 to ELF_DYNAMIC_DO_REL.
39926 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39927 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39928 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39929 elf_machine_rela.
39930 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39931 skip_ifunc, don't call ifunc function if non-zero.
39932 (elf_machine_rela): Likewise.
39933 (elf_machine_lazy_rel): Likewise.
39934 (elf_machine_lazy_rela): Likewise.
39935 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39936 (elf_machine_lazy_rel): Likewise.
39937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39938 Likewise.
39939 (elf_machine_lazy_rel): Likewise.
39940 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39941 Likewise.
39942 (elf_machine_lazy_rel): Likewise.
39943 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39944 (elf_machine_lazy_rel): Likewise.
39945 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39946 (elf_machine_lazy_rel): Likewise.
39947 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39948 (elf_machine_lazy_rel): Likewise.
39949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39950 (elf_machine_lazy_rel): Likewise.
39951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39952 (elf_machine_lazy_rel): Likewise.
39953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39954 (elf_machine_lazy_rel): Likewise.
39955
68577918
UD
399562011-09-28 Ulrich Drepper <drepper@gmail.com>
39957
39958 * nss/nss_files/files-init.c (_nss_files_init): Use static
39959 initialization for all the *_traced_file variables.
39960
68822d74
AS
399612011-09-28 Andreas Schwab <schwab@redhat.com>
39962
39963 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39964
2056100b
RM
399652011-09-27 Roland McGrath <roland@hack.frob.com>
39966
39967 [BZ #13226]
39968 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39969
32c76b63
AS
399702011-09-27 Andreas Schwab <schwab@redhat.com>
39971
39972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39973 Reread the line before reparsing it.
39974
bf972c9d
AS
399752011-09-26 Andreas Schwab <schwab@redhat.com>
39976
39977 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39978
e057a1b5
JM
399792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39980 Maxim Kuvyrkov <maxim@codesourcery.com>
39981 Joseph Myers <joseph@codesourcery.com>
39982
39983 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39984 if needed for __stack_chk_guard.
39985
bc7e1c36
RM
399862011-09-19 Roland McGrath <roland@hack.frob.com>
39987
ecb1482f
RM
39988 * sysdeps/posix/spawni.c (script_execute): Always define it.
39989 It will be optimized away if unused.
39990 (maybe_script_execute): New function.
39991 (__spawni): Call it.
39992
bc7e1c36
RM
39993 * Makerules: Don't include tls.make.
39994 (config-tls): Always set to thread.
39995 * tls.make.c: File removed.
39996
1c3b002b
MF
399972011-09-19 Mike Frysinger <vapier@gentoo.org>
39998
39999 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40000 * config.make.in (CPPFLAGS-config): New substituted variable.
40001
2840865d
UD
400022011-09-15 Ulrich Drepper <drepper@gmail.com>
40003
88738eb6
UD
40004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40005
cbf645a6 40006 [BZ #13192]
2840865d
UD
40007 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40008 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40009
b402e91a
RM
400102011-09-15 Roland McGrath <roland@hack.frob.com>
40011
40012 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40013 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40015 (CALL_FAIL): Likewise.
40016 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40017 (CALL_FAIL): Macro removed.
40018 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40019
4c1a1f71
UD
400202011-09-15 Ulrich Drepper <drepper@gmail.com>
40021
40022 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40023 for __FINITE_MATH_ONLY__ == 1.
40024
edc121be
AS
400252011-09-15 Andreas Schwab <schwab@redhat.com>
40026
40027 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40028 __ieee754_sqrt instead of sqrt.
40029 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40030 __ieee754_sqrtf instead of sqrtf.
40031 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40032 __floorf instead of floorf.
40033 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40034 __floorf, __truncf instead of floorf, truncf.
40035
cd205654
UD
400362011-09-14 Ulrich Drepper <drepper@gmail.com>
40037
ee4d0315
UD
40038 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40039
cd205654
UD
40040 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40041 __extern_always_inline.
40042 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40043 32-bit.
40044
48b67d71
AS
400452011-09-14 Andreas Schwab <schwab@redhat.com>
40046
40047 * elf/rtld.c (dl_main): Also relocate in dependency order when
40048 doing symbol dependency testing.
40049
1ae12c75
AS
400502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40051
40052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40053 Always define `refsym'.
40054
995a80df
AS
400552011-09-13 Andreas Schwab <schwab@redhat.com>
40056
e529793b
AS
40057 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40058 (__FD_ELT): Renamed from __FDELT.
40059 * misc/bits/select2.h (__FD_ELT): Likewise.
40060 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40061 __FD_MASK instead of __FDELT, __FDMASK.
40062 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40063 Likewise.
40064 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40065 Likewise.
40066
52d4fef8
AS
40067 * elf/Makefile (gen-ldd): Fix pattern.
40068
995a80df
AS
40069 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40070 (init_tls): Likewise.
40071
8682f8b0
UD
400722011-09-12 Ulrich Drepper <drepper@gmail.com>
40073
40074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40075
de82006d
AS
400762011-09-12 Andreas Schwab <schwab@redhat.com>
40077
a7c8e6a1
AS
40078 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40079 `struct cmsghdr *' instead of `void *'.
40080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40081 Likewise.
40082
0f31fe77
AS
400832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40084
40085 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40086 if non-absolute.
40087 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40088 ldd_rewrite_script.
0f31fe77 40089
32b4c839
UD
400902011-09-11 Ulrich Drepper <drepper@gmail.com>
40091
83cd1420
UD
40092 * configure.in: Remove --with-tls option.
40093 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40094 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40095 out in case it is missing.
40096 * sysdeps/ia64/elf/configure.in: Likewise.
40097 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40098 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40099 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40100 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40101 * sysdeps/sh/elf/configure.in: Likewise.
40102 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40103 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40104 * sysdeps/x86_64/elf/configure.in: Likewise.
40105 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40106 * sysdeps/mach/hurd/tls.h: Likewise.
40107
633f745d
UD
40108 [BZ #13067]
40109 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40110
f318beb8
UD
40111 [BZ #13090]
40112 * configure.in: Fix use of AC_INIT.
40113
32b4c839
UD
40114 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40115
3ce1f295
UD
401162011-09-10 Ulrich Drepper <drepper@gmail.com>
40117
bb016596
UD
40118 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40119 __set_errno.
8e58439c
UD
40120 * malloc/hooks.c: Likewise.
40121
aebae053 40122 [BZ #11929]
02d46fc4
UD
40123 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40124 variables statically.
40125 (narenas): Initialize.
40126 (list_lock): Initialize.
bb016596
UD
40127 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40128 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40129 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40130 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40131 Add initializers to main_arena and mp_.
40132 (malloc_state): Remove pagesize member. Change all users to use
40133 GLRO(dl_pagesize).
40134
40135 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40136 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40137 is always initialized.
40138
22a89187
UD
40139 * malloc/malloc.c: Removed unused configurations and dead code.
40140 * malloc/arena.c: Likewise.
40141 * malloc/hooks.c: Likewise.
02d46fc4 40142 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40143
d063d164
UD
40144 * include/tls.h: Removed. USE___THREAD must always be defined.
40145 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40146 * elf/dl-libc.c: Likewise.
40147 * elf/dl-tsd.c: Likewise.
40148 * include/errno.h: Likewise.
40149 * include/netdb.h: Likewise.
40150 * include/resolv.h: Likewise.
40151 * inet/herrno-loc.c: Likewise.
40152 * inet/herrno.c: Likewise.
40153 * malloc/arena.c: Likewise.
40154 * malloc/hooks.c: Likewise.
40155 * malloc/malloc.c: Likewise.
40156 * resolv/res-state.c: Likewise.
40157 * resolv/res_libc.c: Likewise.
40158 * sysdeps/i386/dl-machine.h: Likewise.
40159 * sysdeps/ia64/dl-machine.h: Likewise.
40160 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40161 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40162 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40163 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40164 * sysdeps/sh/dl-machine.h: Likewise.
40165 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40166 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40167 * sysdeps/unix/i386/sysdep.S: Likewise.
40168 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40169 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40170 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40174 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40178 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40179 * sysdeps/x86_64/dl-machine.h: Likewise.
40180 * tls.make.c: Likewise.
40181
3ce1f295
UD
40182 * configure.in: Remove --with-__thread option. Make tests for
40183 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40184 tls_model attribute fail if no support is available. Remove
40185 USE_IN_LIBIO.
40186 * Makeconfig: Adjust for dropped configure option. All features are
40187 now mandatory.
40188 * Makerules: Likewise.
40189 * Versions.def: Likewise.
40190 * argp/argp-fmtstream.c: Likewise.
40191 * argp/argp-fmtstream.h: Likewise.
40192 * argp/argp-help.c: Likewise.
40193 * assert/assert.c: Likewise.
40194 * config.h.in: Likewise.
40195 * config.make.in: Likewise.
40196 * configure: Likewise.
40197 * configure.in: Likewise.
40198 * csu/Versions: Likewise.
40199 * csu/init.c: Likewise.
40200 * elf/tst-audit2.c: Likewise.
40201 * elf/tst-tls10.c: Likewise.
40202 * elf/tst-tls10.h: Likewise.
40203 * elf/tst-tls11.c: Likewise.
40204 * elf/tst-tls12.c: Likewise.
40205 * elf/tst-tls14.c: Likewise.
40206 * elf/tst-tlsmod11.c: Likewise.
40207 * elf/tst-tlsmod12.c: Likewise.
40208 * elf/tst-tlsmod13.c: Likewise.
40209 * elf/tst-tlsmod13a.c: Likewise.
40210 * elf/tst-tlsmod14a.c: Likewise.
40211 * elf/tst-tlsmod15b.c: Likewise.
40212 * elf/tst-tlsmod16a.c: Likewise.
40213 * elf/tst-tlsmod16b.c: Likewise.
40214 * elf/tst-tlsmod7.c: Likewise.
40215 * elf/tst-tlsmod8.c: Likewise.
40216 * elf/tst-tlsmod9.c: Likewise.
40217 * gmon/gmon.c: Likewise.
40218 * grp/fgetgrent_r.c: Likewise.
40219 * grp/putgrent.c: Likewise.
40220 * hurd/fopenport.c: Likewise.
40221 * include/libc-symbols.h: Likewise.
40222 * include/tls.h: Likewise.
40223 * intl/gettextP.h: Likewise.
40224 * intl/loadinfo.h: Likewise.
40225 * locale/global-locale.c: Likewise.
40226 * locale/localeinfo.h: Likewise.
40227 * mach/devstream.c: Likewise.
40228 * malloc/arena.c: Likewise.
40229 * malloc/set-freeres.c: Likewise.
40230 * misc/err.c: Likewise.
40231 * misc/getttyent.c: Likewise.
40232 * misc/mntent_r.c: Likewise.
40233 * posix/getopt.c: Likewise.
40234 * posix/wordexp.c: Likewise.
40235 * pwd/fgetpwent_r.c: Likewise.
40236 * resolv/Versions: Likewise.
40237 * resolv/res_hconf.c: Likewise.
40238 * shadow/fgetspent_r.c: Likewise.
40239 * shadow/putspent.c: Likewise.
40240 * stdio-common/printf_fphex.c: Likewise.
40241 * stdio-common/tmpfile.c: Likewise.
40242 * stdlib/abort.c: Likewise.
40243 * stdlib/fmtmsg.c: Likewise.
40244 * sunrpc/auth_unix.c: Likewise.
40245 * sunrpc/clnt_perr.c: Likewise.
40246 * sunrpc/clnt_tcp.c: Likewise.
40247 * sunrpc/clnt_udp.c: Likewise.
40248 * sunrpc/clnt_unix.c: Likewise.
40249 * sunrpc/openchild.c: Likewise.
40250 * sunrpc/svc_simple.c: Likewise.
40251 * sunrpc/svc_tcp.c: Likewise.
40252 * sunrpc/svc_udp.c: Likewise.
40253 * sunrpc/svc_unix.c: Likewise.
40254 * sunrpc/xdr.c: Likewise.
40255 * sunrpc/xdr_array.c: Likewise.
40256 * sunrpc/xdr_rec.c: Likewise.
40257 * sunrpc/xdr_ref.c: Likewise.
40258 * sunrpc/xdr_stdio.c: Likewise.
40259
1248c1c4
PB
402602011-09-09 Ulrich Drepper <drepper@gmail.com>
40261
40262 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40263
402642011-07-03 Andreas Jaeger <aj@suse.de>
40265
40266 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40267 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40268 regenerate with gen-libm-tests.pl.
40269
402702010-05-12 Petr Baudis <pasky@suse.cz>
40271
40272 [BZ #11589]
40273 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40274 around j0() zero points by switching to j1().
40275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40279
f22e1074
UD
402802011-09-09 Ulrich Drepper <drepper@gmail.com>
40281
f19009c1
UD
40282 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40283 instead of 0.
40284 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40285 instead of 0.
f19009c1
UD
40286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40287 Patch in part by Pavel Roskin <proski@gnu.org>.
40288
3f8cc204
UD
40289 [BZ #13138]
40290 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40291 realloc.
40292 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40293 Free memory block if necessary.
40294
f22e1074
UD
40295 [BZ #12847]
40296 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40297 be NULL. Don't lock in this case.
40298
0a2349f9
RM
402992011-09-09 Roland McGrath <roland@hack.frob.com>
40300
40301 * elf/elf.h (ELFOSABI_GNU): New macro.
40302 (ELFOSABI_LINUX): Define to that.
40303
f3cdd467
DZ
403042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40305
40306 * string/strncat.c (strncat): Undef the symbol in case it has been
40307 defined in bits/string.h.
40308
74718d13
UD
403092011-09-09 Ulrich Drepper <drepper@gmail.com>
40310
633e9e0f
UD
40311 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40312
0a2349f9 40313 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40314 link map.
40315
f9924780
AJ
403162011-08-17 Andreas Jaeger <aj@suse.de>
40317
40318 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40319
7f5517aa
PP
403202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40321 Ian Lance Taylor <iant@google.com>
40322
40323 * math/libm-test.inc (lround_test): New testcase.
40324 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40325
762011fe
UD
403262011-09-08 Ulrich Drepper <drepper@gmail.com>
40327
92963737
UD
40328 * Makefile: Remove support for automatic cvs check-ins.
40329 * Makerules: Likewise.
40330 * config.make.in: Likewise.
40331 * configure.in: Likewise.
40332 * intl/Makefile: Likewise.
40333 * locale/Makefile: Likewise.
40334 * po/Makefile: Likewise.
40335 * posix/Makefile: Likewise.
40336 * sysdeps/gnu/Makefile: Likewise.
40337 * sysdeps/mach/hurd/Makefile: Likewise.
40338 * sysdeps/sparc/sparc32/Makefile: Likewise.
40339
b0727fd8
JS
40340 [BZ #13118]
40341 * posix/Makefile (bug-regex32-ENV): Define.
40342 Patch by John Stanley <jpsinthemix@verizon.net>.
40343
a0f33f99
UD
40344 * misc/Makefile (headers): Add bits/select2.h.
40345 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40346 * misc/bits/select2.h: New file.
40347 * include/bits/select2.h: New file.
40348 * debug/Makefile (routines): Add fdelt_chk.
40349 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40350 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40351 FD_ISSET.
40352 * debug/fdelt_chk.c: New file.
40353
762011fe
UD
40354 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40355 * wcsmbs/test-wmemcmp.c: Likewise.
40356 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40357 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40358
403592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40360
40361 * string/Makefile (strop-tests): Add memcmp.
40362 * string/test-wmemcmp.c: New file.
40363 * string/test-memcmp.c: Add wmemcmp support.
40364
7f513ec8
RM
403652011-09-08 Roland McGrath <roland@hack.frob.com>
40366
0442afb4
RM
40367 [BZ #13153]
40368 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40369 2011-07-19 change.
40370
7f513ec8
RM
40371 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40372 garbage value in a __mach_port_mod_refs call in the cases of the
40373 task-self and thread-self ports.
40374
a12b2239
ST
403752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40376
40377 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40378
610f9ab4
AS
403792011-09-08 Andreas Schwab <schwab@redhat.com>
40380
7f513ec8 40381 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40382
48882a1a
LD
403832011-09-07 Ulrich Drepper <drepper@gmail.com>
40384
b49865be
UD
40385 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40386
fdc86bc9
UD
40387 * elf/dl-libc.c (dlerror_run): Pass back error code from
40388 dl_catch_error.
40389
c966526a
UD
40390 [BZ #13123]
40391 * elf/dl-load.c (lose): Free l_origin if it is valid.
40392
48882a1a
LD
40393 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40394 names.
40395 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40396 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40397 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40399 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40400 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40401
77a2a8b4
AZ
404022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40403
40404 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40405 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40406 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40407 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40408 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40409 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40410 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40411 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40412 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40413 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40414
24f579d8
AM
404152011-08-15 Alan Modra <amodra@gmail.com>
40416
40417 [BZ #13092]
40418 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40419 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40420 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40421 ppc_mcount to static-only-routines.
40422 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40423 __mcount_internal.
40424 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40425 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40426
3d4837df
UD
404272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40428
40429 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40430 for finite and infinity parameters.
40431
22700377
WS
404322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40433
40434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40435 and add nop instructions for throughput optimization.
40436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40437
5025581e
WS
404382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40439
40440 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40441 aligned copy for power7 with vector-scalar instructions.
40442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40443
08a300c9
L
404442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40445
40446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40447 AVX check.
40448
59178ef9
AS
404492011-09-07 Andreas Schwab <schwab@redhat.com>
40450
40451 [BZ #13144]
40452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40453 last change.
40454
e38ba7ab
UD
404552011-09-07 Ulrich Drepper <drepper@gmail.com>
40456
40457 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40458 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40459 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40460 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40461 clock_gettime.
40462
d53a73ac
UD
404632011-09-06 Ulrich Drepper <drepper@gmail.com>
40464
fc8bffcc
UD
40465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40466 Forgot to demangle the pointer.
40467
ceaa0c5d
UD
40468 * sysdeps/i386/sysdep.h: Define atom_text_section.
40469 * sysdeps/x86_64/sysdep.h: Likewise.
40470 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40471 section with atom_text_section.
40472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40473 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40474 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40476 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40477
a77d3c17
UD
40478 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40480 already be defined. Change to take two parameters and don't assign
40481 result to variable. Adjust all users.
40482 Define INTERNAL_GETTIME if not already defined.
40483 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40484 call.
40485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40486 HAVE_CLOCK_GETTIME_VSYSCALL.
40487 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40488
d53a73ac
UD
40489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40490 gettimeofday vsyscall, just use time.
40491
a8f84144
AS
404922011-09-06 Andreas Schwab <schwab@redhat.com>
40493
40494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40495 <errno.h>.
40496
ef606249
UD
404972011-09-06 Ulrich Drepper <drepper@gmail.com>
40498
40499 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40500 syscall on x86-64.
40501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40502 syscall.
40503 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40505 syscall if possible.
40506
6585cb60
UD
405072011-09-05 Ulrich Drepper <drepper@gmail.com>
40508
40509 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40510 e_ident. Don't pass to find_mapsXX.
40511 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40512
a5f524e4
LD
405132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40514
40515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40516 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40517 * sysdeps/x86_64/multiarch/strchr.S: Update.
40518 Check bit_slow_BSF bit.
40519 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40521 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40522
554881ef
UD
405232011-09-05 Ulrich Drepper <drepper@gmail.com>
40524
d96de963
UD
40525 [BZ #13134]
40526 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40527 before glibc 2.15.
40528 (tryshell): Define.
40529 (__spawni): Change last parameter to be flag. Test
40530 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40531 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40532 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40533 * posix/spawni.c: Likewise.
40534 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40535 * posix/spawnp.c: Likewise. Change normal version to use
40536 SPAWN_XFLAGS_USE_PATH.
40537 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40538 SPAWN_XFLAGS_TRY_SHELL.
40539
d48e5868
UD
40540 [BZ #13150]
40541 * posix/glob.h: Remove gcc 1.x support.
40542
554881ef
UD
40543 [BZ #13068]
40544 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40545
693fb948
LD
405462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40547
40548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40549 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40550 strrchr-sse2-bsf
40551 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40552 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40553 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40554 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40555 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40556 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40557
1b48c537
UD
405582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40559
49d42c37
UD
40560 * sysdeps/x86_64/wcscmp.S: New file.
40561
1b48c537
UD
40562 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40563 wcscmp-c wcscmp-sse2
40564 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40565 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40567 * wcsmbs/wcscmp.c: Allow renaming.
40568
15c95c5d
DM
405692011-09-05 David S. Miller <davem@davemloft.net>
40570
40571 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40572 stack slot, rather than the struct return pointer slot.
40573 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40574 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40577
2f0ad8f3
UD
405782011-09-05 Ulrich Drepper <drepper@gmail.com>
40579
d88ae418
UD
40580 * po/ja.po: Update from translation team.
40581
2f0ad8f3
UD
40582 [BZ #13144]
40583 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40584 kernel in 64-bit binaries.
40585
5f4318d1
DM
405862011-09-01 David S. Miller <davem@davemloft.net>
40587
40588 * elf/elf.h (HWCAP_SPARC_*): Move to..
40589 * sysdeps/sparc/sysdep.h: this new file and add new values.
40590 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40591 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40592 _DL_HWCAP_COUNT to 24.
40593 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40594 entries.
40595 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40596 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40597 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40599 instead of magic constants.
40600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40601
3ba57516
DM
406022011-08-31 David S. Miller <davem@davemloft.net>
40603
40604 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40606 Reimplement to do errno handling inline.
40607 (SYSCALL_ERROR_HANDLER): New macro.
40608 (__SYSCALL_STRING): Do not do errno handling in asm.
40609 (__CLONE_SYSCALL_STRING): Delete.
40610 (__INTERNAL_SYSCALL_STRING): Delete.
40611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40612 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40613 (PSEUDO): Reimplement to do errno handling inline.
40614 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40615 (SYSCALL_ERROR_HANDLER): New macro.
40616 (__SYSCALL_STRING): Do not do errno handling in asm.
40617 (__CLONE_SYSCALL_STRING): Delete.
40618 (__INTERNAL_SYSCALL_STRING): Delete.
40619 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40620 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40621 i386.
40622 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40623 (inline_syscall*): Add 'err' argument.
40624 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40625 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40626 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40627 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40628
40629 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40630 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40631
2bc17433
AS
406322011-08-30 Andreas Schwab <schwab@redhat.com>
40633
40634 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40635
fbeb5f4d
JO
406362011-08-29 Jiri Olsa <jolsa@redhat.com>
40637
40638 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40639 directive.
40640
ad69cc26
DM
406412011-08-24 David S. Miller <davem@davemloft.net>
40642
40643 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40644
39dd69df
AS
406452011-08-24 Andreas Schwab <schwab@redhat.com>
40646
40647 * elf/Makefile: Add rules to build and run unload8 test.
40648 * elf/unload8.c: New file.
40649 * elf/unload8mod1.c: New file.
40650 * elf/unload8mod1x.c: New file.
40651 * elf/unload8mod2.c: New file.
40652 * elf/unload8mod3.c: New file.
40653
40654 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40655 it wasn't used.
40656
2c0b250a
DM
406572011-08-23 David S. Miller <davem@davemloft.net>
40658
40659 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40660 subtract stack bias.
40661 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40662 %sp not %fp in calculations.
40663 (_JMPBUF_UNWINDS_ADJ): Likewise.
40664
22044b48
DM
40665 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40666 (aio_suspend): Call it to force an exception region around the
40667 AIO_MISC_WAIT() invocation.
40668
2cae4995
AS
406692011-08-23 Andreas Schwab <schwab@redhat.com>
40670
40671 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40672 backslash.
40673
873a772e
AJ
406742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40675
40676 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40677 protection macro.
40678 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40679 and <dl-machine.h>.
40680 (Elf64_FuncDesc): Remove.
40681
25ad0df1
DM
406822011-08-22 David S. Miller <davem@davemloft.net>
40683
40684 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40685 sigaltstack check, add missing cfi directives.
40686 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40687 missing cfi directives, and sigaltstack handling.
40688
e888bcbe
AS
406892011-08-16 Andreas Schwab <schwab@redhat.com>
40690
40691 [BZ #11724]
40692 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40693 object is seen twice.
40694 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40695
40696 * elf/Makefile (distribute): Add tst-initorder2.c.
40697 (tests): Add tst-initorder2.
40698 (modules-names): Add tst-initorder2a tst-initorder2b
40699 tst-initorder2c tst-initorder2d. Add rules to build them.
40700 ($(objpfx)tst-initorder2.out): New rule.
40701 * elf/tst-initorder2.c: New file.
40702 * elf/tst-initorder2.exp: New file.
40703
87162f46
AS
407042011-08-22 Andreas Schwab <schwab@redhat.com>
40705
70538b7f
AS
40706 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40707
f55ffe58
AS
40708 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40709 dependencies back to end of function.
40710
87162f46
AS
40711 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40712 $(elfobjdir)/ld.so.
40713
91b392a4
UD
407142011-08-21 Ulrich Drepper <drepper@gmail.com>
40715
40716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40717 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40719 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40720 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40721 of __vdso_gettimeofday.
40722 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40723 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40724 attribute_hidden.
40725 (_libc_vdso_platform_setup): Remove initialization of
40726 __vdso_gettimeofday and __vdso_time.
40727
5c43483f
UD
407282011-08-20 Ulrich Drepper <drepper@gmail.com>
40729
775a77e7
UD
40730 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40731 and fgetc_unlocked.
40732 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40733 getc_unlocked.
89f447ed 40734
49c74ba9
UD
40735 * elf/dl-open.c (add_to_global): Report additions to the global scope
40736 for LD_DEBUG=scopes.
40737 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40738 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40739
5c43483f
UD
40740 [BZ #13114]
40741 * stdio-common/Makefile (tests): Add bug24.
40742 * stdio-common/bug24.c: New file.
40743
a101b025
AJ
407442011-08-19 Andreas Jaeger <aj@suse.de>
40745
40746 [BZ #13114]
40747 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40748 non-existant file when using close-on-exec mode.
40749
c88f1766
UD
407502011-08-20 Ulrich Drepper <drepper@gmail.com>
40751
0276a718
UD
40752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40753 the very first instruction.
40754
c88f1766
UD
40755 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40756 the CFI state in the end.
40757 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40758 inclusion of dl-trampoline.h.
40759 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40760
51ccffa0
AS
407612011-08-19 Andreas Schwab <schwab@redhat.com>
40762
94d7165f
AS
40763 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40764 expectations for long double.
40765
51ccffa0
AS
40766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40767 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40768
fd708658 407692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40770
40771 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40772 artificual limit depends upon the system page size.
40773
44f0a71e
UD
407742011-08-17 Ulrich Drepper <drepper@gmail.com>
40775
40776 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40777 * resolv/Makefile: Define CFLAGS-libresolv.
40778
8de79a24
AS
407792011-08-17 Andreas Schwab <schwab@redhat.com>
40780
40781 * nss/makedb.c (compute_tables): Make variables used in nested
40782 function static.
40783
27724598
UD
407842011-08-17 Ulrich Drepper <drepper@gmail.com>
40785
c5305d88
UD
40786 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40787 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40788 if buffer was too small.
40789
27724598
UD
40790 * elf/pldd.c (main): Attach to all threads in the process.
40791 Rewrite /proc handling to use *at functions.
40792
076fe015
UD
407932011-08-16 Ulrich Drepper <drepper@gmail.com>
40794
174baab3
UD
40795 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40796 specifies first scope to show.
40797 (dl_open_worker): Update callers. Move printing scope of new
40798 object to before the relocation.
44f0a71e 40799 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40800 * sysdeps/generic/ldsodefs.h: Update declaration.
40801
076fe015
UD
40802 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40803 string for the scope number.
40804
a60df2c3
UD
408052011-08-14 Ulrich Drepper <drepper@gmail.com>
40806
40807 * nscd/servicescache.c (cache_addserv): Make sure written is always
40808 initialized.
40809
5e4287d1
RM
408102011-08-14 Roland McGrath <roland@hack.frob.com>
40811
85ae0589
RM
40812 * sysdeps/i386/i486/bits/atomic.h
40813 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40814 statement expression, so as to suppress "set but not used" warning.
40815 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40816
69f63097
RM
40817 * string/strncat.c (STRNCAT): Use prototype definition.
40818
675456ef
RM
40819 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40820 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40821 -Iprograms here.
40822 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40823 (localedef-modules): Add localedef.
40824 (locale-modules): Add locale.
40825
5e4287d1
RM
40826 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40827 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40828 to avoid a warning.
40829
9c96ff23
DM
408302011-08-14 David S. Miller <davem@davemloft.net>
40831
40832 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40833 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40834
f9ddf089
UD
408352011-08-13 Ulrich Drepper <drepper@gmail.com>
40836
44f0a71e 40837 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40838 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40839 * elf/rtld.c (dl_main): Set l_name of vDSO.
40840 Call _dl_show_scope when DL_DEBUG_SCOPES.
40841 (process_dl_debug): Recognize scopes flag and also set it for all.
40842 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40843 Declare _dl_show_scope.
40844
1dc27704
UD
40845 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40846 (do_dlopen): Pass caller_dlopen to dl_open.
40847 (__libc_dlopen_mode): Initialize caller_dlopen.
40848
f9ddf089
UD
40849 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40850 of libc. Make tolower call locale-independent. Optimize a bit by
40851 using isdigit instead of isalnum.
40852 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40853
9ac533d3
UD
408542011-08-12 Ulrich Drepper <drepper@gmail.com>
40855
40856 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40857 was a dependency or dynamically loaded.
40858
89edf2e9
UD
408592011-08-11 Ulrich Drepper <drepper@gmail.com>
40860
8e999d29
UD
40861 * intl/l10nflist.c: Allow architecture-specific pop function.
40862 * sysdeps/x86_64/l10nflist.c: New file.
40863
89edf2e9
UD
40864 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40865 classification.
40866
14d96785
AS
408672011-08-10 Andreas Schwab <schwab@redhat.com>
40868
40869 * include/dirent.h: Add libc_hidden_proto for scandirat and
40870 scandirat64. Don't declare __scandirat64.
40871 * dirent/scandirat.c: Add libc_hidden_def.
40872 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40873 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40874
6761ac04
DM
408752011-08-10 David S. Miller <davem@davemloft.net>
40876
40877 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40878 enum.
40879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40881 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40882
c55fbd1e
UD
408832011-08-09 Ulrich Drepper <drepper@gmail.com>
40884
40885 * Versions.def [libc]: Add GLIBC_2.15.
40886 * dirent/Makefile (routines): Add scandirat and scandirat64.
40887 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40888 GLIBC_2.15.
40889 * dirent/dirent.h: Declare scandirat and scandirat64.
40890 * dirent/scandirat.c: New file.
40891 * dirent/scandirat64.c: New file.
40892 * sysdeps/wordsize-64/scandirat.c: New file.
40893 * sysdeps/wordsize-64/scandirat64.c: New file.
40894 * dirent/opendir.c: Define opendirat.
40895 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40896 using scandirat.
40897 * dirent/scandir64.c: Adjust for scandir.c change.
40898 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40899 __scandirat64, and __scandir_cancel_handler.
40900 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40901 additional parameter and use openat instead of open (outside of ld.so).
40902 Add new __opendir as wrapper around __opendirat.
40903 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40904 here without requiring old scandirat implementation.
40905
879165f2
UD
409062011-08-08 Ulrich Drepper <drepper@gmail.com>
40907
40908 * dirent/scandir.c (cancel_handler): Renamed to
40909 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40910 defined. Adjust users.
40911 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40913
cb7e923b
UD
409142011-08-04 Ulrich Drepper <drepper@gmail.com>
40915
16292edd
UD
40916 * string/test-string.h (IMPL): Use __STRING to expand name and then
40917 stringify it.
40918
cb7e923b
UD
40919 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40920 of cleanups.
40921
cff82933
LD
409222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40923
40924 * string/Makefile: Update.
40925 (strop-tests): Append strncat.
40926 * string/test-wcscmp.c: New file.
40927 New comprehensive test for wcscmp.
40928 * string/test-strcmp.c: Update.
40929 (WIDE): New define.
40930
9be9bfcc
AS
409312011-07-22 Andreas Schwab <schwab@redhat.com>
40932
40933 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40934 line.
40935
2e96f1c7
AS
409362011-07-26 Andreas Schwab <schwab@redhat.com>
40937
40938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40939 encoding to ACE if AI_IDN.
40940
85188888
JJ
409412011-08-01 Jakub Jelinek <jakub@redhat.com>
40942
40943 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40944 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40945
5fa16e9b
LD
409462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40947
40948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40949 Fix overflow bug in strncat.
40950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40951
40952 * string/test-strncat.c: Update.
40953 Add new tests for checking overflow bugs.
40954
409552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40956
40957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40958 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40959 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40960 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40962 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40963 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40964 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40965 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40966
40967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40968 (USE_AS_STRCAT): Define.
40969 Add strcat and strncat support.
40970 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40971
8c1a459f
AS
409722011-07-25 Andreas Schwab <schwab@redhat.com>
40973
40974 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40975 __n bigger than INT_MAX+1.
40976 (__strncmp_g): Likewise.
40977
bba33c28
UD
409782011-07-23 Ulrich Drepper <drepper@gmail.com>
40979
798be72d
UD
40980 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40981 * libio/stido.h: Likewise.
40982
8accd4dc
UD
40983 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40984 (AF_NFC): Define.
40985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40986 (AF_NFC): Define.
40987
cbff0d96
UD
40988 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40989 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40993
9191c04a
UD
40994 [BZ #13021]
40995 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40996 installed.
40997
bba33c28
UD
40998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40999 typo.
41000 (_dl_x86_64_save_sse): Likewise.
41001
90f139dd
UD
410022011-07-22 Ulrich Drepper <drepper@gmail.com>
41003
1aae088a
UD
41004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41005 OSXSAVE.
41006 (_dl_x86_64_save_sse): Likewise.
41007
8e2045f5
UD
41008 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41009
90f139dd
UD
41010 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41011
1d002f25
AS
410122011-07-21 Andreas Schwab <schwab@redhat.com>
41013
41014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41015 change.
41016 (_dl_x86_64_save_sse): Use correct AVX check.
41017
21137f89
UD
410182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41019
41020 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41021 bug in strncpy/strncat.
41022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41023
a65c0b7a
UD
410242011-07-21 Ulrich Drepper <drepper@gmail.com>
41025
41026 * string/tester.c (test_strcat): Add tests for different alignments
41027 of source and destination.
41028 (test_strncat): Likewise.
41029
6986b98a
UD
410302011-07-20 Ulrich Drepper <drepper@gmail.com>
41031
90bb2039
UD
41032 [BZ #12852]
41033 * posix/glob.c (glob): Check passed in values before using them in
41034 expressions to avoid some overflows.
41035 (glob_in_dir): Likewise.
41036
5644ef54
UD
41037 [BZ #13007]
41038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41039 check for AVX enablement so that we don't crash with old kernels and
41040 new hardware.
41041 * elf/tst-audit4.c: Add same checks here.
41042 * elf/tst-audit6.c: Likewise.
41043
41044 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41045
bfc9dc9b
AS
410462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41047
41048 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41049
702e64bb
UD
410502011-07-20 Ulrich Drepper <drepper@gmail.com>
41051
41052 * po/cs.po: Update from translation team.
41053 * po/bg.po: Likewise.
41054
295e904f
MP
410552011-07-12 Marek Polacek <mpolacek@redhat.com>
41056
41057 * misc/sys/cdefs.h: Add support for const attribute.
41058 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41059 to gnu_dev_{major,minor,makedev} functions.
41060
3ff94596
MP
410612011-07-20 Marek Polacek <mpolacek@redhat.com>
41062
41063 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41064
28b59fca
AS
410652011-07-20 Andreas Schwab <schwab@redhat.com>
41066
41067 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41068 strlen results.
41069
19df733e
AK
410702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41071
41072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41073 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41074 register in order to avoid conflicts with the soft frame pointer
41075 being held in r11 when necessary.
41076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41077 (INTERNAL_VSYSCALL_NCS): Likewise.
41078
c8835729
MP
410792011-07-14 Marek Polacek <mpolacek@redhat.com>
41080
41081 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41082 * elf/dl-fini.c (_dl_fini): Adjust caller.
41083 * elf/dl-close.c (_dl_close_worker): Likewise.
41084 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41085
b902330c
MP
410862011-07-15 Marek Polacek <mpolacek@redhat.com>
41087
8991e135
MP
41088 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41089 "aux_cache->nlibs < 0".
41090
b902330c
MP
41091 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41092 in the reload-count case.
41093
99710781
LD
410942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41095
41096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41097 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41098 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41099 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41100 * sysdeps/x86_64/multiarch/strcat.S: New file.
41101 * sysdeps/x86_64/multiarch/strncat.S: New file.
41102 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41103 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41104 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41105 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41107 (USE_AS_STRCAT): Define.
41108 Add strcat and strncat support.
41109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41110 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41111 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41112 * string/strncat.c: Update.
41113 (USE_AS_STRNCAT): Define.
41114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41115 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41116 and i7.
41117 * sysdeps/x86_64/multiarch/init-arch.h
41118 (bit_Prefer_PMINUB_for_stringop): New.
41119 (index_Prefer_PMINUB_for_stringop): Likewise.
41120 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41121 bit_Prefer_PMINUB_for_stringop.
41122
7dc6bd90
UD
411232011-07-19 Ulrich Drepper <drepper@gmail.com>
41124
41125 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41126 buffer64.
41127 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41128 of casting of buffer.
41129 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41130 buffer32 and buffer64.
41131 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41132 writes instead of casting of buffer.
41133 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41134 buffer32.
41135 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41136 casting of buffer.
41137
e0e72284
AS
411382011-07-19 Andreas Schwab <schwab@redhat.com>
41139
41140 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41141
feb1eb0b
UD
411422011-07-19 Ulrich Drepper <drepper@gmail.com>
41143
41144 * nscd/nscd.c (termination_handler): Don't do anything for a database
41145 if it has not yet been initialized.
41146
298711ff
UD
411472011-07-18 Ulrich Drepper <drepper@gmail.com>
41148
41149 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41150
411512011-07-15 Marek Polacek <mpolacek@redhat.com>
41152
41153 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41154
f9d68389
UD
411552011-07-18 Ulrich Drepper <drepper@gmail.com>
41156
41157 * po/nl.po: Update from translation team.
41158 * po/sv.po: Likewise.
41159
db290cf5
RM
411602011-07-16 Roland McGrath <roland@hack.frob.com>
41161
41162 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41163 now disallowed by GCC.
5c550700 41164
fd5e21c7
RM
41165 * configure.in (use-default-link): Default to yes if a test -shared
41166 link meets our qualifications.
41167 * configure: Regenerated.
41168
5c550700
RM
41169 * config.make.in (output-format): New variable.
41170 * configure.in: Check for ld --print-output-format support.
41171 * configure: Regenerated.
41172 * Makerules ($(common-objpfx)format.lds)
41173 [$(output-format) != unknown]: Just use $(output-format),
41174 instead of the linker-script munging.
41175
9fa2c032
RM
411762011-07-14 Roland McGrath <roland@hack.frob.com>
41177
a6928d51
RM
41178 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41179 of $(common-objpfx)shlib.lds.
41180 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41181
661607b3
RM
41182 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41183 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41184
9fa2c032
RM
41185 * configure.in (-z relro check): Adjust test code to add a large
41186 writable data section after it.
41187 * configure: Regenerated.
41188
defe9061
RM
411892011-07-11 Roland McGrath <roland@hack.frob.com>
41190
41191 * configure.in (-z relro check): Fix test code to make the variable
41192 truly const.
41193 * configure: Regenerated.
41194
319b9ad4
UD
411952011-07-11 Ulrich Drepper <drepper@gmail.com>
41196
41197 * nscd/nscd.h (struct traced_file): Define.
41198 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41199 elements. Add traced_files.
41200 (inotify_fd): Declare.
41201 (register_traced_file): Declare.
41202 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41203 (inotify_fd): Export.
41204 (resolv_conf_descr): Remove.
41205 (nscd_init): Move inotify descriptor creation to main.
41206 Don't register files for notification here.
41207 (register_traced_file): New function.
41208 (invalidate_cache): Don't use reset_res to determine whether to call
41209 res_init, go through the list of registered files.
41210 (main_loop_poll): The inotify descriptors are now stored in the
41211 structures for the traced files.
41212 (main_loop_epoll): Likewise
41213 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41214 to __nss_disable_nscd.
41215 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41216 for a database anymore. Check the records for all the registered
41217 files instead.
41218 * nss/Makefile (libnss_files-routines): Add files-init.
41219 (libnss_db-routines): Add db-init.
41220 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41221 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41222 * nss/nss_db/db-init.c: New file.
41223 * nss/nss_files/files-init.c: New file.
41224 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41225 __nss_lookup_function.
41226 (__nss_lookup_function): Call nss_load_library.
41227 (nss_load_all_libraries): New function.
41228 (__nss_disable_nscd): Take parameter with callback function for files
41229 to register. Set is_nscd. Load all the DSOs for the NSS modules
41230 used for the cached services.
41231 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41232 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41233 options for features to all the files in nscd.
41234
41235 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41236
23bee3e8
RM
412372011-07-10 Roland McGrath <roland@hack.frob.com>
41238
41239 * csu/elf-init.c (__libc_csu_init): Comment typo.
41240
46a5b7f0
UD
412412011-07-09 Ulrich Drepper <drepper@gmail.com>
41242
41243 * po/pl.po: Update from translation team.
41244 * po/ja.po: Likewise.
41245 * po/ru.po: Likewise.
41246 * po/ko.po: Likewise.
41247 * po/fr.po: Likewise.
41248
d30cf5bb
RM
412492011-07-09 Roland McGrath <roland@hack.frob.com>
41250
113ddea4
RM
41251 * configure.in (.ctors/.dtors header and trailer check):
41252 Use an empirical test on a built program.
41253 * configure: Regenerated.
41254
574920b4
RM
41255 * configure.in (-z relro check): Use an empirical test on a built DSO.
41256 Detect, but do not require, on ia64.
41257 * configure: Regenerated.
41258
d30cf5bb
RM
41259 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41260 Update tests that use readelf to use $READELF instead.
41261 * configure: Regenerated.
41262
8538fdb3
UD
412632011-07-08 Ulrich Drepper <drepper@gmail.com>
41264
41265 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41266 if the result is not used.
41267
04d08991
AJ
412682011-07-05 Andreas Jaeger <aj@suse.de>
41269
41270 [BZ#9696]
41271 * stdlib/tst-strtod.c: Add testcase.
41272
de283087
AD
412732011-07-07 Ulrich Drepper <drepper@gmail.com>
41274
4e5f31c8 41275 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41276 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41277 The latter has a higher limit. Take additional parameter to pass to
41278 the new function.
41279 (__pathconf): Pass file to __statfs_link_max.
41280 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41281 __statfs_link_max.
41282 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41283 __statfs_link_max.
41284
de283087
AD
41285 [BZ #12868]
41286 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41287 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41288 Handle Lustre.
41289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41290 (__statfs_filesize_max): Likewise.
41291 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41292
c75fa153
AJ
412932011-07-05 Andreas Jaeger <aj@suse.de>
41294
41295 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41296
1a544854
UD
412972011-07-06 Marek Polacek <mpolacek@redhat.com>
41298
41299 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41300 `status' variable.
41301 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41302 Likewise.
41303
6f0eec67
UD
413042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41305
41306 * Makefile (strop-tests): Add strncat.
41307 * string/test-strncat.c: New file.
41308
aae30307
UD
413092011-06-30 Marek Polacek <mpolacek@redhat.com>
41310
41311 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41312
c0cfb5eb
UD
413132011-06-21 Andreas Jaeger <aj@suse.de>
41314
41315 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41316 Copy rule from iconvdata/Makefile.
41317
01636b21
UD
413182011-07-06 Ulrich Drepper <drepper@gmail.com>
41319
41320 [BZ #12922]
41321 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41322 but no long options are defined, just return 'W'.
41323
9895c8bc
UD
413242011-06-22 Marek Polacek <mpolacek@redhat.com>
41325
41326 [BZ #9696]
41327 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41328
5d4cf042
UD
413292011-07-06 Ulrich Drepper <drepper@gmail.com>
41330
41331 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41332 netgroups to read.
960e5535 41333 (innetgr): Likewise.
5d4cf042 41334
751eb97e
RM
413352011-07-05 Roland McGrath <roland@hack.frob.com>
41336
41337 * config.make.in (install_root): Default to $(DESTDIR).
41338
f15f1e45
UD
413392011-07-05 Ulrich Drepper <drepper@gmail.com>
41340
41341 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41342
4e34ac6a
RM
413432011-07-02 Roland McGrath <roland@hack.frob.com>
41344
5e9b6af4
RM
41345 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41346
84f9ea0f
RM
41347 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41348 containing directory rather than embedding absolute directory names.
41349
ea5ee9f7
RM
41350 * scripts/check-local-headers.sh: Rewritten using awk.
41351 Match by word, not by line. Print error messages for matches.
41352 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41353
1b74661a
RM
41354 * Makerules [shlib-lds-flags empty]:
41355 ($(common-objpfx)libc_pic.opts): New target.
41356 ($(common-objpfx)libc_pic.os.clean): New target.
41357 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41358
41359 * config.make.in (OBJCOPY): New variable.
41360 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41361 * configure: Regenerated.
41362
f781ef40
RM
41363 * config.make.in (use-default-link): New variable.
41364 * configure.in (use_default_link): Grok --with-default-link to set it.
41365 * configure: Regenerated.
41366 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41367 (shlib-lds, shlib-lds-flags): Define to empty.
41368
2d4fa81e
RM
41369 * Makerules (shlib-lds): New variable.
41370 (shlib-lds-flags): New variable.
41371 (build-shlib, build-moduile, build-module-asneeded): Use it.
41372 ($(common-objpfx)libc.so): Use $(shlib-lds).
41373 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41374 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41375
31fffa6b
RM
41376 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41377 DT_FLAGS/DT_FLAGS_1 with zero flags.
41378
4e34ac6a
RM
41379 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41380 linker script munging.
41381
fcfc776b
UD
413822011-07-02 Ulrich Drepper <drepper@gmail.com>
41383
41384 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41385 as 128-bit value.
41386 * crypt/sha512.c (sha512_process_block): Perform total addition using
41387 128-bit if possible.
41388 (__sha512_finish_ctx): Likewise.
41389 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41390 as 64-bit value.
41391 * crypt/sha256.c (SWAP64): Define.
41392 (sha256_process_block): Perform total addition using 64-bit if
41393 possible.
41394 (__sha256_finish_ctx): Likewise.
41395
99231d9a
UD
413962011-07-01 Ulrich Drepper <drepper@gmail.com>
41397
41398 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41400 * nscd/hstcache.c (cache_addhst): Likewise.
41401 * nscd/grpcache.c (cache_addgr): Likewise.
41402 * nscd/aicache.c (addhstaiX): Likewise
41403 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41404
445b4a53
TK
414052011-07-01 Thorsten Kukuk <kukuk@suse.de>
41406
41407 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41409 * nscd/hstcache.c (cache_addhst): Likewise.
41410 * nscd/grpcache.c (cache_addgr): Likewise.
41411 * nscd/aicache.c (addhstaiX): Likewise
41412
6d4d8e8e
AS
414132011-07-01 Andreas Schwab <schwab@redhat.com>
41414
41415 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41416 domain only when needed.
41417
89f654c5
AS
414182011-06-30 Andreas Schwab <schwab@redhat.com>
41419
41420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41421 is always restored.
41422
cf3b23ff
UD
414232011-06-29 Ulrich Drepper <drepper@gmail.com>
41424
41425 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41426 are re-adding the entry.
41427 * nscd/servicescache.c (cache_addserv): Likewise.
41428
751626f9
AJ
414292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41430
41431 * sysdeps/generic/dl-irel.h: fix protection against multiple
41432 inclusions.
41433 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41434
9113ea1f
UD
414352011-06-28 Ulrich Drepper <drepper@gmail.com>
41436
5c0b8d90
UD
41437 [BZ #12935]
41438 * malloc/memusage.sh: Fix quoting in message.
41439 * debug/xtrace.sh: Likewise.
41440
9113ea1f
UD
41441 * configure.in: Remove support for --experimental-malloc option, make
41442 it the default.
41443 * config.make.in: Likewise.
41444 * malloc/Makefile: Likewise.
41445
a4172181
AS
414462011-06-27 Andreas Schwab <schwab@redhat.com>
41447
41448 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41449 two-byte characters.
41450
78a7eee7
RM
414512011-06-27 Roland McGrath <roland@hack.frob.com>
41452
62bede13
RM
41453 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41454 AC_CACHE_CHECK invocation.
41455 * configure: Regenerated.
41456
78a7eee7
RM
41457 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41458
5ce33a62
UD
414592011-06-27 Ulrich Drepper <drepper@gmail.com>
41460
034807a9
UD
41461 [BZ #12350]
41462 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41463 bit from old_res_options.
41464
4902da17
UD
41465 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41466
5ce33a62
UD
41467 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41468 value type for setfct.
41469
c2344f56
L
414702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41471
41472 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41473 __gettimeofday instead of gettimeofday.
41474
68468076
UD
414752011-06-26 Ulrich Drepper <drepper@gmail.com>
41476
41477 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41478
acb0d739
L
414792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41480
41481 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41482
41483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41484 info.
41485
8912479f
L
414862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41487
41488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41489 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41490 strcpy-sse2-unaligned strncpy-sse2-unaligned
41491 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41492 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41493 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41494 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41495 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41496 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41498 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41499 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41500 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41501 (STRCPY): Support SSE2 and SSSE3 versions.
41502
d5495a11
UD
415032011-06-24 Ulrich Drepper <drepper@gmail.com>
41504
41505 [BZ #12874]
41506 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41507 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41508 kernels which artificially limit size of requests.
41509
0b1cbaae
L
415102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41511
41512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41513 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41514 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41515 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41516 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41517 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41518 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41519 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41522 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41523 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41524 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41525 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41526 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41528 Enable unaligned load optimization for Intel Core i3, i5 and i7
41529 processors.
41530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41531 Define.
41532 (index_Fast_Unaligned_Load): Define.
41533 (HAS_FAST_UNALIGNED_LOAD): Define.
41534
07f494a0
MP
415352011-06-23 Marek Polacek <mpolacek@redhat.com>
41536
41537 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41538
fa3fc0fe
UD
415392011-06-22 Ulrich Drepper <drepper@gmail.com>
41540
41541 [BZ #12907]
41542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41543 until it is clear that the information is realy needed.
41544 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41545
e12df166
AS
415462011-06-22 Andreas Schwab <schwab@redhat.com>
41547
41548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41549
852eb34d
UD
415502011-06-22 Ulrich Drepper <drepper@gmail.com>
41551
84e2a551
UD
41552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41553 /sys/devices/system/cpu/online if it is usable.
41554
852eb34d
UD
41555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41556 reading the information from the /proc filesystem to once a second.
41557
6e502e19
UD
415582011-06-21 Andreas Jaeger <aj@suse.de>
41559
41560 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41561 NULL after inclusion of kernel headers.
41562
75d39ff2
UD
415632011-06-21 Ulrich Drepper <drepper@gmail.com>
41564
51f9aa6a
UD
41565 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41566 calls to internal_setent.
41567
c0244a9d
UD
41568 [BZ #12885]
41569 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41570 addresses using gethostbyname4_r ignore IPv4 addresses.
41571
c5e3c2ae
UD
41572 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41573 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41574
75d39ff2
UD
41575 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41576
42675c6f
DM
415772011-06-20 David S. Miller <davem@davemloft.net>
41578
41579 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41580 inclusions.
41581 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41582
41583 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41584 (elf_irel): Use it.
41585 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41586 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41587 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41588 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41589 * sysdeps/x86_64/dl-irel.h: Likewise.
41590
41591 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41592 * elf/dl-sym.c: Likewise.
41593
57912a71
UD
415942011-06-15 Ulrich Drepper <drepper@gmail.com>
41595
41596 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41597 need to dereference resplen2.
41598
ee22793d
AS
415992011-06-14 Andreas Schwab <schwab@redhat.com>
41600
41601 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41602
a9e836b0
UD
416032011-06-15 Ulrich Drepper <drepper@gmail.com>
41604
77fb9117
UD
41605 * Makeconfig: Define vardbdir and inst_vardbdir.
41606 * nss/Makefile: Add rules to install db-Makefile.
41607
40c1b22c
UD
41608 * nss/nss_db/db-XXX.c: Cleanup.
41609
9f2da732
UD
41610 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41611 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41612 GLIBC_PRIVATE.
41613 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41614 * nss/makedb.c: Implement -g option to specify that value strings
41615 are generated and should not be added to table iterated over for
41616 get*ent calls.
41617 * nss/nss_db/db-initgroups.c: New file.
41618
82e9a1f7
UD
41619 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41620 interface.
41621
c41af17e
UD
41622 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41623 (internal_getgrouplist): Adjust to name change.
41624 Update use_initgroups_entry if this is not the first call.
41625 * nss/databases.def: Add initgroups entry.
41626
a9e836b0
UD
41627 * nss/makedb.c (compute_tables): Check result of multiple hash table
41628 sizes to minimize maximum chain length.
41629
2666d441
UD
416302011-06-14 Ulrich Drepper <drepper@gmail.com>
41631
41632 * Versions.def: Add entry for libnss_db.
41633 * shlib-versions: Likewise.
41634 * nss/Makefile: Add rules to build libnss_db.
41635 * nss/Versions: Add libnss_db information. Organize libnss_files
41636 entries better.
41637 * nss/db-Makefile: Add gshadow support. Change rules for the new
41638 makedb progra. Some minor improvements to generate smaller files.
41639 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41640 here from...
41641 * nss/makedb.c: ...here.
41642 Improve database format to be smaller and require less memory at
41643 runtime.
41644 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41645 db anymore.
41646 * nss/nss_db/db-netgrp.c: Likewise.
41647 * nss/nss_db/db-open.c: Likewise.
41648 * nss/nss_files/flies-XXX.x: Adjust comments.
41649 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41650 * nss/nss_files/files-grp.c: Likewise.
41651 * nss/nss_files/files-hosts.c: Likewise.
41652 * nss/nss_files/files-network.c: Likewise.
41653 * nss/nss_files/files-proto.c: Likewise.
41654 * nss/nss_files/files-pwd.c: Likewise.
41655 * nss/nss_files/files-rpc.c: Likewise.
41656 * nss/nss_files/files-service.c: Likewise.
41657 * nss/nss_files/files-sgrp.c: Likewise.
41658 * nss/nss_files/files-spwd.c: Likewise.
41659 * nss/nss_db/db-alias.c: Removed.
41660 * nss/nss_db/dummy-db.h: Removed.
41661
9ee76b5a
UD
416622011-06-02 Ulrich Drepper <drepper@gmail.com>
41663
41664 * nss/makedb.c: Rewritten to not use database library.
41665 * nss/Makefile: Update to build new makedb program.
41666
c71ca1f8
AJ
416672011-06-14 Andreas Jaeger <aj@suse.de>
41668
41669 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41670 memset declaration.
41671
3154bfb8
UD
416722011-06-10 Andreas Schwab <schwab@redhat.com>
41673
41674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41675 tmpbuf.
41676
b350afab
RM
416772011-06-10 Roland McGrath <roland@hack.frob.com>
41678
decd4e50
RM
41679 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41680 * elf/Makefile ($(objpfx)ld.so): Likewise.
41681
5615eaf2
RM
41682 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41683 Don't list ld.so twice in dependencies.
41684
41685 * posix/bug-regex31.c: Include <stdlib.h>.
41686
41687 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41688
41689 * nis/nss_compat/compat-spwd.c
41690 (getspent_next_nss_netgr): Remove unused variable.
41691 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41692
41693 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41694 nonmembers" output to use the right array.
41695
41696 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41697
41698 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41699
41700 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41701 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41702 * catgets/gencat.c (read_input_file): Likewise.
41703 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41704
41705 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41706 variable definition inside #if's controlling its use.
41707
41708 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41709
41710 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41711
41712 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41713
41714 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41715 unreachable code.
41716
41717 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41718
b68e08db
RM
41719 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41720 * configure: Regenerated.
41721
b350afab
RM
41722 * Makerules: Revert last change.
41723 * elf/Makefile: Likewise.
41724
28368601
RM
417252011-06-09 Roland McGrath <roland@hack.frob.com>
41726
41727 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41728 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41729 (reloc-link): Likewise.
41730
11988f8f
UD
417312011-06-09 Ulrich Drepper <drepper@gmail.com>
41732
41733 * elf/Makefile: Add rules to build pldd.
41734 * elf/pldd.c: New file.
41735 * elf/pldd-xx.c: New file.
41736
e80fab37
UD
417372011-06-07 Ulrich Drepper <drepper@gmail.com>
41738
41739 * version.h: Update for 2.15 development version.
41740
9b849836
DM
417412011-06-07 David S. Miller <davem@davemloft.net>
41742
41743 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41744 ifuncs.
41745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41746 elf_machine_lazy_rel): Likewise.
41747 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41749 elf_machine_lazy_rel): Likewise.
41750 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41751 dl_hwcap via passed in argument.
41752 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41753 Likewise.
41754
5a31b283
AK
417552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41756
41757 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41758
069e52f8
RM
417592011-06-06 Roland McGrath <roland@hack.frob.com>
41760
41761 [BZ #12849]
41762 * manual/fdl-1.1.texi: New file, verbatim from:
41763 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41764 * manual/lgpl-2.1.texi: New file, verbatim from:
41765 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41766 * manual/Makefile (licenses): New variable, list those new file names.
41767 (texis): Use it.
41768 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41769
41770 * manual/fdl.texi: File removed.
41771 * manual/lesser.texi: File removed.
41772 * manual/libc.texinfo (Copying, Documentation License):
41773 Use new @include file names, put @appendix directive before @include.
41774
f16846a5
JJ
417752011-06-04 Jakub Jelinek <jakub@redhat.com>
41776
41777 [BZ #12841]
41778 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41779 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41780 (mq_open): Add __NTH.
41781
3d29045b
L
417822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41783
41784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41785 Assume Intel Core i3/i5/i7 processor if AVX is available.
41786
8c297311
UD
417872011-05-31 Ulrich Drepper <drepper@gmail.com>
41788
41789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41790 typo.
41791
c8fc0c91
UD
417922011-05-31 Andreas Schwab <schwab@redhat.com>
41793
41794 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41795 memory. Use alloca_account. Fix memory leak when retrying.
41796
5b27a807
UD
417972011-05-31 Ulrich Drepper <drepper@gmail.com>
41798
356f8bc6
UD
41799 * version.h (RELEASE): Bump for 2.14 release.
41800 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41801
5b27a807
UD
41802 * config.make.in (RANLIB): Remove entry.
41803
01f16ab0
UD
418042011-05-30 Ulrich Drepper <drepper@gmail.com>
41805
41fce8bd
UD
41806 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41807 (libc.pot): Work around missing support for .ksh extension in xgettext.
41808
4769ae77
UD
41809 [BZ #12684]
41810 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41811 if both request failed.
41812 (send_dg): In case of server errors clear resplen or *resplen2.
41813
6b1e7d19
UD
41814 [BZ #12454]
41815 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41816 when there are multiple maps.
41817 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41818 (_dl_fini): Remove test here.
41819
01f16ab0
UD
41820 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41821
b1ebd700
UD
418222011-05-29 Ulrich Drepper <drepper@gmail.com>
41823
7ae22829
UD
41824 [BZ #12350]
41825 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41826 bit from old_res_options.
41827 (gaih_inet): Likewise.
41828
553149f6 41829 [BZ #11099]
18a84741 41830 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41831 as signed.
41832
652ffab1
UD
41833 * resolv/res_init.c (res_setoptions): Make the code more compact.
41834
16985fd0
UD
41835 [BZ #11558]
41836 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41837 set RES_USEVC.
41838
0464f746
UD
41839 [BZ #11634]
41840 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41841
7d17596c
UD
41842 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41843
cf6bbbd7
UD
41844 [BZ #11781]
41845 * malloc/malloc.h: Declare malloc hook variables as volatile.
41846
13f1ab36
UD
41847 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41848 in last patch.
41849
b1ebd700
UD
41850 [BZ #11799]
41851 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41852 raise in the comment.
80e2212d
UD
41853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41855 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41856
ce67228d
UD
418572011-05-28 Ulrich Drepper <drepper@gmail.com>
41858
8887a920
UD
41859 [BZ #12811]
41860 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41861 grow the buffers more if it already has to be sufficient.
41862 (build_wcs_upper_buffer): Likewise.
41863 * posix/regexec.c (check_matching): Likewise.
41864 (clean_state_log_if_needed): Likewise.
41865 (extend_buffers): Don't enlarge buffers beyond size of the input
41866 buffer.
41867 Patches mostly by Emil Wojak <emil@wojak.eu>.
41868 * posix/bug-regex32.c: New file.
41869 * posix/Makefile (tests): Add bug-regex32.
41870
4f031072
UD
41871 * locale/findlocale.c (_nl_find_locale): Return right away if
41872 _nl_explode_name failed.
41873 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41874
d0478f0c
UD
41875 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41876
de81b246
UD
41877 * debug/xtrace.sh: Unify messages.
41878 * malloc/memusage.sh: Likewise.
41879
c738465a
UD
41880 [BZ #12813]
41881 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41882 time symbol from vDSO. Substitute with vsyscall if not available.
41883 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41884 __vdso_time.
41885
f1f929d7
UD
41886 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41887 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41888 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41889 Add sendmmsg and internal_sendmmsg.
41890 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41891 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41892 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41893
ce67228d
UD
41894 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41895 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41897
e57420c6
UD
418982011-05-27 Ulrich Drepper <drepper@gmail.com>
41899
a8509ca5
UD
41900 [BZ #12813]
41901 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41902 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41903 available.
41904 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41905 __vdso_getcpu.
41906
e57420c6
UD
41907 [BZ #12814]
41908 * iconvdata/Makefile (tests): Add bug-iconv9.
41909 * iconvdata/bug-iconv9.c: New file.
41910
4d07db15
AS
419112011-05-27 Andreas Schwab <schwab@redhat.com>
41912
41913 [BZ #12814]
41914 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41915
ea486f69
JJ
419162011-05-25 Jakub Jelinek <jakub@redhat.com>
41917
41918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41919 (struct user_regs_struct): Change intcs field back to cs.
41920
6f038433
UD
419212011-05-25 Ulrich Drepper <drepper@gmail.com>
41922
41923 * po/ja.po: Update from translation team.
41924
67f86a25
UD
419252011-05-23 Ulrich Drepper <drepper@gmail.com>
41926
41927 [BZ #12795]
41928 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41929 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41930
def7fbd6
AS
419312011-05-20 Andreas Schwab <schwab@redhat.com>
41932
41933 * stdlib/longlong.h: Update from GCC.
41934
f50ef8f1
AS
419352011-05-23 Andreas Schwab <schwab@redhat.com>
41936
41937 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41938 parameter name.
41939 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41940 Add parameter name.
41941 (__sysconf): Pass it down.
41942
de7ce8f1
UD
419432011-05-22 Ulrich Drepper <drepper@gmail.com>
41944
f2962a71
UD
41945 [BZ #12671]
41946 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41947 some situations.
41948 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41949 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41950 add in in __libc_use_alloca calls. Adjust callers.
41951 (glob): Use malloc in some situations.
41952
de7ce8f1
UD
41953 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41954 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41955 pltexit.
41956
aec84f53
UD
419572011-05-21 Ulrich Drepper <drepper@gmail.com>
41958
05bb4a68
UD
41959 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41960 and CLOCK_BOOTTIME_ALARM.
41961
7ea72f99
UD
41962 [BZ #12782]
41963 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41964 is returned.
41965
7e4afad5
UD
41966 * string/_strerror.c (__strerror_r): Print negative errors as signed
41967 numbers.
41968
8e211fec
UD
41969 [BZ #12777]
41970 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41971 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41972 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41973
f7d82dc9
UD
41974 * configure.in: Fix typo in redirection and correct removal of test
41975 files in two cases.
41976
cc9e536d
UD
41977 [BZ #12788]
41978 * locale/setlocale.c (new_composite_name): Fix test to check for
41979 identical name of all categories.
41980
aec84f53
UD
41981 [BZ #12792]
41982 * libio/filedoalloc.c (local_isatty): New function.
41983 (_IO_file_doallocate): Use local_isatty.
41984 * stdio-common/perror.c (perror): In case a new stream is used
41985 forward the stream error.
41986 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41987 error flag.
41988
78e64fdc
RT
419892011-05-20 Ulrich Drepper <drepper@gmail.com>
41990
34a9094f
UD
41991 [BZ #11869]
41992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41993 alloca.
41994 * include/alloca.h (extend_alloca_account): Define.
41995
78e64fdc
RT
41996 [BZ #11857]
41997 * posix/regex.h: Fix comments with documentation of user-accessible
41998 fields after compilation and describe correct free'ing of pattern
41999 after re_compile_pattern.
42000 Patch by Reuben Thomas <rrt@sc3d.org>.
42001
457bddfc
RA
420022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42003
42004 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42005 and -mno-altivec to prevent the compiler from using Altivec and/or
42006 VSX instructions when the corresponding registers are not available.
42007
a4527b51
AS
420082011-05-19 Andreas Schwab <schwab@redhat.com>
42009
42010 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42011
ed690b2f
UD
420122011-05-19 Ulrich Drepper <drepper@gmail.com>
42013
42014 * libio/freopen.c (freopen): Use __dup2, not dup2.
42015 * libio/freopen64.c (freopen64): Likewise.
42016
8db73634
L
420172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42018
42019 [BZ #12775]
42020 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42021 * math/Makefile (tests): Add test-powl.
42022 (CFLAGS-test-powl.c): Define.
42023 * math/test-powl.c: New file.
42024
0a197a9d
L
420252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42026
42027 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42028
ee30c380
UD
420292011-05-17 Ulrich Drepper <drepper@gmail.com>
42030
42031 [BZ #11837]
42032 * iconvdata/gb18030.c: Update to GB18020-2005.
42033
6ce75379
UD
420342011-05-16 Ulrich Drepper <drepper@gmail.com>
42035
a4b89fd8
AR
42036 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42037 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42038 Patch by Aharon Robbins <arnold@skeeve.com>.
42039
ea389b12
UD
42040 [BZ #11892]
42041 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42042 on the stack.
42043
68a3f91f
UD
42044 [BZ #11895]
42045 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42046 through underflows.
42047
15cc7dd1
UD
42048 [BZ #12766]
42049 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42050 point to strings before performing equality test for error_one_per_line
42051 mode.
42052
f3799213
UD
42053 [BZ #11697]
42054 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42055
d79a9c94
UD
42056 [BZ #11820]
42057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42058 (struct user_fpregs_struct): Avoid __uint*_t types.
42059
56e5eb46
UD
42060 [BZ #6420]
42061 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42062 symbol info. Use it instead of calling _dl_addr locally.
42063 (lock_and_info): New function.
42064 (tr_freehook): Call lock_and_info and pass symbol info as additional
42065 parameter to tr_where.
42066 (tr_mallochook): Likewise.
42067 (tr_reallochook): Likewise.
42068 (tr_memalignhook): Likewise.
42069
6ce75379
UD
42070 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42071 used and couldn't be at all thread-safe.
42072
f8a3b5bf
UD
420732011-05-15 Ulrich Drepper <drepper@gmail.com>
42074
94b7cc37
UD
42075 * libio/freopen.c (freopen): Don't close old file descriptor
42076 before the new one is opened. Instead dup the new file descriptor
42077 to the old one after the new stream is created.
42078 * libio/freopen64.c (freopen64): Likewise.
42079 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42080 * libio/fileops.c (_IO_new_file_close_it): Handle new
42081 _IO_FLAGS2_NOCLOSE flag.
42082 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42083 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42084 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42085 _IO_FLAGS2_NOCLOSE flag.
42086 * include/unistd.h: Add hidden_proto for dup3.
42087 Define __have_dup3.
42088 * io/dup3.c: Define hidden symbol.
42089 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42090
bd25564e
UD
42091 [BZ #7101]
42092 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42093 when an incomplete long option is used.
42094 * posix/tst-getopt_long1.c: New file.
42095 * posix/Makefile (tests): Add tst-getopt_long1.
42096
c84cfef4
UD
42097 [BZ #10138]
42098 * scripts/config.guess: Update from autoconf-2.68.
42099 * scripts/config.sub: Likewise.
42100
3b85df27
UD
42101 [BZ #10157]
42102 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42103 tests into ...
42104 (has_cpuclock): ...this. New function.
42105 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42106 macro here based on has_cpuclock code.
42107
15a856b1
UD
42108 [BZ #10149]
42109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42110 First byte (not low byte) is now always NUL.
42111 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42112
05f399e6
UD
42113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42114 Use non-cancelable interfaces.
42115
10a52685 42116 [BZ #9809]
94ecc67d
UD
42117 * locale/iso-639.def: Add entry for Sorani.
42118
f8a3b5bf
UD
42119 [BZ #11901]
42120 * include/stdlib.h: Move include protection to the right place.
42121 Define abort_msg_s. Declare __abort_msg with it.
42122 * stdlib/abort.c (__abort_msg): Adjust type.
42123 * assert/assert.c (__assert_fail_base): New function. Majority
42124 of code from __assert_fail. Allocate memory for __abort_msg with
42125 mmap.
42126 (__assert_fail): Now call __assert_fail_base.
42127 * assert/assert-perr.c: Remove bulk of implementation. Use
42128 __assert_fail_base.
42129 * include/assert.hL Declare __assert_fail_base.
42130 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42131 mmap.
42132 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42133
1af4e298
UD
421342011-05-14 Ulrich Drepper <drepper@gmail.com>
42135
f8a3b5bf 42136 [BZ #11952]
d26dfc60
MG
42137 [BZ #12453]
42138 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42139 until all modules are registered in the DTV.
42140 * elf/Makefile: Add rules to build and run tst-tls19.
42141 * elf/tst-tls19.c: New file.
42142 * elf/tst-tls19mod1.c: New file.
42143 * elf/tst-tls19mod2.c: New file.
42144 * elf/tst-tls19mod3.c: New file.
42145 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42146
2fc54d6f
UD
42147 [BZ #12083]
42148 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42149 correctly.
42150
98d76b46
UD
42151 [BZ #12601]
42152 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42153 two-byte sequence errors.
42154 * iconvdata/Makefile (tests): Add bug-iconv8.
42155 * iconvdata/bug-iconv8.c: New file.
42156
da3c19ef
UD
42157 [BZ #12626]
42158 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42159 buf2 definition.
42160
ca408c15
UD
42161 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42162
d6f67f7d
UD
42163 [BZ #12432]
42164 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42165 (dummy_getcfa): New function.
42166 (init): Get _Unwind_GetCFA address, use dummy if not found.
42167 (backtrace_helper): In recursion check, also check whether CFA changes.
42168 (__backtrace): Completely initialize arg.
42169
1af4e298 42170 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42171 storing incomplete byte sequence in state object. Avoid testing for
42172 guaranteed too small input if we know there is enough data available.
1af4e298 42173
da62f81b
AS
421742011-05-11 Andreas Schwab <schwab@redhat.com>
42175
42176 * Makeconfig (+link-pie): Indent.
42177 * Rules (binaries-pie): Define if $(have-fpie) and
42178 $(build-shared).
42179 (binaries-shared): Also filter out $(binaries-pie).
42180 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42181 * nscd/Makefile (others-pie): Add nscd.
42182 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42183 ($(objpfx)nscd): Remove command override.
42184 * login/Makefile (others-pie): Add pt_chown.
42185 ($(objpfx)pt_chown): Remove command override.
42186 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42187 remove command overrides.
42188
fcabc0f8
UD
421892011-05-13 Ulrich Drepper <drepper@gmail.com>
42190
20030ae6
UD
42191 * libio/tst_putwc.c: Fix error messages.
42192
fcabc0f8
UD
42193 [BZ #12724]
42194 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42195 currently writing and seek to current position when not.
42196 * libio/Makefile (tests): Add bug-fclose1.
42197 * libio/bug-fclose1.c: New file.
42198
320a5dc0
PB
421992011-05-12 Ulrich Drepper <drepper@gmail.com>
42200
42201 [BZ #12511]
42202 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42203 don't set DF_1_NODELETE here.
42204 (do_lookup_x): When entering new entry test for copy relocation
42205 and if necessary set DF_1_NODELETE flag.
42206 * elf/tst-unique4.cc: New file.
42207 * elf/tst-unique4.h: New file.
42208 * elf/tst-unique4lib.cc: New file.
42209 * elf/Makefile: Add rules to build and run tst-unique4.
42210 Patch by Piotr Bury <pbury@goahead.com>.
42211
22836f52
UD
422122011-05-11 Ulrich Drepper <drepper@gmail.com>
42213
f574184a
UD
42214 [BZ #12052]
42215 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42216
e1fb097f
UD
42217 [BZ #12625]
42218 * misc/mntent_r.c (addmntent): Flush the stream after the output
42219
22836f52
UD
42220 [BZ #12393]
42221 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42222 (is_trusted_path_normalize): Skip initial colon. Append slash
42223 to empty buffer. Duplicate is_trusted_path code but allow
42224 constructed patch to be prefix.
42225 (is_dst): Allow $ORIGIN followed by /.
42226 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42227 Correct testing of result of is_trusted_path_normalize
42228 (decompose_rpath): Fix warning.
42229
7b3b0b2a
UD
422302011-05-10 Ulrich Drepper <drepper@gmail.com>
42231
42232 [BZ #11257]
42233 * grp/initgroups.c (internal_getgrouplist): When we found the service
42234 list through the initgroups entry in nsswitch.conf do not always
42235 continue on a successful lookup. Don't always use the
eac80ce2 42236 __nss_group_database value if it is set.
7b3b0b2a
UD
42237 * nss/nsswitch.conf (initgroups): Change action for successful db
42238 lookup to continue for compatibility.
42239
2a81eaa5
UD
422402011-05-09 Ulrich Drepper <drepper@gmail.com>
42241
be97a69e
UD
42242 [BZ #11532]
42243 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42244 and CP774 modules.
42245 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42246 and CP774 modules.
42247 * iconvdata/tst-tables.sh: Likewise.
42248 * iconvdata/cp770.c: New file.
42249 * iconvdata/cp771.c: New file.
42250 * iconvdata/cp772.c: New file.
42251 * iconvdata/cp773.c: New file.
42252 * iconvdata/cp774.c: New file.
42253 * iconvdata/testdata/CP770: New file.
42254 * iconvdata/testdata/CP770..UTF8: New file.
42255 * iconvdata/testdata/CP771: New file.
42256 * iconvdata/testdata/CP771..UTF8: New file.
42257 * iconvdata/testdata/CP772: New file.
42258 * iconvdata/testdata/CP772..UTF8: New file.
42259 * iconvdata/testdata/CP773: New file.
42260 * iconvdata/testdata/CP773..UTF8: New file.
42261 * iconvdata/testdata/CP774: New file.
42262 * iconvdata/testdata/CP774..UTF8: New file.
42263
42264 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42265 END CHARMAP line.
42266 * iconvdata/gen-8bit-gap.sh: Likewise.
42267 * iconvdata/gen-8bit.sh: Likewise.
42268
c1e9e399
UD
42269 * locale/iso-639.def: Add ary entry.
42270
24c55fb3 42271 [BZ #11258]
96b4b1b0
UD
42272 * locale/C-translit.h.in: Add U20A1 transliteration.
42273
bdc2f971
KB
42274 [BZ #12178]
42275 * locale/iso-639.def: Add wae entry.
42276 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42277
2952b117
UD
42278 [BZ #12545]
42279 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42280 for n.
42281
2a81eaa5
UD
42282 [BZ #12711]
42283 * locale/C-translit.h.in: Add entry for U20B9.
42284 Patch by pravin.d.s@gmail.com.
42285
28377d1b
UD
422862011-05-08 Ulrich Drepper <drepper@gmail.com>
42287
7fb90fb8
UD
42288 [BZ #12713]
42289 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42290 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42291 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42292 in rtld. Use *stat64.
7fb90fb8 42293 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42294 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42295 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42296 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42297 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42298 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42299 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42300 __fstatat64 macros.
7fb90fb8
UD
42301 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42302 * dirent/rewinddir.c: Add libc_hidden_def.
42303 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42304 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42305
28377d1b
UD
42306 * include/dirent.h (__alloc_dir): Add flags parameter.
42307 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42308 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42309 __alloc_dir.
42310 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42311 from fdopendir if O_CLOEXEC is already set.
42312
66bdbaa4
AM
423132011-03-15 Alan Modra <amodra@gmail.com>
42314
42315 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42316 l_tls_firstbyte_offset non-zero. Save padding offset in
42317 l_tls_firstbyte_offset for later use.
42318 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42319 freeing static tls block.
42320
95721191
JN
423212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42322
42323 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42324 where #ifdef was intended. The intent is to prevent ARG_MAX from
42325 being defined by the kernel headers.
42326
f87dfb1f
UD
423272011-05-07 Ulrich Drepper <drepper@gmail.com>
42328
42329 [BZ #12734]
42330 * resolv/resolv.h: Define RES_NOTLDQUERY.
42331 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42332 no-tld-query and set RES_NOTLDQUERY.
42333 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42334 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42335 modern BIND to search name as TLD unless forbidden.
42336
47c3cd7a
UD
423372011-05-07 Petr Baudis <pasky@suse.cz>
42338 Ulrich Drepper <drepper@gmail.com>
42339
42340 [BZ #12393]
42341 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42342 (is_trusted_path): ...to here.
c1e9ea35 42343 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42344 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42345 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42346
8a35c912
PP
423472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42348
42349 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42350 __BEGIN/__END_DECLS.
42351
acd41f47
UD
423522011-05-06 Ulrich Drepper <drepper@gmail.com>
42353
42354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42355 NSS_STATUS_NOTFOUND if no record was found.
42356
597df647
AS
423572011-05-05 Andreas Schwab <schwab@redhat.com>
42358
42359 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42360 (headers-not-in-tirpc): Remove rpc/netdb.h
42361 * resolv/netdb.h: Revert last change.
42362
b9af1301
PP
423632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42364
42365 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42366 circular dependency between libgcc.a and libc.a.
42367
4e34d5f5
AS
423682011-05-05 Andreas Schwab <schwab@redhat.com>
42369
42370 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42371 * nis/Makefile: Don't install rpcsvc/*.
42372 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42373 instead of <rpc/types.h>.
42374 (MAXHOSTNAMELEN): Define.
42375
00ee369c
AS
423762011-05-03 Andreas Schwab <schwab@redhat.com>
42377
42378 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42379
0b592a30
MB
423802011-04-28 Maciej Babinski <mbabinski@google.com>
42381
42382 [BZ #12714]
42383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42384 gethostbyname4_r when IPv6 results are possible.
42385
6e04cbbe
UD
423862011-05-02 Ulrich Drepper <drepper@gmail.com>
42387
42388 [BZ #12723]
42389 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42390 _PC_PIPE_BUF handling.
42391
e4ecafe0
BH
423922011-04-30 Bruno Haible <bruno@clisp.org>
42393
42394 [BZ #12717]
42395 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42396 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42397 to 'int'.
42398 * inet/getnameinfo.c (getnameinfo): Likewise.
42399
125ee683
UD
424002011-04-29 Ulrich Drepper <drepper@gmail.com>
42401
42402 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42403 to groups setting in database lookup.
42404 * nss/nsswitch.conf: Add initgroups entry.
42405
b722481a
EB
424062011-04-22 Ulrich Drepper <drepper@gmail.com>
42407
42408 [BZ #12685]
42409 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42410 mode string.
42411 Patch by Eric Blake <eblake@redhat.com>.
42412
4df46dbd
L
424132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42414
42415 * sunrpc/Makefile (need-export-routines): Add svc_run.
42416 (routines): Remove svc_run.
42417 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42418 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42419 * sunrpc/svc_run.c (svc_run): Likewise.
42420 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42421
e84142d2
UD
424222011-04-21 Ulrich Drepper <drepper@gmail.com>
42423
42424 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42425 problem in reallocation in last patch.
42426
877175d8
UD
424272011-04-20 Ulrich Drepper <drepper@gmail.com>
42428
42429 * sunrpc/Makefile: Move inclusion of Rules.
42430
ab8eed78
UD
424312011-04-19 Ulrich Drepper <drepper@gmail.com>
42432
42433 * nss/nss_files/files-initgroups.c: New file.
42434 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42435 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42436 _nss_files_initgroups_dyn.
42437
e3d8f584
RS
424382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42439
42440 * elf/elf.h (R_ARM_IRELATIVE): Define.
42441
af190f45
UD
424422011-04-19 Ulrich Drepper <drepper@gmail.com>
42443
42444 * po/ru.po: Update from translation team.
42445
53cf59ef
UD
424462011-04-17 Ulrich Drepper <drepper@gmail.com>
42447
42448 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42449 dependencies.
42450
4c559bcd
MF
424512011-02-06 Mike Frysinger <vapier@gentoo.org>
42452
42453 [BZ #12653]
42454 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42455 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42459
4420675c
AS
424602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42461
42462 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42463 differing bytes.
42464 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42466 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42467
75ea32ab
UD
424682011-04-17 Ulrich Drepper <drepper@gmail.com>
42469
42470 [BZ #12420]
42471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42472 storing it.
42473 * stdlib/bug-getcontext.c: New file.
42474 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42475
27390476
AK
424762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42477
42478 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42479 instructions into .machine "z9-109".
42480 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42481 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42482
10442705
AK
424832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42484
42485 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42486 between environment variables and auxiliary vector.
42487
7b57bfe5
UD
424882011-04-16 Ulrich Drepper <drepper@gmail.com>
42489
42490 * Makefile: Add rules to build linkobj/libc.so.
42491 * include/libc-symbols.h: Define libc_hidden_nolink.
42492 * include/rpc/auth.h: Mark functions which are to be hidden.
42493 * include/rpc/auth_des.h: Likewise.
42494 * include/rpc/auth_unix.h: Likewise.
42495 * include/rpc/clnt.h: Likewise.
42496 * include/rpc/des_crypt.h: Likewise.
42497 * include/rpc/key_prot.h: Likewise.
42498 * include/rpc/pmap_clnt.h: Likewise.
42499 * include/rpc/pmap_prot.h: Likewise.
42500 * include/rpc/pmap_rmt.h: Likewise.
42501 * include/rpc/rpc_msg.h: Likewise.
42502 * include/rpc/svc.h: Likewise.
42503 * include/rpc/svc_auth.h: Likewise.
42504 * include/rpc/xdr.h: Likewise.
42505 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42506 * nss/Makefile: Likewise.
42507 * sunrpc/Makefile: Don't install headers. Build library with normal
42508 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42509 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42510 for the compat linking library. Remove use of INTDEF/INTUSE.
42511 * sunrpc/auth_none.c: Likewise.
42512 * sunrpc/auth_unix.c: Likewise.
42513 * sunrpc/authdes_prot.c: Likewise.
42514 * sunrpc/authuxprot.c: Likewise.
42515 * sunrpc/clnt_gen.c: Likewise.
42516 * sunrpc/clnt_perr.c: Likewise.
42517 * sunrpc/clnt_raw.c: Likewise.
42518 * sunrpc/clnt_simp.c: Likewise.
42519 * sunrpc/clnt_tcp.c: Likewise.
42520 * sunrpc/clnt_udp.c: Likewise.
42521 * sunrpc/clnt_unix.c: Likewise.
42522 * sunrpc/des_crypt.c: Likewise.
42523 * sunrpc/des_soft.c: Likewise.
42524 * sunrpc/get_myaddr.c: Likewise.
42525 * sunrpc/key_call.c: Likewise.
42526 * sunrpc/key_prot.c: Likewise.
42527 * sunrpc/netname.c: Likewise.
42528 * sunrpc/pm_getmaps.c: Likewise.
42529 * sunrpc/pm_getport.c: Likewise.
42530 * sunrpc/pmap_clnt.c: Likewise.
42531 * sunrpc/pmap_prot.c: Likewise.
42532 * sunrpc/pmap_prot2.c: Likewise.
42533 * sunrpc/pmap_rmt.c: Likewise.
42534 * sunrpc/publickey.c: Likewise.
42535 * sunrpc/rpc_cmsg.c: Likewise.
42536 * sunrpc/rpc_common.c: Likewise.
42537 * sunrpc/rpc_dtable.c: Likewise.
42538 * sunrpc/rpc_prot.c: Likewise.
42539 * sunrpc/rpc_thread.c: Likewise.
42540 * sunrpc/rtime.c: Likewise.
42541 * sunrpc/svc.c: Likewise.
42542 * sunrpc/svc_auth.c: Likewise.
42543 * sunrpc/svc_authux.c: Likewise.
42544 * sunrpc/svc_raw.c: Likewise.
42545 * sunrpc/svc_run.c: Likewise.
42546 * sunrpc/svc_simple.c: Likewise.
42547 * sunrpc/svc_tcp.c: Likewise.
42548 * sunrpc/svc_udp.c: Likewise.
42549 * sunrpc/svc_unix.c: Likewise.
42550 * sunrpc/svcauth_des.c: Likewise.
42551 * sunrpc/xcrypt.c: Likewise.
42552 * sunrpc/xdr.c: Likewise.
42553 * sunrpc/xdr_array.c: Likewise.
42554 * sunrpc/xdr_float.c: Likewise.
42555 * sunrpc/xdr_intXX_t.c: Likewise.
42556 * sunrpc/xdr_mem.c: Likewise.
42557 * sunrpc/xdr_rec.c: Likewise.
42558 * sunrpc/xdr_ref.c: Likewise.
42559 * sunrpc/xdr_sizeof.c: Likewise.
42560 * sunrpc/xdr_stdio.c: Likewise.
42561
e6c61494
UD
425622011-04-10 Ulrich Drepper <drepper@gmail.com>
42563
42564 [BZ #12650]
42565 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42566 * sysdeps/ia64/dl-tls.h: Likewise.
42567 * sysdeps/powerpc/dl-tls.h: Likewise.
42568 * sysdeps/s390/dl-tls.h: Likewise.
42569 * sysdeps/sh/dl-tls.h: Likewise.
42570 * sysdeps/sparc/dl-tls.h: Likewise.
42571 * sysdeps/x86_64/dl-tls.h: Likewise.
42572 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42573
34fe483e
AS
425742011-03-14 Andreas Schwab <schwab@redhat.com>
42575
42576 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42577 rpath element also skip the following colon.
42578 (expand_dynamic_string_token): Add is_path parameter and pass
42579 down to DL_DST_REQUIRED and _dl_dst_substitute.
42580 (decompose_rpath): Call expand_dynamic_string_token with
42581 non-zero is_path. Ignore empty rpaths.
42582 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42583 with zero is_path.
42584
f12a32e6
AS
425852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42586
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42588 Make cancelable.
42589
38a7d692
UD
425902011-04-09 Ulrich Drepper <drepper@gmail.com>
42591
42592 [BZ #12655]
42593 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42594 Patch by Filipe David Manana <fdmanana@apache.org>.
42595
e451d22b
AS
425962011-04-07 Andreas Schwab <schwab@redhat.com>
42597
42598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42599 Maintain aligned stack.
42600 (CHECK_RSP): Remove unused macro.
42601
dedc7c7b
UD
426022011-04-03 Ulrich Drepper <drepper@gmail.com>
42603
42604 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42605 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42606
94521213
UD
426072011-04-02 Ulrich Drepper <drepper@gmail.com>
42608
42609 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42610
8cb700c0 42611 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42612
0354e355
L
426132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42614
42615 [BZ #12518]
42616 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42617 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42618 * sysdeps/x86_64/memmove.c: New file.
42619 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42620 (memcpy): Renamed to ...
42621 (__new_memcpy): This.
42622 (memcpy): Provide GLIBC_2_14 memcpy.
42623 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42624 (memcpy): Provide GLIBC_2_2_5 memcpy.
42625
8593482f
UD
426262011-04-01 Ulrich Drepper <drepper@gmail.com>
42627
42628 [BZ #12631]
42629 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42630
81a5726b
AS
426312011-03-30 Andreas Schwab <schwab@redhat.com>
42632
42633 * misc/syncfs.c: New file.
42634 * misc/Makefile (routines): Add syncfs.
42635 * posix/unistd.h: Declare syncfs.
42636 * sysdeps/unix/syscalls.list: Add syncfs.
42637
00e5419f
AS
426382011-04-01 Andreas Schwab <schwab@redhat.com>
42639
42640 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42641 open_by_handle_at.
42642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42643 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42647 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42649
748876bf
UD
426502011-04-01 Ulrich Drepper <drepper@gmail.com>
42651
658e451d
UD
42652 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42653 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42654 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42658 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42659
748876bf
UD
42660 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42661 sync_file_range.c with -fexceptions.
42662 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42663 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42664 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42665 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42666 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42667 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42669 sync_file_range as cancellation point
42670 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42671 now a wrapper around __call_sync_file_range with cancellation handling.
42672 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42673 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42674 function name to __call_sync_file_range.
42675 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42676 Add call_sync_file_range.
748876bf 42677
6e63d5e1
AS
426782011-04-01 Andreas Schwab <schwab@redhat.com>
42679
42680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42681 bits/timex.h.
6e63d5e1 42682
46998f74
UD
426832011-04-01 Ulrich Drepper <drepper@gmail.com>
42684
4c1423ed
UD
42685 * iconv/iconv.h: Fix typo in comment.
42686 * io/fcntl.h: Likewise.
42687 * libio/stdio.h: Likewise.
42688 * posix/spawn.h: Likewise.
42689 * posix/unistd.h: Likewise.
42690 * stdlib/stdlib.h: Likewise.
42691 * time/time.h: Likewise.
42692 * wcsmbs/wchar.h: Likewise.
42693
158648c0
UD
42694 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42695 open_by_handle): Add.
42696 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42697 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42698 Augment a few comments.
42699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42704 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42705 open_by_handle.
42706
46998f74
UD
42707 * io/fcntl.h (AT_EMPTY_PATH): Define.
42708
83fe108b
UD
427092011-03-30 Ulrich Drepper <drepper@gmail.com>
42710
42711 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42712 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42713 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42714 to...
42715 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42716 * Versions.def: Add GLIBC_2.14.
42717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42718 Export.
83fe108b 42719
bb242059
UD
427202011-03-22 Ulrich Drepper <drepper@gmail.com>
42721
42722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42723 round counter.
42724 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42725
c97a1282
L
427262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42727
42728 [BZ #12597]
42729 * string/test-strncmp.c (do_page_test): New function.
42730 (check2): Likewise.
42731 (test_main): Call check2.
42732 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42733
2a115601
UD
427342011-03-20 Ulrich Drepper <drepper@gmail.com>
42735
42736 [BZ #12587]
42737 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42738 Handle cache information in CPU leaf 4.
42739 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42740
8126d904
UD
427412011-03-18 Ulrich Drepper <drepper@gmail.com>
42742
042c49c6 42743 [BZ #12583]
8126d904
UD
42744 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42745 character representation.
42746 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42747
ccfe366e
RA
427482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42749
42750 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42751 END(__isnan) to END(__isnanf) to match function entry point/label
42752 EALIGN(__isnanf,...).
42753
c6e13027
JJ
427542011-03-10 Jakub Jelinek <jakub@redhat.com>
42755
42756 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42757
33f85a3f
UD
427582011-03-10 Ulrich Drepper <drepper@gmail.com>
42759
028478fa
UD
42760 [BZ #12510]
42761 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42762 copy from the symbol referenced in the relocation to initialize the
42763 used variable.
42764 Patch by Piotr Bury <pbury@goahead.com>.
42765 * elf/Makefile: Add rules to build and tst-unique3.
42766 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42767 * elf/tst-unique3.cc: New file.
42768 * elf/tst-unique3.h: New file.
42769 * elf/tst-unique3lib.cc: New file.
42770 * elf/tst-unique3lib2.cc: New file.
42771
33f85a3f
UD
42772 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42773
03592fc7
MF
427742011-03-10 Mike Frysinger <vapier@gentoo.org>
42775
42776 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42777 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42778 to _start.
03592fc7 42779
6a5ee102
UD
427802011-03-06 Ulrich Drepper <drepper@gmail.com>
42781
42782 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42783 to-be-loaded object along a path to loader is ld.so.
42784
7e4ba49c
HJ
427852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42786 Ulrich Drepper <drepper@gmail.com>
42787
42788 * sysdeps/x86_64/memset.S: After aligning destination, code
42789 branches to different locations depending on the value of
42790 misalignment, when multiarch is enabled. Fix this.
42791
427922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42793
42794 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42795 Set _x86_64_preferred_memory_instruction for AMD processsors.
42796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42797 Set bit_Prefer_SSE_for_memop for AMD processors.
42798
13a804de
UD
427992011-03-04 Ulrich Drepper <drepper@gmail.com>
42800
42801 * libio/fmemopen.c (fmemopen): Optimize a bit.
42802
9d25c392
AS
428032011-03-03 Andreas Schwab <schwab@redhat.com>
42804
42805 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42806
a5543c6a
RM
428072011-03-03 Roland McGrath <roland@redhat.com>
42808
42809 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42810
012d35f7
DM
428112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42812
7e4ba49c 42813 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42814 __bzero_ultra1 instead of __memset_ultra1.
42815
4bff6e01
AS
428162011-02-23 Andreas Schwab <schwab@redhat.com>
42817 Ulrich Drepper <drepper@gmail.com>
42818
42819 [BZ #12509]
42820 * include/link.h (struct link_map): Add l_orig_initfini.
42821 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42822 returning unsuccessfully.
42823 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42824 close of a file loaded at startup, restore the original l_initfini
42825 list.
42826 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42827 list, store the pointer.
42828 * elf/Makefile ($(objpfx)noload-mem): New rule.
42829 (noload-ENV): Define.
42830 (tests): Add $(objpfx)noload-mem.
42831 * elf/noload.c: Include <memcheck.h>.
42832 (main): Call mtrace. Close all opened handles.
42833
f2092faf
AS
428342011-02-17 Andreas Schwab <schwab@redhat.com>
42835
42836 [BZ #12454]
42837 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42838 dependencies are missing.
42839
6c8a2e88
ST
428402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42841
f2092faf 42842 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42843 Hurd needs munmap.
42844 * sysdeps/mach/hurd/ifreq.h: New file.
42845
84a42118
PB
428462011-01-27 Petr Baudis <pasky@suse.cz>
42847 Ulrich Drepper <drepper@gmail.com>
42848
071f805e 42849 [BZ 12445]#
84a42118
PB
42850 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42851 to extend_alloca().
42852 * stdio-common/bug23.c: New file.
42853 * stdio-common/Makefile (tests): Add bug23.
42854
e23fe25b
AS
428552010-09-28 Andreas Schwab <schwab@redhat.com>
42856 Ulrich Drepper <drepper@gmail.com>
42857
42858 [BZ #12489]
42859 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42860 before performing relro protection. At old place add assertion
42861 to make sure nothing changed.
42862
d3f02e10
NS
428632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42864 Glauber de Oliveira Costa <glommer@gmail.com>
42865
42866 * elf/elf.h: Add new ARM TLS relocs.
42867
d55fd7a5
RA
428682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42869
42870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42871 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42872 cast from r3.
42873 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42874 'tests' variable.
42875 * sysdeps/wordsize-64/tst-writev.c: New file.
42876
2206397e
RA
428772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42878
42879 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42880 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42881 insns in _dl_start to prevent a TOC reference before relocs are
42882 resolved.
42883
e9433893
UD
428842011-02-15 Ulrich Drepper <drepper@gmail.com>
42885
42886 [BZ #12469]
42887 * Makeconfig: Remove RANLIB definition.
42888 * Makerules: Don't use RANLIB.
42889 * aclocal.m4: Remove ranlib test.
42890 * configure.in: No need to check for ranlib.
42891 * elf/rtld-Rules: Don't use RANLIB.
42892
f75286c6
ST
428932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42894
8e31c82d
ST
42895 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42896 protection macro.
42897 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42898 inclusion protection macro.
42899
f75286c6
ST
42900 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42901 SIGRTMIN and SIGRTMAX and print information in that case only when
42902 SIGRTMIN is defined.
42903
c1d0e639
JJ
429042011-02-11 Jakub Jelinek <jakub@redhat.com>
42905
42906 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42907 arginfo fn returning -1.
42908
42909 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42910 and thousands string is zero terminated.
42911
edf9294e
AS
429122011-02-03 Andreas Schwab <schwab@redhat.com>
42913
42914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42915 sysdeps/unix/sysv/linux/bits/socket.h.
42916
2b7e92df
ST
429172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42918
edf9294e
AS
42919 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42920 (__CPU_COUNT): Remove old macros.
42921 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42922 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42923 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42924 (__sched_cpualloc, __sched_cpufree): Add declarations.
42925
a4c7ea7b
UD
429262011-02-05 Ulrich Drepper <drepper@gmail.com>
42927
42928 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42929 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42930 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42931 (readdhstai): Return value of addhstaiX call.
42932 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42933 (addgrbyX): Return value returned by cache_addgr.
42934 (readdgrbyname): Return value returned by addgrbyX.
42935 (readdgrbygid): Likewise.
42936 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42937 (addpwbyX): Return value returned by cache_addpw.
42938 (readdpwbyname): Return value returned by addhstbyX.
42939 (readdpwbyuid): Likewise.
42940 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42941 (addservbyX): Return value returned by cache_addserv.
42942 (readdservbyname): Return value returned by addservbyX:
42943 (readdservbyport): Likewise.
42944 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42945 (addhstbyX): Return value returned by cache_addhst.
42946 (readdhstbyname): Return value returned by addhstbyX.
42947 (readdhstbyaddr): Likewise.
42948 (readdhstbynamev6): Likewise.
42949 (readdhstbyaddrv6): Likewise.
42950 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42951 (readdinitgroups): Return value returned by addinitgroupsX.
42952 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42953 (prune_cache): Keep track of timeout value of re-added entries.
42954 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42955 * nscd/nscd.h: Adjust prototypes of readd* functions.
42956
a0bf67cc
RM
429572011-02-04 Roland McGrath <roland@redhat.com>
42958
42959 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42960 (nis_stats): Likewise.
42961 * nis/nis_modify.c (nis_modify): Likewise.
42962 * nis/nis_remove.c (nis_remove): Likewise.
42963 * nis/nis_add.c (nis_add): Likewise.
42964
42965 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42966
42967 * posix/fnmatch_loop.c: Add some consts.
42968
42969 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42970
435b95eb
L
429712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 [BZ #12460]
42974 * config.make.in (config-cflags-novzeroupper): Define.
42975 * configure.in: Substitute libc_cv_cc_novzeroupper.
42976 * elf/Makefile (AVX-CFLAGS): Define.
42977 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42978 (CFLAGS-tst-auditmod4a.c): Likewise.
42979 (CFLAGS-tst-auditmod4b.c): Likewise.
42980 (CFLAGS-tst-auditmod6b.c): Likewise.
42981 (CFLAGS-tst-auditmod6c.c): Likewise.
42982 (CFLAGS-tst-auditmod7b.c): Likewise.
42983 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42984
8517b15e
UD
429852011-02-02 Ulrich Drepper <drepper@gmail.com>
42986
42987 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42988 function to the callback.
42989 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42990
10a656fe
AS
429912011-02-02 Andreas Schwab <schwab@redhat.com>
42992
42993 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42994 of errno.
42995
968dad0a
UD
429962011-01-19 Ulrich Drepper <drepper@gmail.com>
42997
9f94d2ea 42998 [BZ #11724]
968dad0a
UD
42999 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43000 of constructors.
43001 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43002 of destructors.
43003 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43004
43005 [BZ #11724]
43006 * elf/Makefile: Add rules to build and run new test.
43007 * elf/tst-initorder.c: New file.
43008 * elf/tst-initorder.exp: New file.
43009 * elf/tst-initordera1.c: New file.
43010 * elf/tst-initordera2.c: New file.
43011 * elf/tst-initordera3.c: New file.
43012 * elf/tst-initordera4.c: New file.
43013 * elf/tst-initorderb1.c: New file.
43014 * elf/tst-initorderb2.c: New file.
43015 * elf/tst-order-a1.c: New file.
43016 * elf/tst-order-a2.c: New file.
43017 * elf/tst-order-a3.c: New file.
43018 * elf/tst-order-a4.c: New file.
43019 * elf/tst-order-b1.c: New file.
43020 * elf/tst-order-b2.c: New file.
43021 * elf/tst-order-main.c: New file.
43022 New test case by George Gensure <werkt0@gmail.com>.
43023
86e92359
UD
430242010-10-01 Andreas Schwab <schwab@redhat.com>
43025
43026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43027 decoding ACE if AI_CANONIDN.
43028
5d5732b0
UD
430292011-01-18 Ulrich Drepper <drepper@gmail.com>
43030
43031 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43032
a77e8cbc
UD
430332011-01-17 Ulrich Drepper <drepper@gmail.com>
43034
6392473f
UD
43035 * version.h (RELEASE): Bump for 2.13 release.
43036 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43037
620a0529
UD
43038 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43039
18ba70a5
UD
43040 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43041 MADV_NOHUGEPAGE.
32465c3e
UD
43042 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43044 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43045 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43046 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43047 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43048
c0dafcf1
UD
43049 * posix/getconf.c: Update copyright year.
43050 * catgets/gencat.c: Likewise.
43051 * csu/version.c: Likewise.
43052 * debug/catchsegv.sh: Likewise.
43053 * debug/xtrace.sh: Likewise.
43054 * elf/ldconfig.c: Likewise.
43055 * elf/ldd.bash.in: Likewise.
43056 * elf/sprof.c (print_version): Likewise.
43057 * iconv/iconv_prog.c: Likewise.
43058 * iconv/iconvconfig.c: Likewise.
43059 * locale/programs/locale.c: Likewise.
43060 * locale/programs/localedef.c: Likewise.
43061 * malloc/memusage.sh: Likewise.
43062 * malloc/mtrace.pl: Likewise.
43063 * nscd/nscd.c (print_version): Likewise.
43064 * nss/getent.c: Likewise.
43065
a77e8cbc
UD
43066 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43067 PF_CAIF, and PF_ALG.
43068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43069
77e8bddf
AS
430702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43071
1f20b93a
AS
43072 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43073 (modules-names): Use them.
43074 (ifunc-test-modules, ifunc-pie-tests): Define.
43075 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43076 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43077 (test-extras): Likewise.
43078 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43079 $(compile-command.c).
43080 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43081 (all-built-dso): Define.
43082 (check-textrel.out, check-execstack.out): Depend on it.
43083
77e8bddf
AS
43084 * configure.in: Don't override --enable-multi-arch.
43085
bc425b33
UD
430862011-01-15 Ulrich Drepper <drepper@gmail.com>
43087
43088 [BZ #6812]
43089 * nscd/hstcache.c (tryagain): Define.
43090 (cache_addhst): Return tryagain not notfound for temporary errors.
43091 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43092 failed.
43093
794c3ad3
UD
430942011-01-14 Ulrich Drepper <drepper@gmail.com>
43095
70181fdd
UD
43096 [BZ #10563]
43097 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43098 to make the syscall.
43099 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43100
794c3ad3
UD
43101 [BZ #12378]
43102 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43103 and fall back to matching as normal character if the string ends before
43104 the matching ']' is found. This is what POSIX requires.
43105 * posix/testfnm.c: Adjust test result.
43106 * posix/globtest.sh: Adjust test result. Add new test.
43107 * posix/tst-fnmatch.input: Likewise.
43108 * posix/tst-fnmatch2.c: Add new test.
43109
68dc9497
AS
431102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43111
43112 * elf/Makefile (check-execstack): Revert last change. Depend on
43113 check-execstack.h.
43114 (check-execstack.h): New target.
43115 (generated): Add check-execstack.h.
43116 * elf/check-execstack.c: Include "check-execstack.h".
43117 (main): Revert last change.
43118 (handle_file): Return zero if GNU_STACK is absent and
43119 DEFAULT_STACK_PERMS doesn't include PF_X.
43120
451f001b
UD
431212011-01-13 Ulrich Drepper <drepper@gmail.com>
43122
cfa28e56
UD
43123 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43124 in child fails because the descriptor is already closed.
8cf8ce17
UD
43125 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43126 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43127 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43128
1086d70d
UD
43129 [BZ #12397]
43130 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43131 syscall.
43132
451f001b
UD
43133 [BZ #10484]
43134 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43135 temporary buffer used to handle multi lookups locally.
a85b5cb4 43136 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43137
08769175
UD
431382011-01-12 Ulrich Drepper <drepper@gmail.com>
43139
43140 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43141 loader is ld.so.
43142
5e49c52e
UD
431432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43144
43145 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43146 alignment for SSE2.
43147
60522a5f
UD
431482011-01-12 Ulrich Drepper <drepper@gmail.com>
43149
43150 [BZ #12394]
43151 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43152 characters. When rounding increased number of integer digits recompute
43153 number of groups.
43154 * stdio-common/tst-grouping.c: New file.
43155 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43156
f257bbd7
UD
431572011-01-09 Ulrich Drepper <drepper@gmail.com>
43158
43159 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43160 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43161
43162 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43163 void.
43164 * bits/select.h: Likewise.
43165
fa9c15cb
UD
431662011-01-08 Ulrich Drepper <drepper@gmail.com>
43167
43168 * po/ja.po: Update from translation team.
43169
16c2895f
DM
431702011-01-04 David S. Miller <davem@sunset.davemloft.net>
43171
43172 [BZ #11155]
43173 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43174 implementation just like for lxstat, fxstatat, et al.
43175
2543fef2
JM
431762010-12-27 Jim Meyering <meyering@redhat.com>
43177
43178 [BZ #12348]
43179 * posix/regexec.c (build_trtable): Return failure indication upon
43180 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43181
98727dbe
UD
431822010-12-25 Ulrich Drepper <drepper@gmail.com>
43183
5bd6dc5c
UD
43184 [BZ #12201]
43185 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43186 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43187 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43188 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43189
97983464
UD
43190 [BZ #12207]
43191 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43192
98727dbe
UD
43193 [BZ #12204]
43194 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43195 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43196
4a531bb0
L
431972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43198
43199 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43200 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43201 script has SORT_BY_INIT_PRIORITY.
43202 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43203 NO_CTORS_DTORS_SECTIONS is defined.
43204 * elf/soinit.c: Likewise.
43205 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43206 NO_CTORS_DTORS_SECTIONS is defined.
43207 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43208 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43209 * sysdeps/sh/init-first.c: Likewise.
43210 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43211
07eb4b71
UD
432122010-12-24 Ulrich Drepper <drepper@gmail.com>
43213
43214 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43215 always use the slow path.
43216
30950a5f
RA
432172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43218
43219 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43220 similar rule which adds the sysdep directories to the header search in
43221 order to pick up the correct platform stackinfo.h.
43222 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43223 perform test if it is, otherwise return successfully without testing.
43224 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43225 DEFAULT_STACK_PERMS define in stackinfo.h.
43226 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43227 defined in stackinfo.h.
43228 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43229 DEFAULT_STACK_PERMS defined in stackinfo.h.
43230 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43231 * sysdeps/ia64/stackinfo.h: Likewise.
43232 * sysdeps/s390/stackinfo.h: Likewise.
43233 * sysdeps/sh/stackinfo.h: Likewise.
43234 * sysdeps/sparc/stackinfo.h: Likewise.
43235 * sysdeps/x86_64/stackinfo.h: Likewise.
43236 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43237 PF_X for powerpc64. Retain PF_X for powerpc32.
43238
db753e2c
UD
432392010-12-19 Ulrich Drepper <drepper@gmail.com>
43240
14b697f7
UD
43241 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43242 accurately.
db753e2c
UD
43243 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43244 GETDENTS_64BIT_ALIGNED.
43245
28300719
UD
432462010-12-14 Ulrich Drepper <dreper@gmail.com>
43247
14b697f7 43248 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43249
4f197237
AS
432502010-12-10 Andreas Schwab <schwab@redhat.com>
43251
dbb0472f
AS
43252 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43253 _GNU_SOURCE.
43254
4f197237
AS
43255 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43256 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43257 Remove __restrict.
43258 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43259 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43260
fb88ac72
UD
432612010-12-09 Ulrich Drepper <drepper@gmail.com>
43262
43263 [BZ #11655]
43264 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43265 are initialized.
43266
42acbb92
JJ
432672010-12-09 Jakub Jelinek <jakub@redhat.com>
43268
43269 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43270
c038d98d
UD
432712010-12-03 Ulrich Drepper <drepper@gmail.com>
43272
43273 * po/it.po: Update from translation team.
43274
3a4a2499
L
432752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43276
43277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43278 unused codes.
43279
1e24cf6e
UD
432802010-11-30 Ulrich Drepper <drepper@gmail.com>
43281
43282 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43283
a7690819
AS
432842010-11-24 Andreas Schwab <schwab@redhat.com>
43285
43286 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43287 specially.
43288 (gaih_getanswer_slice): Likewise.
43289
3bf8d1b1
JJ
432902010-10-20 Jakub Jelinek <jakub@redhat.com>
43291
43292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43293
6db52fbb
PB
432942010-05-31 Petr Baudis <pasky@suse.cz>
43295
43296 [BZ #11149]
43297 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43298 silently even in the chroot mode.
43299
eaca7569
UD
433002010-11-22 Ulrich Drepper <drepper@gmail.com>
43301
43302 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43303 last patch a bit. Pretty printing
43304
3056dcdb
UD
433052010-05-31 Petr Baudis <pasky@suse.cz>
43306
43307 [BZ #10085]
43308 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43309 initialization of skip_initgroups_dyn.
43310
cf7c9078
UD
433112010-11-19 Ulrich Drepper <drepper@gmail.com>
43312
43313 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43315
a1fb5e3e
UD
433162010-11-16 Ulrich Drepper <drepper@gmail.com>
43317
43318 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43319
3540d66b
AS
433202010-11-11 Andreas Schwab <schwab@redhat.com>
43321
43322 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43323 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43324 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43325 ($(objpfx)tst-fnmatch-mem): New rule.
43326 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43327 * posix/tst-fnmatch.c (main): Call mtrace.
43328
13b69574
L
433292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43330
43331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43332 Support Intel processor model 6 and model 0x2c.
43333
da93d214
LM
433342010-11-10 Luis Machado <luisgpm@br.ibm.com>
43335
43336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43337 signed comparison.
43338
8ca52c6e
L
433392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43340
43341 [BZ #12205]
43342 * string/test-strncasecmp.c (check_result): New function.
43343 (do_one_test): Use it.
43344 (check1): New function.
43345 (test_main): Use it.
43346 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43347 Support strcasecmp and strncasecmp.
43348
69da074d
UD
433492010-11-08 Ulrich Drepper <drepper@gmail.com>
43350
43351 [BZ #12194]
43352 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43353 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43354
ff02d528
L
433552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43356
43357 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43358 IFUNC support.
43359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43360 memset-x86-64.
43361 * sysdeps/x86_64/multiarch/bzero.S: New file.
43362 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43363 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43364 * sysdeps/x86_64/multiarch/memset.S: New file.
43365 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43367 Set bit_Prefer_SSE_for_memop for Intel processors.
43368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43369 Define.
43370 (index_Prefer_SSE_for_memop): Define.
43371 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43372
344d0b54
LM
433732010-11-04 Luis Machado <luisgpm@br.ibm.com>
43374
43375 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43376 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43377
c0dde15b
UD
433782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43379
43380 [BZ #12191]
43381 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43382 (__x86_64_raw_data_cache_size_half): Likewise.
43383 (__x86_64_raw_shared_cache_size): Likewise.
43384 (__x86_64_raw_shared_cache_size_half): Likewise.
43385
43386 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43387 (__x86_64_raw_data_cache_size_half): Likewise.
43388 (__x86_64_raw_shared_cache_size): Likewise.
43389 (__x86_64_raw_shared_cache_size_half): Likewise.
43390 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43391 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43392 and __x86_64_raw_shared_cache_size_half. Round
43393 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43394 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43395 to multiple of 256 bytes.
43396
0e516e0e
MS
433972010-11-03 Ulrich Drepper <drepper@gmail.com>
43398
43399 [BZ #12167]
43400 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43401 of inacessible symlinks. Verify result of symlink before returning it.
43402 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43403 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43404
0e012e87
ER
434052010-10-28 Erich Ritz <erichritz@gmail.com>
43406
43407 * math/math.h (isinf): Fix typo in comment.
43408
de0ff7bc
UD
434092010-11-01 Ulrich Drepper <drepper@gmail.com>
43410
43411 * po/da.po: Update from translation team.
43412
fa41c84d
UD
434132010-10-26 Ulrich Drepper <drepper@gmail.com>
43414
43415 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43416 is added to the list.
43417
f0967738
AK
434182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43419 Ulrich Drepper <drepper@gmail.com>
43420
43421 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43422 the global list here. Move code to...
43423 (_dl_add_to_namespace_list): ...here. New function.
43424 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43425 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43426 * elf/dl-load.c (lose): Don't remove the element from the list.
43427 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43428 (_dl_map_object): Likewise.
43429
434302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43431
43432 [BZ #12159]
43433 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43434 into all bytes of SSE register.
43435 Patch by Richard Li <richardpku@gmail.com>.
43436
f0967738 434372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43438
43439 [BZ #12140]
43440 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43441 perturbing.
43442
d0b9e94f
MB
434432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43444
43445 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43446 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43447 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43448 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43450 submachine.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43452
8e9f92e9
AS
434532010-10-22 Andreas Schwab <schwab@redhat.com>
43454
43455 * include/dlfcn.h (__RTLD_SECURE): Define.
43456 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43457 mode & __RTLD_SECURE instead.
43458 (open_path): Rename preloaded parameter to secure.
43459 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43460 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43461 * elf/dl-deps.c (openaux): Likewise.
43462 * elf/rtld.c (struct map_args): Remove is_preloaded.
43463 (map_doit): Don't use it.
43464 (dl_main): Likewise.
43465 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43466 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43467
bc96fbda
AS
434682010-09-09 Andreas Schwab <schwab@redhat.com>
43469
43470 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43471 (sysd-rules-targets): Remove duplicates.
43472 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43473 rtld-%.$o dependency.
43474
22cd1c9b
AS
434752010-10-18 Andreas Schwab <schwab@redhat.com>
43476
43477 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43478 _dl_map_object do it.
43479
18edac48
UD
434802010-10-19 Ulrich Drepper <drepper@gmail.com>
43481
43482 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43483 fast fma builtins, define the macros in the C99 standard.
43484 (FP_FAST_FMAF): Likewise.
43485 (FP_FAST_FMAL): Likewise.
43486 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43487
43488 * bits/mathdef.h: Update copyright year.
43489 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43490
d2050124
MM
434912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43492
43493 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43494 builtins, define the macros in the C99 standard.
43495 (FP_FAST_FMAF): Likewise.
43496 (FP_FAST_FMAL): Likewise.
43497 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43498 multiply/add.
43499 (FP_FAST_FMAF): Likewise.
43500
475facd1
JJ
435012010-10-15 Jakub Jelinek <jakub@redhat.com>
43502
43503 [BZ #3268]
43504 * math/libm-test.inc (fma_test): Some new testcases.
43505 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43507 y and infinite z. Do multiplication by C already in long double.
43508 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43510 y and infinite z. Do bitwise or of inexact bit into u.d.
43511 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43512 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43513 * sysdeps/i386/fpu/s_fma.S: Removed.
43514 * sysdeps/i386/fpu/s_fmal.S: Removed.
43515
7c08a05c
JJ
435162010-10-16 Jakub Jelinek <jakub@redhat.com>
43517
43518 [BZ #3268]
43519 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43521 computation is not scheduled after fetestexcept. Fix value
43522 of minimum denormal long double.
43523
f3f7372d
JJ
435242010-10-14 Jakub Jelinek <jakub@redhat.com>
43525
43526 [BZ #3268]
43527 * math/libm-test.inc (fma_test): Add some more tests.
43528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43529 correctly.
43530
14d43591
AS
435312010-10-15 Andreas Schwab <schwab@redhat.com>
43532
43533 * scripts/data/localplt-s390-linux-gnu.data: New file.
43534 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43535
5e908464
JJ
435362010-10-13 Jakub Jelinek <jakub@redhat.com>
43537
43538 [BZ #3268]
43539 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43540 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43541 instead of dbl-64.
43542 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43543 inlines.
43544 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43546 if one of x and y is very large and the other is subnormal.
43547 * sysdeps/s390/fpu/s_fmaf.c: New file.
43548 * sysdeps/s390/fpu/s_fma.c: New file.
43549 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43550 * sysdeps/powerpc/fpu/s_fma.S: New file.
43551 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43552 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43553 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43554
435552010-10-12 Jakub Jelinek <jakub@redhat.com>
43556
43557 [BZ #3268]
43558 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43559 fma tests.
43560 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43561 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43562 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43563 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43564 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43565 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43566 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43567
b833d51f
UD
435682010-10-12 Ulrich Drepper <drepper@redhat.com>
43569
43570 [BZ #12078]
43571 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43572 * posix/bug-regex31.input: Add test case.
43573
1751705d
UD
435742010-10-11 Ulrich Drepper <drepper@gmail.com>
43575
e9b9cbf5
UD
43576 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43577 * posix/bug-regex31.input: New file.
43578
43579 [BZ #12078]
43580 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43581 (parse_sub_exp): Fix last change, use postorder.
43582
ef06edbe
UD
43583 * posix/bug-regex31.c: New file.
43584 * posix/Makefile: Add rules to build and run bug-regex31.
43585
a129c80d
UD
43586 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43587
43588 [BZ #12078]
43589 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43590
b76b818e
UD
43591 [BZ #12108]
43592 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43593 to have entries in sys_siglist.
43594
1751705d
UD
43595 [BZ #12093]
43596 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43597 be NULL.
43598
9ff8d36f
JJ
435992010-10-07 Jakub Jelinek <jakub@redhat.com>
43600
43601 [BZ #3268]
43602 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43603 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43604 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43605 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43606 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43607 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43608 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43609 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43610 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43611 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43612 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43613 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43614 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43615 * math/ftestexcept.c (fetestexcept): Likewise.
43616 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43617 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43618 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43619 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43620 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43621 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43622 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43623
af325969
UD
436242010-10-11 Ulrich Drepper <drepper@gmail.com>
43625
c579b202 43626 [BZ #12107]
af325969
UD
43627 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43628 newline.
43629
67a67b95
UD
436302010-10-06 Ulrich Drepper <drepper@gmail.com>
43631
43632 * string/bug-strstr1.c: New file.
43633 * string/Makefile: Add rules to build and run bug-strstr1.
43634
5fb308bc
EB
436352010-10-05 Eric Blake <eblake@redhat.com>
43636
43637 [BZ #12092]
43638 * string/str-two-way.h (two_way_long_needle): Always clear memory
43639 when skipping input due to the shift table.
43640
45db99c7
UD
436412010-10-03 Ulrich Drepper <drepper@gmail.com>
43642
3b111893
UD
43643 [BZ #12005]
43644 * malloc/mcheck.c: Handle large requests.
43645
45db99c7
UD
43646 [BZ #12077]
43647 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43648 for strncmp and strncasecmp.
43649 * string/stratcliff.c: Add tests for strcmp and strncmp.
43650 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43651
cf7a1eb8
NI
436522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43653
43654 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43655 __set_fpscr.
43656
6484ba5e
AJ
436572010-09-30 Andreas Jaeger <aj@suse.de>
43658
43659 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43660 (CGROUP_SUPER_MAGIC): Define.
43661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43662 Handle btrfs and cgroup file systems.
43663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43664 Likewise.
43665
91c42559
LM
436662010-09-27 Luis Machado <luisgpm@br.ibm.com>
43667
43668 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43669 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43670
87a97932
AK
436712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43672
43673 [BZ #12067]
43674 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43675 trying to locate the ELF header.
43676
c21cc9bc
AS
436772010-09-27 Andreas Schwab <schwab@redhat.com>
43678
43679 [BZ #11611]
43680 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43681 Mask out sign-bit copies when constructing f_fsid.
43682
315970f6
PB
436832010-09-24 Petr Baudis <pasky@suse.cz>
43684
43685 * debug/stack_chk_fail_local.c: Add missing licence exception.
43686 * debug/warning-nop.c: Likewise.
43687
1ac7a2c7
JM
436882010-09-15 Joseph Myers <joseph@codesourcery.com>
43689
43690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43691 implementing getdents64 using getdents syscall, set d_type if
43692 __ASSUME_GETDENTS32_D_TYPE.
43693
56801c50
AS
436942010-09-16 Andreas Schwab <schwab@redhat.com>
43695
43696 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43697 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43698
dda51327
UD
436992010-09-21 Ulrich Drepper <drepper@redhat.com>
43700
43701 [BZ #12037]
43702 * posix/unistd.h: Undo change of feature selection for ftruncate from
43703 2010-01-11.
43704
8ffcee4a
UD
437052010-09-20 Ulrich Drepper <drepper@redhat.com>
43706
a545ecd9 43707 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43708 detection.
43709
e24f0a8b
AS
437102010-09-20 Andreas Schwab <schwab@redhat.com>
43711
43712 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43713 fanotify_mark.
43714 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43715
7291c56f
AS
437162010-09-14 Andreas Schwab <schwab@redhat.com>
43717
43718 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43719 variables after CHECK_SP call.
43720 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43721
bc5fb037
AS
437222010-09-13 Andreas Schwab <schwab@redhat.com>
43723 Ulrich Drepper <drepper@redhat.com>
43724
43725 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43726 re-relocationg ld.so.
43727 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43728 _dl_init_paths call.
43729 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43730 here anymore.
43731
e66e7419
UD
437322010-09-14 Ulrich Drepper <drepper@redhat.com>
43733
43734 * resolv/res_init.c (__res_vinit): Count the default server we added.
43735
c044aa75
CLT
437362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43737 Ulrich Drepper <drepper@redhat.com>
43738
43739 [BZ #11968]
43740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43741 (____longjmp_chk): Use %ebx for saving value across system call.
43742 Add unwind info.
43743
32cf4069
AS
437442010-09-06 Andreas Schwab <schwab@redhat.com>
43745
43746 * manual/Makefile: Don't mix pattern rules with normal rules.
43747
817328ee
AS
437482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43749
43750 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43751 operation.
43752 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43753 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43754 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43755 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43757 Likewise.
43758
29fddf61
UD
437592010-09-04 Ulrich Drepper <drepper@redhat.com>
43760
43761 [BZ #11979]
43762 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43763 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43764
0959ffc9
UD
437652010-09-02 Ulrich Drepper <drepper@redhat.com>
43766
43767 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43768 * sysdeps/x86_64/addmul_1.S: Likewise.
43769 * sysdeps/x86_64/lshift.S: Likewise.
43770 * sysdeps/x86_64/mul_1.S: Likewise.
43771 * sysdeps/x86_64/rshift.S: Likewise.
43772 * sysdeps/x86_64/sub_n.S: Likewise.
43773 * sysdeps/x86_64/submul_1.S: Likewise.
43774
ece29840
ST
437752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43776
0959ffc9
UD
43777 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43778 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43779 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43780 * bits/sched.h [__need_schedparam]
ece29840 43781 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43782 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43783 (__defined_schedparam): Define to 1.
ece29840
ST
43784 (__sched_param): New structure, identical to sched_param.
43785 (__need_schedparam): Undefine.
43786
e53a31fe
MF
437872010-08-31 Mike Frysinger <vapier@gentoo.org>
43788
fdc0c10d
MF
43789 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43790 (epoll_create1): Declare.
43791
e53a31fe
MF
43792 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43793
a726d796
AS
437942010-08-31 Andreas Schwab <schwab@redhat.com>
43795
43796 [BZ #7066]
43797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43798 shifting retval into place.
43799
2f3e3dc7
UD
438002010-09-01 Ulrich Drepper <drepper@redhat.com>
43801
f2933da9
UD
43802 * nis/rpcsvc/nis.h: Update copyright notice.
43803 * nis/rpcsvc/nis.x: Likewise.
43804 * nis/rpcsvc/nis_callback.h: Likewise.
43805 * nis/rpcsvc/nis_callback.x: Likewise.
43806 * nis/rpcsvc/nis_object.x: Likewise.
43807 * nis/rpcsvc/nis_tags.h: Likewise.
43808 * nis/rpcsvc/yp.h: Likewise.
43809 * nis/rpcsvc/yp.x: Likewise.
43810 * nis/rpcsvc/ypupd.h: Likewise.
43811 * nis/yp_xdr.c: Likewise.
43812 * nis/ypupdate_xdr.c: Likewise.
43813
2f3e3dc7
UD
43814 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43815 mainly the body of pmap_getport. Add parameters to specify timeouts.
43816 (pmap_getport): Use __libc_rpc_getport.
43817 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43818 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43819 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43820
f3dcc2f9
AS
438212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43822
43823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43824 fanotify_mark.
43825
6d34eb5b
RM
438262010-08-27 Roland McGrath <roland@redhat.com>
43827
43828 * sysdeps/i386/i686/multiarch/Makefile
43829 (CFLAGS-varshift.c): New variable.
43830
9ea3de11
UD
438312010-08-27 Ulrich Drepper <drepper@redhat.com>
43832
c96d23fc
UD
43833 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43834 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43835
9ea3de11
UD
43836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43837
43838 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43839
623aac7f
L
438402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43841
43842 * sysdeps/x86_64/strlen.S: Unroll the loop.
43843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43844 strlen-sse2 strlen-sse2-bsf.
43845 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43846 __strlen_no_bsf if bit_Slow_BSF is set.
43847 (__strlen_sse42): Removed.
43848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43849 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43850
8b2b7715
RM
438512010-08-25 Roland McGrath <roland@redhat.com>
43852
43853 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43854 * sysdeps/x86_64/multiarch/varshift.c: New file.
43855 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43856 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43857 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43858 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43859
e73015f2
L
438602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43861
43862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43863 strlen-sse2 strlen-sse2-bsf.
43864 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43865 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43866 (__strlen_sse2): Removed.
43867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43868 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43870 bit_Slow_BSF for Atom.
43871 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43872 (index_Slow_BSF): Define.
43873 (HAS_SLOW_BSF): Define.
43874
df24a73e
UD
438752010-08-25 Ulrich Drepper <drepper@redhat.com>
43876
43877 [BZ #10851]
43878 * resolv/res_init.c (__res_vinit): When no server address at all
43879 is given default to loopback.
43880
f2ac4868
RM
438812010-08-24 Roland McGrath <roland@redhat.com>
43882
09055553
RM
43883 * configure.in: Remove config-name.h generation.
43884 * configure: Regenerated.
43885 * config-name.in: File removed.
43886 * scripts/config-uname.sh: New file.
43887 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43888 ($(objdir)config-name.h): New target.
43889
f2ac4868
RM
43890 * sunrpc/rpc_parse.h: Avoid nested comment.
43891
73f27d5e
RH
438922010-08-24 Richard Henderson <rth@redhat.com>
43893 Ulrich Drepper <drepper@redhat.com>
43894 H.J. Lu <hongjiu.lu@intel.com>
43895
43896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43898 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43899 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43900 _mm_alignr_epi8 with _mm_loadu_si128.
43901 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43902 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43903 (__m128i_shift_right): Removed.
43904 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43905 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43906 * sysdeps/x86_64/multiarch/varshift.h: New file.
43907 * sysdeps/x86_64/multiarch/varshift.S: New file.
43908
84b9230c
MF
439092010-08-21 Mike Frysinger <vapier@gentoo.org>
43910
43911 * configure.in: Move assembler checks to before sysdep dir checking.
43912
9bbd0ddc
PB
439132010-08-20 Petr Baudis <pasky@suse.cz>
43914
43915 * LICENSES: Sync the sunrpc license.
43916
9da4bb31
UD
439172010-08-19 Ulrich Drepper <drepper@redhat.com>
43918
a7ab6ec8
UD
43919 * sunrpc/auth_des.c: Update copyright notice once again.
43920 * sunrpc/auth_none.c: Likewise.
43921 * sunrpc/auth_unix.c: Likewise.
43922 * sunrpc/authdes_prot.c: Likewise.
43923 * sunrpc/authuxprot.c: Likewise.
43924 * sunrpc/bindrsvprt.c: Likewise.
43925 * sunrpc/clnt_gen.c: Likewise.
43926 * sunrpc/clnt_perr.c: Likewise.
43927 * sunrpc/clnt_raw.c: Likewise.
43928 * sunrpc/clnt_simp.c: Likewise.
43929 * sunrpc/clnt_tcp.c: Likewise.
43930 * sunrpc/clnt_udp.c: Likewise.
43931 * sunrpc/clnt_unix.c: Likewise.
43932 * sunrpc/des_crypt.c: Likewise.
43933 * sunrpc/des_soft.c: Likewise.
43934 * sunrpc/get_myaddr.c: Likewise.
43935 * sunrpc/getrpcport.c: Likewise.
43936 * sunrpc/key_call.c: Likewise.
43937 * sunrpc/key_prot.c: Likewise.
43938 * sunrpc/openchild.c: Likewise.
43939 * sunrpc/pm_getmaps.c: Likewise.
43940 * sunrpc/pm_getport.c: Likewise.
43941 * sunrpc/pmap_clnt.c: Likewise.
43942 * sunrpc/pmap_prot.c: Likewise.
43943 * sunrpc/pmap_prot2.c: Likewise.
43944 * sunrpc/pmap_rmt.c: Likewise.
43945 * sunrpc/rpc/auth.h: Likewise.
43946 * sunrpc/rpc/auth_unix.h: Likewise.
43947 * sunrpc/rpc/clnt.h: Likewise.
43948 * sunrpc/rpc/des_crypt.h: Likewise.
43949 * sunrpc/rpc/key_prot.h: Likewise.
43950 * sunrpc/rpc/netdb.h: Likewise.
43951 * sunrpc/rpc/pmap_clnt.h: Likewise.
43952 * sunrpc/rpc/pmap_prot.h: Likewise.
43953 * sunrpc/rpc/pmap_rmt.h: Likewise.
43954 * sunrpc/rpc/rpc.h: Likewise.
43955 * sunrpc/rpc/rpc_des.h: Likewise.
43956 * sunrpc/rpc/rpc_msg.h: Likewise.
43957 * sunrpc/rpc/svc.h: Likewise.
43958 * sunrpc/rpc/svc_auth.h: Likewise.
43959 * sunrpc/rpc/types.h: Likewise.
43960 * sunrpc/rpc/xdr.h: Likewise.
43961 * sunrpc/rpc_clntout.c: Likewise.
43962 * sunrpc/rpc_cmsg.c: Likewise.
43963 * sunrpc/rpc_common.c: Likewise.
43964 * sunrpc/rpc_cout.c: Likewise.
43965 * sunrpc/rpc_dtable.c: Likewise.
43966 * sunrpc/rpc_hout.c: Likewise.
43967 * sunrpc/rpc_main.c: Likewise.
43968 * sunrpc/rpc_parse.c: Likewise.
43969 * sunrpc/rpc_parse.h: Likewise.
43970 * sunrpc/rpc_prot.c: Likewise.
43971 * sunrpc/rpc_sample.c: Likewise.
43972 * sunrpc/rpc_scan.c: Likewise.
43973 * sunrpc/rpc_scan.h: Likewise.
43974 * sunrpc/rpc_svcout.c: Likewise.
43975 * sunrpc/rpc_tblout.c: Likewise.
43976 * sunrpc/rpc_util.c: Likewise.
43977 * sunrpc/rpc_util.h: Likewise.
43978 * sunrpc/rpcinfo.c: Likewise.
43979 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43980 * sunrpc/rpcsvc/key_prot.x: Likewise.
43981 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43982 * sunrpc/rpcsvc/mount.x: Likewise.
43983 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43984 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43985 * sunrpc/rpcsvc/rex.x: Likewise.
43986 * sunrpc/rpcsvc/rstat.x: Likewise.
43987 * sunrpc/rpcsvc/rusers.x: Likewise.
43988 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43989 * sunrpc/rpcsvc/spray.x: Likewise.
43990 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43991 * sunrpc/rtime.c: Likewise.
43992 * sunrpc/svc.c: Likewise.
43993 * sunrpc/svc_auth.c: Likewise.
43994 * sunrpc/svc_authux.c: Likewise.
43995 * sunrpc/svc_raw.c: Likewise.
43996 * sunrpc/svc_run.c: Likewise.
43997 * sunrpc/svc_simple.c: Likewise.
43998 * sunrpc/svc_tcp.c: Likewise.
43999 * sunrpc/svc_udp.c: Likewise.
44000 * sunrpc/svc_unix.c: Likewise.
44001 * sunrpc/svcauth_des.c: Likewise.
44002 * sunrpc/xcrypt.c: Likewise.
44003 * sunrpc/xdr.c: Likewise.
44004 * sunrpc/xdr_array.c: Likewise.
44005 * sunrpc/xdr_float.c: Likewise.
44006 * sunrpc/xdr_mem.c: Likewise.
44007 * sunrpc/xdr_rec.c: Likewise.
44008 * sunrpc/xdr_ref.c: Likewise.
44009 * sunrpc/xdr_sizeof.c: Likewise.
44010 * sunrpc/xdr_stdio.c: Likewise.
44011
9da4bb31
UD
44012 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44013 handling.
44014
bdaa77bc
AS
440152010-08-19 Andreas Schwab <schwab@redhat.com>
44016
44017 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44018
fe2f79db
LM
440192010-08-19 Luis Machado <luisgpm@br.ibm.com>
44020
44021 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44023 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44024 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44025 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44026 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44027 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44028 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44030 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44031 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44032 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44033 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44034 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44035
b9b42ee0
AB
440362010-07-26 Anton Blanchard <anton@samba.org>
44037
44038 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44039 * malloc/arena.c (heap_trim): Likewise.
44040
1c06ba31
UD
440412010-08-16 Ulrich Drepper <drepper@redhat.com>
44042
44043 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44044 here. Not...
44045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44046 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44047
f8392f40
L
440482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44049
44050 * sysdeps/i386/elf/Makefile: New file.
44051
3162f12e
AS
440522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44053
44054 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44055 from fanotify_init.
44056 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44058
28c90b2c
UD
440592010-08-15 Ulrich Drepper <drepper@redhat.com>
44060
44061 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44062 of strncasecmp_l.
1feccb6c 44063 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44064
ca6bb004
UD
440652010-08-14 Ulrich Drepper <drepper@redhat.com>
44066
e9f82e0d
UD
44067 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44068 strncase_l-nonascii.
44069 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44070 Add strncase_l-ssse3.
44071 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44072 * sysdeps/x86_64/strcmp.S: Likewise.
44073 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44074 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44075 * sysdeps/x86_64/strncase.S: New file.
44076 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44077 * sysdeps/x86_64/strncase_l.S: New file.
44078 * string/Makefile (strop-tests): Add strncasecmp.
44079 * string/test-strncasecmp.c: New file.
44080
44081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44082 warning.
44083
ca6bb004
UD
44084 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44085 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44086
052fa7b3
AS
440872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44088
44089 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44090
962dba78
UD
440912010-08-12 Ulrich Drepper <drepper@redhat.com>
44092
44093 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44094 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44096
bebff237
AM
440972010-05-01 Alan Modra <amodra@gmail.com>
44098
44099 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44100 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44101 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44102 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44103 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44104 tidying. Don't tail-call __sigjmp_save for static lib.
44105 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44106 save location.
44107 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44108 (CALL_MCOUNT): Add eh info, and nop after bl.
44109 (TAIL_CALL_SYSCALL_ERROR): New macro.
44110 (PSEUDO_RET): Use it.
44111 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44112 Correct save location of integer regs and cr.
44113 (_dl_profile_resolve): Correct cr save location. Delete nops
44114 after bl when SHARED. Reduce cfi size a little by better
44115 placement of cfi directives.
44116 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44117 make a stack frame. Instead use parm save area as a temp.
44118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44119 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44121 Don't make a stack frame for parent, use parm save area.
44122 Increase child stack frame to 112 bytes. Don't save unused reg,
44123 and adjust reg usage. Set up cfi on error recovery and
44124 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44126 (__makecontext): Add dummy nop after jump to exit.
44127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44128 Use correct parm save area and cr save, reduce stack frame.
44129 Correct cfi for possible PSEUDO_RET frame setup.
44130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44131 Branch to local label emitted by PSEUDO_RET rather than
44132 __syscall_error.
44133
02637374
AS
441342010-08-12 Andreas Schwab <schwab@redhat.com>
44135
44136 [BZ #11904]
44137 * locale/programs/locale.c (print_assignment): New function.
44138 (show_locale_vars): Use it.
44139
c3e2f19b
UD
441402010-08-11 Ulrich Drepper <drepper@redhat.com>
44141
3cdaa6ad
UD
44142 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44143 field.
44144 (struct statfs64): Likewise.
44145 (_STATFS_F_FLAGS): Define.
44146 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44147 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44148 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44149 (ST_VALID): Define locally.
44150 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44151 __statvfs_getflags, use the provided value.
44152 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44153 __ASSUME_STATFS_F_FLAGS.
44154
754f7da3
UD
44155 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44156
10b3bedc
UD
44157 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44158 Add sys/fanotify.h.
44159 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44160 fanotify_mask for GLIBC_2.13.
44161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44162 fanotify_init and fanotify_mark.
44163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44164 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44165
c08fb0d7
UD
44166 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44167 Add prlimit.
44168 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44169 prlimit64 for GLIBC_2.13.
44170 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44171 prlimit64.
44172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44173 syscall.
44174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44175 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44176 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44177 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44179 add prlimit alias.
44180 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44181
15bac72b
UD
44182 [BZ #11903]
44183 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44184 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44185
c3e2f19b
UD
44186 * nss/Makefile: Add rules to build and run tst-nss-test1.
44187 * shlib-versions: Add entry for libnss_test1.
44188 * nss/nss_test1.c: New file.
44189 * nss/tst-nss-test1.c: New file.
44190
44191 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44192 (__nss_configure_lookup): Set appropriate entry in
44193 __nss_configure_lookup to true.
44194 * nss/nsswitch.h: Define enum with indeces of databases in
44195 databases and __nss_database_custom arrays. Declare
44196 __nss_database_custom.
44197 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44198 to avoid using nscd when custom rules are installed.
44199 * nss/getXXbyYY_r.c: Likewise.
44200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44201
44202 * nss/nss_files/files-parse.c: Whitespace fixes.
44203
f15ce4d8
UD
442042010-08-09 Ulrich Drepper <drepper@redhat.com>
44205
44206 [BZ #11883]
44207 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44208 * posix/fnmatch_loop.c: Likewise.
44209
d22e4cc9
AK
442102010-07-17 Andi Kleen <ak@linux.intel.com>
44211
44212 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44213 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44214 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44215 * Versions.def [GLIBC_2.13]: Add.
44216
805bc17d
UD
442172010-08-06 Ulrich Drepper <drepper@redhat.com>
44218
44219 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44220 Also fail if tpwd after pwuid call is NULL.
44221
5a42321d
ST
442222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44223
44224 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44225 when converting to ms.
44226
fd3ebeda
ST
442272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44228
44229 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44230 EOPNOTSUPP errors with ENOTTY.
44231 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44232 EOPNOTSUPP errors with ENOTTY.
44233
73507d3a
UD
442342010-07-31 Ulrich Drepper <drepper@redhat.com>
44235
44236 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44237 Add strcasecmp_l-ssse3.
44238 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44239 strcasecmp.
44240 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44241 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44242 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44243
fe36dd02
UD
442442010-07-30 Ulrich Drepper <drepper@redhat.com>
44245
66f6765a
UD
44246 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44247
42e08a54
UD
44248 * string/Makefile (strop-tests): Add strcasecmp.
44249 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44250 strcasecmp_l-nonascii.
44251 (gen-as-const-headers): Add locale-defines.sym.
44252 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44253 * sysdeps/x86_64/strcasecmp.S: New file.
44254 * sysdeps/x86_64/strcasecmp_l.S: New file.
44255 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44256 * sysdeps/x86_64/locale-defines.sym: New file.
44257 * string/test-strcasecmp.c: New file.
44258
fe36dd02
UD
44259 * string/test-strcasestr.c: Test both ends of the range of characters.
44260 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44261
48cbc0d6
RM
442622010-07-29 Roland McGrath <roland@redhat.com>
44263
76e6d6bc 44264 [BZ #11856]
48cbc0d6
RM
44265 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44266
880113d9
UD
442672010-07-27 Ulrich Drepper <drepper@redhat.com>
44268
44269 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44270 for ld.so.
44271
deb9cabb
AS
442722010-07-27 Andreas Schwab <schwab@redhat.com>
44273
44274 * manual/memory.texi (Malloc Tunable Parameters): Document
44275 M_PERTURB.
44276
1c7570ff
RM
442772010-07-26 Roland McGrath <roland@redhat.com>
44278
44279 [BZ #11840]
44280 * configure.in (-fgnu89-inline check): Set and substitute
44281 gnu89_inline, not libc_cv_gnu89_inline.
44282 * configure: Regenerated.
44283 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44284
24fb0f88
UD
442852010-07-26 Ulrich Drepper <drepper@redhat.com>
44286
44287 * string/test-strnlen.c: New file.
44288 * string/Makefile (strop-tests): Add strnlen.
44289 * string/tester.c (test_strnlen): Add a few more test cases.
44290 * string/tst-strlen.c: Better error reporting.
44291
44292 * sysdeps/x86_64/strnlen.S: New file.
44293
8e96b93a
UD
442942010-07-24 Ulrich Drepper <drepper@redhat.com>
44295
44296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44297 lower-latency instructions.
44298
dbc676d4
UD
442992010-07-23 Ulrich Drepper <drepper@redhat.com>
44300
44301 * string/test-strcasestr.c: New file.
44302 * string/test-strstr.c: New file.
44303 * string/Makefile (strop-tests): Add strstr and strcasestr.
44304 * string/str-two-way.h: Don't undefine MAX.
44305 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44306
f6a31e0e
AS
443072010-07-21 Andreas Schwab <schwab@redhat.com>
44308
44309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44310 strcasestr-nonascii.
44311 (CFLAGS-strcasestr-nonascii.c): Define.
44312 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44314 Remove unused attribute.
44315
5dbc3b6c
RM
443162010-07-20 Roland McGrath <roland@redhat.com>
44317
44318 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44319 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44320 ld.so.cache was broken. With it, there is no way to disable dsocaps
44321 like LD_HWCAP_MASK can disable hwcaps.
44322
23d101d8
EPM
443232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44324
44325 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44326
cc9f2e47
UD
443272010-07-16 Ulrich Drepper <drepper@redhat.com>
44328
44329 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44330 call in strcasestr.
44331 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44332 __strcasestr_sse42_nonascii.
44333 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44334 strcasestr-nonascii.c.
44335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44336
77c1b069
LM
443372010-06-15 Luis Machado <luisgpm@br.ibm.com>
44338
44339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44340 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44341 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44342 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44343
440566c3
UD
443442010-07-09 Ulrich Drepper <drepper@redhat.com>
44345
44346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44347 fcntl.
44348
5be9d05d
AS
443492010-07-06 Andreas Schwab <schwab@redhat.com>
44350
c30b7ee2 44351 [BZ #11577]
5be9d05d
AS
44352 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44353 dl_signal_cerror.
44354
8a492a67
UD
443552010-07-06 Ulrich Drepper <drepper@redhat.com>
44356
44357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44358 _PC_PIPE_BUF using F_GETPIPE_SZ.
44359
713df3d5
RM
443602010-07-05 Roland McGrath <roland@redhat.com>
44361
44362 * manual/arith.texi (Rounding Functions): Fix rint description
44363 implicit in round description.
44364
702e8f14
UD
443652010-07-02 Ulrich Drepper <drepper@redhat.com>
44366
44367 * elf/Makefile: Fix linking for a few tests to make recent linker
44368 happy.
44369
52ed8be9
AS
443702010-06-30 Andreas Schwab <schwab@redhat.com>
44371
44372 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44373 $(common-objpfx)libc_nonshared.a.
44374
f47c9a11
LM
443752010-06-21 Luis Machado <luisgpm@br.ibm.com>
44376
44377 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44378 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44379 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44380 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44381 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44382 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44383 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44384 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44399 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44400 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44401 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44402 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44403 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44404 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44405 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44406 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44407 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44408 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44409 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44410 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44425
6fb8cbcb
L
444262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44427
44428 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44429 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44430 * string/memmove.c (memmove): Renamed to ...
44431 (MEMMOVE): ...this. Default to memmove.
44432 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44433 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44434 (END_CHK): Define.
44435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44436 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44437 mempcpy-ssse3-back memmove-ssse3-back.
44438 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44441 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44442 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44443 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44444 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44445 * sysdeps/x86_64/multiarch/memmove.c: New file.
44446 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44447 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44448 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44449 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44450 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44452 Define.
44453 (index_Fast_Copy_Backward): Define.
44454 (HAS_ARCH_FEATURE): Define.
44455 (HAS_FAST_REP_STRING): Define.
44456 (HAS_FAST_COPY_BACKWARD): Define.
44457
4e733bac 444582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44459
44460 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44461 Restore proper fallback handling.
44462
63c4ed22
UD
444632010-06-19 Ulrich Drepper <drepper@redhat.com>
44464
ac2b484c
UD
44465 [BZ #11701]
44466 * posix/group_member.c (__group_member): Correct checking loop.
44467
63c4ed22
UD
44468 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44469 OOM in getpwuid_r correctly. Return error number when the caller
44470 should return, otherwise -1.
44471 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44472 call returning > 0 value.
44473 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44474
765ade4b
AS
444752010-06-07 Andreas Schwab <schwab@redhat.com>
44476
44477 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44478 libc_nonshared.a from targets in modules-names.
44479
80da2e09
KS
444802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44481
44482 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44483 requires it.
44484
158db122
LM
444852010-06-10 Luis Machado <luisgpm@br.ibm.com>
44486
44487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44488 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44490 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44491
caa78cf8
AS
444922010-06-02 Andreas Schwab <schwab@redhat.com>
44493
44494 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44495
b2ef2c01
UD
444962010-06-14 Ulrich Drepper <drepper@redhat.com>
44497
44498 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44499 and F_GETPIPE_SZ.
44500 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44504 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44505 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44506
fbd643b6
RM
445072010-06-14 Roland McGrath <roland@redhat.com>
44508
44509 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44510
f32f2869
JJ
445112010-06-07 Jakub Jelinek <jakub@redhat.com>
44512
44513 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44514 __REDIRECT followed by __THROW.
44515 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44516 * posix/getopt.h (getopt): Likewise.
44517
2a50c078
EPM
445182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44519
44520 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44521 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44522 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44523 in AT_FLAGS.
44524 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44525 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44526
eb5ad2eb
LM
445272010-05-28 Luis Machado <luisgpm@br.ibm.com>
44528
44529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44530
3c88fe1e
L
445312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44532
44533 [BZ #11640]
44534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44535 Properly check family and model.
44536
d2f73151
TY
445372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44538
44539 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44540
ebd2e13d
LM
445412010-05-24 Luis Machado <luisgpm@br.ibm.com>
44542
44543 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44544
b32b8b45
UD
445452010-05-21 Ulrich Drepper <drepper@redhat.com>
44546
44547 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44548 symbol reference.
44549
9acbe24d
AS
445502010-05-19 Andreas Schwab <schwab@redhat.com>
44551
44552 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44553 symbol reference.
44554
f0ccf6ea
AS
445552010-05-21 Andreas Schwab <schwab@redhat.com>
44556
3d04ff3a
AS
44557 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44558 and internal_recvmmsg.
44559 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44560 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44561 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44562 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44563
f0ccf6ea
AS
44564 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44565 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44566 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44567
5b08ac57
AS
445682010-05-20 Andreas Schwab <schwab@redhat.com>
44569
44570 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44571
4828935d
LM
445722010-05-17 Luis Machado <luisgpm@br.ibm.com>
44573
44574 POWER7 optimizations.
44575 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44576 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44577
373d545e
UD
445782010-05-19 Ulrich Drepper <drepper@redhat.com>
44579
44580 * version.h: Update for 2.13 development version.
44581
21a2b1ae
AS
445822010-05-12 Andrew Stubbs <ams@codesourcery.com>
44583
44584 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44585 exceptions. Return 0.
44586
3f7dcb2b
RM
445872010-05-07 Roland McGrath <roland@redhat.com>
44588
44589 * elf/ldconfig.c (main): Add a const.
44590
5f24d53a 445912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44592
a160f8d8
UD
44593 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44594 (args_options): Add no-idn option.
44595 (ahosts_keys_int): Add idn_flags to ai_flags.
44596 (parse_option): Handle 'i' option to clear idn_flags.
44597
5f24d53a
UD
44598 * malloc/malloc.c (_int_free): Possible race in the most recently
44599 added check. Only act on the data if no current modification
44600 happened.
265bb1ce
UD
44601
44602See ChangeLog.17 for earlier changes.
This page took 6.127216 seconds and 5 git commands to generate.