]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
AArch64: Fix handling of nocancel syscall failures
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a60339aa
WN
12014-05-20 Will Newton <will.newton@linaro.org>
2
3 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4 Test the return value of the system call in the nocancel case.
5
7d05a816
YR
62014-05-20 Will Newton <will.newton@linaro.org>
7 Yvan Roux <yvan.roux@linaro.org>
8
9 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10 #include of asm/ptrace.h.
11 (PTRACE_GET_THREAD_AREA): Remove #undef.
12 (PTRACE_GETHBPREGS): Likewise.
13 (PTRACE_SETHBPREGS): Likewise.
14 (struct user_regs_struct): New structure.
15 (struct user_fpsimd_struct): New structure.
16 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17 #include of asm/ptrace.h and second #include of sys/user.h.
18 (PTRACE_GET_THREAD_AREA): Remove #undef.
19 (PTRACE_GETHBPREGS): Likewise.
20 (PTRACE_SETHBPREGS): Likewise.
21 (ELF_NGREG): Use new struct user_regs_struct.
22 (elf_fpregset_t): Use new struct user_fpsimd_struct.
23
af121e37
AZ
242014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25
26 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28
834caf06
JM
292014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
30
31 [BZ #16958]
32 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33 membar to avoid block loads/stores to overlap previous stores.
34
e184a918
RH
352014-05-17 Richard Henderson <rth@redhat.com>
36
37 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38 Create the __##syscall_name##_nocancel entry point.
39 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40 Remove; let the sysdep-cancel.h code create it.
41
f56c7a6a
DM
422014-05-17 David S. Miller <davem@davemloft.net>
43
44 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45 Protect with __USE_GNU.
46 (TIOCSET_TEMPT): Likewise.
47 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49 these are already provided in bits/ioctl-types.h
50
f75616b2
RM
512014-05-16 Roland McGrath <roland@hack.frob.com>
52
3edeca86
RM
53 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
54 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
55
f75616b2
RM
56 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
57 Use wait4 regardless of [__NR_waitpid].
58
deb0f7f6
MR
592014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
60
61 PR libgcc/60166
62 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
63 (_FP_NANSIGN_Q): Set the quiet bit.
64
79520f4b
JM
652014-05-16 Joseph Myers <joseph@codesourcery.com>
66
67 * benchtests/Makefile
68 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
69 not $(common-objpfx)math/libm.so.
70 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
71 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
72 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
73 $(common-objpfx)dlfcn/libdl.so.
74 ($(objpfx)tst-audit8): Depend on $(libm), not
75 $(common-objpfx)math/libm.so.
76 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
77 not $(common-objpfx)dlfcn/libdl.so.
78 * math/Makefile
79 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
80 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
81 [$(build-shared) = yes].
82 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
83 $(common-objpfx)nptl/libpthread.so.
84 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
85 $(common-objpfx)math/libm.so$(libm.so-version) or
86 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
87 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
88 $(common-objpfx)dlfcn/libdl.so.
89 * setjmp/Makefile (link-libm): Remove variable.
90 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
91 * stdio-common/Makefile (link-libm): Remove variable.
92 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
93 * stdlib/Makefile (link-libm): Remove variable.
94 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
95 ($(objpfx)tst-strtod-round): Likewise.
96 ($(objpfx)tst-tininess): Likewise.
97 ($(objpfx)tst-strtod-underflow): Likewise.
98 ($(objpfx)tst-strtod6): Likewise.
99 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
100 $(libdl), not $(common-objpfx)nptl/libpthread.so and
101 $(common-objpfx)dlfcn/libdl.so.
102
026b0fe4
AZ
1032014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
106 BSD terminal modes definitions.
107
def4bcb2
RM
1082014-05-16 Roland McGrath <roland@hack.frob.com>
109
fe39b021
RM
110 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
111 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
112
1d1fc46e 113 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
114 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
115 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
116 Don't do #include_next.
117 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
118 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
119 Don't do #include_next.
120 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
121 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
122 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
123 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
124
c72399fb
AM
1252014-05-16 Allan McRae <allan@archlinux.org>
126
d51d659d
AM
127 * po/sv.po: Update Swedish translation from translation project.
128
c72399fb
AM
129 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
130 in sed expression.
131
d0583c40
AJ
1322014-05-16 Aurelien Jarno <aurelien@aurel32.net>
133
134 [BZ #16917]
135 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
136 errno if the TIOCGPTN ioctl fails with an error different than
137 EINVAL.
138 * login/tst-ptsname.c: New file.
139 * login/Makefile (tests): Add tst-ptsname.
140
d16e6ec7
AJ
141 [BZ #16943]
142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
143 and prlimit64.
144
cf26a0cb
SP
1452014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 [BZ #16849]
148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
149 herrno to return EAI_AGAIN.
150
5675da1e
RM
1512014-05-14 Roland McGrath <roland@hack.frob.com>
152
a5d87b3d
RM
153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
154 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
155 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
157 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
159 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
163 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
165 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
167 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
169 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
173 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
177 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
179 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
181 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
182 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
184 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
188 Moved ...
189 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
213 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
217 Moved ...
218 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
220 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
238 Moved ...
239 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
241 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
242
039890a6
RM
243 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
244 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
245 (libpthread-sysdep_routines): Add elision-related stuff here instead.
246 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
247 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
248 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
249 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
250 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
251 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
252 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
253 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
254 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
255 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
256 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
257 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
258 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
259 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
260 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
261 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
262 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
263 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
264 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
265 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
266 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
267 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
270 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
271 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
272 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
273 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
274
65c89320
RM
275 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
276 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
277
348f8e8c
RM
278 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
279 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
280 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
281 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
282 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
284 Moved ...
285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
287 Moved ...
288 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
290 Moved ...
291 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
292 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
293 Moved ...
294 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
295 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
296 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
298 Moved ...
299 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
300 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
301 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
303 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
304 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
305 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
307 Moved ...
308 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
309 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
310 Moved ...
311 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
312 ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
314 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
316 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
318 Moved ...
319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
320 ... here.
321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
322 Moved ...
323 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
324 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
325 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
326 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
327 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
329 Moved ...
330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
332 Moved ...
333 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
335 Moved ...
336 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
338 Moved ...
339 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
341 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
343 Moved ...
344 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
345 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
346 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
348 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
349 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
350 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
352 Moved ...
353 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
355 Moved ...
356 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
357 ... here.
358 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
359 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
361 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
363 Moved ...
364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
365 ... here.
366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
367 Moved ...
368 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
370 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
371 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
372 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
373 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
374 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
375 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
376 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
378 Moved ...
379 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
381 Moved ...
382 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
384 Moved ...
385 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
387 Moved ...
388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
389 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
390 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
391 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
392 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
394 Moved ...
395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
396 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
397 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
398 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
399 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
400 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
401 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
403 Moved ...
404 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
406 Moved ...
407 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
408 ... here.
409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
410 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
411 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
412 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
414 Moved ...
415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
416 ... here.
417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
418 Moved ...
419 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
421 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
422 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
423 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
424 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
425 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
426 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
427 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
428 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
429 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
430
5085af05
RM
431 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
432 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
433
708f0813
RM
434 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
435 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
436
c96067bc
RM
437 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
438 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
439 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
440 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
441 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
442 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
443 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
444 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
445 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
446 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
448 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
450 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
451 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
453 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
455 Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
460 Moved ...
461 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
465 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
467 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
469 Moved ...
470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
472 Moved ...
473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
479 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
480 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
481 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
483 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
484 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
485 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
486 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
487 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
488 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
489 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
490
ec136444
RM
491 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
492 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
493 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
494 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
495 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
496
2fbdf533
RM
497 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
498 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
499 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
500 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
501 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
502 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
503 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
504 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
505 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
506 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
507
4c68138b
RM
508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
510
4eaae765
RM
511 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
512 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
513 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
514 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
515 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
516 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
518 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
520 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
521 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
522 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
523 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
524 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
526 Update #include.
527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
528 Likewise.
529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
530 Likewise.
531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
532 Likewise.
533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
534 Likewise.
535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
536 Likewise.
537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
538 Likewise.
539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
540 Likewise.
541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
542 Likewise.
543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
544 Likewise.
4ef6befa
RM
545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 560
941d7dfd
RM
561 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
562 that was previously under [RESET_PID].
563 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
564 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
565 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
566
1b731c35
RM
567 * sysdeps/i386/nptl/Implies: New file.
568 * sysdeps/x86_64/nptl/Implies: New file.
569 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
570 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
571 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
572 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
573
e2787137
RM
574 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
575 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
576 (__libc_vfork): New strong alias.
577 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
578 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
579
580 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
581 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
582 (__libc_vfork): New strong alias.
583 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
584 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
585
5675da1e
RM
586 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
587 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
588 (__libc_vfork): New strong alias.
589 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
590 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
591 * nptl/pt-vfork.c: New file.
592 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
593 (libpthread: GLIBC_2.20): New version set (empty).
594
4f02e2b8
WN
5952014-05-14 Will Newton <will.newton@linaro.org>
596
597 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
598 rather than #if.
599
0bf061d3
JM
6002014-05-14 Joseph Myers <joseph@codesourcery.com>
601
1a84c3d6
JM
602 [BZ #16564]
603 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
604 arguments with exponent 65 or above.
605 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
606 arguments 0x1p113L or above.
607 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
608 to arguments 0x1p107L or above.
609 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
610 positive arguments with exponent 65 or above.
611 * math/auto-libm-test-in: Add more tests of log1p.
612 * math/auto-libm-test-out: Regenerated.
613
01dbacd2
JM
614 [BZ #16928]
615 * math/s_cacos.c (__cacos): Ensure zero real part of result from
616 non-finite arguments is +0.
617 * math/s_cacosf.c (__cacosf): Likewise.
618 * math/s_cacosl.c (__cacosl): Likewise.
619 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
620 * sysdeps/i386/fpu/libm-test-ulps: Update.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622
913d03c8
JM
623 [BZ #16927]
624 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
625 value.
626 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
627 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
628 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
629 for explicit high bit of mantissa when testing for argument equal
630 to 1.
631 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
632 * sysdeps/i386/fpu/libm-test-ulps: Update.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634
0bf061d3
JM
635 [BZ #16516]
636 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
637 (__erf): Scale by 16 instead of 8 in potentially underflowing
638 case. Ensure exception if result actually underflows.
639 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
640 (__erff): Scale by 16 instead of 8 in potentially underflowing
641 case. Ensure exception if result actually underflows.
642 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
643 (efx8): Remove variable.
644 (__erfl): Scale by 16 instead of 8 in potentially underflowing
645 case. Ensure exception if result actually underflows.
646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
647 (efx8): Remove variable.
648 (__erfl): Scale by 16 instead of 8 in potentially underflowing
649 case. Ensure exception if result actually underflows.
650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
651 (efx8): Remove variable.
652 (__erfl): Scale by 16 instead of 8 in potentially underflowing
653 case. Ensure exception if result actually underflows.
654 * math/auto-libm-test-in: Add more tests of erf.
655 * math/auto-libm-test-out: Regenerated.
656
73ba67cb
AS
6572014-05-14 Andreas Schwab <schwab@suse.de>
658
3d8c8bff
AS
659 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
660 Remove code conditionalized on USE___THREAD.
661
73ba67cb
AS
662 * config.h.in (HAVE_PT_CHOWN): Define as 0.
663 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
664 not definedness.
665
5c521ecd
JM
6662014-05-14 Joseph Myers <joseph@codesourcery.com>
667
5e7698c6
JM
668 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
669 Define unconditionally.
670 (__ASSUME_O_CLOEXEC): Likewise.
671 (__ASSUME_SOCK_CLOEXEC): Likewise.
672 (__ASSUME_IN_NONBLOCK): Likewise.
673 (__ASSUME_PIPE2): Likewise.
674 (__ASSUME_EVENTFD2): Likewise.
675 (__ASSUME_SIGNALFD4): Likewise.
676 (__ASSUME_DUP3): Likewise.
677 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
678 (__ASSUME_DUP3): Do not define.
679 (__ASSUME_EVENTFD2): Likewise.
680 (__ASSUME_IN_NONBLOCK): Likewise.
681 (__ASSUME_O_CLOEXEC): Likewise.
682 (__ASSUME_PIPE2): Likewise.
683 (__ASSUME_SIGNALFD4): Likewise.
684 (__ASSUME_SOCK_CLOEXEC): Likewise.
685 (__ASSUME_UTIMES): Undefine.
686 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
687 (__ASSUME_UTIMES): Do not define.
688 (__ASSUME_O_CLOEXEC): Likewise.
689 (__ASSUME_SOCK_CLOEXEC): Likewise.
690 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
691 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
692 0x020621].
693 (__ASSUME_PIPE2): Likewise.
694 (__ASSUME_EVENTFD2): Likewise.
695 (__ASSUME_SIGNALFD4): Likewise.
696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
697 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
698 Do not define.
699 (__ASSUME_EVENTFD2): Likewise.
700 (__ASSUME_SIGNALFD4): Likewise.
701 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
702 (__ASSUME_32BITUIDS): Likewise.
703 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
704 (__ASSUME_IPC64): Likewise.
705 (__ASSUME_ST_INO_64_BIT): Likewise.
706 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
707 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
709 (__ASSUME_UTIMES): Do not define.
710 (__ASSUME_PSELECT): Likewise.
711 (__ASSUME_PPOLL): Likewise.
712 (__ASSUME_O_CLOEXEC): Likewise.
713 (__ASSUME_SOCK_CLOEXEC): Likewise.
714 (__ASSUME_IN_NONBLOCK): Likewise.
715 (__ASSUME_PIPE2): Likewise.
716 (__ASSUME_EVENTFD2): Likewise.
717 (__ASSUME_SIGNALFD4): Likewise.
718 (__ASSUME_DUP3): Likewise.
719 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
720 (__ASSUME_UTIMES): Likewise.
721 (__ASSUME_O_CLOEXEC): Likewise.
722 (__ASSUME_SOCK_CLOEXEC): Likewise.
723 (__ASSUME_IN_NONBLOCK): Likewise.
724 (__ASSUME_PIPE2): Likewise.
725 (__ASSUME_EVENTFD2): Likewise.
726 (__ASSUME_SIGNALFD4): Likewise.
727 (__ASSUME_DUP3): Likewise.
728 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
729 (__ASSUME_UTIMES): Likewise.
730 (__ASSUME_O_CLOEXEC): Likewise.
731 (__ASSUME_SOCK_CLOEXEC): Likewise.
732 (__ASSUME_IN_NONBLOCK): Likewise.
733 (__ASSUME_PIPE2): Likewise.
734 (__ASSUME_EVENTFD2): Likewise.
735 (__ASSUME_SIGNALFD4): Likewise.
736 (__ASSUME_DUP3): Likewise.
737 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
738 Likewise.
739 (__ASSUME_UTIMES): Likewise.
740 (__ASSUME_EVENTFD2): Likewise.
741 (__ASSUME_SIGNALFD4): Likewise.
742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
743 (__ASSUME_O_CLOEXEC): Likewise.
744 (__ASSUME_SOCK_CLOEXEC): Likewise.
745 (__ASSUME_IN_NONBLOCK): Likewise.
746 (__ASSUME_PIPE2): Likewise.
747 (__ASSUME_EVENTFD2): Likewise.
748 (__ASSUME_SIGNALFD4): Likewise.
749 (__ASSUME_DUP3): Likewise.
750 (__ASSUME_UTIMES): Undefine.
751
5c521ecd
JM
752 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
753 feclearexcept. Remove symbol versioning code.
754 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
755 symbol versioning code.
756 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
757 symbol versioning code.
758 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
759 feupdateenv. Remove symbol versioning code.
760 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
761 fegetexceptflag. Remove symbol versioning code.
762 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
763 fesetexceptflag. Remove symbol versioning code.
764 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
765 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
766 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
767 (__posix_fadvise64_l32): Remove prototype.
768 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
769 code.
770
5da9dfad
RM
7712014-05-13 Roland McGrath <roland@hack.frob.com>
772
773 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
774 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
775 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
776 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
777
893b4f37
SK
7782014-05-13 Sami Kerola <kerolasa@iki.fi>
779
780 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
781 current working directory
782
e0db6517
RM
7832014-05-13 Roland McGrath <roland@hack.frob.com>
784
58aa195d
RM
785 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
786 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
787 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
788 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
789 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
790 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
791 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
793 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
795 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
797 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
799 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
801 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
803 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
805 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
807 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
809 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
811 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
813 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
815 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
816 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
817 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
818 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
819 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
820 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
821 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
822 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
823 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
824 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
825 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
826 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
827
8c6d01f0
RM
828 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
829 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
830
831 * sysdeps/unix/sysv/linux/arm/Makefile
832 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
833 Add rt-aeabi_unwind_cpp_pr1.
834 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
835 Add nptl-aeabi_unwind_cpp_pr1.
836 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
837 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
838 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
839 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
840 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
841 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
842
843 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
844 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
845 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
846 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
847
bba6da4e
RM
848 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
849 Deconditionalize the code that was previously under [RESET_PID].
850 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
851
e0db6517
RM
852 * sysdeps/generic/exit-thread.h: New file.
853 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
854 * include/unistd.h (__exit_thread): Remove declaration.
855 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
856 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
857 * csu/libc-start.c: Include <exit-thread.h>.
858 (LIBC_START_MAIN): Pass no argument to __exit_thread.
859 * nptl/pthread_create.c: Include <exit-thread.h>.
860 (start_thread): Call __exit_thread in place of __exit_thread_inline.
861 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
862 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
863 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
864 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
865 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
866 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
867 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
868 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
869 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
870 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
871 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
872 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
873 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
874 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
875 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
876 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
877
01eb16fd
AS
8782014-05-13 Andreas Schwab <schwab@suse.de>
879
880 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
881
637461d9
JM
8822014-05-12 Joseph Myers <joseph@codesourcery.com>
883
884 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
885 (__ASSUME_UTIMES): Do not condition on kernel version.
886 (__ASSUME_PSELECT): Define unconditionally.
887 (__ASSUME_PPOLL): Likewise.
888 (__ASSUME_ATFCTS): Likewise.
889 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
890 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
891 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
892 (__ASSUME_UTIMENSAT): Define unconditionally.
893 (__ASSUME_PRIVATE_FUTEX): Likewise.
894 (__ASSUME_FALLOCATE): Likewise.
895 (__ASSUME_O_CLOEXEC): Likewise.
896 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
897 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
898 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
899 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
900 (__ASSUME_IN_NONBLOCK): Likewise.
901 (__ASSUME_PIPE2): Likewise.
902 (__ASSUME_EVENTFD2): Likewise.
903 (__ASSUME_SIGNALFD4): Likewise.
904 (__ASSUME_DUP3): Likewise.
905 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
906 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
907 (__ASSUME_AT_RANDOM): Likewise.
908 (__ASSUME_PREADV): Likewise.
909 (__ASSUME_PWRITEV): Likewise.
910 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
911 (__ASSUME_F_GETOWN_EX): Define unconditionally.
912 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
914 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
915 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
916 (__ASSUME_O_CLOEXEC): Define unconditionally.
917 (__ASSUME_PSELECT): Do not undefine conditionally.
918 (__ASSUME_PPOLL): Likewise.
919 (__ASSUME_ATFCTS): Likewise.
920 (__ASSUME_SET_ROBUST_LIST): Likewise.
921 (__ASSUME_UTIMENSAT): Likewise.
922 (__ASSUME_FDATASYNC): Define unconditionally.
923 * sysdeps/unix/sysv/linux/arm/kernel-features.h
924 (__ASSUME_SIGFRAME_V2): Likewise.
925 )__ASSUME_EVENTFD2): Likewise.
926 (__ASSUME_SIGNALFD4): Likewise.
927 (__ASSUME_PSELECT): Do not undefine conditionally.
928 (__ASSUME_PPOLL): Likewise.
929 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
930 (__ASSUME_PSELECT): Define unconditionally.
931 (__ASSUME_PPOLL): Likewise.
932 (__ASSUME_O_CLOEXEC): Likewise.
933 (__ASSUME_SOCK_CLOEXEC): Likewise.
934 (__ASSUME_IN_NONBLOCK): Likewise.
935 (__ASSUME_PIPE2): Likewise.
936 (__ASSUME_EVENTFD2): Likewise.
937 (__ASSUME_SIGNALFD4): Likewise.
938 (__ASSUME_DUP3): Likewise.
939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
940 (__ASSUME_O_CLOEXEC): Likewise.
941 (__ASSUME_SOCK_CLOEXEC): Likewise.
942 (__ASSUME_IN_NONBLOCK): Likewise.
943 (__ASSUME_PIPE2): Likewise.
944 (__ASSUME_EVENTFD2): Likewise.
945 (__ASSUME_SIGNALFD4): Likewise.
946 (__ASSUME_DUP3): Likewise.
947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
948 (__ASSUME_EVENTFD2): Likewise.
949 (__ASSUME_SIGNALFD4): Likewise.
950 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
951
315eb1d8
AS
9522014-05-12 Andreas Schwab <schwab@suse.de>
953
954 [BZ #16932]
955 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
956 (_nss_nis_gethostbyname4_r): Return error if item length is larger
957 than maximum RPC packet size.
958 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
959 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
960 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
961 (_nss_nis_getservbyport_r): Likewise.
962
91df99f7
WN
9632014-05-12 Will Newton <will.newton@linaro.org>
964
965 * malloc/Makefile (tests): Add tst-mallopt.
966 * malloc/tst-mallopt.c: New file.
967
0a982a29
RM
9682014-05-09 Roland McGrath <roland@hack.frob.com>
969
970 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
971 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
972
0ded08a5
AZ
9732014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974
975 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
976 (tst-tlsmod6.so): Likewise.
977
55d4d550
RM
9782014-05-09 Roland McGrath <roland@hack.frob.com>
979
980 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
981
77d08aca
JM
9822014-05-09 Joseph Myers <joseph@codesourcery.com>
983
984 [BZ #16064]
985 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
986 and <dl-procinfo.h>.
987 (__fegetenv): Save SSE state in envp->__eip if supported.
988 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
989 envp->__eip if supported.
990 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
991 and <dl-procinfo.h>.
992 (__fesetenv): Always set __eip, __cs_selector, __opcode,
993 __data_offset and __data_selector in environment to 0. Set SSE
994 state if supported.
995 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
996 test-fenv-sse.
997 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
998 -mfpmath=sse.
999 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1000
28162f4d
WN
10012014-05-09 Will Newton <will.newton@linaro.org>
1002
1003 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1004 and libc_relro_required for ARM.
1005 * sysdeps/arm/preconfigure: Regenerate.
1006
5a414ff7
DV
10072014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1008 Stefan Liebler <stli@linux.vnet.ibm.com>
1009
1010 * config.make.in (enable-lock-elision): New Makefile variable.
1011 * configure.ac: Likewise.
1012 * configure: Regenerate.
1013 * sysdeps/s390/configure.ac:
1014 Add check for gcc transactions support.
1015 * sysdeps/s390/configure: Regenerate.
1016 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1017 Build elision files if enabled.
1018 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1019 Add lock elision support for s390.
1020 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1021 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1022 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1023 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1024 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1025 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1027 Likewise.
1028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1029 Likewise.
1030 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1031 Likewise.
1032 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1033 Likewise.
1034 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1035 (__lll_timedlock_elision, __lll_lock_elision)
1036 (__lll_unlock_elision, __lll_trylock_elision)
1037 (lll_timedlock_elision, lll_lock_elision)
1038 (lll_unlock_elision, lll_trylock_elision): Add.
1039 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1040 (pthread_mutex_t): Add lock elision support for s390.
1041
1a2f40e5
W
10422014-05-14 Wilco <wdijkstr@arm.com>
1043
1044 * sysdeps/arm/fclrexcpt.c: Cleanup.
1045 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1046 * sysdeps/arm/feenablxcpt.c: Cleanup.
1047 * sysdeps/arm/fegetenv.c: Cleanup.
1048 * sysdeps/arm/fegetexcept.c: Cleanup.
1049 * sysdeps/arm/fegetround.c: Cleanup.
1050 * sysdeps/arm/feholdexcpt.c: Cleanup.
1051 * sysdeps/arm/fesetenv.c: Cleanup.
1052 * sysdeps/arm/fesetround.c: Cleanup.
1053 * sysdeps/arm/feupdateenv.c: Cleanup.
1054 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1055 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1056 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1057 * sysdeps/arm/ftestexcept.c: Cleanup.
1058 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1059 * sysdeps/arm/setfpucw.c: Cleanup.
1060
f63c86fe
WN
10612014-05-09 Will Newton <will.newton@linaro.org>
1062
1063 * sysdeps/arm/armv7/strcmp.S: New file.
1064 * NEWS: Mention addition of ARMv7 optimized strcmp.
1065
7a1a51b5
RM
10662014-05-08 Roland McGrath <roland@hack.frob.com>
1067
95afbbe5
RM
1068 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1069 look for %.ac rather than %.in.
1070
1071 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1072 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1073 * sysdeps/mach/hurd/configure: Regenerated.
1074 * sysdeps/unix/sysv/linux/configure: Regenerated.
1075
7a1a51b5
RM
1076 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1077
5057ad3b
SE
10782014-05-07 Steve Ellcey <sellcey@mips.com>
1079
1080 [BZ# 16922]
1081 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1082 (LONG_SUB): Ditto.
1083 (PTR_SUB): Ditto.
1084
8dc97517
AS
10852014-05-07 Andreas Schwab <schwab@suse.de>
1086
1087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1088 when skipping over non-matching result from nscd.
1089
ce0c5b8f
OB
10902014-05-07 Ondřej Bílka <neleai@seznam.cz>
1091
1092 [BZ #16876]
1093 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1094
a1189263
OB
1095 [BZ #16877]
1096 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1097 nscd security class.
ce0c5b8f 1098
0f58d252
RM
10992014-05-06 Roland McGrath <roland@hack.frob.com>
1100
1101 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1102 * sysdeps/arm/unwind.h: ... here.
1103
83df9ad0
AJ
11042014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1105
ce0c5b8f
OB
1106 [BZ# 16916]
1107 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1108 Define.
83df9ad0 1109
f360f94a
VR
11102014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1111
1112 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1113 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1114 multiarch strncpy for PPC64.
1115 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1116 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1118 multiarch optimizations.
1119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1120 (__libc_ifunc_impl_list): Likewise.
1121 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1123 multiarch stpncpy for PPC64.
1124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1126
978a41c3
AS
11272014-05-06 Andreas Schwab <schwab@suse.de>
1128
1129 [BZ #16912]
1130 * gmon/mcount.c (_MCOUNT_DECL): Use
1131 atomic_compare_and_exchange_bool_acq instead of
1132 catomic_compare_and_exchange_bool_acq.
1133
eb1ed03d
RM
11342014-05-05 Roland McGrath <roland@hack.frob.com>
1135
fe658845
RM
1136 * elf/Makefile (others, install-bin): Remove pldd.
1137 (pldd-modules): Variable removed.
1138 ($(objpfx)pldd): Target removed.
1139 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1140 (others, install-bin): Append pldd here.
1141 ($(objpfx)pldd): New target.
1142
eb1ed03d
RM
1143 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1144 to 0, so the first #if test emitted later doesn't see it undefined.
1145 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1146 * sysdeps/gnu/errlist.c: Regenerated.
1147
19c4bec0
AZ
11482014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1149
1150 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1151 [libc_hidden_builtin_def]: Define to empty value.
1152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1153 [libc_hidden_builtin_def]: Likewise.
1154 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1155 [libc_hidden_builtin_def]: Likewise.
1156 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1157 [libc_hidden_builtin_def]: Likewise.
1158 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1159 __redirect_memcpy and define ifunc as default hidden symbol.
1160 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1161 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1162
7776e669
AC
11632014-05-04 Adam Conrad <adconrad@0c3.net>
1164
1165 * locale/iso-4217.def: Reintroduce XDR currency.
1166
d69aeb12
AM
11672014-05-04 Allan McRae <allan@archlinux.org>
1168
1169 * po/eo.po: Update Esperanto translation from translation project.
1170
8f1df5cf
CD
11712014-05-02 Carlos O'Donell <carlos@redhat.com>
1172
1173 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1174 and FEATURE_INDEX_MAX to 1.
1175 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1176
13e402e7
SE
11772014-05-01 Steve Ellcey <sellcey@mips.com>
1178
1179 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1180 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1181 * iconvdata/big5.c (ONE_DIRECTION): Define.
1182 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1183 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1184 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1185 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1186 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1187 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1188 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1189 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1190 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1191 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1192 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1193 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1194 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1195 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1196 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1197 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1198 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1199 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1200 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1201 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1202 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1203 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1204 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1205 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1206 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1207 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1208 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1209 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1210 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1211 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1212 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1213 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1214 * iconvdata/johab.c (ONE_DIRECTION): Define.
1215 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1216 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1217 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1218 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1219 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1220 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1221 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1222 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1223 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1224 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1225
c727f032
RM
12262014-05-01 Roland McGrath <roland@hack.frob.com>
1227
8f2f08d0
RM
1228 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1229 (_IO_JUMPS_OFFSET): Define to 0.
1230
c727f032
RM
1231 * nptl/sysdeps/pthread/bits/libc-lock.h
1232 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1233 (__libc_lock_define_initialized_recursive): Always define using
1234 initializer. Modern compilers treat uninitialized (implicit zero) and
1235 explicit zero initializers the same (i.e. put the datum in bss).
1236
a849e800
AS
12372014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1238
1239 * nscd/nscd-client.h: Include <string.h>.
1240
5331255b
DM
12412014-05-01 David S. Miller <davem@davemloft.net>
1242
1243 [BZ #16885]
1244 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1245 multiple zero bytes exist at the end of a string.
1246 Reported by Aurelien Jarno <aurelien@aurel32.net>
1247
1248 * string/test-strcmp.c (check): Add explicit test for situations where
1249 there are multiple zero bytes after the first.
1250
4fdfe821
AS
12512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1252
1253 [BZ #16890]
1254 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1255 when compiling wprintf.
1256 * stdio-common/tstdiomisc.c (t3): New function.
1257 (main): Call it.
1258
0cdddc25
SE
12592014-05-01 Steve Ellcey <sellcey@mips.com>
1260
1261 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1262 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1263 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1264 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1265
6426d77e
SE
12662014-05-01 Steve Ellcey <sellcey@mips.com>
1267
1268 * stdlib/longlong.h: Updated from GCC.
1269
6d96f5e4
WN
12702014-05-01 Will Newton <will.newton@linaro.org>
1271 Bernard Ogden <bernie.ogden@linaro.org>
1272
7470db0c
WN
1273 * NEWS: Update fixed bug list.
1274
6d96f5e4
WN
1275 [BZ #15119]
1276 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1277
211d653c
DM
12782014-04-30 David S. Miller <davem@davemloft.net>
1279
4fa262fa
DM
1280 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1281 (libc_feholdexcept_setround_sparc_ctx): New function.
1282 (libc_fesetenv_sparc_ctx): Likewise.
1283 (libc_feupdateenv_sparc_ctx): Likewise.
1284 (libc_feholdsetround_sparc_ctx): Likewise.
1285 (libc_feholdexcept_setround_ctx): Define.
1286 (libc_feholdexcept_setroundf_ctx): Likewise.
1287 (libc_feholdexcept_setroundl_ctx): Likewise.
1288 (libc_fesetenv_ctx): Likewise.
1289 (libc_fesetenvf_ctx): Likewise.
1290 (libc_fesetenvl_ctx): Likewise.
1291 (libc_feupdateenv_ctx): Likewise.
1292 (libc_feupdateenvf_ctx): Likewise.
1293 (libc_feupdateenvl_ctx): Likewise.
1294 (libc_feresetround_ctx): Likewise.
1295 (libc_feresetroundf_ctx): Likewise.
1296 (libc_feresetroundl_ctx): Likewise.
1297 (libc_feholdsetround_ctx): Likewise.
1298 (libc_feholdsetroundf_ctx): Likewise.
1299 (libc_feholdsetroundl_ctx): Likewise.
1300
1d3d93ef
DM
1301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1302 with __USE_GNU instead of XOPEN cpp guards.
1303
8aa583c3
DM
1304 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1305 0.
1306
211d653c
DM
1307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1308 with XOPEN cpp guards.
1309
60c8f1f6
JB
13102014-04-30 Julian Brown <julian@codesourcery.com>
1311
1312 [BZ #16888]
1313 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1314 handling.
1315
9a461d46
JM
13162014-04-30 Joseph Myers <joseph@codesourcery.com>
1317
d0f5b3f8
JM
1318 [BZ #9894]
1319 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1320 Change to 2.6.32.
1321 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1322 * sysdeps/unix/sysv/linux/configure: Regenerated.
1323 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1324 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1325 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1326 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1327 * README: Update reference to required Linux kernel version.
1328 * manual/install.texi (Linux): Update reference to required Linux
1329 kernel headers version.
1330 * INSTALL: Regenerated.
1331
9a461d46
JM
1332 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1333 header inclusion.
1334 [POSIX] (limits.h): Likewise.
1335 [POSIX] (math.h): Likewise.
1336 [POSIX] (sys/wait.h): Likewise.
1337 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1338 function.
1339 [POSIX] (stddef.h): Do not allow header inclusion.
1340
1775babf
AZ
13412014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
57f41c40 1343 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1344
8f630cca
YY
13452014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1346
1347 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1348 Return immediately after lll_futex_wake.
1349
1cdeb237
SP
13502014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1351
bc8f194c
SP
1352 [BZ #16791]
1353 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1354 structure.
1355 (datahead_init_pos): Call datahead_init_common early.
1356 (datahead_init_neg): Likewise.
1357
1cdeb237
SP
1358 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1359 datahead_init_neg): New functions.
1360 * nscd/aicache.c (addhstaiX): Use them.
1361 * nscd/grpcache.c (cache_addgr): Likewise.
1362 * nscd/hstcache.c (cache_addhst): Likewise.
1363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1364 * nscd/netgroupcache.c (do_notfound): Likewise.
1365 (addgetnetgrentX): Likewise.
1366 (addinnetgrX): Likewise.
1367 * nscd/pwdcache.c (cache_addpw): Likewise.
1368 * nscd/servicescache.c (cache_addserv): Likewise.
1369
16b293a7
SP
13702014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 Atsushi Onoe <atsushi@onoe.org>
1372
1373 [BZ #14308]
1374 [BZ #12994]
1375 [BZ #13651]
1376 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1377 one response is valid.
1378 * resolv/res_send.c (send_dg): Check for validity of other
1379 response if the current response is a referral.
1380
a28a9b94
SE
13812014-04-29 Steve Ellcey <sellcey@mips.com>
1382
1383 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1384
2ca180e9
SL
13852014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1386
1387 [BZ #16823]
1388 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1389 Always divide by positive zero when computing -Inf result.
1390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1391 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1392
18f2945a
AZ
13932014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394
1395 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1396 FPSCR if value do not change.
1397 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1398 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1399 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1400 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1401 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1402 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1403 function.
1404
5abebba4
CD
14052014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1406
1407 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1408 * sysdeps/unix/sysv/linux/hppa: Move directory from
1409 ports/systeps/unix/sysv/linux/hppa.
1410 * README: Update listing for hppa-*-linux-gnu.
1411
f7ed60c2
OB
14122014-04-28 Ondřej Bílka <neleai@seznam.cz>
1413
fff763a5
OB
1414 [BZ #16754]
1415 * manual/stdio.texi (Hook functions): Fix types of stream hook
1416 functions.
f7ed60c2
OB
1417 [BZ #16854]
1418 * socket/sys/socket.h: Fix typo in comment.
1419
df639d73
WD
14202014-04-28 Wilco <wdijkstr@arm.com>
1421
f7ed60c2 1422 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1423 * sysdeps/arm/math_private.h: New file.
1424 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1425
48332d82
L
14262014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1429 with __int128_t.
1430 (La_x86_64_retval): Likewise.
1431
e5e0d9a4
IB
14322014-04-24 Ian Bolton <ian.bolton@arm.com>
1433
1434 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1435 fpsr if value didn't change.
1436 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1437 to fpcr if value didn't change.
1438 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1439 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1440 fpsr or fpcr if value didn't change.
1441 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1442 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1443 fpcr if value didn't change.
1444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1445 to fpsr if value didn't change.
1446
bacc75f7
SP
14472014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1448
1449 * nptl/tst-sem3.c: Use test-skeleton.c
1450 (main): Rename to do_test. Use return instead of
1451 exit.
1452 * nptl/tst-sem4.c: Use test-skeleton.c
1453 (main): Rename to do_test.
1454
a059d359
DM
14552014-04-22 David S. Miller <davem@davemloft.net>
1456
1457 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1458 (struct sigaction): New struct member __glibc_reserved0, change
1459 type of sa_flags to int.
1460
ea6c92f3
YZ
14612014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1462
1463 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1464 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1465
766c4a36
SP
14662014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1467
1468 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1469 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1470
140cc7ab
VK
14712014-04-22 Will Newton <will.newton@linaro.org>
1472 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1473
1474 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1475 (__longjmp): Add longjmp and longjmp_target SystemTap
1476 probes.
1477 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1478 (__sigsetjmp): Add setjmp SystemTap probe.
1479
c54e5cf7
CD
14802014-04-17 Carlos O'Donell <carlos@redhat.com>
1481
1482 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1483 match manual order.
1484
75ffb047
AZ
14852014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486
1487 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1488
2cd925f7
AZ
1489 * sysdeps/powerpc/fpu/fenv_private.h
1490 (libc_feholdexcept_setroundl_ctx): Define to
1491 libc_feholdexcept_setround_ppc_ctx.
1492 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1493 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1494 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1495 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1496
39e6cd8d
IB
14972014-04-17 Ian Bolton <ian.bolton@arm.com>
1498
1499 * sysdeps/aarch64/math-tests.h: New file.
1500
f9281df9
SY
15012014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1502
1503 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1504 New.
1505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1506 Check and set bit_AVX2_Usable.
1507 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1508 macro.
1509 (bit_AVX2): Likewise.
1510 (index_AVX2_Usable): Likewise.
1511 (CPUID_AVX2): Likewise.
1512 (HAS_AVX2): Likewise.
1513
37d35007
WN
15142014-04-17 Will Newton <will.newton@linaro.org>
1515
7c677662
WN
1516 * manual/setjmp.texi (System V contexts): Add note that
1517 calling setcontext on a context created by a call to a
1518 signal handler is undefined. Update text to note that
1519 setcontext from a signal handler is possible but not
1520 recommended.
1521
37d35007 1522 [BZ #16629]
e04a4e9d
WN
1523 * stdlib/tst-setcontext.c: Include signal.h.
1524 (main): Check that the signal stack before and
1525 after swapcontext is the same.
1526
37d35007
WN
1527 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1528 Re-implement to restore registers in user code and avoid
1529 rt_sigreturn system call.
1530
423a7160
W
15312014-04-17 Wilco <wdijkstr@arm.com>
1532
1533 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1534 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1535 * math/test-fenv.c: Skip exception trap tests on targets which only
1536 support non-stop mode.
1537
bc93ab29
IB
15382014-04-17 Ian Bolton <ian.bolton@arm.com>
1539 Wilco Dijkstra <wilco.dijkstra@arm.com>
1540
1541 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1542 (libc_feholdsetround_aarch64_ctx)
1543 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1544 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1545 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1546 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1547 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1548 (libc_feresetround_noexl_ctx): Define.
1549
95fc5fa3
RH
15502014-04-16 Richard Henderson <rth@redhat.com>
1551
ddb04724
RH
1552 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1553
d77c0899
RH
1554 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1555 unwind tables.
1556
a3df56fc
RH
1557 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1558 const from the non-libc, non-ldso copy.
1559
95fc5fa3
RH
1560 * sysdeps/alpha/libm-test-ulps: Regenerate.
1561
7e0b6763
IB
15622014-04-16 Ian Bolton <ian.bolton@arm.com>
1563 Wilco Dijkstra <wilco.dijkstra@arm.com>
1564
1565 * sysdeps/aarch64/fpu/math_private.h: New file.
1566
a9ea2e0c
MS
15672014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1568
1569 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1570
ea8ba7cd
IZ
15712014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1572
1573 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1574 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1576 Intel MPX bound registers before _dl_profile_fixup.
1577 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1578 registers after _dl_profile_fixup. Save and restore bound
1579 registers bnd0/bnd1 when calling _dl_call_pltexit.
1580 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1581 (LR_BND_OFFSET): Likewise.
1582 (LRV_BND0_OFFSET): Likewise.
1583 (LRV_BND1_OFFSET): Likewise.
1584
9f2a4fbc
ST
15852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1586
1587 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1588 to...
1589 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1590 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1591 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1592 fields.
9f2a4fbc 1593
fd15a59b
ST
15942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1595
1596 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1597
f19dfa0a
SL
15982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1599
1600 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1601
4fa8bc3b
SL
16022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1603
1604 [BZ #14770]
1605 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1606 * sysdeps/s390/configure: Regenerate.
1607
8ea587db
SL
1608 [BZ #16824]
1609 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1610 Set round-to-nearest internally to reduce error accumulation.
1611
aa5f0ff1
AM
16122014-04-16 Alan Modra <amodra@gmail.com>
1613
1614 [BZ #16740]
1615 [BZ #16619]
1616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1617 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1618 * NEWS: Update fixed bug list.
aa5f0ff1 1619
bb9c256f
SP
16202014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1621
1622 * benchtests/Makefile: Depend on libraries in build directory.
1623 (bench-math): Separate out math tests.
1624 (bench-pthread): Separate out pthread tests.
1625 (bench): Include math and pthread tests.
1626
f737dfd0
CD
16272014-04-14 Carlos O'Donell <carlos@redhat.com>
1628
1629 [BZ #16831]
1630 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1631 _dl_debug_initialize.
1632
0699f766
CD
1633 * configure.ac: Remove SELinux header check.
1634 * configure: Regenerate.
1635 * nscd/selinux.c (perms): Array of const char* to permission names.
1636 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1637 default policy. Call string_to_security_class and string_to_av_perm to
1638 translate strings. Enforce default policy and call avs_has_perm with
1639 results of translated strings.
1640
809bd45f
DM
16412014-04-13 David S. Miller <davem@davemloft.net>
1642
1643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1644
89e691f2
AM
16452014-04-12 Allan McRae <allan@archlinux.org>
1646
1647 [BZ #16838]
1648 * manual/string.texi (Collation Functions): Fix qsort argument
1649 order in example.
1650 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1651
9c9daaeb
CM
16522014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1653
1654 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1655 Make the test a no-op if there are no exceptions defined.
1656
95561fb9
PP
16572014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1658
fe8d072c 1659 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1660 enable-hardcoded-path-in-tests
1661
970c602a
WN
16622014-04-11 Will Newton <will.newton@linaro.org>
1663
1664 * benchtests/Makefile (extra-objs): Add json-lib.o.
1665 (bench-func): Tidy up JSON output.
1666 * benchtests/bench-skeleton.c: Include json-lib.h.
1667 (main): Use JSON library functions to do output of
1668 benchmark results.
1669 * benchtests/bench-timing-type.c (main): Output the
1670 timing type simply, leaving formatting to the user.
1671 * benchtests/json-lib.c: New file.
1672 * benchtests/json-lib.h: Likewise.
1673
36875b06
TR
16742014-04-11 Torvald Riegel <triegel@redhat.com>
1675
1676 [BZ #15215]
1677 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1678 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1679 memory barriers. Add comments.
1680 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1681 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1682 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1683 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1684 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1685 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1686
579db35a
SL
16872014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1688
1689 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1690 * sysdeps/s390/s390-64/configure.ac: ... this ...
1691 * sysdeps/s390/configure.ac: ... to here.
1692 * sysdeps/s390/s390-32/configure: Delete file.
1693 * sysdeps/s390/s390-64/configure: Delete file.
1694 * sysdeps/s390/configure: Regenerate.
1695
c12e9f37
JAPH
16962014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1697
1698 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1699
439bda32
WN
17002014-04-11 Will Newton <will.newton@linaro.org>
1701
1702 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1703 to zero if it is not defined elsewhere. (mtrim): Test
1704 the value of MALLOC_DEBUG with #if rather than #ifdef.
1705
6a5d6ea1
TR
17062014-04-10 Torvald Riegel <triegel@redhat.com>
1707
1708 * benchtests/pthread_once-inputs: New file.
1709 * benchtests/pthread_once-source.c: New file.
1710 * benchtests/README: Update documentation.
1711
a4c75cfd
IZ
17122014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1713 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1716 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1717 * sysdeps/x86_64/configure: Regenerated.
1718 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1719 macro.
1720 (REGISTER_SAVE_RAX): Likewise.
1721 (REGISTER_SAVE_RCX): Likewise.
1722 (REGISTER_SAVE_RDX): Likewise.
1723 (REGISTER_SAVE_RSI): Likewise.
1724 (REGISTER_SAVE_RDI): Likewise.
1725 (REGISTER_SAVE_R8): Likewise.
1726 (REGISTER_SAVE_R9): Likewise.
1727 (REGISTER_SAVE_BND0): Likewise.
1728 (REGISTER_SAVE_BND1): Likewise.
1729 (REGISTER_SAVE_BND2): Likewise.
1730 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1731 bound registers when calling _dl_fixup.
1732
27822ce6
AZ
17332014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734
1735 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1736 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1737 of its definition.
27822ce6
AZ
1738 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1739 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1740 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1741 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1742 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1743 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1744 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1745
a88ddc90
PTB
17462014-04-09 Peter Brett <peter@peter-b.co.uk>
1747
1748 [BZ #15514]
1749 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1750 pathconf(_PC_NAME_MAX).
1751
01f8eac2
AZ
17522014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753
1754 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1755 Remove macro usage.
1756 (__PTHREAD_SPINS): Move definition to ...
1757 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1758 (__PTHREAD_SPINS): ... here.
1759 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1760 (__PTHREAD_SPIN): Likewise.
1761 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1762 (__PTHREAD_SPIN): Likewise.
1763 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1764 (__PTHREAD_SPIN): Likewise.
1765 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1766 (__PTHREAD_SPIN): Likewise.
1767 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1768 (__PTHREAD_SPIN): Likewise.
1769 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1770 (__PTHREAD_SPIN): Likewise.
1771 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1772 (__PTHREAD_SPIN): Likewise.
1773 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1774 (__PTHREAD_SPIN): Likewise.
1775 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1776 (__PTHREAD_SPIN): Likewise.
1777 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1778 (__PTHREAD_SPIN): Likewise.
1779 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1780 (__PTHREAD_SPIN): Likewise.
1781 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1782 (__PTHREAD_SPIN): Likewise.
1783
de21c33c
AZ
1784 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1785 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1786 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1787 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1788 imply folder.
1789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1790 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1791 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1792 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1793 correct imply path.
1794 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1795 strlen symbol for non multi-arch builds.
1796 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1797 missing hidden_def and weak_alias.
1798
862c472e
CD
17992014-04-08 Carlos O'Donell <carlos@redhat.com>
1800
1801 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1802
8667f90e
WN
18032014-04-07 Will Newton <will.newton@linaro.org>
1804
1805 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1806 and contents. [!_LIBC] Remove #ifndef and contents.
1807 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1808 * string/memccpy.c (__memccpy): Use ANSI prototype.
1809 * string/memfrob.c (memfrob): Likewise.
1810 * string/strcoll.c (STRCOLL): Likewise.
1811 * string/strlen.c (strlen): Likewise.
1812 * string/strtok.c (STRTOK): Likewise.
1813 * string/strcat.c: Remove unused #include of memcopy.h.
1814 (strcat): Use ANSI prototype.
1815 * string/strchr.c: Remove unused #include of memcopy.h.
1816 (strchr): Use ANSI prototype.
1817 * string/strcmp.c: Remove unused #include of memcopy.h.
1818 (strcmp): Use ANSI prototype.
1819 * string/strcpy.c: Remove unused #include of memcopy.h.
1820 (strcpy): Use ANSI prototype.
1821
7ffa9423
AZ
18222014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1825 * config.make.in (config-extra-cppflags): Set it from
1826 libc_extra_cppflags.
1827 * configure.ac (libc_extra_cflags): Make it accumulate over
1828 configure fragments.
1829 (libc_extra_cppflags): New flag.
1830 * configure. Regenerate.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1832 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1833 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1835
8bd70862
AZ
1836 [BZ #16815]
1837 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1838 result for FE_DOWNWARD rounding mode.
1839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1840 Likewise.
1841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1842
d42f3448
CM
18432014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1844
1845 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1846 in function argument name.
1847
1c21d115
DS
18482014-04-03 David Svoboda <svoboda@cert.org>
1849
1850 [BZ #5666]
1851 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1852 explicitly.
1853
fcccd512
RM
18542014-04-03 Roland McGrath <roland@hack.frob.com>
1855
1856 * elf/dl-unmap-segments.h: New file.
1857 * sysdeps/generic/ldsodefs.h
1858 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1859 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1860 * elf/dl-fptr.c: Likewise.
1861 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1862 * sysdeps/aarch64/tlsdesc.c: Likewise.
1863 * sysdeps/arm/tlsdesc.c: Likewise.
1864 * sysdeps/i386/tlsdesc.c: Likewise.
1865 * sysdeps/tile/dl-runtime.c: Likewise.
1866 * sysdeps/x86_64/tlsdesc.c: Likewise.
1867 * elf/dl-load.h: New file.
1868 * elf/dl-load.c: Include it.
1869 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1870 Macros moved to dl-load.h.
1871 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1872 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1873 Use _dl_unmap_segments in place of __munmap.
1874 Break out segment-mapping loop into ...
1875 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1876
f6488e2b
WN
18772014-04-03 Will Newton <will.newton@linaro.org>
1878
1879 * elf/dl-lookup.c (do_lookup_x): Remove comment
1880 referring to nested function and move variable
1881 declarations down to before first use.
1882
6f05bafe
JM
18832014-04-02 Joseph Myers <joseph@codesourcery.com>
1884
a84e78c8
JM
1885 [BZ #16799]
1886 [BZ #16800]
1887 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1888 with 0 numerator.
1889 * math/s_catanf.c (__catanf): Likewise.
1890 * math/s_catanh.c (__catanh): Likewise.
1891 * math/s_catanhf.c (__catanhf): Likewise.
1892 * math/s_catanhl.c (__catanhl): Likewise.
1893 * math/s_catanl.c (__catanl): Likewise.
1894 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1895 by positive zero when computing -Inf result.
1896 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1897 (catanh_test): Likewise.
1898 * sysdeps/i386/fpu/libm-test-ulps: Update.
1899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1900
6f05bafe
JM
1901 [BZ #16789]
1902 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1903 instead of using underflowing value in computing result.
1904 * math/s_clog10.c (__clog10): Likewise.
1905 * math/s_clog10f.c (__clog10f): Likewise.
1906 * math/s_clog10l.c (__clog10l): Likewise.
1907 * math/s_clogf.c (__clogf): Likewise.
1908 * math/s_clogl.c (__clogl): Likewise.
1909 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1910 (clog10_test): Likewise.
1911 * sysdeps/i386/fpu/libm-test-ulps: Update.
1912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1913
b0abbc21
AM
19142014-04-02 Alan Modra <amodra@gmail.com>
1915
1916 [BZ #16739]
1917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1918 output when value is near a power of two. Use int64_t for lx and
1919 remove casts. Use decimal rather than hex exponent constants.
1920 Don't use long double multiplication when double will suffice.
1921 * math/libm-test.inc (nextafter_test_data): Add tests.
1922 * NEWS: Add 16739 and 16786 to bug list.
1923
af6b1797
AM
1924 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1925
483818d7
AM
1926 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1927
f6c55796
WN
19282014-04-01 Will Newton <will.newton@linaro.org>
1929
1930 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1931 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1932
13f7fe35
FW
19332014-04-01 Florian Weimer <fweimer@redhat.com>
1934
1935 [BZ #13347]
1936 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1937 * nptl/tst-setuid2.c: New file.
1938 * nptl/Makefile (xtests): Add tst-setuid2.
1939
c859b32e
AM
19402014-04-01 Alan Modra <amodra@gmail.com>
1941
1942 [BZ #16786]
1943 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1944
54fa2475
JM
19452014-03-31 Joseph Myers <joseph@codesourcery.com>
1946
8795b4a4
JM
1947 [BZ #6803]
1948 [BZ #6804]
1949 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1950 set errno as appropriate.
1951 * math/w_scalbf.c (__scalbf): Likewise.
1952 * math/w_scalbl.c (__scalbl): Likewise.
1953 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1954 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1955 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1956 Add more NaN tests.
1957
54fa2475
JM
1958 [BZ #16349]
1959 * math/w_atan2.c: Include <errno.h>.
1960 (__atan2): Set errno for result underflowing to zero.
1961 * math/w_atan2f.c: Include <errno.h>.
1962 (__atan2f): Set errno for result underflowing to zero.
1963 * math/w_atan2l.c: Include <errno.h>.
1964 (__atan2l): Set errno for result underflowing to zero.
1965 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1966 tests.
1967 * math/auto-libm-test-out: Regenerated.
1968
757d9dd5
AZ
19692014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970
1971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1972 Encode instruction correctly in little endian.
1973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1974 Likewise.
1975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1976 Likewise.
1977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1978 Likewise.
1979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1980 Likewise.
1981
d7a68734
JM
19822014-03-31 Joseph Myers <joseph@codesourcery.com>
1983
47c5adeb
JM
1984 [BZ #9894]
1985 * sysdeps/unix/sysv/linux/kernel-features.h
1986 [__sparc__ && !__arch64__ && !__sparc_v9__]
1987 (__ASSUME_SET_ROBUST_LIST): Do not define.
1988 [__sparc__ && !__arch64__ && !__sparc_v9__]
1989 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1990 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1991 Likewise.
1992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1993 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1994 (__ASSUME_REQUEUE_PI): Likewise.
1995 (__ASSUME_SET_ROBUST_LIST): Likewise.
1996 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1997 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1998 Undefine.
1999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2001 Likewise.
2002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2003 Likewise.
2004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2005 Likewise.
2006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2007 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2008 Undefine.
2009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2010 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2011 Likewise.
2012
d7a68734
JM
2013 [BZ #16648]
2014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2015 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2016 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2017
c760f5c2
WN
20182014-03-31 Will Newton <will.newton@linaro.org>
2019
2020 * benchtests/Makefile (bench): Add ffs and ffsll to list
2021 of tests.
2022 * benchtests/ffs-inputs: New file.
2023 * benchtests/ffsll-inputs: Likewise.
2024
ea6029b1
JM
20252014-03-29 Joseph Myers <joseph@codesourcery.com>
2026
2027 [BZ #16770]
2028 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2029 too large before casting to int.
2030 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2031 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2032 * math/libm-test.inc (scalb_test_data): Add more tests.
2033
cf806aff
SP
20342014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
56737508
SP
2036 * benchtests/Makefile (DETAILED_OPT): New make option.
2037 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2038 set.
2039 * benchtests/bench-skeleton.c: Include stdbool.h.
2040 (main): Store and print timings per input.
2041 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2042 member to each argument value.
2043 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2044 (_print_arg_data): Initialize per-input timing to 0.
2045
cb5e4aad
SP
2046 * benchtests/Makefile (timing-type): New binary.
2047 (bench-clean): Also remove bench-timing-type.
2048 (bench): New target for timing-type.
2049 (bench-func): Print output in JSON format.
2050 * benchtests/bench-skeleton.c (main): Print output in JSON
2051 format.
2052 * benchtests/bench-timing-type.c: New file.
2053 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2054 (TIMING_PRINT_STATS): Remove.
2055 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2056 name separately.
2057
cf806aff
SP
2058 * benchtests/bench-modf.c: Remove.
2059 * benchtests/modf-inputs: New inputs file.
2060
289e0779
JM
20612014-03-28 Joseph Myers <joseph@codesourcery.com>
2062
2063 [BZ #16362]
2064 * math/s_clog10.c (M_PI_LOG10E): New macro.
2065 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2066 imaginary parts are 0.
2067 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2068 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2069 imaginary parts are 0.
2070 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2071 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2072 imaginary parts are 0.
2073 * math/libm-test.inc (clog10_test_data): Update expected results
2074 for when real and imaginary parts are 0.
2075
277ae3f1
PP
20762014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2077
2078 * elf/dl-load.c: Finish conversion of __builtin_expect into
2079 __glibc_{un}likely.
2080
03a7091f
JM
20812014-03-27 Joseph Myers <joseph@codesourcery.com>
2082
2083 [BZ #16348]
2084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2085 1+x for argument with exponent below -67.
2086 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2087 Likewise.
2088 * math/auto-libm-test-in: Add more tests of exp.
2089 * math/auto-libm-test-out: Regenerated.
2090
ea7d8b95
SP
20912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2092
dd3022d7
SP
2093 [BZ #16759]
2094 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2095 (nscd_getnetgrent): Use it.
2096
ea7d8b95
SP
2097 [BZ #16760]
2098 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2099 of stpcpy.
2100
df5b85da
AK
21012014-03-27 Andi Kleen <ak@linux.intel.com>
2102
57f41c40
AS
2103 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2104 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2105 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2106 (lll_robust_unlock): Remove out of line section. Use cfi
2107 intrinsics.
df5b85da 2108 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2109 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2110 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2111 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2112 (lll_robust_unlock): Remove out of line section. Use cfi
2113 intrinsics.
df5b85da
AK
2114 (LLL_STUB_UNWIND_INFO*): Remove.
2115
fbd6b5a4
SP
21162014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2117
2118 [BZ #16758]
2119 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2120 blank values.
2121
1b26b855
PP
21222014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2123
2124 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2125
9be36fb8
JM
21262014-03-26 Joseph Myers <joseph@codesourcery.com>
2127
2128 [BZ #16198]
2129 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2130 fnstenv.
2131 * math/test-fenv-preserve.c: New file.
2132 * math/Makefile (tests): Add test-fenv-preserve.
2133
60a2f3c1
WN
21342014-03-26 Will Newton <will.newton@linaro.org>
2135
2136 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2137
a5e5f1e2
RM
21382014-03-25 Roland McGrath <roland@hack.frob.com>
2139
2140 * scripts/versionlist.awk: Partition the version sets and emit all
2141 GLIBC_* (sorted) before all others (sorted).
2142
00f4012a
JM
21432014-03-25 Joseph Myers <joseph@codesourcery.com>
2144
2145 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2146 GLIBC_2.2.5 version.
2147
7bc5a741
AZ
21482014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149
2150 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2151 calls.
2152
7578473b
AZ
2153 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2154 previous change.
2155
f3f1dab3
AZ
2156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2157
6da36183
AS
21582014-03-25 Andreas Schwab <schwab@suse.de>
2159
2160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2161 label to be used after in6ailist is initialized.
2162
f3f1dab3 21632014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2164
7578473b 2165 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2166 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2167
046651c1
JM
21682014-03-25 Joseph Myers <joseph@codesourcery.com>
2169
2170 [BZ #16357]
2171 [BZ #16599]
2172 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2173 min_plus_half.
2174 (fp_formats): Update initializers.
2175 (init_fp_formats): Initialize new field.
2176 (output_for_one_input_case): Allow underflow for results up to
2177 min_plus_half.
2178 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2179 * math/auto-libm-test-in: Don't mark some underflows from asin and
2180 atanh as spurious.
2181 * math/auto-libm-test-out: Regenerated.
2182 * sysdeps/i386/fpu/libm-test-ulps: Update.
2183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2184
003e49ed
AS
21852014-03-25 Andreas Schwab <schwab@suse.de>
2186
2187 * libio/Makefile (tst-ftell-partial-wide-ENV)
2188 (tst-ftell-active-handler-ENV): Define.
2189
de031874
SL
21902014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2191
2192 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2193
55a81e3b
PP
21942014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2195
2196 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2197
f3426898
JM
21982014-03-24 Joseph Myers <joseph@codesourcery.com>
2199
2200 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2201 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2202 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2203
a42faf59
PP
22042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2205
2206 [BZ #16634]
a42faf59 2207 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2208 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2209 (open_path): Change from boolean 'secure' to complete flag 'mode'
2210 (_dl_map_object): Adjust.
a42faf59
PP
2211 * elf/Makefile (tests): Add tst-dlopen-aout.
2212 * elf/tst-dlopen-aout.c: New test.
2213
50936127
SL
22142014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2215
2216 [BZ #16714]
2217 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2218 (struct stat): Rename member pad0 to __glibc_reserved0.
2219
26011b5c
SL
2220 [BZ #16712]
2221 * sysdeps/s390/s390-32/bits/wordsize.h
2222 (__WORDSIZE32_SIZE_ULONG): New define.
2223 * sysdeps/s390/s390-64/bits/wordsize.h
2224 (__WORDSIZE32_SIZE_ULONG): Likewise.
2225 * sysdeps/generic/stdint.h (SIZE_MAX):
2226 Define as UL if __WORDSIZE32_SIZE_ULONG.
2227
a2d86bf1
SL
2228 [BZ #16713]
2229 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2230 (__glibc_reserved0): New variable.
2231 (sa_flags): Change type to int.
2232
78b6eebc
SL
2233 * posix/Makefile (before-compile): Use += before-compile instead
2234 of a :=.
2235
f1399b5a
SL
2236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2237 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2238
a071766e
AS
22392014-03-20 Andreas Schwab <schwab@suse.de>
2240
2241 [BZ #16743]
2242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2243 non-matching result from nscd.
2244
27c673b8
SP
22452014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2246
2247 * scripts/bench.py: Moved to ...
2248 * benchtests/scripts/bench.py: ... here.
2249 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2250
44152e4b
AS
22512014-03-24 Andreas Schwab <schwab@suse.de>
2252
2253 [BZ #16002]
2254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2255 alloca_account and account alloca use for struct in6ailist.
2256
b376a11a
JM
22572014-03-24 Joseph Myers <joseph@codesourcery.com>
2258
2259 [BZ #16284]
2260 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2261 rounding mode to recompute results that overflow to infinity or
2262 underflow to zero.
2263 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2264 bug 16284.
2265 * math/auto-libm-test-out: Regenerated.
2266 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2267 (ccosh_test): Likewise.
2268 (csin_test_data): Use plus_oflow.
2269 (csin_test): Use ALL_RM_TEST.
2270 (csinh_test_data): Use plus_oflow.
2271 (csinh_test): Use ALL_RM_TEST.
2272 * sysdeps/i386/fpu/libm-test-ulps: Update.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274
f7be7376
JM
22752014-03-21 Joseph Myers <joseph@codesourcery.com>
2276
1ca2d03e
JM
2277 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2278 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2279 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2280
f7be7376
JM
2281 [BZ #16731]
2282 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2283 when x - 1 is zero.
2284 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2285 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2286 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2288 argument is 1.
2289 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2290 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2291 zero.
2292 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2293 * sysdeps/i386/fpu/libm-test-ulps: Update.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295
fdf4534d
SP
22962014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2297
df26ea53
SP
2298 * scripts/bench.pl: Remove file.
2299 * scripts/bench.py: New benchmark script.
2300 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2301 * benchtests/README: Mention python dependency.
2302 * scripts/pylintrc: New file.
2303 * scripts/pylint: New file.
2304
fdf4534d
SP
2305 * bits/mathdef.h: Use #ifdef instead of #if.
2306 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2307 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2308 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2309 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2310 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2311 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2312
6f23d093
AZ
23132014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2314 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2315
2316 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2318 and strpbrk-ppc64 objects.
2319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2320 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2321 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2322 multiarch strpbrk for POWER7.
2323 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2324 multiarch strpbrk for PPC64.
2325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2326 ifunc selector.
2327 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2328 strpbrk for POWER7.
2329
8c92dfff
JM
23302014-03-20 Joseph Myers <joseph@codesourcery.com>
2331
2332 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2333 (atan_test): Likewise.
2334 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2335 (atanh_test): Use ALL_RM_TEST.
2336 (atan2_test_data): Likewise.
2337 (cabs_test): Likewise.
2338 (cacosh_test): Likewise.
2339 (carg_test): Likewise.
2340 (casin_test): Likewise.
2341 (casinh_test): Likewise.
2342 (cbrt_test): Likewise.
2343 (csqrt_test): Likewise.
2344 (erf_test): Likewise.
2345 (erfc_test): Likewise.
2346 (pow10_test): Likewise.
2347 (exp2_test): Likewise.
2348 (hypot_test): Likewise.
2349 (j0_test): Likewise.
2350 (j1_test): Likewise.
2351 (lgamma_test): Likewise.
2352 (gamma_test): Likewise.
2353 (sincos_test): Likewise.
2354 (tanh_test): Likewise.
2355 (y0_test): Likewise.
2356 (y1_test): Likewise.
2357 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2359
6eaf95cb
AZ
23602014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361
a387428c
SP
2362 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2364 and strcspn-ppc64 objects.
2365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2366 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2367 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2368 multiarch strcspn for POWER7.
2369 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2370 multiarch strcspn for PPC64.
2371 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2372 ifunc selector.
2373 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2374 strcspn for POWER7.
2375
ae3a5dff
JM
23762014-03-20 Joseph Myers <joseph@codesourcery.com>
2377
2378 * math/gen-libm-test.pl (generate_testfile): Expect only function
2379 name as argument to AUTO_TESTS_* and pass results for all rounding
2380 modes to parse_args.
2381 (parse_auto_input): Separate inputs of automatic tests from
2382 outputs before storing in %auto_tests.
2383 * math/libm-test.inc (acos_test_data): Update call to
2384 AUTO_TESTS_f_f.
2385 (acos_test): Use ALL_RM_TEST.
2386 (acos_tonearest_test_data): Remove.
2387 (acos_test_tonearest): Likewise.
2388 (acos_towardzero_test_data): Likewise.
2389 (acos_test_towardzero): Likewise.
2390 (acos_downward_test_data): Likewise.
2391 (acos_test_downward): Likewise.
2392 (acos_upward_test_data): Likewise.
2393 (acos_test_upward): Likewise.
2394 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2395 (asin_test_data): Likewise.
2396 (asin_test): Use ALL_RM_TEST.
2397 (asin_tonearest_test_data): Remove.
2398 (asin_test_tonearest): Likewise.
2399 (asin_towardzero_test_data): Likewise.
2400 (asin_test_towardzero): Likewise.
2401 (asin_downward_test_data): Likewise.
2402 (asin_test_downward): Likewise.
2403 (asin_upward_test_data): Likewise.
2404 (asin_test_upward): Likewise.
2405 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2406 (atan_test_data): Likewise.
2407 (atanh_test_data): Likewise.
2408 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2409 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2410 (carg_test_data): Likewise.
2411 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2412 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2413 (ccosh_test_data): Likewise.
2414 (cexp_test_data): Likewise.
2415 (clog_test_data): Likewise.
2416 (clog10_test_data): Likewise.
2417 (cos_test_data): Update call to AUTO_TESTS_f_f.
2418 (cos_test): Use ALL_RM_TEST.
2419 (cos_tonearest_test_data): Remove.
2420 (cos_test_tonearest): Likewise.
2421 (cos_towardzero_test_data): Likewise.
2422 (cos_test_towardzero): Likewise.
2423 (cos_downward_test_data): Likewise.
2424 (cos_test_downward): Likewise.
2425 (cos_upward_test_data): Likewise.
2426 (cos_test_upward): Likewise.
2427 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2428 (cosh_test): Use ALL_RM_TEST.
2429 (cosh_tonearest_test_data): Remove.
2430 (cosh_test_tonearest): Likewise.
2431 (cosh_towardzero_test_data): Likewise.
2432 (cosh_test_towardzero): Likewise.
2433 (cosh_downward_test_data): Likewise.
2434 (cosh_test_downward): Likewise.
2435 (cosh_upward_test_data): Likewise.
2436 (cosh_test_upward): Likewise.
2437 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2438 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2439 (ctan_test_data): Likewise.
2440 (ctan_test): Use ALL_RM_TEST.
2441 (ctan_tonearest_test_data): Remove.
2442 (ctan_test_tonearest): Likewise.
2443 (ctan_towardzero_test_data): Likewise.
2444 (ctan_test_towardzero): Likewise.
2445 (ctan_downward_test_data): Likewise.
2446 (ctan_test_downward): Likewise.
2447 (ctan_upward_test_data): Likewise.
2448 (ctan_test_upward): Likewise.
2449 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2450 (ctanh_test): Use ALL_RM_TEST.
2451 (ctanh_tonearest_test_data): Remove.
2452 (ctanh_test_tonearest): Likewise.
2453 (ctanh_towardzero_test_data): Likewise.
2454 (ctanh_test_towardzero): Likewise.
2455 (ctanh_downward_test_data): Likewise.
2456 (ctanh_test_downward): Likewise.
2457 (ctanh_upward_test_data): Likewise.
2458 (ctanh_test_upward): Likewise.
2459 (erf_test_data): Update call to AUTO_TESTS_f_f.
2460 (erfc_test_data): Likewise.
2461 (exp_test_data): Likewise.
2462 (exp_test): Use ALL_RM_TEST.
2463 (exp_tonearest_test_data): Remove.
2464 (exp_test_tonearest): Likewise.
2465 (exp_towardzero_test_data): Likewise.
2466 (exp_test_towardzero): Likewise.
2467 (exp_downward_test_data): Likewise.
2468 (exp_test_downward): Likewise.
2469 (exp_upward_test_data): Likewise.
2470 (exp_test_upward): Likewise.
2471 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2472 (exp10_test): Use ALL_RM_TEST.
2473 (exp10_tonearest_test_data): Remove.
2474 (exp10_test_tonearest): Likewise.
2475 (exp10_towardzero_test_data): Likewise.
2476 (exp10_test_towardzero): Likewise.
2477 (exp10_downward_test_data): Likewise.
2478 (exp10_test_downward): Likewise.
2479 (exp10_upward_test_data): Likewise.
2480 (exp10_test_upward): Likewise.
2481 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2482 (expm1_test_data): Likewise.
2483 (expm1_test): Use ALL_RM_TEST.
2484 (expm1_tonearest_test_data): Remove.
2485 (expm1_test_tonearest): Likewise.
2486 (expm1_towardzero_test_data): Likewise.
2487 (expm1_test_towardzero): Likewise.
2488 (expm1_downward_test_data): Likewise.
2489 (expm1_test_downward): Likewise.
2490 (expm1_upward_test_data): Likewise.
2491 (expm1_test_upward): Likewise.
2492 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2493 (fma_test): Use ALL_RM_TEST.
2494 (fma_towardzero_test_data): Remove.
2495 (fma_test_towardzero): Likewise.
2496 (fma_downward_test_data): Likewise.
2497 (fma_test_downward): Likewise.
2498 (fma_upward_test_data): Likewise.
2499 (fma_test_upward): Likewise.
2500 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2501 (j0_test_data): Update call to AUTO_TESTS_f_f.
2502 (j1_test_data): Likewise.
2503 (jn_test_data): Update call to AUTO_TESTS_if_f.
2504 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2505 (log_test_data): Update call to AUTO_TESTS_f_f.
2506 (log10_test_data): Likewise.
2507 (log1p_test_data): Likewise.
2508 (log2_test_data): Likewise.
2509 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2510 (pow_tonearest_test_data): Likewise.
2511 (sin_test_data): Update call to AUTO_TESTS_f_f.
2512 (sin_test): Use ALL_RM_TEST.
2513 (sin_tonearest_test_data): Remove.
2514 (sin_test_tonearest): Likewise.
2515 (sin_towardzero_test_data): Likewise.
2516 (sin_test_towardzero): Likewise.
2517 (sin_downward_test_data): Likewise.
2518 (sin_test_downward): Likewise.
2519 (sin_upward_test_data): Likewise.
2520 (sin_test_upward): Likewise.
2521 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2522 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2523 (sinh_test): Use ALL_RM_TEST.
2524 (sinh_tonearest_test_data): Remove.
2525 (sinh_test_tonearest): Likewise.
2526 (sinh_towardzero_test_data): Likewise.
2527 (sinh_test_towardzero): Likewise.
2528 (sinh_downward_test_data): Likewise.
2529 (sinh_test_downward): Likewise.
2530 (sinh_upward_test_data): Likewise.
2531 (sinh_test_upward): Likewise.
2532 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2533 (sqrt_test): Use ALL_RM_TEST.
2534 (sqrt_tonearest_test_data): Remove.
2535 (sqrt_test_tonearest): Likewise.
2536 (sqrt_towardzero_test_data): Likewise.
2537 (sqrt_test_towardzero): Likewise.
2538 (sqrt_downward_test_data): Likewise.
2539 (sqrt_test_downward): Likewise.
2540 (sqrt_upward_test_data): Likewise.
2541 (sqrt_test_upward): Likewise.
2542 (tan_test_data): Update call to AUTO_TESTS_f_f.
2543 (tan_test): Use ALL_RM_TEST.
2544 (tan_tonearest_test_data): Remove.
2545 (tan_test_tonearest): Likewise.
2546 (tan_towardzero_test_data): Likewise.
2547 (tan_test_towardzero): Likewise.
2548 (tan_downward_test_data): Likewise.
2549 (tan_test_downward): Likewise.
2550 (tan_upward_test_data): Likewise.
2551 (tan_test_upward): Likewise.
2552 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2553 (tgamma_test_data): Likewise.
2554 (y0_test_data): Likewise.
2555 (y1_test_data): Likewise.
2556 (yn_test_data): Update call to AUTO_TESTS_if_f.
2557 (main): Do not call removed functions.
2558
d71aeee8
JM
25592014-03-19 Joseph Myers <joseph@codesourcery.com>
2560
2561 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2562 (ldexp_test_data): Remove.
2563 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2564 scalbn_test_data.
2565 (scalb_test): Use ALL_RM_TEST.
2566
baaf1ded
AS
25672014-03-19 Andreas Schwab <schwab@suse.de>
2568
2569 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2570
b1115e91
JM
25712014-03-19 Joseph Myers <joseph@codesourcery.com>
2572
2573 [BZ #16649]
2574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2576 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2578 (__ASSUME_PREADV): Undefine.
2579 (__ASSUME_PWRITEV): Likewise.
2580
0283ecca
RM
25812014-03-18 Roland McGrath <roland@hack.frob.com>
2582
7d375303
RM
2583 * bits/mman-linux.h: Add comment about non-Linux use.
2584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2585 bits/mman-linux.h resting place.
2586
0283ecca
RM
2587 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2588 * bits/mman-linux.h: ... here.
2589
aebe1003
AZ
25902014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591
2592 * conform/conformtest.pl: Add standard definition when calling C
2593 preprocessor on data files.
2594 (checknamespace): Remove unused variable.
2595
b29b6bb8
JM
25962014-03-18 Joseph Myers <joseph@codesourcery.com>
2597
2598 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2599 minus_oflow, plus_uflow and minus_uflow in expected results.
2600 * math/libm-test.inc (scalbn_test_data): Add more tests of
2601 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2602 minus_uflow.
2603 (scalbn_test): Use ALL_RM_TEST.
2604 (scalbln_test_data): Add more tests of negative arguments. Use
2605 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2606 (scalbln_test): Use ALL_RM_TEST.
2607
c8f8fa15
RM
26082014-03-18 Roland McGrath <roland@hack.frob.com>
2609
2610 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2611
fede7a5f
WN
26122014-03-18 Will Newton <will.newton@linaro.org>
2613
2614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2615 inaccurate comment.
2616
80cf0a58
JM
26172014-03-18 Joseph Myers <joseph@codesourcery.com>
2618
2619 * Makerules [!subdir] (check-abi): Exit with error status if a
2620 test failed.
2621
b3620862
JM
26222014-03-17 Joseph Myers <joseph@codesourcery.com>
2623
2624 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2625 for rint. Include results for all rounding modes.
2626 (nearbyint_test): Use ALL_RM_TEST.
2627 (rint_test_data): Include all tests used for nearbyint.
2628
788bba36
WN
26292014-03-17 Will Newton <will.newton@linaro.org>
2630
04ec140a
WN
2631 * nptl/sysdeps/pthread/pthread.h: Revert previous
2632 change.
2633
7579d8d5
WN
2634 * sysdeps/generic/ldsodefs.h: Revert previous
2635 change.
2636
c15cf13a
WN
2637 * libio/genops.c: Revert previous change.
2638 * libio/libioP.h: Likewise.
2639 * stdio-common/vfprintf.c: Likewise.
2640
d0ac1324
WN
2641 * sysdeps/generic/math_private.h: Revert previous
2642 change.
2643
9290130a
WN
2644 * sysdeps/generic/math_private.h: Check whether
2645 HAVE_RM_CTX is defined with #ifdef rather
2646 than #if.
2647
afb466fc
WN
2648 * argp/argp-fmtstream.h: Check whether
2649 __STRICT_ANSI__ is defined with #ifdef rather
2650 than #if.
2651 * argp/argp.h: Likewise.
2652
f7efd7c3
WN
2653 * libio/genops.c: Check whether
2654 _IO_JUMPS_OFFSET is defined with #ifdef rather
2655 than #if.
2656 * libio/libioP.h: Likewise.
2657 * stdio-common/vfprintf.c: Likewise.
2658
53f1bed3
WN
2659 * sysdeps/generic/ldsodefs.h: Check whether
2660 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2661 than #if.
2662
788bba36
WN
2663 * nptl/sysdeps/pthread/pthread.h: Check
2664 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2665 its value.
2666
fcd89ebe
SP
26672014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2668
ae42bbc5
SP
2669 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2670 setting O_APPEND.
2671 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2672 test case.
2673
ea33158c
SP
2674 [BZ #16680]
2675 * libio/fileops.c (_IO_file_open): Seek to end of file but
2676 don't cache the offset.
2677 (get_file_offset): Remove function.
2678 (do_ftell): Use cached offset when available.
2679 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2680 don't cache the offset.
2681 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2682 case.
2683 (do_one_test): Call it.
2684 (do_ftell_test): Fix up expected old offset for a+ mode.
2685 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2686 available.
2687
b1dbb426
SP
2688 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2689 up test status with function return status.
2690 (do_write_test): Likewise.
2691 (do_append_test): Likewise.
2692
fcd89ebe
SP
2693 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2694 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2695 Remove.
2696
9962a2d3
JM
26972014-03-17 Joseph Myers <joseph@codesourcery.com>
2698
2699 * math/gen-libm-test.pl (parse_args): Handle results specified for
2700 each rounding mode separately.
2701 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2702 tests and results from lrint_tonearest_test_data,
2703 lrint_towardzero_test_data, lrint_downward_test_data and
2704 lrint_upward_test_data.
2705 (lrint_test): Use ALL_RM_TEST.
2706 (lrint_tonearest_test_data): Remove.
2707 (lrint_test_tonearest): Likewise.
2708 (lrint_towardzero_test_data): Likewise.
2709 (lrint_test_towardzero): Likewise.
2710 (lrint_downward_test_data): Likewise.
2711 (lrint_test_downward): Likewise.
2712 (lrint_upward_test_data): Likewise.
2713 (lrint_test_upward): Likewise.
2714 (llrint_test_data): Merge in per-rounding-mode tests and results
2715 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2716 llrint_downward_test_data and llrint_upward_test_data.
2717 (llrint_test): Use ALL_RM_TEST.
2718 (llrint_tonearest_test_data): Remove.
2719 (llrint_test_tonearest): Likewise.
2720 (llrint_towardzero_test_data): Likewise.
2721 (llrint_test_towardzero): Likewise.
2722 (llrint_downward_test_data): Likewise.
2723 (llrint_test_downward): Likewise.
2724 (llrint_upward_test_data): Likewise.
2725 (llrint_test_upward): Likewise.
2726 (rint_test_data): Merge in per-rounding-mode tests and results
2727 from rint_tonearest_test_data, rint_towardzero_test_data,
2728 rint_downward_test_data and rint_upward_test_data. Add
2729 per-rounding-mode results for tests not in those arrays.
2730 (rint_test): Use ALL_RM_TEST.
2731 (rint_tonearest_test_data): Remove.
2732 (rint_test_tonearest): Likewise.
2733 (rint_towardzero_test_data): Likewise.
2734 (rint_test_towardzero): Likewise.
2735 (rint_downward_test_data): Likewise.
2736 (rint_test_downward): Likewise.
2737 (rint_upward_test_data): Likewise.
2738 (rint_test_upward): Likewise.
2739 (main): Don't call removed functions.
2740
5006148e
RM
27412014-03-14 Roland McGrath <roland@hack.frob.com>
2742
2743 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2744 "Compiled on ..." crapola. It is anti-useful.
2745
d6fe5e58
JM
27462014-03-14 Joseph Myers <joseph@codesourcery.com>
2747
2748 * scripts/evaluate-test.sh: Handle fourth argument to determine
2749 whether test run should stop on failure.
2750 * Makeconfig (stop-on-test-failure): New variable.
2751 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2752 $(stop-on-test-failure).
2753 * Makefile (tests): Give a summary of results from testing and
2754 exit with failure status if they include an ERROR or FAIL.
2755 (xtests): Likewise.
2756 * manual/install.texi (Configuring and compiling): Mention
2757 stop-on-test-failure=y.
2758 * INSTALL: Regenerated.
2759
498a2233
RM
27602014-03-14 Roland McGrath <roland@hack.frob.com>
2761
22dbc19d
RM
2762 * scripts/versionlist.awk: New file.
2763 * Makerules [$(build-shared) = yes]
2764 (postclean-generated): Add Versions.def, not Versions.def.v and
2765 Versions.def.v.i.
2766 ($(common-objpfx)Versions.def.v.i): Target removed.
2767 ($(common-objpfx)Versions.def): New target.
2768 ($(common-objpfx)Versions.all): Depend on that rather that
2769 $(common-objpfx)Versions.def.v.
2770 * Versions.def: File removed.
2771
498a2233
RM
2772 * Makeconfig (+gccwarn): Add -Wundef.
2773 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2774 a dl-sysdep.h breaking its contract.
2775 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2776 * include/stackinfo.h: New file.
2777 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2778 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2779 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2780 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2781 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2782 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2783 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2784 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2785 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2786 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2787 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2788 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2789 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2790 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2791 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2792
c7de5025
AZ
27932014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794
2795 [BZ #16707]
2796 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2797 implementation.
2798 * math/libm-test.inc (round_test_data): Add more tests.
2799
98fb27a3
AZ
2800 [BZ #16706]
2801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2802 implementation.
2803 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2804
374f7f61
AZ
2805 [BZ #16701]
2806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2807 implementation.
2808 * math/libm-test.inc (ceil_test_data): Add more tests.
2809
4655c291
AZ
2810 * math/libm-test.inc (trunc_test_data): Add more tests related to
2811 BZ#16414.
2812
d7329d4b
RM
28132014-03-14 Roland McGrath <roland@hack.frob.com>
2814
2815 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2816 with #if rather than #ifdef.
2817 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2818
aa4de9ce
L
28192014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2822 first. Disable AVX-512 GCC support if assembler doesn't support
2823 it.
2824 * sysdeps/x86_64/configure: Regenerated.
2825
2e03fae7
CD
28262014-03-13 Carlos O'Donell <carlos@redhat.com>
2827
2828 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2829 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2830 (__old_pthread_attr_setstack): Likewise.
2831 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2832 [!_STACK_GROWS_DOWN]: Likewise.
2833
43ca83ec
MF
28342014-03-13 Mike Frysinger <vapier@gentoo.org>
2835
2836 * config.make.in (have-bash2): Delete.
2837 * configure.ac (libc_cv_have_bash2): Delete.
2838 * configure: Regenerate.
2839 * elf/Makefile (common-ldd-rewrite): Rename to ...
2840 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2841 (sh-ldd-rewrite): Delete.
2842 (bash-ldd-rewrite): Delete.
2843 (have-bash2): Delete checks.
57f41c40
AS
2844 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2845 ldd-rewrite.
c66e48b4
MF
2846
2847 * config.make.in (have-ksh): Delete.
2848 (KSH): Delete.
2849 * configure.ac (libc_cv_have_ksh): Delete.
2850 * configure: Regenerate.
2851
b93834ef
MF
2852 * elf/Makefile: Delete $(have-ksh) check.
2853 ($(objpfx)sotruss): Change KSH to BASH.
2854 * elf/sotruss.ksh: Rename to ...
2855 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2856 function style to match POSIX. Drop ksh vim mode setting.
2857
f3a4632a
MF
2858 * manual/time.texi (Specifying the Time Zone with TZ): Change
2859 Tuesday to Thursday.
2860
5896c8bd
MF
2861 * debug/tst-longjmp_chk2.c: Update header comment.
2862 (stackoverflow_handler): Add comment. Call assert on pass value.
2863
2d63a517
IZ
28642014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2865
2866 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2867 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2868 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2869 (La_x86_64_vector): Add zmm.
2870 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2871 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2872 ($(objpfx)tst-audit10): New target.
2873 ($(objpfx)tst-audit10.out): Likewise.
2874 (tst-audit10-ENV): New.
2875 (AVX512-CFLAGS): Likewise.
2876 (CFLAGS-tst-audit10.c): Likewise.
2877 (CFLAGS-tst-auditmod10a.c): Likewise.
2878 (CFLAGS-tst-auditmod10b.c): Likewise.
2879 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2880 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2881 * sysdeps/x86_64/configure: Regenerated.
2882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2883 AVX-512 zmm register support.
2884 (_dl_x86_64_save_sse): Likewise.
2885 (_dl_x86_64_restore_sse): Likewise.
2886 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2887 size vector registers.
2888 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2889 (ZMM_SIZE): Likewise.
2890 * sysdeps/x86_64/tst-audit10.c: New file.
2891 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2892 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2893
44c4e5d5
RM
28942014-03-13 Roland McGrath <roland@hack.frob.com>
2895
2896 * configure.ac (HAVE_EHDR_START): New check.
2897 * configure: Regenerated.
2898 * config.h.in (HAVE_EHDR_START): New #undef.
2899 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2900 assuming the lowest-addressed segment maps the start of the file.
2901
acd6e389
JM
29022014-03-13 Joseph Myers <joseph@codesourcery.com>
2903
2904 * INSTALL: Regenerated.
2905
6f918f36
WN
29062014-03-13 Will Newton <will.newton@linaro.org>
2907
2908 * manual/setjmp.texi (System V contexts): Improve
2909 clarity and grammar of documentation.
2910
798212a0
PP
29112014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2912
2913 [BZ #16381]
798212a0 2914 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2915 (tests-pie): Add tst-pie2.
798212a0
PP
2916 * elf/tst-pie2.c: New file.
2917 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2918 for ET_EXEC.
2919 * elf/rtld.c (map_doit): Load executable as lt_executable.
2920 (dl_main): Likewise.
2921
abe6d90c
JM
29222014-03-12 Joseph Myers <joseph@codesourcery.com>
2923
2924 [BZ #16642]
2925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2926 (__ASSUME_PSELECT): Undefine.
2927
dd3946c6
AZ
29282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929
2930 [BZ #16689]
2931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2932 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2933 static build.
2934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2935 selector for static builds.
2936
c44496df
SP
29372014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2938
2939 [BZ #16695]
2940 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2941 key in the buffer.
2942
27c7220a
AZ
29432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944
57f41c40
AS
2945 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2946 IFUNC selector for static builds.
27c7220a 2947
600fa361
JM
29482014-03-11 Joseph Myers <joseph@codesourcery.com>
2949
76c96cf7
JM
2950 * sysdeps/mips/math_private.h [__mips_hard_float]
2951 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2952 libc_feresetround_mips_ctx.
2953 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2954 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2955 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2956
600fa361
JM
2957 [BZ #16677]
2958 * math/s_nextafter.c (__nextafter): Do not return value from
2959 overflowing computation.
2960 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2961 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2963 Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2965 Likewise.
2966 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2967 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2968
d7706c32
RM
29692014-03-11 Roland McGrath <roland@hack.frob.com>
2970
2971 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2972 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2973 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2974 the new mov targetting sp.
2975
4facea47
AZ
29762014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 [BZ #16683]
2979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2980 Define it for static builds as well.
2981 (NO_BZERO_IMPL): Likewise.
2982
e65caf1f
VR
29832014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2984
2985 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2987 multiarch strspn for PPC64.
2988 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2991 (__libc_ifunc_impl_list): Likewise.
2992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2993 multiarch optimizations
2994 * string/strspn.c (strspn): Using macro to redefine symbol name.
2995
ba9cc071
AZ
29962014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2997 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998
2999 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3000 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3001 multiarch strncat for PPC64.
3002 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3003 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3005 (__libc_ifunc_impl_list): Likewise.
3006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3007 multiarch optimizations
3008
8b4ff974
SP
30092014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3010
3011 [BZ #16639]
3012 * nscd/nscd.service: Make service type forking.
3013
54b46a4b
AZ
30142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3015
3016 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3017 sign in non default rounding modes.
3018 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3019
e9996ef7
JM
30202014-03-08 Joseph Myers <joseph@codesourcery.com>
3021
3022 * math/libm-test.inc (ALL_RM_TEST): New macro.
3023 (ceil_test): Use ALL_RM_TEST.
3024 (cimag_test): Likewise.
3025 (conj_test): Likewise.
3026 (copysign_test): Likewise.
3027 (cproj_test): Likewise.
3028 (creal_test): Likewise.
3029 (fabs_test): Likewise.
3030 (floor_test): Likewise.
3031 (fmax_test): Likewise.
3032 (fmin_test): Likewise.
3033 (fmod_test): Likewise.
3034 (fpclassify_test): Likewise.
3035 (frexp_test): Likewise.
3036 (ilogb_test): Likewise.
3037 (isfinite_test): Likewise.
3038 (finite_test): Likewise.
3039 (isgreater_test): Likewise.
3040 (isgreaterequal_test): Likewise.
3041 (isinf_test): Likewise.
3042 (isless_test): Likewise.
3043 (islessequal_test): Likewise.
3044 (islessgreater_test): Likewise.
3045 (isnan_test): Likewise.
3046 (isnormal_test): Likewise.
3047 (issignaling_test): Likewise.
3048 (isunordered_test): Likewise.
3049 (logb_test): Likewise.
3050 (logb_downward_test_data): Remove.
3051 (logb_test_downward): Likewise.
3052 (lround_test): Use ALL_RM_TEST.
3053 (llround_test): Likewise.
3054 (modf_test): Likewise.
3055 (nexttoward_test): Likewise.
3056 (remainder_test): Likewise.
3057 (drem_test): Likewise.
3058 (remainder_tonearest_test_data): Likewise.
3059 (remainder_test_tonearest): Likewise.
3060 (drem_test_tonearest): Likewise.
3061 (remainder_towardzero_test_data): Likewise.
3062 (remainder_test_towardzero): Likewise.
3063 (drem_test_towardzero): Likewise.
3064 (remainder_downward_test_data): Likewise.
3065 (remainder_test_downward): Likewise.
3066 (drem_test_downward): Likewise.
3067 (remainder_upward_test_data): Likewise.
3068 (remainder_test_upward): Likewise.
3069 (drem_test_upward): Likewise.
3070 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3071 (round_test): Use ALL_RM_TEST.
3072 (signbit_test): Likewise.
3073 (trunc_test): Likewise.
3074 (significand_test): Likewise.
3075 (main): Don't call removed functions.
3076
bc61d27c
JM
30772014-03-07 Joseph Myers <joseph@codesourcery.com>
3078
5c780849
JM
3079 [BZ #16674]
3080 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3081 || __USE_XOPEN2K8].
3082 (ILL_ILLOPN): Likewise.
3083 (ILL_ILLADR): Likewise.
3084 (ILL_ILLTRP): Likewise.
3085 (ILL_PRVOPC): Likewise.
3086 (ILL_PRVREG): Likewise.
3087 (ILL_COPROC): Likewise.
3088 (ILL_BADSTK): Likewise.
3089 (FPE_INTDIV): Likewise.
3090 (FPE_INTOVF): Likewise.
3091 (FPE_FLTDIV): Likewise.
3092 (FPE_FLTOVF): Likewise.
3093 (FPE_FLTUND): Likewise.
3094 (FPE_FLTRES): Likewise.
3095 (FPE_FLTINV): Likewise.
3096 (FPE_FLTSUB): Likewise.
3097 (SEGV_MAPERR): Likewise.
3098 (SEGV_ACCERR): Likewise.
3099 (BUS_ADRALN): Likewise.
3100 (BUS_ADRERR): Likewise.
3101 (BUS_OBJERR): Likewise.
3102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3103 (TRAP_TRACE): Likewise.
3104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3105 __USE_XOPEN2K8].
3106 (CLD_KILLED): Likewise.
3107 (CLD_DUMPED): Likewise.
3108 (CLD_TRAPPED): Likewise.
3109 (CLD_STOPPED): Likewise.
3110 (CLD_CONTINUED): Likewise.
3111 (POLL_IN): Likewise.
3112 (POLL_OUT): Likewise.
3113 (POLL_MSG): Likewise.
3114 (POLL_ERR): Likewise.
3115 (POLL_PRI): Likewise.
3116 (POLL_HUP): Likewise.
3117 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3118 Likewise.
3119 (ILL_ILLOPN): Likewise.
3120 (ILL_ILLADR): Likewise.
3121 (ILL_ILLTRP): Likewise.
3122 (ILL_PRVOPC): Likewise.
3123 (ILL_PRVREG): Likewise.
3124 (ILL_COPROC): Likewise.
3125 (ILL_BADSTK): Likewise.
3126 (FPE_INTDIV): Likewise.
3127 (FPE_INTOVF): Likewise.
3128 (FPE_FLTDIV): Likewise.
3129 (FPE_FLTOVF): Likewise.
3130 (FPE_FLTUND): Likewise.
3131 (FPE_FLTRES): Likewise.
3132 (FPE_FLTINV): Likewise.
3133 (FPE_FLTSUB): Likewise.
3134 (SEGV_MAPERR): Likewise.
3135 (SEGV_ACCERR): Likewise.
3136 (BUS_ADRALN): Likewise.
3137 (BUS_ADRERR): Likewise.
3138 (BUS_OBJERR): Likewise.
3139 (BUS_MCEERR_AR): Likewise.
3140 (BUS_MCEERR_AO): Likewise.
3141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3142 (TRAP_TRACE): Likewise.
3143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3144 __USE_XOPEN2K8].
3145 (CLD_KILLED): Likewise.
3146 (CLD_DUMPED): Likewise.
3147 (CLD_TRAPPED): Likewise.
3148 (CLD_STOPPED): Likewise.
3149 (CLD_CONTINUED): Likewise.
3150 (POLL_IN): Likewise.
3151 (POLL_OUT): Likewise.
3152 (POLL_MSG): Likewise.
3153 (POLL_ERR): Likewise.
3154 (POLL_PRI): Likewise.
3155 (POLL_HUP): Likewise.
3156 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3157 (ILL_ILLOPN): Likewise.
3158 (ILL_ILLADR): Likewise.
3159 (ILL_ILLTRP): Likewise.
3160 (ILL_PRVOPC): Likewise.
3161 (ILL_PRVREG): Likewise.
3162 (ILL_COPROC): Likewise.
3163 (ILL_BADSTK): Likewise.
3164 (FPE_INTDIV): Likewise.
3165 (FPE_INTOVF): Likewise.
3166 (FPE_FLTDIV): Likewise.
3167 (FPE_FLTOVF): Likewise.
3168 (FPE_FLTUND): Likewise.
3169 (FPE_FLTRES): Likewise.
3170 (FPE_FLTINV): Likewise.
3171 (FPE_FLTSUB): Likewise.
3172 (SEGV_MAPERR): Likewise.
3173 (SEGV_ACCERR): Likewise.
3174 (BUS_ADRALN): Likewise.
3175 (BUS_ADRERR): Likewise.
3176 (BUS_OBJERR): Likewise.
3177 (BUS_MCEERR_AR): Likewise.
3178 (BUS_MCEERR_AO): Likewise.
3179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3180 (TRAP_TRACE): Likewise.
3181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3182 __USE_XOPEN2K8].
3183 (CLD_KILLED): Likewise.
3184 (CLD_DUMPED): Likewise.
3185 (CLD_TRAPPED): Likewise.
3186 (CLD_STOPPED): Likewise.
3187 (CLD_CONTINUED): Likewise.
3188 (POLL_IN): Likewise.
3189 (POLL_OUT): Likewise.
3190 (POLL_MSG): Likewise.
3191 (POLL_ERR): Likewise.
3192 (POLL_PRI): Likewise.
3193 (POLL_HUP): Likewise.
3194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3195 Likewise.
3196 (ILL_ILLOPN): Likewise.
3197 (ILL_ILLADR): Likewise.
3198 (ILL_ILLTRP): Likewise.
3199 (ILL_PRVOPC): Likewise.
3200 (ILL_PRVREG): Likewise.
3201 (ILL_COPROC): Likewise.
3202 (ILL_BADSTK): Likewise.
3203 (ILL_BADIADDR): Likewise.
3204 (ILL_BREAK): Likewise.
3205 (FPE_INTDIV): Likewise.
3206 (FPE_INTOVF): Likewise.
3207 (FPE_FLTDIV): Likewise.
3208 (FPE_FLTOVF): Likewise.
3209 (FPE_FLTUND): Likewise.
3210 (FPE_FLTRES): Likewise.
3211 (FPE_FLTINV): Likewise.
3212 (FPE_FLTSUB): Likewise.
3213 (FPE_DECOVF): Likewise.
3214 (FPE_DECDIV): Likewise.
3215 (FPE_DECERR): Likewise.
3216 (FPE_INVASC): Likewise.
3217 (FPE_INVDEC): Likewise.
3218 (SEGV_MAPERR): Likewise.
3219 (SEGV_ACCERR): Likewise.
3220 (SEGV_PSTKOVF): Likewise.
3221 (BUS_ADRALN): Likewise.
3222 (BUS_ADRERR): Likewise.
3223 (BUS_OBJERR): Likewise.
3224 (BUS_MCEERR_AR): Likewise.
3225 (BUS_MCEERR_AO): Likewise.
3226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3227 (TRAP_TRACE): Likewise.
3228 (TRAP_BRANCH): Likewise.
3229 (TRAP_HWBKPT): Likewise.
3230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3231 __USE_XOPEN2K8].
3232 (CLD_KILLED): Likewise.
3233 (CLD_DUMPED): Likewise.
3234 (CLD_TRAPPED): Likewise.
3235 (CLD_STOPPED): Likewise.
3236 (CLD_CONTINUED): Likewise.
3237 (POLL_IN): Likewise.
3238 (POLL_OUT): Likewise.
3239 (POLL_MSG): Likewise.
3240 (POLL_ERR): Likewise.
3241 (POLL_PRI): Likewise.
3242 (POLL_HUP): Likewise.
3243 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3244 (ILL_ILLOPN): Likewise.
3245 (ILL_ILLADR): Likewise.
3246 (ILL_ILLTRP): Likewise.
3247 (ILL_PRVOPC): Likewise.
3248 (ILL_PRVREG): Likewise.
3249 (ILL_COPROC): Likewise.
3250 (ILL_BADSTK): Likewise.
3251 (FPE_INTDIV): Likewise.
3252 (FPE_INTOVF): Likewise.
3253 (FPE_FLTDIV): Likewise.
3254 (FPE_FLTOVF): Likewise.
3255 (FPE_FLTUND): Likewise.
3256 (FPE_FLTRES): Likewise.
3257 (FPE_FLTINV): Likewise.
3258 (FPE_FLTSUB): Likewise.
3259 (SEGV_MAPERR): Likewise.
3260 (SEGV_ACCERR): Likewise.
3261 (BUS_ADRALN): Likewise.
3262 (BUS_ADRERR): Likewise.
3263 (BUS_OBJERR): Likewise.
3264 (BUS_MCEERR_AR): Likewise.
3265 (BUS_MCEERR_AO): Likewise.
3266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3267 (TRAP_TRACE): Likewise.
3268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3269 __USE_XOPEN2K8].
3270 (CLD_KILLED): Likewise.
3271 (CLD_DUMPED): Likewise.
3272 (CLD_TRAPPED): Likewise.
3273 (CLD_STOPPED): Likewise.
3274 (CLD_CONTINUED): Likewise.
3275 (POLL_IN): Likewise.
3276 (POLL_OUT): Likewise.
3277 (POLL_MSG): Likewise.
3278 (POLL_ERR): Likewise.
3279 (POLL_PRI): Likewise.
3280 (POLL_HUP): Likewise.
3281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3282 (ILL_ILLOPN): Likewise.
3283 (ILL_ILLADR): Likewise.
3284 (ILL_ILLTRP): Likewise.
3285 (ILL_PRVOPC): Likewise.
3286 (ILL_PRVREG): Likewise.
3287 (ILL_COPROC): Likewise.
3288 (ILL_BADSTK): Likewise.
3289 (FPE_INTDIV): Likewise.
3290 (FPE_INTOVF): Likewise.
3291 (FPE_FLTDIV): Likewise.
3292 (FPE_FLTOVF): Likewise.
3293 (FPE_FLTUND): Likewise.
3294 (FPE_FLTRES): Likewise.
3295 (FPE_FLTINV): Likewise.
3296 (FPE_FLTSUB): Likewise.
3297 (SEGV_MAPERR): Likewise.
3298 (SEGV_ACCERR): Likewise.
3299 (BUS_ADRALN): Likewise.
3300 (BUS_ADRERR): Likewise.
3301 (BUS_OBJERR): Likewise.
3302 (BUS_MCEERR_AR): Likewise.
3303 (BUS_MCEERR_AO): Likewise.
3304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3305 (TRAP_TRACE): Likewise.
3306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3307 __USE_XOPEN2K8].
3308 (CLD_KILLED): Likewise.
3309 (CLD_DUMPED): Likewise.
3310 (CLD_TRAPPED): Likewise.
3311 (CLD_STOPPED): Likewise.
3312 (CLD_CONTINUED): Likewise.
3313 (POLL_IN): Likewise.
3314 (POLL_OUT): Likewise.
3315 (POLL_MSG): Likewise.
3316 (POLL_ERR): Likewise.
3317 (POLL_PRI): Likewise.
3318 (POLL_HUP): Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3320 (ILL_ILLOPN): Likewise.
3321 (ILL_ILLADR): Likewise.
3322 (ILL_ILLTRP): Likewise.
3323 (ILL_PRVOPC): Likewise.
3324 (ILL_PRVREG): Likewise.
3325 (ILL_COPROC): Likewise.
3326 (ILL_BADSTK): Likewise.
3327 (FPE_INTDIV): Likewise.
3328 (FPE_INTOVF): Likewise.
3329 (FPE_FLTDIV): Likewise.
3330 (FPE_FLTOVF): Likewise.
3331 (FPE_FLTUND): Likewise.
3332 (FPE_FLTRES): Likewise.
3333 (FPE_FLTINV): Likewise.
3334 (FPE_FLTSUB): Likewise.
3335 (SEGV_MAPERR): Likewise.
3336 (SEGV_ACCERR): Likewise.
3337 (BUS_ADRALN): Likewise.
3338 (BUS_ADRERR): Likewise.
3339 (BUS_OBJERR): Likewise.
3340 (BUS_MCEERR_AR): Likewise.
3341 (BUS_MCEERR_AO): Likewise.
3342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3343 (TRAP_TRACE): Likewise.
3344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3345 __USE_XOPEN2K8].
3346 (CLD_KILLED): Likewise.
3347 (CLD_DUMPED): Likewise.
3348 (CLD_TRAPPED): Likewise.
3349 (CLD_STOPPED): Likewise.
3350 (CLD_CONTINUED): Likewise.
3351 (POLL_IN): Likewise.
3352 (POLL_OUT): Likewise.
3353 (POLL_MSG): Likewise.
3354 (POLL_ERR): Likewise.
3355 (POLL_PRI): Likewise.
3356 (POLL_HUP): Likewise.
3357 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3358 (ILL_ILLOPN): Likewise.
3359 (ILL_ILLADR): Likewise.
3360 (ILL_ILLTRP): Likewise.
3361 (ILL_PRVOPC): Likewise.
3362 (ILL_PRVREG): Likewise.
3363 (ILL_COPROC): Likewise.
3364 (ILL_BADSTK): Likewise.
3365 (ILL_DBLFLT): Likewise.
3366 (ILL_HARDWALL): Likewise.
3367 (FPE_INTDIV): Likewise.
3368 (FPE_INTOVF): Likewise.
3369 (FPE_FLTDIV): Likewise.
3370 (FPE_FLTOVF): Likewise.
3371 (FPE_FLTUND): Likewise.
3372 (FPE_FLTRES): Likewise.
3373 (FPE_FLTINV): Likewise.
3374 (FPE_FLTSUB): Likewise.
3375 (SEGV_MAPERR): Likewise.
3376 (SEGV_ACCERR): Likewise.
3377 (BUS_ADRALN): Likewise.
3378 (BUS_ADRERR): Likewise.
3379 (BUS_OBJERR): Likewise.
3380 (BUS_MCEERR_AR): Likewise.
3381 (BUS_MCEERR_AO): Likewise.
3382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3383 (TRAP_TRACE): Likewise.
3384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3385 __USE_XOPEN2K8].
3386 (CLD_KILLED): Likewise.
3387 (CLD_DUMPED): Likewise.
3388 (CLD_TRAPPED): Likewise.
3389 (CLD_STOPPED): Likewise.
3390 (CLD_CONTINUED): Likewise.
3391 (POLL_IN): Likewise.
3392 (POLL_OUT): Likewise.
3393 (POLL_MSG): Likewise.
3394 (POLL_ERR): Likewise.
3395 (POLL_PRI): Likewise.
3396 (POLL_HUP): Likewise.
3397 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3398 (ILL_ILLOPN): Likewise.
3399 (ILL_ILLADR): Likewise.
3400 (ILL_ILLTRP): Likewise.
3401 (ILL_PRVOPC): Likewise.
3402 (ILL_PRVREG): Likewise.
3403 (ILL_COPROC): Likewise.
3404 (ILL_BADSTK): Likewise.
3405 (FPE_INTDIV): Likewise.
3406 (FPE_INTOVF): Likewise.
3407 (FPE_FLTDIV): Likewise.
3408 (FPE_FLTOVF): Likewise.
3409 (FPE_FLTUND): Likewise.
3410 (FPE_FLTRES): Likewise.
3411 (FPE_FLTINV): Likewise.
3412 (FPE_FLTSUB): Likewise.
3413 (SEGV_MAPERR): Likewise.
3414 (SEGV_ACCERR): Likewise.
3415 (BUS_ADRALN): Likewise.
3416 (BUS_ADRERR): Likewise.
3417 (BUS_OBJERR): Likewise.
3418 (BUS_MCEERR_AR): Likewise.
3419 (BUS_MCEERR_AO): Likewise.
3420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3421 (TRAP_TRACE): Likewise.
3422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3423 __USE_XOPEN2K8].
3424 (CLD_KILLED): Likewise.
3425 (CLD_DUMPED): Likewise.
3426 (CLD_TRAPPED): Likewise.
3427 (CLD_STOPPED): Likewise.
3428 (CLD_CONTINUED): Likewise.
3429 (POLL_IN): Likewise.
3430 (POLL_OUT): Likewise.
3431 (POLL_MSG): Likewise.
3432 (POLL_ERR): Likewise.
3433 (POLL_PRI): Likewise.
3434 (POLL_HUP): Likewise.
3435 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3436 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3437
bc61d27c
JM
3438 [BZ #16670]
3439 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3440 before #include of <time.h>.
3441 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3442 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3443 (test-xfail-UNIX98/sched.h/conform): Likewise.
3444
302949e2
MS
34452014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3446
3447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3448 error absence of trapping exception support.
3449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3450
a00f522a
JM
34512014-03-07 Joseph Myers <joseph@codesourcery.com>
3452
6f99f280
JM
3453 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3454 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3455 * timezone/Makefile (testdata): Move definition above include of
3456 Rules.
3457 (test-zones): New variable.
3458 (tests-special): Add zone files.
3459 (build-testdata): Use $(evaluate-test).
3460
0b20a9e8
JM
3461 * elf/Makefile (tests-special): Rename tests to end with .out.
3462 ($(objpfx)noload-mem): Likewise.
3463 ($(objpfx)tst-leaks1-mem): Likewise.
3464 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3465 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3466 $(objpfx)test-iconvconfig.out.
3467 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3468 set -e inside subshell and redirect output to file.
3469 * iconvdata/Makefile (generated): Rename tests to end with .out.
3470 Correct type.
3471 (tests-special): Rename tests to end with .out.
3472 ($(objpfx)mtrace-tst-loading): Likewise.
3473 * intl/Makefile (generated): Likewise.
3474 (tests-special): Likewise.
3475 ($(objpfx)mtrace-tst-gettext): Likewise.
3476 * misc/Makefile (generated): Likewise.
3477 (tests-special): Likewise.
3478 ($(objpfx)tst-error1-mem): Likewise.
3479 * nptl/Makefile (tests-special): Likewise.
3480 ($(objpfx)tst-stack3-mem): Likewise.
3481 (generated): Likewise.
3482 * posix/Makefile (generated): Likewise.
3483 (tests-special): Likewise.
3484 (xtests-special): Likewise.
3485 ($(objpfx)tst-fnmatch-mem): Likewise.
3486 ($(objpfx)bug-regex2-mem): Likewise.
3487 ($(objpfx)bug-regex14-mem): Likewise.
3488 ($(objpfx)bug-regex21-mem): Likewise.
3489 ($(objpfx)bug-regex31-mem): Likewise.
3490 ($(objpfx)tst-vfork3-mem): Likewise.
3491 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3492 ($(objpfx)tst-pcre-mem): Likewise.
3493 ($(objpfx)tst-boost-mem): Likewise.
3494 ($(objpfx)bug-ga2-mem): Likewise.
3495 ($(objpfx)bug-glob2-mem): Likewise.
3496 * resolv/Makefile (generate): Likewise.
3497 (tests-special): Likewise.
3498 (xtests-special): Likewise.
3499 (generated): Likewise.
3500 ($(objpfx)mtrace-tst-leaks): Likewise.
3501 ($(objpfx)mtrace-tst-leaks2): Likewise.
3502
265d52ab
JM
3503 * scripts/merge-test-results.sh: New file.
3504 * Makefile (tests-special-notdir): New variable.
3505 (tests): Run merge-test-results.sh.
3506 (xtests): Likewise.
3507 * Rules (tests-special-notdir): New variable.
3508 (xtests-special-notdir): Likewise.
3509 (tests): Run merge-test-results.sh
3510 (xtests): Likewise.
3511
54ee292d
JM
3512 * Makeconfig (test-xfail-name): New variable.
3513 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3514 compute variable name for expected failures.
3515 * conform/Makefile (conformtest-headers-data): New variable.
3516 (conformtest-standards): Likewise.
3517 (conformtest-headers-ISO): Likewise.
3518 (conformtest-headers-ISO99): Likewise.
3519 (conformtest-headers-ISO11): Likewise.
3520 (conformtest-headers-POSIX): Likewise.
3521 (conformtest-headers-XPG3): Likewise.
3522 (conformtest-headers-XPG4): Likewise.
3523 (conformtest-headers-UNIX98): Likewise.
3524 (conformtest-headers-XOPEN2K): Likewise.
3525 (conformtest-headers-POSIX2008): Likewise.
3526 (conformtest-headers-XOPEN2K8): Likewise.
3527 (conformtest-header-list-base): Likewise.
3528 (conformtest-header-list-tests): Likewise.
3529 (conformtest-header-base): Likewise.
3530 (conformtest-header-tests): Likewise.
3531 (tests-special): Add $(conformtest-header-list-tests). If
3532 [$(fast-check) && !$(cross-compiling)], add
3533 $(conformtest-header-tests) instead of
3534 $(objpfx)run-conformtest.out.
3535 (generated): Add $(conformtest-header-list-base). If
3536 [$(fast-check) && !$(cross-compiling)], add
3537 $(conformtest-header-base). Remove previous setting.
3538 ($(conformtest-header-list-tests)): New target.
3539 (test-xfail-run-conformtest): Remove variable.
3540 ($(objpfx)run-conformtest.out): Remove target.
3541 (test-xfail-ISO11/complex.h/conform): New variable.
3542 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3543 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3544 (test-xfail-XPG3/varargs.h/conform): Likewise.
3545 (test-xfail-XPG4/varargs.h/conform): Likewise.
3546 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3547 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3548 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3549 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3550 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3551 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3552 (test-xfail-XPG3/ftw.h/conform): Likewise.
3553 (test-xfail-XPG3/grp.h/conform): Likewise.
3554 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3555 (test-xfail-XPG3/limits.h/conform): Likewise.
3556 (test-xfail-XPG3/pwd.h/conform): Likewise.
3557 (test-xfail-XPG3/search.h/conform): Likewise.
3558 (test-xfail-XPG3/signal.h/conform): Likewise.
3559 (test-xfail-XPG3/stdio.h/conform): Likewise.
3560 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3561 (test-xfail-XPG3/string.h/conform): Likewise.
3562 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3563 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3564 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3565 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3566 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3567 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3568 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3569 (test-xfail-XPG3/termios.h/conform): Likewise.
3570 (test-xfail-XPG3/time.h/conform): Likewise.
3571 (test-xfail-XPG3/unistd.h/conform): Likewise.
3572 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3573 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3574 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3575 (test-xfail-XPG4/netdb.h/conform): Likewise.
3576 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3577 (test-xfail-XPG4/signal.h/conform): Likewise.
3578 (test-xfail-XPG4/stdio.h/conform): Likewise.
3579 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3580 (test-xfail-XPG4/stropts.h/conform): Likewise.
3581 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3582 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3583 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3584 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3585 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3586 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3587 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3588 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3589 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3590 (test-xfail-XPG4/termios.h/conform): Likewise.
3591 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3592 (test-xfail-XPG4/unistd.h/conform): Likewise.
3593 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3594 (test-xfail-POSIX/sched.h/conform): Likewise.
3595 (test-xfail-POSIX/signal.h/conform): Likewise.
3596 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3597 (test-xfail-POSIX/tar.h/conform): Likewise.
3598 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3599 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3600 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3601 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3602 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3603 (test-xfail-UNIX98/sched.h/conform): Likewise.
3604 (test-xfail-UNIX98/signal.h/conform): Likewise.
3605 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3606 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3607 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3608 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3609 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3610 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3611 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3612 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3613 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3614 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3615 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3616 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3617 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3618 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3619 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3620 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3621 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3622 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3623 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3624 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3625 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3626 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3627 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3628 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3629 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3630 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3631 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3632 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3634 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3635 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3636 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3637 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3638 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3639 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3640 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3641 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3642 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3643 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3644 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3645 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3646 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3647 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3648 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3649 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3650 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3651 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3652 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3653 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3654 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3655 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3656 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3657 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3658 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3659 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3660 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3661 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3662 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3663 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3664 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3665 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3666 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3667 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3668 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3669 (conformtest-cc-flags): Likewise.
3670 ($(conformtest-header-tests): New target.
3671 * conform/check-header-lists.sh: New file.
3672 * conform/run-conformtest.sh: Remove.
3673
a00f522a
JM
3674 * conform/conformtest.pl: Allow ' and \ in values given for
3675 constants.
3676 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3677 inclusion.
3678 [POSIX] (sys/types.h): Likewise.
3679 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3680 inclusion.
3681 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3682 inclusion.
3683 * conform/data/signal.h-data (SIGIO): Remove expectation.
3684 [XPG3] (SIGBUS): Do not expect.
3685 [POSIX || XPG3] (SIGPOLL): Likewise.
3686 [POSIX || XPG3] (SIGPROF): Likewise.
3687 [POSIX || XPG3] (SIGSYS): Likewise.
3688 [XPG3] (SIGTRAP): Likewise.
3689 [POSIX || XPG3] (SIGURG): Likewise.
3690 [POSIX || XPG3] (SIGVTALRM): Likewise.
3691 [POSIX || XPG3] (SIGXCPU): Likewise.
3692 [POSIX || XPG3] (SIGXFSZ): Likewise.
3693 [POSIX] (SA_SIGINFO): Expect.
3694 [XPG3] (siginfo_t): Do not expect type or contents.
3695 [POSIX] (si_pid): Do not expect element.
3696 [POSIX] (si_uid): Likewise.
3697 [POSIX] (si_addr): Likewise.
3698 [POSIX] (si_status): Likewise.
3699 [POSIX] (si_band): Likewise.
3700 [XPG4] (si_value): Likewise.
3701 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3702 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3703 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3704 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3705 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3706 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3707 [POSIX || XPG3] (ILL_COPROC): Likewise.
3708 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3709 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3710 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3711 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3712 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3713 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3714 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3715 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3716 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3717 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3718 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3719 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3720 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3721 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3722 [POSIX || XPG3] (CLD_EXITED): Likewise.
3723 [POSIX || XPG3] (CLD_KILLED): Likewise.
3724 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3725 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3726 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3727 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3728 [POSIX || XPG3] (POLL_IN): Likewise.
3729 [POSIX || XPG3] (POLL_OUT): Likewise.
3730 [POSIX || XPG3] (POLL_MSG): Likewise.
3731 [POSIX || XPG3] (POLL_ERR): Likewise.
3732 [POSIX || XPG3] (POLL_PRI): Likewise.
3733 [POSIX || XPG3] (POLL_HUP): Likewise.
3734 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3735 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3736 (SIG*): Do not allow.
3737 [XPG3] (si_*): Likewise.
3738 [XPG3] (SI_*): Likewise.
3739 [XPG3 || XPG4] (sigev_*): Likewise.
3740 [XPG3 || XPG4] (SIGEV_*): Likewise.
3741 [XPG3 || XPG4] (sival_*): Likewise.
3742 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3743 [POSIX || XPG3] (BUS_*): Likewise.
3744 [POSIX || XPG3] (CLD_*): Likewise.
3745 [POSIX || XPG3] (FPE_*): Likewise.
3746 [POSIX || XPG3] (ILL_*): Likewise.
3747 [POSIX || XPG3] (POLL_*): Likewise.
3748 [POSIX || XPG3] (SEGV_*): Likewise.
3749 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3750 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3751 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3752 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3753 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3754 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3755 Specify type and value.
3756 (TVERSLEN): Likewise.
3757 (REGTYPE): Likewise.
3758 (AREGTYPE): Likewise.
3759 (LNKTYPE): Likewise.
3760 (SYMTYPE): Likewise.
3761 (CHRTYPE): Likewise.
3762 (BLKTYPE): Likewise.
3763 (DIRTYPE): Likewise.
3764 (FIFOTYPE): Likewise.
3765 (CONTTYPE): Likewise.
3766 (TSUID): Likewise.
3767 (TSGID): Likewise.
3768 (TSVTX): Likewise.
3769 (TUREAD): Likewise.
3770 (TUWRITE): Likewise.
3771 (TUEXEC): Likewise.
3772 (TGREAD): Likewise.
3773 (TGWRITE): Likewise.
3774 (TGEXEC): Likewise.
3775 (TOREAD): Likewise.
3776 (TOWRITE): Likewise.
3777 (TOEXEC): Likewise.
3778 [POSIX] (TSVTX): Expect constant.
3779
aa97dee1
JM
37802014-03-06 Joseph Myers <joseph@codesourcery.com>
3781
f214606a
JM
3782 * Makefile (tests): Change dependencies to ....
3783 (tests-special): ... additions to this variable.
3784 (tests): Depend on $(tests-special).
3785 * Makerules (check-abi-list): New variable.
3786 (check-abi): Depend on $(check-abi-list).
3787 [$(subdir) = elf] (tests-special): Add
3788 $(objpfx)check-abi-libc.out.
3789 [$(build-shared) = yes && subdir] (tests-special): Add
3790 $(check-abi-list).
3791 [$(build-shared) = yes && subdir] (tests): Do not depend on
3792 check-abi.
3793 * Rules (tests): Depend on $(tests-special).
3794 (xtests): Depend on $(xtests-special).
3795 * catgets/Makefile (tests): Change dependencies to ....
3796 (tests-special): ... additions to this variable.
3797 * conform/Makefile (tests): Change dependencies to ....
3798 (tests-special): ... additions to this variable.
3799 * elf/Makefile (tests): Change dependencies to ....
3800 (tests-special): ... additions to this variable.
3801 * grp/Makefile (tests): Change dependencies to ....
3802 (tests-special): ... additions to this variable.
3803 * iconv/Makefile (xtests): Change dependencies to ....
3804 (xtests-special): ... additions to this variable.
3805 * iconvdata/Makefile (tests): Change dependencies to ....
3806 (tests-special): ... additions to this variable.
3807 * intl/Makefile (tests): Change dependencies to ....
3808 (tests-special): ... additions to this variable. Also add
3809 $(objpfx)tst-gettext.out.
3810 * io/Makefile (tests): Change dependencies to ....
3811 (tests-special): ... additions to this variable.
3812 * libio/Makefile (tests): Change dependencies to ....
3813 (tests-special): ... additions to this variable.
3814 * malloc/Makefile (tests): Change dependencies to ....
3815 (tests-special): ... additions to this variable.
3816 * misc/Makefile (tests): Change dependencies to ....
3817 (tests-special): ... additions to this variable.
3818 * nptl/Makefile (tests): Change dependencies to ....
3819 (tests-special): ... additions to this variable.
3820 * nptl_db/Makefile (tests): Change dependencies to ....
3821 (tests-special): ... additions to this variable.
3822 * posix/Makefile (tests): Change dependencies to ....
3823 (tests-special): ... additions to this variable.
3824 (xtests): Change dependencies to ....
3825 (xtests-special): ... additions to this variable.
3826 * resolv/Makefile (tests): Change dependencies to ....
3827 (tests-special): ... additions to this variable.
3828 (xtests): Change dependencies to ....
3829 (xtests-special): ... additions to this variable.
3830 * stdio-common/Makefile (tests): Change dependencies to ....
3831 (tests-special): ... additions to this variable.
3832 (do-tst-unbputc): Remove target.
3833 (do-tst-printf): Likewise.
3834 * stdlib/Makefile (tests): Change dependencies to ....
3835 (tests-special): ... additions to this variable.
3836 * string/Makefile (tests): Change dependencies to ....
3837 (tests-special): ... additions to this variable.
3838 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3839 (tests-special): ... additions to this variable.
3840
81700b53
JM
3841 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3842 whole file.
3843 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3844 whole file.
3845 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3846 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3847
2ea18461
JM
3848 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3849 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3850 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3851 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3852 * conform/data/libgen.h-data [XPG3]: Likewise.
3853 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3854 * conform/data/ndbm.h-data [XPG3]: Likewise.
3855 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3856 * conform/data/netdb.h-data [XPG3]: Likewise.
3857 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3858 * conform/data/poll.h-data [XPG3]: Likewise.
3859 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3860 * conform/data/strings.h-data [XPG3]: Likewise.
3861 * conform/data/stropts.h-data [XPG3]: Likewise.
3862 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3863 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3864 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3865 Likewise.
3866 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3867 * conform/data/sys/time.h-data [XPG3]: Likewise.
3868 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3869 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3870 * conform/data/sys/un.h-data [XPG3]: Likewise.
3871 * conform/data/syslog.h-data [XPG3]: Likewise.
3872 * conform/data/ucontext.h-data [XPG3]: Likewise.
3873 * conform/data/utmpx.h-data [XPG3]: Likewise.
3874 * conform/data/varargs.h-data [UNIX98]: Enable file.
3875
355bc986
JM
3876 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3877
215db402
JM
3878 * math/libm-test.inc (struct test_f_f_data): Move expected results
3879 into structure for each rounding mode.
3880 (struct test_ff_f_data): Likewise.
3881 (struct test_ff_f_data_nexttoward): Likewise.
3882 (struct test_fi_f_data): Likewise.
3883 (struct test_fl_f_data): Likewise.
3884 (struct test_if_f_data): Likewise.
3885 (struct test_fff_f_data): Likewise.
3886 (struct test_c_f_data): Likewise.
3887 (struct test_f_f1_data): Likewise.
3888 (struct test_fF_f1_data): Likewise.
3889 (struct test_ffI_f1_data): Likewise.
3890 (struct test_c_c_data): Likewise.
3891 (struct test_cc_c_data): Likewise.
3892 (struct test_f_i_data): Likewise.
3893 (struct test_ff_i_data): Likewise.
3894 (struct test_f_l_data): Likewise.
3895 (struct test_f_L_data): Likewise.
3896 (struct test_fFF_11_data): Likewise.
3897 (RM_): New macro.
3898 (RM_FE_DOWNWARD): Likewise.
3899 (RM_FE_TONEAREST): Likewise.
3900 (RM_FE_TOWARDZERO): Likewise.
3901 (RM_FE_UPWARD): Likewise.
3902 (RUN_TEST_LOOP_f_f): Update references to expected results.
3903 (RUN_TEST_LOOP_2_f): Likewise.
3904 (RUN_TEST_LOOP_fff_f): Likewise.
3905 (RUN_TEST_LOOP_c_f): Likewise.
3906 (RUN_TEST_LOOP_f_f1): Likewise.
3907 (RUN_TEST_LOOP_fF_f1): Likewise.
3908 (RUN_TEST_LOOP_fI_f1): Likewise.
3909 (RUN_TEST_LOOP_ffI_f1): Likewise.
3910 (RUN_TEST_LOOP_c_c): Likewise.
3911 (RUN_TEST_LOOP_cc_c): Likewise.
3912 (RUN_TEST_LOOP_f_i): Likewise.
3913 (RUN_TEST_LOOP_f_i_tg): Likewise.
3914 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3915 (RUN_TEST_LOOP_f_b): Likewise.
3916 (RUN_TEST_LOOP_f_b_tg): Likewise.
3917 (RUN_TEST_LOOP_f_l): Likewise.
3918 (RUN_TEST_LOOP_f_L): Likewise.
3919 (RUN_TEST_LOOP_fFF_11): Likewise.
3920 * math/gen-libm-test.pl (parse_args): Output four copies of
3921 expected results for each test.
3922
67737b8f
JM
3923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3924 (__ASSUME_UTIMES): Remove.
3925 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3926 (__ASSUME_UTIMES): Likewise.
3927
aa97dee1
JM
3928 * math/gen-auto-libm-tests.c: Update comment on output format.
3929 (output_for_one_input_case): Generate before-rounding and
3930 after-rounding information as conditions on output flags not
3931 floating-point format.
3932 * math/auto-libm-test-out: Regenerated.
3933 * math/gen-libm-test.pl (cond_value): New function.
3934 (or_cond_value): Use cond_value.
3935 (generate_testfile): Handle conditional exceptions.
3936
e6b6a857
JM
39372014-03-05 Joseph Myers <joseph@codesourcery.com>
3938
2f0a0f44
JM
3939 * math/libm-test.inc (max_valid_error): New variable.
3940 (init_max_error): Take new argument specifying whether function
3941 results are exactly determined. Set max_valid_error and bound
3942 other variables for errors based on this argument.
3943 (set_max_error): Do not record results above max_valid_error.
3944 (check_float_internal): Only accept errors of up to 0.5ulps if
3945 also at most max_valid_error.
3946 (START): Take new argument EXACT and pass it to init_max_error.
3947 (acos_test): Update call to START.
3948 (acos_test_tonearest): Likewise.
3949 (acos_test_towardzero): Likewise.
3950 (acos_test_downward): Likewise.
3951 (acos_test_upward): Likewise.
3952 (acosh_test): Likewise.
3953 (asin_test): Likewise.
3954 (asin_test_tonearest): Likewise.
3955 (asin_test_towardzero): Likewise.
3956 (asin_test_downward): Likewise.
3957 (asin_test_upward): Likewise.
3958 (asinh_test): Likewise.
3959 (atan_test): Likewise.
3960 (atanh_test): Likewise.
3961 (atan2_test): Likewise.
3962 (cabs_test): Likewise.
3963 (cacos_test): Likewise.
3964 (cacosh_test): Likewise.
3965 (carg_test): Likewise.
3966 (casin_test): Likewise.
3967 (casinh_test): Likewise.
3968 (catan_test): Likewise.
3969 (catanh_test): Likewise.
3970 (cbrt_test): Likewise.
3971 (ccos_test): Likewise.
3972 (ccosh_test): Likewise.
3973 (ceil_test): Likewise.
3974 (cexp_test): Likewise.
3975 (cimag_test): Likewise.
3976 (clog_test): Likewise.
3977 (clog10_test): Likewise.
3978 (conj_test): Likewise.
3979 (copysign_test): Likewise.
3980 (cos_test): Likewise.
3981 (cos_test_tonearest): Likewise.
3982 (cos_test_towardzero): Likewise.
3983 (cos_test_downward): Likewise.
3984 (cos_test_upward): Likewise.
3985 (cosh_test): Likewise.
3986 (cosh_test_tonearest): Likewise.
3987 (cosh_test_towardzero): Likewise.
3988 (cosh_test_downward): Likewise.
3989 (cosh_test_upward): Likewise.
3990 (cpow_test): Likewise.
3991 (cproj_test): Likewise.
3992 (creal_test): Likewise.
3993 (csin_test): Likewise.
3994 (csinh_test): Likewise.
3995 (csqrt_test): Likewise.
3996 (ctan_test): Likewise.
3997 (ctan_test_tonearest): Likewise.
3998 (ctan_test_towardzero): Likewise.
3999 (ctan_test_downward): Likewise.
4000 (ctan_test_upward): Likewise.
4001 (ctanh_test): Likewise.
4002 (ctanh_test_tonearest): Likewise.
4003 (ctanh_test_towardzero): Likewise.
4004 (ctanh_test_downward): Likewise.
4005 (ctanh_test_upward): Likewise.
4006 (erf_test): Likewise.
4007 (erfc_test): Likewise.
4008 (exp_test): Likewise.
4009 (exp_test_tonearest): Likewise.
4010 (exp_test_towardzero): Likewise.
4011 (exp_test_downward): Likewise.
4012 (exp_test_upward): Likewise.
4013 (exp10_test): Likewise.
4014 (exp10_test_tonearest): Likewise.
4015 (exp10_test_towardzero): Likewise.
4016 (exp10_test_downward): Likewise.
4017 (exp10_test_upward): Likewise.
4018 (pow10_test): Likewise.
4019 (exp2_test): Likewise.
4020 (expm1_test): Likewise.
4021 (expm1_test_tonearest): Likewise.
4022 (expm1_test_towardzero): Likewise.
4023 (expm1_test_downward): Likewise.
4024 (expm1_test_upward): Likewise.
4025 (fabs_test): Likewise.
4026 (fdim_test): Likewise.
4027 (floor_test): Likewise.
4028 (fma_test): Likewise.
4029 (fma_test_towardzero): Likewise.
4030 (fma_test_downward): Likewise.
4031 (fma_test_upward): Likewise.
4032 (fmax_test): Likewise.
4033 (fmin_test): Likewise.
4034 (fmod_test): Likewise.
4035 (fpclassify_test): Likewise.
4036 (frexp_test): Likewise.
4037 (hypot_test): Likewise.
4038 (ilogb_test): Likewise.
4039 (isfinite_test): Likewise.
4040 (finite_test): Likewise.
4041 (isgreater_test): Likewise.
4042 (isgreaterequal_test): Likewise.
4043 (isinf_test): Likewise.
4044 (isless_test): Likewise.
4045 (islessequal_test): Likewise.
4046 (islessgreater_test): Likewise.
4047 (isnan_test): Likewise.
4048 (isnormal_test): Likewise.
4049 (issignaling_test): Likewise.
4050 (isunordered_test): Likewise.
4051 (j0_test): Likewise.
4052 (j1_test): Likewise.
4053 (jn_test): Likewise.
4054 (ldexp_test): Likewise.
4055 (lgamma_test): Likewise.
4056 (gamma_test): Likewise.
4057 (lrint_test): Likewise.
4058 (lrint_test_tonearest): Likewise.
4059 (lrint_test_towardzero): Likewise.
4060 (lrint_test_downward): Likewise.
4061 (lrint_test_upward): Likewise.
4062 (llrint_test): Likewise.
4063 (llrint_test_tonearest): Likewise.
4064 (llrint_test_towardzero): Likewise.
4065 (llrint_test_downward): Likewise.
4066 (llrint_test_upward): Likewise.
4067 (log_test): Likewise.
4068 (log10_test): Likewise.
4069 (log1p_test): Likewise.
4070 (log2_test): Likewise.
4071 (logb_test): Likewise.
4072 (logb_test_downward): Likewise.
4073 (lround_test): Likewise.
4074 (llround_test): Likewise.
4075 (modf_test): Likewise.
4076 (nearbyint_test): Likewise.
4077 (nextafter_test): Likewise.
4078 (nexttoward_test): Likewise.
4079 (pow_test): Likewise.
4080 (pow_test_tonearest): Likewise.
4081 (pow_test_towardzero): Likewise.
4082 (pow_test_downward): Likewise.
4083 (pow_test_upward): Likewise.
4084 (remainder_test): Likewise.
4085 (drem_test): Likewise.
4086 (remainder_test_tonearest): Likewise.
4087 (drem_test_tonearest): Likewise.
4088 (remainder_test_towardzero): Likewise.
4089 (drem_test_towardzero): Likewise.
4090 (remainder_test_downward): Likewise.
4091 (drem_test_downward): Likewise.
4092 (remainder_test_upward): Likewise.
4093 (drem_test_upward): Likewise.
4094 (remquo_test): Likewise.
4095 (rint_test): Likewise.
4096 (rint_test_tonearest): Likewise.
4097 (rint_test_towardzero): Likewise.
4098 (rint_test_downward): Likewise.
4099 (rint_test_upward): Likewise.
4100 (round_test): Likewise.
4101 (scalb_test): Likewise.
4102 (scalbn_test): Likewise.
4103 (scalbln_test): Likewise.
4104 (signbit_test): Likewise.
4105 (sin_test): Likewise.
4106 (sin_test_tonearest): Likewise.
4107 (sin_test_towardzero): Likewise.
4108 (sin_test_downward): Likewise.
4109 (sin_test_upward): Likewise.
4110 (sincos_test): Likewise.
4111 (sinh_test): Likewise.
4112 (sinh_test_tonearest): Likewise.
4113 (sinh_test_towardzero): Likewise.
4114 (sinh_test_downward): Likewise.
4115 (sinh_test_upward): Likewise.
4116 (sqrt_test): Likewise.
4117 (sqrt_test_tonearest): Likewise.
4118 (sqrt_test_towardzero): Likewise.
4119 (sqrt_test_downward): Likewise.
4120 (sqrt_test_upward): Likewise.
4121 (tan_test): Likewise.
4122 (tan_test_tonearest): Likewise.
4123 (tan_test_towardzero): Likewise.
4124 (tan_test_downward): Likewise.
4125 (tan_test_upward): Likewise.
4126 (tanh_test): Likewise.
4127 (tgamma_test): Likewise.
4128 (trunc_test): Likewise.
4129 (y0_test): Likewise.
4130 (y1_test): Likewise.
4131 (yn_test): Likewise.
4132 (significand_test): Likewise.
4133
e6b6a857
JM
4134 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4135 individual tests in comment.
4136 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4137 (prev_max_error): New variable.
4138 (prev_real_max_error): Likewise.
4139 (prev_imag_max_error): Likewise.
4140 (compare_ulp_data): Don't refer to test names in comment.
4141 (find_test_ulps): Remove function.
4142 (find_function_ulps): Likewise.
4143 (find_complex_function_ulps): Likewise.
4144 (init_max_error): Take function name as argument. Look up ulps
4145 for that function.
4146 (print_ulps): Remove function.
4147 (print_max_error): Use prev_max_error instead of calling
4148 find_function_ulps.
4149 (print_complex_max_error): Use prev_real_max_error and
4150 prev_imag_max_error instead of calling find_complex_function_ulps.
4151 (check_float_internal): Take max_ulp parameter instead of calling
4152 find_test_ulps. Don't call print_ulps.
4153 (check_float): Update call to check_float_internal.
4154 (check_complex): Update calls to check_float_internal.
4155 (START): Pass argument to init_max_error.
4156 * math/gen-libm-test.pl (%results): Don't include "kind"
4157 information.
4158 (parse_ulps): Don't handle ulps of individual tests.
4159 (print_ulps_file): Likewise.
4160 (output_ulps): Likewise.
4161 * math/README.libm-test: Update.
4162 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4163 individual tests.
4164 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4165 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4166 * sysdeps/arm/libm-test-ulps: Likewise.
4167 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4168 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4169 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4171 * sysdeps/microblaze/libm-test-ulps: Likewise.
4172 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4173 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4175 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4177 * sysdeps/sh/libm-test-ulps: Likewise.
4178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4179 * sysdeps/tile/libm-test-ulps: Likewise.
4180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181
45adef3c
JM
41822014-03-04 Joseph Myers <joseph@codesourcery.com>
4183
4184 * math/libm-test.inc (print_complex_max_error): Check separately
4185 whether real and imaginary errors are within allowed range and
4186 pass 0 to print_complex_function_ulps instead of value within
4187 allowed range.
4188
000232b9
SP
41892014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
d4b17258
SP
4191 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4192 formatting.
4193 (get_handles_fopen): Likewise.
4194 (do_write_test): Likewise.
4195
091eff71
SP
4196 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4197
fa3cd248
SP
4198 * libio/fileops.c (do_ftell): Use cached offset when
4199 available.
4200 * libio/iofwide.c (do_ftell_wide): Likewise.
4201 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4202 _IO_file_attach.
4203 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4204
000232b9
SP
4205 [BZ #16532]
4206 * libio/libioP.h (get_file_offset): New function.
4207 * libio/fileops.c (get_file_offset): Likewise.
4208 (do_ftell): Likewise.
4209 (_IO_new_file_seekoff): Split out ftell logic.
4210 * libio/wfileops.c (do_ftell_wide): Likewise.
4211 (_IO_wfile_seekoff): Split out ftell logic.
4212 * libio/tst-ftell-active-handler.c: New test case.
4213 * libio/Makefile (tests): Add it.
4214
116f4d1a
RM
42152014-03-03 Roland McGrath <roland@hack.frob.com>
4216
4217 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4218 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4219
532a6035
SP
42202014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
4222 [BZ #16639]
4223 * nscd/connections.c (nscd_init): Call do_exit.
4224 (start_threads): Call do_exit and notify_parent.
4225 (begin_drop_privileges): Call do_exit.
4226 (finish_drop_privileges): Likewise.
4227 * nscd/selinux.c (preserve_capabilities): Likewise.
4228 (install_real_capabilities): Likewise.
4229 (nscd_selinux_enabled): Likewise.
4230 (avc_create_thread): Likewise.
4231 (avc_alloc_lock): Likewise.
4232 (nscd_avc_init): Likewise.
4233 * nscd/nscd.c (parent_fd): New static variable.
4234 (main): Create a pipe between parent and child processes.
4235 Skip closing parent_fd.
4236 (monitor_child): New function.
4237 (do_exit): Likewise.
4238 (notify_parent): Likewise.
4239 * nscd/nscd.h (notify_parent): Likewise.
4240 (do_exit): Likewise.
4241
d6285c9f
CD
42422014-03-03 Carlos O'Donell <carlos@redhat.com>
4243
4244 * malloc/malloc.c (__libc_calloc): Revert last change.
4245
2b85d2a0
AZ
42462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4247
4248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4249
c7debbdf
RS
42502014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4251
4252 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4254 implementation.
4255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4256 (__libc_ifunc_impl_list): Likewise.
4257 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4260 * string/strrchr.c: Define STRRCHR.
4261
235eed86
OB
42622014-02-28 Ondřej Bílka <neleai@seznam.cz>
4263
4264 * benchtest/bench-strtok.c (simple_strtok): Delete.
4265 (strtok_string): Use as benchmark.
4266 * string/strtok (STRTOK): New macro.
4267
8e25d1e7
CD
42682014-02-28 Carlos O'Donell <carlos@redhat.com>
4269
ef563f92
CD
4270 * manual/threads.texi: Add header and standard comments to all
4271 functions.
4272
8e25d1e7
CD
4273 * elf/dl-lookup.c (check_match): New function.
4274 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4275 (do_lookup_x): Remove nested function check_match. Use non-nested
4276 function check_match.
4277
ff71cc37
RM
42782014-02-28 Roland McGrath <roland@hack.frob.com>
4279
f08e9a26
RM
4280 * csu/Makefile (generated, before-compile): Use += rather than =.
4281 * catgets/Makefile (generated, generated-dirs): Likewise.
4282 * debug/Makefile (generated): Likewise.
4283 * dlfcn/Makefile (generated): Likewise.
4284 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4285 * iconvdata/Makefile (before-compile, generated): Likewise.
4286 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4287 * libio/Makefile (generated): Likewise.
4288 * malloc/Makefile (generated): Likewise.
4289 * manual/Makefile (generated, generated-dirs): Likewise.
4290 * misc/Makefile (generated): Likewise.
4291 * posix/Makefile (generated): Likewise.
4292 * resolv/Makefile (generated): Likewise.
4293 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4294 * timezone/Makefile (generated, generated-dirs): Likewise.
4295
ff71cc37
RM
4296 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4297
fe13a20c
AZ
42982014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4299
57f41c40
AS
4300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4301 power8 implementation.
4302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4303 file: POWER8 llround ifunc implementation.
4304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4305 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4307 POWER8 llround implementation.
4308
57f41c40
AS
4309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4310 power8 implementation.
4311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4312 file: POWER8 llrint ifunc implementation.
4313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4314 Add POWER8 implementation.
1ad8950a
AZ
4315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4316 POWER8 llrint implementation.
4317
57f41c40
AS
4318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4319 power8 implementation.
4320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4321 file: POWER8 finite ifunc implementation.
4322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4323 Add POWER8 implementation.
cac626d6
AZ
4324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4325 Likewise.
4326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4327 POWER8 finite implementation.
4328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4329
57f41c40
AS
4330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4331 power8 implementation.
4332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4333 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4335 POWER8 implementation.
4336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4337 Likewise.
57f41c40
AS
4338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4339 isinf implementation.
4393fc11
AZ
4340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4341
57f41c40
AS
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4343 (INIT_ARCH): Add hwcap2 initialization.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4345 power8 implementation.
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4347 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4349 POWER8 implementation.
4350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4351 Likewise.
57f41c40
AS
4352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4353 isnan implementation.
487972ae
AZ
4354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4355
7d92b787
JY
43562014-02-27 Joey Ye <joey.ye@arm.com>
4357
4358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4359 (_FP_NANFRAC_Q): Set to zero.
4360
1cadc858
SP
43612014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
4363 [BZ #16623]
4364 * math/auto-libm-test-in: New test inputs.
4365 * math/auto-libm-test-out: Regenerate.
4366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4367 and DA.
4368 (__cos): Likewise.
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4370
f8c17e79
JM
43712014-02-27 Joseph Myers <joseph@codesourcery.com>
4372
4373 * scripts/evaluate-test.sh: Take new argument indicating whether
4374 failure is expected.
4375 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4376 indicating whether failure is expected.
4377 * conform/Makefile (test-xfail-run-conformtest): New variable.
4378 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4379 level.
4380 * posix/Makefile (test-xfail-annexc): New variable.
4381 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4382
a5f891ac
JM
43832014-02-26 Joseph Myers <joseph@codesourcery.com>
4384
4385 * argp/Makefile: Include Makeconfig immediately after defining
4386 subdir.
4387 * assert/Makefile: Likewise.
4388 * benchtests/Makefile: Likewise.
4389 * catgets/Makefile: Likewise.
4390 * conform/Makefile: Likewise.
4391 * crypt/Makefile: Likewise.
4392 * csu/Makefile: Likewise.
4393 (all): Remove target.
4394 * ctype/Makefile: Include Makeconfig immediately after defining
4395 subdir.
4396 * debug/Makefile: Likewise.
4397 * dirent/Makefile: Likewise.
4398 * dlfcn/Makefile: Likewise.
4399 * gmon/Makefile: Likewise.
4400 * gnulib/Makefile: Likewise.
4401 * grp/Makefile: Likewise.
4402 * gshadow/Makefile: Likewise.
4403 * hesiod/Makefile: Likewise.
4404 * hurd/Makefile: Likewise.
4405 (all): Remove target.
4406 * iconvdata/Makefile: Include Makeconfig immediately after
4407 defining subdir.
4408 * inet/Makefile: Likewise.
4409 * intl/Makefile: Likewise.
4410 * io/Makefile: Likewise.
4411 * libio/Makefile: Likewise.
4412 (all): Remove target.
4413 * locale/Makefile: Include Makeconfig immediately after defining
4414 subdir.
4415 * login/Makefile: Likewise.
4416 * mach/Makefile: Likewise.
4417 (all): Remove target.
4418 * malloc/Makefile: Include Makeconfig immediately after defining
4419 subdir.
4420 (all): Remove target.
4421 * manual/Makefile: Include Makeconfig immediately after defining
4422 subdir.
4423 * math/Makefile: Likewise.
4424 * misc/Makefile: Likewise.
4425 * nis/Makefile: Likewise.
4426 * nss/Makefile: Likewise.
4427 * po/Makefile: Likewise.
4428 (all): Remove target.
4429 * posix/Makefile: Include Makeconfig immediately after defining
4430 subdir.
4431 * pwd/Makefile: Likewise.
4432 * resolv/Makefile: Likewise.
4433 * resource/Makefile: Likewise.
4434 * rt/Makefile: Likewise.
4435 * setjmp/Makefile: Likewise.
4436 * shadow/Makefile: Likewise.
4437 * signal/Makefile: Likewise.
4438 * socket/Makefile: Likewise.
4439 * soft-fp/Makefile: Likewise.
4440 * stdio-common/Makefile: Likewise.
4441 * stdlib/Makefile: Likewise.
4442 * streams/Makefile: Likewise.
4443 * string/Makefile: Likewise.
4444 * sunrpc/Makefile: Likewise.
4445 (all): Remove target.
4446 * sysvipc/Makefile: Include Makeconfig immediately after defining
4447 subdir.
4448 * termios/Makefile: Likewise.
4449 * time/Makefile: Likewise.
4450 * timezone/Makefile: Likewise.
4451 (all): Remove target.
4452 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4453 subdir.
4454 * wctype/Makefile: Likewise.
4455
5b456e9d
SE
44562014-02-26 Steve Ellcey <sellcey@mips.com>
4457
4458 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4459 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4460 (libc_feholdexcept_setround_mips): Ditto.
4461 (libc_feholdsetround): New.
4462 (libc_feholdsetroundf): New.
4463 (libc_feholdsetroundl): New.
4464 (libc_feupdateenv_test_mips): New.
4465 (libc_feupdateenv_test): New.
4466 (libc_feupdateenv_testf): New.
4467 (libc_feupdateenv_testl): New.
4468 (libc_feresetround): New.
4469 (libc_feresetroundf): New.
4470 (libc_feresetroundl): New.
4471 (libc_fetestexcept_mips): New.
4472 (libc_fetestexcept): New.
4473 (libc_fetestexceptf): New.
4474 (libc_fetestexceptl): New.
4475 (HAVE_RM_CTX): New.
4476 (libc_feholdexcept_setround_mips_ctx): New.
4477 (libc_feholdexcept_setround_ctx): New.
4478 (libc_feholdexcept_setroundf_ctx): New.
4479 (libc_feholdexcept_setroundl_ctx): New.
4480 (libc_fesetenv_mips_ctx): New.
4481 (libc_fesetenv_ctx): New.
4482 (libc_fesetenv_ctxf): New.
4483 (libc_fesetenv_ctxl): New.
4484 (libc_feupdateenv_mips_ctx): New.
4485 (libc_feupdateenv_ctx): New.
4486 (libc_feupdateenvf_ctx): New.
4487 (libc_feupdateenvl_ctx): New.
4488 (libc_feholdsetround_mips_ctx): New.
4489 (libc_feholdsetround_ctx): New.
4490 (libc_feholdsetroundf_ctx): New.
4491 (libc_feholdsetroundl_ctx): New.
4492 (libc_feresetround_mips_ctx): New.
4493 (libc_feresetround_ctx): New.
4494 (libc_feresetroundf_ctx): New.
4495 (libc_feresetroundl_ctx): New.
4496
085d0e35
CD
44972014-02-26 Carlos O'Donell <carlos@redhat.com>
4498
f067bf1f
CD
4499 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4500
085d0e35
CD
4501 * manual/ipc.texi: New file.
4502 * manual/Makefile (chapters): Add ipc.
4503 * manual/job.texi: Add "Inter-Process Communication" to next.
4504 * manual/process.texi: Add "Inter-Process Communication" to prev.
4505
86e58c08
AZ
45062014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4507
4508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4509
4248f0da
OB
45102014-02-26 Ondřej Bílka <neleai@seznam.cz>
4511
4512 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4513
cf822e3c
OB
4514 * manual/arith.texi: Fix spaces after sentences.
4515 * manual/charset.texi: Likewise.
4516 * manual/errno.texi: Likewise.
4517 * manual/install.texi: Likewise.
4518 * manual/llio.texi: Likewise.
4519 * manual/locale.texi: Likewise.
4520 * manual/maint.texi: Likewise.
4521 * manual/math.texi: Likewise.
4522 * manual/memory.texi: Likewise.
4523 * manual/message.texi: Likewise.
4524 * manual/probes.texi: Likewise.
4525 * manual/resource.texi: Likewise.
4526 * manual/signal.texi: Likewise.
4527 * manual/socket.texi: Likewise.
4528 * manual/stdio.texi: Likewise.
4529 * manual/string.texi: Likewise.
4530 * manual/time.texi: Likewise.
4531 * manual/users.texi: Likewise.
4532
ade40b10
CD
45332014-02-25 Carlos O'Donell <carlos@redhat.com>
4534
4535 [BZ #16632]
4536 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4537 _DEFAULT_SOURCE is defined.
4538
d0503676
CD
45392014-02-25 Ulrich Drepper <drepper@gmail.com>
4540 Carlos O'Donell <carlos@redhat.com>
4541
4542 [BZ #16613]
4543 * elf/dl-tls.c (_dl_count_modids): New function.
4544 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4545 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4546 audit library and increment generation counter.
4547 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4548 * elf/tst-audit9.c: New file.
4549 * elf/tst-auditmod9a.c: New file.
4550 * elf/tst-auditmod9b.c: New file.
4551 * elf/Makefile: Add rules to build and run tst-audit9.
4552
4cbf380c
FW
45532014-02-25 Florian Weimer <fweimer@redhat.com>
4554
4555 [BZ #15347]
4556 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4557
80a56cc3
WN
45582014-02-25 Will Newton <will.newton@linaro.org>
4559
4560 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4561 (__longjmp): Restore sp and lr before restoring callee
4562 saved registers. Add longjmp and longjmp_target
4563 SystemTap probe point.
4564 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4565 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4566 Define to zero to match jmpbuf layout.
4567 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4568 (__sigsetjmp): Save sp and lr before saving callee
4569 saved registers. Add setjmp SystemTap probe point.
4570
3ea0f74e
SL
45712014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4572
4573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4574
b04acb26
AS
45752014-02-24 Andreas Schwab <schwab@suse.de>
4576
4577 [BZ #15804]
4578 * elf/pldd.c (wait_for_ptrace_stop): New function.
4579 (main): Call it after attaching.
4580
098ad55c
RM
45812014-02-22 Roland McGrath <roland@hack.frob.com>
4582
d4ec6ae1
RM
4583 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4584 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4585 Versions files is now verboten.
4586 * hurd/Versions (libc: GLIBC_2.0):
4587 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4588 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4589 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4590 * mach/Versions: Likewise.
4591
098ad55c
RM
4592 * csu/Versions: Remove unused %include.
4593 * resolv/Versions: Likewise.
4594
acd7f096
JM
45952014-02-21 Joseph Myers <joseph@codesourcery.com>
4596
f0881698
JM
4597 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4598 ($(objpfx)check-local-headers.out): Likewise.
4599 ($(objpfx)begin-end-check.out): Likewise.
4600 * Makerules (check-abi-%.out): Likewise.
4601 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4602 ($(objpfx)test2.cat): Likewise.
4603 ($(objpfx)de/libc.cat): Likewise.
4604 ($(objpfx)test-gencat.out): Likewise.
4605 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4606 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4607 ($(objpfx)noload-mem): Likewise.
4608 ($(objpfx)tst-pathopt.out): Likewise.
4609 ($(objpfx)tst-rtld-load-self.out): Likewise.
4610 ($(objpfx)tst-array1-cmp.out): Likewise.
4611 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4612 ($(objpfx)tst-array2-cmp.out): Likewise.
4613 ($(objpfx)tst-array3-cmp.out): Likewise.
4614 ($(objpfx)tst-array4-cmp.out): Likewise.
4615 ($(objpfx)tst-array5-cmp.out): Likewise.
4616 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4617 ($(objpfx)check-textrel.out): Likewise.
4618 ($(objpfx)check-execstack.out): Likewise.
4619 ($(objpfx)check-localplt.out): Likewise.
4620 ($(objpfx)order2-cmp.out): Likewise.
4621 ($(objpfx)tst-leaks1-mem): Likewise.
4622 ($(objpfx)tst-leaks1-static-mem): Likewise.
4623 ($(objpfx)tst-initorder-cmp.out): Likewise.
4624 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4625 ($(objpfx)tst-unused-dep.out): Likewise.
4626 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4628 * iconv/Makefile (test-iconvconfig): Likewise.
4629 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4630 ($(objpfx)iconv-test.out): Likewise.
4631 ($(objpfx)tst-tables.out): Likewise.
4632 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4633 ($(objpfx)tst-gettext.out): Likewise.
4634 ($(objpfx)tst-translit.out): Likewise.
4635 ($(objpfx)tst-gettext2.out): Likewise.
4636 ($(objpfx)tst-gettext4.out): Likewise.
4637 ($(objpfx)tst-gettext6.out): Likewise.
4638 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4639 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4640 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4641 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4643 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4644 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4645 ($(objpfx)wordexp-tst.out): Likewise.
4646 ($(objpfx)annexc.out): Likewise.
4647 ($(objpfx)tst-fnmatch-mem): Likewise.
4648 ($(objpfx)bug-regex2-mem): Likewise.
4649 ($(objpfx)bug-regex14-mem): Likewise.
4650 ($(objpfx)bug-regex21-mem): Likewise.
4651 ($(objpfx)bug-regex31-mem): Likewise.
4652 ($(objpfx)tst-vfork3-mem): Likewise.
4653 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4654 ($(objpfx)tst-pcre-mem): Likewise.
4655 ($(objpfx)tst-boost-mem): Likewise.
4656 ($(objpfx)tst-getconf.out): Likewise.
4657 ($(objpfx)bug-ga2-mem): Likewise.
4658 ($(objpfx)bug-glob2-mem): Likewise.
4659 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4660 ($(objpfx)mtrace-tst-leaks2): Likewise.
4661 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4662 ($(objpfx)tst-printf.out): Likewise.
4663 ($(objpfx)tst-setvbuf1.out): Likewise.
4664 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4665 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4666 ($(objpfx)tst-fmtmsg.out): Likewise.
4667 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4669
acd7f096
JM
4670 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4671 * bits/sigaction.h [__USE_MISC]: Likewise.
4672 * bits/waitstatus.h: Update #endif comments.
4673 * ctype/ctype.h: Likewise.
4674 * dirent/dirent.h: Likewise.
4675 [__USE_MISC]: Remove redundant conditionals.
4676 * grp/grp.h: Update #endif comments.
4677 [__USE_GNU]: Remove redundant conditionals.
4678 [__USE_MISC]: Likewise.
4679 * inet/netinet/in.h [__USE_GNU]: Likewise.
4680 * io/sys/stat.h [__USE_MISC]: Likewise.
4681 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4682 * libio/bits/stdio.h: Update #endif comments.
4683 [__USE_MISC]: Remove redundant conditionals.
4684 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4685 * libio/stdio.h: Update #endif comments.
4686 [__USE_MISC]: Remove redundant conditionals.
4687 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4688 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4689 * math/math.h: Update #else and #endif comments.
4690 [__USE_MISC]: Remove redundant conditionals.
4691 * misc/sys/uio.h: Update #endif comments.
4692 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4693 * posix/glob.h [__USE_MISC]: Likewise.
4694 * posix/sys/types.h: Update #endif comments.
4695 [__USE_MISC]: Remove redundant conditionals.
4696 * posix/sys/wait.h: Update #endif comments.
4697 [__USE_MISC]: Remove redundant conditionals.
4698 * posix/unistd.h: Update #endif comments.
4699 [__USE_MISC]: Remove redundant conditionals.
4700 * pwd/pwd.h [__USE_GNU]: Likewise.
4701 [__USE_MISC]: Likewise.
4702 * resolv/netdb.h [__USE_GNU]: Likewise.
4703 * signal/signal.h: Update #endif comments.
4704 [__USE_MISC]: Remove redundant conditionals.
4705 * stdlib/stdlib.h: Update #else and #endif comments.
4706 [__USE_MISC]: Remove redundant conditionals.
4707 [__USE_GNU]: Likewise.
4708 * string/bits/string2.h [__USE_MISC]: Likewise.
4709 * string/string.h: Update #endif comments.
4710 [__USE_MISC]: Remove redundant conditionals.
4711 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4712 Likewise.
4713 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4714 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4715 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4716 Likewise.
4717 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4718 Likewise.
4719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4720 comments.
4721 [__USE_MISC]: Remove redundant conditionals.
4722 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4723 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4724 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4725 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4727 Likewise.
4728 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4729 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4730 Likewise.
4731 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4733 Likewise.
4734 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4735 Likewise.
4736 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4738 Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4742 * sysdeps/x86/bits/string.h: Update #endif comments.
4743 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4744 conditionals.
4745 * time/sys/time.h: Update #endif comments.
4746 * time/time.h: Likewise.
4747 [__USE_MISC]: Remove redundant conditionals.
4748
a5d82e4e
YG
47492014-02-21 Yury Gribov <y.gribov@samsung.com>
4750
4751 [BZ #16600]
4752 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4753
9a80491d
AS
47542014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4755
4756 * Versions.def (librt): Add GLIBC_2.17.
4757
105fa381
AC
47582014-02-21 Adam Conrad <adconrad@0c3.net>
4759
4760 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4761 synonym for _SYS_AUXV_H to allow direct inclusion.
4762 * sysdeps/sparc/bits/hwcap.h: Likewise.
4763 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4764 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4765 * sysdeps/sparc/sysdep.h: Likewise.
4766
b8cd1c4e
SP
47672014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
4769 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4770
bd939d23
RS
47712014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4772
4773 * benchtests/bench-strrchr.c: Print length instead of position.
4774
5d7b57ca
JM
47752014-02-20 Joseph Myers <joseph@codesourcery.com>
4776
bc688c10
JM
4777 [BZ #16611]
4778 * sysdeps/unix/sysv/linux/kernel-features.h
4779 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4780 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4781 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4782 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4783 Likewise.
4784 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4785 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4786 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4787 (__ASSUME_SENDMMSG): Define instead of using previous
4788 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4790 (__ASSUME_SENDMMSG_SYSCALL): Define.
4791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4792 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4793 Likewise.
4794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4795 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4796 Likewise.
4797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4798 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4799 Likewise.
4800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4801 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4802 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4803 [__ASSUME_SENDMMSG]: Change conditionals to
4804 [__ASSUME_SENDMMSG_SOCKETCALL].
4805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4806 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4807 Define.
4808 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4809 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4810 Likewise.
4811 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4812 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4813 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4814 [!__ASSUME_SENDMMSG]: Change conditional to
4815 [!__ASSUME_SENDMMSG_SOCKETCALL].
4816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4818 Define.
4819
0e31b18c
JM
4820 [BZ #16610]
4821 * sysdeps/unix/sysv/linux/kernel-features.h
4822 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4823 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4824 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4825 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4826 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4827 [__i386__ || __sparc__]
4828 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4829 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4830 (__ASSUME_RECVMMSG): Define instead of using previous
4831 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4833 (__ASSUME_RECVMMSG_SYSCALL): Define.
4834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4836 Likewise.
4837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4838 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4839 Likewise.
4840 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4842 Likewise.
4843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4844 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4845 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4846 [__ASSUME_RECVMMSG]: Change condition to
4847 [__ASSUME_RECVMMSG_SOCKETCALL].
4848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4850 Define.
4851 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4854 Likewise.
4855 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4856 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4857 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4858 [!__ASSUME_RECVMMSG]: Change condition to
4859 [!__ASSUME_RECVMMSG_SOCKETCALL].
4860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4861 (__ASSUME_RECVMMSG_SYSCALL): Define.
4862
dd481ccf
JM
4863 [BZ #16609]
4864 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4865 __powerpc__ || __s390__ || __sh__ || __sparc__]
4866 (__ASSUME_SOCKETCALL): Define.
4867 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4868 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4869 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4870 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4871 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4872 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4873 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4874 (__ASSUME_ACCEPT4): Define instead of using previous
4875 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4876 __powerpc__ || __sparc__ || __s390__)] condition.
4877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4878 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4879 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4880 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4881 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4882 [!__ASSUME_ACCEPT4]: Change condition to
4883 [!__ASSUME_ACCEPT4_SOCKETCALL].
4884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4885 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4886 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4888 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4889 __ASSUME_ACCEPT4_SYSCALL.
4890 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4891 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4893 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4894 __ASSUME_ACCEPT4_SYSCALL.
4895 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4896 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4897 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4898 [__ASSUME_ACCEPT4]: Change condition to
4899 [__ASSUME_ACCEPT4_SOCKETCALL].
4900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4901 (__ASSUME_SOCKETCALL): Define.
4902 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4904 (__ASSUME_SOCKETCALL): Define.
4905 (__ASSUME_ACCEPT4): Remove.
4906 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4907 Define.
4908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4909 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4910 Likewise.
4911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4913
5d7b57ca
JM
4914 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4915 macro.
4916 (HWCAP_ARM_LPAE): Likewise.
4917 (HWCAP_ARM_EVTSTRM): Likewise.
4918 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4919 Add vpfd32, lpae and evtstrm.
4920 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4921 Increase to 22.
4922
63689d61
JM
49232014-02-19 Joseph Myers <joseph@codesourcery.com>
4924
4925 * math/auto-libm-test-in: Add tests of clog10.
4926 * math/auto-libm-test-out: Regenerated.
4927 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4928 * sysdeps/i386/fpu/libm-test-ulps: Update.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4930
ab09bf61
AS
49312014-02-18 Andreas Schwab <schwab@suse.de>
4932
4933 [BZ #16574]
4934 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4935 Store non-zero if the second buffer was newly allocated.
4936 (send_dg): Likewise.
4937 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4938 to send_vc and send_dg.
4939 (res_nsend): Pass NULL for ansp2_malloced.
4940 * resolv/res_query.c (__libc_res_nquery): Add parameter
4941 answerp2_malloced and pass it down to __libc_res_nsend.
4942 (res_nquery): Pass additional NULL to __libc_res_nquery.
4943 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4944 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4945 second answer buffer if answerp2_malloced was set.
4946 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4947 (__libc_res_nquerydomain): Add parameter
4948 answerp2_malloced and pass it down to __libc_res_nquery.
4949 (res_nquerydomain): Pass additional NULL to
4950 __libc_res_nquerydomain.
4951 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4952 additional NULL to __libc_res_nsend and __libc_res_nquery.
4953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4954 additional NULL to __libc_res_nsearch.
4955 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4956 parameter of __libc_res_nsearch to check for separately allocated
4957 second buffer.
4958 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4959 __libc_res_nquery.
4960 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4961 additional NULL to __libc_res_nquery.
4962 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4963 __libc_res_nsearch.
4964 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4965 * include/resolv.h: Update prototypes of __libc_res_nquery,
4966 __libc_res_nsearch, __libc_res_nsend.
4967
a4fb7861
JM
49682014-02-18 Joseph Myers <joseph@codesourcery.com>
4969
c6af2d89
JM
4970 * math/auto-libm-test-in: Add tests of fma.
4971 * math/auto-libm-test-out: Regenerated.
4972 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4973 (fma_towardzero_test_data): Likewise.
4974 (fma_downward_test_data): Likewise.
4975 (fma_upward_test_data): Likewise.
4976 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4977 mpc_mode.
4978 (rounding_modes): Add values for new field.
4979 (func_calc_method): Add value mpfr_fff_f.
4980 (func_calc_desc): Add mpfr_fff_f union field.
4981 (test_function): Add field exact_args.
4982 (FUNC): Add macro argument EXACT_ARGS.
4983 (FUNC_mpfr_f_f): Update call to FUNC.
4984 (FUNC_mpfr_f_f): Likewise.
4985 (FUNC_mpfr_ff_f): Likewise.
4986 (FUNC_mpfr_if_f): Likewise.
4987 (FUNC_mpc_c_f): Likewise.
4988 (FUNC_mpc_c_c): Likewise.
4989 (test_functions): Add fma. Update calls to FUNC.
4990 (handle_input_arg): Add argument exact_args.
4991 (add_test): Update call to handle_input_arg.
4992 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4993 (output_for_one_input_case): Update call to calc_generic_results.
4994 Recalculate exact zero results in each rounding mode.
4995
a4fb7861
JM
4996 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4997 non-negative before setting low bit.
4998 * math/auto-libm-test-in: Mark one asin test possibly having
4999 spurious underflow.
5000 * math/auto-libm-test-out: Regenerated.
5001 * sysdeps/i386/fpu/libm-test-ulps: Update.
5002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5003
ef114eaf
DH
50042014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5005
2b7f4f2c
SP
5006 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5007 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5008 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5009 * README: Add missing listing for microblaze*-*-linux-gnu.
5010
c70a4b1d
MF
50112014-02-16 Mike Frysinger <vapier@gentoo.org>
5012
5013 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5014 * sysdeps/unix/sysv/linux/ia64: Move directory from
5015 ports/sysdeps/unix/sysv/linux/ia64.
5016 * README: Update listing for ia64-*-linux-gnu.
5017
591aeaf7
TD
50182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5019 Joseph Myers <joseph@codesourcery.com>
5020
5021 * Makeconfig (test-name): New variable.
5022 (evaluate-test): Likewise.
5023 * Makerules (do-test-clean): Remove .test-result files.
5024 (common-mostlyclean): Likewise.
5025 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5026 * scripts/evaluate-test.sh: New file.
5027
6e89caf1
JM
50282014-02-14 Joseph Myers <joseph@codesourcery.com>
5029
7f98f180
JM
5030 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5031 separate $(objpfx)tst-fopenloc-cmp.out and
5032 $(objpfx)tst-fopenloc-mem.out targets.
5033 (tests): Update dependencies.
5034 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5035 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5036 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5037 (tst-rxspencer-no-utf8-ARGS): New variable.
5038 (tst-rxspencer-no-utf8-ENV): Likewise.
5039 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5040 instead of $(objpfx)tst-rxspencer-mem.
5041 ($(objpfx)tst-rxspencer-mem): Change target to
5042 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5043 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5044 * posix/tst-rxspencer-no-utf8.c: New file.
5045
6e89caf1
JM
5046 * elf/Makefile ($(objpfx)order.out): Remove rule.
5047 [$(run-built-tests) = yes] (tests): Depend on
5048 $(objpfx)order-cmp.out.
5049 ($(objpfx)order-cmp.out): New rule.
5050 [$(run-built-tests) = yes] (tests): Depend on
5051 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5052 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5053 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5054 $(objpfx)tst-array5-static-cmp.out.
5055 ($(objpfx)tst-array1.out): Remove rule.
5056 ($(objpfx)tst-array1-cmp.out): New rule.
5057 ($(objpfx)tst-array1-static.out): Remove rule.
5058 ($(objpfx)tst-array1-static-cmp.out): New rule.
5059 ($(objpfx)tst-array2.out): Remove rule.
5060 ($(objpfx)tst-array2-cmp.out): New rule.
5061 ($(objpfx)tst-array3.out): Remove rule.
5062 ($(objpfx)tst-array3-cmp.out): New rule.
5063 ($(objpfx)tst-array4.out): Remove rule.
5064 ($(objpfx)tst-array4-cmp.out): New rule.
5065 ($(objpfx)tst-array5.out): Remove rule.
5066 ($(objpfx)tst-array5-cmp.out): New rule.
5067 ($(objpfx)tst-array5-static.out): Remove rule.
5068 ($(objpfx)tst-array5-static-cmp.out): New rule.
5069 [$(run-built-tests) = yes] (tests): Depend on
5070 $(objpfx)order2-cmp.out.
5071 ($(objpfx)order2.out): Remove rule.
5072 ($(objpfx)order2-cmp.out): New rule.
5073 ($(objpfx)tst-initorder.out): Remove rule.
5074 [$(run-built-tests) = yes] (tests): Depend on
5075 $(objpfx)tst-initorder-cmp.out.
5076 ($(objpfx)tst-initorder-cmp.out): New rule.
5077 ($(objpfx)tst-initorder2.out): Remove rule.
5078 [$(run-built-tests) = yes] (tests): Depend on
5079 $(objpfx)tst-initorder2-cmp.out.
5080 ($(objpfx)tst-initorder2-cmp.out): New rule.
5081 [$(run-built-tests) = yes] (tests): Depend on
5082 $(objpfx)tst-unused-dep-cmp.out.
5083 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5084 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5085 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5086 on $(objpfx)tst-setvbuf1-cmp.out.
5087 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5088 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5089 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5090 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5091 ($(objpfx)tst-svc.out): Remove rule.
5092 ($(objpfx)tst-svc-cmp.out): New rule.
5093
ed9a38e2
JM
50942014-02-13 Joseph Myers <joseph@codesourcery.com>
5095
5096 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5097 * ctype/ctype.h [__USE_MISC]: Likewise.
5098 * dirent/dirent.h [__USE_MISC]: Likewise.
5099 * grp/grp.h [__USE_MISC]: Likewise.
5100 * io/fcntl.h [__USE_MISC]: Likewise.
5101 * io/sys/stat.h [__USE_MISC]: Likewise.
5102 * libio/stdio.h [__USE_MISC]: Likewise.
5103 * posix/unistd.h [__USE_MISC]: Likewise.
5104 * pwd/pwd.h [__USE_MISC]: Likewise.
5105 * stdlib.h [__USE_MISC]: Likewise.
5106 * string/bits/string2.h [__USE_MISC]: Likewise.
5107 * string/string.h [__USE_MISC]: Likewise.
5108 * time/time.h [__USE_MISC]: Likewise.
5109
d6680619
AS
51102014-02-13 Andreas Schwab <schwab@suse.de>
5111
5112 [BZ #16574]
5113 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5114 second answer buffer if it was separately allocated.
5115
ace614b8
JM
51162014-02-12 Joseph Myers <joseph@codesourcery.com>
5117
743151ae
JM
5118 * sysdeps/mips/math-tests.h: Include <features.h>.
5119 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5120 (ROUNDING_TESTS_long_double): Do not define.
5121 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5122 (EXCEPTION_TESTS_long_double): Likewise.
5123 * sysdeps/mips/mips64/libm-test-ulps: Update.
5124
498afc54
JM
5125 * include/features.h (__USE_BSD): Remove macro definitions.
5126 (__USE_SVID): Likewise.
5127 (_BSD_SOURCE): Likewise.
5128 (_SVID_SOURCE): Likewise.
5129 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5130 from definition of _DEFAULT_SOURCE.
5131 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5132 [_DEFAULT_SOURCE].
5133 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5134 * bits/mman.h [__USE_BSD]: Likewise.
5135 * bits/termios.h [__USE_BSD]: Likewise.
5136 * bits/waitstatus.h [__USE_BSD]: Likewise.
5137 * ctype/ctype.h [__USE_SVID]: Likewise.
5138 * dirent/dirent.h [__USE_BSD]: Likewise.
5139 * grp/grp.h [__USE_SVID]: Likewise.
5140 [__USE_BSD]: Likewise.
5141 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5142 * io/fcntl.h [__USE_BSD]: Likewise.
5143 * io/ftw.h [__USE_BSD]: Likewise.
5144 * io/sys/stat.h [__USE_BSD]: Likewise.
5145 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5146 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5147 * libio/stdio.h [__USE_SVID]: Likewise.
5148 [__USE_BSD]: Likewise.
5149 * math/math.h [__USE_SVID]: Likewise.
5150 [__USE_BSD]: Likewise.
5151 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5152 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5153 * misc/search.h [__USE_SVID]: Likewise.
5154 * misc/sys/mman.h [__USE_BSD]: Likewise.
5155 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5156 * misc/sys/uio.h [__USE_BSD]: Likewise.
5157 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5158 * posix/glob.h [__USE_BSD]: Likewise.
5159 * posix/regex.h [__USE_BSD]: Likewise.
5160 * posix/sys/types.h [__USE_BSD]: Likewise.
5161 [__USE_SVID]: Likewise.
5162 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5163 * posix/sys/wait.h [__USE_BSD]: Likewise.
5164 [__USE_SVID]: Likewise.
5165 * posix/unistd.h [__USE_BSD]: Likewise.
5166 [__USE_SVID]: Likewise.
5167 * pwd/pwd.h [__USE_SVID]: Likewise.
5168 * resolv/netdb.h [__USE_BSD]: Likewise.
5169 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5170 * signal/signal.h [__USE_BSD]: Likewise.
5171 [__USE_SVID]: Likewise.
5172 * socket/sys/socket.h [__USE_BSD]: Likewise.
5173 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5174 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5175 [__USE_SVID]: Likewise.
5176 * string/bits/string2.h [__USE_BSD]: Likewise.
5177 [__USE_SVID]: Likewise.
5178 * string/bits/string3.h [__USE_BSD]: Likewise.
5179 * string/endian.h [__USE_BSD]: Likewise.
5180 * string/string.h [__USE_SVID]: Likewise.
5181 [__USE_BSD]: Likewise.
5182 * string/strings.h [__USE_BSD]: Likewise.
5183 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5184 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5185 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5186 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5187 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5188 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5189 Likewise.
5190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5191 Likewise.
5192 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5193 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5194 Likewise.
5195 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5196 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5197 Likewise.
5198 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5199 Likewise.
5200 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5201 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5203 Likewise.
5204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5205 Likewise.
5206 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5207 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5208 * termios/termios.h [__USE_BSD]: Likewise.
5209 * time/sys/time.h [__USE_BSD]: Likewise.
5210 * time/time.h [__USE_BSD]: Likewise.
5211 [__USE_SVID]: Likewise.
5212
dd7b064c
JM
5213 * Makefile (subdir_targets): Remove subdir_lint.out.
5214
a2c4c199
JM
5215 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5216 (do-tst-printf): Likewise.
5217 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5218 $(objpfx)tst-printf.out.
5219
8756f740
JM
5220 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5221
1b6dd3f1
JM
5222 * Makerules (check-abi-%): Change target to
5223 $(objpfx)check-abi-%.out.
5224 (check-abi target): Update dependencies.
5225 (check-abi-pattern variable): Redirect output of diff to $@.
5226 (check-abi variable): Likewise.
5227 * elf/Makefile (check-abi): Update dependencies.
5228
ace614b8
JM
5229 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5230 unused.
5231 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5232 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5233 subnormal range.
5234 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5235 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5236 value has largest subnormal exponent.
5237 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5238 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5239 * sysdeps/aarch64/soft-fp/sfp-machine.h
5240 (_FP_TININESS_AFTER_ROUNDING): New macro.
5241 * sysdeps/alpha/soft-fp/sfp-machine.h
5242 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5243 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5244 Likewise.
5245 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5246 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5247 * sysdeps/mips/soft-fp/sfp-machine.h
5248 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5249 * sysdeps/powerpc/soft-fp/sfp-machine.h
5250 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5251 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5252 Likewise.
5253 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5254 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5255 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5257 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5258 Likewise.
5259
fbfdf9cb
DAS
52602014-02-12 Dylan Alex Simon <dylan@dylex.net>
5261
5262 [BZ #16545]
5263 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5264 model 1.
5265
68b7efaa
RH
52662014-02-12 Richard Henderson <rth@redhat.com>
5267
c70a4b1d 5268 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5269 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5270 * sysdeps/unix/sysv/linux/alpha: Move directory from
5271 ports/sysdeps/unix/sysv/linux/alpha.
5272 * README: Update listing for alpha-*-linux-gnu.
5273
cb4a2928
JM
52742014-02-11 Joseph Myers <joseph@codesourcery.com>
5275
c941736c
JM
5276 * include/features.h: Update comment documenting feature test
5277 macros.
5278 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5279 _DEFAULT_SOURCE.
5280 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5281 (_SVID_SOURCE): Likewise.
5282 (_DEFAULT_SOURCE): Update description of default features.
5283 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5284 with _GNU_SOURCE.
5285 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5286 (S_ISVTX): Likewise.
5287 * manual/math.texi (Mathematical Constants): Likewise.
5288 * manual/signal.texi (Interrupted Primitives): Likewise.
5289 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5290 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5291 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5292 Don't refer to _SVID_SOURCE in warning text.
5293
e8d8d7ec
JM
5294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5295
cb4a2928
JM
5296 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5297 already defined.
5298 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5299 * sysdeps/mips/dl-lookup.c: Remove.
5300 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5301
7e6424e3
AK
53022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5303
5304 [BZ #16447]
5305 * math/auto-libm-test-in: Add testcase for expl.
5306 * math/auto-libm-test-out: Regenerate.
5307 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5308 calculation of unsafe.
5309 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5310
75eff3fe
MS
53112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5312
5313 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5314 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5315 ports/sysdeps/unix/sysv/linux/aarch64.
5316 * README: Update listing for aarch64*-*-linux-gnu.
5317
d35f1e80
WN
53182014-02-11 Will Newton <will.newton@linaro.org>
5319
5320 * manual/probes.texi (Mathematical Function Probes): Use
5321 "triggered" instead of "hit".
5322
7b3436d4
WN
5323 * manual/probes.texi (Internal Probes): Add documentation
5324 of setjmp, longjmp and longjmp_target probes.
5325
b4f12ca3
WN
5326 * include/stap-probe.h: Add comment about probe argument
5327 format.
5328
c13a72b7
WN
5329 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5330 definition. (tr_where, tr_freehook, tr_mallochook,
5331 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5332
195b8165
DM
53332014-02-11 David S. Miller <davem@davemloft.net>
5334
5335 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5336 processing int_tests.
5337
2ad7600b
JM
53382014-02-10 Joseph Myers <joseph@codesourcery.com>
5339
5340 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5341 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5342 * sysdeps/unix/sysv/linux/mips: Move directory from
5343 ports/sysdeps/unix/sysv/linux/mips.
5344 * README: Update listing for mips-*-linux-gnu and
5345 mips64-*-linux-gnu.
5346
73588a72
AS
53472014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5348
5349 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5350 * sysdeps/unix/sysv/linux/m68k: Move directory from
5351 ports/sysdeps/unix/sysv/linux/m68k.
5352 * README: Update listing for m68k-*-linux-gnu.
5353
4372980f
CM
53542014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5355
5356 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5357 * sysdeps/unix/sysv/linux/generic: Move directory from
5358 ports/sysdeps/unix/sysv/linux/generic.
5359 * sysdeps/unix/sysv/linux/tile: Move directory from
5360 ports/sysdeps/unix/sysv/linux/tile.
5361 * README: Update listing for tile*-*-linux-gnu.
5362
a1ffb40e
OB
53632014-02-10 Ondřej Bílka <neleai@seznam.cz>
5364
57f41c40
AS
5365 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5366 __builtin_expect.
a1ffb40e
OB
5367 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5368 * catgets/open_catalog.c (__open_catalog): Likewise.
5369 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5370 * debug/confstr_chk.c: Likewise.
5371 * debug/fread_chk.c (__fread_chk): Likewise.
5372 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5373 * debug/getgroups_chk.c: Likewise.
5374 * debug/mbsnrtowcs_chk.c: Likewise.
5375 * debug/mbsrtowcs_chk.c: Likewise.
5376 * debug/mbstowcs_chk.c: Likewise.
5377 * debug/memcpy_chk.c: Likewise.
5378 * debug/memmove_chk.c: Likewise.
5379 * debug/mempcpy_chk.c: Likewise.
5380 * debug/memset_chk.c: Likewise.
5381 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5382 * debug/strcat_chk.c (__strcat_chk): Likewise.
5383 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5384 * debug/strncat_chk.c (__strncat_chk): Likewise.
5385 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5386 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5387 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5388 * debug/wcpncpy_chk.c: Likewise.
5389 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5390 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5391 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5392 * debug/wcsncpy_chk.c: Likewise.
5393 * debug/wcsnrtombs_chk.c: Likewise.
5394 * debug/wcsrtombs_chk.c: Likewise.
5395 * debug/wcstombs_chk.c: Likewise.
5396 * debug/wmemcpy_chk.c: Likewise.
5397 * debug/wmemmove_chk.c: Likewise.
5398 * debug/wmempcpy_chk.c: Likewise.
5399 * debug/wmemset_chk.c: Likewise.
5400 * dirent/scandirat.c (SCANDIRAT): Likewise.
5401 * dlfcn/dladdr1.c (dladdr1): Likewise.
5402 * dlfcn/dladdr.c (dladdr): Likewise.
5403 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5404 * dlfcn/dlerror.c (__dlerror): Likewise.
5405 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5406 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5407 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5408 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5409 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5410 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5411 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5412 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5413 Likewise.
5414 * elf/dl-conflict.c: Likewise.
5415 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5416 * elf/dl-dst.h: Likewise.
5417 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5418 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5419 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5420 * elf/dl-init.c (call_init, _dl_init): Likewise.
5421 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5422 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5423 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5424 Likewise.
a1ffb40e
OB
5425 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5426 Likewise.
5427 * elf/dl-minimal.c (__libc_memalign): Likewise.
5428 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5429 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5430 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5431 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5432 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5433 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5434 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5435 * elf/dl-writev.h (_dl_writev): Likewise.
5436 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5437 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5438 (dl_main): Likewise.
a1ffb40e
OB
5439 * elf/setup-vdso.h (setup_vdso): Likewise.
5440 * grp/compat-initgroups.c (compat_call): Likewise.
5441 * grp/fgetgrent.c (fgetgrent): Likewise.
5442 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5443 * grp/putgrent.c (putgrent): Likewise.
5444 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5445 Likewise.
5446 * hurd/hurdinit.c: Likewise.
5447 * iconvdata/8bit-gap.c (struct): Likewise.
5448 * iconvdata/ansi_x3.110.c : Likewise.
5449 * iconvdata/big5.c : Likewise.
5450 * iconvdata/big5hkscs.c : Likewise.
5451 * iconvdata/cp1255.c: Likewise.
5452 * iconvdata/cp1258.c : Likewise.
5453 * iconvdata/cp932.c : Likewise.
5454 * iconvdata/euc-cn.c: Likewise.
5455 * iconvdata/euc-jisx0213.c : Likewise.
5456 * iconvdata/euc-jp.c: Likewise.
5457 * iconvdata/euc-jp-ms.c : Likewise.
5458 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5459 * iconvdata/gb18030.c : Likewise.
5460 * iconvdata/gbbig5.c (const): Likewise.
5461 * iconvdata/gbgbk.c: Likewise.
5462 * iconvdata/gbk.c : Likewise.
5463 * iconvdata/ibm1364.c : Likewise.
5464 * iconvdata/ibm930.c : Likewise.
5465 * iconvdata/ibm932.c: Likewise.
5466 * iconvdata/ibm933.c : Likewise.
5467 * iconvdata/ibm935.c : Likewise.
5468 * iconvdata/ibm937.c : Likewise.
5469 * iconvdata/ibm939.c : Likewise.
5470 * iconvdata/ibm943.c: Likewise.
5471 * iconvdata/iso_11548-1.c: Likewise.
5472 * iconvdata/iso-2022-cn.c : Likewise.
5473 * iconvdata/iso-2022-cn-ext.c : Likewise.
5474 * iconvdata/iso-2022-jp-3.c: Likewise.
5475 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5476 * iconvdata/iso-2022-kr.c : Likewise.
5477 * iconvdata/iso646.c (gconv_end): Likewise.
5478 * iconvdata/iso_6937-2.c : Likewise.
5479 * iconvdata/iso_6937.c : Likewise.
5480 * iconvdata/iso8859-1.c: Likewise.
5481 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5482 * iconvdata/shift_jisx0213.c : Likewise.
5483 * iconvdata/sjis.c : Likewise.
5484 * iconvdata/t.61.c : Likewise.
5485 * iconvdata/tcvn5712-1.c : Likewise.
5486 * iconvdata/tscii.c: Likewise.
5487 * iconvdata/uhc.c : Likewise.
5488 * iconvdata/unicode.c (gconv_end): Likewise.
5489 * iconvdata/utf-16.c (gconv_end): Likewise.
5490 * iconvdata/utf-32.c (gconv_end): Likewise.
5491 * iconvdata/utf-7.c (base64): Likewise.
5492 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5493 * iconv/gconv_close.c (__gconv_close): Likewise.
5494 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5495 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5496 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5497 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5498 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5499 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5500 * iconv/iconv.c (iconv): Likewise.
5501 * iconv/iconv_close.c: Likewise.
5502 * iconv/loop.c (SINGLE): Likewise.
5503 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5504 * include/atomic.h: Likewise.
5505 * inet/inet6_option.c (option_alloc): Likewise.
5506 * intl/bindtextdom.c (set_binding_values): Likewise.
5507 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5508 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5509 * intl/localealias.c (read_alias_file): Likewise.
5510 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5511 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5512 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5513 * libio/fmemopen.c (fmemopen): Likewise.
5514 * libio/iofgets.c (_IO_fgets): Likewise.
5515 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5516 * libio/iofgetws.c (fgetws): Likewise.
5517 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5518 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5519 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5520 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5521 * locale/findlocale.c (_nl_find_locale): Likewise.
5522 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5523 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5524 Likewise.
5525 * locale/setlocale.c (setlocale): Likewise.
5526 * login/programs/pt_chown.c (main): Likewise.
5527 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5528 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5529 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5530 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5531 * math/e_exp2l.c: Likewise.
5532 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5533 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5534 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5535 * math/s_catan.c (__catan): Likewise.
5536 * math/s_catanf.c (__catanf): Likewise.
5537 * math/s_catanh.c (__catanh): Likewise.
5538 * math/s_catanhf.c (__catanhf): Likewise.
5539 * math/s_catanhl.c (__catanhl): Likewise.
5540 * math/s_catanl.c (__catanl): Likewise.
5541 * math/s_ccosh.c (__ccosh): Likewise.
5542 * math/s_ccoshf.c (__ccoshf): Likewise.
5543 * math/s_ccoshl.c (__ccoshl): Likewise.
5544 * math/s_cexp.c (__cexp): Likewise.
5545 * math/s_cexpf.c (__cexpf): Likewise.
5546 * math/s_cexpl.c (__cexpl): Likewise.
5547 * math/s_clog10.c (__clog10): Likewise.
5548 * math/s_clog10f.c (__clog10f): Likewise.
5549 * math/s_clog10l.c (__clog10l): Likewise.
5550 * math/s_clog.c (__clog): Likewise.
5551 * math/s_clogf.c (__clogf): Likewise.
5552 * math/s_clogl.c (__clogl): Likewise.
5553 * math/s_csin.c (__csin): Likewise.
5554 * math/s_csinf.c (__csinf): Likewise.
5555 * math/s_csinh.c (__csinh): Likewise.
5556 * math/s_csinhf.c (__csinhf): Likewise.
5557 * math/s_csinhl.c (__csinhl): Likewise.
5558 * math/s_csinl.c (__csinl): Likewise.
5559 * math/s_csqrt.c (__csqrt): Likewise.
5560 * math/s_csqrtf.c (__csqrtf): Likewise.
5561 * math/s_csqrtl.c (__csqrtl): Likewise.
5562 * math/s_ctan.c (__ctan): Likewise.
5563 * math/s_ctanf.c (__ctanf): Likewise.
5564 * math/s_ctanh.c (__ctanh): Likewise.
5565 * math/s_ctanhf.c (__ctanhf): Likewise.
5566 * math/s_ctanhl.c (__ctanhl): Likewise.
5567 * math/s_ctanl.c (__ctanl): Likewise.
5568 * math/w_pow.c: Likewise.
5569 * math/w_powf.c: Likewise.
5570 * math/w_powl.c: Likewise.
5571 * math/w_scalb.c (sysv_scalb): Likewise.
5572 * math/w_scalbf.c (sysv_scalbf): Likewise.
5573 * math/w_scalbl.c (sysv_scalbl): Likewise.
5574 * misc/error.c (error_tail): Likewise.
5575 * misc/pselect.c (__pselect): Likewise.
5576 * nis/nis_callback.c (__nis_create_callback): Likewise.
5577 * nis/nis_call.c (__nisfind_server): Likewise.
5578 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5579 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5580 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5581 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5582 * nis/nis_lookup.c (nis_lookup): Likewise.
5583 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5584 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5585 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5586 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5587 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5588 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5589 * nis/nss_compat/compat-initgroups.c (add_group)
5590 (internal_getgrent_r): Likewise.
5591 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5592 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5593 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5594 (internal_getspnam_r): Likewise.
5595 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5596 (_nss_nis_getaliasbyname_r): Likewise.
5597 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5598 (_nss_nis_getntohost_r): Likewise.
5599 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5600 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5601 (_nss_nis_getgrgid_r): Likewise.
5602 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5603 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5604 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5605 (_nss_nis_gethostbyname4_r): Likewise.
5606 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5607 (initgroups_netid): Likewise.
a1ffb40e 5608 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5609 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5610 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5611 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5612 (_nss_nis_getprotobynumber_r): Likewise.
5613 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5614 (_nss_nis_getsecretkey): Likewise.
5615 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5616 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5617 (_nss_nis_getpwuid_r): Likewise.
5618 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5619 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5620 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5621 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5622 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5623 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5624 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5625 Likewise.
57f41c40
AS
5626 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5627 (_nss_nisplus_getntohost_r): Likewise.
5628 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5629 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5630 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5631 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5632 Likewise.
57f41c40
AS
5633 * nis/nss_nisplus/nisplus-initgroups.c
5634 (_nss_nisplus_initgroups_dyn): Likewise.
5635 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5636 (_nss_nisplus_getnetbyaddr_r): Likewise.
5637 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5638 (_nss_nisplus_getprotobynumber_r): Likewise.
5639 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5640 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5641 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5642 Likewise.
57f41c40
AS
5643 * nis/nss_nisplus/nisplus-service.c
5644 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5645 (_nss_nisplus_getservbyport_r): Likewise.
5646 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5647 (_nss_nisplus_getspnam_r): Likewise.
5648 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5649 Likewise.
a1ffb40e
OB
5650 * nscd/aicache.c (addhstaiX): Likewise.
5651 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5652 * nscd/connections.c (register_traced_file, send_ro_fd)
5653 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5654 (main_loop_epoll): Likewise.
a1ffb40e
OB
5655 * nscd/grpcache.c (addgrbyX): Likewise.
5656 * nscd/hstcache.c (addhstbyX): Likewise.
5657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5658 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5659 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5660 (addinnetgrX): Likewise.
5661 * nscd/nscd-client.h (__nscd_acquire_maplock)
5662 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5663 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5664 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5665 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5666 Likewise.
5667 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5669 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5670 (__nscd_get_map_ref): Likewise.
a1ffb40e 5671 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5672 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5673 Likewise.
a1ffb40e
OB
5674 * nscd/pwdcache.c (addpwbyX): Likewise.
5675 * nscd/selinux.c (preserve_capabilities): Likewise.
5676 * nscd/servicescache.c (addservbyX): Likewise.
5677 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5678 * posix/fnmatch.c (fnmatch): Likewise.
5679 * posix/getopt.c (_getopt_internal_r): Likewise.
5680 * posix/glob.c (glob, glob_in_dir): Likewise.
5681 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5683 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5684 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5685 * resolv/res_init.c: Likewise.
5686 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5687 * resolv/res_query.c (__libc_res_nquery): Likewise.
5688 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5689 Likewise.
5690 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5691 * stdio-common/perror.c (perror): Likewise.
5692 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5693 * stdio-common/tmpnam.c (tmpnam): Likewise.
5694 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5695 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5696 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5697 Likewise.
a1ffb40e
OB
5698 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5699 * stdlib/putenv.c (putenv): Likewise.
5700 * stdlib/setenv.c (__add_to_environ): Likewise.
5701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5702 * stdlib/strtol_l.c (INTERNAL): Likewise.
5703 * string/memmem.c (memmem): Likewise.
5704 * string/strerror.c (strerror): Likewise.
5705 * string/strnlen.c (__strnlen): Likewise.
5706 * string/test-memmem.c (simple_memmem): Likewise.
5707 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5708 * sunrpc/pm_getport.c (__get_socket): Likewise.
5709 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5710 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5711 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5712 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5713 Likewise.
5714 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5715 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5716 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5717 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5718 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5719 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5720 Likewise.
5721 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5722 Likewise.
a1ffb40e
OB
5723 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5724 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5726 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5727 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5729 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5730 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5731 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5732 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5733 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5734 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5735 Likewise.
5736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5737 Likewise.
5738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5739 Likewise.
5740 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5742 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5743 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5744 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5745 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5746 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5755 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5756 Likewise.
a1ffb40e
OB
5757 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5758 Likewise.
5759 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5760 Likewise.
5761 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5762 Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5765 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5766 Likewise.
5767 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5768 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5769 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5770 * sysdeps/posix/sleep.c: Likewise.
5771 * sysdeps/posix/tempname.c: Likewise.
5772 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5773 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5774 Likewise.
57f41c40
AS
5775 * sysdeps/powerpc/powerpc32/dl-machine.h
5776 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5777 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5779 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5780 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5781 Likewise.
5782 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5784 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5786 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5787 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5788 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5789 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5790 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5791 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5793 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5794 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5796 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5797 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5798 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5799 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5800 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5801 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5802 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5803 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5805 Likewise.
5806 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5807 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5808 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5809 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5810 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5811 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5812 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5813 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5814 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5815 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5816 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5817 Likewise.
5818 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5819 (__posix_fallocate64_l64): Likewise.
5820 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5821 (posix_fallocate): Likewise.
57f41c40
AS
5822 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5823 Likewise.
a1ffb40e 5824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5825 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5826 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5827 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5828 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5829 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5830 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5831 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5832 (__posix_fallocate64_l64): Likewise.
5833 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5834 Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5836 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5837 (__get_clockfreq): Likewise.
a1ffb40e
OB
5838 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5839 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5840 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5843 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5844 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5845 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5848 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5849 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5852 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5853 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5856 (posix_fallocate): Likewise.
5857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5858 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5859 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5860 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5861 (elf_machine_rela, elf_machine_rela_relative)
5862 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5863 * time/asctime.c (asctime_internal): Likewise.
5864 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5865 * time/tzset.c (__tzset_parse_tz): Likewise.
5866 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5867 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5868 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5869 * wcsmbs/wcsmbsload.h: Likewise.
5870
f3d338c9
OB
5871 [BZ #15894]
5872 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5873
57f41c40
AS
5874 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5875 (arena_get2): Remove THREAD_STATS conditionals.
5876 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5877 (__malloc_stats, int): Likewise.
bdfe308a 5878
d674667c
MF
58792014-02-08 Mike Frysinger <vapier@gentoo.org>
5880
5881 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5882 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5883
6349768c
MF
5884 * manual/setjmp.texi: Fix typos/grammar errors.
5885
0b7c7473
MF
5886 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5887 Only return early when n is <= 0. Delete unused return statement.
5888
ac8cc9e3
MF
5889 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5890 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5891 * debug/tst-longjmp_chk3.c: New file.
5892
c5bb8e23
MF
5893 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5894 (test_main): Replace code with set_fortify_handler call.
5895 * debug/test-strcpy_chk.c: Likewise.
5896 * debug/tst-chk1.c: Likewise.
5897 * debug/tst-longjmp_chk.c: Likewise.
5898 * test-skeleton.c: Include fcntl.h & paths.h
5899 (set_fortify_handler): Define.
5900
10444e42
MF
5901 * debug/tst-longjmp_chk.c: Add header comment and include
5902 ../test-skeleton.c.
5903 (do_test): Mark static.
5904 (TEST_FUNCTION): Define.
5905
1e805e8d
MF
5906 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5907 (IP_PMTUDISC_INTERFACE): Likewise.
5908 (IP_MULTICAST_IF): Likewise.
5909 (IP_MULTICAST_TTL): Likewise.
5910 (IP_MULTICAST_LOOP): Likewise.
5911 (IP_ADD_MEMBERSHIP): Likewise.
5912 (IP_DROP_MEMBERSHIP): Likewise.
5913 (IP_UNBLOCK_SOURCE): Likewise.
5914 (IP_BLOCK_SOURCE): Likewise.
5915 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5916 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5917 (IP_MSFILTER): Likewise.
5918 (MCAST_JOIN_GROUP): Likewise.
5919 (MCAST_BLOCK_SOURCE): Likewise.
5920 (MCAST_UNBLOCK_SOURCE): Likewise.
5921 (MCAST_LEAVE_GROUP): Likewise.
5922 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5923 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5924 (MCAST_MSFILTER): Likewise.
5925 (IP_MULTICAST_ALL): Likewise.
5926 (IP_UNICAST_IF): Likewise.
5927
73f79bb7
MF
5928 * timezone/Makefile: Delete $(have-ksh) check.
5929 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5930 * timezone/tzselect.ksh: Add +x mode bits.
5931
8da79b60
MF
5932 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5933 (ANON_INODE_FS_MAGIC): Likewise.
5934 (BDEVFS_MAGIC): Likewise.
5935 (BINFMTFS_MAGIC): Likewise.
5936 (BTRFS_TEST_MAGIC): Likewise.
5937 (CRAMFS_MAGIC_WEND): Likewise.
5938 (DEBUGFS_MAGIC): Likewise.
5939 (ECRYPTFS_SUPER_MAGIC): Likewise.
5940 (EXT3_SUPER_MAGIC): Likewise.
5941 (EXT4_SUPER_MAGIC): Likewise.
5942 (FUTEXFS_SUPER_MAGIC): Likewise.
5943 (HOSTFS_SUPER_MAGIC): Likewise.
5944 (HUGETLBFS_MAGIC): Likewise.
5945 (MINIX3_SUPER_MAGIC): Likewise.
5946 (MTD_INODE_FS_MAGIC): Likewise.
5947 (NILFS_SUPER_MAGIC): Likewise.
5948 (OPENPROM_SUPER_MAGIC): Likewise.
5949 (PIPEFS_MAGIC): Likewise.
5950 (PSTOREFS_MAGIC): Likewise.
5951 (QNX6_SUPER_MAGIC): Likewise.
5952 (RAMFS_MAGIC): Likewise.
5953 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5954 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5955 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5956 (SECURITYFS_MAGIC): Likewise.
5957 (SELINUX_MAGIC): Likewise.
5958 (SMACK_MAGIC): Likewise.
5959 (SOCKFS_MAGIC): Likewise.
5960 (SQUASHFS_MAGIC): Likewise.
5961 (STACK_END_MAGIC): Likewise.
5962 (TMPFS_MAGIC): Likewise.
5963 (USBDEVICE_SUPER_MAGIC): Likewise.
5964 (V9FS_MAGIC): Likewise.
5965 (XENFS_SUPER_MAGIC): Likewise.
5966 (CRAMFS_MAGIC): Fix typo in comment.
5967 (EXT2_SUPER_MAGIC): Update comment.
5968 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5969
464263cc
JM
59702014-02-08 Joseph Myers <joseph@codesourcery.com>
5971
c6bfe5c4
JM
5972 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5973 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5974 * sysdeps/unix/sysv/linux/arm: Move directory from
5975 ports/sysdeps/unix/sysv/linux/arm.
5976 * README: Update listing for arm-*-linux-gnueabi.
5977
464263cc
JM
5978 * README: Remove mention of am33.
5979
32749f6c
RM
59802014-02-07 Roland McGrath <roland@hack.frob.com>
5981
5982 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5983 than the comma operator, to avoid "rhs of comma has no effect"
5984 compiler warnings.
5985 (__sigfillset, __sigandset, __sigorset): Likewise.
5986 * include/signal.h (__sigemptyset): Likewise.
5987 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5988
d5b396c1
AM
59892014-02-07 Allan McRae <allan@archlinux.org>
5990
5991 * version.h (RELEASE): Set to "development".
5992 (VERSION): Set to "2.19.90"
5993 * NEWS: Add 2.20 section.
5994
3bfff2ed
CD
59952014-02-06 Carlos O'Donell <carlos@redhat.com>
5996
5997 [BZ #16529]
5998 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5999
ee7cc385
SP
60002014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6001
6002 * manual/contrib.texi: Update entry for Carlos O'Donell,
6003 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6004
f877c4f2
CD
60052014-02-05 Carlos O'Donell <carlos@rehdat.com>
6006
27e839f6
CD
6007 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6008
f877c4f2
CD
6009 * sysdeps/unix/sysv/linux/kernel-features.h
6010 [__LINUX_KERNEL_VERSION >= 0x020621]
6011 (__ASSUME_PROC_PID_TASK_COMM): Define.
6012
68159946
SP
60132014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6014
ba17cdbd
SP
6015 [BZ #16398]
6016 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6017 conversion when destination buffer does not have enough space.
6018 * libio/tst-ftell-partial-wide.c: New test case.
6019 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6020
68159946
SP
6021 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6022 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6023 Leonard and Allan McRae.
6024
2b528732
DM
60252014-02-04 David S. Miller <davem@davemloft.net>
6026
6027 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6028 32-bit.
6029
0ff82463
AZ
60302014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6031
57f41c40
AS
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6033 New file
c01603f7
AZ
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6035 New file
57f41c40
AS
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6037 New file.
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6039 New file.
c01603f7
AZ
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6041 New file.
57f41c40
AS
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6043 New file.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6045 New file.
c01603f7
AZ
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6047 New file.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6049 New file.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6051 New file.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6053 New file.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6055 New file.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6057 New file.
6058
60592014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6060
0ff82463
AZ
6061 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6062 * shlib-versions: Likewise.
6063
1695c773
AZ
60642014-02-04 Roland McGrath <roland@hack.frob.com>
6065 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6068 (abilist-pattern): New variable, set to %-le.abilist.
6069
6070 * Makerules (abilist-pattern): New variable.
6071 (vpath): Use $(abilist-pattern) in place of %.abilist.
6072 (check-abi-% pattern rule): Likewise.
6073 (check-abi, update-abi): Likewise.
6074
6c0ce4b4
EW
60752014-02-04 Eric Wong <normalperson@yhbt.net>
6076
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6078
481e3524
CD
60792014-02-03 Carlos O'Donell <carlos@redhat.com>
6080
6081 * manual/startup.texi: Add next, previous, and top entries for
6082 the `Program Arguments' and `Environment Variables' nodes.
6083
375592d3
AO
60842014-02-03 Alexandre Oliva <aoliva@redhat.com>
6085
6086 * manual/macros.texi: Add comments before MTASC-safety macros.
6087
f54838ba
AO
6088 * manual/users.texi: Document MTASC-safety properties.
6089
57f41c40
AS
6090 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6091 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6092 @deftypefun, and add @safety note.
6093 * manual/signal.texi: Move comments that analyze the above
6094 functions to their home place.
6095
fd3daba4
AM
60962014-02-03 Allan McRae <allan@archlinux.org>
6097
6098 * po/sl.po: Update Slovenian translation from translation project.
6099
597636d7
AO
61002014-02-02 Alexandre Oliva <aoliva@redhat.com>
6101
6102 * manual/time.texi (timegm): Add missing blank after @c.
6103 Reported by Joseph Myers <joseph@codesourcery.com>.
6104
ee196e3c
AO
61052014-02-01 Alexandre Oliva <aoliva@redhat.com>
6106
6107 * manual/check-safety.sh: New.
6108 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6109
f8d529d5
AO
6110 * manual/terminal.texi: Document MTASC-safety properties.
6111
de55fdf4
AO
6112 * manual/filesys.texi: Document MTASC-safety properties.
6113
c3299c08
AO
6114 * manual/errno.texi: Document MTASC-safety properties.
6115
06e90b14
AO
6116 * manual/intro.texi: Document safety identifiers and
6117 conditionals.
6118
1acd4371
AO
6119 * manual/string.texi (wcstok): Fix prototype.
6120 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6121
23e5b8cb
AO
6122 * manual/time.texi: Document MTASC-safety properties.
6123
11087373
AO
6124 * manual/string.texi: Document MTASC-safety properties.
6125
5da2c93d
AO
6126 * manual/threads.texi: Document MTASC-safety properties.
6127
171e9210
AO
6128 * manual/stdio.texi: Document MTASC-safety properties.
6129
d9e02532
AO
6130 * manual/syslog.texi: Document MTASC-safety properties.
6131
6af8bab7
AO
6132 * manual/sysinfo.texi: Document MTASC-safety properties.
6133
663b02d7
AO
6134 * manual/startup.texi: Document MTASC-safety properties.
6135
973f180b
AO
6136 * manual/socket.texi: Document MTASC-safety properties.
6137
8f3c25c8
AO
6138 * manual/signal.texi: Document MTASC-safety properties.
6139
542210fb
AO
61402014-01-31 Alexandre Oliva <aoliva@redhat.com>
6141
6142 * manual/setjmp.texi: Document MTASC-safety properties.
6143
433c45a2
AO
6144 * manual/search.texi: Document MTASC-safety properties.
6145
c8ce789c
AO
6146 * manual/resource.texi: Document MTASC-safety properties.
6147
19f5d29c
AO
6148 * manual/process.texi: Document MTASC-safety properties.
6149
e2dfb7f4
AO
6150 * manual/platform.texi: Document MTASC-safety properties.
6151
8c1413f5
AO
6152 * manual/pipe.texi: Document MTASC-safety properties.
6153
03483ada
AO
6154 * manual/pattern.texi: Document MTASC-safety properties.
6155
29e7e2df
AO
6156 * manual/message.texi: Document MTASC-safety properties.
6157
9f529d7c
AO
6158 [BZ #12751]
6159 * manual/memory.texi: Document MTASC-safety properties.
6160
27aaa791
AO
6161 * manual/math.texi: Document MTASC-safety properties.
6162
f2d58726
AO
6163 * manual/locale.texi: Document MTASC-safety properties.
6164
2cc3615c
AO
6165 * manual/llio.texi: Document MTASC-safety properties.
6166
d9f0ec97
AO
6167 * manual/libdl.texi: New.
6168
e7c4409a
AO
6169 * manual/lang.texi: Document MTASC-safety properties.
6170
27bdc63c
AO
6171 * manual/job.texi: Document MTASC-safety properties.
6172
a7b90ea9
AO
6173 * manual/getopt.texi: Document MTASC-safety properties.
6174
c49130e3
AO
6175 * manual/ctype.texi: Document MTASC-safety properties.
6176
0d23a5c1
MR
61772014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6178
6179 [BZ #16046]
6180 * csu/libc-tls.c (static_map): Remove variable.
6181 (__libc_setup_tls): Use main executable's link map for TLS data.
6182 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6183 casing for LM_ID_BASE and GL(dl_nns).
6184 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6185 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6186 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6187 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6188 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6189 member.
6190 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6191 l_phnum members.
6192
0037bb60
AO
61932014-01-30 Alexandre Oliva <aoliva@redhat.com>
6194
6195 * manual/debug.texi: Document MTASC-safety properties.
6196
409e00bd
L
61972014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 [BZ #16510]
6200 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6201 of __x86_64__ when disabling x87 inline functions.
6202
86e60666
AO
62032014-01-29 Alexandre Oliva <aoliva@redhat.com>
6204
6205 * manual/charset.texi: Document MTASC-safety properties.
6206
76167637
AO
6207 * manual/crypt.texi: Document MTASC-safety properties.
6208
e567f2a0
AO
6209 * manual/conf.texi: Document MTASC-safety properties.
6210
b719dafd
AO
6211 * manual/arith.texi: Document MTASC-safety properties.
6212
4a16c662
AO
6213 * manual/argp.texi: Document MTASC-safety properties.
6214
0a57b83e
AO
6215 * manual/macros.texi: Introduce macros to document multi
6216 thread, asynchronous signal and asynchronous cancellation
6217 safety properties.
6218 * manual/intro.texi: Introduce the properties themselves.
6219
feab2397
KK
62202014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6221
6222 * sysdeps/sh/sh4/Makefile: New file.
6223
1c0d11bc
AS
62242014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 * math/gen-libm-test.pl ($srcdir): New variable.
6227 ($auto_input): Use it.
6228
af37a8a3
SP
62292014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6230
d7b00f98
SP
6231 [BZ #16506]
6232 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6233 access beyond array bounds when parsing netgroups file.
6234
af37a8a3
SP
6235 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6236 the old buffer before realloc.
6237
0c00f062
AM
62382014-01-27 Allan McRae <allan@archlinux.org>
6239
6240 * po/fr.po: Update French translation from translation project.
6241
7d69a1b0
KK
62422014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6243
6244 * sysdeps/sh/libm-test-ulps: Regenerate.
6245
6e697ff7
DM
62462014-01-24 David S. Miller <davem@davemloft.net>
6247
6248 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6249
9cadb35c
KK
62502014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6251
6252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6253 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6254
5d41dadf
SP
62552013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6256
6257 [BZ #16474]
6258 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6259 string pointers after reallocation.
6260
0bad441c
KK
62612014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6262
6263 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6264 __SH4A__ instead of __SH_FPU_ANY__.
6265
7007c661
KK
62662014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6267
6268 * sysdeps/sh/fpu_control.h: New file.
6269 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6270 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6271 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6272 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6273 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6274 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6275 * sysdeps/sh/sys/ucontext.h: Remove.
6276 * sysdeps/sh/sys: Remove directory.
6277
0f0c35e4
AK
62782014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6279
6280 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6281 s390/sys/ucontext.h.
6282 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6283 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6284
4959e284
L
62852014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6286
6287 [BZ #15605]
6288 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6289
d98720e0
AZ
62902014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 [BZ#16431]
6293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6294 Adjust the vDSO correctly for internal calls.
6295 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6296
91cbd0bc
AM
62972014-01-20 Allan McRae <allan@archlinux.org>
6298
6299 * po/ca.po: Update Catalan translation from translation project.
6300
7a02cfad
MF
63012014-01-16 Mike Frysinger <vapier@gentoo.org>
6302
6303 * sysdeps/s390/sotruss-lib.c: New file.
6304
736c304a
AZ
63052014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306
6307 [BZ#16430]
6e077ee5 6308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6309 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6310 local calls issues by not having a PLT stub required for IFUNC calls.
6311 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6312
94d0cea0
JM
63132014-01-16 Joseph Myers <joseph@codesourcery.com>
6314
6315 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6316 * math/test-fpucw-static.c: Likewise.
6317
980cb518
SP
63182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6319
6320 [BZ #16453]
6321 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6322
2393fc01
AZ
63232014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324
6325 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6326 implementation for powerpc.
6327
d359bcc2
OB
63282014-01-15 Ondřej Bílka <neleai@seznam.cz>
6329
6330 [BZ #14782]
6331 * sysdeps/posix/system.c (__libc_system): Do not enable
6332 asynchronous cancellation.
6333
7beb48cb
AK
63342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6335
6336 [BZ #16427]
6337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6338 handling only for numbers special also in the IEEE case.
6339
c20d5bf5
AK
63402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6341
6342 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6343
e83bd4ee
AM
63442014-01-11 Allan McRae <allan@archlinux.org>
6345
76d0ea69
AM
6346 * po/bg.po: Update Bulgarian translation from translation project.
6347
e83bd4ee
AM
6348 * po/de.po: Update German translation from translation project.
6349
bc2ba20a
RM
63502014-01-10 Roland McGrath <roland@hack.frob.com>
6351
6352 * sysdeps/generic/gcc-compat.h: New file.
6353
649ecea2
SP
63542014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6355
6356 * benchtests/asin-inputs: Correct slow inputs.
6357 * benchtests/acos-inputs: Likewise.
6358
1b19c006
AM
63592014-01-10 Allan McRae <allan@archlinux.org>
6360
a46dab08
AM
6361 * po:sv.po: Update Swedish translation from translation project.
6362
421df74a
AM
6363 * po/vi.po: Update Vietnamese translation from translation project.
6364
d61c51a7
AM
6365 * po/eo.po: Update Esperanto translation from translation project.
6366
0339a319
AM
6367 * po/cs.po: Update Czech translation from translation project.
6368
94ad3e99
AM
6369 * po/nl.po: Update Dutch translation from translation project.
6370
e349ca71
AM
6371 * po/pl.po: Update Polish translation from translation project.
6372
ddf930c1
AM
6373 * po/ru.po: Update Russian translation from translation project.
6374
1b19c006
AM
6375 * po/uk.po: Update Ukrainian translation from translation project.
6376
9f236c49
BM
63772014-01-08 Brooks Moses <bmoses@google.com>
6378
6379 * elf/dl-load.c: Fix comment typo.
6380
cd6701cf
CD
63812014-01-08 Carlos O'Donell <carlos@redhat.com>
6382
6383 * po/header.pot: Rename to...
6384 * po/pot.header: ... this.
6385 * po/Makefile: Use pot.header.
6386
66671c84
YK
63872014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6388 Maxim Kuvyrkov <maxim@kugelworks.com>
6389
6390 [BZ #16394]
cd6701cf
CD
6391 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6392 SRC and DEST against LEN.
66671c84 6393
38f34581
AZ
63942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395
6396 [BZ #16414]
6397 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6398 implementation.
6399 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6400
64012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6402
6403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6404
4c327f2a
JM
64052014-01-08 Joseph Myers <joseph@codesourcery.com>
6406
6407 [BZ #16408]
6408 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6409 for large positive arguments.
6410
b821f414
JM
64112014-01-07 Joseph Myers <joseph@codesourcery.com>
6412
1f0f2067
JM
6413 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6414
a5a326f6
JM
6415 * math/auto-libm-test-in: Mark various tests with
6416 xfail-rounding:ldbl-128ibm.
6417 * math/auto-libm-test-out: Regenerated.
6418
b821f414
JM
6419 [BZ #16407]
6420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6421 Increase overflow threshold.
6422
94c8a4bc
OB
64232014-01-07 Ondřej Bílka <neleai@seznam.cz>
6424
6425 [BZ #14286]
6426 * stdio-common/vfprintf.c: Check for integer overflow.
6427
87ded0c3
AK
64282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6429
6430 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6431 the first argument and return value of __tls_get_addr_internal.
6432
c5eebdd0
AK
64332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6434
6435 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6436 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6437
05d138ef
AK
64382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6439
6440 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6441 * sysdeps/s390/rtld-global-offsets.sym: New file.
6442 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6443 GLIBC_2.19 symbol.
6444 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6445 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6446 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6447 ... this.
6448 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6449 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6450 ... this.
6451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6452 Regenerate.
6453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6454 Regenerate.
6455 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6456 halfs of GPRs for high_gprs contexts.
6457 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6458 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6459 field.
6460 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6461 uc_flags field.
6462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6463 64 bit versions:
6464 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6465 for high GPRs (uc_high_gprs) and for future extensions
6466 (__reserved).
6467 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6468 for future extensions (__reserved).
6469 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6470 64 bit versions:
6471 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6472 SC_HIGHGPRS offset definition.
6473 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6474 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6475
93a45ff1
AK
6476 * Versions.def: Add GLIBC_2.19 for libpthread.
6477 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6478 siglongjmp for libpthread with GLIBC_2.19 symver.
6479 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6480 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6481 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6482 * sysdeps/s390/__longjmp.c: New file.
6483 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6484 * sysdeps/s390/longjmp.c: New file.
6485 * sysdeps/s390/setjmp.S: New file.
6486 * sysdeps/s390/sigjmp.S: New file.
6487 * sysdeps/s390/v1-longjmp.c: New file.
6488 * sysdeps/s390/v1-setjmp.h: New file.
6489 * sysdeps/s390/v1-sigjmp.c: New file.
6490 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6491 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6492 GLIBC_2.19 version.
6493 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6494 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6495 versioned symbols for ____longjmp_chk.
6496 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6497 Likewise.
6498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6499 Regenerate.
6500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6501 Regenerate.
6502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6503 Regenerate.
6504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6505 Regenerate.
6506 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6507 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6508 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6509 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6510 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6511 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6512 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6513 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6514 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6515 * sysdeps/s390/rtld-__longjmp.c: New file.
6516 * sysdeps/s390/rtld-setjmp.S: New file.
6517
eb3fc44b
JM
65182014-01-06 Joseph Myers <joseph@codesourcery.com>
6519
6520 [BZ #16400]
6521 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6522 Return -__logl (x) for small positive arguments without evaluating
6523 a polynomial.
6524
9341dde4
MF
65252014-01-06 Mike Frysinger <vapier@gentoo.org>
6526
6527 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6528 Rename to ...
6529 (__ptrace_peeksiginfo_args): ... this.
6530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6532 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6533
4cff0293
AM
65342014-01-06 Allan McRae <allan@archlinux.org>
6535
6536 * inet/netinet/in.h: Fix typo in comment.
6537
75595dcf
AJ
65382014-01-05 Andreas Jaeger <aj@suse.de>
6539
6540 * sysdeps/i386/fpu/libm-test-ulps: Update.
6541
79c1e109
AM
65422014-01-05 Allan McRae <allan@archlinux.org>
6543
dd804818
AM
6544 * po/libc.pot: Regenerated.
6545
79c1e109
AM
6546 * malloc/memusagestat.c: Fix gettext call formatting.
6547
0c813d1f
SK
65482014-01-04 Sami Kerola <kerolasa@iki.fi>
6549
6550 * nscd/nscd.c: Improve usage() output.
6551
20f4a8d9
MF
65522014-01-04 Mike Frysinger <vapier@gentoo.org>
6553
6554 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6555 * sysdeps/unix/sysv/linux/configure: Regenerated.
6556 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6557 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6558
22562bb2
JM
65592014-01-03 Joseph Myers <joseph@codesourcery.com>
6560
6561 [BZ #16390]
6562 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6563 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6564
d7ad2d9b
AZ
65652014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566
6567 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6568 extra tokens at end of #undef directive.
6569 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6572
7dd009d8
JM
65732014-01-03 Joseph Myers <joseph@codesourcery.com>
6574
24db925a
JM
6575 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6576
7dd009d8
JM
6577 * math/auto-libm-test-in: Mark various tests with
6578 xfail-rounding:ldbl-128ibm.
6579 * math/auto-libm-test-out: Regenerated.
6580
396e3ecf
JM
65812014-01-02 Joseph Myers <joseph@codesourcery.com>
6582
819e5d50
JM
6583 [BZ #16386]
6584 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6585 numbers with subnormal high part when calculating exponent.
6586
90b6a1e5
JM
6587 [BZ #16385]
6588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6589 fabs.
6590
396e3ecf
JM
6591 [BZ #16384]
6592 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6593 M_LN2l.
6594 (__ieee754_acoshl): Use __log1pl not __log1p.
6595
6c8dbf00
OB
65962013-01-02 Ondřej Bílka <neleai@seznam.cz>
6597
57f41c40
AS
6598 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6599 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6600 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6601 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6602 (reused_arena, arena_get2): Convert to GNU style.
6603 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6604 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6605 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6606 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6607 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6608 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6609 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6610 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6611 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6612 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6613 * malloc/malloc.h: Likewise.
57f41c40
AS
6614 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6615 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6616 * malloc/mcheck.h: Likewise.
57f41c40
AS
6617 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6618 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6619 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6620 * malloc/morecore.c (__default_morecore): Likewise.
6621 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6622 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6623 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6624 (print_and_abort): Likewise.
6c8dbf00
OB
6625 * malloc/obstack.h: Likewise.
6626 * malloc/set-freeres.c (__libc_freeres): Likewise.
6627 * malloc/tst-mallocstate.c (main): Likewise.
6628 * malloc/tst-mtrace.c (main): Likewise.
6629 * malloc/tst-realloc.c (do_test): Likewise.
6630
d4124212
SP
66312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6632
9a3c6a6f
SP
6633 [BZ #16366]
6634 * nscd/netgroupcache.c (do_notfound): New function.
6635 (addgetnetgrentX): Use it.
6636
d4124212
SP
6637 [BZ # 16365]
6638 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6639 NSS_STATUS_NOTFOUND.
6640
97b9a009
JM
66412014-01-01 Joseph Myers <joseph@codesourcery.com>
6642
6643 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645
d4697bc9
AM
66462014-01-01 Allan McRae <allan@archlinux.org>
6647
ddb3687f
AM
6648 * scripts/update-copyrights: Update configure input file suffix.
6649
88726d48
AM
6650 * NEWS: Update copyright year.
6651 * catgets/gencat.c: Likewise.
6652 * csu/version.c: Likewise.
6653 * debug/catchsegv.sh: Likewise.
6654 * debug/pcprofiledump.c: Likewise.
6655 * debug/xtrace.sh: Likewise.
6656 * elf/ldconfig.c: Likewise.
6657 * elf/ldd.bash.in: Likewise.
6658 * elf/pldd.c: Likewise.
6659 * elf/sotruss.ksh: Likewise.
6660 * elf/sprof.c: Likewise.
6661 * iconv/iconv_prog.c: Likewise.
6662 * iconv/iconvconfig.c: Likewise.
6663 * locale/programs/locale.c: Likewise.
6664 * locale/programs/localedef.c: Likewise.
6665 * login/programs/pt_chown.c: Likewise.
6666 * malloc/memusage.sh: Likewise.
6667 * malloc/memusagestat.c: Likewise.
6668 * malloc/mtrace.pl: Likewise.
6669 * manual/libc.texinfo: Likewise.
6670 * nscd/nscd.c: Likewise.
6671 * nss/getent.c: Likewise.
6672 * nss/makedb.c: Likewise.
6673 * posix/getconf.c: Likewise.
6674 * scripts/test-installation.pl: Likewise.
6675
d4697bc9
AM
6676 * All files with FSF copyright notices: Update copyright dates
6677 using scripts/update-copyrights.
6678 * intl/plural.c: Regenerated.
6679 * locale/programs/charmap-kw.h: Likewise.
6680 * locale/programs/locfile-kw.h: Likewise.
6681
c8590f9d
MF
66822013-12-31 Mike Frysinger <vapier@gentoo.org>
6683
6684 * sysdeps/unix/sysv/linux/configure: Regenerated.
6685 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6686 the linux/fanotify.h header.
6687 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6688 HAVE_LINUX_FANOTIFY_H is defined.
6689
b19221b9
SP
66902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6691
dd1d85e5
SP
6692 * benchtests/cos-inputs: New inputs.
6693 * benchtests/sin-inputs: Likewise.
6694
1acbb90f
SP
6695 * benchtests/atan-inputs: New inputs. Fix name of multiple
6696 precision fallback inputs.
6697
4c012ed3
SP
6698 * benchtests/atanh-inputs: New inputs.
6699 * benchtests/tanh-inputs: Likewise.
6700
eff98324
SP
6701 * benchtests/acosh-inputs: New inputs.
6702 * benchtests/asinh-inputs: Likewise.
6703
ce641152
SP
6704 * benchtests/cosh-inputs: New inputs.
6705 * benchtests/sinh-inputs: Likewise.
6706
b19221b9
SP
6707 * benchtests/acos-inputs: Add more inputs.
6708 * benchtests/asin-inputs: Likewise.
6709
030a4976 67102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6711
030a4976 6712 [BZ #16375]
9dcc8f11
VS
6713 * manual/arith.texi: Fix spelling.
6714 * manual/charset.texi: Likewise.
6715 * manual/errno.texi: Likewise.
6716 * manual/filesys.texi: Likewise.
6717 * manual/lang.texi: Likewise.
6718 * manual/llio.texi: Likewise.
6719 * manual/locale.texi: Likewise.
6720 * manual/message.texi: Likewise.
6721 * manual/resource.texi: Likewise.
6722 * manual/search.texi: Likewise.
6723 * manual/setjmp.texi: Likewise.
6724 * manual/stdio.texi: Likewise.
6725 * manual/string.texi: Likewise.
6726 * manual/sysinfo.texi: Likewise.
6727 * manual/time.texi: Likewise.
6728
11520a57
CD
67292013-12-27 Carlos O'Donell <carlos@redhat.com>
6730
6731 * po/sl.po: New file.
6732
471103ae
MF
67332013-12-27 Mike Frysinger <vapier@gentoo.org>
6734
6735 * .gitignore: Add core/.gdbinit/.gdb_history.
6736
6c9642ed
AM
67372013-12-27 Allan McRae <allan@archlinux.org>
6738
6739 [BZ #16369]
6740 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6741 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6742
3f637079
BM
67432013-12-24 Brooks Moses <bmoses@google.com>
6744
6745 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6746 all compilers that claim C++98 compliance, not just GCC.
6747 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6748 Likewise.
6749
abc26e99
MK
67502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6751
6752 * NEWS: Restore accidentally deleted bug-fix entries.
6753
362b47fe
MK
67542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6755 Ondřej Bílka <neleai@seznam.cz>
6756
6757 [BZ #15073]
6758 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6759 have_lock.
362b47fe 6760
b9bcbbcb
OB
67612013-12-23 Ondřej Bílka <neleai@seznam.cz>
6762
6763 [BZ #12986]
6764 * manual/stdio.texi (String Input Conversions): Clarify that character
6765 classes are not supported.
6766
fb55fcd2
AZ
67672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768
6769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6770
ef7344f0
JM
67712013-12-22 Joseph Myers <joseph@codesourcery.com>
6772
4f40e4b3
JM
6773 [BZ #16337]
6774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6775 Calculate results for small negative arguments directly rather
6776 than using reflection formula with special underflow handling.
6777
ef7344f0
JM
6778 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6779 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6780 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6781 (fchflags): Likewise.
6782 (revoke): Likewise.
6783 (setlogin): Likewise.
6784 (sigaltstack): Likewise.
6785 (wait4): Likewise.
6786 (sigblock): Remove.
6787 (sigsetmask): Likewise.
6788 (wait3): Likewise.
6789 (waitpid): Likewise.
6790 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6791 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6792 file.
6793 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6794 * sysdeps/unix/bsd/Makefile: ... here.
6795 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6796 * sysdeps/unix/bsd/Versions: ... here.
6797 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6798 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6799 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6800 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6801 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6802 * sysdeps/unix/bsd/sigblock.c: ... here.
6803 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6804 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6805 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6806 * sysdeps/unix/bsd/sigvec.c: ... here.
6807 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6808 * sysdeps/unix/bsd/tcdrain.c: ... here.
6809 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6810 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6811 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6812 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6813 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6814 * sysdeps/unix/bsd/wait.c: ... here.
6815 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6816 * sysdeps/unix/bsd/wait3.c: ... here.
6817 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6818 * sysdeps/unix/bsd/waitpid.c: ... here.
6819
5b0626b9
JM
68202013-12-21 Joseph Myers <joseph@codesourcery.com>
6821
6822 [BZ #16356]
6823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6824 round-to-nearest for [!USE_AS_EXPM1L].
6825 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6826 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6827 more tests of exp and exp10. Expect some exp10 tests to miss
6828 exceptions or fail in directed rounding modes.
6829 * math/auto-libm-test-out: Regenerated.
6830 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6831 (exp10_test_tonearest): New function.
6832 (exp10_towardzero_test_data): New array.
6833 (exp10_test_towardzero): New function.
6834 (exp10_downward_test_data): New array.
6835 (exp10_test_downward): New function.
6836 (exp10_upward_test_data): New array.
6837 (exp10_test_upward): New function.
6838 (main): Call the new functions.
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6841
7fda5682
JM
68422013-12-20 Joseph Myers <joseph@codesourcery.com>
6843
31e3a405
JM
6844 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6845 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6846 * math/auto-libm-test-out: Regenerated.
6847 * math/libm-test.inc (acosh_test_data): Add more tests.
6848 (atanh_test_data): Likewise.
6849 (ceil_test_data): Likewise.
6850 (copysign_test_data): Likewise.
6851 * sysdeps/i386/fpu/libm-test-ulps: Update.
6852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6853
85bff96a
JM
6854 * timezone/checktab.awk: Update from tzcode 2013i.
6855 * timezone/private.h: Likewise.
6856 * timezone/scheck.c: Likewise.
6857 * timezone/tzfile.h: Likewise.
6858 * timezone/tzselect.ksh: Likewise.
6859 * timezone/zdump.c: Likewise.
6860 * timezone/zic.c: Likewise.
6861
b7867a3b
JM
6862 * math/auto-libm-test-in: Add tests of cpow.
6863 * math/auto-libm-test-out: Regenerated.
6864 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6866 mpc_cc_c.
6867 (func_calc_desc): Add mpc_cc_c union field.
6868 (test_functions): Add cpow.
6869 (special_fill_2pi): New function.
6870 (special_real_inputs): Add 2pi.
6871 (calc_generic_results): Handle mpc_cc_c.
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6874
7fda5682
JM
6875 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6876 csqrt, ctan and ctanh.
6877 * math/auto-libm-test-out: Regenerated.
6878 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6879 (TEST_COND_x86): Likewise.
6880 (ccos_test_data): Use AUTO_TESTS_c_c.
6881 (ccosh_test_data): Likewise.
6882 (cexp_test_data): Likewise.
6883 (clog_test_data): Likewise.
6884 (csqrt_test_data): Likewise.
6885 (ctan_test_data): Likewise.
6886 (ctan_tonearest_test_data): Likewise.
6887 (ctan_towardzero_test_data): Likewise.
6888 (ctan_downward_test_data): Likewise.
6889 (ctan_upward_test_data): Likewise.
6890 (ctanh_test_data): Likewise.
6891 (ctanh_tonearest_test_data): Likewise.
6892 (ctanh_towardzero_test_data): Likewise.
6893 (ctanh_downward_test_data): Likewise.
6894 (ctanh_upward_test_data): Likewise.
6895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6896 mpc_c_c.
6897 (func_calc_desc): Add mpc_c_c union field.
6898 (FUNC_mpc_c_c): New macro.
6899 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6900 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6901 ctanh.
6902 (special_fill_min_subnorm_p120): New function.
6903 (special_real_inputs): Add min_subnorm_p120.
6904 (calc_generic_results): Handle mpc_c_c.
6905 * sysdeps/i386/fpu/libm-test-ulps: Update.
6906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907
5ff8d60e
SP
69082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
57f41c40
AS
6910 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6911 (do_sin_slow): New functions.
6912 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6913 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6914
84ba214c
SP
6915 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6916 Use M to change sign of result instead of X. Assume X is
6917 positive.
6918 (csloww1): Likewise.
6919 (__sin): Adjust.
6920 (__cos): Adjust.
6921
975195e4
SP
6922 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6923 arguments A and DA.
6924 (__sin): Adjust.
6925 (__cos): Likewise.
6926
5ff8d60e
SP
6927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6928 (__cos): Likewise.
6929 (sloww1): Don't adjust sign of DX.
6930 (csloww1): Likewise.
6931 (sloww2): Use X directly and don't adjust sign of DX.
6932 (csloww2): Likewise.
6933
eb983568
JM
69342013-12-19 Joseph Myers <joseph@codesourcery.com>
6935
64a17f1a
JM
6936 * math/auto-libm-test-in: Add tests of cabs and carg.
6937 * math/auto-libm-test-out: Regenerated.
6938 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6939 (carg_test_data): Likewise.
6940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6941 mpc_c_f.
6942 (func_calc_desc): Add mpc_c_f union field.
6943 (test_functions): Add cabs and carg.
6944 (calc_generic_results): Handle mpc_c_f.
6945
eb983568
JM
6946 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6947 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6948 as a macro and a compat symbol.
6949 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6950 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6951 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6952 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6953 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6954 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6955 not use .hidden.
6956 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6957 Likewise.
6958 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6959 Likewise.
6960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6961 Likewise.
6962 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6963 Likewise.
6964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6965 Likewise.
6966 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6967 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6968 from GLIBC_2.3.2.
6969
6eeb678a
AZ
69702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6971
6972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6973
6f6fc482
JM
69742013-12-19 Joseph Myers <joseph@codesourcery.com>
6975
21fea2e2
JM
6976 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6977 trailing whitespace removed.
6978 * scripts/config.guess: Update to version 2013-11-29.
6979 * scripts/config.sub: Update to version 2013-10-01.
6980
6f6fc482
JM
6981 * math/auto-libm-test-in: Add tests of sincos.
6982 * math/auto-libm-test-out: Regenerated.
6983 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6985 mpfr_f_11.
6986 (func_calc_desc): Add mpfr_f_11 union field.
6987 (test_functions): Add sincos.
6988 (calc_generic_results): Handle mpfr_f_11.
6989 * sysdeps/i386/fpu/libm-test-ulps: Update.
6990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6991
83f5c32d
AS
69922013-12-19 Andreas Schwab <schwab@suse.de>
6993
6994 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6995 CALL_MCOUNT.
6996 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6998 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6999
c688b419
JM
70002013-12-19 Joseph Myers <joseph@codesourcery.com>
7001
335ee092
JM
7002 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7003 * sysdeps/i386/fpu/libm-test-ulps: Update.
7004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7005
f88acd39
JM
7006 [BZ #16293]
7007 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7008 round-to-nearest mode when using frndint.
7009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7010 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7011 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7012 Likewise.
7013 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7014 sinh test to fail.
7015 * math/auto-libm-test-out: Regenerated.
7016 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7017 (TEST_COND_x86): Likewise.
7018 (expm1_tonearest_test_data): New array.
7019 (expm1_test_tonearest): New function.
7020 (expm1_towardzero_test_data): New array.
7021 (expm1_test_towardzero): New function.
7022 (expm1_downward_test_data): New array.
7023 (expm1_test_downward): New function.
7024 (expm1_upward_test_data): New array.
7025 (expm1_test_upward): New function.
7026 (main): Run the new test functions.
7027 * sysdeps/i386/fpu/libm-test-ulps: Update.
7028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7029
c688b419
JM
7030 * include/features.h: Update comment documenting feature test
7031 macros. Mention _DEFAULT_SOURCE in comment.
7032 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7033 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7034 _BSD_SOURCE and _SVID_SOURCE.
7035 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7036 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7037 !_SVID_SOURCE]: Likewise.
7038 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7039 (__USE_POSIX_IMPLICITLY): Define.
7040 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7041 (_POSIX_SOURCE): Undefine and redefine.
7042 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7043 (_POSIX_C_SOURCE): Likewise.
7044 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7045 (Feature Test Macros): Update documentation of default features.
7046
9f6e964c
RS
70472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7048
7049 * benchtests/Makefile: Add bench-strtok.
7050 * benchtests/bench-strtok.c: New file: strtok benchtest.
7051
ee0a148a
AM
70522013-12-19 Allan McRae <allan@archlinux.org>
7053
7054 * manual/install.texi: Suppress menu for plain text output.
7055 * INSTALL: Regenerated.
7056
b9ab448f
BM
70572013-12-18 Brooks Moses <bmoses@google.com>
7058
7059 [BZ #15846]
7060 * misc/getauxval.c: Include errno.h.
7061 (__getauxval): Set errno to ENOENT if the requested type is not
7062 found.
7063 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7064 don't declare with __attribute_const__.
7065 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7066 * manual/startup.texi: Document that getauxval sets errno.
7067
23776487
JM
70682013-12-18 Joseph Myers <joseph@codesourcery.com>
7069
f889953b
JM
7070 * math/auto-libm-test-in: Add tests of jn and yn.
7071 * math/auto-libm-test-out: Regenerated.
7072 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7073 (yn_test_data): Likewise.
7074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7075 mpfr_if_f.
7076 (func_calc_desc): Add mpfr_if_f union field.
7077 (FUNC_mpfr_if_f): New macro.
7078 (test_functions): Add jn and yn.
7079 (calc_generic_results): Assert type of second input for
7080 mpfr_ff_f. Handle mpfr_if_f.
7081 (output_for_one_input_case): Disable all checking for arguments
7082 fitting floating-point types in case of an integer argument.
7083 * sysdeps/i386/fpu/libm-test-ulps: Update.
7084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7085
23776487
JM
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7087 Don't expect fegetround reference in libm.so.
7088
cb756c6d
MS
70892013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7090
7091 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7092 $(config-cflags-nofma).
7093
2dec468f
JM
70942013-12-18 Joseph Myers <joseph@codesourcery.com>
7095
5953eb3a
JM
7096 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7097 * math/auto-libm-test-out: Regenerated.
7098
2dec468f
JM
7099 [BZ #16338]
7100 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7101 to determine exponent and adjust argument to have exponent of -1.
7102 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7103 log2.
7104 * math/auto-libm-test-out: Regenerated.
7105 * sysdeps/i386/fpu/libm-test-ulps: Update.
7106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7107
4d84e6ad
OB
71082013-12-18 Ondřej Bílka <neleai@seznam.cz>
7109
7110 * manual/probes.texi: Remove cases when per-thread arenas are
7111 disabled.
7112
1818483b
AS
71132013-12-18 Andreas Schwab <schwab@suse.de>
7114
7115 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7116 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7117 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7118 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7119 * sysdeps/i386/i686/multiarch/Makefile: Update.
7120 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7121
25de95bf
JM
71222013-12-17 Joseph Myers <joseph@codesourcery.com>
7123
7124 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7125 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7126
674762d9
PE
71272013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7128
ed27ed83 7129 [BZ #15968]
0748546f
PE
7130 Support TZ transition times < 00:00:00.
7131 This is needed for version-3 tz-format files; it supports time
7132 stamps past 2037 for America/Godthab (the only entry in the tz
7133 database for which this change is relevant).
7134 * manual/time.texi (TZ Variable): Document transition times
7135 from -167:59:59 through -00:00:01.
7136 * time/tzset.c (tz_rule): Time of day is now signed.
7137 (__tzset_parse_tz): Parse negative time of day.
7138
4480e934
PE
7139 Document TZ transition times >= 25:00:00.
7140 * manual/time.texi (TZ Variable): Document transition times from
7141 25:00:00 through 167:59:59. These are already supported, and this
7142 support will help with version-3 tz-format files.
7143
69947401
PE
7144 * manual/time.texi (TZ Variable): Modernize North America example
7145 to reflect current (i.e., 2007-and-later) daylight saving rules.
7146
674762d9
PE
7147 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7148
7011c262
JM
71492013-12-17 Joseph Myers <joseph@codesourcery.com>
7150
2fc6557e
JM
7151 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7152 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7155 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7156 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7157 * sysdeps/unix/bsd/clock.c: Likewise.
7158 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7159 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7160 * sysdeps/unix/bsd/init-posix.c: Likewise.
7161 * sysdeps/unix/bsd/poll.c: Likewise.
7162 * sysdeps/unix/bsd/ptsname.c: Likewise.
7163 * sysdeps/unix/bsd/seekdir.c: Likewise.
7164 * sysdeps/unix/bsd/setegid.c: Likewise.
7165 * sysdeps/unix/bsd/seteuid.c: Likewise.
7166 * sysdeps/unix/bsd/setgid.c: Likewise.
7167 * sysdeps/unix/bsd/setrgid.c: Likewise.
7168 * sysdeps/unix/bsd/setruid.c: Likewise.
7169 * sysdeps/unix/bsd/setsid.c: Likewise.
7170 * sysdeps/unix/bsd/setuid.c: Likewise.
7171 * sysdeps/unix/bsd/sigaction.c: Likewise.
7172 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7173 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7174 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7175 * sysdeps/unix/bsd/telldir.c: Likewise.
7176 * sysdeps/unix/bsd/times.c: Likewise.
7177 * sysdeps/unix/bsd/usleep.c: Likewise.
7178
029c7b25
JM
7179 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7180 ($(objpfx)libbsd-compat.a): Remove rule.
7181
7011c262
JM
7182 * include/features.h (__FAVOR_BSD): Do not define.
7183 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7184 features conflicting with POSIX.
7185 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7186 (_BSD_SOURCE): Remove description of not being a subset of other
7187 feature test macros.
7188 * manual/job.texi (getpgrp): Do not document BSD version.
7189 (getpgid): Do not document by reference to BSD getpgrp.
7190 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7191 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7192 * signal/signal.h [__FAVOR_BSD]: Likewise.
7193 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7194 instead of making contents conditional on [__FAVOR_BSD].
7195 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7196
affb6f78
AZ
71972013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198
7199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7200
c88769dd
JM
72012013-12-17 Joseph Myers <joseph@codesourcery.com>
7202
6432a540
JM
7203 [BZ #16314]
7204 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7205 values below 2**-450, not 2**-500.
7206 * math/auto-libm-test-in: Don't allow spurious underflow from
7207 hypot.
7208 * math/auto-libm-test-out: Regenerated.
7209
c88769dd
JM
7210 [BZ #16316]
7211 [BZ #16330]
7212 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7213 values of ha and hb and sort them after adjusting subnormal
7214 arguments.
7215 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7216 Likewise.
7217 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7218 values of ea and eb and sort them after adjusting subnormal
7219 arguments.
7220 * math/auto-libm-test-in: Do not expect some hypot tests of
7221 subnormals to fail. Add more hypot tests.
7222 * math/auto-libm-test-out: Regenerated.
7223
29618f6b
KK
72242013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7225
7226 [BZ #13304]
7227 * sysdeps/sh/s_fma.c: New file.
7228 * sysdeps/sh/s_fmaf.c: New file.
7229 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7230 version.
7231 * sysdeps/sh/Implies: Add sh/soft-fp.
7232
eacfdfbf
RM
72332013-12-16 Roland McGrath <roland@hack.frob.com>
7234
7235 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7236 level of indirection to members `objname', `errstring', `malloced'.
7237 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7238 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7239 it as the __longjmp argument (just pass 1 instead).
7240 (_dl_catch_error): Initialize C with argument pointers and address of
7241 volatile local ERRCODE rather than copying values out of C at return.
7242
ff362e5b
JM
72432013-12-16 Joseph Myers <joseph@codesourcery.com>
7244
7245 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7246 * math/auto-libm-test-out: Regenerated.
7247 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7248 (hypot_test_data): Likewise.
7249 (pow_test_data): Likewise.
7250 (pow_tonearest_test_data): Likewise.
7251 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7252 mpfr_ff_f.
7253 (func_calc_desc): Add mpfr_ff_f union field.
7254 (FUNC_mpfr_ff_f): New macro.
7255 (test_functions): Add atan2, hypot and pow.
7256 (special_fill_min): New function.
7257 (special_fill_minus_min): Likewise.
7258 (special_fill_min_subnorm): Likewise.
7259 (special_fill_minus_min_subnorm): Likewise.
7260 (special_real_inputs): Add min, -min, min_subnorm and
7261 -min_subnorm.
7262 (calc_generic_results): Handle mpfr_ff_f.
7263 * sysdeps/i386/fpu/libm-test-ulps: Update.
7264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7265
5764c27f
WN
72662013-12-16 Will Newton <will.newton@linaro.org>
7267
7268 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7269 (Aligned Memory Blocks): Add documentation for aligned_alloc
7270 and suggest it as an alternative to posix_memalign.
7271 (Hooks for Malloc): Document __memalign_hook is also called
7272 for aligned_alloc. (Summary of Malloc): Add summary for
7273 aligned alloc. Document __memalign_hook is also called
7274 for aligned_alloc.
7275
0a096e44
WN
72762013-12-16 Will Newton <will.newton@linaro.org>
7277
7278 * manual/memory.texi (Malloc Examples): Clarify default
7279 alignment documentation. Suggest posix_memalign rather
7280 than memalign or valloc.
7281 (Aligned Memory Blocks): Remove suggestion to use memalign
7282 or valloc. Remove obsolete comment about BSD.
7283 Document memalign errno values and mark the function obsolete.
7284 Document posix_memalign returned error codes. Mark valloc
7285 as obsolete. (Hooks for Malloc): __memalign_hook is also
7286 called for posix_memalign and valloc.
7287 (Summary of Malloc): Add posix_memalign to function summary.
7288 __memalign_hook is also called for posix_memalign and valloc.
7289
8d561986
SP
72902013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7291
7292 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7293 TAYLOR_SIN.
7294 (__sin): Adjust.
7295 (__cos): Likewise.
7296 (sloww): Use mynumber union. Expand ternary operator into
7297 if-else statements.
7298 (cslow): use mynumber union.
7299
73616a74
AM
73002013-12-16 Allan McRae <allan@archlinux.org>
7301
9e8ac24b
AM
7302 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7303 * configure: Regenerated.
7304
6f8e37eb
AM
7305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7306
8894bad3
AM
7307 [BZ #14120]
7308 * configure.ac: Added --enable-maintainer-mode. Check for
7309 autoconf when enabled.
7310 * configure: Regenerated.
7311
73616a74
AM
7312 * nscd/nscd.service: New file.
7313 * nscd/nscd.tmpfiles: New file.
7314
584b18eb
OB
73152013-12-14 Ondřej Bílka <neleai@seznam.cz>
7316
7317 [BZ #12100]
7318 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7319 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7320 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7321 (strstr): Add __strstr_sse2_unaligned ifunc.
7322 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7323 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7324 (strcasestr): Remove __strcasestr_sse42 ifunc.
7325 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7328
8a5c7897
KK
73292013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7330
7331 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7332 * sysdeps/sh/bits/fenv.h: ... here.
7333 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7334
fd712ef3
AZ
73352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336
7337 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7338
42fcb46c
AZ
7339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7340 hypotf multiarch implementations.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7344 multiarch hypot for PPC64.
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7348 multiarch hypotf for PPC64.
7349
83efded4
AZ
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7351 modff multiarch implementations.
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7355 multiarch modf for PPC64.
7356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7359 multiarch modff for PPC64.
7360
43e246d2
AZ
7361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7362 and logl multiarch implementations.
7363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7366 multiarch logb for PPC64.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7370 multiarch logb for PPC64.
7371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7374 multiarch logb for PPC64.
7375
8fdad123
AZ
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7377 isinff multiarch implementation.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7379 file.
7380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7382 multiarch isinf for PPC64.
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7384 file.
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7386 multiarch isinff for PPC64.
7387
1481d706
AZ
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7389 finitef multiarch implementation.
7390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7391 file.
7392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7394 multiarch finite for PPC64.
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7396 file.
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7398 multiarch finitef for PPC64.
7399
5ccd5fc8
AZ
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7401 lrint multiarch implementation.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7403 file.
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7406 multiarch llrint for PPC64.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7408 multiarch lrint for PPC64.
7409
2568f3fa
AZ
7410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7411 copysignf multiarch implementation.
7412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7413 file.
7414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7415 file.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7417 multiarch copysign for PPC64.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7419 multiarch copysignf for PPC64.
7420
1cb341fd
AZ
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7422 multiarch implementation.
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7424 file.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7426 file.
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7428 file.
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7430 file.
7431 multiarch llround for PPC64.
7432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7433 multiarch trunc for PPC64.
7434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7435 multiarch truncf for PPC64.
7436
59a3e194
AZ
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7438 multiarch implementation.
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7440 file.
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7442 file.
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7444 file.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7446 file.
7447 multiarch llround for PPC64.
7448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7449 multiarch round for PPC64.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7451 multiarch roundf for PPC64.
7452
357fd3b4
AZ
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7454 multiarch implementation.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7456 file.
7457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7458 file.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7460 file.
7461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7462 file.
7463 multiarch llround for PPC64.
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7465 multiarch floor for PPC64.
7466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7467 multiarch floorf for PPC64.
7468
96770f12
AZ
7469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7470 multiarch implementation.
7471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7472 file.
7473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7474 file.
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7476 file.
7477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7478 file.
7479 multiarch llround for PPC64.
7480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7481 multiarch ceil for PPC64.
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7483 multiarch ceilf for PPC64.
7484
c3627f6e
AZ
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7486 multiarch implementation.
7487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7488 file.
7489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7490 file.
7491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7492 file.
7493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7494 multiarch llround for PPC64.
7495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7496 multiarch lround for PPC64.
7497
b2284ad7
AZ
7498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7499 multiarch implementation.
7500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7503 file.
7504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7507 multiarch isnan for PPC64.
7508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7509 multiarch isnanf for PPC64.
7510
69bbc63d
AZ
7511 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7512 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7513 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7514 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7515 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7517
c24517c9
AZ
7518 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7522
a52374e8
AZ
7523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7524 multiarch implementations.
7525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7526 (__libc_ifunc_impl_list): Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7528 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7529 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7530 multiarch stpcpy for PPC64.
7531
7f5ec113
AZ
7532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7533 multiarch implementations.
7534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7535 (__libc_ifunc_impl_list): Likewise.
7536 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7537 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7538 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7539 multiarch strcpy for PPC64.
7540
e28bcd42
AZ
7541 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7542 redefine function name.
7543 (_wordcopy_fwd_dest_aligned): Likewise.
7544 (_wordcopy_bwd_aligned): Likewise.
7545 (_wordcopy_bwd_dest_aligned): Likewise.
7546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7547 multiarch implementations.
7548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7549 (__libc_ifunc_impl_list): Likewise.
7550 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7551 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7552 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7553 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7554 multiarch wcscpy for PPC64.
7555
92cacfce
AZ
7556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7557 multiarch implementations.
7558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7559 (__libc_ifunc_impl_list): Likewise.
7560 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7561 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7562 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7563 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7564 multiarch wcscpy for PPC64.
7565
7b714620
AZ
7566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7567 multiarch implementations.
7568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7569 (__libc_ifunc_impl_list): Likewise.
7570 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7571 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7572 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7573 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7574 multiarch wcsrchr for PPC64.
7575
16fd2ae3
AZ
7576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7577 multiarch implementations.
7578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7579 (__libc_ifunc_impl_list): Likewise.
7580 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7581 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7582 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7583 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7584 multiarch wcschr for PPC64.
7585
9ee2969b
AZ
7586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7587 multiarch implementations.
7588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7589 (__libc_ifunc_impl_list): Likewise.
7590 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7591 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7592 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7593 multiarch strchrnul for PPC64.
7594
372dc060
AZ
7595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7596 implementations.
7597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7598 (__libc_ifunc_impl_list): Likewise.
7599 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7600 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7601 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7602 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7603 strchr for PPC64.
7604
24c2c3b9
AZ
7605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7606 implementations.
7607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7608 (__libc_ifunc_impl_list): Likewise.
7609 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7610 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7611 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7612 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7613 strncmp for PPC64.
7614
1c92d9a0
AZ
7615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7616 multiarch implementations.
7617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7618 (__libc_ifunc_impl_list): Likewise.
7619 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7620 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7621 strncasecmp for PPC64.
7622 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7623 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7624 multiarch strncasecmp_l for PPC64.
7625
17de3ee3
AZ
7626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7627 multiarch implementations.
7628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7629 (__libc_ifunc_impl_list): Likewise.
7630 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7631 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7632 multiarch strcasecmp for PPC64.
7633 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7634 file.
7635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7636 multiarch strcasecmp_l for PPC64.
7637
62982bf9
AZ
7638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7639 implementations.
7640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7641 (__libc_ifunc_impl_list): Likewise.
7642 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7643 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7645 strnlen for PPC64.
7646
a65f4904
AZ
7647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7648 implementations.
7649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7650 (__libc_ifunc_impl_list): Likewise.
7651 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7652 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7653 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7654 strlen for PPC64.
7655
1fd005ad
AZ
7656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7657 implementations.
7658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7659 (__libc_ifunc_impl_list): Likewise.
7660 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7661 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7662 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7663 rawmemrchr for PPC64.
7664
cd05ba91
AZ
7665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7666 implementation.
7667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7668 (__libc_ifunc_impl_list): Likewise.
7669 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7670 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7671 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7672 memrchr for PPC64.
7673
870f8676
AZ
7674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7675 implementation.
7676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7677 (__libc_ifunc_impl_list): Likewise.
7678 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7680 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7681 memchr for PPC64.
7682
f00be62b
AZ
7683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7684 implementation.
7685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7686 (__libc_ifunc_impl_list): Likewise.
7687 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7688 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7689 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7690 mempcpy for PPC64.
7691
8a29a3d0
AZ
7692 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7693 avoid cretion of __bzero symbol.
7694 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7695 Likewise.
7696 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7697 Likewise.
7698 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7699 Likewise.
7700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7701 multiarch implementations.
7702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7703 (__libc_ifunc_impl_list): Likewise.
7704 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7705 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7706 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7707 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7708 bzero for PPC32.
7709 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7710 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7711 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7712 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7713 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7714 memset for PPC64.
7715 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7716
07253fcf
AZ
7717 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7719 implementations.
7720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7721 (__libc_ifunc_impl_list): Likewise.
7722 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7723 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7724 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7725 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7726 memcmp for PPC64.
7727
b5beafbc
AZ
7728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7729 multiarch for POWER/PPC64.
7730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7731 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7738 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7739 memcpy for PPC64.
7740
5e6a4d4b
AZ
7741 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7742 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7743 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7744 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7745 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7746 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7747 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7748 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7749 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7750 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7751 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7752 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7753 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7754 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7755 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7763
ddfab6dc
KK
77642013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7765
7766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7767
19b5525e
SP
77682013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7769
7770 * benchtests/Makefile (bench): Add exp2 and log2.
7771 (LDLIBS-bench-exp2): Add -lm.
7772 (LDLIBS-bench-log2): Likewise.
7773 * benchtests/exp2-inputs: New inputs file.
7774 * benchtests/log2-inputs: New inputs file.
7775 * benchtests/log-inputs: Add new inputs.
7776 * benchtests/tan-inputs: Likewise.
7777
196f7f5d
SP
77782013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7779
7a74607f
SP
7780 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7781 definition...
57f41c40
AS
7782 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7783 (csloww2): ... from here.
7a74607f 7784
196f7f5d
SP
7785 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7786 instead of structures.
7787 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7788 (POLYNOMIAL): Likewise.
7789 (TAYLOR_SLOW): Likewise.
7790 (__sin): Likewise.
7791 (__cos): Likewise.
7792 (slow1): Likewise.
7793 (slow2): Likewise.
7794 (sloww): Likewise.
7795 (sloww1); Likewise.
7796 (sloww2): Likewise.
7797 (bsloww1): Likewise.
7798 (bsloww2): Likewise.
7799 (cslow2): Likewise.
7800 (csloww): Likewise.
7801 (csloww1): Likewise.
7802 (csloww2): Likewise.
7803
0dfa665c
OB
78042013-12-10 Ondřej Bílka <neleai@seznam.cz>
7805
7806 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7807 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7808 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7809 * malloc/hooks.c (realloc_check): Likewise.
7810
5782a80f
OB
7811 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7812 * malloc/arena.c: Remove PER_THREAD conditional.
7813 [!PER_THREAD]: Remove code.
7814 (ptmalloc_unlock_all2): Likewise.
7815 (ptmalloc_init): Likewise.
7816 (_int_new_arena): Likewise.
7817 (arena_get2): Likewise.
7818 * malloc/hooks.c (__malloc_get_state): Likewise.
7819 (__malloc_set_state): Likewise.
7820 * malloc/malloc.c: Likewise.
7821 (struct malloc_state): Likewise.
7822 (struct malloc_par): Likewise.
7823 (__libc_realloc): Likewise.
7824 (__libc_mallopt): Likewise.
7825
aeb95445
AZ
78262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7827
7828 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7829
e8349efd
OB
78302013-12-09 Ondřej Bílka <neleai@seznam.cz>
7831
7832 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7833 macro to a function. Check for zero perturb_byte.
7834 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7835
f3eeb3fc 7836 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7837 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7838 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7839 force_reg by atomic_forced_read.
7840 * malloc/arena.c (ptmalloc_init): Likewise.
7841 * malloc/hooks.c (top_check): Likewise.
7842
be2f9009
AZ
78432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7846
e7b914bd
MT
78472013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7848
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7850
9f0be4f8
JM
78512013-12-08 Joseph Myers <joseph@codesourcery.com>
7852
7853 * math/auto-libm-test-in: Add tests of lgamma.
7854 * math/auto-libm-test-out: Regenerated.
7855 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7856 (M_LOG_2_SQRT_PIl): Likewise.
7857 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7858 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7859 mpfr_f_f1.
7860 (func_calc_desc): Add mpfr_f_f1 union field.
7861 (ARGS1): New macro.
7862 (ARGS2): Likewise.
7863 (ARGS3): Likewise.
7864 (ARGS4): Likewise.
7865 (RET1): Likewise.
7866 (RET2): Likewise.
7867 (CALC): Likewise.
7868 (FUNC): Likewise.
7869 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7870 (test_functions): Add lgamma.
7871 (calc_generic_results): Handle mpfr_f_f1.
7872 * sysdeps/i386/fpu/libm-test-ulps: Update.
7873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7874
24eeafdb
AZ
78752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7876
7877 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7878 __mpn_add_n for PowerPC64/POWER7.
7879 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7880 __mpn_sub_n for PowerPC64/POWER7.
7881
4a2c0fd4
AZ
7882 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7883 __mpn_addmul_1 for PowerPC64.
7884 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7885 __mpn_submul_1 for PowerPC64.
7886 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7887 for PowerPC64.
7888 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7889 for PowerPC64.
7890
4b5b548c
FS
78912013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7892
7893 [BZ #15089]
7894 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7895
0a3ac0aa
AZ
78962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7897
7898 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7899
ccdc8438
AZ
7900 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7901 add multiarch folders.
7902 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7903 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7904 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7905 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7906 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7907 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7908 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7909 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7910 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7911 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7912 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7919
2e973d99
AZ
7920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7921 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7923 New file.
7924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7925 New file.
7926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7927 multiarch __ieee754_hypot for PowerPC32.
7928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7929 New file.
7930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7931 New file.
7932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7933 multiarch __ieee754_hypotf for PowerPC32.
7934
2d9470b2
AZ
7935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7936 long_double_symbol only if __logbl is defined.
7937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7938 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7940 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7942 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7943 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7944 path for implementation.
7945 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7946 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7948 logb, and logbl multiarch implementations for PowerPC32.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7950 file.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7952 file.
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7954 multiarch logb for PowerPC32.
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7956 file.
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7958 file.
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7960 multiarch logbf for PowerPC32.
7961 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7963 file.
7964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7965 multiarch logbl implementation for PowerPC32.
7966
5212ffce
AZ
7967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7968 and modff multiarch implementations.
7969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7970 New file.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7972 New file.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7974 multiarch modf for PowerPC32.
7975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7976 New file.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7978 New file.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7980 multiarch modff for PowerPC32.
7981
79dccf31
AZ
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7983 and lrintf multiarch implementations.
7984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7985 New file.
7986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7987 New file.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7989 multiarch lrint for PowerPC32.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7991 file: multiarch lrintf for PowerPC32.
7992
deb66480
AZ
7993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7994 and lroundf multiarch implementations.
7995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7996 New file.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7998 New file.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8000 New file.
8001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8002 multiarch lround for PowerPC32.
8003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8004 file: multiarch lroundf for PowerPC32.
8005
264b036b
AZ
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8007 copysign and copysignf multiarch implementations.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8009 New file.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8011 New file.
8012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8013 file: multiarch copysign for PowerPC32.
8014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8015 file: multiarch copysignf for PowerPC32.
8016
d47db6c9
AZ
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8018 and truncf multiarch implementations.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8020 New file.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8022 file.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8024 multiarch trunc for PowerPC32.
8025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8026 New file.
8027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8028 New file.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8030 multiarch truncf for PowerPC32.
8031
ddb60b5a
AZ
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8033 and roundf multiarch implementations.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8035 New file.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8037 file.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8039 multiarch round for PowerPC32.
8040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8041 New file.
8042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8043 New file.
8044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8045 multiarch roundf for PowerPC32.
8046
bedcf49b
AZ
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8048 and floorf multiarch implementations.
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8050 New file.
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8052 file.
8053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8054 multiarch floor for PowerPC32.
8055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8056 New file.
8057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8058 New file.
8059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8060 multiarch floorf for PowerPC32.
8061
35ae5b40
AZ
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8063 and ceilf multiarch implementations.
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8065 New file.
8066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8067 file.
8068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8069 multiarch ceil for PowerPC32.
8070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8071 New file.
8072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8073 file.
8074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8075 multiarch ceilf for PowerPC32.
8076
ae1a4cd9
AZ
8077 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8078 is defined.
8079 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8080 FINITEF is defined.
8081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8082 and finitef multiarch implementations.
8083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8084 New file.
8085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8086 file.
8087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8088 multiarch finite for PowerPC32.
8089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8090 New file.
8091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8092 file: multiarch finitef for PowerPC32.
8093
64fffd65
AZ
8094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8095 and isinff multiarch implementations.
8096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8097 file.
8098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8099 file.
8100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8101 multiarch isinf for PowerPC32.
8102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8103 New file.
8104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8105 multiarch isinff for PowerPC32.
8106
8e4e7ba2
AZ
8107 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8108 alias when __isnan is defined.
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8110 and isnanf multiarch implementations.
8111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8112 file.
8113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8114 file.
8115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8116 file.
8117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8118 file.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8120 multiarch isnan for PowerPC32.
8121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8122 New file.
8123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8124 New file.
8125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8126 multiarch isnanf for PowerPC32.
8127
ddba588e
AZ
8128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8129 and sqrtf multiarch implementations.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8131 file.
8132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8133 file.
8134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8135 multiarch sqrt for PowerPC32.
8136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8137 file.
8138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8139 file.
8140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8141 multiarch sqrtf for PowerPC32.
8142
0f96a2f0
AZ
8143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8144 and llroundf multiarch implementations.
8145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8146 New file.
8147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8148 New file.
8149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8150 New file.
8151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8152 file: multiarch llround for PowerPC32.
8153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8154 file: multiarch llroundf for PowerPC32.
8155
c9b5d79e
AZ
8156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8157 multiarch PowerPC32 fpu implementations.
8158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8159 New file.
8160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8161 New file.
8162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8163 multiarch llrint for PowerPC32.
8164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8165 New file.
8166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8167 New file.
8168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8169 file.
8170
9cbb3aab
AZ
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8172
ea5a72f8
AZ
8173 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8174 file.
8175 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8176 file.
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8178 file.
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8180 multiarch wordcopy for PPC32.
8181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8182 wordcopy objects.
8183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8184 (__libc_ifunc_impl_list): Likewise.
8185 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8186 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8188 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8189 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8190 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8191
93be09e7
AZ
8192 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8194 file.
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8196 file.
8197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8198 file.
8199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8200 multiarch wcscpy for PPC32.
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8202 multiarch objects.
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8204 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8206 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8207 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8208 sysdeps/powerpc/power6/wcscpy.c.
8209
bb04e529
AZ
8210 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8212 file.
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8214 file.
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8216 file.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8218 multiarch wcsrchr for PPC32.
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8220 multiarch objects.
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8222 (__libc_ifunc_impl_list): Likewise.
8223 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8224 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8225 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8226 sysdeps/powerpc/power6/wcsrchr.c.
8227
05b5cd1c
AZ
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8229 file.
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8231 file.
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8234 multiarch wcschr for PPc32.
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8236 multiarch objects.
8237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8238 (__libc_ifunc_impl_list): Likewise.
8239 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8240 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8241 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8242 sysdeps/powerpc/power6/wcschr.c.
8243
ba964147
AZ
8244 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8246 file.
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8248 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8249 file: multiarch strchr for PPC32.
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8251 multiarch objects.
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8253 (__libc_ifunc_impl_list): Likewise.
8254
31c81aaa
AZ
8255 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8256 name.
8257 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8258 file.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8260 file.
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8262 multiarch strchrnul for PPC32.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8264 multiarch objects.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8266 (__libc_ifunc_impl_list): Likewise.
8267
0d0607d9
AZ
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8269 file.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8271 multiarch strncasecmp for PPC32.
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8273 file.
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8275 multiarch strncasecmp_l for PPC32.
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8277 strncasecmp multiarch objects.
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8279 (__libc_ifunc_impl_list): Likewise.
8280
4dfd5c86
AZ
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8282 file.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8284 multiarch strncasecmp for PPC32.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8286 New file.
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8288 multiarch strcasecmp_l for PPC32.
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8290 multiarch objects.
8291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8292 (__libc_ifunc_impl_list): Likewise.
8293
a19e01a3
AZ
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8295 file.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8297 file.
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8299 multiarch strncmp for PPC32.
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8301 multiarch objects.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8303 (__libc_ifunc_impl_list): Likewise.
8304
ae9cf7a2
AZ
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8306 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8307 file.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8311 multiarch objects.
8312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8313 (__libc_ifunc_impl_list): Likewise.
8314
3148bb7d
AZ
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8316 file.
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8318 file.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8321 multiarch objects.
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8323 (__libc_ifunc_impl_list): Likewise.
8324
7af8b946
AZ
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8326 file.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8328 file.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8330 multiarch rawmemchr for PPC32.
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8332 multiarch objects.
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8334 (__libc_ifunc_impl_list): Likewise.
8335
03a6aa6a
AZ
8336 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8337 file.
8338 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8339 file.
8340 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8341 file: memrchr multiarch for PPC32.
8342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8343 multiarch objects.
8344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8345 (__libc_ifunc_impl_list): Likewise.
8346
1c62e6d9
AZ
8347 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8349 file.
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8351 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8352 multiarch memchr for PPC32.
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8354 multiarch objects.
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8356 (__libc_ifunc_impl_list): Likewise.
8357
87da8bdb
AZ
8358 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8360 file.
8361 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8362 file.
8363 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8364 file: multiarch mempcpy for PPC32.
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8366 multiarch objects.
8367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8368 (__libc_ifunc_impl_list): Likewise.
8369
20ed4714
AZ
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8374 multiarch bzero for PPC32.
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8376 file.
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8378 file.
8379 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8380 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8381 file: multiarch memset for PPC32.
8382 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8384 memset multiarch objects.
8385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8386 (__libc_ifunc_impl_list): Likewise.
8387
ab3e3a46
AZ
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8389 file.
8390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8392 memcmp for PPC32.
8393 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8395 multiarch objects.
8396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8397 (__libc_ifunc_impl_list): Likewise.
8398
930de6f0
AZ
8399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8402 file.
8403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8404 file.
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8406 file.
8407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8408 multiarch memcpy for PPC32.
8409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8410 multiarch objects.
8411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8412 (__libc_ifunc_impl_list): Likewise.
8413
4c628e00
AZ
8414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8415 support multiarch for POWER/PPC32.
8416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8417 Likewise.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8420 Implies file to make multiarch folder appers before the fpu and
8421 default folder for power4 configuration.
8422
f4479220
SP
84232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
8425 * scripts/bench.pl: Append volatile keyword to type.
8426
8517800f
KK
84272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8428
8429 * sysdeps/sh/sotruss-lib.c: New file.
8430 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8431
180138f1
AZ
84322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8433
8434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8435
bbf37bdc
JM
84362013-12-05 Joseph Myers <joseph@codesourcery.com>
8437
e47cc4e0
JM
8438 [BZ #6810]
8439 * math/w_tgamma.c: Include <errno.h>.
8440 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8441 * math/w_tgammaf.c: Include <errno.h>.
8442 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8443 * math/w_tgammal.c: Include <errno.h>.
8444 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8445 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8446 underflow. Add more tgamma tests.
8447 * math/auto-libm-test-out: Regenerated.
8448 * sysdeps/i386/fpu/libm-test-ulps: Update.
8449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450
bbf37bdc
JM
8451 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8452 sin, sinh, tan, tanh, tgamma, y0 and y1.
8453 * math/auto-libm-test-out: Regenerated.
8454 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8455 (TEST_COND_x86): Likewise.
8456 (M_E2l): Remove macro.
8457 (M_E3l): Likewise.
8458 (M_2_SQRT_PIl): Likewise.
8459 (M_SQRT_PIl): Likewise.
8460 (M_1_DIV_El): Likewise.
8461 (log_test_data): Use AUTO_TESTS_f_f.
8462 (log10_test_data): Likewise.
8463 (log1p_test_data): Likewise.
8464 (log2_test_data): Likewise.
8465 (sin_test_data): Likewise.
8466 (sin_tonearest_test_data): Likewise.
8467 (sin_towardzero_test_data): Likewise.
8468 (sin_downward_test_data): Likewise.
8469 (sin_upward_test_data): Likewise.
8470 (sinh_test_data): Likewise.
8471 (sinh_tonearest_test_data): Likewise.
8472 (sinh_towardzero_test_data): Likewise.
8473 (sinh_downward_test_data): Likewise.
8474 (sinh_upward_test_data): Likewise.
8475 (tan_test_data): Likewise.
8476 (tan_tonearest_test_data): Likewise.
8477 (tan_towardzero_test_data): Likewise.
8478 (tan_downward_test_data): Likewise.
8479 (tan_upward_test_data): Likewise.
8480 (tanh_test_data): Likewise.
8481 (tgamma_test_data): Likewise.
8482 (y0_test_data): Likewise.
8483 (y1_test_data): Likewise.
8484 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8485 (special_real_inputs): Add pi/4.
8486 * sysdeps/i386/fpu/libm-test-ulps: Update.
8487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8488
eb5ad6b9
AZ
84892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490
8491 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8492 "longjmp_target" static probes.
8493 (__longjmp): Rename to __longjmp_symbol.
8494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8495 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8496 on which longjmp to generate.
8497 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8499 probe.
8500 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8501 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8502 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8503 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8504 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8505 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8507 __longjmp_symbol based on which __longjmp to generate.
8508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8509 probe.
8510 (setjmp): Rename to setjmp_symbol.
8511 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8512 (_setjmp): Rename to _setjmp_symbol.
8513 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8514 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8515 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8516 which setjmp to generate.
8517 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8518 "longjmp_target" static probes.
8519
d136c6dc
SP
85202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8521
9298ecba
SP
8522 * benchtests/README: Add note about output arguments.
8523 * benchtests/bench-sincos.c: Remove file.
8524 * benchtests/sincos-inputs: New file.
8525 * scripts/bench.pl: Identify output arguments and define
8526 static variables for them.
8527
232983e9
SP
8528 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8529
d136c6dc
SP
8530 [BZ #15941]
8531 * Makefile (INSTALL): Add install-plain.texi as the primary
8532 dependency.
8533 * manual/install-plain.texi: New file.
8534 * manual/install.texi: Include node directive only for
8535 non-plaintext output.
8536
699ff837
JM
85372013-12-04 Joseph Myers <joseph@codesourcery.com>
8538
ab07cea8
JM
8539 * stdlib/longlong.h: Update from GCC.
8540
699ff837
JM
8541 [BZ #6807]
8542 [BZ #15901]
8543 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8544 * math/w_j0f.c (y0f): Likewise.
8545 * math/w_j0l.c (__y0l): Likewise.
8546 * math/w_j1.c (y1): Likewise.
8547 * math/w_j1f.c (y1f): Likewise.
8548 * math/w_j1l.c (__y1l): Likewise
8549 * math/w_jn.c (yn): Likewise.
8550 * math/w_jnf.c (ynf): Likewise.
8551 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8552 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8553 value for Bessel function domain errors outside _SVID_ mode.
8554 Adjust sign of return value for yn (negative integer, 0).
8555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8556 by zero in return for negative x and set sign appropriately for
8557 negative n.
8558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8560 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8561 expectations in error cases.
8562 (y1_test_data): Likewise.
8563 (yn_test_data): Likewise.
8564 * sysdeps/i386/fpu/libm-test-ulps: Update.
8565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566
5b118558
UW
85672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8568
8569 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8570 "64" to "64-v1". Add "64-v2".
8571 (abi-64-options): Rename to ...
8572 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8573 (abi-64-condition): Rename to ...
8574 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8575 (abi-64-ld-soname): Rename to ...
8576 (abi-64-v1-ld-soname): ... this.
8577 (abi-64-v2-options): Define.
8578 (abi-64-v2-condition): Likewise.
8579 (abi-64-v2-ld-soname): Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8581 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8585
61cd8fe4
UW
85862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8587 Alan Modra <amodra@gmail.com>
8588
8589 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8590 New versions for use with the ELFv2 ABI.
8591 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8592 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8593 declaration.
8594 (struct La_ppc64v2_retval): Likewise.
8595 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8596 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8597 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8598 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8599 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8600 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8601 Do not save or restore CR.
8602 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8603 (_dl_profile_resolve): Do no save or restore CR. Support extended
8604 return values for ELFv2 ABI. Fix location of FPR return registers.
8605 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8606 updated values for _CALL_ELF == 2.
8607 (La_regs, La_retval, int_retval): Likewise.
8608
8b8a692c
UW
86092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8610
8611 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8612 (FRAME_MIN_SIZE_PARM): Likewise.
8613 (FRAME_BACKCHAIN): Likewise.
8614 (FRAME_CR_SAVE): Likewise.
8615 (FRAME_LR_SAVE): Likewise.
8616 (FRAME_TOC_SAVE): Likewise.
8617 (FRAME_PARM_SAVE): Likewise.
8618 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8619 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8620 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8621 (call_mcount_parm_offset): New macro.
8622 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8623 (PROF): Use symbolic stack frame offsets.
8624 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8625 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8626 Redefine in terms of FRAME_MIN_SIZE.
8627 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8628 (_dl_profile_resolve): Likewise. Update comment.
8629 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8630 symbols stack frame offsets.
8631 (__sigsetjmp): Likewise.
8632 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8633 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8634 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8635 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8636
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8638 (FRAME_BACKCHAIN): Remove.
8639 (FRAME_CR_SAVE): Likewise.
8640 (FRAME_LR_SAVE): Likewise.
8641 (FRAME_COMPILER_DW): Likewise.
8642 (FRAME_LINKER_DW): Likewise.
8643 (FRAME_TOC_SAVE): Likewise.
8644 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8645 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8646 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8647 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8649 (CHECK_SP): Use symbolic stack frame offsets.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8651 zone" instead of caller's parameter save area for temp storage.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8653 Likewise. Also, use symbolic stack frame offsets.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8655 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8656 our own stack frame instead of the caller's.
8657 (__socket): Use symbolic stack frame offsets.
8658
122b66de
UW
86592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8660 Alan Modra <amodra@gmail.com>
8661
8662 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8663 Define.
57f41c40
AS
8664 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8665 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8666 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8667 New function.
8668 (elf_machine_fixup_plt): Call it.
8669 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8670 reloc arguments.
8671 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8672 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8673 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8674 r2 before calling target.
8675
696caf1d
UW
86762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8677 Alan Modra <amodra@gmail.com>
8678
8679 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8680 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8681 versions of macros to support ELFv2 ABI.
8682 (LOCALENTRY): New macro.
8683 (ENTRY, EALIGN): Use it.
8684 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8685 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8686 fall through into ENTRY entry point.
8687 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8688 Only define if _CALL_ELF != 2.
8689
8690 (elf_machine_matches_host): Verify ABI version matches.
8691 (RTLD_START): Use LOCALENTRY.
8692 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8693 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8694 (PLT_ENTRY_WORDS): New macro.
8695 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8696 (elf_machine_runtime_setup): Support ELFv2 ABI.
8697 (elf_machine_fixup_plt): Likewise.
8698 (elf_machine_plt_conflict): Likewise.
8699 (resolve_ifunc): Likewise.
8700 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8701 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8702 Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8704 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8706 (makecontext): Support ELFv2 ABI.
8707 * elf/elf.h (EF_PPC64_ABI): Define.
8708
d31beafa
UW
87092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8710
57f41c40
AS
8711 * sysdeps/powerpc/powerpc64/sysdep.h
8712 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8713 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8714 (ENTRY) [ASSEMBLER]: ... but instead here ...
8715 (EALIGN) [ASSEMBLER]: ... and here.
8716 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8717 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8718 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8719 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8720 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8722 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8723 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8725 Use PPC64_LOAD_FUNCPTR.
8726
b525166b
UW
8727 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8728
7ec07d9a
AM
87292013-12-04 Alan Modra <amodra@gmail.com>
8730
8731 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8732 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8733 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8734 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8735
8736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8737 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8738 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8739 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8740 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8741 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8742
5162e7dd
UW
87432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8744
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8746 (__makecontext): Fix incorrect CFI when backtracing out of
8747 context created via makecontext.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8749 (__setcontext): Fix incorrect CFI during switch to new context.
8750 (__novec_setcontext): Likewise.
8751
19e3372b
OB
87522013-12-04 Ondřej Bílka <neleai@seznam.cz>
8753
8754 [BZ #4772]
8755 * time/strptime_l.c (__strptime_internal): Allow modifiers
8756 in strptime.
8757 * time/tst-strptime.c (day_tests): Add testcase.
8758
ecaf142d
SP
87592013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8760
8761 * scripts/bench.pl: Skip over blank lines.
8762
fbf964ae
PE
87632013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8764
8765 [BZ #926]
8766 * manual/time.texi (Calendar Time): Clarify what timezone functions
8767 use.
8768
fa60a674
AZ
87692013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8770
8771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8772
d674f0ef
OB
87732013-12-04 Ondřej Bílka <neleai@seznam.cz>
8774
8775 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8776 implementation.
8777 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8778 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8779 * debug/memset_chk.c (__memset_chk): Likewise.
8780 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8781 * debug/strncpy_chk.c: Likewise.
8782
17dea188
JM
87832013-12-03 Joseph Myers <joseph@codesourcery.com>
8784
749008ff
JM
8785 [BZ #15268]
8786 [BZ #15425]
8787 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8788 (__ieee754_exp): For possibly underflowing results, check size of
8789 result and force underflow exception if required.
8790 * math/auto-libm-test-in: Add more tests of exp.
8791 * math/auto-libm-test-out: Regenerated.
8792 * sysdeps/i386/fpu/libm-test-ulps: Update.
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8794
17dea188
JM
8795 [BZ #16283]
8796 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8797 * math/w_exp2f.c (__exp2f): Likewise.
8798 * math/w_exp2l.c (__exp2l): Likewise.
8799 * math/auto-libm-test-in: Do not allow missing errno on exp2
8800 underflow.
8801 * math/auto-libm-test-out: Regenerated.
8802
b20de2c3
OB
88032013-12-03 Ondřej Bílka <neleai@seznam.cz>
8804
8805 [BZ #16274]
8806 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8807 handle filename validation.
8808 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8809 (do_open): Delete.
8810
d8e2dbe3
JM
88112013-12-03 Joseph Myers <joseph@codesourcery.com>
8812
34e16df5
JM
8813 [BZ #6786]
8814 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8815 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8816 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8817 <float.h>.
8818 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8820 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8822 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8824 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8825 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8826 Add more erfc tests.
8827 * math/auto-libm-test-out: Regenerated.
8828 * sysdeps/i386/fpu/libm-test-ulps: Update.
8829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830
d8e2dbe3
JM
8831 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8832 exp2, expm1, j0 and j1.
8833 * math/auto-libm-test-out: Regenerated.
8834 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8835 (erfc_test_data): Likewise.
8836 (exp_test_data): Likewise.
8837 (exp_tonearest_test_data): Likewise.
8838 (exp_towardzero_test_data): Likewise.
8839 (exp_downward_test_data): Likewise.
8840 (exp_upward_test_data): Likewise.
8841 (exp10_test_data): Likewise.
8842 (exp2_test_data): Likewise.
8843 (expm1_test_data): Likewise.
8844 (j0_test_data): Likewise.
8845 (j1_test_data): Likewise.
8846 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8847 (input_flag_type): Add flag_xfail_rounding.
8848 (input_flags): Add xfail-rounding.
8849 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8850 (output_for_one_input_case): Handle flag_xfail_rounding.
8851 * sysdeps/i386/fpu/libm-test-ulps: Update.
8852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8853
18d14251
AJ
88542013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8855
3d2e6075 8856 [BZ #16289]
18d14251
AJ
8857 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8858 division by 0.
8859
520d437b
SP
88602013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8861
8862 [BZ #16195]
8863 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8864 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8865 (STAP_PROBE0): New macro.
8866 (STAP_PROBE1): Likewise.
8867 (STAP_PROBE2): Likewise.
8868 (STAP_PROBE3): Likewise.
8869 (STAP_PROBE4): Likewise.
8870
416e0145
OB
88712013-12-02 Ondřej Bílka <neleai@seznam.cz>
8872
8873 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8874
9d17796a
SE
88752013-12-02 Steve Ellcey <sellcey@mips.com>
8876
8877 * benchtests/Makefile (bench): Add sqrt.
8878 (LDLIBS-bench-sqrt): New.
8879 * benchtests/sqrt-input: New.
8880
f524d6a8
PS
88812013-12-02 Pavel Simerda <psimerda@redhat.com>
8882
639a0ef8
PS
8883 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8884 (GAIH_EAI): Likewise.
8885 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8886 (gaih_inet): Likewise.
8887 (getaddrinfo): Don't use GAIH_EAI.
8888
f524d6a8
PS
8889 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8890 (struct gaih): Remove definition.
8891
df3aedaf
SP
88922013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8893
8894 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8895 Use HERRNOP directly.
8896
1ab19dec
AZ
88972013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8898
b42ad38d 8899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8900
176b0c79
JM
89012013-11-30 Joseph Myers <joseph@codesourcery.com>
8902
8903 * math/gen-auto-libm-tests.c (test_functions): Add more
8904 single-argument functions.
8905 (special_fill_pi_2): New function.
8906 (special_fill_minus_pi_2): Likewise.
8907 (special_fill_pi_6): Likewise.
8908 (special_fill_minus_pi_6): Likewise.
8909 (special_fill_pi_3): Likewise.
8910 (special_fill_2pi_3): Likewise.
8911 (special_fill_e): Likewise.
8912 (special_fill_1_e): Likewise.
8913 (special_fill_e_minus_1): Likewise.
8914 (special_real_inputs): Add more special inputs.
8915 (output_for_one_input_case): Do not require ERANGE on underflow to
8916 zero if round-to-nearest result does not underflow to zero, unless
8917 exact results required.
8918 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8919 atan, atanh, cbrt, cos and cosh.
8920 * math/auto-libm-test-out: Regenerated.
8921 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8922 (acos_tonearest_test_data): Likewise.
8923 (acos_towardzero_test_data): Likewise.
8924 (acos_downward_test_data): Likewise.
8925 (acos_upward_test_data): Likewise.
8926 (acosh_test_data): Likewise.
8927 (asin_test_data): Likewise.
8928 (asin_tonearest_test_data): Likewise.
8929 (asin_towardzero_test_data): Likewise.
8930 (asin_upward_test_data): Likewise.
8931 (asinh_test_data): Likewise.
8932 (atan_test_data): Likewise.
8933 (atanh_test_data): Likewise.
8934 (cbrt_test_data): Likewise.
8935 (cos_test_data): Likewise.
8936 (cos_tonearest_test_data): Likewise.
8937 (cos_towardzero_test_data): Likewise.
8938 (cos_downward_test_data): Likewise.
8939 (cos_upward_test_data): Likewise.
8940 (cosh_test_data): Likewise.
8941 (cosh_tonearest_test_data): Likewise.
8942 (cosh_towardzero_test_data): Likewise.
8943 (cosh_downward_test_data): Likewise.
8944 (cosh_upward_test_data): Likewise.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947
ffb536d0
JM
89482013-11-29 Joseph Myers <joseph@codesourcery.com>
8949
2a77a467
JM
8950 [BZ #6787]
8951 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8952 * math/w_exp10f.c (__exp10f): Likewise.
8953 * math/w_exp10l.c (__exp10l): Likewise.
8954 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8955 errno settings in existing tests.
8956
ea3bc4e8
JM
8957 [BZ #14032]
8958 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8959 precision control set to double precision.
8960 * sysdeps/i386/fpu/w_sqrt.c: New file.
8961 * math/auto-libm-test-in: Add more tests.
8962 * math/auto-libm-test-out: Update.
8963
0712c9d8
JM
8964 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8965 (sqrt_test_tonearest): New function.
8966 (sqrt_towardzero_test_data): New variable.
8967 (sqrt_test_towardzero): New function.
8968 (sqrt_downward_test_data): New variable.
8969 (sqrt_test_downward): New function.
8970 (sqrt_upward_test_data): New variable.
8971 (sqrt_test_upward): New function.
8972 (main): Call the new functions.
8973
ffb536d0
JM
8974 * math/gen-auto-libm-tests.c: New file.
8975 * math/auto-libm-test-in: Likewise.
8976 * math/auto-libm-test-out: New generated file.
8977 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8978 variables.
8979 (%beautify): Add generated representations of zero.
8980 (top level): Set $auto_input and call parse_auto_input.
8981 (beautify): Remove trailing "f" from hex float constants.
8982 (parse_args): Handle XFAIL_TEST.
8983 (convert_condition): New function.
8984 (or_value): Likewise.
8985 (or_cond_value): Likewise.
8986 (generate_testfile): Handle AUTO_TESTS_* lines.
8987 (parse_auto_input): New function.
8988 * math/libm-test.inc (XFAIL_TEST): New macro.
8989 (ERRNO_UNCHANGED): Update value.
8990 (ERRNO_EDOM): Likewise.
8991 (ERRNO_ERANGE): Likewise.
8992 (IGNORE_RESULT): Likewise.
8993 (TEST_COND_flt_32): New macro.
8994 (TEST_COND_dbl_64): Likewise.
8995 (TEST_COND_ldbl_96_intel): Likewise.
8996 (TEST_COND_ldbl_96_m68k): Likewise.
8997 (TEST_COND_ldbl_128): Likewise.
8998 (TEST_COND_ldbl_128ibm): Likewise.
8999 (TEST_COND_long32): Likewise.
9000 (TEST_COND_long64): Likewise.
9001 (TEST_COND_before_rounding): Likewise.
9002 (TEST_COND_after_rounding): Likewise.
9003 (enable_test): Handle XFAIL_TEST flag.
9004 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9005 with finite results.
9006 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9007 auto-libm-test-out.
9008
acd98a8e
AK
90092013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9010 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9011
9012 [BZ #16214]
9013 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9014 __tls_get_addr_internal instead of __tls_get_offset in order to
9015 avoid GOT pointer dependency. Make rtld export
9016 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9017 __tls_get_addr since we are a __tls_get_offset platform.
9018 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9019 GOT pointer being set up before.
9020 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9021
3c1c46a6
JM
90222013-11-28 Joseph Myers <joseph@codesourcery.com>
9023
7475aef5
JM
9024 * manual/math.texi (Errors in Math Functions): Document accuracy
9025 goals.
9026
8bca7cd8
JM
9027 [BZ #15004]
9028 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9029 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9032 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9034 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9044
91a1f3fe
JM
9045 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9046 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9047 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9048 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9049 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9050 Likewise.
9051 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9052 Likewise.
9053 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9054 Likewise.
9055 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9056 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9057 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9058 atomic-feupdateenv and flt-rounds.
9059 * sysdeps/powerpc/nofpu/Versions (libc): Add
9060 __atomic_feholdexcept, __atomic_feclearexcept,
9061 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9062 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9063 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9065 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9066 here.
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9068 Update.
9069
c5df7609
JM
9070 * manual/arith.texi (FP Exceptions): Document that exceptions may
9071 not be raised when matherr is used.
9072 (Math Error Reporting): Document overflow in directed rounding
9073 modes. Document that errno may not be set when finite values are
9074 returned on overflow. Document intent to set errno on underflow
9075 only for underflow to zero.
9076
3c1c46a6
JM
9077 [BZ #16271]
9078 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9079 round-to-nearest then adjust result for other rounding modes.
9080 * include/fenv.h (fegetround): Use libm_hidden_proto.
9081 * math/fegetround.c (fegetround): Use libm_hidden_def.
9082 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9083 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9084 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9085 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9086 Likewise.
9087 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9089 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9090 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9091
5a4c6d53
SP
90922013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9093
9094 [BZ #16077]
9095 * nss/Versions (libnss_files): Add
9096 _nss_files_gethostbyname3_r.
9097 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9098 New function.
9099 (HOST_DB_LOOKUP): Remove macro.
9100 (_nss_files_gethostbyname_r): Implement function without the
9101 HOST_DB_LOOKUP macro.
9102 (_nss_files_gethostbyname2_r): Likewise.
9103
897b98ba
OB
91042013-11-28 Ondřej Bílka <neleai@seznam.cz>
9105
9106 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9107
6f476861
UB
91082013-11-26 Uros Bizjak <ubizjak@gmail.com>
9109
9110 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9111 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9112 warning.
9113
bd12ab55
AZ
91142013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9115
9116 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9117 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9118 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9119 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9120 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9121 __fe_nomask_env_priv and attribute_hidden.
9122 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9123 (libc_feupdateenv_test_ppc): Likewise.
9124 (libc_feresetround_ppc): Likewise.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9126 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9127 compat_symbol macro.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9129 (__fe_nomask_env): Likewise.
9130 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9131
52bb6543
OB
91322013-11-26 Ondřej Bílka <neleai@seznam.cz>
9133
9134 * string/Makefile: Remove ifunc tests.
9135 * string/test-string.h: Define TEST_IFUNC.
9136 * string/test-bcopy-ifunc.c: Remove.
9137 * string/test-bzero-ifunc.c: Likewise.
9138 * string/test-memccpy-ifunc.c: Likewise.
9139 * string/test-memchr-ifunc.c: Likewise.
9140 * string/test-memcmp-ifunc.c: Likewise.
9141 * string/test-memcpy-ifunc.c: Likewise.
9142 * string/test-memmem-ifunc.c: Likewise.
9143 * string/test-memmove-ifunc.c: Likewise.
9144 * string/test-mempcpy-ifunc.c: Likewise.
9145 * string/test-memrchr-ifunc.c: Likewise.
9146 * string/test-memset-ifunc.c: Likewise.
9147 * string/test-rawmemchr-ifunc.c: Likewise.
9148 * string/test-stpcpy-ifunc.c: Likewise.
9149 * string/test-stpncpy-ifunc.c: Likewise.
9150 * string/test-strcasecmp-ifunc.c: Likewise.
9151 * string/test-strcasestr-ifunc.c: Likewise.
9152 * string/test-strcat-ifunc.c: Likewise.
9153 * string/test-strchr-ifunc.c: Likewise.
9154 * string/test-strchrnul-ifunc.c: Likewise.
9155 * string/test-strcmp-ifunc.c: Likewise.
9156 * string/test-strcpy-ifunc.c: Likewise.
9157 * string/test-strcspn-ifunc.c: Likewise.
9158 * string/test-strlen-ifunc.c: Likewise.
9159 * string/test-strncasecmp-ifunc.c: Likewise.
9160 * string/test-strncat-ifunc.c: Likewise.
9161 * string/test-strncmp-ifunc.c: Likewise.
9162 * string/test-strncpy-ifunc.c: Likewise.
9163 * string/test-strnlen-ifunc.c: Likewise.
9164 * string/test-strpbrk-ifunc.c: Likewise.
9165 * string/test-strrchr-ifunc.c: Likewise.
9166 * string/test-strspn-ifunc.c: Likewise.
9167 * string/test-strstr-ifunc.c: Likewise.
9168
ab260039 91692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9170
9171 * benchtests/Makefile: Remove ifunc tests.
9172 * benchtests/bench-string.h: Define TEST_IFUNC.
9173 * benchtests/bench-bcopy-ifunc.c: Remove.
9174 * benchtests/bench-bzero-ifunc.c: Likewise.
9175 * benchtests/bench-memccpy-ifunc.c: Likewise.
9176 * benchtests/bench-memchr-ifunc.c: Likewise.
9177 * benchtests/bench-memcmp-ifunc.c: Likewise.
9178 * benchtests/bench-memcpy-ifunc.c: Likewise.
9179 * benchtests/bench-memmem-ifunc.c: Likewise.
9180 * benchtests/bench-memmove-ifunc.c: Likewise.
9181 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9182 * benchtests/bench-memrchr-ifunc.c: Likewise.
9183 * benchtests/bench-memset-ifunc.c: Likewise.
9184 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9185 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9186 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9187 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9188 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9189 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9190 * benchtests/bench-strcat-ifunc.c: Likewise.
9191 * benchtests/bench-strchr-ifunc.c: Likewise.
9192 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9193 * benchtests/bench-strcmp-ifunc.c: Likewise.
9194 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9195 * benchtests/bench-strcpy-ifunc.c: Likewise.
9196 * benchtests/bench-strcspn-ifunc.c: Likewise.
9197 * benchtests/bench-strlen-ifunc.c: Likewise.
9198 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9199 * benchtests/bench-strncat-ifunc.c: Likewise.
9200 * benchtests/bench-strncmp-ifunc.c: Likewise.
9201 * benchtests/bench-strncpy-ifunc.c: Likewise.
9202 * benchtests/bench-strnlen-ifunc.c: Likewise.
9203 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9204 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9205 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9206 * benchtests/bench-strspn-ifunc.c: Likewise.
9207 * benchtests/bench-strstr-ifunc.c: Likewise.
9208
92092013-11-26 Ondřej Bílka <neleai@seznam.cz>
9210
ab260039
OB
9211 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9212
d1d9eaf4 92132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9214
d1d9eaf4
OB
9215 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9216 * rt/aio.h: Likewise.
9217 * sysdeps/gnu/bits/utmp.h: Likewise.
9218 * sysdeps/gnu/bits/utmpx.h: Likewise.
9219 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9220 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9221 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9222 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9223 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9224 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9225 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9226 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9227 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9228 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9229 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9233 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9234 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9235 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9236 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9237 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9238 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9239 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9240 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9241 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9243 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9245 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9246 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9252 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9253 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9254 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9255 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9256 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9257 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9258 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9259 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9260 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9261
a7624ed9
CD
92622013-11-25 Carlos O'Donell <carlos@redhat.com>
9263
9264 [BZ #16245]
9265 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9266 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9267
63cfe52b
JM
92682013-11-25 Joseph Myers <joseph@codesourcery.com>
9269
9270 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9271 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9272 Likewise.
9273
41e8926a
AZ
92742013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9275
9276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9277 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9278 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9279 (__fesetround): Remove define.
9280 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9281 rounding and exceptions handling.
9282 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9283 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9284 (__fe_nomask_env): Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9286 __fegetround instead of fegetround.
9287 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9289
6851bd4d
RM
92902013-11-21 Roland McGrath <roland@hack.frob.com>
9291
070906ff
RM
9292 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9293 it's there.
9294
6851bd4d
RM
9295 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9296
84ae135d
MI
92972013-11-21 Meador Inge <meadori@codesourcery.com>
9298
9299 [BZ #11157]
9300 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9301 (encrypt_r): Likewise.
9302 * malloc/obstack.h (obstack_free): Likewise.
9303 * posix/unistd.h (encrypt): Likewise.
9304
daf75146
GM
93052013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9306
9307 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9308 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9309 DL_CALL_DT_FINI() that call the functions directly.
9310 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9311 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9312 * elf/dl-fini.c: Likewise.
9313
10ad46bc
OB
93142013-11-20 Ondřej Bílka <neleai@seznam.cz>
9315
9316 * malloc/hooks.c (memalign_check): Add alignment rounding.
9317 * malloc/malloc.c (_mid_memalign): New function.
9318 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9319 Implement by calling _mid_memalign.
9320 * manual/probes.texi (Memory Allocation Probes): Remove
9321 memory_valloc_retry and memory_pvalloc_retry.
9322
f3fd2628
SP
93232013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9324
4712799f
SP
9325 * locale/programs/locarchive.c (open_archive): Add const
9326 qualifier to ARCHIVEFNAME and copy default fname to
9327 DEFAULT_FNAME.
9328
0417b20f
SP
9329 [BZ #15601]
9330 * libio/tst-widetext.input: Rename Oriya to Odia.
9331 * locale/iso-639.def: Likewise.
9332
f3fd2628
SP
9333 * manual/probes.texi (Mathematical Function Probes): Add
9334 documentation for sin, cos, asin and acos probes.
9335 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9336 (__sin32): Add slowasin probe.
9337 (__cos32): Add slowacos probe.
9338 (__mpsin): Add slowsin probe.
9339 (__mpcos): Add slowcos probe.
9340
73c1ce4f
JM
93412013-11-19 Joseph Myers <joseph@codesourcery.com>
9342
9343 [BZ #15483]
9344 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9345 thread-local __sim_exceptions_thread and global
9346 __sim_exceptions_global.
9347 (__sim_disabled_exceptions): Change to thread-local
9348 __sim_disabled_exceptions_thread and global
9349 __sim_disabled_exceptions_global.
9350 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9351 and global __sim_round_mode_global.
9352 (__simulate_exceptions): Use thread-local floating-point state and
9353 set global state from it as needed.
9354 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9355 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9356 __sim_round_mode_thread.
9357 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9358 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9359 and global __sim_exceptions_global.
9360 (__sim_disabled_exceptions): Change to thread-local
9361 __sim_disabled_exceptions_thread and global
9362 __sim_disabled_exceptions_global.
9363 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9364 and global __sim_round_mode_global.
9365 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9366 (SIM_SET_GLOBAL): Likewise.
9367 * sysdeps/powerpc/soft-fp/sfp-machine.h
9368 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9369 __sim_round_mode_thread.
9370 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9371 __sim_disabled_exceptions_thread.
9372 (__sim_exceptions): Change to __sim_exceptions_thread.
9373 (__sim_disabled_exceptions): Change to
9374 __sim_disabled_exceptions_thread.
9375 (__sim_round_mode): Change to __sim_round_mode_thread.
9376 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9377 thread-local floating-point state and set global state from it as
9378 needed.
9379 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9380 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9381 (__sim_disabled_exceptions): Remove extern declaration.
9382 (feenableexcept): Use thread-local floating-point state and set
9383 global state from it as needed.
9384 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9385 extern declaration.
9386 (__sim_disabled_exceptions): Likewise.
9387 (__sim_round_mode): Likewise.
9388 (__fegetenv): Use thread-local floating-point state.
9389 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9390 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9391 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9392 floating-point state and set global state from it as needed.
9393 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9394 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9395 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9396 Likewise.
9397 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9398 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9399 Likewise.
9400 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9401 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9402 Use __sim_round_mode_thread.
9403 * math/test-fenv-tls.c: New file.
9404 * math/Makefile (tests): Add test-fenv-tls.
9405 ($(objpfx)test-fenv-tls): Depend on
9406 $(common-objpfx)nptl/libpthread.so.
9407
b5449b12
AS
94082013-11-19 Andreas Schwab <schwab@suse.de>
9409
9410 * locale/programs/locale.c (show_info): Decode wordarray elements.
9411 * locale/categories.def (LC_MONETARY): Add element for
9412 _NL_MONETARY_CRNCYSTR.
9413 * locale/C-monetary.c (conversion_rate): New variable.
9414 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9415 element.
9416
e186536b
CM
94172013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9418
9419 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9420 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9421
5c349950
PP
94222013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9423
9424 * elf/Makefile (tst-auxv): New test.
9425 * elf/tst-auxv.c: New
9426 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9427
699df45b
JM
94282013-11-18 Joseph Myers <joseph@codesourcery.com>
9429
9430 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9431 (hidden_proto): Caller changed.
9432 (hidden_tls_proto): New macro.
9433 (libc_hidden_tls_proto): Likewise.
9434 (rtld_hidden_tls_proto): Likewise.
9435 (libm_hidden_tls_proto): Likewise.
9436 (libresolv_hidden_tls_proto): Likewise.
9437 (librt_hidden_tls_proto): Likewise.
9438 (libdl_hidden_tls_proto): Likewise.
9439 (libnss_files_hidden_tls_proto): Likewise.
9440 (libnsl_hidden_tls_proto): Likewise.
9441 (libnss_nisplus_hidden_tls_proto): Likewise.
9442 (libutil_hidden_tls_proto): Likewise.
9443
b7589107
OB
94442013-11-18 Ondřej Bílka <neleai@seznam.cz>
9445
9446 [BZ #10253]
9447 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9448 (decompose_rpath): Defer expansion to fillin_rpath.
9449 (_dl_init_paths): Pass linkmap to fillin_rpath.
9450
250c23bd
RS
94512013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9452
9453 * benchtests/Makefile: Add strsep.
9454 * benchtests/bench-strsep.c: New file: strsep benchtest.
9455 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9456
a7931fcf
AS
94572013-11-18 Andreas Schwab <schwab@suse.de>
9458
9459 * locale/programs/locale.c (show_info) [case byte]: Check for
9460 '\377' instead of '\177'.
9461 * locale/C-monetary.c (not_available): Always use "\377".
9462 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9463 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9464 detect unavailable sign_posn locale elements.
9465 * locale/localeconv.c (__localeconv): For grouping and
9466 mon_grouping handle "\177" and "\377" like no grouping.
9467 (INT_ELEM): New macro. Use it to set all numeric members.
9468 * locale/programs/ld-monetary.c (monetary_read)
9469 <tok_mon_grouping>: Normalize single -1 to the empty string.
9470 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9471 Likewise.
9472
728dab0e
OB
94732013-11-07 Ondřej Bílka <neleai@seznam.cz>
9474
9475 [BZ #16055]
9476 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9477 when we match (nil).
9478 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9479
66294491
JM
94802013-11-16 Joseph Myers <joseph@codesourcery.com>
9481
ce665817
JM
9482 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9483 (NO_TEST_INLINE): Update value.
9484 (ERRNO_UNCHANGED): Likewise.
9485 (ERRNO_EDOM): Likewise.
9486 (ERRNO_ERANGE): Likewise.
9487 (IGNORE_RESULT): Likewise.
9488 (check_float_internal): Check signs of NaN results if
9489 TEST_NAN_SIGN used.
9490 (check_complex): Pass TEST_NAN_SIGN flag through to second
9491 check_float_internal call.
9492 (copysign_test_data): Add tests with quiet NaNs as second
9493 argument. Use TEST_NAN_SIGN.
9494 (fabs_test_data): Add test of negative quiet NaN argument. Use
9495 TEST_NAN_SIGN.
9496 (signbit_test_data): Add tests of quiet NaN argument.
9497 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9498
ee1466a9
JM
9499 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9500 $ignore_result.
9501 (parse_args): Handle function results specified as IGNORE.
9502 * math/libm-test.inc (IGNORE_RESULT): New macro.
9503 (check_float_internal): Do not check numerical result if flag
9504 IGNORE_RESULT set.
9505 (check_complex): Pass through IGNORE_RESULT to second
9506 check_float_internal call.
9507 (check_int): Do not check numerical result if flag IGNORE_RESULT
9508 set.
9509 (check_long): Likewise.
9510 (check_bool): Likewise.
9511 (check_longlong): Likewise.
9512 (lrint_test_data): Add tests of infinite and NaN arguments.
9513 (lrint_tonearest_test_data): Likewise.
9514 (lrint_towardzero_test_data): Likewise.
9515 (lrint_downward_test_data): Likewise.
9516 (lrint_upward_test_data): Likewise.
9517 (llrint_test_data): Likewise.
9518 (llrint_tonearest_test_data): Likewise.
9519 (llrint_towardzero_test_data): Likewise.
9520 (llrint_downward_test_data): Likewise.
9521 (llrint_upward_test_data): Likewise.
9522 (lround_test_data): Likewise.
9523 (llround_test_data): Likewise.
9524
14407b7e
JM
9525 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9526 (ERRNO_UNCHANGED): Update value.
9527 (ERRNO_EDOM): Likewise.
9528 (ERRNO_ERANGE): Likewise.
9529 (NO_TEST_INLINE_FLOAT): New macro.
9530 (NO_TEST_INLINE_DOUBLE): Likewise.
9531 (enable_test): New function.
9532 (RUN_TEST_f_f): Check enable_test before running test.
9533 (RUN_TEST_2_f): Likewise.
9534 (RUN_TEST_fff_f): Likewise.
9535 (RUN_TEST_c_f): Likewise.
9536 (RUN_TEST_f_f1): Likewise.
9537 (RUN_TEST_fF_f1): Likewise.
9538 (RUN_TEST_fI_f1): Likewise.
9539 (RUN_TEST_ffI_f1): Likewise.
9540 (RUN_TEST_c_c): Likewise.
9541 (RUN_TEST_cc_c): Likewise.
9542 (RUN_TEST_f_i): Likewise.
9543 (RUN_TEST_f_i_tg): Likewise.
9544 (RUN_TEST_ff_i_tg): Likewise.
9545 (RUN_TEST_f_b): Likewise.
9546 (RUN_TEST_f_b_tg): Likewise.
9547 (RUN_TEST_f_l): Likewise.
9548 (RUN_TEST_f_L): Likewise.
9549 (RUN_TEST_fFF_11): Likewise.
9550 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9551 conditionals.
9552 (cosh_test_data): Likewise.
9553 (exp_test_data): Likewise.
9554 (expm1_test_data): Likewise.
9555 (hypot_test_data): Likewise.
9556 (pow_test_data): Likewise.
9557 (sinh_test_data): Likewise.
9558 (tanh_test_data): Likewise.
9559 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9560 flags argument.
9561
ca07f197
JM
9562 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9563 tests with quiet NaN input and output.
9564 (acosh_test_data): Likewise.
9565 (asin_test_data): Likewise.
9566 (asinh_test_data): Likewise.
9567 (atan_test_data): Likewise.
9568 (atanh_test_data): Likewise.
9569 (atan2_test_data): Likewise.
9570 (cbrt_test_data): Likewise.
9571 (cos_test_data): Likewise.
9572 (cosh_test_data): Likewise.
9573 (erf_test_data): Likewise.
9574 (erfc_test_data): Likewise.
9575 (exp_test_data): Likewise.
9576 (exp10_test_data): Likewise.
9577 (exp2_test_data): Likewise.
9578 (expm1_test_data): Likewise.
9579 (hypot_test_data): Likewise.
9580 (j0_test_data): Likewise.
9581 (j1_test_data): Likewise.
9582 (jn_test_data): Likewise.
9583 (lgamma_test_data): Likewise.
9584 (log_test_data): Likewise.
9585 (log10_test_data): Likewise.
9586 (log1p_test_data): Likewise.
9587 (log2_test_data): Likewise.
9588 (pow_test_data): Likewise.
9589 (scalb_test_data): Likewise.
9590 (sin_test_data): Likewise.
9591 (sincos_test_data): Likewise.
9592 (sinh_test_data): Likewise.
9593 (tan_test_data): Likewise.
9594 (tanh_test_data): Likewise.
9595 (tgamma_test_data): Likewise.
9596 (y0_test_data): Likewise.
9597 (y1_test_data): Likewise.
9598 (yn_test_data): Likewise.
9599
66294491
JM
9600 [BZ #16167]
9601 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9602 argument being NaN and avoid computations with second argument in
9603 that case.
9604 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9605 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9606 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9607
1820b143
CL
96082013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9609
9610 * locale/iso-639.def: Add Chitwani Tharu (the).
9611
714bd261
AS
96122013-11-14 Andreas Schwab <schwab@suse.de>
9613
9614 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9615 word instead of empty string.
9616
7ab44563
AZ
96172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9618
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9620 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9622 (__fe_nomask_env): Likewise.
9623
e8470ea2
SE
96242013-11-13 Steve Ellcey <sellcey@mips.com>
9625
9626 * benchtests/bench-timing.h: Include time.h.
9627
17c1d9f0
L
96282013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 [BZ #15997]
9631 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9632 to 3.4.0 for x32.
9633 * sysdeps/unix/sysv/linux/configure: Regenerated.
9634
9310c284
JM
96352013-11-13 Joseph Myers <joseph@codesourcery.com>
9636
9637 [BZ #16151]
9638 * stdlib/strtod_l.c (round_and_return): Do not consider
9639 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9640 exponent one less than half the least subnormal exponent.
9641 * stdlib/test-strtod-round-data: Add more tests.
9642 * stdlib/tst-strtod-round.c (tests): Regenerated.
9643
7a2ad8cf
AZ
96442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9645
9646 [BZ #14143]
9647 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9648 (__fe_mask_env): Likewise.
9649 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9650 libm_hidden_proto and add function prototype.
9651 (__fe_mask_env): Add function prototype.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9653 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9655 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9657 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9658
50727aa7
MS
96592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9660
b2f386c1 9661 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9662 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9663
a615be46
MS
96642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9665
9666 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9667 of htab_find_slot().
9668
7ddace62
DM
96692013-11-11 David S. Miller <davem@davemloft.net>
9670
9671 [BZ #16150]
9672 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9673 symbol in the non-vis3 case in static builds.
9674 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9675 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9676 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9677 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9678
9182aa67
JK
96792013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9680
9681 [BZ #387]
9682 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9683 it is empty.
9684
450a2e2d
AZ
96852013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9686
b2f386c1
SP
9687 * benchtests/Makefile: Add bench-strtod.
9688 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9689
8ec3f656
AS
96902013-11-11 Andreas Schwab <schwab@suse.de>
9691
9692 [BZ #16153]
9693 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9694 terminating NUL in key length.
9695
76a9b998
AZ
96962013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9697
9698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9699 Add artificial ODP entry for vDSO symbol for PPC64.
9700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9701 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9702
e4368156
OB
97032013-11-07 Ondřej Bílka <neleai@seznam.cz>
9704
9705 [BZ #15374]
9706 * nss/getent.c (services_keys): Recognize services starting with digit.
9707
8d6bb57c
DM
97082013-11-06 David S. Miller <davem@davemloft.net>
9709
9710 [BZ #15985]
9711 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9712 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9713
e256c421
WN
97142013-11-06 Will Newton <will.newton@linaro.org>
9715
9716 * manual/memory.texi (Malloc Examples): Remove register
9717 keyword from examples.
9718
f6e12daa 97192013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9720
f6e12daa 9721 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9722
9d880655
AS
97232013-11-04 Joseph Myers <joseph@codesourcery.com>
9724
fd2f9486 9725 [BZ #6981]
9d880655
AS
9726 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9727 depending on [__GCC_IEC_559 > 0].
9728 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9729 depending on [__GCC_IEC_559_COMPLEX > 0].
9730
ae129d3c
CL
97312013-11-03 Chris Leonard <cjl@sugarlabs.org>
9732
9733 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9734 to iso-639.def.
9735
4a15c2a4 97362013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9737
9738 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9739
8b35e35d
OB
97402013-11-01 Ondřej Bílka <neleai@seznam.cz>
9741
9742 [BZ #16112]
9743 * malloc/malloc (malloc_info): Do not handle first bin as
9744 special case.
9745
1d70fd6c
CL
97462013-11-01 Chris Leonard <cjl@sugarlabs.org>
9747
9748 * locale/iso-639.def: Add Central Nahuatl (nhn).
9749
8c5c2600
BH
97502013-11-01 Bruno Haible <bruno@clisp.org>
9751
9752 [BZ #7003]
9753 * manual/math.texi (BSD Random): Specify range upper bound as
9754 in POSIX.
9755
da5579c2
CL
97562013-10-31 Chris Leonard <cjl@sugarlabs.org>
9757
9758 * locale/iso-639.def: Add Meadow Mari (mhr).
9759
5d30d853
OB
97602013-10-31 Ondřej Bílka <neleai@seznam.cz>
9761
9762 [BZ #14752], [BZ #15763]
9763 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9764 Validate name.
9765 * rt/tst_shm.c: Add test for escaping directory.
9766
a4966c61
AS
97672013-10-31 Andreas Schwab <schwab@suse.de>
9768
8a43e768 9769 [BZ #15917]
a4966c61
AS
9770 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9771 followed by 'x' as part of digit sequence.
9772 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9773
28d708c4
MAP
97742013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9775
9776 [BZ #16037]
9777 * configure.ac: allow GNU Make 4.0 and greater.
9778 * configure: Regenerated.
9779
a56ee40b
WN
97802013-10-30 Will Newton <will.newton@linaro.org>
9781
9782 [BZ #16038]
9783 * malloc/hooks.c (memalign_check): Limit alignment to the
9784 maximum representable power of two.
9785 * malloc/malloc.c (__libc_memalign): Likewise.
9786 * malloc/tst-memalign.c (do_test): Add test for very
9787 large alignment values.
9788 * malloc/tst-posix_memalign.c (do_test): Likewise.
9789
c6e4925d
OB
97902013-10-30 Ondřej Bílka <neleai@seznam.cz>
9791
9792 [BZ #11087]
9793 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9794 (munmap_chunk): Likewise.
9795 (mremap_chunk): Likewise.
9796
97972013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9798
8a43e768 9799 [BZ #15799]
bbea82f7
OB
9800 * stdlib/div.c (div): Remove obsolete code.
9801 * stdlib/ldiv.c (ldiv): Likewise.
9802 * stdlib/lldiv.c (lldiv): Likewise.
9803
977f4b31
SP
98042013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9805
9806 [BZ #16071]
9807 * nss/nss_files/files-XXX.c (get_contents_ret): New
9808 enumerator.
9809 (get_contents): New function.
9810 (internal_getent): Use it. Expand size of LINEBUFLEN.
9811
cb8a6dbd
MF
98122013-10-30 Mike Frysinger <vapier@gentoo.org>
9813
9814 * configure.in: Moved to ...
9815 * configure.ac: ... here. Change reference to configure.in
9816 to configure.ac.
9817 * sysdeps/arm/preconfigure.ac: ... here.
9818 configure.in to configure.ac.
9819 * sysdeps/gnu/configure.in: Moved to ...
9820 * sysdeps/gnu/configure.ac: ... here.
9821 * sysdeps/i386/configure.in: Moved to ...
9822 * sysdeps/i386/configure.ac: ... here.
9823 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9824 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9825 * sysdeps/mach/configure.in: Moved to ...
9826 * sysdeps/mach/configure.ac: ... here.
9827 * sysdeps/mach/hurd/configure.in: Moved to ...
9828 * sysdeps/mach/hurd/configure.ac: ... here.
9829 * sysdeps/powerpc/configure.in: Moved to ...
9830 * sysdeps/powerpc/configure.ac: ... here.
9831 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9832 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9833 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9834 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9835 * sysdeps/s390/s390-32/configure.in: Moved to ...
9836 * sysdeps/s390/s390-32/configure.ac: ... here.
9837 * sysdeps/s390/s390-64/configure.in: Moved to ...
9838 * sysdeps/s390/s390-64/configure.ac: ... here.
9839 * sysdeps/sh/configure.in: Moved to ...
9840 * sysdeps/sh/configure.ac: ... here.
9841 * sysdeps/sparc/configure.in: Moved to ...
9842 * sysdeps/sparc/configure.ac: ... here.
9843 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9844 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9845 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9846 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9847 * sysdeps/x86_64/configure.in: Moved to ...
9848 * sysdeps/x86_64/configure.ac: ... here.
9849 * sysdeps/x86_64/preconfigure.in: Moved to ...
9850 * sysdeps/x86_64/preconfigure.ac: ... here.
9851 * aclocal.m4: Change reference to configure.in to configure.ac.
9852 * config.h.in: Likewise.
9853 * manual/install.texi: Likewise.
9854 * manual/maint.texi: Likewise.
9855 * Makefile: Likewise.
9856 * malloc/Makefile: Likewise.
9857 * nscd/Makefile: Likewise.
9858 * Makeconfig: Change reference to configure.in and
9859 preconfigure.in to configure.ac and preconfigure.ac
9860 respectively.
9861 * INSTALL: Regenerated.
9862 * configure: Likewise.
9863 * sysdeps/gnu/configure: Likewise.
9864 * sysdeps/i386/configure: Likewise.
9865 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9866 * sysdeps/mach/configure: Likewise.
9867 * sysdeps/mach/hurd/configure: Likewise.
9868 * sysdeps/powerpc/configure: Likewise.
9869 * sysdeps/powerpc/powerpc32/configure: Likewise.
9870 * sysdeps/powerpc/powerpc64/configure: Likewise.
9871 * sysdeps/s390/s390-32/configure: Likewise.
9872 * sysdeps/s390/s390-64/configure: Likewise.
9873 * sysdeps/sh/configure: Likewise.
9874 * sysdeps/sparc/configure: Likewise.
9875 * sysdeps/unix/sysv/linux/configure: Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9877 * sysdeps/x86_64/configure: Likewise.
9878 * sysdeps/x86_64/preconfigure: Likewise.
9879
36a4953a
AS
98802013-10-29 Andreas Schwab <schwab@suse.de>
9881
9882 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9883
c79a1204
SP
98842013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9885
dfa1b402
SP
9886 * benchtests/pow-inputs: Add new inputs.
9887
54f73d9c
SP
9888 * benchtests/exp-inputs: Add new inputs.
9889
c79a1204
SP
9890 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9891 conditional check for return value.
9892 (__cos32): Likewise.
9893
67beb545 98942013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9895
9896 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9897 to provide a boost for large inputs with word alignment.
9898 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9899 implementation based on optimized PPC64 strcpy.
9900 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9901 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9902 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9903 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9904
151659f6
OB
99052013-10-25 Ondřej Bílka <neleai@seznam.cz>
9906
482a077e 9907 [BZ #2801]
151659f6
OB
9908 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9909
10b0f26b
OB
99102013-10-25 Ondřej Bílka <neleai@seznam.cz>
9911
9912 [BZ #14876]
9913 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9914 * time/tst-strptime.c (day_tests): Add testcase.
9915
ca42d35e
OB
99162013-10-25 Ondřej Bílka <neleai@seznam.cz>
9917
482a077e 9918 [BZ #14029]
ca42d35e
OB
9919 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9920
52e6d801
FB
99212013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9922
9923 [BZ #16074]
9924 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9925 MAP_FAILED on error.
9926
7cbcdb36
SP
99272013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9928
9929 [BZ #16072]
9930 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9931 heap for large requests.
9932
894f3f10
AM
99332013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9934
9935 [BZ #9954]
9936 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9937 result if the result has no associated interface.
9938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9939 interface for all 127.X.Y.Z addresses.
9940
b85545a6
CL
99412013-10-24 Chris Leonard <cjl@sugarlabs.org>
9942
9943 * locale/iso-639.def: Add Ligurian (lij)
9944
d1f23d46
OB
99452013-10-21 Ondřej Bílka <neleai@seznam.cz>
9946
9947 [BZ #15825]
9948 * sunrpc/rpc_main.c: Document rpcgen -5.
9949
4db5b08f
MS
99502013-10-19 Michael Stahl <mstahl@redhat.com>
9951
9952 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9953
a471e96a
OB
99542013-10-19 Ondřej Bílka <neleai@seznam.cz>
9955
d1f23d46 9956 [BZ #10278]
a471e96a
OB
9957 * posix/glob.c: Match only directories when trailing slash is present.
9958 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9959 (main): Add testcase.
9960
45c30c61
OB
99612013-10-19 Ondřej Bílka <neleai@seznam.cz>
9962
9963 [BZ #15670]
9964 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9965
484c12fb
CD
99662013-10-18 Carlos O'Donell <carlos@redhat.com>
9967
3d7dc513
CD
9968 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9969 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9970 AUTH_DES and cindex for FIPS 140-2.
9971 (DES Encryption): Add cindex FIPS 46-3.
9972
484c12fb
CD
9973 * locale/locarchive.h (struct locarhandle): Add fname.
9974 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9975 if an optional argument was specified to --list-archive,
9976 otherwise NULL.
9977 * locale/programs/locarchive.c (show_archive_content): Take new
9978 argument fname and pass it via ah.fname to open_archive.
9979 * locale/programs/localedef.h: Update decl.
9980 (open_archive): If AH->fname is non-null, open that file
9981 rather than the default file name, and don't ignore ENOENT.
9982 (create_archive): Set AH.fname to NULL.
9983 (delete_locales_from_archive): Likewise.
9984 (add_locales_to_archive): Likewise.
9985 * locale/programs/locfile.c (write_all_categories): Likewise.
9986
3c8325fb
JM
99872013-10-18 Joseph Myers <joseph@codesourcery.com>
9988 Aldy Hernandez <aldyh@redhat.com>
9989
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9991 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9992 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9993 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9995 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9996 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9997 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9998 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9999 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10000 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10001 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10002 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10003 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10004 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10005 Likewise.
10006 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10007 Likewise.
10008 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10009 Likewise.
10010 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10011 Likewise.
10012 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10013 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10014 Likewise.
10015 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10016 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10017 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10018 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10019 Likewise.
10020 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10021 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10022 * sysdeps/powerpc/preconfigure: Likewise.
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10024 Likewise.
10025 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10026 Replace contents of file by #include of <fenv_libc.h>.
10027 * sysdeps/powerpc/soft-fp/sfp-machine.h
10028 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10029 and <sys/prctl.h>.
10030 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10031 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10032 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10033 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10043 Allow copysignl PLT reference to be missing.
10044
5abe0682
RS
100452013-10-18 Richard Sandiford <richard@codesourcery.com>
10046 Joseph Myers <joseph@codesourcery.com
10047
10048 [BZ #15948]
10049 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10050 single character.
10051 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10052
c7738d08
SP
100532013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10054
10055 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10056 * elf/tst-tls1.c: Likewise.
10057 * elf/tst-tls10.h: Likewise.
10058 * elf/tst-tls14.c: Likewise.
10059 * elf/tst-tls2.c: Likewise.
10060 * elf/tst-tls3.c: Likewise.
10061 * elf/tst-tls4.c: Likewise.
10062 * elf/tst-tls5.c: Likewise.
10063 * elf/tst-tls6.c: Likewise.
10064 * elf/tst-tls7.c: Likewise.
10065 * elf/tst-tls8.c: Likewise.
10066 * elf/tst-tls9.c: Likewise.
10067 * elf/tst-tlsmod1.c: Likewise.
10068 * elf/tst-tlsmod13.c: Likewise.
10069 * elf/tst-tlsmod13a.c: Likewise.
10070 * elf/tst-tlsmod14a.c: Likewise.
10071 * elf/tst-tlsmod16a.c: Likewise.
10072 * elf/tst-tlsmod16b.c: Likewise.
10073 * elf/tst-tlsmod2.c: Likewise.
10074 * elf/tst-tlsmod3.c: Likewise.
10075 * elf/tst-tlsmod4.c: Likewise.
10076 * elf/tst-tlsmod5.c: Likewise.
10077 * elf/tst-tlsmod6.c: Likewise.
10078
0bfcf2c7
OB
100792013-10-18 Ondřej Bílka <neleai@seznam.cz>
10080
10081 [BZ #12486]
10082 * malloc/malloc.c: remove checks for statistics.
10083
264aad1e
OB
100842013-10-17 Ondřej Bílka <neleai@seznam.cz>
10085
10086 [BZ #15277]
10087 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10088 * inet/tst-network.c: Add testcase.
10089
b957ced8
AS
100902013-10-17 Andreas Schwab <schwab@suse.de>
10091
10092 [BZ #15218]
10093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10094 to determine canonical name.
10095
c5d5d574
OB
100962013-10-17 Ondřej Bílka <neleai@seznam.cz>
10097
10098 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10099 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10122 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10123 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10156
e5c2c2d0
JM
101572013-10-17 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #16041]
10160 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10161 make result into a quiet NaN.
10162
51ca9e29
JM
101632013-10-16 Joseph Myers <joseph@codesourcery.com>
10164
10165 * soft-fp/adddf3.c: Fix horizontal whitespace.
10166 * soft-fp/addsf3.c: Likewise.
10167 * soft-fp/addtf3.c: Likewise.
10168 * soft-fp/divdf3.c: Likewise.
10169 * soft-fp/divsf3.c: Likewise.
10170 * soft-fp/divtf3.c: Likewise.
10171 * soft-fp/double.h: Likewise.
10172 * soft-fp/eqdf2.c: Likewise.
10173 * soft-fp/eqsf2.c: Likewise.
10174 * soft-fp/eqtf2.c: Likewise.
10175 * soft-fp/extenddftf2.c: Likewise.
10176 * soft-fp/extended.h: Likewise.
10177 * soft-fp/extendsfdf2.c: Likewise.
10178 * soft-fp/extendsftf2.c: Likewise.
10179 * soft-fp/extendxftf2.c: Likewise.
10180 * soft-fp/fixdfdi.c: Likewise.
10181 * soft-fp/fixdfsi.c: Likewise.
10182 * soft-fp/fixdfti.c: Likewise.
10183 * soft-fp/fixsfdi.c: Likewise.
10184 * soft-fp/fixsfsi.c: Likewise.
10185 * soft-fp/fixsfti.c: Likewise.
10186 * soft-fp/fixtfdi.c: Likewise.
10187 * soft-fp/fixtfsi.c: Likewise.
10188 * soft-fp/fixtfti.c: Likewise.
10189 * soft-fp/fixunsdfdi.c: Likewise.
10190 * soft-fp/fixunsdfsi.c: Likewise.
10191 * soft-fp/fixunsdfti.c: Likewise.
10192 * soft-fp/fixunssfdi.c: Likewise.
10193 * soft-fp/fixunssfsi.c: Likewise.
10194 * soft-fp/fixunssfti.c: Likewise.
10195 * soft-fp/fixunstfdi.c: Likewise.
10196 * soft-fp/fixunstfsi.c: Likewise.
10197 * soft-fp/fixunstfti.c: Likewise.
10198 * soft-fp/floatdidf.c: Likewise.
10199 * soft-fp/floatdisf.c: Likewise.
10200 * soft-fp/floatditf.c: Likewise.
10201 * soft-fp/floatsidf.c: Likewise.
10202 * soft-fp/floatsisf.c: Likewise.
10203 * soft-fp/floatsitf.c: Likewise.
10204 * soft-fp/floattidf.c: Likewise.
10205 * soft-fp/floattisf.c: Likewise.
10206 * soft-fp/floattitf.c: Likewise.
10207 * soft-fp/floatundidf.c: Likewise.
10208 * soft-fp/floatundisf.c: Likewise.
10209 * soft-fp/floatunditf.c: Likewise.
10210 * soft-fp/floatunsidf.c: Likewise.
10211 * soft-fp/floatunsisf.c: Likewise.
10212 * soft-fp/floatunsitf.c: Likewise.
10213 * soft-fp/floatuntidf.c: Likewise.
10214 * soft-fp/floatuntisf.c: Likewise.
10215 * soft-fp/floatuntitf.c: Likewise.
10216 * soft-fp/fmadf4.c: Likewise.
10217 * soft-fp/fmasf4.c: Likewise.
10218 * soft-fp/fmatf4.c: Likewise.
10219 * soft-fp/gedf2.c: Likewise.
10220 * soft-fp/gesf2.c: Likewise.
10221 * soft-fp/getf2.c: Likewise.
10222 * soft-fp/ledf2.c: Likewise.
10223 * soft-fp/lesf2.c: Likewise.
10224 * soft-fp/letf2.c: Likewise.
10225 * soft-fp/muldf3.c: Likewise.
10226 * soft-fp/mulsf3.c: Likewise.
10227 * soft-fp/multf3.c: Likewise.
10228 * soft-fp/negdf2.c: Likewise.
10229 * soft-fp/negsf2.c: Likewise.
10230 * soft-fp/negtf2.c: Likewise.
10231 * soft-fp/op-1.h: Likewise.
10232 * soft-fp/op-2.h: Likewise.
10233 * soft-fp/op-4.h: Likewise.
10234 * soft-fp/op-8.h: Likewise.
10235 * soft-fp/op-common.h: Likewise.
10236 * soft-fp/quad.h: Likewise.
10237 * soft-fp/single.h: Likewise.
10238 * soft-fp/soft-fp.h: Likewise.
10239 * soft-fp/sqrtdf2.c: Likewise.
10240 * soft-fp/sqrtsf2.c: Likewise.
10241 * soft-fp/sqrttf2.c: Likewise.
10242 * soft-fp/subdf3.c: Likewise.
10243 * soft-fp/subsf3.c: Likewise.
10244 * soft-fp/subtf3.c: Likewise.
10245 * soft-fp/truncdfsf2.c: Likewise.
10246 * soft-fp/trunctfdf2.c: Likewise.
10247 * soft-fp/trunctfsf2.c: Likewise.
10248 * soft-fp/trunctfxf2.c: Likewise.
10249 * soft-fp/unorddf2.c: Likewise.
10250 * soft-fp/unordsf2.c: Likewise.
10251 * soft-fp/unordtf2.c: Likewise.
10252
9ebb0332
JM
102532013-10-15 Joseph Myers <joseph@codesourcery.com>
10254
10255 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10256 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10257
4b1a6d8b
OB
102582013-10-15 Ondřej Bílka <neleai@seznam.cz>
10259
10260 * elf/dl-libc.c: Clear initfini list after freeing.
10261
1e145589
JM
102622013-10-14 Joseph Myers <joseph@codesourcery.com>
10263
10264 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10265 * soft-fp/addsf3.c: Likewise.
10266 * soft-fp/addtf3.c: Likewise.
10267 * soft-fp/divdf3.c: Likewise.
10268 * soft-fp/divsf3.c: Likewise.
10269 * soft-fp/divtf3.c: Likewise.
10270 * soft-fp/double.h: Likewise.
10271 * soft-fp/eqdf2.c: Likewise.
10272 * soft-fp/eqsf2.c: Likewise.
10273 * soft-fp/eqtf2.c: Likewise.
10274 * soft-fp/extenddftf2.c: Likewise.
10275 * soft-fp/extended.h: Likewise.
10276 * soft-fp/extendsfdf2.c: Likewise.
10277 * soft-fp/extendsftf2.c: Likewise.
10278 * soft-fp/extendxftf2.c: Likewise.
10279 * soft-fp/fixdfdi.c: Likewise.
10280 * soft-fp/fixdfsi.c: Likewise.
10281 * soft-fp/fixdfti.c: Likewise.
10282 * soft-fp/fixsfdi.c: Likewise.
10283 * soft-fp/fixsfsi.c: Likewise.
10284 * soft-fp/fixsfti.c: Likewise.
10285 * soft-fp/fixtfdi.c: Likewise.
10286 * soft-fp/fixtfsi.c: Likewise.
10287 * soft-fp/fixtfti.c: Likewise.
10288 * soft-fp/fixunsdfdi.c: Likewise.
10289 * soft-fp/fixunsdfsi.c: Likewise.
10290 * soft-fp/fixunsdfti.c: Likewise.
10291 * soft-fp/fixunssfdi.c: Likewise.
10292 * soft-fp/fixunssfsi.c: Likewise.
10293 * soft-fp/fixunssfti.c: Likewise.
10294 * soft-fp/fixunstfdi.c: Likewise.
10295 * soft-fp/fixunstfsi.c: Likewise.
10296 * soft-fp/fixunstfti.c: Likewise.
10297 * soft-fp/floatdidf.c: Likewise.
10298 * soft-fp/floatdisf.c: Likewise.
10299 * soft-fp/floatditf.c: Likewise.
10300 * soft-fp/floatsidf.c: Likewise.
10301 * soft-fp/floatsisf.c: Likewise.
10302 * soft-fp/floatsitf.c: Likewise.
10303 * soft-fp/floattidf.c: Likewise.
10304 * soft-fp/floattisf.c: Likewise.
10305 * soft-fp/floattitf.c: Likewise.
10306 * soft-fp/floatundidf.c: Likewise.
10307 * soft-fp/floatundisf.c: Likewise.
10308 * soft-fp/floatunsidf.c: Likewise.
10309 * soft-fp/floatunsisf.c: Likewise.
10310 * soft-fp/floatuntidf.c: Likewise.
10311 * soft-fp/floatuntisf.c: Likewise.
10312 * soft-fp/floatuntitf.c: Likewise.
10313 * soft-fp/fmadf4.c: Likewise.
10314 * soft-fp/fmasf4.c: Likewise.
10315 * soft-fp/fmatf4.c: Likewise.
10316 * soft-fp/gedf2.c: Likewise.
10317 * soft-fp/gesf2.c: Likewise.
10318 * soft-fp/getf2.c: Likewise.
10319 * soft-fp/ledf2.c: Likewise.
10320 * soft-fp/lesf2.c: Likewise.
10321 * soft-fp/letf2.c: Likewise.
10322 * soft-fp/muldf3.c: Likewise.
10323 * soft-fp/mulsf3.c: Likewise.
10324 * soft-fp/multf3.c: Likewise.
10325 * soft-fp/negdf2.c: Likewise.
10326 * soft-fp/negsf2.c: Likewise.
10327 * soft-fp/negtf2.c: Likewise.
10328 * soft-fp/op-1.h: Likewise.
10329 * soft-fp/op-2.h: Likewise.
10330 * soft-fp/op-4.h: Likewise.
10331 * soft-fp/op-8.h: Likewise.
10332 * soft-fp/op-common.h: Likewise.
10333 * soft-fp/quad.h: Likewise.
10334 * soft-fp/single.h: Likewise.
10335 * soft-fp/soft-fp.h: Likewise.
10336 * soft-fp/sqrtdf2.c: Likewise.
10337 * soft-fp/sqrtsf2.c: Likewise.
10338 * soft-fp/sqrttf2.c: Likewise.
10339 * soft-fp/subdf3.c: Likewise.
10340 * soft-fp/subsf3.c: Likewise.
10341 * soft-fp/subtf3.c: Likewise.
10342 * soft-fp/truncdfsf2.c: Likewise.
10343 * soft-fp/trunctfdf2.c: Likewise.
10344 * soft-fp/trunctfsf2.c: Likewise.
10345 * soft-fp/trunctfxf2.c: Likewise.
10346 * soft-fp/unorddf2.c: Likewise.
10347 * soft-fp/unordsf2.c: Likewise.
10348 * soft-fp/unordtf2.c: Likewise.
10349
17c48a60
OB
103502013-10-14 Ondřej Bílka <neleai@seznam.cz>
10351
10352 [BZ #15672]
10353 * misc/error.c (error_tail): Fix possible buffer overflow.
10354
cabba934
OB
103552013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10356
10357 [BZ #13028]
10358 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10359 address.
10360
94bf958a
PM
103612013-10-14 P. J. McDermott <pj@pehjota.net>
10362
10363 [BZ #832]
10364 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10365 testing pipefail option.
10366
71b4dea7
JM
103672013-10-12 Joseph Myers <joseph@codesourcery.com>
10368
10369 * soft-fp/double.h: Indent preprocessor directives inside #if.
10370 * soft-fp/extended.h: Likewise.
10371 * soft-fp/op-2.h: Likewise.
10372 * soft-fp/op-4.h: Likewise.
10373 * soft-fp/op-common.h: Likewise.
10374 * soft-fp/quad.h: Likewise.
10375 * soft-fp/single.h: Likewise.
10376 * soft-fp/soft-fp.h: Likewise.
10377
55602758
YC
103782013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10379
10380 * iconv/iconv_prog.c: Fix typos.
10381 * stdio-common/psiginfo-data.h: Likewise.
10382
9cd83302
RT
103832013-10-12 Reuben Thomas <rrt@sc3d.org>
10384
10385 [BZ #15764]
10386 * locale/setlocale.c: Fix typo.
10387
99fd9f47
JM
103882013-10-12 Joseph Myers <joseph@codesourcery.com>
10389
b7ea74f0
JM
10390 [BZ #16036]
10391 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10392 signaling NaN arguments.
10393 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10394 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10395
8a509447
JM
10396 [BZ #14910]
10397 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10398 unordered operands.
10399 * soft-fp/gesf2.c (__gesf2): Likewise.
10400 * soft-fp/getf2.c (__getf2): Likewise.
10401 * soft-fp/ledf2.c (__ledf2): Likewise.
10402 * soft-fp/lesf2.c (__lesf2): Likewise.
10403 * soft-fp/letf2.c (__letf2): Likewise.
10404
98998e9f
JM
10405 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10406 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10407 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10408 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10409 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10410 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10411 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10412 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10413 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10414 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10415 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10416 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10417 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10418 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10419 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10420 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10421 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10422 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10423 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10424 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10425 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10426 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10427 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10428 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10429 * soft-fp/floattidf.c (__floattidf): Likewise.
10430 * soft-fp/floattisf.c (__floattisf): Likewise.
10431 * soft-fp/floattitf.c (__floattitf): Likewise.
10432 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10433 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10434 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10435 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10436 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10437 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10438 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10439 * soft-fp/gesf2.c (__gesf2): Likewise.
10440 * soft-fp/getf2.c (__getf2): Likewise.
10441 * soft-fp/ledf2.c (__ledf2): Likewise.
10442 * soft-fp/lesf2.c (__lesf2): Likewise.
10443 * soft-fp/letf2.c (__letf2): Likewise.
10444
8edc4a11
JM
10445 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10446 Undefine and redefine.
10447 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10448 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10449 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10450 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10451 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10452 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10453 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10454 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10455 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10456 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10457 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10458 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10459 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10460 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10461 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10462
8399acaf
JM
10463 [BZ #16032]
10464 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10465 without decrementing exponent if mantissa >= that for the
10466 denominator, not >.
10467 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10468 denominator, not >. Decrement exponent in < case instead of
10469 incrementing in >= case.
10470 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10471 without decrementing exponent if mantissa >= that for the
10472 denominator, not >.
10473
99fd9f47
JM
10474 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10475 computing saturated result for unsigned overflow.
10476
10e1cf6b
SP
104772013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 Jeff Law <law@redhat.com>
10479
10480 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10481 (atan2Mp): Add systemtap probe marker.
10482 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10483 (__ieee754_log): Add systemtap probe marker.
10484 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10485 (atanMp): Add systemtap probe marker.
10486 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10487 (tanMp): Add systemtap probe marker.
10488 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10489 (__slowexp): Add systemtap probe marker.
10490 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10491 (__slowpow): Add systemtap probe marker.
10492 * manual/probes.texi: Document probes.
10493
3d110c7c
EB
104942013-10-11 Eric Biggers <ebiggers3@gmail.com>
10495
10496 [BZ #15362]
10497 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10498 written.
10499 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10500 written.
10501 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10502 written to buffer but not flushed.
10503 * libio/iofwrite_u.c: Likewise.
10504 * libio/iopadn.c: Return bytes returned even if EOF was
10505 encountered.
10506 * libio/iowpadn.c: Likewise.
10507 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10508 if _IO_padn does not write the whole buffer.
10509 [!COMPILE_WPRINTF] (PAD): Likewise.
10510
75b4202a
DM
105112013-10-10 David S. Miller <davem@davemloft.net>
10512
10513 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10514 directory block.
10515
6c6352e6
JM
105162013-10-10 Joseph Myers <joseph@codesourcery.com>
10517
33b853c3
JM
10518 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10519 instead of FSF address.
10520 * soft-fp/fixdfti.c: Likewise.
10521 * soft-fp/fixsfti.c: Likewise.
10522 * soft-fp/fixtfti.c: Likewise.
10523 * soft-fp/fixunsdfti.c: Likewise.
10524 * soft-fp/fixunssfti.c: Likewise.
10525 * soft-fp/fixunstfti.c: Likewise.
10526 * soft-fp/floattidf.c: Likewise.
10527 * soft-fp/floattisf.c: Likewise.
10528 * soft-fp/floattitf.c: Likewise.
10529 * soft-fp/floatuntidf.c: Likewise.
10530 * soft-fp/floatuntisf.c: Likewise.
10531 * soft-fp/floatuntitf.c: Likewise.
10532 * soft-fp/trunctfxf2.c: Likewise.
10533
6c6352e6
JM
10534 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10535 * soft-fp/fixdfti.c: Likewise.
10536 * soft-fp/fixsfti.c: Likewise.
10537 * soft-fp/fixtfti.c: Likewise.
10538 * soft-fp/fixunsdfti.c: Likewise.
10539 * soft-fp/fixunssfti.c: Likewise.
10540 * soft-fp/fixunstfti.c: Likewise.
10541 * soft-fp/floattidf.c: Likewise.
10542 * soft-fp/floattisf.c: Likewise.
10543 * soft-fp/floattitf.c: Likewise.
10544 * soft-fp/floatuntidf.c: Likewise.
10545 * soft-fp/floatuntisf.c: Likewise.
10546 * soft-fp/floatuntitf.c: Likewise.
10547 * soft-fp/trunctfxf2.c: Likewise.
10548
3bf78b71
DM
105492013-10-10 David S. Miller <davem@davemloft.net>
10550
10551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10552
6f10289e
JM
105532013-10-10 Joseph Myers <joseph@codsourcery.com>
10554
bd878fc0
JM
10555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10556 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10557 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10558 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10559 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10560 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10561 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10562
6f10289e
JM
10563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10564 for NaNs before doing comparisons on argument.
10565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10566 Likewise.
10567
321e2684
WN
105682013-10-10 Will Newton <will.newton@linaro.org>
10569
10570 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10571 passed to _int_memalign does not overflow.
10572
40fefba1
TR
105732013-10-10 Torvald Riegel <triegel@redhat.com>
10574
10575 * scripts/bench.pl: Add include-sources directive.
10576 * benchtests/README: Update documentation.
10577
2ae21ed2
JM
105782013-10-10 Joseph Myers <joseph@codesourcery.com>
10579
dcc2dd3f
JM
10580 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10581 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10582 instead of FP_INIT_ROUNDMODE.
10583 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10584 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10585
2ae21ed2
JM
10586 [BZ #16034]
10587 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10588 copy class of input value.
10589 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10590 not handle exceptions.
10591 * soft-fp/negsf2.c (__negsf2): Likewise.
10592 * soft-fp/negtf2.c (__negtf2): Likewise.
10593 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10594
cb8f9562
JM
105952013-10-09 Joseph Myers <joseph@codesourcery.com>
10596
10597 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10598 semicolon. From Linux kernel.
10599
5b60c59d
AB
106002013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10601
10602 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10603
b86835ca
YC
106042013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10605
10606 [BZ #156]
10607 * manual/socket.texi: Added statement about buffer
10608 for gethostbyname2_r.
10609
e7044ea7
OB
106102013-10-08 Ondřej Bílka <neleai@seznam.cz>
10611
10612 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10613 Use .p2align directive instead, throughout.
10614 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10615 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10616 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10617 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10618 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10619 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10620 * sysdeps/x86_64/strchr.S: Likewise.
10621 * sysdeps/x86_64/strrchr.S: Likewise.
10622
09544cbc
SP
106232013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10624
88576635
SP
10625 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10626
e7b2d1dd
SP
10627 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10628
09544cbc
SP
10629 * sysdeps/generic/math_private.h (__mpsin1): Remove
10630 declaration.
10631 (__mpcos1): Likewise.
10632 (__mpsin): New argument __range_reduce.
10633 (__mpcos): Likewise.
10634 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10635 (slow): Use __mpsin and __mpcos.
10636 (slow1): Likewise.
10637 (slow2): Likewise.
10638 (sloww): Likewise.
10639 (sloww1): Likewise.
10640 (sloww2): Likewise.
10641 (bsloww): Likewise.
10642 (bsloww1): Likewise.
10643 (bsloww2): Likewise.
10644 (cslow2): Likewise.
10645 (csloww): Likewise.
10646 (csloww1): Likewise.
10647 (csloww2): Likewise.
10648 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10649 range_reduce. Merge in __mpsin1.
10650 (__mpcos): Likewise.
10651 (__mpsin1): Remove.
10652 (__mpcos1): Likewise.
10653
7602d070
JM
106542013-10-07 Joseph Myers <joseph@codesourcery.com>
10655
10656 * locale/loadlocale.c (_nl_intern_locale_data): Use
10657 LOCFILE_ALIGNED_P.
10658 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10659 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10660 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10661 obstack data is appropriately aligned.
10662 (obstack_int32_grow_fast): Likewise.
10663 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10664 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10665 (add_locale_uint32_array): Likewise.
10666
a357259b
SP
106672013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10668
10669 * benchtests/Makefile: Remove ARGLIST and RET variables.
10670 ($(objpfx)bench-%.c): Pass only function name to the script.
10671 * benchtests/README: Update documentation.
10672 * benchtests/acos-inputs: Add new directives.
10673 * benchtests/acosh-inputs: Likewise.
10674 * benchtests/asin-inputs: Likewise.
10675 * benchtests/asinh-inputs: Likewise.
10676 * benchtests/atan-inputs: Likewise.
10677 * benchtests/atanh-inputs: Likewise.
10678 * benchtests/cos-inputs: Likewise.
10679 * benchtests/cosh-inputs: Likewise.
10680 * benchtests/exp-inputs: Likewise.
10681 * benchtests/log-inputs: Likewise.
10682 * benchtests/pow-inputs: Likewise.
10683 * benchtests/rint-inputs: Likewise.
10684 * benchtests/sin-inputs: Likewise.
10685 * benchtests/sinh-inputs: Likewise.
10686 * benchtests/tan-inputs: Likewise.
10687 * benchtests/tanh-inputs: Likewise.
10688 * scripts/bench.pl: Add support for new directives.
10689
9ec1b13d
AM
106902013-10-07 Alan Modra <amodra@gmail.com>
10691
10692 * README: Fix careless merge.
10693
8b7d57cd
AM
106942013-10-05 Alan Modra <amodra@gmail.com>
10695
10696 * NEWS: Mention powerpc64le support and bugs fixed.
10697 * README: Both big-endian and little-endian powerpc64 supported.
10698
7b7bab13
ST
106992013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10700
57f41c40
AS
10701 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10702 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10703 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10704 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10705
d39baad1
RA
107062013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10707
10708 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10709 match prototype.
10710
cd78f7e7
JM
107112013-10-04 Joseph Myers <joseph@codesourcery.com>
10712
29d73d86
JM
10713 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10714 Move -mhard-float appending from
10715 ports/sysdeps/powerpc/powerpc32/Makefile.
10716 [$(with-fp) = yes] (ASFLAGS): Likewise.
10717 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10718 * sysdeps/powerpc/nofpu: Move directory from
10719 ports/sysdeps/powerpc/nofpu.
10720 * sysdeps/powerpc/soft-fp: Move directory from
10721 ports/sysdeps/powerpc/soft-fp.
10722 * sysdeps/powerpc/powerpc32/405: Move directory from
10723 ports/sysdeps/powerpc/powerpc32/405.
10724 * sysdeps/powerpc/powerpc32/440: Move directory from
10725 ports/sysdeps/powerpc/powerpc32/440.
10726 * sysdeps/powerpc/powerpc32/464: Move directory from
10727 ports/sysdeps/powerpc/powerpc32/464.
10728 * sysdeps/powerpc/powerpc32/476: Move directory from
10729 ports/sysdeps/powerpc/powerpc32/476.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10731 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10733 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10735 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10737 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10739 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10740 * README: Update for powerpc-*-linux-gnu software floating point
10741 support in libc.
10742
e246b347
JM
10743 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10744 case to powerpc/powerpc32*.
10745 * sysdeps/unix/sysv/linux/configure: Regenerated.
10746
89c2003e
JM
10747 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10748 (_FPU_MASK_OM): Define as 0x04.
10749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10751 0x00c10080.
10752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10753 0x0000003c.
10754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10755
cd78f7e7
JM
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10757 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10758 getcontext_e500.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10760 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10761 setcontext_e500.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10763 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10764 and setcontext_e500.
10765
c755294d
CL
107662013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10767
10768 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10769
e16d221c
SP
107702013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10771
10772 * manual/threads.texi (Default Thread Attributes): Fix typo.
10773
215c7d43
WN
107742013-10-04 Will Newton <will.newton@linaro.org>
10775
10776 * malloc/Makefile: Add tst-memalign.
10777 * malloc/tst-memalign.c: New file.
10778
27d0461b
WN
10779 * malloc/tst-posix_memalign.c: Add comments.
10780 (do_test): Add comments and call free on all potentially
10781 allocated pointers. Add space after cast.
10782
1bc92709
WN
10783 * malloc/tst-pvalloc.c: Add comments.
10784 (do_test): Add comments and call free on all potentially
10785 allocated pointers. Remove duplicate check for NULL pointer.
10786 Add space after cast.
10787
66a9be9d
WN
10788 * malloc/tst-valloc.c: Add comments.
10789 (do_test): Add comments and call free on all potentially
10790 allocated pointers. Remove duplicate check for NULL pointer.
10791 Add space after cast.
10792
4cb81307
AM
107932013-10-04 Alan Modra <amodra@gmail.com>
10794
10795 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10796 Use stdint types in rather than __attribute__((mode())).
10797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10798
f8e3e9f3
AM
107992013-10-04 Alan Modra <amodra@gmail.com>
10800
10801 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10802 Correct handling of unaligned relocs for little-endian.
10803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10804
8f9ebb08
AM
108052013-10-04 Alan Modra <amodra@gmail.com>
10806
10807 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10808 * configure: Regenerate.
10809 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10810 * shlib-versions: Likewise.
10811
0edf96c2
AM
108122013-10-04 Alan Modra <amodra@gmail.com>
10813
10814 * string/tester.c (test_memrchr): Increment reported test cycle.
10815
e0f7a380
AM
108162013-10-04 Alan Modra <amodra@gmail.com>
10817
10818 * string/test-memcpy.c (do_one_test): When reporting errors, print
10819 string address and don't overrun end of string.
10820
466b0393
AM
108212013-10-04 Alan Modra <amodra@gmail.com>
10822
10823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10824 insrdi. Make better use of reg selection to speed exit slightly.
10825 Schedule entry path a little better. Remove useless "are we done"
10826 checks on entry to main loop. Handle wrapping around zero address.
10827 Correct main loop count. Handle single left-over word from main
10828 loop inline rather than by using loop_small. Remove extra word
10829 case in loop_small caused by wrong loop count. Add little-endian
10830 support.
10831 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10833 cache hint.
10834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10835 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10836 support. Avoid rlwimi.
10837 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10838
3be87c77
AM
108392013-10-04 Alan Modra <amodra@gmail.com>
10840
10841 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10842 insrdi. Formatting.
3be87c77
AM
10843 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10844 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10845 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10846 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10847 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10848 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10849
759cfef3
AM
108502013-10-04 Alan Modra <amodra@gmail.com>
10851
10852 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10855 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10856 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10858 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10859 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10860 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10861 use of regs. Use power7 mtocrf. Tidy function tails.
10862
fe6e95d7
AM
108632013-10-04 Alan Modra <amodra@gmail.com>
10864
10865 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10866 Formatting. Consistently use rXXX register defines or rN defines.
10867 Use early exit labels that avoid restoring unused non-volatile regs.
10868 Make cr field use more consistent with rWORDn compares. Rename
10869 regs used as shift registers for unaligned loop, using rN defines
10870 for short lifetime/multiple use regs.
10871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10872 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10873 addi 1,1,64 to pop stack frame. Simplify return value code.
10874 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10875
664318c3
AM
108762013-10-04 Alan Modra <amodra@gmail.com>
10877
10878 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10879 support. Correct typos, formatting. Optimize tail. Use insrdi
10880 rather than rlwimi.
10881 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10882 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10883 little-endian support. Correct typos.
10884 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10885 rather than rlwimi.
10886 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10887 in loop and entry code to keep "and." results.
10888 (strchr): Add little-endian support. Comment. Move cntlzd
10889 earlier in tail.
10890 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10891
43b84013
AM
108922013-10-04 Alan Modra <amodra@gmail.com>
10893
10894 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10895 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10896 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10897 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10898
8a7413f9
AM
108992013-10-04 Alan Modra <amodra@gmail.com>
10900
10901 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10902 (rTMP): Define as r11.
10903 (strcmp): Add little-endian support. Optimise tail.
10904 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10905 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10906 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10911
33ee81de
AM
109122013-10-04 Alan Modra <amodra@gmail.com>
10913
10914 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10915 little-endian support. Remove unnecessary "are we done" tests.
10916 Handle "s" wrapping around zero and extremely large "size".
10917 Correct main loop count. Handle single left-over word from main
10918 loop inline rather than by using small_loop. Correct comments.
10919 Delete "zero" tail, use "end_max" instead.
10920 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10921
db9b4570
AM
109222013-10-04 Alan Modra <amodra@gmail.com>
10923
10924 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10925 support. Don't branch over align.
10926 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10927 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10928 support. Rearrange tmp reg use to suit. Comment.
10929 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10930
f7c399cf
AM
109312013-10-04 Alan Modra <amodra@gmail.com>
10932
10933 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10934
0b2c2ace
AM
109352013-10-04 Alan Modra <amodra@gmail.com>
10936
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10938 conditional form of branch and link when obtaining pc.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10940
02f04a6c
AM
109412013-10-04 Alan Modra <amodra@gmail.com>
10942
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10944 HIWORD/LOWORD.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10947
9b874b2f
AM
109482013-10-04 Alan Modra <amodra@gmail.com>
10949
10950 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10951 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10952 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10953 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10954 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10955 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10957 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10958 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10959 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10960
be1e5d31
AB
109612013-10-04 Anton Blanchard <anton@au1.ibm.com>
10962 Alistair Popple <alistair@ozlabs.au.ibm.com>
10963 Alan Modra <amodra@gmail.com>
10964
10965 [BZ #15723]
10966 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10967 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10968 _dl_hwcap access for little-endian.
10969 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10970 destroy vmx regs when saving unaligned.
10971 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10972 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10973 destroy vmx regs when saving unaligned.
10974
fef13a78
AM
109752013-10-04 Alan Modra <amodra@gmail.com>
10976
10977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10978 Don't use a union to pack hi/low value.
10979
76a66d51
AB
109802013-10-04 Anton Blanchard <anton@au1.ibm.com>
10981
10982 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10983 for little-endian.
10984 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10985 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10986 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10987 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10988 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10989
6a31fe7f
AM
109902013-10-04 Alan Modra <amodra@gmail.com>
10991
10992 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10993 constants to usual value for .cst8 section, and remove redundant
10994 high address load.
10995 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10996 constant for 0x1p52. Load little-endian words of double from
10997 correct stack offsets.
10998
7b88401f
AM
109992013-10-04 Alan Modra <amodra@gmail.com>
11000
11001 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11002 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11003 words of double from correct stack offsets.
11004 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11005 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11006 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11007 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11008 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11011 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11015 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11016 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11017 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11018 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11019 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11020 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11021
9c008155
AM
110222013-10-04 Alan Modra <amodra@gmail.com>
11023
11024 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11025 64-bit int/double union.
11026 (_FPU_SETCW): Likewise.
11027 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11028 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11029
da13146d
AM
110302013-10-04 Alan Modra <amodra@gmail.com>
11031
11032 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11033 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11034
603e8410
AM
110352013-10-04 Alan Modra <amodra@gmail.com>
11036
11037 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11038 use vector int constants.
11039 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11040
4a28b3ca
AB
110412013-10-04 Anton Blanchard <anton@au1.ibm.com>
11042
11043 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11044 array with long long.
11045 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11046 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11047 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11048 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11049 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11050 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11051 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11052 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11053 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11054 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11055 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11056 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11057 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11058
2ca85d2b
AB
110592013-10-04 Anton Blanchard <anton@au1.ibm.com>
11060
11061 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11062 (__signbit): Likewise. Correct for little-endian.
11063 (__signbitl): Call __signbit.
11064 (lrint): Correct for little-endian.
11065 (lrintf): Call lrint.
11066
62a728ae
AM
110672013-10-04 Alan Modra <amodra@gmail.com>
11068
11069 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11070 union 32-bit int array member with 64-bit int array.
11071 (t515, tm256): Double rather than long double.
11072 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11073
32c301df
AM
110742013-10-04 Alan Modra <amodra@gmail.com>
11075
11076 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11077 Delete.
11078 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11079 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11080 version of math_ldbl.h.
11081
650ef4bd
AM
110822013-10-04 Alan Modra <amodra@gmail.com>
11083
11084 [BZ #15734], [BZ #15735]
11085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11086 all uses of ieee875 long double macros and unions. Simplify test
11087 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11088 ldbl_extract_mantissa value for ix,iy exponents. Properly
11089 normalize after ldbl_extract_mantissa, and don't add hidden bit
11090 already handled. Don't treat low word of ieee854 mantissa like
11091 low word of IBM long double and mask off bit when testing for
11092 zero.
11093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11094 all uses of ieee875 long double macros and unions. Simplify tests
11095 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11096 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11097 two1022, instead use their values. Recognise that tests for large
11098 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11099 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11100 Rewrite all uses of ieee875 long double macros and unions. Simplify
11101 test for 0.0L and nan. Correct negation.
11102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11103 ieee875 long double macros and unions. Correct output for large
11104 magnitude x. Correct absolute value calculation.
11105 (__erfcl): Likewise.
11106 * math/libm-test.inc: Add tests for errors discovered in IBM long
11107 double versions of fmodl, remainderl, erfl and erfcl.
11108
765714ca
AM
111092013-10-04 Alan Modra <amodra@gmail.com>
11110
11111 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11112 all uses of ieee854 long double macros and unions. Simplify tests
11113 for long doubles that are fully specified by the high double.
11114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11115 Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11117 Remove dead code too.
11118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11119 (__ieee754_ynl): Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11123 Remove dead code too.
11124 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11128 Simplify.
11129 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11130 Simplify.
11131 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11134 Comment on variable precision.
11135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11137 Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11142 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11143
4ebd120c
AM
111442013-10-04 Alan Modra <amodra@gmail.com>
11145
11146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11148 all uses of ieee854 long double macros and unions.
11149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11155 Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11162 Simplify sign and nan test too.
11163 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11167 Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11170 Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11177
1b6adf88
AM
111782013-10-04 Alan Modra <amodra@gmail.com>
11179
11180 * stdio-common/printf_size.c (__printf_size): Don't use
11181 union ieee854_long_double in fpnum union.
11182 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11183 signbit macro to retrieve sign from long double.
11184 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11185 retrieve sign from long double.
11186 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11187 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11189 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11190 * math/test-misc.c (main): Don't use union ieee854_long_double.
11191
4cf69995
AM
111922013-10-04 Alan Modra <amodra@gmail.com>
11193
11194 [BZ #15680]
11195 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11196 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11197 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11198 calculation. Remove unnecessary test for denormal exponent.
11199 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11200 Correct handling of denormals. Avoid undefined shift behaviour.
11201 Correct normalisation of low mantissa when low double is denormal.
11202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11203 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11204 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11205 Correct normalisation of low mantissa. Test for overflow of high
11206 mantissa and normalise.
11207 (ldbl_nearbyint): Use more readable constant for two52.
11208 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11209 (__mpn_construct_long_double): Fix test for overflow of high
11210 mantissa and correct normalisation. Avoid undefined shift.
11211
9605ca6c
AM
112122013-10-04 Alan Modra <amodra@gmail.com>
11213
11214 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11215 (union ibm_extended_long_double): Define as an array of ieee754_double.
11216 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11217 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11218 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11219 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11227
975569d0
JM
112282013-10-03 Joseph Myers <joseph@codesourcery.com>
11229
d3d23756
JM
11230 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11231 page size instead of calling getpagesize.
11232
975569d0
JM
11233 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11234 (LOCFILE_ALIGN_MASK): Likewise.
11235 (LOCFILE_ALIGN_UP): Likewise.
11236 (LOCFILE_ALIGNED_P): Likewise.
11237 * locale/programs/ld-collate.c (collate_output): Use the new
11238 macros instead of __alignof__ (int32_t).
11239 * locale/weight.h (findidx): Likewise.
11240
b1fe1f2b
OB
112412013-10-03 Ondřej Bílka <neleai@seznam.cz>
11242
11243 [BZ #431]
11244 * manual/string.texi: Fix strncat and wcsncat.
11245
5f855e35
BM
112462013-10-03 Brooks Moses <bmoses@google.com>
11247
11248 [BZ #15915]
11249 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11250 * Makerules: ...here, and adjust associated comments.
11251
3cef6009
WN
112522013-10-02 Will Newton <will.newton@linaro.org>
11253
11254 * malloc/Makefile: Add tst-pvalloc.
11255 * malloc/tst-pvalloc.c: New file.
11256
7815420b
WN
112572013-10-02 Will Newton <will.newton@linaro.org>
11258
11259 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11260 improve test coverage.
11261
4868b204
WN
112622013-10-02 Will Newton <will.newton@linaro.org>
11263
11264 * malloc/Makefile: Add tst-posix_memalign.
11265 * malloc/tst-posix_memalign.c: New file.
11266
29c793b3
EB
112672013-10-01 Eric Blake <eblake@redhat.com>
11268
11269 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11270 Use __THROWNL rather than __THROW on static functions.
11271
fd967522
PM
112722013-09-30 Petr Machata <pmachata@redhat.com>
11273
11274 * elf/elf.h (R_AARCH64_ABS16): New macro.
11275 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11276 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11277 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11278 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11279 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11280 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11281 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11282 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11283 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11284 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11285 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11286 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11287 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11288 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11289 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11290 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11291 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11292 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11293 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11294 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11295 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11296 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11297 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11298 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11299 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11300 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11301 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11302 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11303 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11304 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11305 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11306 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11307 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11308 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11309 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11310 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11311 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11312 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11313 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11314 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11315 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11316 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11317 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11318 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11319 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11320 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11321 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11322 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11323 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11324 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11325 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11326 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11327 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11328 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11329 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11330 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11331 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11332 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11333 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11334 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11335 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11336 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11337 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11338 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11339 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11340 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11341 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11342 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11343 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11344 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11345 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11346 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11347 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11348 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11349 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11350 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11351 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11352 (R_AARCH64_TLSDESC_LDR): Likewise.
11353 (R_AARCH64_TLSDESC_ADD): Likewise.
11354 (R_AARCH64_TLSDESC_CALL): Likewise.
11355
b2179107
AS
113562013-09-30 Andreas Schwab <schwab@suse.de>
11357
11358 [BZ #15048]
11359 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11360 the nss database lookup.
11361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11363
47f28d0a
MF
113642013-09-28 Mike Frysinger <vapier@gentoo.org>
11365
11366 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11367
113682013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11369
11370 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11371 ${Bash-specific parameter/pattern/string} parameter expansion.
11372 * sysdeps/unix/make-syscalls.sh: Likewise.
11373
f4518a17
KK
113742013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11375
11376 * sysdeps/sh/stackguard-macros.h: New file.
11377
dc1a95c7
OB
113782013-09-26 Ondřej Bílka <neleai@seznam.cz>
11379
11380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11382 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11383 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11384 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11385 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11386
5ebbff8f
AZ
113872013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388
11389 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11390 Fix thread ID register.
11391
4fd2cf9f
JM
113922013-09-25 Joseph Myers <joseph@codesourcery.com>
11393
11394 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11395 [POSIX || UNIX98]: Require rather than permitting all symbols from
11396 <time.h>.
11397 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11398 element of struct sched_param.
11399 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11400 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11401 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11402 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11403 constant.
11404
12c22bc4
OL
114052013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11406
11407 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11408 argument calculation.
11409
a03d8ea7
JM
114102013-09-24 Joseph Myers <joseph@codesourcery.com>
11411
11412 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11413 Expect macro.
11414 [POSIX] (pthread_attr_t): Do not require type.
11415 [POSIX] (pthread_cond_t): Likewise.
11416 [POSIX] (pthread_condattr_t): Likewise.
11417 [POSIX] (pthread_key_t): Likewise.
11418 [POSIX] (pthread_mutex_t): Likewise.
11419 [POSIX] (pthread_mutexattr_t): Likewise.
11420 [POSIX] (pthread_once_t): Likewise.
11421 [POSIX] (pthread_t): Likewise.
11422 [POSIX-based standards] (pthread_atfork): Expect function.
11423
6055173a
JM
114242013-09-24 Joseph Myers <joseph@codesourcery.com>
11425 Richard Sandiford <richard@codesourcery.com>
11426
11427 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11428 (swap_endianness_p): New extern variable.
11429 (set_big_endian): New inline function.
11430 (maybe_swap_uint32): Likewise.
11431 (maybe_swap_uint32_array): Likewise.
11432 (maybe_swap_uint32_obstack): Likewise.
11433 * locale/programs/locfile.c: Include <stdbool.h>.
11434 (swap_endianness_p): New variable.
11435 (add_locale_uint32): Call maybe_swap_uint32.
11436 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11437 (write_locale_data): Call maybe_swap_uint32_array.
11438 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11439 maybe_swap_uint32.
11440 (obstack_int32_grow_fast): Likewise.
11441 (output_weightwc): Call maybe_swap_uint32_obstack.
11442 (collate_output): Likewise.
11443 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11444 (OPT_LITTLE_ENDIAN): Likewise.
11445 (options): Add --little-endian and --big-endian options.
11446 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11447 * locale/programs/locarchive.c: Include "locfile.h".
11448 (GET): New macro.
11449 (SET): Likewise.
11450 (INC): Likewise.
11451 (create_archive): Use the new macros to access fields of
11452 structures directly mapped from or written to locale archives.
11453 (oldlocrecentcmp): Likewise.
11454 (enlarge_archive): Likewise.
11455 (insert_name): Likewise.
11456 (add_alias): Likewise.
11457 (add_locale): Likewise.
11458 (delete_locales_from_archive): Likewise.
11459 (show_archive_content): Likewise.
11460 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11461 locale data.
11462
39bf0bb4
RM
114632013-09-24 Roland McGrath <roland@hack.frob.com>
11464
11465 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11466 http://www.gnu.org/doc/freemanuals.texi.
11467 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11468
f02eed10
WN
114692013-09-24 Will Newton <will.newton@linaro.org>
11470
11471 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11472 macro.
11473
a3a6c312
JM
114742013-09-23 Joseph Myers <joseph@codesourcery.com>
11475
11476 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11477 unsigned char.
11478
107375ac
MR
114792013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11480
11481 * manual/threads.texi (POSIX Threads): Fix a typo.
11482
141f3a77
SP
114832013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11484
303e567a
SP
11485 [BZ #14547]
11486 * string/tst-strcoll-overflow.c: New test case.
11487 * string/Makefile (xtests): Add tst-strcoll-overflow.
11488 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11489 cache if string sizes may cause integer overflow.
11490
141f3a77
SP
11491 [BZ #14547]
11492 * string/strcoll_l.c (coll_seq): New members rule, idx,
11493 save_idx and back_us.
11494 (get_next_seq_nocache): New function.
11495 (do_compare_nocache): New function.
11496 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11497 when malloc fails.
11498
c61b4d41
CD
114992013-09-23 Carlos O'Donell <carlos@redhat.com>
11500
0b1f8e35
CD
11501 [BZ #15754]
11502 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11503 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11504 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11505
c61b4d41
CD
11506 [BZ #15754]
11507 * elf/Makefile (tests): Add tst-ptrguard1.
11508 (tests-static): Add tst-ptrguard1-static.
11509 (tst-ptrguard1-ARGS): Define.
11510 (tst-ptrguard1-static-ARGS): Define.
11511 * elf/tst-ptrguard1.c: New file.
11512 * elf/tst-ptrguard1-static.c: New file.
11513 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11514 * sysdeps/i386/stackguard-macros.h: Likewise.
11515 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11516 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11517 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11518 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11519 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11520 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11521
115222013-09-23 Hector Marco <hecmargi@upv.es>
11523 Ismael Ripoll <iripoll@disca.upv.es>
11524 Carlos O'Donell <carlos@redhat.com>
11525
11526 [BZ #15754]
11527 * sysdeps/generic/stackguard-macros.h: Define
11528 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11529 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11530 Define __pointer_chk_guard_local.
11531 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11532 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11533
f5f4e7b4
VV
115342013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11535
11536 [BZ #15859]
11537 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11538
5bb43a43
AS
115392013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11540
11541 * include/string.h (__ffs): Declare as hidden.
11542 * string/ffs.c (__ffs): Define as hidden.
11543 * sysdeps/i386/ffs.c (__ffs): Likewise.
11544 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11545 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11546 * sysdeps/s390/ffs.c (__ffs): Likewise.
11547 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11548
3ea5be54
AO
115492013-09-20 Alexandre Oliva <aoliva@redhat.com>
11550
ffb89e53
AO
11551 * NEWS: Mention malloc probes.
11552
322dea08
AO
11553 * malloc/arena.c (new_heap): New memory_heap_new probe.
11554 (grow_heap): New memory_heap_more probe.
11555 (shrink_heap): New memory_heap_less probe.
11556 (heap_trim): New memory_heap_free probe.
11557 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11558 (systrim): New memory_sbrk_less probe.
11559 * manual/probes.texi: Document them.
11560
655673f3
AO
11561 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11562 * manual/probes.texi: Document it.
11563
35fed6f1
AO
11564 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11565 (__libc_realloc): Add memory_realloc_retry probe.
11566 (__libc_memalign): Add memory_memalign_retry probe.
11567 (__libc_valloc): Add memory_valloc_retry probe.
11568 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11569 (__libc_calloc): Add memory_calloc_retry probe.
11570 * manual/probes.texi: Document them.
11571
6999d38c
AO
11572 * malloc/arena.c (get_free_list): Add probe
11573 memory_arena_reuse_free_list.
11574 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11575 and memory_arena_reuse.
11576 (arena_get2) [!PER_THREAD]: Likewise.
11577 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11578 memory_arena_reuse_realloc.
11579 * manual/probes.texi: Document them.
11580
0653427f
AO
11581 * malloc/malloc.c (__libc_free): Add
11582 memory_mallopt_free_dyn_thresholds probe.
11583 (__libc_mallopt): Add multiple memory_mallopt probes.
11584 * manual/probes.texi: Document them.
11585
3ea5be54
AO
11586 * malloc/malloc.c: Include stap-probe.h.
11587 (__libc_mallopt): Add memory_mallopt probe.
11588 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11589 * manual/probes.texi: New.
11590 * manual/Makefile (chapters): Add probes.
11591 * manual/threads.texi: Set next node.
11592
e35696c3 115932013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11594
e35696c3
CL
11595 [BZ #15963, #13985]
11596 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11597 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11598 Add `Chinese' to `nan' entry name.
11599
4aafb73c
SP
116002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
11602 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11603 (POLYNOMIAL): Likewise.
11604 (TAYLOR_SINCOS): Likewise.
11605 (TAYLOR_SLOW): Likewise.
11606 (__sin): Use TAYLOR_SINCOS.
11607 (__cos): Likewise.
11608 (slow): Use TAYLOR_SLOW.
11609 (sloww): Likewise.
11610 (bsloww): Likewise.
11611 (csloww): Likewise.
11612
d84f25c7
LD
116132013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11614
11615 * stdlib/strtod_l.c: Fix buffer overrun.
11616
5eea0404
SP
116172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11618
7849ff93
SP
11619 * benchtests/Makefile (bench): Add sincos.
11620 * benchtests/bench-sincos.c: New file.
11621
cfa3c886
SP
11622 * math/libm-test.inc (cos_test_data): New test inputs.
11623 (sin_test_data): Likewise.
11624
b348e1e3
SP
11625 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11626 macro.
11627 (__sin): Use it.
11628 (__cos): Likewise.
11629 (slow1): Likewise.
11630 (slow2): Likewise.
11631 (sloww1): Likewise.
11632 (sloww2): Likewise.
11633 (bsloww1): Likewise.
11634 (bsloww2): Likewise.
11635 (cslow2): Likewise.
11636 (csloww1): Likewise.
11637 (csloww2): Likewise.
11638
6cce25f8
SP
11639 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11640 function.
11641 (__sin): Use it.
11642 (__cos): Likewise.
11643
5eea0404
SP
11644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11645 gotos.
11646 (__cos): Likewise.
11647
9c21573c
MR
116482013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11649
11650 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11651 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11652 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11653 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11654 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11655 * elf/cache.c (print_entry): Handle the new cache flags.
11656
24d22e65
JM
116572013-09-18 Joseph Myers <joseph@codesourcery.com>
11658 Aldy Hernandez <aldyh@redhat.com>
11659
11660 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11661 Change condition to [_SOFT_FLOAT].
11662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11674 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11677 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11678 declaration.
11679
d13ef066
JM
116802013-09-18 Joseph Myers <joseph@codesourcery.com>
11681
2e071de0
JM
11682 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11683 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11684 (__longjmp): Use LOAD_GP to load saved GPRs.
11685 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11686 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11687 (__sigsetjmp): Use SAVE_GP to save GPRs.
11688
d13ef066
JM
11689 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11690 Do not append -msoft-float.
11691 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11692
97a0650b
SP
116932013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11694
11695 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11696
11ca09e9
JM
116972013-09-17 Joseph Myers <joseph@codesourcery.com>
11698
11699 [BZ #15966]
11700 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11701 (_FPU_GETCW): Use initial "__" on variable and field names but not
11702 on macro parameter name.
11703 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11704 parentheses around reference to macro parameter.
11705
08ffcf34
RS
117062013-09-13 Richard Sandiford <richard@codesourcery.com>
11707
11708 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11709 prototype.
11710 (ctype_startup): Use uint32_t in cast and sizeof for
11711 ctype->charnames.
11712
ae7080d3
JL
117132013-09-11 Jia Liu <proljc@gmail.com>
11714
11715 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11716 __daddr_t_defined.
11717 [__FreeBSD__]: Likewise.
11718
5905e7b3
OB
117192013-09-11 Ondřej Bílka <neleai@seznam.cz>
11720
11721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11722 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11723 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11724 (strchr): Remove __strchr_sse42 ifunc selection.
11725 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11726 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11727
b987c776
WN
117282013-09-11 Will Newton <will.newton@linaro.org>
11729
11730 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11731 parameter to RES. Remove hardcoded 1000 value.
11732 * benchtests/bench-skeleton.c (main): Pass RES parameter
11733 to TIMING_INIT and multiply result by 1000.
11734
ddf985af
AZ
117352013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11736
11737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11738
ffdd3181
AS
117392013-09-11 Andreas Schwab <schwab@suse.de>
11740
11741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11742 if not defined.
11743 (O_TMPFILE) [__USE_GNU]: Define.
11744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11745 Define.
11746
b73ed247
WN
117472013-09-11 Will Newton <will.newton@linaro.org>
11748
11749 [BZ #15857]
11750 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11751 does not overflow.
11752
55e17aad
WN
117532013-09-11 Will Newton <will.newton@linaro.org>
11754
11755 [BZ #15856]
11756 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11757 does not overflow.
11758
1159a193
WN
117592013-09-11 Will Newton <will.newton@linaro.org>
11760
11761 [BZ #15855]
11762 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11763 does not overflow.
11764
5905e7b3 117652013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11766
11767 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11768 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11772
cdfc721b
AM
117732013-09-10 Allan McRae <allan@archlinux.org>
11774
aa04af00
AM
11775 [BZ #15748]
11776 * manual/arith.texi (Parsing of Floats): Clarify
11777 cross-reference.
11778
cdfc721b
AM
11779 [BZ #15849]
11780 * manual/install.texi (Running make install): Mention
11781 --enable-pt-chown.
11782 * INSTALL: Regenerated.
11783
95e7cf29
MR
117842013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11785
11786 * csu/init-first.c (_init): Remove the !SHARED condition around
11787 FPU control word initialization.
11788 * elf/dl-support.c (_dl_fpu_control): New variable.
11789 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11790 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11791 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11792 * math/test-fpucw-static.c: New file.
11793 * math/test-fpucw-ieee.c: New file.
11794 * math/test-fpucw-ieee-static.c: New file.
11795 * math/Makefile (tests): Add `test-fpucw-ieee' and
11796 `$(tests-static)'.
11797 (tests-static): New variable.
11798 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11799 dependency to...
11800 [($(build-shared),yes)]
11801 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11802 ... this.
11803 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11804 New dependency.
11805
83e43bf0
AM
118062013-09-09 Allan McRae <allan@archlinux.org>
11807
a9f5ce09
AM
11808 [BZ #15939]
11809 * manual/string.texi (Collation Functions): Fix typo in
11810 strcoll example.
11811 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11812
34829bc2
AM
11813 [BZ #15893]
11814 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11815
3932737d
AM
11816 [BZ #15892]
11817 * libio/memstream.c (open_memstream): Fix memory leak.
11818 * libio/wmemstream.c (open_wmemstream): Likewise.
11819
83e43bf0
AM
11820 [BZ #15895]
11821 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11822
0c66b8e9
WN
118232013-09-09 Will Newton <will.newton@linaro.org>
11824
11825 * malloc/Makefile: Add tst-realloc to tests.
11826 * malloc/tst-realloc.c: New file.
11827
f6b00fd1
AM
118282013-09-09 Allan McRae <allan@archlinux.org>
11829
11830 [BZ #15844]
11831 * COPYING: Update from GNU website to fix FSF address.
11832 * COPYING.LIB: Likewise.
11833
eec55e16
DM
118342013-09-06 David S. Miller <davem@davemloft.net>
11835
11836 * po/zh_TW.po: Update Chinese (traditional) translation from
11837 translation project.
11838
1ecbb381
RS
118392013-09-06 Richard Sandiford <richard@codesourcery.com>
11840 Joseph Myers <joseph@codesourcery.com>
11841
11842 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11843 "localeinfo.h".
11844 (obstack_chunk_alloc): New macro.
11845 (obstack_chunk_free): Likewise.
11846 (record_offset): New function.
11847 (init_locale_data): Likewise.
11848 (align_locale_data): Likewise.
11849 (add_locale_empty): Likewise.
11850 (add_locale_raw_data): Likewise.
11851 (add_locale_raw_obstack): Likewise.
11852 (add_locale_string): Likewise.
11853 (add_locale_wstring): Likewise.
11854 (add_locale_uint32): Likewise.
11855 (add_locale_uint32_array): Likewise.
11856 (add_locale_char): Likewise.
11857 (start_locale_structure): Likewise.
11858 (end_locale_structure): Likewise.
11859 (start_locale_prelude): Likewise.
11860 (end_locale_prelude): Likewise.
11861 (write_locale_data): Take locale_file structure rather than an
11862 iovec.
11863 * locale/programs/locfile.h: Include "obstack.h".
11864 (struct locale_file): Change to store locale file contents instead
11865 of header.
11866 (init_locale_data): New prototype.
11867 (align_locale_data): Likewise.
11868 (add_locale_empty): Likewise.
11869 (add_locale_raw_data): Likewise.
11870 (add_locale_raw_obstack): Likewise.
11871 (add_locale_string): Likewise.
11872 (add_locale_wstring): Likewise.
11873 (add_locale_uint32): Likewise.
11874 (add_locale_uint32_array): Likewise.
11875 (add_locale_char): Likewise.
11876 (start_locale_structure): Likewise.
11877 (end_locale_structure): Likewise.
11878 (start_locale_prelude): Likewise.
11879 (end_locale_prelude): Likewise.
11880 (write_locale_data): Update prototype.
11881 * locale/programs/3level.h (struct TABLE): Remove result field.
11882 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11883 Use new locale_file interface.
11884 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11885 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11886 * locale/programs/ld-address.c (address_output): Use new
11887 locale_file interface.
11888 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11889 NO_ADD_LOCALE.
11890 (collate_finish): Don't call collseq_table_finalize.
11891 (collate_output): Use new locale_file interface.
11892 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11893 in file.
11894 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11895 (TABLE): Move defines earlier in file.
11896 (ELEMENT): Likewise.
11897 (DEFAULT): Likewise.
11898 (wctrans_table_add): Move macro and inline function earlier in
11899 file.
11900 (struct wctype_table): Move type earlier in file.
11901 (add_locale_wctype_table): New static prototype.
11902 (struct locale_ctype_t): Use logical types instead of struct iovec
11903 pointers for members.
11904 (ctype_output): Use new locale_file interface.
11905 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11906 new locale_file interface.
11907 (allocate_arrays): Update for use of new locale_file interface.
11908 * locale/programs/ld-identification.c (identification_output): Use
11909 new locale_file interface.
11910 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11911 * locale/programs/ld-messages.c (messages_output): Likewise.
11912 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11913 * locale/programs/ld-name.c (name_output): Likewise.
11914 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11915 * locale/programs/ld-paper.c (paper_output): Likewise.
11916 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11917 * locale/programs/ld-time.c (time_output): Likewise.
11918
e029e2e5
AZ
119192013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11920
11921 * benchtests/Makefile: Add memrchr benchmark.
11922 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11923 benchmark as memrchr.
11924 * benchtests/bench-memrchr-ifunc.c: New file.
11925 * benchtests/bench-memrchr.c: New file.
11926
bbf6e8e4
WN
119272013-09-06 Will Newton <will.newton@linaro.org>
11928
11929 * benchtests/Makefile (string-bench): Add memcpy.
11930
6c82a2f8
CD
119312013-09-05 Carlos O'Donell <carlos@redhat.com>
11932 Cong Wang <amwang@redhat.com>
11933
e732c5f0 11934 [BZ #15850]
6c82a2f8
CD
11935 * sysdeps/unix/sysv/linux/bits/in.h
11936 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11937 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11938 before __USE_KERNEL_IPV6_DEFS uses.
11939 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11940 IPPROTO_BEETPH.
11941 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11942 sockaddr_in6, or ipv6_mreq.
11943
5430fc65
AZ
119442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11945
11946 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11947 memory access for final bytes in some large inputs.
11948 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11949
4660856c
AZ
119502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951
11952 * string/test-memrchr.c: New file.
11953 * string/test-memrchr-ifunc.c: New file.
11954 * string/Makefile: Add new memrchr testcase.
11955
bb8ea713
MF
119562013-09-05 Mike Frysinger <vapier@gentoo.org>
11957
11958 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11959 fanotify_init returns EPERM.
11960
b92a20b5
JM
119612013-09-04 Joseph Myers <joseph@codesourcery.com>
11962
11963 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11964 errors.
11965 (top level): Treat second token from macro or constant entries for
11966 allowed headers as allowed.
11967 * include/complex.h: Condition internal declarations on
11968 [!_ISOMAC].
11969 * include/fenv.h: Condition include of <stdbool.h> and internal
11970 declarations on [!_ISOMAC].
7447ccd9
CL
11971
119722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11973
3e181dda 11974 [BZ #15923]
7447ccd9
CL
11975 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11976
3f2e46a4
JM
119772013-09-04 Joseph Myers <joseph@codesourcery.com>
11978
11979 * configure.in (--enable-versioning): Remove configure option.
11980 (libc_cv_asm_symver_directive): Remove configure test.
11981 (libc_cv_ld_version_script_option): Likewise.
11982 (VERSIONING): Remove variable and AC_SUBST.
11983 (DO_VERSIONING): Remove AC_DEFINE.
11984 * configure: Regenerated.
11985 * config.h.in (DO_VERSIONING): Remove macro.
11986 * Makerules [$(versioning) = yes]: Change conditionals to
11987 [$(build-shared) = yes].
11988 * config.make.in (versioning): Remove variable.
11989 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11990 [$(build-shared) = yes].
11991 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11992 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11993 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11994 [$(build-shared) = yes].
11995 * extra-lib.mk [$(versioning) = yes]: Likewise.
11996 * hurd/Makefile [$(versioning) = yes]: Likewise.
11997 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11998 [SHARED].
11999 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12000 [SHARED].
12001 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12002 [SHARED && !NO_HIDDEN].
12003 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12004 [SHARED].
12005 [SHARED && DO_VERSIONING]: Likewise..
12006 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12007 [$(build-shared) = yes].
12008 * manual/install.texi (--disable-versioning): Remove
12009 documentation.
12010 * INSTALL: Regenerated.
12011 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12012 to [SHARED].
12013 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12014 [$(build-shared) = yes].
12015 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12016 * sysdeps/i386/i686/multiarch/strstr-c.c
12017 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12018 [SHARED && !NO_HIDDEN].
12019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12020 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12021 * sysdeps/powerpc/powerpc32/dl-machine.c
12022 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12023 * sysdeps/powerpc/powerpc32/sysdep.h
12024 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12025 to [SHARED && PIC && !NO_HIDDEN].
12026 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12027 conditional to [SHARED].
12028
44558701
WN
120292013-09-04 Will Newton <will.newton@linaro.org>
12030
12031 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12032 * benchtests/bench-string.h: Include bench-timing.h instead
12033 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12034 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12035 call to HP_TIMING_DIFF_INIT.
12036 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12037 instead of hp-timing.h macros.
12038 * benchtests/bench-memchr.c: Likewise.
12039 * benchtests/bench-memcmp.c: Likewise.
12040 * benchtests/bench-memcpy.c: Likewise.
12041 * benchtests/bench-memmem.c: Likewise.
12042 * benchtests/bench-memmove.c: Likewise.
12043 * benchtests/bench-memset.c: Likewise.
12044 * benchtests/bench-rawmemchr.c: Likewise.
12045 * benchtests/bench-strcasecmp.c: Likewise.
12046 * benchtests/bench-strcasestr.c: Likewise.
12047 * benchtests/bench-strcat.c: Likewise.
12048 * benchtests/bench-strchr.c: Likewise.
12049 * benchtests/bench-strcmp.c: Likewise.
12050 * benchtests/bench-strcpy.c: Likewise.
12051 * benchtests/bench-strcpy_chk.c: Likewise.
12052 * benchtests/bench-strlen.c: Likewise.
12053 * benchtests/bench-strncasecmp.c: Likewise.
12054 * benchtests/bench-strncat.c: Likewise.
12055 * benchtests/bench-strncmp.c: Likewise.
12056 * benchtests/bench-strncpy.c: Likewise.
12057 * benchtests/bench-strnlen.c: Likewise.
12058 * benchtests/bench-strpbrk.c: Likewise.
12059 * benchtests/bench-strrchr.c: Likewise.
12060 * benchtests/bench-strspn.c: Likewise.
12061 * benchtests/bench-strstr.c: Likewise.
12062
cae16d66
WN
120632013-09-04 Will Newton <will.newton@linaro.org>
12064
12065 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12066
ffa3cd7f
JM
120672013-09-03 Joseph Myers <joseph@codesourcery.com>
12068
12069 [BZ #15427]
12070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12071 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12072 * math/libm-test.inc (lgamma_test_data): Add more tests.
12073 * sysdeps/i386/fpu/libm-test-ulps: Update.
12074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12075
8f02859f
OB
120762013-09-03 Ondřej Bílka <neleai@seznam.cz>
12077
12078 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12080 Add ifunc.
12081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12082 Add strcmp-sse2-unaligned
12083 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12084
18d43716
MF
120852013-09-02 Mike Frysinger <vapier@gentoo.org>
12086
12087 * Versions.def (libc): Add GLIBC_2.19.
12088
ac444012
MF
120892013-09-02 Mike Frysinger <vapier@gentoo.org>
12090
12091 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12092 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12093
b7835e32
JM
120942013-09-02 Joseph Myers <joseph@codesourcery.com>
12095
12096 [BZ #14155]
12097 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12098 intermediate calculations in recurrence.
12099 (__ieee754_ynf): Likewise.
12100 * math/libm-test.inc (jn_test_data): Do not allow spurious
12101 underflow exception. Add more tests.
12102 (yn_test_data): Add more tests.
12103 * sysdeps/i386/fpu/libm-test-ulps: Update.
12104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12105
8220f4f0
OB
121062013-09-02 Ondřej Bílka <neleai@seznam.cz>
12107
12108 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12109
f24a6d08
OB
121102013-08-30 Ondřej Bílka <neleai@seznam.cz>
12111
12112 * csu/init-first.c: Fix then/than typos.
12113 * locale/programs/ld-collate.c: Likewise.
12114 * locale/programs/linereader.h: Likewise.
12115 * manual/charset.texi: Likewise.
12116 * manual/filesys.texi: Likewise.
12117 * manual/stdio.texi: Likewise.
12118 * manual/string.texi: Likewise.
12119 * stdlib/fmtmsg.c: Likewise.
12120 * sysdeps/i386/stpncpy.S: Likewise.
12121 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12122 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12123 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12124 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12125
382466e0
OB
121262013-08-30 Ondřej Bílka <neleai@seznam.cz>
12127
12128 * elf/dl-open.c: Fix typos.
12129 * iconvdata/gbbig5.c: Likewise.
12130 * iconvdata/iso-2022-jp.c: Likewise.
12131 * iconv/gconv_int.h: Likewise.
12132 * iconv/loop.c: Likewise.
12133 * nis/rpcsvc/nis.h: Likewise.
12134 * resolv/ns_name.c: Likewise.
12135 * stdio-common/vfscanf.c: Likewise.
12136 * streams/stropts.h: Likewise.
12137 * sunrpc/rpc_thread.c: Likewise.
12138 * sysdeps/i386/strpbrk.S: Likewise.
12139 * sysdeps/ieee754/k_standard.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12142 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12143 * sysdeps/mach/hurd/profil.c: Likewise.
12144 * sysdeps/s390/dl-procinfo.h: Likewise.
12145 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12146 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12147 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12148 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12150
0186c6e9
OB
121512013-08-30 Ondřej Bílka <neleai@seznam.cz>
12152
12153 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12155
d4e16af1
OB
121562013-08-29 Ondřej Bílka <neleai@seznam.cz>
12157
12158 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12159 aix specific files.
12160 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12164 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12165 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12166 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12167 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12168
88335980
TS
121692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12170 Roland McGrath <roland@hack.frob.com>
12171
12172 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12173 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12174
ed479b02
ST
121752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12176
12177 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12178 __executable_start symbol instead of _start.
12179
f1cc4c86
TS
121802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12181
d821f07c
TS
12182 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12183 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12184 Move macros to...
12185 * sysdeps/gnu/ldsodefs.h: ... this new file.
12186
c54290cf
TS
12187 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12188 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12189 instead of ELFOSABI_LINUX.
12190
0007fc9b 12191 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12192 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12193 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12194 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12195 Likewise.
12196 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12197 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12199 Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12201 (ibm_extended_long_double): Add ieee_nan member.
12202 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12203 (do_test): New function.
12204
f1cc4c86
TS
12205 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12206 TEST_TRUNC.
12207 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12208 functions, renamed from truncdfsf_test, trunctfsf_test,
12209 trunctfdf_test.
12210 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12211 functions.
12212 (do_test): Run all these.
12213
6f65e668
OB
122142013-08-29 Ondřej Bílka <neleai@seznam.cz>
12215
12216 * argp/argp-help.c: Fix typos.
12217 * argp/argp-parse.c: Likewise.
12218 * debug/backtracesyms.c: Likewise.
12219 * elf/elf.h: Likewise.
12220 * malloc/malloc.c: Likewise.
12221 * nis/nis_print.c: Likewise.
12222 * resolv/res_comp.c: Likewise.
12223 * stdlib/stdlib.h: Likewise.
12224 * sunrpc/clnt_tcp.c: Likewise.
12225 * sunrpc/clnt_udp.c: Likewise.
12226 * sunrpc/clnt_unix.c: Likewise.
12227 * sysdeps/unix/bsd/ptsname.c: Likewise.
12228 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12235 Likewise.
6f65e668
OB
12236 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12237
3a309239
SP
122382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12239
12240 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12242
3b813b29
MF
122432013-08-27 Mike Frysinger <vapier@gentoo.org>
12244
12245 [BZ #15897]
12246 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12247 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12248 ($(objpfx)bug-dl-leaf): New rule.
12249 ($(objpfx)bug-dl-leaf.so): Likewise.
12250 ($(objpfx)bug-dl-leaf.out): Likewise.
12251 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12252 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12253 * dlfcn/bug-dl-leaf.c: New test.
12254 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12255 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12256 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12257 (dlclose): Likewise.
12258 (dlmopen): Likewise.
12259
8cc3269f
RM
122602013-08-27 Roland McGrath <roland@hack.frob.com>
12261
7f9d0034
RM
12262 * include/netdb.h [!_ISOMAC]:
12263 Don't include <tls.h>.
12264 (h_errno, __libc_h_errno): Move declaration and macros out of
12265 [_LIBC_REENTRANT].
12266
fb431262
RM
12267 * include/resolv.h [_RESOLV_H_]:
12268 Don't include <tls.h>.
12269 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12270 * resolv/res_libc.c: Don't include <tls.h>.
12271 (_res): Use __attribute__ ((nocommon)) in place of
12272 __attribute__ ((section (".bss"))).
12273
bd81123a
RM
12274 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12275 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12276
c4e42566
RM
12277 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12278
f890a59b
RM
12279 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12280 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12281
12282 * resolv/res_mkquery.c: Include <sys/time.h>.
12283
5d1f0a09
RM
12284 * inet/ifreq.c: Moved to ...
12285 * sysdeps/unix/ifreq.c: ... here.
12286 * inet/ifreq.c: New file, true stub version.
12287
6fcf28b3
RM
12288 * socket/sa_len.c: New file.
12289 * socket/Makefile (aux): Add it.
12290 * sysdeps/unix/sysv/linux/Makefile
12291 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12292 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12293 and #include <socket/sa_len.c>.
12294 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12295 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12296
e041fb8b
RM
12297 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12298 * bits/socket.h: ... here.
12299
8cc3269f
RM
12300 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12301 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12302 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12303
5d228a43
AS
123042013-08-27 Andreas Schwab <schwab@suse.de>
12305
45b8accc
AS
12306 [BZ #15736]
12307 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12308 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12309 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12310 * string/test-strcasecmp.c (test_main): Run tests in several
12311 locales.
12312 * string/test-strncasecmp.c (test_main): Likewise.
12313
5d228a43
AS
12314 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12315 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12316 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12318 (__strncasecmp_ssse3) [PIC]: Likewise.
12319
59d112a4
RM
123202013-08-26 Roland McGrath <roland@hack.frob.com>
12321
53234cc3
RM
12322 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12323
59d112a4
RM
12324 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12325 instead of explicitly declaring xdecrypt.
12326 * nis/nss_nis/nis-publickey.c: Likewise.
12327
595aba70
SP
123282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12329
12330 [BZ #15890]
12331 * nscd/aicache.c: Include res_hconf.h.
12332 (addhstaiX): Initialize res_hconf.
12333
ffabd393
AS
123342013-08-26 Andreas Schwab <schwab@suse.de>
12335
12336 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12337 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12338
e0a69f5c
SP
123392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12340
12341 * nscd/aicache.c (addhstaiX): Fix indentation.
12342
8c12f01d
MF
123432013-08-25 Mike Frysinger <vapier@gentoo.org>
12344
12345 * configure.ac: Quote $build_pt_chown test.
12346 * configure: Regenerated.
12347
8fe89494
JM
123482013-08-23 Joseph Myers <joseph@codesourcery.com>
12349
12350 [BZ #15532]
12351 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12352 * math/s_cexpf.c (__cexpf): Likewise.
12353 * math/s_cexpl.c (__cexpl): Likewise.
12354 * math/libm-test.inc (cexp_test_data): Correct expected return
12355 value for NaN + i0. Add another test.
12356
75b181d6
DM
123572013-08-22 David S. Miller <davem@davemloft.net>
12358
12359 * po/ca.po: Update Catalan translation from translation project.
936241e4 12360 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12361
acd06bb1
JM
123622013-08-21 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #15797]
12365 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12366 is infinite, not alongside NaN test.
12367 * math/s_fdimf.c (__fdimf): Likewise.
12368 * math/s_fdiml.c (__fdiml): Likewise.
12369 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12370 errno is unchanged.
12371
c0c3f78a
OB
123722013-08-21 Ondřej Bílka <neleai@seznam.cz>
12373
12374 * argp/argp-help.c: Fix typos.
12375 * crypt/speeds.c: Likewise.
12376 * csu/check_fds.c: Likewise.
12377 * elf/dl-load.c: Likewise.
12378 * elf/dl-open.c: Likewise.
12379 * elf/reldep3.c: Likewise.
12380 * elf/reldep.c: Likewise.
12381 * elf/sprof.c: Likewise.
12382 * iconv/iconv_charmap.c: Likewise.
12383 * iconv/skeleton.c: Likewise.
12384 * iconv/strtab.c: Likewise.
12385 * io/lockf64.c: Likewise.
12386 * libio/libioP.h: Likewise.
12387 * resolv/gai_notify.c: Likewise.
12388 * resolv/ns_name.c: Likewise.
12389 * resolv/ns_samedomain.c: Likewise.
12390 * resolv/res_send.c: Likewise.
12391 * stdlib/random.c: Likewise.
12392 * sunrpc/rpc/xdr.h: Likewise.
12393 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12394 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12395 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12396 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12401 * sysdeps/mach/hurd/check_fds.c: Likewise.
12402 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12406 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12407 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12408 * sysdeps/pthread/aio_notify.c: Likewise.
12409 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12410 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12413 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12414
46ed1038
LD
124152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12416
12417 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12418 version if bit_Slow_SSE4_2 is set.
12419 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12420 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12421
d400dcac
AZ
124222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12423
12424 [BZ #15867]
12425 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12426 trampoline stack frame information.
12427 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12429 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12430 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12431 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12432 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12433 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12434 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12435 sa_flags value.
12436 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12437 interrupting a syscall and set with option SA_SIGINFO.
12438
42c8fdd8
JM
124392013-08-20 Joseph Myers <joseph@codesourcery.com>
12440
c980f2f4
JM
12441 [BZ #15531]
12442 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12443 argument is infinite.
12444 * math/s_cprojf.c (__cprojf): Likewise.
12445 * math/s_cprojl.c (__cprojl): Likewise.
12446 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12447 * math/libm-test.inc (cproj_test_data): Add more tests.
12448
0716c4fc
JM
12449 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12450
42c8fdd8
JM
12451 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12452 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12453 size. Use __ffs to determine corresponding shift.
12454
b31469d0
JM
124552013-08-20 Joseph Myers <joseph@codesourcery.com>
12456 Roland McGrath <roland@hack.frob.com>
12457
12458 * Makefile (INSTALL): Remove trailing blank lines from output of
12459 makeinfo.
12460
4e39af6e
AK
124612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12462
12463 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12464 Align 32 bit compat elf_greg to 8 bytes.
12465
f315524e
AA
124662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12467
12468 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12469
1326ba1a
SP
124702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
12472 * string/strcoll_l.c (coll_seq): New structure.
12473 (get_next_seq_cached): New function.
12474 (get_next_seq): New function.
12475 (do_compare): New function.
12476 (STRCOLL): Use GNU style definition. Simplify implementation
12477 by using get_next_seq, get_next_seq_cached and do_compare.
12478
91ce4085
FW
124792013-08-16 Florian Weimer <fweimer@redhat.com>
12480
12481 [BZ #14699]
12482 CVE-2013-4237
12483 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12484 member.
12485 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12486 member.
12487 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12488 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12489 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12490 conditional.
12491 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12492 GETDENTS_64BIT_ALIGNED.
12493 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12494 * manual/filesys.texi (Reading/Closing Directory): Document
12495 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12496 strongly.
12497 * manual/conf.texi (Limits for Files): Add portability note to
12498 NAME_MAX, PATH_MAX.
12499 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12500
ca0a6bc4
AS
125012013-08-13 Andreas Schwab <schwab@suse.de>
12502
12503 [BZ #15749]
12504 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12505 of fabs.
12506 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12507 LDBL_MAX_EXP >= 16384]: Add tests for it.
12508
6c1fd795
DM
125092013-08-12 David S. Miller <davem@davemloft.net>
12510
12511 * version.h (RELEASE): Set to "development".
12512 (VERSION): Set to "2.18.90".
12513 * NEWS: Add 2.19 section.
12514
31ad488d
DM
125152013-08-03 David S. Miller <davem@davemloft.net>
12516
12517 * po/ko.po: Update Korean translation from translation project.
12518
db24e684
DM
125192013-08-01 David S. Miller <davem@davemloft.net>
12520
12521 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12522 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12523 Bilka.
12524
f723285b
DM
125252013-07-30 David S. Miller <davem@davemloft.net>
12526
12527 * po/fr.po: Update French translation from translation project.
12528
3cbc52db
DM
125292013-07-28 David S. Miller <davem@davemloft.net>
12530
30bbc0cc
DM
12531 * po/cs.po: Update Czech translation from translation project.
12532
3cbc52db
DM
12533 * po/sv.po: Update Swedish translation from translation project.
12534
d492e6d0
DM
125352013-07-27 David S. Miller <davem@davemloft.net>
12536
f1a7f492
DM
12537 * po/eo.po: Update Esperanto translation from translation project.
12538
90e62a4a
DM
12539 * po/vi.po: Update Vietnamese translation from translation project.
12540
d492e6d0
DM
12541 * po/de.po: Update German translation from translation project.
12542
d4baa62d
DM
125432013-07-26 David S. Miller <davem@davemloft.net>
12544
641aa7b4
DM
12545 * po/bg.po: Update Bulgarian translation from translation project.
12546
d4baa62d
DM
12547 * po/nl.po: Update Dutch translation from translation project.
12548 * po/pl.po: Update Polish translation from translation project.
12549 * po/ru.po: Update Russian translation from translation project.
12550
61a9dcb9
DM
125512013-07-24 David S. Miller <davem@davemloft.net>
12552
12553 * po/libc.pot: Update.
12554
7b1f8b58
AZ
125552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12556
12557 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12558 variable page size.
12559 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12560 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12561 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12562
a8fc7a03
AK
125632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12564
12565 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12566
e4608715
CD
125672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12568 Andreas Schwab <schwab@suse.de>
12569 Roland McGrath <roland@hack.frob.com>
12570 Joseph Myers <joseph@codesourcery.com>
12571 Carlos O'Donell <carlos@redhat.com>
12572
12573 [BZ #15755]
12574 * config.h.in: Define HAVE_PT_CHOWN.
12575 * config.make.in (build-pt-chown): New variable.
12576 * configure.in (--enable-pt_chown): New configure option.
12577 * configure: Regenerate.
12578 * login/Makefile: Include Makeconfig. Build pt_chown only if
12579 build-pt-chown is enabled.
12580 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12581 pt_chown to fix pty ownership.
12582 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12583 CLOSE_ALL_FDS.
12584 * manual/install.texi (Configuring and compiling): Mention
12585 --enable-pt_chown. Add @findex for grantpt.
12586 * INSTALL: Regenerate.
12587
da2d62df
DM
125882013-07-20 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12591 difference between 32-bit and 64-bit.
12592
d7e06450
CD
125932013-07-15 Carlos O'Donell <carlos@redhat.com>
12594
12595 [BZ #15711]
12596 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12597 Avoid system header dependency with -ffreestanding.
12598 ($(objpfx)bits/syscall%d): Likewise.
12599
f959cfd7
DM
126002013-07-13 David S. Miller <davem@davemloft.net>
12601
12602 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12603 underflows from atanl/atan2l due to bug 15319.
12604 (casinh_test_data): Likewise.
12605
c61f8513
DM
126062013-07-07 David S. Miller <davem@davemloft.net>
12607
12608 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12609
72c90ed0
JA
126102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12611
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
52dfbe13
SP
126152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12616
12617 * configure.in (--enable-lock-elision): Fix message text.
12618 * INSTALL: Regenerate.
12619 * configure: Regenerate.
12620
3f169543
AZ
126212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622
12623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12624
521c6785
AJ
126252013-07-03 Andreas Jaeger <aj@suse.de>
12626
12627 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12628 define.
12629 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12630 (ptrace_peeksiginfo_args): Add.
12631 (__ptrace_peeksiginfo_flags): Add.
12632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12635
d2cc15cb
AM
126362013-07-03 Allan McRae <allan@archlinux.org>
12637
12638 * sysdeps/i386/fpu/libm-test-ulps: Update.
12639
3aaeeca7
DM
126402013-07-02 David S. Miller <davem@davemloft.net>
12641
12642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643
5314ed1a
MT
126442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12645
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12647
67338156
JM
126482013-07-02 Joseph Myers <joseph@codesourcery.com>
12649
12650 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12652
1717da59
AK
126532013-07-02 Andi Kleen <ak@linux.intel.com>
12654
12655 * config.h.in (ENABLE_LOCK_ELISION): Add.
12656 * configure.in (--enable-lock-elision): Add option.
12657 * manual/install.texi: Document --enable lock elision.
12658 * configure: Regenerate
12659 * INSTALL: Regenerate.
12660
1c81621c
L
126612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12664 SSE4.2 strcasecmp for libc.a.
12665 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12666
77f01ab5
JM
126672013-07-02 Joseph Myers <joseph@codesourcery.com>
12668
12669 [BZ #13304]
12670 * soft-fp/op-common.h (_FP_FMA): New macro.
12671 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12672 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12673 (_FP_MUL_MEAT_1_imm): ... here.
12674 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12675 (_FP_MUL_MEAT_1_wide): ... here.
12676 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12677 (_FP_MUL_MEAT_1_hard): ... here.
12678 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12679 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12680 (_FP_MUL_MEAT_2_wide): ... here.
12681 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12682 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12683 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12684 (_FP_MUL_MEAT_2_gmp): ... here.
12685 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12686 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12687 (_FP_MUL_MEAT_4_wide): ... here.
12688 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12689 (_FP_MUL_MEAT_4_gmp): ... here.
12690 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12691 (_FP_WFRACBITS_DW_S): Likewise.
12692 (_FP_WFRACXBITS_DW_S): Likewise.
12693 (_FP_HIGHBIT_DW_S): Likewise.
12694 (FP_FMA_S): Likewise.
12695 (_FP_FRAC_HIGH_DW_S): Likewise.
12696 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12697 (_FP_WFRACBITS_DW_D): Likewise.
12698 (_FP_WFRACXBITS_DW_D): Likewise.
12699 (_FP_HIGHBIT_DW_D): Likewise.
12700 (FP_FMA_D): Likewise.
12701 (_FP_FRAC_HIGH_DW_D): Likewise.
12702 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12703 (_FP_WFRACBITS_DW_E): Likewise.
12704 (_FP_WFRACXBITS_DW_E): Likewise.
12705 (_FP_HIGHBIT_DW_E): Likewise.
12706 (FP_FMA_E): Likewise.
12707 (_FP_FRAC_HIGH_DW_E): Likewise.
12708 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12709 (_FP_WFRACBITS_DW_Q): Likewise.
12710 (_FP_WFRACXBITS_DW_Q): Likewise.
12711 (_FP_HIGHBIT_DW_Q): Likewise.
12712 (FP_FMA_Q): Likewise.
12713 (_FP_FRAC_HIGH_DW_Q): Likewise.
12714 * soft-fp/fmasf4.c: New file.
12715 * soft-fp/fmadf4.c: Likewise.
12716 * soft-fp/fmatf4.c: Likewise.
12717
6308fd9a
LD
127182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12719
12720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12721 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12722 Silvermont.
12723 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12724 macro.
12725 (index_Slow_SSE4_2): Likewise.
12726 (index_Prefer_PMINUB_for_stringop): Likewise.
12727 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12728 bit_Slow_SSE4_2 is set.
12729 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12730 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12731
89cd9569
RA
127322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12733
12734 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12735 rtld_global._dl_hwcap2.
12736 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12737 POWER8.
12738 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12739 POWER8 feature descriptions defined in _dl_hwcap2.
12740 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12741 string handling for POWER8 feature bits.
12742 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12743 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12744 _dl_powerpc_cap_flags.
12745 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12746 * sysdeps/powerpc/rtld-global-offsets.sym
12747 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12748 _dl_hwcap2 in the rtld_global_ro structure.
12749
1ae8bfe0
RA
127502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12751
12752 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12753 hardware capabilities in support of AT_HWCAP2.
12754 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12755 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12756 GLRO(dl_hwcap2).
12757 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12758 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12759 explicitly the unknown a_type display mechanism is used.
12760 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12761 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12762 struct member.
12763 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12764 to macro prototype for AT_HWCAP2 support.
12765 * sysdeps/i386/dl-procinfo.h: Likewise.
12766 * sysdeps/s390/dl-procinfo.h: Likewise.
12767 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12768 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12769 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12770 return -1 for unknown a_type display fallback.
12771 * sysdeps/sparc/dl-procinfo.h: Likewise.
12772 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12773 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12774
8fbec010
JM
127752013-06-28 Joseph Myers <joseph@codesourcery.com>
12776
12777 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12778 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12779
0432680e
PY
127802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12781
12782 [BZ #12492]
12783 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12784 mprotect making __stack_prot writable.
12785
ce61a2ad
NF
127862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12787 Joseph Myers <joseph@codesourcery.com>
12788
12789 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12790 as being properly aligned.
12791
f91f1c0f
MR
127922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12793
3d0f5d0c
MR
12794 * dlfcn/modstatic5.c: New file.
12795 * dlfcn/tststatic5.c: New file.
12796 * dlfcn/Makefile (tests): Add tststatic5.
12797 (tests-static): Likewise.
12798 (modules-names): Add modstatic5.
12799 (tststatic5-ENV): New variable.
12800 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12801
f91f1c0f
MR
12802 [BZ #15022]
12803 * elf/dl-support.c (_dl_main_map): New variable.
12804 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12805 (_dl_nns, _dl_load_adds): Set to 1.
12806 (_dl_initial_searchlist): Refer to _dl_main_map.
12807 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12808 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12809 call to _dl_get_origin.
12810 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12811 around call_map.
12812 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12813 * dlfcn/modstatic3.c: New file.
12814 * dlfcn/tststatic3.c: New file.
12815 * dlfcn/tststatic4.c: New file.
12816 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12817 (tests-static): Likewise.
12818 (modules-names): Add modstatic3.
12819 (tststatic3-ENV, tststatic4-ENV): New variables.
12820 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12821 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12822
cbe7d24b
JM
128232013-06-26 Joseph Myers <joseph@codesourcery.com>
12824
12825 * configure.in (CC): Require GCC version 4.4 or later.
12826 * configure: Regenerated.
12827 * manual/install.texi (Tools for Compilation): Update GCC version
12828 requirement.
12829 * INSTALL: Regenerated.
12830
11b8a0e1
LD
128312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12832
12833 [BZ #15674]
bb5bb87c
L
12834 * string/test-memcmp.c (check2): New.
12835 (main): Call check2.
12836
11b8a0e1
LD
12837 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12838
b0037103
MR
128392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12840
12841 [BZ #15022]
12842 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12843 over to...
12844 (dl_open_worker) [!SHARED]: ... here.
12845
c18c701d
RA
128462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12847
12848 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12849
1d17fa5f
RH
128502013-06-25 Richard Henderson <rth@redhat.com>
12851
12852 * locale/programs/locarchive.c: Include <libc-internal.h>
12853
8fcb833a
JM
128542013-06-25 Joseph Myers <joseph@codesourcery.com>
12855
12856 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12857 trailing whitespace removed.
12858
17db6e8d
MF
128592013-06-24 Mike Frysinger <vapier@gentoo.org>
12860
12861 [BZ #10283]
17db6e8d
MF
12862 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12863 * locale/programs/locarchive.c: Include libc-mmap.h.
12864 (prepare_address_space): Take two new outputs (the mmap base and len).
12865 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12866 values.
12867 (create_archive): Declare new mmap base and len values for
12868 prepare_address_space, and store the result in ah.
12869 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12870 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12871 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12872 Declare new mmap base and len values for
12873 prepare_address_space, and store the result in new_ah.
12874 (open_archive): Declare new mmap base and len values for
12875 prepare_address_space, and store the result in ah.
12876 (close_archive): If ah->mmap_base is not NULL, use that and
12877 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12878 * sysdeps/generic/libc-mmap.h: New file.
12879
d605071e
MF
128802013-06-24 Mike Frysinger <vapier@gentoo.org>
12881
12882 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12883 (ALIGN_UP): Likewise.
12884 (PTR_ALIGN_DOWN): Likewise.
12885 (PTR_ALIGN_UP): Likewise.
12886
2f063a6e
RA
128872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12888
12889 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12890 entry mapped to PPC_PLATFORM_POWER8.
12891 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12892 POWER8.
12893 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12894 (_dl_string_platform): Add case for exporting platform position for
12895 POWER8.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12897 search path to sysdeps/powerpc/powerpc32/power8 directory.
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12899 search path to sysdeps/powerpc/powerpc64/power8 directory.
12900 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12901 power7 directories.
12902 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12903 power7 directories.
12904
a31ee4b3
SP
129052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
a74ca98f
SP
12907 * INSTALL: Regenerate.
12908
a31ee4b3
SP
12909 * nscd/connections.c (nscd_init): Fix comment.
12910
695c378f
JM
129112013-06-22 Joseph Myers <joseph@codesourcery.com>
12912
d8412221
JM
12913 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12914
695c378f
JM
12915 [BZ #15667]
12916 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12917 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12918
d1d54715
MR
129192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12920
12921 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12922 DL_DST_REQ_STATIC.
12923 (DL_DST_REQ_STATIC): Remove macro.
12924
8fdda7af
JM
129252013-06-21 Joseph Myers <joseph@codesourcery.com>
12926
12927 [BZ #7006]
12928 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12929 with a shift of 0 bits.
12930
f3bc5e5a
MR
129312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12932
12933 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12934 $(tststatic-ENV).
12935
be09e8c9
KK
129362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12937
12938 [BZ #15655]
12939 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12940
85c2e611
AZ
129412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12942
12943 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12944 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12945 accepts -fno-tree-loop-distribute-patterns.
12946 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12947 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12948 recursive call.
12949 * string/memset.c (memset): Likewise.
12950 * string/test-memmove.c (simple_memmove): Disable loop transformation
12951 to library calls.
12952 * string/test-memset.c (simple_memset): Likewise.
12953 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12954 * benchtests/bench-memset.c (simple_memset): Likewise.
12955 * configure: Regenerated.
12956
c91e0825
JM
129572013-06-20 Joseph Myers <joseph@codesourcery.com>
12958
b8c792af
JM
12959 * math/test-misc.c (main): Ignore fesetround failure when failures
12960 of subsequent rounding tests would be ignored.
12961
c91e0825
JM
12962 [BZ #15654]
12963 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12964 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12965 * math/fegetenv.c (__fegetenv): Return 0.
12966 * math/fegetexcept.c (fegetexcept): Return 0.
12967 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12968 FE_TONEAREST.
12969 * math/feholdexcpt.c (feholdexcept): Return 0.
12970 * math/fesetenv.c (__fesetenv): Return 0.
12971 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12972 argument FE_TONEAREST.
12973 * math/feupdateenv.c (__feupdateenv): Return 0.
12974 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12975
bfcacbde
RM
129762013-06-18 Roland McGrath <roland@hack.frob.com>
12977
12978 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12979 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12980 ($(objpfx)rtld-%.os rules): Use them.
12981
e55a9b25
AZ
129822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12983
12984 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12985 fields.
12986
346d65b3
RM
129872013-06-17 Roland McGrath <roland@hack.frob.com>
12988
12086fb4
RM
12989 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12990 length of target pattern, then descending length of dependency pattern.
12991 * configure.in (AWK): Require gawk 3.1.2 or newer.
12992 * manual/install.texi (Tools for Compilation): Say that we do.
12993 * configure: Regenerated.
12994
346d65b3
RM
12995 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12996 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12997 * scripts/sysd-rules.awk: ... this new script.
12998 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12999 than a glob-style pattern.
13000
1a846317
JM
130012013-06-17 Joseph Myers <joseph@codesourcery.com>
13002
13003 * math/test-misc.c (main): Do not treat incorrectly rounded
13004 conversions as failure unless ROUNDING_TESTS passes.
13005
8fc75e6f
JM
130062013-06-15 Joseph Myers <joseph@codesourcery.com>
13007
3711a167
JM
13008 [BZ #15631]
13009 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13010 restore exception state around main square root computation, then
13011 check for inexactness explicitly.
13012
8fc75e6f
JM
13013 * math/libm-test.inc (fma_test_data): Add another test.
13014
61dd6208
SP
130152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13016
adf23d2c
SP
13017 * manual/threads.texi (Non-POSIX Extensions): New document
13018 node. Document pthread_getattr_default_np and
13019 pthread_setattr_default_np.
13020
61dd6208
SP
13021 * Versions.def (libpthread): Add GLIBC_2.18.
13022 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13024 Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13026 Likewise.
13027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13028 Likewise.
13029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13030 Likewise.
13031 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13032 Likewise.
13033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13034 Likewise.
13035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13036 Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13038 Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13040 Likewise.
13041
d086fc7b
LD
130422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13043
13044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13045 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13046
747ef469
SP
130472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13048 H.J. Lu <hjl.tools@gmail.com>
13049
13050 [BZ #15627]
13051 * sysdeps/x86_64/rtld-memset.c: Remove file.
13052 * sysdeps/x86_64/rtld-memset.S: New file.
13053
1b2feed2
JM
130542013-06-14 Joseph Myers <joseph@codesourcery.com>
13055
13056 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13057 (test_in_one_mode): Take arguments for whether the rounding mode
13058 is supported for each floating-point type.
13059 (do_test): Pass new arguments to test_in_one_mode using
13060 ROUNDING_TESTS.
13061
a58ad3f8
RM
130622013-06-13 Roland McGrath <roland@hack.frob.com>
13063
13064 * posix/tst-waitid.c (do_test): Distinguish different instances of
13065 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13066 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13067 before entering the kernel for waitpid.
13068
c204ab28
SP
130692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13070
13071 * NEWS: Fix note on clock function precision. Text by Roland
13072 McGrath.
13073
f4a29fba
RM
130742013-06-13 Roland McGrath <roland@hack.frob.com>
13075
13076 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13077 it into place only when and if the sanity check passes.
13078
1f24b9ad
JM
130792013-06-13 Joseph Myers <joseph@codesourcery.com>
13080
13081 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13082 output for whether conversion result is exact. Take argument
13083 indicating whether type is IBM long double.
13084 (round_for_all): Change need_exact field to ibm_ld.
13085 * stdlib/tst-strtod-round.c (struct exactness): New type.
13086 (struct test): Change bool ld_ok field to struct exactness exact.
13087 (TEST): Update all definitions for change to field.
13088 (tests): Regenerate array contents.
13089 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13090 field value. Check for IBM long double here.
13091 (do_test): Update calls to test_in_one_mode.
13092
58206c68
SP
130932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13094
13095 [BZ #12515]
13096 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13097 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13098
2d6f4c5b 130992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13100
13101 [BZ #15605]
13102 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13103 generated by the compiler on loop optimizations.
13104 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13105 general definitions.
13106
94f2c076
JM
131072013-06-12 Joseph Myers <joseph@codesourcery.com>
13108
13109 * math/bug-nextafter.c: Include <math-tests.h>.
13110 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13111 the relevant type.
13112 * math/bug-nexttoward.c: Include <math-tests.h>.
13113 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13114 the relevant type.
13115 * math/test-misc.c: Include <math-tests.h>.
13116 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13117 the relevant type.
13118
e0e50a0a
AJ
131192013-06-12 Andreas Jaeger <aj@suse.de>
13120
13121 * po/ia.po: Update Interlingua translation from translation
13122 project.
13123
25061094
SP
131242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13125
13126 * include/fenv.h: Include stdbool.h.
13127 (struct rm_ctx): New structure.
13128 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13129 Define macro.
13130 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13131 (SET_RESTORE_ROUNDF): Likewise.
13132 (SET_RESTORE_ROUNDL): Likewise.
13133 (SET_RESTORE_ROUND_NOEX): Likewise.
13134 (SET_RESTORE_ROUND_NOEXF): Likewise.
13135 (SET_RESTORE_ROUND_NOEXL): Likewise.
13136 (SET_RESTORE_ROUND_53BIT): Likewise.
13137 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13138 (libc_feresetround_noexf_ctx): Likewise.
13139 (libc_feresetround_noexl_ctx): Likewise.
13140 (libc_feholdsetround_53bit_ctx): Likewise.
13141 (libc_feresetround_53bit_ctx): Likewise.
13142 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13143 (libc_feholdexcept_setround_sse_ctx): New function.
13144 (libc_fesetenv_sse_ctx): Likewise.
13145 (libc_feupdateenv_sse_ctx): Likewise.
13146 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13147 (libc_feholdexcept_setround_387_ctx): Likewise.
13148 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13149 (libc_feholdsetround_387_prec_ctx): Likewise.
13150 (libc_feholdsetround_387_ctx): Likewise.
13151 (libc_feholdsetround_387_53bit_ctx): Likewise.
13152 (libc_feholdsetround_sse_ctx): Likewise.
13153 (libc_feresetround_sse_ctx): Likewise.
13154 (libc_feresetround_387_ctx): Likewise.
13155 (libc_feupdateenv_387_ctx): Likewise.
13156 (libc_feholdexcept_setroundf_ctx): Define macro.
13157 (libc_fesetenvf_ctx): Likewise.
13158 (libc_feupdateenvf_ctx): Likewise.
13159 (libc_feholdsetroundf_ctx): Likewise.
13160 (libc_feresetroundf_ctx): Likewise.
13161 (libc_feholdexcept_setround_ctx): Likewise.
13162 (libc_fesetenv_ctx): Likewise.
13163 (libc_feupdateenv_ctx): Likewise.
13164 (libc_feholdsetround_ctx): Likewise.
13165 (libc_feresetround_ctx): Likewise.
13166 (libc_feholdexcept_setroundl_ctx): Likewise.
13167 (libc_feupdateenvl_ctx): Likewise.
13168 (libc_feholdsetroundl_ctx): Likewise.
13169 (libc_feresetroundl_ctx): Likewise.
13170 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13171 (libc_feresetround_53bit_ctx): Likewise.
13172
59b30555
SP
131732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13174
13175 * locale/iso-639.def: Convert to UTF-8.
13176
f1d73d30
JM
131772013-06-11 Joseph Myers <joseph@codesourcery.com>
13178
13179 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13180 (EXCEPTION_TESTS_double): Likewise.
13181 (EXCEPTION_TESTS_long_double): Likewise.
13182 (EXCEPTION_TESTS): Likewise.
13183 * math/libm-test.inc (test_exceptions): Only test exceptions if
13184 EXCEPTION_TESTS (FLOAT).
13185
94aca5e7
SP
131862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13187
13188 * benchtests/Makefile (string-bench): Add strcpy_chk and
13189 stpcpy_chk.
13190 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13191 * benchtests/bench-stpcpy_chk.c: New file.
13192 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13193 * benchtests/bench-strcpy_chk.c: New file.
13194 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13195 code.
13196 (do_test): Likewise.
13197
fac0c5f2
RA
131982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13199
13200 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13201 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13202 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13203 with tabs where appropriate.
13204 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13205 dl-procinfo.h.
13206 [PPC_PLATFORM_PPC440]: Likewise.
13207 [PPC_PLATFORM_PPC464]: Likewise.
13208 [PPC_PLATFORM_PPC476]: Likewise.
13209 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13210 ppc464, and ppc476 platform strings merging from ports/
13211 dl-procinfo.h.
13212
f22bc486
AS
132132013-06-11 Andreas Schwab <schwab@suse.de>
13214
13215 [BZ #14991]
13216 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13217 (from_ucs4_idx): Regenerate.
13218 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13219 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13220 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13221 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13222 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13223 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13224 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13225 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13226 from FROM_LOOP and TO_LOOP specific macros.
13227 (BODY): Handle combining characters.
13228 * iconvdata/BIG5HKSCS.irreversible: Update.
13229 * iconvdata/BIG5HKSCS.precomposed: New file.
13230 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13231 characters.
13232 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13233
c1f75dc3
SP
132342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
4eacded2
SP
13236 * include/sys/time.h: Fix indentation and add copyright header.
13237
fec799f8
SP
13238 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13239 (do_test): Likewise.
13240 * string/test-memchr.c (do_one_test): Likewise.
13241 (do_test): Likewise.
13242 * string/test-memcmp.c (do_one_test): Likewise.
13243 (do_test): Likewise.
13244 * string/test-memcpy.c (do_one_test): Likewise.
13245 (do_test): Likewise.
13246 * string/test-memmem.c (do_one_test): Likewise.
13247 (do_test): Likewise.
13248 (do_random_tests): Likewise.
13249 * string/test-memmove.c (do_one_test): Likewise.
13250 (do_test): Likewise.
13251 * string/test-memset.c (do_one_test): Likewise.
13252 (do_test): Likewise.
13253 * string/test-rawmemchr.c (do_one_test): Likewise.
13254 (do_test): Likewise.
13255 * string/test-strcasecmp.c (do_one_test): Likewise.
13256 (do_test): Likewise.
13257 * string/test-strcasestr.c (do_one_test): Likewise.
13258 (do_test): Likewise.
13259 * string/test-strcat.c (do_one_test): Likewise.
13260 (do_test): Likewise.
13261 * string/test-strchr.c (do_one_test): Likewise.
13262 (do_test): Likewise.
13263 * string/test-strcmp.c (do_one_test): Likewise.
13264 (do_test): Likewise.
13265 * string/test-strcpy.c (do_one_test): Likewise.
13266 (do_test): Likewise.
13267 * string/test-string.h: Likewise.
13268 (test_init): Likewise.
13269 * string/test-strlen.c (do_one_test): Likewise.
13270 (do_test): Likewise.
13271 * string/test-strncasecmp.c (do_one_test): Likewise.
13272 (do_test): Likewise.
13273 * string/test-strncat.c (do_one_test): Likewise.
13274 (do_test): Likewise.
13275 * string/test-strncmp.c (do_one_test): Likewise.
13276 (do_test_limit): Likewise.
13277 (do_test): Likewise.
13278 * string/test-strncpy.c (do_one_test): Likewise.
13279 (do_test): Likewise.
13280 * string/test-strnlen.c (do_one_test): Likewise.
13281 (do_test): Likewise.
13282 * string/test-strpbrk.c (do_one_test): Likewise.
13283 (do_test): Likewise.
13284 * string/test-strrchr.c (do_one_test): Likewise.
13285 (do_test): Likewise.
13286 * string/test-strspn.c (do_one_test): Likewise.
13287 (do_test): Likewise.
13288 * string/test-strstr.c (do_one_test): Likewise.
13289 (do_test): Likewise.
13290
97020474
SP
13291 * benchtests/Makefile (string-bench): Add string benchmarks.
13292 * benchtests/bench-bcopy-ifunc.c: New file.
13293 * benchtests/bench-bcopy.c: New file.
13294 * benchtests/bench-bzero-ifunc.c: New file.
13295 * benchtests/bench-bzero.c: New file.
13296 * benchtests/bench-memccpy-ifunc.c: New file.
13297 * benchtests/bench-memccpy.c: New file.
13298 * benchtests/bench-memchr-ifunc.c: New file.
13299 * benchtests/bench-memchr.c: New file.
13300 * benchtests/bench-memcmp-ifunc.c: New file.
13301 * benchtests/bench-memcmp.c: New file.
13302 * benchtests/bench-memmem-ifunc.c: New file.
13303 * benchtests/bench-memmem.c: New file.
13304 * benchtests/bench-memmove-ifunc.c: New file.
13305 * benchtests/bench-memmove.c: New file.
13306 * benchtests/bench-mempcpy-ifunc.c: New file.
13307 * benchtests/bench-mempcpy.c: New file.
13308 * benchtests/bench-memset-ifunc.c: New file.
13309 * benchtests/bench-memset.c: New file.
13310 * benchtests/bench-rawmemchr-ifunc.c: New file.
13311 * benchtests/bench-rawmemchr.c: New file.
13312 * benchtests/bench-stpcpy-ifunc.c: New file.
13313 * benchtests/bench-stpcpy.c: New file.
13314 * benchtests/bench-stpncpy-ifunc.c: New file.
13315 * benchtests/bench-stpncpy.c: New file.
13316 * benchtests/bench-strcasecmp-ifunc.c: New file.
13317 * benchtests/bench-strcasecmp.c: New file.
13318 * benchtests/bench-strcasestr-ifunc.c: New file.
13319 * benchtests/bench-strcasestr.c: New file.
13320 * benchtests/bench-strcat-ifunc.c: New file.
13321 * benchtests/bench-strcat.c: New file.
13322 * benchtests/bench-strchr-ifunc.c: New file.
13323 * benchtests/bench-strchr.c: New file.
13324 * benchtests/bench-strchrnul-ifunc.c: New file.
13325 * benchtests/bench-strchrnul.c: New file.
13326 * benchtests/bench-strcmp-ifunc.c: New file.
13327 * benchtests/bench-strcmp.c: New file.
13328 * benchtests/bench-strcpy-ifunc.c: New file.
13329 * benchtests/bench-strcpy.c: New file.
13330 * benchtests/bench-strcspn-ifunc.c: New file.
13331 * benchtests/bench-strcspn.c: New file.
13332 * benchtests/bench-strlen-ifunc.c: New file.
13333 * benchtests/bench-strlen.c: New file.
13334 * benchtests/bench-strncasecmp-ifunc.c: New file.
13335 * benchtests/bench-strncasecmp.c: New file.
13336 * benchtests/bench-strncat-ifunc.c: New file.
13337 * benchtests/bench-strncat.c: New file.
13338 * benchtests/bench-strncmp-ifunc.c: New file.
13339 * benchtests/bench-strncmp.c: New file.
13340 * benchtests/bench-strncpy-ifunc.c: New file.
13341 * benchtests/bench-strncpy.c: New file.
13342 * benchtests/bench-strnlen-ifunc.c: New file.
13343 * benchtests/bench-strnlen.c: New file.
13344 * benchtests/bench-strpbrk-ifunc.c: New file.
13345 * benchtests/bench-strpbrk.c: New file.
13346 * benchtests/bench-strrchr-ifunc.c: New file.
13347 * benchtests/bench-strrchr.c: New file.
13348 * benchtests/bench-strspn-ifunc.c: New file.
13349 * benchtests/bench-strspn.c: New file.
13350 * benchtests/bench-strstr-ifunc.c: New file.
13351 * benchtests/bench-strstr.c: New file.
13352
c1f75dc3
SP
13353 * benchtests/Makefile: Disable parallel execution of targets.
13354 (string-bench): Add memcpy.
13355 (benchset): New variable to store a list of benchmark sets.
13356 (bench-func): Renamed from bench.
13357 (bench-set): New target.
13358 (bench): Depend on bench-func and bench-set.
13359 * benchtests/README: Add section on benchmark sets.
13360 * benchtests/bench-memcpy-ifunc.c: New file.
13361 * benchtests/bench-memcpy.c: New file.
13362 * benchtests/bench-string.h: New file.
13363
50fd745b
AS
133642013-06-11 Andreas Schwab <schwab@suse.de>
13365
13366 [BZ #15577]
13367 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13368 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13369 values in the triple.
13370 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13371 terminator in the group key.
13372
3ee7e9fe
AJ
133732013-06-11 Andreas Jaeger <aj@suse.de>
13374
13375 * po/zh_TW.po: Update Chinese (traditional) translation from
13376 translation project.
13377
89fb6835
SP
133782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13379
13380 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13381 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13382 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13383 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13384 (clock_getcpuclockid): Likewise.
13385 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13386 Add weak_alias and libc_hidden_def.
13387 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13388 * rt/clock_gettime.c (clock_gettime): Rename to
13389 __clock_gettime. Add weak_alias and libc_hidden_def.
13390 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13391 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13392 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13393 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13394 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13395 Likewise.
13396 * rt/clock_settime.c (clock_settime): Rename to
13397 __clock_settime. Add weak_alias and libc_hidden_def.
13398 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13399
0efa6f8b
JM
134002013-06-10 Joseph Myers <joseph@codesourcery.com>
13401
b8c61b4b
JM
13402 * mach/err_boot.sub: Remove trailing whitespace.
13403 * mach/err_ipc.sub: Likewise.
13404 * mach/err_mach.sub: Likewise.
13405
0efa6f8b
JM
13406 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13407 (ROUNDING_TESTS_double): Likewise.
13408 (ROUNDING_TESTS_long_double): Likewise.
13409 (ROUNDING_TESTS): Likewise.
13410 * math/libm-test.inc: Include <math-tests.h>.
13411 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13412 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13413 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13414 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13415
50b818bf
SP
134162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13417
13418 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13419 of assigning.
13420
60d2f8f3
JM
134212013-06-08 Joseph Myers <joseph@codesourcery.com>
13422
4902d2c3
JM
13423 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13424 otherwise empty TRANS lines.
13425 * sysdeps/gnu/errlist.c: Regenerated.
13426
60d2f8f3
JM
13427 * catgets/gencat.c (error_print): Use (void) in function
13428 definition.
13429 * crypt/crypt_util.c (__init_des): Likewise.
13430 * crypt/speeds.c (Stop): Likewise.
13431 (main): Likewise.
13432 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13433 * inet/ruserpass.c (token): Likewise.
13434 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13435 * intl/localealias.c (extend_alias_table): Likewise.
13436 * intl/plural-exp.c (init_germanic_plural): Likewise.
13437 * libio/fcloseall.c (__fcloseall): Likewise.
13438 * libio/genops.c (_IO_flush_all): Likewise.
13439 (_IO_flush_all_linebuffered): Likewise.
13440 (_IO_cleanup): Likewise.
13441 (_IO_iter_begin): Likewise.
13442 (_IO_iter_end): Likewise.
13443 (_IO_list_lock): Likewise.
13444 (_IO_list_unlock): Likewise.
13445 (_IO_list_resetlock): Likewise.
13446 * libio/getchar.c (getchar): Likewise.
13447 * libio/getchar_u.c (getchar_unlocked): Likewise.
13448 * libio/getwchar.c (getwchar): Likewise.
13449 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13450 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13451 * login/getpt.c (__getpt): Likewise.
13452 * login/tst-utmp.c (main): Likewise.
13453 * malloc/hooks.c (__malloc_check_init): Likewise.
13454 * malloc/malloc.c (__malloc_stats): Likewise.
13455 * malloc/mtrace.c (tr_break): Likewise.
13456 (mtrace): Likewise.
13457 (muntrace): Likewise.
13458 * misc/fstab.c (endfsent): Likewise.
13459 * misc/getclktck.c (__getclktck): Likewise.
13460 * misc/getdtsz.c (__getdtablesize): Likewise.
13461 * misc/gethostid.c (gethostid): Likewise.
13462 * misc/getpagesize.c (__getpagesize): Likewise.
13463 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13464 (__get_nprocs): Likewise.
13465 (__get_phys_pages): Likewise.
13466 (__get_avphys_pages): Likewise.
13467 * misc/getttyent.c (getttyent): Likewise.
13468 (setttyent): Likewise.
13469 (endttyent): Likewise.
13470 * misc/getusershell.c (getusershell): Likewise.
13471 (endusershell): Likewise.
13472 (setusershell): Likewise.
13473 (initshells): Likewise.
13474 * misc/hsearch.c (__hdestroy): Likewise.
13475 * misc/sync.c (sync): Likewise.
13476 * misc/syslog.c (closelog_internal): Likewise.
13477 (closelog): Likewise.
13478 * misc/ttyslot.c (ttyslot): Likewise.
13479 * misc/vhangup.c (vhangup): Likewise.
13480 * posix/fork.c (__fork): Likewise.
13481 * posix/getegid.c (__getegid): Likewise.
13482 * posix/geteuid.c (__geteuid): Likewise.
13483 * posix/getgid.c (__getgid): Likewise.
13484 * posix/getpid.c (__getpid): Likewise.
13485 * posix/getppid.c (__getppid): Likewise.
13486 * posix/getuid.c (__getuid): Likewise.
13487 * posix/pause.c (pause): Likewise.
13488 * posix/setpgrp.c (setpgrp): Likewise.
13489 * posix/setsid.c (__setsid): Likewise.
13490 * posix/test-vfork.c (noop): Likewise.
13491 * resolv/gethnamaddr.c (_endhtent): Likewise.
13492 (_gethtent): Likewise.
13493 (ht_endhostent): Likewise.
13494 (gethostent): Likewise.
13495 (dns_service): Likewise.
13496 * stdlib/drand48.c (drand48): Likewise.
13497 * stdlib/lrand48.c (lrand48): Likewise.
13498 * stdlib/mrand48.c (mrand48): Likewise.
13499 * stdlib/rand.c (rand): Likewise.
13500 * stdlib/random.c (__random): Likewise.
13501 * stdlib/setenv.c (clearenv): Likewise.
13502 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13503 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13504 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13505 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13506 (__get_nprocs): Likewise.
13507 (__get_phys_pages): Likewise.
13508 (__get_avphys_pages): Likewise.
13509 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13510 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13511 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13512 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13513 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13514 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13515 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13516 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13517 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13518 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13519 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13520 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13521 * sysdeps/posix/clock.c (clock): Likewise.
13522 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13523 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13524 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13525 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13526 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13528 (__get_nprocs_conf): Likewise.
13529 (__get_phys_pages): Likewise.
13530 (__get_avphys_pages): Likewise.
13531 * time/clock.c (clock): Likewise.
13532 * time/tzset.c (__tzname_max): Likewise.
13533
2e09a79a
JM
135342013-06-07 Joseph Myers <joseph@codesourcery.com>
13535
13536 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13537 (__bswap_32): Do not use "register".
13538 * crypt/crypt.c (_ufc_doit_r): Likewise.
13539 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13540 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13541 * gmon/gmon.c (__monstartup): Likewise.
13542 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13543 * hurd/hurdmalloc.c (more_memory): Likewise.
13544 (malloc): Likewise.
13545 (free): Likewise.
13546 (realloc): Likewise.
13547 (malloc_fork_prepare): Likewise.
13548 (malloc_fork_parent): Likewise.
13549 (malloc_fork_child): Likewise.
13550 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13551 (_svcauth_des): Likewise.
13552 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13553 * inet/inet_net.c (inet_network): Likewise.
13554 * inet/inet_netof.c (inet_netof): Likewise.
13555 * inet/rcmd.c (__validuser2_sa): Likewise.
13556 * io/fts.c (fts_open): Likewise.
13557 (fts_load): Likewise.
13558 (fts_close): Likewise.
13559 (fts_read): Likewise.
13560 (fts_children): Likewise.
13561 (fts_build): Likewise.
13562 (fts_stat): Likewise.
13563 (fts_sort): Likewise.
13564 (fts_alloc): Likewise.
13565 (fts_lfree): Likewise.
13566 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13567 (_IO_file_xsgetn): Likewise.
13568 (_IO_file_xsgetn_mmap): Likewise.
13569 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13570 (_IO_cookie_write): Likewise.
13571 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13572 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13573 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13574 * malloc/obstack.c (_obstack_begin): Likewise.
13575 (_obstack_begin_1): Likewise.
13576 (_obstack_newchunk): Likewise.
13577 (_obstack_allocated_p): Likewise.
13578 (obstack_free): Likewise.
13579 (_obstack_memory_used): Likewise.
13580 * misc/getttyent.c (getttynam): Likewise.
13581 (getttyent): Likewise.
13582 (skip): Likewise.
13583 (value): Likewise.
13584 * misc/getusershell.c (initshells): Likewise.
13585 * misc/syslog.c (__vsyslog_chk): Likewise.
13586 * misc/ttyslot.c (ttyslot): Likewise.
13587 * nis/nis_hash.c (__nis_hash): Likewise.
13588 * posix/fnmatch_loop.c (FCT): Likewise.
13589 * posix/getconf.c (print_all): Likewise.
13590 (main): Likewise.
13591 * posix/getopt.c (exchange): Likewise.
13592 * posix/glob.c (globfree): Likewise.
13593 (prefix_array): Likewise.
13594 (__glob_pattern_type): Likewise.
13595 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13596 (NS_GET32): Likewise.
13597 (NS_PUT16): Likewise.
13598 (NS_PUT32): Likewise.
13599 * resolv/gethnamaddr.c (getanswer): Likewise.
13600 (gethostbyname2): Likewise.
13601 (gethostbyaddr): Likewise.
13602 (_gethtent): Likewise.
13603 (_gethtbyname2): Likewise.
13604 (_gethtbyaddr): Likewise.
13605 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13606 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13607 * resolv/res_init.c (__res_vinit): Likewise.
13608 (net_mask): Likewise.
13609 * resolv/res_mkquery.c (outchar): Likewise.
13610 (PRINT): Likewise.
13611 * stdio-common/printf_fp.c (outchar): Likewise.
13612 (PRINT): Likewise.
13613 * stdio-common/printf_fphex.c (outchar): Likewise.
13614 (PRINT): Likewise.
13615 * stdio-common/printf_size.c (outchar): Likewise.
13616 (PRINT): Likewise.
13617 * stdio-common/test_rdwr.c (main): Likewise.
13618 * stdio-common/tfformat.c (matches): Likewise.
13619 * stdio-common/vfprintf.c (outchar): Likewise.
13620 (printf_unknown): Likewise.
13621 (buffered_vfprintf): Likewise.
13622 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13623 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13624 (ReadFile): Likewise.
13625 * stdlib/qsort.c (SWAP): Likewise.
13626 (_quicksort): Likewise.
13627 * stdlib/setenv.c (__add_to_environ): Likewise.
13628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13629 * stdlib/strtol_l.c (__strtol_l): Likewise.
13630 * stdlib/tst-strtod.c (main): Likewise.
13631 * stdlib/tst-strtol.c (main): Likewise.
13632 * stdlib/tst-strtoll.c (main): Likewise.
13633 * string/bits/string2.h (__strcmp_cc): Likewise.
13634 (__strcmp_cg): Likewise.
13635 (__strcspn_c1): Likewise.
13636 (__strcspn_c2): Likewise.
13637 (__strcspn_c3): Likewise.
13638 (__strspn_c1): Likewise.
13639 (__strspn_c2): Likewise.
13640 (__strspn_c3): Likewise.
13641 (__strsep_1c): Likewise.
13642 (__strsep_2c): Likewise.
13643 (__strsep_3c): Likewise.
13644 * string/memccpy.c (__memccpy): Likewise.
13645 * string/stpcpy.c (__stpcpy): Likewise.
13646 * string/strcmp.c (strcmp): Likewise.
13647 * string/strrchr.c (strrchr): Likewise.
13648 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13649 Likewise.
13650 * sysdeps/mach/hurd/getcwd.c
13651 (_hurd_canonicalize_directory_name_internal): Likewise.
13652 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13653 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13654 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13655 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13656 Likewise, in both definitions.
13657 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13658 definitions.
13659 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13660 64] (__bswap_64): Likewise.
13661 * time/test_time.c (main): Likewise.
13662 * time/tzfile.c (__tzfile_read): Likewise.
13663 (__tzfile_compute): Likewise.
13664 * time/tzset.c (__tzset_parse_tz): Likewise.
13665 (tzset_internal): Likewise.
13666 (compute_change): Likewise.
13667 * wcsmbs/wcscat.c (__wcscat): Likewise.
13668 * wcsmbs/wcschr.c (wcschr): Likewise.
13669 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13670 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13671 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13672 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13673 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13674 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13675 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13676 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13677 * wcsmbs/wmemset.c (wmemset): Likewise.
13678
9e54314b
JM
136792013-06-06 Joseph Myers <joseph@codesourcery.com>
13680
13681 * scripts/config.guess: Update to version 2013-05-16.
13682 * scripts/config.sub: Update to version 2013-04-24.
13683 * scripts/install-sh: Update to version 2011-11-20.07.
13684 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13685 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13686
350635a5
OB
136872013-06-06 Ondřej Bílka <neleai@seznam.cz>
13688
13689 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13690 * elf/sln.c: Likewise.
13691 * hurd/hurd/ioctl.h: Likewise.
13692 * hurd/hurdmalloc.c: Likewise.
13693 * hurd/xattr.c: Likewise.
13694 * include/shlib-compat.h: Likewise.
13695 * inet/ruserpass.c: Likewise.
13696 * libio/iofgets_u.c: Likewise.
13697 * libio/iofgetws_u.c: Likewise.
13698 * locale/programs/ld-identification.c: Likewise.
13699 * locale/programs/ld-time.c: Likewise.
13700 * mach/msg-destroy.c: Likewise.
13701 * nss/nss_files/files-netgrp.c: Likewise.
13702 * resolv/res_data.c: Likewise.
13703 * soft-fp/op-1.h: Likewise.
13704 * soft-fp/op-2.h: Likewise.
13705 * soft-fp/op-4.h: Likewise.
13706 * soft-fp/op-common.h: Likewise.
13707 * stdio-common/printf_fphex.c: Likewise.
13708 * stdlib/strtod_l.c: Likewise.
13709 * sunrpc/rpc/clnt.h: Likewise.
13710 * sysdeps/generic/framestate.c: Likewise.
13711 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13712 * sysdeps/i386/bsd-setjmp.S: Likewise.
13713 * sysdeps/i386/__longjmp.S: Likewise.
13714 * sysdeps/i386/setjmp.S: Likewise.
13715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13716 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13733 * sysdeps/ieee754/support.c: Likewise.
13734 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13735 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13736 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13737 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13738 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13739 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13740 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13741 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13742 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13743 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13744 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13745 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13746 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13747 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13748 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13749 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13750 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13752
44a988af
OB
137532013-06-05 Ondřej Bílka <neleai@seznam.cz>
13754
25506f09 13755 * posix/transbug.c: Remove executable mode.
44a988af 13756
9c84384c
JM
137572013-06-05 Joseph Myers <joseph@codesourcery.com>
13758
13759 * crypt/speeds.c: Remove trailing whitespace.
13760 * dlfcn/default.c: Likewise.
13761 * elf/ifuncdep2.c: Likewise.
13762 * elf/ifuncmain1.c: Likewise.
13763 * elf/ifuncmain1vis.c: Likewise.
13764 * elf/testobj.h: Likewise.
13765 * elf/tst-stackguard1.c: Likewise.
13766 * gmon/sys/gmon.h: Likewise.
13767 * hurd/hurdmsg.c: Likewise.
13768 * hurd/new-fd.c: Likewise.
13769 * hurd/ports-get.c: Likewise.
13770 * iconvdata/ibm1008_420.c: Likewise.
13771 * inet/tst-getni1.c: Likewise.
13772 * inet/tst-getni2.c: Likewise.
13773 * libio/ioungetc.c: Likewise.
13774 * libio/wfiledoalloc.c: Likewise.
13775 * manual/libm-err-tab.pl: Likewise.
13776 * math/w_dremf.c: Likewise.
13777 * misc/ftruncate.c: Likewise.
13778 * posix/bug-glob2.c: Likewise.
13779 * posix/tst-pcre.c: Likewise.
13780 * posix/wait4.c: Likewise.
13781 * resolv/README: Likewise.
13782 * resolv/res_debug.h: Likewise.
13783 * resolv/tst-inet_ntop.c: Likewise.
13784 * setjmp/bug269-setjmp.c: Likewise.
13785 * soft-fp/extended.h: Likewise.
13786 * soft-fp/op-1.h: Likewise.
13787 * soft-fp/op-2.h: Likewise.
13788 * soft-fp/op-4.h: Likewise.
13789 * soft-fp/op-8.h: Likewise.
13790 * soft-fp/testit.c: Likewise.
13791 * stdio-common/bug16.c: Likewise.
13792 * stdlib/random.c: Likewise.
13793 * sunrpc/rpcsvc/rquota.x: Likewise.
13794 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13795 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13797 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13798 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13802 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13804 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13823 * sysdeps/ieee754/s_lib_version.c: Likewise.
13824 * sysdeps/mach/hurd/check_fds.c: Likewise.
13825 * sysdeps/mach/hurd/getsockname.c: Likewise.
13826 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13827 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13828 * sysdeps/powerpc/bits/link.h: Likewise.
13829 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13830 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13831 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13832 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13833 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13834 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13835 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13836 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13837 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13838 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13839 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13840 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13841 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13842 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13843 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13844 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13847 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13848 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13850 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13852 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13853 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13861 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13862 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13863 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13864 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13865 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13867 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13868 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13869 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13870 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13871 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13872 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13873 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13874 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13875 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13876 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13877 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13878 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13881 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13883 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13884 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13885 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13888 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13889 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13890 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13891 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13892 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13893 * sysdeps/powerpc/sysdep.h: Likewise.
13894 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13895 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13896 * sysdeps/sh/dl-trampoline.S: Likewise.
13897 * sysdeps/sh/memset.S: Likewise.
13898 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13899 * sysdeps/sh/strlen.S: Likewise.
13900 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13901 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13902 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13903 * sysdeps/sparc/sparc32/rem.S: Likewise.
13904 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13905 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13906 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13907 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13908 * sysdeps/sparc/sparc32/urem.S: Likewise.
13909 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13910 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13911 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13912 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13914 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13915 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13916 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13917 * sysdeps/unix/bsd/times.c: Likewise.
13918 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13919 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13923 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13924 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13926 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13927 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13928 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13930 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13932 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13936 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13938 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13939 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13940 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13941 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13942 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13943 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13946 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13947 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13948 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13949 * sysdeps/x86_64/strcspn.S: Likewise.
13950
869378a5
RA
139512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13952
13953 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13954 generated file. Regenerate properly from gen-translit.pl.
13955 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13956 locale/C-translit.h.
13957
840e2943
AS
139582013-06-05 Andreas Schwab <schwab@suse.de>
13959
13960 [BZ #15100]
13961 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13962 week as 6 instead of -1.
13963 * time/tst-strptime.c (day_tests): Add test case.
13964
4c60cb0c
SP
139652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13966
13967 * sysdeps/generic/math_private.h
13968 (libc_feholdexcept_setround_53bit): Replace with
13969 libc_feholdsetround_53bit.
13970 (libc_feupdateenv_53bit): Replace with
13971 libc_feresetround_53bit.
13972 (SET_RESTORE_ROUND_53BIT): Adjust.
13973
d180203e
SP
139742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13975
96df079a
SP
13976 * string/test-strchrnul.c: Add copyright header.
13977
d180203e
SP
13978 * posix/tst-getaddrinfo4.c: Increase test timeout.
13979
8b0ccb2d
CD
139802013-06-03 Carlos O'Donell <carlos@redhat.com>
13981
13982 [BZ #15536]
13983 * math/libm-test.inc (MAX_EXP): Remove
13984 (MIN_EXP): Define.
13985 (ulp): Use MIN_EXP - MANT_DIG.
13986 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13987
3b3c4d40
CD
139882013-05-31 Carlos O'Donell <carlos@redhat.com>
13989
13990 * po/be.po: Revert last change.
13991 * po/zh_CN.po: Likewise.
13992 * po/header.pot: Likewise.
13993
fab7ce3f
JM
139942013-05-31 Joseph Myers <joseph@codesourcery.com>
13995
13996 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13997 link-libc-deps to empty as target-specific variable.
13998 * Makerules (link-libc-args): New variable.
13999 (libc-for-link): Likewise.
14000 (link-libc-deps): Likewise.
14001 (lib%.so): Depend on $(link-libc-deps). Link with
14002 $(link-libc-args).
14003 (build-module): Link with $(link-libc-args).
14004 (build-module-asneeded): Likewise.
14005 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14006 list of objects.
14007 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14008 target-specific variable.
14009 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14010 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14011 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14012 libc.
14013 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14014 libc and ld.so.
14015 ($(objpfx)libpcprofile.so): Likewise.
14016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14017 libc_nonshared.a.
14018 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14019 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14020 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14021 $(link-libc-deps).
14022 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14023 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14024 * login/Makefile ($(objpfx)libutil.so): Likewise.
14025 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14026 * math/Makefile ($(objpfx)libm.so): Likewise.
14027 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14028 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14029 variable instead of depending directly on libc.
14030 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14031 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14032 $(link-libc-deps).
14033 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14034 libc.
14035 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14036 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14037 ($(objpfx)libanl.so): Likewise.
14038 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14039 ld.so.
14040 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14041 $(link-libc-deps).
14042 * sysdeps/i386/fpu/Makefile: Remove file.
14043 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14044 ($(objpfx)libm.so): Remove dependency on ld.so.
14045
eca5920c
PF
140462013-05-30 Patsy Franklin <pfrankli@redhat.com>
14047
14048 [BZ # 15553]
14049 * nis/yp_xdr.c (XDRMAXNAME): Define.
14050 (XDRMAXRECORD): Define.
14051 (xdr_domainname): Use XDRMAXNAME.
14052 (xdr_mapname): Likewise.
14053 (xdr_peername): Likewise.
14054 (xdr_keydat): Use XDRMAXRECORD.
14055 (xdr_valdat): Likewise.
14056
140572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14058
14059 [BZ #14256]
14060 * manual/errno.texi (ESTALE): Update to account for more than
14061 just NFS file systems.
14062 * sysdeps/gnu/errlist.c: Regenerated.
14063
b9375348
SP
140642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14065
14066 [BZ #15465]
14067 * elf/Makefile (tests): Add tst-null-argv.
14068 (modules-names): Add tst-null-argv-lib.
14069 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14070 (tst-null-argv-ENV): Set environment for tst-null-argv.
14071 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14072 (RTLD_PROGNAME): New macro.
14073 * elf/tst-null-argv.c: New test case.
14074 * elf/tst-null-argv-lib.c: Library for test case.
14075 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14076 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14077 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14078 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14079 * elf/dl-init.c (call_init): Likewise.
14080 (_dl_init): Likewise.
14081 * elf/dl-load.c (print_search_path): Likewise.
14082 (_dl_map_object): Likewise.
14083 * elf/dl-lookup.c (do_lookup_x): Likewise.
14084 (add_dependency): Likewise.
14085 (_dl_lookup_symbol_x): Likewise.
14086 (_dl_debug_bindings): Likewise.
14087 * elf/dl-open.c (_dl_show_scope): Likewise.
14088 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14089 * elf/dl-version.c (match_symbol): Likewise.
14090 (_dl_check_map_versions): Likewise.
14091 * elf/rtld.c (dl_main): Likewise.
14092 (print_unresolved): Use RTLD_PROGNAME.
14093 (print_missing_version): Likewise.
14094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14095 (elf_machine_rela): Likewise.
14096 * sysdeps/powerpc/powerpc32/dl-machine.c
14097 (__process_machine_rela): Likewise.
14098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14099 Likewise.
14100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14101 Likewise.
14102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14103 Likewise.
14104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14106 Likewise.
14107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14108 Likewise.
14109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14110
8a9f20c8
CD
141112013-05-28 Carlos O'Donell <carlos@redhat.com>
14112
14113 * po/be.po: Add descriptive title.
14114 * po/zh_CN.po: Likewise.
14115 * po/header.pot: Likewise.
14116
0e60d68e
MF
141172013-05-28 Mike Frysinger <vapier@gentoo.org>
14118
14119 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14120 error message.
14121 (enlarge_archive): Likewise.
14122
56b672e9
BN
141232013-05-28 Ben North <ben@redfrontdoor.org>
14124
14125 * manual/arith.texi (frexp): It is the magnitude of the return
14126 value which lies in [0.5, 1), not the return value itself.
14127
5e056687
AZ
141282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14129
14130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131
2b66ef5d
TS
141322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14133
528c2405
TS
14134 * stdio-common/bug26.c (main): Correct fscanf template.
14135
07b4c13d
TS
14136 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14137 declare _dl_skip_args.
14138
ec9dd97c
TS
14139 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14140 Don't declare.
14141
2b66ef5d
TS
14142 * manual/platform.texi: Add missing @end deftypefun.
14143
4f8dfe27
JM
141442013-05-24 Joseph Myers <joseph@codesourcery.com>
14145
0323d086
JM
14146 [BZ #15529]
14147 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14148 bit of mantissa of 2^16382.
14149 * math/libm-test.inc (hypot_test_data): Add more tests.
14150
dd4259b9
JM
14151 * math/libm-test.inc: Add drem and pow10 to list of tested
14152 functions.
14153 (pow10_test): New function.
14154 (drem_test): Likewise.
14155 (drem_test_tonearest): Likewise.
14156 (drem_test_towardzero): Likewise.
14157 (drem_test_downward): Likewise.
14158 (drem_test_upward): Likewise.
14159 (main): Call the new functions.
14160
4f8dfe27
JM
14161 * math/libm-test.inc (finite_test_data): Remove.
14162 (finite_test): Run tests from isfinite_test_data.
14163 (gamma_test_data): Remove.
14164 (gamma_test): Run tests from lgamma_test_data.
14165 * sysdeps/i386/fpu/libm-test-ulps: Update.
14166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14167
d116b7c4
AZ
141682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14169
14170 * manual/platform.texi: Add PowerPC PPR function set documentation.
14171 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14172 implementation.
14173
e96e3767
CD
141742013-05-24 Carlos O'Donell <carlos@redhat.com>
14175
14176 * math/libm-test.inc (MAX_EXP): Define.
14177 (ULPDIFF): Define.
14178 (ulp): New function.
14179 (check_float_internal): Use ULPDIFF.
14180 (cpow_test): Disable failing test.
14181 (check_ulp): Test ulp() implemetnation.
14182 (main): Call check_ulp before starting tests.
14183
b679a606
JM
141842013-05-24 Joseph Myers <joseph@codesourcery.com>
14185
e8bdba36
JM
14186 * math/gen-libm-test.pl (generate_testfile): Do not handle
14187 START_DATA and END_DATA.
14188 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14189 END_DATA.
14190 (acos_tonearest_test_data): Likewise.
14191 (acos_towardzero_test_data): Likewise.
14192 (acos_downward_test_data): Likewise.
14193 (acos_upward_test_data): Likewise.
14194 (acosh_test_data): Likewise.
14195 (asin_test_data): Likewise.
14196 (asin_tonearest_test_data): Likewise.
14197 (asin_towardzero_test_data): Likewise.
14198 (asin_downward_test_data): Likewise.
14199 (asin_upward_test_data): Likewise.
14200 (asinh_test_data): Likewise.
14201 (atan_test_data): Likewise.
14202 (atanh_test_data): Likewise.
14203 (atan2_test_data): Likewise.
14204 (cabs_test_data): Likewise.
14205 (cacos_test_data): Likewise.
14206 (cacosh_test_data): Likewise.
14207 (carg_test_data): Likewise.
14208 (casin_test_data): Likewise.
14209 (casinh_test_data): Likewise.
14210 (catan_test_data): Likewise.
14211 (catanh_test_data): Likewise.
14212 (cbrt_test_data): Likewise.
14213 (ccos_test_data): Likewise.
14214 (ccosh_test_data): Likewise.
14215 (ceil_test_data): Likewise.
14216 (cexp_test_data): Likewise.
14217 (cimag_test_data): Likewise.
14218 (clog_test_data): Likewise.
14219 (clog10_test_data): Likewise.
14220 (conj_test_data): Likewise.
14221 (copysign_test_data): Likewise.
14222 (cos_test_data): Likewise.
14223 (cos_tonearest_test_data): Likewise.
14224 (cos_towardzero_test_data): Likewise.
14225 (cos_downward_test_data): Likewise.
14226 (cos_upward_test_data): Likewise.
14227 (cosh_test_data): Likewise.
14228 (cosh_tonearest_test_data): Likewise.
14229 (cosh_towardzero_test_data): Likewise.
14230 (cosh_downward_test_data): Likewise.
14231 (cosh_upward_test_data): Likewise.
14232 (cpow_test_data): Likewise.
14233 (cproj_test_data): Likewise.
14234 (creal_test_data): Likewise.
14235 (csin_test_data): Likewise.
14236 (csinh_test_data): Likewise.
14237 (csqrt_test_data): Likewise.
14238 (ctan_test_data): Likewise.
14239 (ctan_tonearest_test_data): Likewise.
14240 (ctan_towardzero_test_data): Likewise.
14241 (ctan_downward_test_data): Likewise.
14242 (ctan_upward_test_data): Likewise.
14243 (ctanh_test_data): Likewise.
14244 (ctanh_tonearest_test_data): Likewise.
14245 (ctanh_towardzero_test_data): Likewise.
14246 (ctanh_downward_test_data): Likewise.
14247 (ctanh_upward_test_data): Likewise.
14248 (erf_test_data): Likewise.
14249 (erfc_test_data): Likewise.
14250 (exp_test_data): Likewise.
14251 (exp_tonearest_test_data): Likewise.
14252 (exp_towardzero_test_data): Likewise.
14253 (exp_downward_test_data): Likewise.
14254 (exp_upward_test_data): Likewise.
14255 (exp10_test_data): Likewise.
14256 (exp2_test_data): Likewise.
14257 (expm1_test_data): Likewise.
14258 (fabs_test_data): Likewise.
14259 (fdim_test_data): Likewise.
14260 (finite_test_data): Likewise.
14261 (floor_test_data): Likewise.
14262 (fma_test_data): Likewise.
14263 (fma_towardzero_test_data): Likewise.
14264 (fma_downward_test_data): Likewise.
14265 (fma_upward_test_data): Likewise.
14266 (fmax_test_data): Likewise.
14267 (fmin_test_data): Likewise.
14268 (fmod_test_data): Likewise.
14269 (fpclassify_test_data): Likewise.
14270 (frexp_test_data): Likewise.
14271 (gamma_test_data): Likewise.
14272 (hypot_test_data): Likewise.
14273 (ilogb_test_data): Likewise.
14274 (isfinite_test_data): Likewise.
14275 (isgreater_test_data): Likewise.
14276 (isgreaterequal_test_data): Likewise.
14277 (isinf_test_data): Likewise.
14278 (isless_test_data): Likewise.
14279 (islessequal_test_data): Likewise.
14280 (islessgreater_test_data): Likewise.
14281 (isnan_test_data): Likewise.
14282 (isnormal_test_data): Likewise.
14283 (issignaling_test_data): Likewise.
14284 (isunordered_test_data): Likewise.
14285 (j0_test_data): Likewise.
14286 (j1_test_data): Likewise.
14287 (jn_test_data): Likewise.
14288 (ldexp_test_data): Likewise.
14289 (lgamma_test_data): Likewise.
14290 (lrint_test_data): Likewise.
14291 (lrint_tonearest_test_data): Likewise.
14292 (lrint_towardzero_test_data): Likewise.
14293 (lrint_downward_test_data): Likewise.
14294 (lrint_upward_test_data): Likewise.
14295 (llrint_test_data): Likewise.
14296 (llrint_tonearest_test_data): Likewise.
14297 (llrint_towardzero_test_data): Likewise.
14298 (llrint_downward_test_data): Likewise.
14299 (llrint_upward_test_data): Likewise.
14300 (log_test_data): Likewise.
14301 (log10_test_data): Likewise.
14302 (log1p_test_data): Likewise.
14303 (log2_test_data): Likewise.
14304 (logb_test_data): Likewise.
14305 (logb_downward_test_data): Likewise.
14306 (lround_test_data): Likewise.
14307 (llround_test_data): Likewise.
14308 (modf_test_data): Likewise.
14309 (nearbyint_test_data): Likewise.
14310 (nextafter_test_data): Likewise.
14311 (nexttoward_test_data): Likewise.
14312 (pow_test_data): Likewise.
14313 (pow_tonearest_test_data): Likewise.
14314 (pow_towardzero_test_data): Likewise.
14315 (pow_downward_test_data): Likewise.
14316 (pow_upward_test_data): Likewise.
14317 (remainder_test_data): Likewise.
14318 (remainder_tonearest_test_data): Likewise.
14319 (remainder_towardzero_test_data): Likewise.
14320 (remainder_downward_test_data): Likewise.
14321 (remainder_upward_test_data): Likewise.
14322 (remquo_test_data): Likewise.
14323 (rint_test_data): Likewise.
14324 (rint_tonearest_test_data): Likewise.
14325 (rint_towardzero_test_data): Likewise.
14326 (rint_downward_test_data): Likewise.
14327 (rint_upward_test_data): Likewise.
14328 (round_test_data): Likewise.
14329 (scalb_test_data): Likewise.
14330 (scalbn_test_data): Likewise.
14331 (scalbln_test_data): Likewise.
14332 (signbit_test_data): Likewise.
14333 (sin_test_data): Likewise.
14334 (sin_tonearest_test_data): Likewise.
14335 (sin_towardzero_test_data): Likewise.
14336 (sin_downward_test_data): Likewise.
14337 (sin_upward_test_data): Likewise.
14338 (sincos_test_data): Likewise.
14339 (sinh_test_data): Likewise.
14340 (sinh_tonearest_test_data): Likewise.
14341 (sinh_towardzero_test_data): Likewise.
14342 (sinh_downward_test_data): Likewise.
14343 (sinh_upward_test_data): Likewise.
14344 (sqrt_test_data): Likewise.
14345 (tan_test_data): Likewise.
14346 (tan_tonearest_test_data): Likewise.
14347 (tan_towardzero_test_data): Likewise.
14348 (tan_downward_test_data): Likewise.
14349 (tan_upward_test_data): Likewise.
14350 (tanh_test_data): Likewise.
14351 (tgamma_test_data): Likewise.
14352 (trunc_test_data): Likewise.
14353 (y0_test_data): Likewise.
14354 (y1_test_data): Likewise.
14355 (yn_test_data): Likewise.
14356 (significand_test_data): Likewise.
14357
b679a606
JM
14358 * math/gen-libm-test.pl (@functions): Remove variable.
14359 (generate_testfile): Don't handle START and END lines.
14360 * math/libm-test.inc (START): New macro.
14361 (END): Likewise.
14362 (END_COMPLEX): Likewise.
14363 (acos_test): Use END macro without arguments.
14364 (acos_test_tonearest): Likewise.
14365 (acos_test_towardzero): Likewise.
14366 (acos_test_downward): Likewise.
14367 (acos_test_upward): Likewise.
14368 (acosh_test): Likewise.
14369 (asin_test): Likewise.
14370 (asin_test_tonearest): Likewise.
14371 (asin_test_towardzero): Likewise.
14372 (asin_test_downward): Likewise.
14373 (asin_test_upward): Likewise.
14374 (asinh_test): Likewise.
14375 (atan_test): Likewise.
14376 (atanh_test): Likewise.
14377 (atan2_test): Likewise.
14378 (cabs_test): Likewise.
14379 (cacos_test): Use END_COMPLEX macro without arguments.
14380 (cacosh_test): Likewise.
14381 (carg_test): Use END macro without arguments.
14382 (casin_test): Use END_COMPLEX macro without arguments.
14383 (casinh_test): Likewise.
14384 (catan_test): Likewise.
14385 (catanh_test): Likewise.
14386 (cbrt_test): Use END macro without arguments.
14387 (ccos_test): Use END_COMPLEX macro without arguments.
14388 (ccosh_test): Likewise.
14389 (ceil_test): Use END macro without arguments.
14390 (cexp_test): Use END_COMPLEX macro without arguments.
14391 (cimag_test): Use END macro without arguments.
14392 (clog_test): Use END_COMPLEX macro without arguments.
14393 (clog10_test): Likewise.
14394 (conj_test): Likewise.
14395 (copysign_test): Use END macro without arguments.
14396 (cos_test): Likewise.
14397 (cos_test_tonearest): Likewise.
14398 (cos_test_towardzero): Likewise.
14399 (cos_test_downward): Likewise.
14400 (cos_test_upward): Likewise.
14401 (cosh_test): Likewise.
14402 (cosh_test_tonearest): Likewise.
14403 (cosh_test_towardzero): Likewise.
14404 (cosh_test_downward): Likewise.
14405 (cosh_test_upward): Likewise.
14406 (cpow_test): Use END_COMPLEX macro without arguments.
14407 (cproj_test): Likewise.
14408 (creal_test): Use END macro without arguments.
14409 (csin_test): Use END_COMPLEX macro without arguments.
14410 (csinh_test): Likewise.
14411 (csqrt_test): Likewise.
14412 (ctan_test): Likewise.
14413 (ctan_test_tonearest): Likewise.
14414 (ctan_test_towardzero): Likewise.
14415 (ctan_test_downward): Likewise.
14416 (ctan_test_upward): Likewise.
14417 (ctanh_test): Likewise.
14418 (ctanh_test_tonearest): Likewise.
14419 (ctanh_test_towardzero): Likewise.
14420 (ctanh_test_downward): Likewise.
14421 (ctanh_test_upward): Likewise.
14422 (erf_test): Use END macro without arguments.
14423 (erfc_test): Likewise.
14424 (exp_test): Likewise.
14425 (exp_test_tonearest): Likewise.
14426 (exp_test_towardzero): Likewise.
14427 (exp_test_downward): Likewise.
14428 (exp_test_upward): Likewise.
14429 (exp10_test): Likewise.
14430 (exp2_test): Likewise.
14431 (expm1_test): Likewise.
14432 (fabs_test): Likewise.
14433 (fdim_test): Likewise.
14434 (finite_test): Likewise.
14435 (floor_test): Likewise.
14436 (fma_test): Likewise.
14437 (fma_test_towardzero): Likewise.
14438 (fma_test_downward): Likewise.
14439 (fma_test_upward): Likewise.
14440 (fmax_test): Likewise.
14441 (fmin_test): Likewise.
14442 (fmod_test): Likewise.
14443 (fpclassify_test): Likewise.
14444 (frexp_test): Likewise.
14445 (gamma_test): Likewise.
14446 (hypot_test): Likewise.
14447 (ilogb_test): Likewise.
14448 (isfinite_test): Likewise.
14449 (isgreater_test): Likewise.
14450 (isgreaterequal_test): Likewise.
14451 (isinf_test): Likewise.
14452 (isless_test): Likewise.
14453 (islessequal_test): Likewise.
14454 (islessgreater_test): Likewise.
14455 (isnan_test): Likewise.
14456 (isnormal_test): Likewise.
14457 (issignaling_test): Likewise.
14458 (isunordered_test): Likewise.
14459 (j0_test): Likewise.
14460 (j1_test): Likewise.
14461 (jn_test): Likewise.
14462 (ldexp_test): Likewise.
14463 (lgamma_test): Likewise.
14464 (lrint_test): Likewise.
14465 (lrint_test_tonearest): Likewise.
14466 (lrint_test_towardzero): Likewise.
14467 (lrint_test_downward): Likewise.
14468 (lrint_test_upward): Likewise.
14469 (llrint_test): Likewise.
14470 (llrint_test_tonearest): Likewise.
14471 (llrint_test_towardzero): Likewise.
14472 (llrint_test_downward): Likewise.
14473 (llrint_test_upward): Likewise.
14474 (log_test): Likewise.
14475 (log10_test): Likewise.
14476 (log1p_test): Likewise.
14477 (log2_test): Likewise.
14478 (logb_test): Likewise.
14479 (logb_test_downward): Likewise.
14480 (lround_test): Likewise.
14481 (llround_test): Likewise.
14482 (modf_test): Likewise.
14483 (nearbyint_test): Likewise.
14484 (nextafter_test): Likewise.
14485 (nexttoward_test): Likewise.
14486 (pow_test): Likewise.
14487 (pow_test_tonearest): Likewise.
14488 (pow_test_towardzero): Likewise.
14489 (pow_test_downward): Likewise.
14490 (pow_test_upward): Likewise.
14491 (remainder_test): Likewise.
14492 (remainder_test_tonearest): Likewise.
14493 (remainder_test_towardzero): Likewise.
14494 (remainder_test_downward): Likewise.
14495 (remainder_test_upward): Likewise.
14496 (remquo_test): Likewise.
14497 (rint_test): Likewise.
14498 (rint_test_tonearest): Likewise.
14499 (rint_test_towardzero): Likewise.
14500 (rint_test_downward): Likewise.
14501 (rint_test_upward): Likewise.
14502 (round_test): Likewise.
14503 (scalb_test): Likewise.
14504 (scalbn_test): Likewise.
14505 (scalbln_test): Likewise.
14506 (signbit_test): Likewise.
14507 (sin_test): Likewise.
14508 (sin_test_tonearest): Likewise.
14509 (sin_test_towardzero): Likewise.
14510 (sin_test_downward): Likewise.
14511 (sin_test_upward): Likewise.
14512 (sincos_test): Likewise.
14513 (sinh_test): Likewise.
14514 (sinh_test_tonearest): Likewise.
14515 (sinh_test_towardzero): Likewise.
14516 (sinh_test_downward): Likewise.
14517 (sinh_test_upward): Likewise.
14518 (sqrt_test): Likewise.
14519 (tan_test): Likewise.
14520 (tan_test_tonearest): Likewise.
14521 (tan_test_towardzero): Likewise.
14522 (tan_test_downward): Likewise.
14523 (tan_test_upward): Likewise.
14524 (tanh_test): Likewise.
14525 (tgamma_test): Likewise.
14526 (trunc_test): Likewise.
14527 (y0_test): Likewise.
14528 (y1_test): Likewise.
14529 (yn_test): Likewise.
14530 (significand_test): Likewise.
14531
bae143d2
OB
145322013-05-24 Ondřej Bílka <neleai@seznam.cz>
14533
14534 [BZ #15381]
14535 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14536
9323d39b
EM
145372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14538
d4ea44a0 14539 [BZ #14894]
9323d39b
EM
14540 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14541 __ppc_mdoio and __ppc_mdoom.
14542 * manual/platform.texi: Document new functions __ppc_yield,
14543 __ppc_mdoio and __ppc_mdoom.
14544
13e23af7
CD
145452013-05-22 Carlos O'Donell <carlos@redhat.com>
14546
14547 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14548 (main): Mention "tls" pseudo-hwcap is legacy.
14549 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14550
351fe550
JM
145512013-05-22 Joseph Myers <joseph@codesourcery.com>
14552
14553 * math/gen-libm-test.pl (parse_args): Output only string of
14554 arguments as text for test name, not full call or descriptions of
14555 tests for extra outputs.
14556 (generate_testfile): Do not pass function name to parse_args.
14557 Generate this_func variable from START.
14558 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14559 field to arg_str.
14560 (struct test_ff_f_data): Likewise.
14561 (test_ff_f_data_nexttoward): Likewise.
14562 (struct test_fi_f_data): Likewise.
14563 (struct test_fl_f_data): Likewise.
14564 (struct test_if_f_data): Likewise.
14565 (struct test_fff_f_data): Likewise.
14566 (struct test_c_f_data): Likewise.
14567 (struct test_f_f1_data): Likewise. Remove field extra_name.
14568 (struct test_fF_f1_data): Likewise.
14569 (struct test_ffI_f1_data): Likewise.
14570 (struct test_c_c_data): Rename test_name field to arg_str.
14571 (struct test_cc_c_data): Likewise.
14572 (struct test_f_i_data): Likewise.
14573 (struct test_ff_i_data): Likewise.
14574 (struct test_f_l_data): Likewise.
14575 (struct test_f_L_data): Likewise.
14576 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14577 and extra2_name.
14578 (COMMON_TEST_SETUP): New macro.
14579 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14580 (COMMON_TEST_CLEANUP): Likewise.
14581 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14582 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14583 macros.
14584 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14585 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14586 macros.
14587 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14588 (RUN_TEST_fff_f): Take argument string. Call new setup and
14589 cleanup macros.
14590 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14591 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14592 macros.
14593 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14594 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14595 macros.
14596 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14597 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14598 cleanup macros.
14599 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14600 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14601 cleanup macros.
14602 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14603 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14604 cleanup macros.
14605 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14606 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14607 macros.
14608 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14609 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14610 macros.
14611 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14612 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14613 macros.
14614 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14615 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14616 cleanup macros.
14617 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14618 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14619 cleanup macros.
14620 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14621 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14622 macros.
14623 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14624 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14625 cleanup macros.
14626 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14627 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14628 macros.
14629 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14630 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14631 macros.
14632 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14633 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14634 cleanup macros.
14635 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14636
85118d4d
EBM
146372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14638
14639 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14640 to _sifields.sigfault.
14641 (si_addr_lsb): Define new macro.
14642 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14644 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14645
7a44c18f
CD
146462013-05-03 Carlos O'Donell <carlos at redhat.com>
14647
14648 [BZ #15441]
14649 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14650 returns -1.
14651 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14652 null return -1.
14653 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14654 loading the domain.
14655
b50a7181
JM
146562013-05-22 Joseph Myers <joseph@codesourcery.com>
14657
14658 * math/gen-libm-test.pl (parse_args): Do not include expected
14659 result in test name.
14660 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14662 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14664 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666
051063c8
SP
146672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14668
3ce9e010
SP
14669 * benchtests/Makefile: Sort function entries.
14670
051063c8
SP
14671 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14672 tanh, asinh, acosh, atanh.
14673 * benchtests/acos-inputs: New file.
14674 * benchtests/acosh-inputs: New file.
14675 * benchtests/asin-inputs: New file.
14676 * benchtests/asinh-inputs: New file.
14677 * benchtests/atanh-inputs: New file.
14678 * benchtests/cosh-inputs: New file.
14679 * benchtests/log-inputs: New file.
14680 * benchtests/sinh-inputs: New file.
14681 * benchtests/tanh-inputs: New file.
14682
47c22455
DL
146832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14684
14685 [BZ #15339]
14686 * posix/tst-getaddrinfo4.c: New test.
14687 * posix/Makefile (tests): Add it.
14688
3d04f5db
SP
146892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14690
14691 [BZ #15339]
14692 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14693 when no services were used.
14694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14695 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14696
d5dd6189
AS
146972013-05-21 Andreas Schwab <schwab@suse.de>
14698
14699 [BZ #15014]
14700 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14701 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14702 successful.
14703 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14704 redundant variable declarations and reallocation of buffer when
14705 parsing as IPv6 address. Always set NSS status when called from
14706 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14707 buffer too small. Correct computation of needed size.
14708 * nss/Makefile (tests): Add test-digits-dots.
14709 * nss/test-digits-dots.c: New test.
14710
fef94eab
SP
147112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 * benchtests/Makefile: Remove instructions for adding
14714 benchmark tests.
14715 * benchtests/README: New file to explain how to execute and
14716 enhance the benchmark tests.
14717
e39adf43
AS
147182013-05-21 Andreas Schwab <schwab@suse.de>
14719
14720 [BZ #15493]
14721 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14722 * setjmp/tst-sigsetjmp.c: New test.
14723
b2b671b6
OB
147242013-05-20 Ondřej Bílka <neleai@seznam.cz>
14725
14726 * sysdeps/x86_64/memset.S (memset): New implementation.
14727 (__bzero): Likewise.
14728 (__memset_tail): New function.
14729
2d48b41c
OB
147302013-05-20 Ondřej Bílka <neleai@seznam.cz>
14731
14732 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14733 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14734 __memcpy_sse2_unaligned ifunc selection.
14735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14736 Add memcpy-sse2-unaligned.S.
14737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14738 Add: __memcpy_sse2_unaligned.
14739
f16cc3eb
JM
147402013-05-19 Joseph Myers <joseph@codesourcery.com>
14741
3e694268
JM
14742 [BZ #15490]
14743 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14744 math_force_eval before restoring floating-point envrionment.
14745 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14747 Likewise.
14748 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14749 <math_private.h>.
14750 (__nearbyintl): Use math_force_eval before restoring
14751 floating-point environment.
14752 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14753
db62a907
JM
14754 * math/gen-libm-test.pl (special_functions): Remove.
14755 (parse_args): Don't handle TEST_extra. Handle functions with no
14756 return value.
14757 * math/libm-test.inc (struct test_sincos_data): Replace with
14758 struct test_fFF_11_data.
14759 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14760 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14761 (sincos_test_data): Change element type to struct
14762 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14763 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14764 RUN_TEST_LOOP_sincos.
14765 * math/README.libm-test: Don't mention special handling of
14766 individual functions.
14767 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14768 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14769 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14770 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14773
f16cc3eb
JM
14774 * math/gen-libm-test.pl (get_variable): Remove function.
14775 (parse_args): Don't show pointer parameters to call in test
14776 names. Use "extra output N" in test names for extra outputs
14777 rather than naming variables.
14778
3779b5b6
JM
147792013-05-18 Joseph Myers <joseph@codesourcery.com>
14780
2ee094ff
JM
14781 [BZ #15488]
14782 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14783 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14784 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14785 double tests.
14786 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14787 disable.
14788 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14789 check_long_double.
14790
3779b5b6
JM
14791 * math/gen-libm-test.pl (@tests): Remove variable.
14792 ($count): Likewise.
14793 (new_test): Remove function.
14794 (show_exceptions): New function.
14795 (special_functions): Use show_exceptions instead of new_test.
14796 (parse_args): Likewise.
14797 (generate_testfile): Pass only function name in generated call to
14798 print_max_error or print_complex_max_error.
14799 (get_ulps): Do not handle complex tests specially.
14800 (output_test): Rename to ...
14801 (get_all_ulps_for_test): ... this. Return a string rather than
14802 printing to a file. Require ulps to be present.
14803 (output_ulps): Generate arrays rather than #defines.
14804 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14805 (struct ulp_data): New type.
14806 (BUILD_COMPLEX_ULP): Remove macro.
14807 (compare_ulp_data): New function.
14808 (find_ulps): Likewise.
14809 (find_test_ulps): Likewise.
14810 (find_function_ulps): Likewise.
14811 (find_complex_function_ulps): Likewise.
14812 (print_max_error): Determine allowed ulps using
14813 find_function_ulps.
14814 (print_complex_max_error): Determine allowed ulps using
14815 find_complex_function_ulps.
14816 (check_float_internal): Determine max ulps using find_test_ulps.
14817 (check_float): Do not take max_ulp parameter. Update call to
14818 check_float_internal.
14819 (check_complex): Likewise.
14820 (check_int): Do not take max_ulp parameter.
14821 (check_long): Likewise.
14822 (check_bool): Likewise.
14823 (check_longlong): Likewise.
14824 (struct test_f_f_data): Remove max_ulp field.
14825 (struct test_ff_f_data): Likewise.
14826 (struct test_ff_f_data_nexttoward): Likewise.
14827 (struct test_fi_f_data): Likewise.
14828 (struct test_fl_f_data): Likewise.
14829 (struct test_if_f_data): Likewise.
14830 (struct test_fff_f_data): Likewise.
14831 (struct test_c_f_data): Likewise.
14832 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14833 (struct test_fF_f1_data): Likewise.
14834 (struct test_ffI_f1_data): Likewise.
14835 (struct test_c_c_data): Remove max_ulp field.
14836 (struct test_cc_c_data): Likewise.
14837 (struct test_f_i_data): Likewise.
14838 (struct test_ff_i_data): Likewise.
14839 (struct test_f_l_data): Likewise.
14840 (struct test_f_L_data): Likewise.
14841 (struct test_sincos_data): Likewise.
14842 (RUN_TEST_f_f): Do not handle ulps.
14843 (RUN_TEST_LOOP_f_f): Likewise.
14844 (RUN_TEST_2_f): Likewise.
14845 (RUN_TEST_LOOP_2_f): Likewise.
14846 (RUN_TEST_fff_f): Likewise.
14847 (RUN_TEST_LOOP_fff_f): Likewise.
14848 (RUN_TEST_c_f): Likewise.
14849 (RUN_TEST_LOOP_c_f): Likewise.
14850 (RUN_TEST_f_f1): Likewise.
14851 (RUN_TEST_LOOP_f_f1): Likewise.
14852 (RUN_TEST_fF_f1): Likewise.
14853 (RUN_TEST_LOOP_fF_f1): Likewise.
14854 (RUN_TEST_fI_f1): Likewise.
14855 (RUN_TEST_LOOP_fI_f1): Likewise.
14856 (RUN_TEST_ffI_f1): Likewise.
14857 (RUN_TEST_LOOP_ffI_f1): Likewise.
14858 (RUN_TEST_c_c): Likewise.
14859 (RUN_TEST_LOOP_c_c): Likewise.
14860 (RUN_TEST_cc_c): Likewise.
14861 (RUN_TEST_LOOP_cc_c): Likewise.
14862 (RUN_TEST_f_i): Likewise.
14863 (RUN_TEST_LOOP_f_i): Likewise.
14864 (RUN_TEST_f_i_tg): Likewise.
14865 (RUN_TEST_LOOP_f_i_tg): Likewise.
14866 (RUN_TEST_ff_i_tg): Likewise.
14867 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14868 (RUN_TEST_f_b): Likewise.
14869 (RUN_TEST_LOOP_f_b): Likewise.
14870 (RUN_TEST_f_b_tg): Likewise.
14871 (RUN_TEST_LOOP_f_b_tg): Likewise.
14872 (RUN_TEST_f_l): Likewise.
14873 (RUN_TEST_LOOP_f_l): Likewise.
14874 (RUN_TEST_f_L): Likewise.
14875 (RUN_TEST_LOOP_f_L): Likewise.
14876 (RUN_TEST_sincos): Likewise.
14877 (RUN_TEST_LOOP_sincos): Likewise.
14878
8269107f
JM
148792013-05-17 Joseph Myers <joseph@codesourcery.com>
14880
bb38759d
JM
14881 [BZ #15480]
14882 [BZ #15485]
14883 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14884 main case of finite arguments, set rounding mode to FE_TONEAREST
14885 and discard exceptions.
14886 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14887 exceptions.
14888 (remainder_tonearest_test_data): New variable.
14889 (remainder_test_tonearest): New function.
14890 (remainder_towardzero_test_data): New variable.
14891 (remainder_test_towardzero): New function.
14892 (remainder_downward_test_data): New variable.
14893 (remainder_test_downward): New function.
14894 (remainder_upward_test_data): New variable.
14895 (remainder_test_upward): New function.
14896 (main): Call the new test functions.
14897
a00bdcf0
JM
14898 * math/libm-test.inc (struct test_f_f1_data): Remove field
14899 extra_init.
14900 (struct test_fF_f1_data): Likewise.
14901 (struct test_ffI_f1_data): Likewise.
14902 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14903 based on value of EXTRA_EXPECTED.
14904 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14905 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14906 EXTRA_VAR based on value of EXTRA_EXPECTED.
14907 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14908 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14909 EXTRA_VAR based on value of EXTRA_EXPECTED.
14910 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14911 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14912 EXTRA_VAR based on value of EXTRA_EXPECTED.
14913 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14914 * math/gen-libm-test.pl (parse_args): Don't output initializers
14915 for extra output values.
14916
de407f79
JM
14917 * math/libm-test.inc (check_int): Expect result to be exactly
14918 equal to expected value and do not handle ulps.
14919 (check_long): Likewise.
14920 (check_longlong): Likewise.
14921
8269107f
JM
14922 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14923 exceptions.
14924 (cimag_test_data): Likewise.
14925 (conj_test_data): Likewise.
14926 (copysign_test_data): Likewise.
14927 (cproj_test_data): Likewise.
14928 (creal_test_data): Likewise.
14929 (fabs_test_data): Likewise.
14930 (fdim_test_data): Likewise.
14931 (finite_test_data): Likewise.
14932 (floor_test_data): Likewise.
14933 (fmax_test_data): Likewise.
14934 (fmin_test_data): Likewise.
14935 (fmod_test_data): Likewise.
14936 (fpclassify_test_data): Likewise.
14937 (frexp_test_data): Likewise.
14938 (ilogb_test_data): Likewise.
14939 (isfinite_test_data): Likewise.
14940 (isgreater_test_data): Likewise.
14941 (isgreaterequal_test_data): Likewise.
14942 (isinf_test_data): Likewise.
14943 (isless_test_data): Likewise.
14944 (islessequal_test_data): Likewise.
14945 (islessgreater_test_data): Likewise.
14946 (isnan_test_data): Likewise.
14947 (isnormal_test_data): Likewise.
14948 (issignaling_test_data): Likewise.
14949 (isunordered_test_data): Likewise.
14950 (ldexp_test_data): Likewise.
14951 (lrint_test_data): Likewise.
14952 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14953 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14954 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14955 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14956 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14957 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14958 test input.
14959 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14960 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14961 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14962 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14963 that test input.
14964 (lrint_downward_test_data): Test for "inexact" exceptions.
14965 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14966 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14967 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14968 test input.
14969 (lrint_upward_test_data): Test for "inexact" exceptions.
14970 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14971 test input.
14972 (llrint_test_data): Test for "inexact" exceptions.
14973 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14974 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14975 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14976 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14977 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14978 (llrint_downward_test_data): Test for "inexact" exceptions.
14979 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14980 (llrint_upward_test_data): Test for "inexact" exceptions.
14981 (logb_test_data): Likewise.
14982 (logb_downward_test_data): Likewise.
14983 (nextafter_test_data): Likewise.
14984 (nexttoward_test_data): Likewise.
14985 (remainder_test_data): Likewise.
14986 (remquo_test_data): Likewise.
14987 (scalbn_test_data): Likewise.
14988 (scalbln_test_data): Likewise.
14989 (signbit_test_data): Likewise.
14990 (sqrt_test_data): Likewise.
14991 (significand_test_data): Likewise.
14992
48a18de1
SP
149932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14994
14995 [BZ #15424]
14996 * benchtests/bench-modf.c (struct args): Mark arg0 as
14997 volatile.
14998 * scripts/bench.pl: Mark members of struct args as volatile.
14999
13d3b41a
AZ
150002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15001
68191c1d 15002 [BZ # 15497]
13d3b41a
AZ
15003 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15004 negative infinity on POWER6 or lower.
15005 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15006
2848b105
MR
150072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15008
15009 [BZ #15442]
15010 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15011 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15012 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15013 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15014 (_FP_SETQNAN): New macro.
15015 (_FP_SETQNAN_SEMIRAW): Likewise.
15016 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15017 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15018 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15019 (FP_EXTEND): Use _FP_FRAC_SNANP.
15020 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15021 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15022 into account.
15023 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15024 New macro.
15025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15026 Likewise.
15027
323e5cb7
JM
150282013-05-16 Joseph Myers <joseph@codesourcery.com>
15029
c58b274f
JM
15030 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15031 with DIVIDE_BY_ZERO_EXCEPTION.
15032 (gamma_test_data): Likewise.
15033 (lgamma_test_data): Likewise.
15034 (log_test_data): Likewise.
15035 (log10_test_data): Likewise.
15036 (log2_test_data): Likewise.
15037 (tgamma_test_data): Likewise.
15038
0ab34904
JM
15039 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15040 (acos_test_tonearest): Likewise.
15041 (acos_test_towardzero): Likewise.
15042 (acos_test_downward): Likewise.
15043 (acos_test_upward): Likewise.
15044 (acosh_test): Likewise.
15045 (asin_test): Likewise.
15046 (asin_test_tonearest): Likewise.
15047 (asin_test_towardzero): Likewise.
15048 (asin_test_downward): Likewise.
15049 (asin_test_upward): Likewise.
15050 (asinh_test): Likewise.
15051 (atan_test): Likewise.
15052 (atanh_test): Likewise.
15053 (atan2_test): Likewise.
15054 (cabs_test): Likewise.
15055 (cacos_test): Likewise.
15056 (cacosh_test): Likewise.
15057 (casin_test): Likewise.
15058 (casinh_test): Likewise.
15059 (catan_test): Likewise.
15060 (catanh_test): Likewise.
15061 (cbrt_test): Likewise.
15062 (ccos_test): Likewise.
15063 (ccosh_test): Likewise.
15064 (cexp_test): Likewise.
15065 (clog_test): Likewise.
15066 (clog10_test): Likewise.
15067 (cos_test): Likewise.
15068 (cos_test_tonearest): Likewise.
15069 (cos_test_towardzero): Likewise.
15070 (cos_test_downward): Likewise.
15071 (cos_test_upward): Likewise.
15072 (cosh_test): Likewise.
15073 (cosh_test_tonearest): Likewise.
15074 (cosh_test_towardzero): Likewise.
15075 (cosh_test_downward): Likewise.
15076 (cosh_test_upward): Likewise.
15077 (cpow_test): Likewise.
15078 (csin_test): Likewise.
15079 (csinh_test): Likewise.
15080 (csqrt_test): Likewise.
15081 (ctan_test): Likewise.
15082 (ctan_test_tonearest): Likewise.
15083 (ctan_test_towardzero): Likewise.
15084 (ctan_test_downward): Likewise.
15085 (ctan_test_upward): Likewise.
15086 (ctanh_test): Likewise.
15087 (ctanh_test_tonearest): Likewise.
15088 (ctanh_test_towardzero): Likewise.
15089 (ctanh_test_downward): Likewise.
15090 (ctanh_test_upward): Likewise.
15091 (erf_test): Likewise.
15092 (erfc_test): Likewise.
15093 (exp_test): Likewise.
15094 (exp_test_tonearest): Likewise.
15095 (exp_test_towardzero): Likewise.
15096 (exp_test_downward): Likewise.
15097 (exp_test_upward): Likewise.
15098 (exp10_test): Likewise.
15099 (exp2_test): Likewise.
15100 (expm1_test): Likewise.
15101 (fmod_test): Likewise.
15102 (gamma_test): Likewise.
15103 (hypot_test): Likewise.
15104 (j0_test): Likewise.
15105 (j1_test): Likewise.
15106 (jn_test): Likewise.
15107 (lgamma_test): Likewise.
15108 (log_test): Likewise.
15109 (log10_test): Likewise.
15110 (log1p_test): Likewise.
15111 (log2_test): Likewise.
15112 (logb_test_downward): Likewise.
15113 (pow_test): Likewise.
15114 (pow_test_tonearest): Likewise.
15115 (pow_test_towardzero): Likewise.
15116 (pow_test_downward): Likewise.
15117 (pow_test_upward): Likewise.
15118 (remainder_test): Likewise.
15119 (remquo_test): Likewise.
15120 (sin_test): Likewise.
15121 (sin_test_tonearest): Likewise.
15122 (sin_test_towardzero): Likewise.
15123 (sin_test_downward): Likewise.
15124 (sin_test_upward): Likewise.
15125 (sincos_test): Likewise.
15126 (sinh_test): Likewise.
15127 (sinh_test_tonearest): Likewise.
15128 (sinh_test_towardzero): Likewise.
15129 (sinh_test_downward): Likewise.
15130 (sinh_test_upward): Likewise.
15131 (sqrt_test): Likewise.
15132 (tan_test): Likewise.
15133 (tan_test_tonearest): Likewise.
15134 (tan_test_towardzero): Likewise.
15135 (tan_test_downward): Likewise.
15136 (tan_test_upward): Likewise.
15137 (tanh_test): Likewise.
15138 (tgamma_test): Likewise.
15139 (y0_test): Likewise.
15140 (y1_test): Likewise.
15141 (yn_test): Likewise.
15142
323e5cb7
JM
15143 * math/gen-libm-test.pl (adjust_arg): Remove function.
15144 (special_function): Remove argument $in_func. Only handle
15145 generating output for tables of tests, not inside functions.
15146 (parse_args): Likewise.
15147 (generate_testfile): Remove variable $in_func. Update call to
15148 parse_args.
15149 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15150 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15151 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15152 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15153 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15154 (MAX_VALUE_INIT): Rename macro to max_value.
15155 (MIN_VALUE_INIT): Rename macro to min_value.
15156 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15157 (plus_zero): Remove variable.
15158 (minus_zero): Likewise.
15159 (plus_infty): Likewise.
15160 (minus_infty): Likewise.
15161 (qnan_value): Likewise.
15162 (max_value): Likewise.
15163 (min_value): Likewise.
15164 (min_subnorm_value): Likewise.
15165
e054f494
RA
151662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15167
15168 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15169 uint64_t or uint32_t usage.
15170 * crypt/sha256-block.c: Likewise.
15171 * crypt/sha256-crypt.c: Likewise.
15172 * crypt/sha256.c: Likewise.
15173 * crypt/sha512-block.c: Likewise.
15174 * crypt/sha512-crypt.c: Likewise.
15175 * crypt/sha512.c: Likewise.
15176 * debug/backtrace-tst.c: Likewise.
15177 * debug/pcprofiledump.c: Likewise.
15178 * elf/cache.c: Likewise.
15179 * elf/dl-cache.c: Likewise.
15180 * elf/dl-misc.c: Likewise.
15181 * elf/dl-profile.c: Likewise.
15182 * elf/dl-support.c: Likewise.
15183 * elf/ldconfig.c: Likewise.
15184 * elf/sprof.c: Likewise.
15185 * iconv/dummy-repertoire.c: Likewise.
15186 * iconv/iconv_charmap.c: Likewise.
15187 * iconv/skeleton.c: Likewise.
15188 * iconvdata/8bit-generic.c: Likewise.
15189 * iconvdata/cp737.h: Likewise.
15190 * iconvdata/cp775.h: Likewise.
15191 * iconvdata/ibm1008.h: Likewise.
15192 * iconvdata/ibm1025.h: Likewise.
15193 * iconvdata/ibm1046.h: Likewise.
15194 * iconvdata/ibm1097.h: Likewise.
15195 * iconvdata/ibm1112.h: Likewise.
15196 * iconvdata/ibm1122.h: Likewise.
15197 * iconvdata/ibm1123.h: Likewise.
15198 * iconvdata/ibm1124.h: Likewise.
15199 * iconvdata/ibm1129.h: Likewise.
15200 * iconvdata/ibm1130.h: Likewise.
15201 * iconvdata/ibm1132.h: Likewise.
15202 * iconvdata/ibm1133.h: Likewise.
15203 * iconvdata/ibm1137.h: Likewise.
15204 * iconvdata/ibm1140.h: Likewise.
15205 * iconvdata/ibm1141.h: Likewise.
15206 * iconvdata/ibm1142.h: Likewise.
15207 * iconvdata/ibm1143.h: Likewise.
15208 * iconvdata/ibm1144.h: Likewise.
15209 * iconvdata/ibm1145.h: Likewise.
15210 * iconvdata/ibm1146.h: Likewise.
15211 * iconvdata/ibm1147.h: Likewise.
15212 * iconvdata/ibm1148.h: Likewise.
15213 * iconvdata/ibm1149.h: Likewise.
15214 * iconvdata/ibm1153.h: Likewise.
15215 * iconvdata/ibm1154.h: Likewise.
15216 * iconvdata/ibm1155.h: Likewise.
15217 * iconvdata/ibm1156.h: Likewise.
15218 * iconvdata/ibm1157.h: Likewise.
15219 * iconvdata/ibm1158.h: Likewise.
15220 * iconvdata/ibm1160.h: Likewise.
15221 * iconvdata/ibm1161.h: Likewise.
15222 * iconvdata/ibm1162.h: Likewise.
15223 * iconvdata/ibm1163.h: Likewise.
15224 * iconvdata/ibm1164.h: Likewise.
15225 * iconvdata/ibm1166.h: Likewise.
15226 * iconvdata/ibm1167.h: Likewise.
15227 * iconvdata/ibm12712.h: Likewise.
15228 * iconvdata/ibm1390.h: Likewise.
15229 * iconvdata/ibm1399.h: Likewise.
15230 * iconvdata/ibm16804.h: Likewise.
15231 * iconvdata/ibm4517.h: Likewise.
15232 * iconvdata/ibm4899.h: Likewise.
15233 * iconvdata/ibm4909.h: Likewise.
15234 * iconvdata/ibm4971.h: Likewise.
15235 * iconvdata/ibm5347.h: Likewise.
15236 * iconvdata/ibm803.h: Likewise.
15237 * iconvdata/ibm856.h: Likewise.
15238 * iconvdata/ibm901.h: Likewise.
15239 * iconvdata/ibm902.h: Likewise.
15240 * iconvdata/ibm9030.h: Likewise.
15241 * iconvdata/ibm9066.h: Likewise.
15242 * iconvdata/ibm921.h: Likewise.
15243 * iconvdata/ibm922.h: Likewise.
15244 * iconvdata/ibm9448.h: Likewise.
15245 * iconvdata/isiri-3342.h: Likewise.
15246 * iconvdata/jis0201.h: Likewise.
15247 * include/link.h: Likewise.
15248 * include/netdb.h: Likewise.
15249 * inet/check_native.c: Likewise.
15250 * inet/check_pf.c: Likewise.
15251 * inet/getipv4sourcefilter.c: Likewise.
15252 * inet/getnameinfo.c: Likewise.
15253 * inet/getsourcefilter.c: Likewise.
15254 * inet/htonl.c: Likewise.
15255 * inet/setipv4sourcefilter.c: Likewise.
15256 * inet/setsourcefilter.c: Likewise.
15257 * inet/test-inet6_opt.c: Likewise.
15258 * inet/tst-network.c: Likewise.
15259 * locale/C-collate.c: Likewise.
15260 * locale/C-ctype.c: Likewise.
15261 * locale/C-time.c: Likewise.
15262 * locale/C-translit.h: Likewise.
15263 * locale/loadarchive.c: Likewise.
15264 * locale/programs/3level.h: Likewise.
15265 * locale/programs/charmap.c: Likewise.
15266 * locale/programs/charmap.h: Likewise.
15267 * locale/programs/ld-address.c: Likewise.
15268 * locale/programs/ld-collate.c: Likewise.
15269 * locale/programs/ld-ctype.c: Likewise.
15270 * locale/programs/ld-identification.c: Likewise.
15271 * locale/programs/ld-measurement.c: Likewise.
15272 * locale/programs/ld-messages.c: Likewise.
15273 * locale/programs/ld-monetary.c: Likewise.
15274 * locale/programs/ld-name.c: Likewise.
15275 * locale/programs/ld-numeric.c: Likewise.
15276 * locale/programs/ld-paper.c: Likewise.
15277 * locale/programs/ld-telephone.c: Likewise.
15278 * locale/programs/ld-time.c: Likewise.
15279 * locale/programs/linereader.c: Likewise.
15280 * locale/programs/locale.c: Likewise.
15281 * locale/programs/locarchive.c: Likewise.
15282 * locale/programs/locfile.h: Likewise.
15283 * locale/programs/repertoire.c: Likewise.
15284 * locale/programs/simple-hash.c: Likewise.
15285 * locale/programs/simple-hash.h: Likewise.
15286 * malloc/memusage.c: Likewise.
15287 * malloc/memusagestat.c: Likewise.
15288 * nis/nis_defaults.c: Likewise.
15289 * nis/nis_hash.c: Likewise.
15290 * nis/nis_print.c: Likewise.
15291 * nis/nis_xdr.c: Likewise.
15292 * nscd/connections.c: Likewise.
15293 * nscd/hstcache.c: Likewise.
15294 * nscd/nscd_gethst_r.c: Likewise.
15295 * nscd/nscd_getserv_r.c: Likewise.
15296 * nscd/nscd_helper.c: Likewise.
15297 * nscd/servicescache.c: Likewise.
15298 * nss/makedb.c: Likewise.
15299 * nss/nss_db/db-XXX.c: Likewise.
15300 * nss/nss_db/db-initgroups.c: Likewise.
15301 * nss/nss_db/db-netgrp.c: Likewise.
15302 * nss/nss_files/files-network.c: Likewise.
15303 * nss/nss_files/files-parse.c: Likewise.
15304 * posix/bug-regex5.c: Likewise.
15305 * posix/fnmatch_loop.c: Likewise.
15306 * posix/regcomp.c: Likewise.
15307 * posix/regexec.c: Likewise.
15308 * posix/tst-rfc3484-2.c: Likewise.
15309 * posix/tst-rfc3484-3.c: Likewise.
15310 * posix/tst-rfc3484.c: Likewise.
15311 * resolv/nss_dns/dns-canon.c: Likewise.
15312 * resolv/nss_dns/dns-network.c: Likewise.
15313 * resolv/res_init.c: Likewise.
15314 * resolv/res_mkquery.c: Likewise.
15315 * resolv/tst-aton.c: Likewise.
15316 * stdlib/cxa_atexit.c: Likewise.
15317 * stdlib/cxa_finalize.c: Likewise.
15318 * stdlib/gen-fpioconst.c: Likewise.
15319 * stdlib/strtol_l.c: Likewise.
15320 * string/tst-endian.c: Likewise.
15321 * sunrpc/auth_des.c: Likewise.
15322 * sunrpc/clnt_udp.c: Likewise.
15323 * sunrpc/rtime.c: Likewise.
15324 * sunrpc/svcauth_des.c: Likewise.
15325 * sunrpc/xdr.c: Likewise.
15326 * sunrpc/xdr_intXX_t.c: Likewise.
15327 * sunrpc/xdr_rec.c: Likewise.
15328 * sysdeps/generic/ldconfig.h: Likewise.
15329 * sysdeps/generic/ldsodefs.h: Likewise.
15330 * sysdeps/generic/memusage.h: Likewise.
15331 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15334 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15341 * sysdeps/posix/getaddrinfo.c: Likewise.
15342 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15343 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15344 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15345 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15346 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15347 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15348 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15349 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15350 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15352 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15353 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15354 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15355 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15357 * sysdeps/x86_64/dl-tls.h: Likewise.
15358 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15359 * time/alt_digit.c: Likewise.
15360 * time/era.c: Likewise.
15361 * wcsmbs/tst-c16c32-1.c: Likewise.
15362
8c75f674
JM
153632013-05-16 Joseph Myers <joseph@codesourcery.com>
15364
15365 * math/libm-test.inc (struct test_sincos_data): New type.
15366 (RUN_TEST_LOOP_sincos): New macro.
15367 (sincos_test_data): New variable.
15368 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15369
e6e49e59
RH
153702013-05-16 Richard Henderson <rth@redhat.com>
15371
15372 * math/atest-exp2.c (LIMB64): New macro.
15373 (CONSTSZ): New macro.
15374 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15375 (hexdig): Move ...
15376 (print_mpn_fp): ... to function scope.
15377 (read_mpn_hex): Remove.
15378 (get_log2): Remove.
15379 (exp2_mpn): Use mp_log2.
15380 (main): Use mp_exp1.
15381
15c7c18d
JM
153822013-05-16 Joseph Myers <joseph@codesourcery.com>
15383
105a07df
JM
15384 * math/libm-test.inc: Remove comment about not testing "inexact"
15385 exceptions.
15386 (INEXACT_EXCEPTION): New macro.
15387 (NO_INEXACT_EXCEPTION): Likewise.
15388 (INVALID_EXCEPTION_OK): Update value.
15389 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15390 (OVERFLOW_EXCEPTION_OK): Likewise.
15391 (UNDERFLOW_EXCEPTION_OK): Likewise.
15392 (IGNORE_ZERO_INF_SIGN): Likewise.
15393 (ERRNO_UNCHANGED): Likewise.
15394 (ERRNO_EDOM): Likewise.
15395 (ERRNO_ERANGE): Likewise.
15396 (test_exceptions): Handle testing "inexact" exceptions.
15397 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15398 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15399 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15400 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15401 INEXACT_EXCEPTION.
15402 (rint_towardzero_test_data): Likewise.
15403 (rint_downward_test_data): Likewise.
15404 (rint_upward_test_data): Likewise.
15405
e9eee333
JM
15406 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15407 with OVERFLOW_EXCEPTION.
15408 (exp10_test_data): Likewise.
15409 (exp2_test_data): Likewise.
15410 (expm1_test_data): Likewise.
15411 (lgamma_test_data): Likewise.
15412 (pow_test_data): Likewise.
15413 (tgamma_test_data): Likewise.
15414 (yn_test_data): Remove duplicate test of overflow.
15415
1c38ff73
JM
15416 * math/libm-test.inc (struct test_cc_c_data): New type.
15417 (RUN_TEST_LOOP_cc_c): New macro.
15418 (cpow_test_data): New variable.
15419 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15420
15c7c18d
JM
15421 * math/libm-test.inc (struct test_f_L_data): New type.
15422 (RUN_TEST_LOOP_f_L): New macro.
15423 (llrint_test_data): New variable.
15424 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15425 (llrint_tonearest_test_data): New variable.
15426 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15427 (llrint_towardzero_test_data): New variable.
15428 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15429 (llrint_downward_test_data): New variable.
15430 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15431 (llrint_upward_test_data): New variable.
15432 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15433 (llround_test_data): New variable.
15434 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15435
f137ff13
PC
154362013-05-13 Peter Collingbourne <pcc@google.com>
15437
15438 * math/atest-exp2.c (get_log2): Remove const attribute.
15439
3608cb24
JM
154402013-05-15 Joseph Myers <joseph@codesourcery.com>
15441
15442 * math/libm-test.inc (struct test_f_l_data): New type.
15443 (RUN_TEST_LOOP_f_l): New macro.
15444 (lrint_test_data): New variable.
15445 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15446 (lrint_tonearest_test_data): New variable.
15447 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15448 (lrint_towardzero_test_data): New variable.
15449 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15450 (lrint_downward_test_data): New variable.
15451 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15452 (lrint_upward_test_data): New variable.
15453 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15454 (lround_test_data): New variable.
15455 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15456
39b1f617
PC
154572013-05-15 Peter Collingbourne <pcc@google.com>
15458
1deff3dc
PC
15459 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15460 (EXTRACT_WORDS64) Use where appropriate.
15461 (INSERT_WORDS64) Likewise.
15462
791f3ba0
PC
15463 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15464 constraints with x constraints.
15465 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15466
39b1f617
PC
15467 * malloc/obstack.c (_obstack_compat): Add initializer.
15468
12fba011
EM
154692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15470
15471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15472 si_trapno and add si_addr_lsb to _sifields.sigfault.
15473 (si_trapno): Remove macro.
15474 (si_addr_lsb): Define new macro.
15475 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15476
d369f531
JM
154772013-05-15 Joseph Myers <joseph@codesourcery.com>
15478
b861c6c4
JM
15479 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15480 instead of TEST_f_l.
15481 (llrint_test_tonearest): Likewise.
15482 (llrint_test_towardzero): Likewise.
15483 (llrint_test_downward): Likewise.
15484 (llrint_test_upward): Likewise.
15485 (llround_test): Likewise.
15486
7abeee12
JM
15487 * math/libm-test.inc (struct test_f_i_data): Add comment.
15488 (RUN_TEST_LOOP_f_b): New macro.
15489 (RUN_TEST_LOOP_f_b_tg): Likewise.
15490 (finite_test_data): New variable.
15491 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15492 (isfinite_test_data): New variable.
15493 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15494 (isinf_test_data): New variable.
15495 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15496 (isnan_test_data): New variable.
15497 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15498 (isnormal_test_data): New variable.
15499 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15500 (issignaling_test_data): New variable.
15501 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15502 (signbit_test_data): New variable.
15503 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15504
cbe8c4d3
JM
15505 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15506 with INVALID_EXCEPTION.
15507 (acosh_test_data): Likewise.
15508 (asin_test_data): Likewise.
15509 (atanh_test_data): Likewise.
15510 (fmod_test_data): Likewise.
15511 (log_test_data): Likewise.
15512 (log10_test_data): Likewise.
15513 (log2_test_data): Likewise.
15514 (pow_test_data): Likewise.
15515 (sqrt_test_data): Likewise.
15516 (y0_test_data): Likewise.
15517 (y1_test_data): Likewise.
15518 (yn_test_data): Likewise.
15519
5575c0e5
JM
15520 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15521 function contents.
15522
d369f531
JM
15523 * math/libm-test.inc (struct test_ff_i_data): New type.
15524 (RUN_TEST_LOOP_ff_i_tg): New macro.
15525 (isgreater_test_data): New variable.
15526 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15527 (isgreaterequal_test_data): New variable.
15528 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15529 (isless_test_data): New variable.
15530 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15531 (islessequal_test_data): New variable.
15532 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15533 (islessgreater_test_data): New variable.
15534 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15535 (isunordered_test_data): New variable.
15536 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15537
781fd748
DM
155382013-05-14 David S. Miller <davem@davemloft.net>
15539
15540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15541
87aa21df
JM
155422013-05-14 Joseph Myers <joseph@codesourcery.com>
15543
5e908270
JM
15544 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15545
f71172e5
JM
15546 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15547 extra_test to int.
15548 (struct test_f_i_data): Change type of max_ulp to int.
15549
8cfa635a
JM
15550 * math/libm-test.inc (test_ffI_f1_data): New type.
15551 (RUN_TEST_LOOP_ffI_f1): New macro.
15552 (remquo_test_data): New variable.
15553 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15554
2bcb36b2
JM
15555 * setjmp/tst-setjmp-fp.c: New file.
15556 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15557 (link-libm): New variable.
15558 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15559
acbd839a
JM
15560 * math/libm-test.inc (struct test_f_i_data): New type.
15561 (RUN_TEST_LOOP_f_i): New macro.
15562 (RUN_TEST_LOOP_f_i_tg): Likewise.
15563 (fpclassify_test_data): New variable.
15564 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15565 (ilogb_test_data): New variable.
15566 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15567
e414d745
JM
15568 * math/libm-test.inc (scalbln_test): Correct function name in END
15569 call.
15570
d9c2a0fd
JM
15571 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15572 (RUN_TEST_LOOP_fI_f1): New macro.
15573 (frexp_test_data): New variable.
15574 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15575
9dc9095d
JM
15576 * math/libm-test.inc (struct test_fF_f1_data): New type.
15577 (RUN_TEST_LOOP_fF_f1): New macro.
15578 (modf_test_data): New variable.
15579 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15580
87aa21df
JM
15581 * math/libm-test.inc (struct test_f_f1_data): New type.
15582 (RUN_TEST_LOOP_f_f1): New macro.
15583 (gamma_test_data): New variable.
15584 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15585 (lgamma_test_data): New variable.
15586 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15587
141af660
CD
155882013-05-13 Carlos O'Donell <carlos@redhat.com>
15589
15590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15591 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15592 (main): Comment "tls" pseudo-hwcap.
15593
6d33265c
JM
155942013-05-13 Joseph Myers <joseph@codesourcery.com>
15595
68fc074c
JM
15596 * math/libm-test.inc (struct test_fl_f_data): New type.
15597 (RUN_TEST_LOOP_fl_f): New variable.
15598 (scalbln_test_data): New variable.
15599 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15600
243216e1
JM
15601 * math/libm-test.inc (struct test_fi_f_data): New type.
15602 (RUN_TEST_LOOP_fi_f): New macro.
15603 (ldexp_test_data): New variable.
15604 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15605 (scalbn_test_data): New variable.
15606 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15607
6a1992e2
JM
15608 * math/libm-test.inc (struct test_c_f_data): New type.
15609 (RUN_TEST_LOOP_c_f): New macro.
15610 (cabs_test_data): New variable.
15611 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15612 (carg_test_data): New variable.
15613 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15614 (cimag_test_data): New variable.
15615 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15616 (creal_test_data): New variable.
15617 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15618
0e400df5
JM
15619 * math/libm-test.inc (struct test_if_f_data): New type.
15620 (RUN_TEST_LOOP_if_f): New macro.
15621 (jn_test_data): New variable.
15622 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15623 (yn_test_data): New variable.
15624 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15625
6d33265c
JM
15626 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15627
f98ece5f
AZ
156282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15629
15630 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15631 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15632
0f7d347b
SP
156332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15634
43fe811b
SP
15635 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15636 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15637 (bench-deps): Add bench-timing.h.
15638 * benchtests-bench-skeleton.c: Include bench-timing.h.
15639 (main): Use TIMING_* macros instead of clock_gettime.
15640 * benchtests/bench-timing.h: New file.
15641
0f7d347b
SP
15642 [BZ #14582]
15643 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15644 Renamed from _LIB_VERSION.
15645 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15646
601a3a5f
JM
156472013-05-12 Joseph Myers <joseph@codesourcery.com>
15648
4f184d30
JM
15649 * math/libm-test.inc (struct test_fff_f_data): New type.
15650 (RUN_TEST_LOOP_fff_f): New macro.
15651 (fma_test_data): New variable.
15652 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15653 (fma_towardzero_test_data): New variable.
15654 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15655 (fma_downward_test_data): New variable.
15656 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15657 (fma_upward_test_data): New variable.
15658 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15659
08198877
JM
15660 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15661 (struct test_c_c_data): New type.
15662 (RUN_TEST_LOOP_c_c): New macro.
15663 (cacos_test_data): New variable.
15664 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15665 (cacosh_test_data): New variable.
15666 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15667 (casin_test_data): New variable.
15668 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15669 (casinh_test_data): New variable.
15670 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15671 (catan_test_data): New variable.
15672 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15673 (catanh_test_data): New variable.
15674 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15675 (ccos_test_data): New variable.
15676 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15677 (ccosh_test_data): New variable.
15678 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15679 (cexp_test_data): New variable.
15680 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15681 (clog_test_data): New variable.
15682 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15683 (clog10_test_data): New variable.
15684 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15685 (conj_test_data): New variable.
15686 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15687 (cproj_test_data): New variable.
15688 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15689 (csin_test_data): New variable.
15690 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15691 (csinh_test_data): New variable.
15692 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15693 (csqrt_test_data): New variable.
15694 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15695 (ctan_test_data): New variable.
15696 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15697 (ctan_tonearest_test_data): New variable.
15698 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15699 (ctan_towardzero_test_data): New variable.
15700 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15701 (ctan_downward_test_data): New variable.
15702 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15703 (ctan_upward_test_data): New variable.
15704 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15705 (ctanh_test_data): New variable.
15706 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15707 (ctanh_tonearest_test_data): New variable.
15708 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15709 (ctanh_towardzero_test_data): New variable.
15710 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15711 (ctanh_downward_test_data): New variable.
15712 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15713 (ctanh_upward_test_data): New variable.
15714 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15715 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15716 of BUILD_COMPLEX.
15717
601a3a5f
JM
15718 * math/libm-test.inc (struct test_ff_f_data): New type.
15719 (struct test_ff_f_data_nexttoward): Likewise.
15720 (RUN_TEST_LOOP_2_f): New macro.
15721 (RUN_TEST_LOOP_ff_f): Likewise.
15722 (atan2_test_data): New variable.
15723 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15724 (copysign_test_data): New variable.
15725 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15726 (fdim_test_data): New variable.
15727 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15728 (fmax_test_data): New variable.
15729 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15730 (fmin_test_data): New variable.
15731 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15732 (fmod_test_data): New variable.
15733 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15734 (hypot_test_data): New variable.
15735 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15736 (nextafter_test_data): New variable.
15737 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15738 (nexttoward_test_data): New variable.
15739 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15740 (pow_test_data): New variable.
15741 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15742 (pow_tonearest_test_data): New variable.
15743 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15744 (pow_towardzero_test_data): New variable.
15745 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15746 (pow_downward_test_data): New variable.
15747 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15748 (pow_upward_test_data): New variable.
15749 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15750 (remainder_test_data): New variable.
15751 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15752 (scalb_test_data): New variable.
15753 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15754 * sysdeps/i386/fpu/libm-test-ulps: Update.
15755
74c57478
JM
157562013-05-11 Joseph Myers <joseph@codesourcery.com>
15757
8329e4da
JM
15758 * math/libm-test.inc (fma_test): Use max_value instead of local
15759 variable fltmax.
15760 (nextafter_test): Likewise.
15761
74c57478
JM
15762 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15763 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15764 (acos_downward_test_data): New variable.
15765 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15766 (acos_upward_test_data): New variable.
15767 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15768 (acosh_test_data): New variable.
15769 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15770 (asin_test_data): New variable.
15771 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15772 (asin_tonearest_test_data): New variable.
15773 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15774 (asin_towardzero_test_data): New variable.
15775 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15776 (asin_downward_test_data): New variable.
15777 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15778 (asin_upward_test_data): New variable.
15779 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15780 (asinh_test_data): New variable.
15781 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15782 (atan_test_data): New variable.
15783 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15784 (atanh_test_data): New variable.
15785 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15786 (cbrt_test_data): New variable.
15787 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15788 (ceil_test_data): New variable.
15789 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15790 (cos_test_data): New variable.
15791 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15792 (cos_tonearest_test_data): New variable.
15793 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15794 (cos_towardzero_test_data): New variable.
15795 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15796 (cos_downward_test_data): New variable.
15797 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15798 (cos_upward_test_data): New variable.
15799 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15800 (cosh_test_data): New variable.
15801 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15802 (cosh_tonearest_test_data): New variable.
15803 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15804 (cosh_towardzero_test_data): New variable.
15805 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15806 (cosh_downward_test_data): New variable.
15807 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15808 (cosh_upward_test_data): New variable.
15809 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15810 (erf_test_data): New variable.
15811 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15812 (erfc_test_data): New variable.
15813 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15814 (exp_test_data): New variable.
15815 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15816 (exp_tonearest_test_data): New variable.
15817 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15818 (exp_towardzero_test_data): New variable.
15819 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15820 (exp_downward_test_data): New variable.
15821 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15822 (exp_upward_test_data): New variable.
15823 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15824 (exp10_test_data): New variable.
15825 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15826 (exp2_test_data): New variable.
15827 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15828 (expm1_test_data): New variable.
15829 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15830 (fabs_test_data): New variable.
15831 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15832 (floor_test_data): New variable.
15833 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15834 (j0_test_data): New variable.
15835 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15836 (j1_test_data): New variable.
15837 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15838 (log_test_data): New variable.
15839 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15840 (log10_test_data): New variable.
15841 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15842 (log1p_test_data): New variable.
15843 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15844 (log2_test_data): New variable.
15845 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15846 (logb_test_data): New variable.
15847 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15848 (logb_downward_test_data): New variable.
15849 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15850 (nearbyint_test_data): New variable.
15851 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15852 (rint_test_data): New variable.
15853 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15854 (rint_tonearest_test_data): New variable.
15855 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15856 (rint_towardzero_test_data): New variable.
15857 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15858 (rint_downward_test_data): New variable.
15859 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15860 (rint_upward_test_data): New variable.
15861 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15862 (round_test_data): New variable.
15863 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15864 (sin_test_data): New variable.
15865 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15866 (sin_tonearest_test_data): New variable.
15867 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15868 (sin_towardzero_test_data): New variable.
15869 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15870 (sin_downward_test_data): New variable.
15871 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15872 (sin_upward_test_data): New variable.
15873 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15874 (sinh_test_data): New variable.
15875 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15876 (sinh_tonearest_test_data): New variable.
15877 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15878 (sinh_towardzero_test_data): New variable.
15879 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15880 (sinh_downward_test_data): New variable.
15881 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15882 (sinh_upward_test_data): New variable.
15883 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15884 (sqrt_test_data): New variable.
15885 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15886 (tan_test_data): New variable.
15887 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15888 (tan_tonearest_test_data): New variable.
15889 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15890 (tan_towardzero_test_data): New variable.
15891 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15892 (tan_downward_test_data): New variable.
15893 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15894 (tan_upward_test_data): New variable.
15895 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15896 (tanh_test_data): New variable.
15897 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15898 (tgamma_test_data): New variable.
15899 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15900 (trunc_test_data): New variable.
15901 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15902 (y0_test_data): New variable.
15903 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15904 (y1_test_data): New variable.
15905 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15906 (significand_test_data): New variable.
15907 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15908
7187d844
CG
159092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15910
15911 [BZ #12387]
15912 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15913
f63fae73
PT
159142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15915
15916 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15917
8a67a4b3
AJ
159182013-05-10 Andreas Jaeger <aj@suse.de>
15919
15920 [BZ #15448]
15921 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15922 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15923
51df539d
JM
159242013-05-10 Joseph Myers <joseph@codesourcery.com>
15925
15926 * math/gen-libm-test.pl (adjust_arg): New function.
15927 (special_functions): Handle generating output in both functions
15928 and arrays.
15929 (parse_args): Likewise.
15930 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15931 $in_func argument to parse_args.
15932 * math/libm-test.inc (struct test_f_f_data): New type.
15933 (IF_ROUND_INIT_): New macro.
15934 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15935 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15936 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15937 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15938 (ROUND_RESTORE_): Likewise.
15939 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15940 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15941 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15942 (ROUND_RESTORE_FE_UPWARD): Likewise.
15943 (RUN_TEST_LOOP_f_f): New macro.
15944 (acos_test_data): New variable.
15945 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15946 (acos_tonearest_test_data): New variable.
15947 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15948
5c637fe5
SP
159492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15950
15951 * benchtests/bench-skeleton.c (startup): Fix coding style.
15952
ab2b9461
JM
159532013-05-10 Joseph Myers <joseph@codesourcery.com>
15954
15955 [BZ #6809]
15956 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15957 negative infinity argument.
15958 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15959 negative infinity argument.
15960 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15961 negative infinity argument.
15962 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15963 domain errors.
15964
4c0fe6fe
FW
159652013-05-10 Florian Weimer <fweimer@redhat.com>
15966
15967 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15968 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15969 * iconv/iconv_prog.c (main): Likewise.
15970 * locale/programs/charmap-dir.c (charmap_readdir)
15971 (fopen_uncompressed): Likewise.
15972 * locale/programs/locfile.c (siblings_uncached)
15973 (write_locale_data): Use lstat64 instead of lstat.
15974 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15975 stat.
15976
a3375d29
AJ
159772013-05-10 Andreas Jaeger <aj@suse.de>
15978
15979 [BZ #15395]
15980 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15981 localization.
15982 Include <locale.h>.
15983
36129722
CD
159842013-05-09 Carlos O'Donell <carlos@redhat.com>
15985
15986 * elf/dl-close.c (_dl_close_worker): Add comments.
15987
faa7f811
JM
159882013-05-09 Joseph Myers <joseph@codesourcery.com>
15989
ed41ffef
JM
15990 [BZ #15359]
15991 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15992 high part of pi/2.
15993 (__ieee754_rem_pio2l): Update comments.
15994
d0213cd0
JM
15995 [BZ #15429]
15996 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15997 high part of pi/2.
15998 (__ieee754_rem_pio2l): Update comments.
15999
0d3e777a
JM
16000 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16001 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16002
24f56066
JM
16003 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16004 M_PI_4l.
16005
faa7f811
JM
16006 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16007 (M_PI_34_LOG10El): Likewise.
16008 (M_PI2_LOG10El): Likewise.
16009 (M_PI4_LOG10El): Likewise.
16010 (M_PI_LOG10El): Likewise.
16011
e9a5e0fd
AZ
160122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16013
16014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16015
d8cd06db
JM
160162013-05-08 Joseph Myers <joseph@codesourcery.com>
16017
a0d9f9d7
JM
16018 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16019 (MINUS_ZERO_INIT): Likewise.
16020 (PLUS_INFTY_INIT): Likewise.
16021 (MINUS_INFTY_INIT): Likewise.
16022 (QNAN_VALUE_INIT): Likewise.
16023 (MAX_VALUE_INIT): Likewise.
16024 (MIN_VALUE_INIT): Likewise.
16025 (MIN_SUBNORM_VALUE_INIT): Likewise.
16026 (plus_zero): Initialize with PLUS_ZERO_INIT.
16027 (minus_zero): Initialize with MINUS_ZERO_INIT.
16028 (plus_infty): Initialize with PLUS_INFTY_INIT.
16029 (minus_infty): Initialize with MINUS_INFTY_INIT.
16030 (qnan_value): Initialize with QNAN_VALUE_INIT.
16031 (max_value): Initialize with MAX_VALUE_INIT.
16032 (min_value): Initialize with MIN_VALUE_INIT.
16033 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16034
ae08db3b
JM
16035 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16036 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16037 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16038 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16039
f44bf14a
JM
16040 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16041 (RUN_TEST_2_f): Likewise.
16042 (RUN_TEST_ff_f): Likewise.
16043 (RUN_TEST_fi_f): Likewise.
16044 (RUN_TEST_fl_f): Likewise.
16045 (RUN_TEST_fff_f): Likewise.
16046 (RUN_TEST_c_f): Likewise.
16047 (RUN_TEST_f_f1): Likewise.
16048 (RUN_TEST_fF_f1): Likewise.
16049 (RUN_TEST_fI_f1): Likewise.
16050 (RUN_TEST_ffI_f1): Likewise.
16051 (RUN_TEST_c_c): Likewise.
16052 (RUN_TEST_cc_c): Likewise.
16053 (RUN_TEST_f_i): Likewise.
16054 (RUN_TEST_f_i_tg): Likewise.
16055 (RUN_TEST_ff_i_tg): Likewise.
16056 (RUN_TEST_f_b): Likewise.
16057 (RUN_TEST_f_b_tg): Likewise.
16058 (RUN_TEST_f_l): Likewise.
16059 (RUN_TEST_f_L): Likewise.
16060 (RUN_TEST_sincos): Likewise.
16061 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16062 whether to show exceptions. Do not include ");\n" in return
16063 value.
16064 (special_functions): Output call to RUN_TEST_sincos instead of
16065 check_float calls. Update calls to new_test.
16066 (parse_args): Output call to single RUN_TEST_* macro instead of
16067 check_* calls and other assignments. Update calls to new_test.
16068
d8cd06db
JM
16069 [BZ #2546]
16070 [BZ #2560]
16071 [BZ #5159]
16072 [BZ #15426]
16073 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16074 input to result for tgamma overflow.
16075 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16076 (gamma_coeff): New variable.
16077 (NCOEFF): New macro.
16078 (gamma_positive): New function.
16079 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16080 underflow here. Use gamma_positive instead of exp (lgamma) for
16081 other arguments.
16082 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16083 (gamma_coeff): New variable.
16084 (NCOEFF): New macro.
16085 (gammaf_positive): New function.
16086 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16087 underflow here. Use gamma_positive instead of exp (lgamma) for
16088 other arguments.
16089 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16090 (gamma_coeff): New variable.
16091 (NCOEFF): New macro.
16092 (gammal_positive): New function.
16093 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16094 underflow here. Use gamma_positive instead of exp (lgamma) for
16095 other arguments.
16096 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16097 (gamma_coeff): New variable.
16098 (NCOEFF): New macro.
16099 (gammal_positive): New function.
16100 (__ieee754_gammal_r): Handle positive infinity, overflow and
16101 underflow here. Handle NaN the same as positive infinity. Remove
16102 check x < 0xffffffff for negative integers. Use gamma_positive
16103 instead of exp (lgamma) for other arguments.
16104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16105 (gamma_coeff): New variable.
16106 (NCOEFF): New macro.
16107 (gammal_positive): New function.
16108 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16109 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16113 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16114 * sysdeps/generic/math_private.h (__gamma_productf): New
16115 prototype.
16116 (__gamma_product): Likewise.
16117 (__gamma_productl): Likewise.
16118 * math/Makefile (libm-calls): Add gamma_product.
16119 * math/libm-test.inc (tgamma_test): Add more tests.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122
bb7cf681
OB
161232013-05-08 Ondřej Bílka <neleai@seznam.cz>
16124
16125 * benchtests/bench-skeleton.c (main): Preheat CPU.
16126
ba853947
AJ
161272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16128
16129 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16130
8347c74c
RM
161312013-05-07 Roland McGrath <roland@hack.frob.com>
16132
16133 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16134 and _dl_skip_args_internal.
16135
e8dd4791
CD
161362013-05-07 Carlos O'Donell <carlos@redhat.com>
16137
16138 * manual/message.texi (Message Translation): Talk about users.
16139 Message to key mapping impacts design.
16140
c7405830
RM
161412013-05-06 Roland McGrath <roland@hack.frob.com>
16142
a9173057
RM
16143 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16144
976e2f03
RM
16145 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16146
9723ffc5
RM
16147 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16148 * sysdeps/wordsize-64/glob64.c: ... here.
16149
962e6658
RM
16150 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16151 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16152 New macros.
16153
ee586a6d
RM
16154 * debug/getlogin_r_chk.c: Moved to ...
16155 * login/getlogin_r_chk.c: ... here.
16156 * debug/Makefile (routines): Move getlogin_r_chk to ...
16157 * login/Makefile (routines): ... here.
16158 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16159 * login/Versions (libc: GLIBC_2.4): ... here.
16160
355f9165
RM
16161 * io/poll.c (__poll): Renamed from poll.
16162 Add libc_hidden_def.
16163 (poll): Define as weak alias.
16164
bd9ffde6
RM
16165 * debug/ptsname_r_chk.c: Moved to ...
16166 * login/ptsname_r_chk.c: ... here.
16167 * debug/Makefile (routines): Move ptsname_r_chk to ...
16168 * login/Makefile (routines): ... here.
16169 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16170 * login/Versions (libc: GLIBC_2.4): ... here.
16171
8fb16a04
RM
16172 * posix/getlogin.c: Moved to ...
16173 * login/getlogin.c: ... here.
16174 * posix/getlogin_r.c: Moved to ...
16175 * login/getlogin_r.c: ... here.
16176 * posix/getlogin_r.c: Moved to ...
16177 * login/getlogin_r.c: ... here.
16178 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16179 * login/Makefile (routines): ... here.
16180 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16181 * login/Versions (libc: GLIBC_2.0): ... here.
16182
b99b892f
RM
16183 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16184 (setrlimit): Define as weak alias.
16185
c7405830
RM
16186 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16187 Call __ names for open, ftruncate, and close.
16188 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16189 (truncate): Define as weak alias.
16190
5bf96de5
JM
161912013-05-06 Joseph Myers <joseph@codesourcery.com>
16192
9ea3513c
JM
16193 * math/gen-libm-test.pl (parse_args): Initialize x before each
16194 test of frexp, modf and remquo.
16195
5bf96de5
JM
16196 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16197 test signgam value.
16198
16e616a7
AZ
161992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16200
16201 [BZ #15418]
16202 [BZ #15419]
16203 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16204 internal tests.
16205 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16206
d5e82754
RM
162072013-05-06 Roland McGrath <roland@hack.frob.com>
16208
16209 * elf/dl-writev.h: New file.
16210 * elf/dl-misc.c: Include it.
16211 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16212 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16213
a7548d41
JM
162142013-05-04 Joseph Myers <joseph@codesourcery.com>
16215
b7dab1e4
JM
16216 * math/libm-test.inc (noXFails): Remove variable.
16217 (noXPasses): Likewise.
16218 (BUILD_COMPLEX_INT): Remove macro.
16219 (print_screen): Remove xfail argument.
16220 (print_screen_max_error): Likewise.
16221 (update_stats): Likewise.
16222 (print_max_error): Likewise. Update calls to other affected
16223 functions.
16224 (print_complex_max_error): Likewise.
16225 (test_single_exception): Update calls to print_screen.
16226 (test_single_errno): Likewise.
16227 (check_float_internal): Remove xfail argument. Update calls to
16228 other affected functions.
16229 (check_float): Likewise.
16230 (check_complex): Likewise.
16231 (check_int): Likewise.
16232 (check_long): Likewise.
16233 (check_bool): Likewise.
16234 (check_longlong): Likewise.
16235 (main): Don't print noXFails and noXPasses.
16236 * math/gen-libm-test.pl (top level): Don't mention expected
16237 failure handling in comment.
16238 (new_test): Don't handle expected failures.
16239 (parse_args): Don't mention expected failure handling in comment.
16240 (generate_testfile): Don't handle expected failures.
16241 (parse_ulps): Likewise.
16242 (print_ulps_file): Likewise.
16243 (get_failure): Remove function.
16244 (output_test): Don't handle expected failures.
16245 * make/README.libm-test: Don't mention expected failure handling.
16246
a7548d41
JM
16247 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16248 (minus_zero): Likewise.
16249 (plus_infty): Likewise.
16250 (minus_infty): Likewise.
16251 (qnan_value): Likewise.
16252 (max_value): Likewise.
16253 (min_value): Likewise.
16254 (min_subnorm_value): Likewise.
16255 (initialize): Do not initialize those variables dynamically.
16256
60bfd54c
RM
162572013-05-03 Roland McGrath <roland@hack.frob.com>
16258
cc0e6ed8
RM
16259 * io/open.c (__open_2): Moved to ...
16260 * io/open_2.c: ... this new file.
16261 * io/open64.c (__open64_2): Moved to ...
16262 * io/open64_2.c: ... this new file.
16263 * io/openat.c (__openat_2): Moved to ...
16264 * io/openat_2.c: ... this new file.
16265 * io/openat64.c (__openat64_2): Moved to ...
16266 * io/openat64_2.c: ... this new file.
16267 * io/Makefile (routines): Add them.
16268 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16269 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16270 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16271 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16272 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16273 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16274 (__openat64): Add hidden_ver.
16275 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16276 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16277
60bfd54c
RM
16278 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16279 Separately conditionalize setting of GLRO(dl_sysinfo) so
16280 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16281 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16282
83e7640f
AZ
162832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284
16285 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16286 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16287 definition.
16288 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16289 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16290 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16291 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16292 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16293
d5dc2af3
JM
162942013-05-03 Joseph Myers <joseph@codesourcery.com>
16295
c31a5b1e
JM
16296 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16297 test signgam value.
16298
d5dc2af3
JM
16299 * math/libm-test.inc (hypot_test): Do not use
16300 IGNORE_ZERO_INF_SIGN.
16301
164fd39d
AJ
163022013-05-03 Andreas Jaeger <aj@suse.de>
16303
16304 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16305 Linux 3.9.
16306 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16307 (PF_MAX): Adjust for VSOCK change.
16308
8237f48c
AZ
163092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16310
16311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16312
9df02941
CD
163132013-05-02 Carlos O'Donell <carlos@redhat.com>
16314
16315 [BZ #15264]
16316 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16317 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16318 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16319
d422395e
DM
163202013-05-02 David S. Miller <davem@davemloft.net>
16321
16322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16323
a07c5731
OB
163242013-05-01 Ondřej Bílka <neleai@seznam.cz>
16325
16326 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16327
1324e37f
RM
163282013-05-01 Roland McGrath <roland@hack.frob.com>
16329
16330 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16331
0695940b
RS
163322013-05-01 Richard Smith <richard@metafoo.co.uk>
16333
bb5f27ad 16334 [BZ #14952]
0695940b
RS
16335 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16336 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16337 Use __attribute__ ((__gnu_inline__)).
16338 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16339 Don't use __attribute__ ((__gnu_inline__)).
16340
10de07f5
JM
163412013-05-01 Joseph Myers <joseph@codesourcery.com>
16342
16343 [BZ #15423]
16344 * math/s_catan.c (__catan): Handle small real or imaginary part of
16345 input specially to avoid spurious underflow.
16346 * math/s_catanf.c (__catanf): Likewise.
16347 * math/s_catanh.c (__catanh): Likewise.
16348 * math/s_catanhf.c (__catanhf): Likewise.
16349 * math/s_catanhl.c (__catanhl): Likewise.
16350 * math/s_catanl.c (__catanl): Likewise.
16351 * math/libm-test.inc (catan_test): Add more tests.
16352 (catanh_test): Likewise.
16353 * sysdeps/i386/fpu/libm-test-ulps: Update.
16354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16355
cb4d5414
AZ
163562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16357
16358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16359
caf84319
JM
163602013-04-30 Joseph Myers <joseph@codesourcery.com>
16361
16362 [BZ #15416]
16363 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16364 accurately for denominator in atan2.
16365 * math/s_catanf.c (__catanf): Likewise.
16366 * math/s_catanh.c (__catanh): Likewise.
16367 * math/s_catanhf.c (__catanhf): Likewise.
16368 * math/s_catanhl.c (__catanhl): Likewise.
16369 * math/s_catanl.c (__catanl): Likewise.
16370 * math/libm-test.inc (catan_test): Add more tests.
16371 (catanh_test): Likewise.
16372 * sysdeps/i386/fpu/libm-test-ulps: Update.
16373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16374
d569c6ee
SP
163752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16376
6dbe713d
SP
16377 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16378
f0ee064b
SP
16379 * benchtests/Makefile (bench): Remove slow benchmarks.
16380 * benchtests/atan-inputs: Add slow benchmark inputs.
16381 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16382 (BENCH_FUNC): Accept variant offset.
16383 (VARIANT): Define.
16384 * benchtests/bench-skeleton.c (main): Run benchmark for each
16385 variant.
16386 * benchtests/cos-inputs: Add slow benchmark inputs.
16387 * benchtests/exp-inputs: Likewise.
16388 * benchtests/pow-inputs: Likewise.
16389 * benchtests/sin-inputs: Likewise.
16390 * benchtests/slowatan-inputs: Remove.
16391 * benchtests/slowatan.c: Remove.
16392 * benchtests/slowcos-inputs: Remove.
16393 * benchtests/slowcos.c: Remove.
16394 * benchtests/slowexp-inputs: Remove.
16395 * benchtests/slowexp.c: Remove.
16396 * benchtests/slowpow-inputs: Remove.
16397 * benchtests/slowpow.c: Remove.
16398 * benchtests/slowsin-inputs: Remove.
16399 * benchtests/slowsin.c: Remove.
16400 * benchtests/slowtan-inputs: Remove.
16401 * benchtests/slowtan.c: Remove.
16402 * benchtests/tan-inputs: Add slow benchmark inputs.
16403 * scripts/bench.pl: Parse comments and directives.
16404
d569c6ee
SP
16405 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16406 in CPPFLAGS.
16407 ($(objpfx)bench-%.c): Remove *-ITER.
16408 * benchtests/bench-modf.c: Remove definition of ITER.
16409 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16410 (main): Loop for DURATION seconds instead of fixed number of
16411 iterations.
16412 * scripts/bench.pl: Don't expect iterations in parameters.
16413
a6a242fe
RM
164142013-04-29 Roland McGrath <roland@hack.frob.com>
16415
16416 * io/fchdir.c (__fchdir): Renamed from fchdir.
16417 (fchdir): Define as weak alias.
16418
f2da7793
JM
164192013-04-29 Joseph Myers <joseph@codesourcery.com>
16420
16421 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16422 (ERRNO_EDOM): Likewise.
16423 (ERRNO_ERANGE): Likewise.
16424 (noErrnoTests): New variable.
16425 (init_max_error): Set errno to 0.
16426 (test_single_errno): New function.
16427 (test_errno): Likewise.
16428 (check_float_internal): Call test_errno. Set errno to 0.
16429 (check_complex): Refer to errno tests in comment.
16430 (check_int): Call test_errno. Set errno to 0.
16431 (check_long): Likewise.
16432 (check_bool): Likewise.
16433 (check_longlong): Likewise.
16434 (cos_test): Use ERRNO_* flags for errno tests instead of
16435 check_int.
16436 (expm1_test): Likewise.
16437 (fmod_test): Likewise.
16438 (ilogb_test): Likewise.
16439 (lgamma_test): Likewise.
16440 (pow_test): Likewise.
16441 (remainder_test): Likewise.
16442 (sin_test): Likewise.
16443 (tan_test): Likewise.
16444 (yn_test): Likewise.
16445 (initialize): Set errno to 0.
16446 (main): Print number of errno tests.
16447 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16448
b1a36ceb
AJ
164492013-04-29 Andreas Jaeger <aj@suse.de>
16450
c3ed8088
AJ
16451 [BZ #15084]
16452 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16453 and RES_USEVC.
16454
f1a24198
AJ
16455 [BZ #15085]
16456 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16457 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16458 unimplemented.
16459
9ce3b2cb
AJ
16460 [BZ #15380]
16461 * stdlib/random.c (__initstate): Return NULL if
16462 __initstate fails.
16463
f1a24198 16464 [BZ #15086]
b1a36ceb
AJ
16465 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16466 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16467 RES_SNGLKUPREOP.
16468
7e7b6f36
AZ
164692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16470
16471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16472
4d14f449
JM
164732013-04-29 Joseph Myers <joseph@codesourcery.com>
16474
16475 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16476 of individual tests.
16477 (casin_test): Likewise.
16478 (casinh_test): Likewise.
16479
5b4217d7
JM
164802013-04-27 Joseph Myers <joseph@codesourcery.com>
16481
16482 [BZ #15409]
16483 * math/s_catan.c (__catan): Handle arguments with large real or
16484 imaginary part separately without squaring.
16485 * math/s_catanf.c (__catanf): Likewise.
16486 * math/s_catanh.c (__catanh): Likewise.
16487 * math/s_catanhf.c (__catanhf): Likewise.
16488 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16489 and redefine.
16490 (__catanhl): Handle arguments with large real or imaginary part
16491 separately without squaring.
16492 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16493 and redefine.
16494 (__catanl): Handle arguments with large real or imaginary part
16495 separately without squaring.
16496 * math/libm-test.inc (catan_test): Add more tests.
16497 (catanh_test): Likewise.
16498 * sysdeps/i386/fpu/libm-test-ulps: Update.
16499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500
4220c3ef
AJ
165012013-04-27 Andreas Jaeger <aj@suse.de>
16502
16503 [BZ #15007]
16504 * stdlib/stdlib.h: Update guards for qecvt.
16505 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16506 <stdlib.h>.
16507
4721b2d1
AM
165082013-04-27 Allan McRae <allan@archlinux.org>
16509
16510 * sysdeps/i386/fpu/libm-test-ulps: Update.
16511
f0302940
JM
165122013-04-26 Joseph Myers <joseph@codesourcery.com>
16513
9457fd95
JM
16514 [BZ #15406]
16515 * math/s_catan.c: Include <float.h>.
16516 (__catan): Ensure underflow exception occurs for underflowed
16517 result.
16518 * math/s_catanf.c: Include <float.h>.
16519 (__catanf): Ensure underflow exception occurs for underflowed
16520 result.
16521 * math/s_catanh.c: Include <float.h>.
16522 (__catanh): Ensure underflow exception occurs for underflowed
16523 result.
16524 * math/s_catanhf.c: Include <float.h>.
16525 (__catanhf): Ensure underflow exception occurs for underflowed
16526 result.
16527 * math/s_catanhl.c: Include <float.h>.
16528 (__catanhl): Ensure underflow exception occurs for underflowed
16529 result.
16530 * math/s_catanl.c: Include <float.h>.
16531 (__catanl): Ensure underflow exception occurs for underflowed
16532 result.
16533 * math/libm-test.inc (catan_test): Add more tests.
16534 (catanh_test): Likewise.
16535
f0302940
JM
16536 [BZ #15405]
16537 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16538 underflowed result.
16539 * math/s_ccoshf.c (__ccoshf): Likewise.
16540 * math/s_ccoshl.c (__ccoshl): Likewise.
16541 * math/s_csin.c (__csin): Likewise.
16542 * math/s_csinf.c (__csinf): Likewise.
16543 * math/s_csinh.c (__csinh): Likewise.
16544 * math/s_csinhf.c (__csinhf): Likewise.
16545 * math/s_csinhl.c (__csinhl): Likewise.
16546 * math/s_csinl.c (__csinl): Likewise.
16547 * math/libm-test.inc (ccos_test): Add more tests.
16548 (ccosh_test): Likewise.
16549 (csin_test): Likewise.
16550 (csinh_test): Likewise.
16551
aa630f59
AZ
165522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16553
16554 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16555 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16556 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16557 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16558 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16559 powerpc/power5+/fpu folders.
16560 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16561
16562
1b835983
MT
165632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16564
16565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16566
73709b26
JM
165672013-04-25 Joseph Myers <joseph@codesourcery.com>
16568
16569 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16570 additions to variable.
16571 [$(config-machine) = x86_64] (modules-names): Likewise.
16572 ($(objpfx)tst-audit3): Remove dependency.
16573 ($(objpfx)tst-audit3.out): Likewise.
16574 ($(objpfx)tst-audit4): Likewise.
16575 ($(objpfx)tst-audit4.out): Likewise.
16576 ($(objpfx)tst-audit5): Likewise.
16577 ($(objpfx)tst-audit5.out): Likewise.
16578 ($(objpfx)tst-audit6): Likewise.
16579 ($(objpfx)tst-audit6.out): Likewise.
16580 ($(objpfx)tst-audit7): Likewise.
16581 ($(objpfx)tst-audit7.out): Likewise.
16582 (tst-audit3-ENV): Remove variable.
16583 (tst-audit4-ENV): Likewise.
16584 (tst-audit5-ENV): Likewise.
16585 (tst-audit6-ENV): Likewise.
16586 (tst-audit7-ENV): Likewise.
16587 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16588 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16589 addition to variable.
16590 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16591 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16592 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16593 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16595 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16596 tst-audit3, tst-audit4 and tst-audit5.
16597 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16598 tst-audit6 and tst-audit7.
16599 [$(subdir) = elf] (modules-names): Add audit modules for those
16600 tests.
16601 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16602 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16603 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16604 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16605 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16606 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16607 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16608 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16609 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16610 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16611 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16612 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16613 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16614 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16615 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16616 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16617 Likewise.
16618 [$(subdir) = elf && $(config-cflags-avx) = yes]
16619 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16620 [$(subdir) = elf && $(config-cflags-avx) = yes]
16621 (CFLAGS-tst-auditmod4a.c): Likewise.
16622 [$(subdir) = elf && $(config-cflags-avx) = yes]
16623 (CFLAGS-tst-auditmod4b.c): Likewise.
16624 [$(subdir) = elf && $(config-cflags-avx) = yes]
16625 (CFLAGS-tst-auditmod6b.c): Likewise.
16626 [$(subdir) = elf && $(config-cflags-avx) = yes]
16627 (CFLAGS-tst-auditmod6c.c): Likewise.
16628 [$(subdir) = elf && $(config-cflags-avx) = yes]
16629 (CFLAGS-tst-auditmod7b.c): Likewise.
16630 * elf/tst-audit3.c: Move to ...
16631 * sysdeps/x86_64/tst-audit3.c: ... here.
16632 * elf/tst-audit4.c: Move to ...
16633 * sysdeps/x86_64/tst-audit4.c: ... here.
16634 * elf/tst-audit5.c: Move to ...
16635 * sysdeps/x86_64/tst-audit5.c: ... here.
16636 * elf/tst-audit6.c: Move to ...
16637 * sysdeps/x86_64/tst-audit6.c: ... here.
16638 * elf/tst-audit7.c: Move to ...
16639 * sysdeps/x86_64/tst-audit7.c: ... here.
16640 * elf/tst-auditmod3a.c: Move to ...
16641 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16642 * elf/tst-auditmod3b.c: Move to ...
16643 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16644 * elf/tst-auditmod4a.c: Move to ...
16645 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16646 * elf/tst-auditmod4b.c: Move to ...
16647 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16648 * elf/tst-auditmod5a.c: Move to ...
16649 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16650 * elf/tst-auditmod5b.c: Move to ...
16651 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16652 * elf/tst-auditmod6a.c: Move to ...
16653 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16654 * elf/tst-auditmod6b.c: Move to ...
16655 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16656 * elf/tst-auditmod6c.c: Move to ...
16657 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16658 * elf/tst-auditmod7a.c: Move to ...
16659 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16660 * elf/tst-auditmod7b.c: Move to ...
16661 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16662
1ef74943
PP
166632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16664
16665 [BZ #15366]
16666 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16667 define unconditionally.
16668 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16669 define unconditionally.
16670 (INT8_C, INT16_C, etc.): Likewise.
16671
93fd48c5
MR
166722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16673
ae9552cf
MR
16674 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16675 __ehdr_start with hidden visibility.
16676
93fd48c5
MR
16677 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16678
418601aa
CD
166792013-04-24 Carlos O'Donell <carlos@redhat.com>
16680
16681 * math/libm-test.inc (cos_test): Use accurate hex constants.
16682 (sincost_test): Likewise.
16683
2f38fbfe
JM
166842013-04-24 Joseph Myers <joseph@codesourcery.com>
16685
5e221800
JM
16686 * math/libm-test.inc (catan_test): Add more tests.
16687 (catanh_test): Likewise.
16688
77f143fd
JM
16689 * math/s_catanf.c (__catanf): Use suffixed floating-point
16690 constants.
16691 * math/s_catanhf.c (__catanhf): Likewise.
16692 * math/s_catanhl.c (__catanhl): Likewise.
16693 * math/s_catanl.c (__catanl): Likewise.
16694
2f38fbfe
JM
16695 [BZ #15394]
16696 * math/s_catan.c (__catan): Calculate imaginary part of result
16697 with log1p not log unless computing log of number close to 0.
16698 * math/s_catanf.c (__catanf): Likewise.
16699 * math/s_catanl.c (__catanl): Likewise.
16700 * math/s_catanh.c (__catanh): Calculate real part of result with
16701 log1p not log unless computing log of number close to 0.
16702 * math/s_catanhf.c (__catanhf): Likewise.
16703 * math/s_catanhl.c (__catanhl): Likewise.
16704 * math/libm-test.inc (catan_test): Add more tests.
16705 (catanh_test): Likewise.
16706 * sysdeps/i386/fpu/libm-test-ulps: Update.
16707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16708
45d69176
SP
167092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16710
16711 * benchtests/Makefile: Mention files in which fast and slow
16712 paths of math functions are implemented.
16713
87f51853
RM
167142013-04-23 Roland McGrath <roland@hack.frob.com>
16715
16716 * sysdeps/posix/timespec_get.c: New file.
16717
3c026539
AZ
167182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16719
16720 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16721 POWER.
16722 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16723 for POWER.
16724 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16725 powerpc/power5/fpu folders.
16726 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16727 * benchtests/Makefile: Add modf testcase.
16728 * benchtests/bench-modf.c: New file: Benchmark test for mo
16729
ff491d14
SP
167302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16731
16732 [BZ #14888]
16733 * time/Makefile (tests): Add tst-strptime-whitespace.
16734 * time/strptime_l.c (get_number): Use ISSPACE.
16735 (__strptime_internal): Likewise.
16736 * time/tst-strptime-whitespace.c: New test case.
16737
7ed3f4e8
AS
167382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16739
16740 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16741 member.
16742 (_nss_files_init): Set it here.
16743
5c95f7b6
HC
167442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16745
16746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16747 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16748 unsigned.
16749
d34c9158
JBG
167502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16751
16752 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16753
2169712d
SP
167542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16755
16756 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16757 size just once.
16758
29c5de99
DM
167592013-04-21 David S. Miller <davem@davemloft.net>
16760
16761 * po/ru.po: Update Russion translation from translation project.
16762
ccdad15d
AC
167632013-04-17 Adam Conrad <adconrad@0c3.net>
16764
16765 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16766 and setfsgid.
16767
0f122b8d
CD
167682013-04-17 Carlos O'Donell <carlos@redhat.com>
16769
5c5b07da 16770 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16771 * configure: Regenerate.
5c5b07da 16772 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16773 Add example to error message.
16774 * sysdeps/i386/configure: Regenerate.
16775
037714dd
SP
167762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16777
16778 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16779 slowtan.
16780 * benchtests/cos-inputs: New file.
16781 * benchtests/slowcos-inputs: New file.
16782 * benchtests/slowcos.c: New file.
16783 * benchtests/slowtan-inputs: New file.
16784 * benchtests/slowtan.c: New file.
16785 * benchtests/tan-inputs: New file.
16786
e913141d
RM
167872013-04-16 Roland McGrath <roland@hack.frob.com>
16788
16789 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16790 considered kosher.
16791
a2964074
SP
167922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16793
4856bcd2
SP
16794 * benchtests/Makefile: Include cppflags-iterator.mk to add
16795 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16796
a2964074
SP
16797 * Makefile.in (bench-clean): New target.
16798 * benchtests/Makefile (bench-clean): Likewise.
16799
9fbf9aca
DH
168002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16801
16802 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16803
207d1e2a
TS
168042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16805
16806 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16807
306dfba9
AS
168082013-04-15 Andreas Schwab <schwab@suse.de>
16809
16810 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16812 * nscd/pwdcache.c (cache_addpw): Likewise.
16813 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16814 more than recsize.
16815
206a6699
SP
168162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16817
16818 * benchtests/Makefile (bench): Write all output to
16819 bench-out.tmp together.
16820
0582f6b3
AS
168212013-04-15 Andreas Schwab <schwab@suse.de>
16822
16823 * nscd/nscd.c (main): Don't fork again after closing files.
16824
acb4325f
SP
168252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
5cb26d0a
SP
16827 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16828
acb4325f
SP
16829 * benchtests/Rules (bench-deps): Collect dependencies into a
16830 single variable. Add Makefile to dependencies.
16831 ($(objpfx)bench-%.c): Depend on bench-deps.
16832
47792506
RM
168332013-04-12 Roland McGrath <roland@hack.frob.com>
16834 Xavier Roche <roche+kml2@exalead.com>
16835
16836 [BZ #15361]
16837 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16838 just that it's a file descriptor.
16839 * manual/llio.texi (Synchronizing AIO Operations): Update description
16840 for EBADF error from aio_fsync.
16841
8fc1bee5
SP
168422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 * Rules (bench): Move target definition...
16845 * benchtests/Makefile: ... here.
16846
aba5e333
CD
168472013-04-11 Carlos O'Donell <carlos@redhat.com>
16848
16849 * math/libm-test.inc (cos_test): Fix PI/2 test.
16850 (sincos_test): Likewise.
16851 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16852 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16853
273cdee8
AS
168542013-04-11 Andreas Schwab <schwab@suse.de>
16855
6ecec3b6
AS
16856 [BZ #13988]
16857 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16858 accept exponent character only when digits were seen.
16859 * stdio-common/Makefile (tests): Add bug26.
16860 * stdio-common/bug26.c: New file.
16861
273cdee8
AS
16862 [BZ #14293]
16863 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16864 non-freeable.
16865
8da491f5
SP
168662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16867
01dc6df9
SP
16868 * Makeconfig (rtld-prefix): Define built linker prefix.
16869 * Rules (run-bench): Use it.
16870 * math/Makefile (run-regen-ulps): Likewise.
16871
8da491f5
SP
16872 * Rules (bench): Remove eval.
16873
abe7f530
SP
168742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16875 Roland McGrath <roland@hack.frob.com>
16876 Ondrej Bilka <neleai@seznam.cz>
16877
16878 [BZ #15346]
16879 * time/getdate.c: Include ctype.h and alloca.h.
16880 (__getdate_r): Trim leading and trailing spaces of input.
16881 * time/tst-getdate.c (tests): Add tests with leading and
16882 trailing spaces.
16883
61c23e62
RM
168842013-04-08 Roland McGrath <roland@hack.frob.com>
16885
16886 [BZ #14280]
16887 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16888 when computing value.
16889
7208a313
CD
168902013-04-06 Carlos O'Donell <carlos@redhat.com>
16891
085b2d41
CD
16892 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16893 Use testrun.sh to run libm tests.
16894
7208a313
CD
16895 [BZ #15309]
16896 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16897
872c0acd
MM
168982013-04-06 Marko Myllynen <myllynen@redhat.com>
16899
16900 [BZ #15264]
16901 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16902
26510bdd
CD
169032013-04-06 Carlos O'Donell <carlos@redhat.com>
16904
16905 * Makefile.in (regen-ulps): New target.
16906 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16907 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16908 [ifneq (no,$(PERL)] (regen-ulps): New target.
16909 [ifeq (no,$(PERL)] (regen-ulps): New target.
16910 * math/libm-test.inc (ulps_file_name): Define.
16911 (output_dir): New variable.
16912 (options): Add "output-dir" option.
16913 (parse_opt): Handle 'o' case.
16914 (main): If output_dir is non-NULL use it as a prefix
16915 otherwise use "".
16916 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16917
a01f19c8
CD
169182013-04-06 Carlos O'Donell <carlos@redhat.com>
16919
16920 [BZ #10060, #10062]
16921 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16922 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16923 fail configure if __sync_val_compare_and_swap is not inlined.
16924 * sysdeps/i386/configure: Regenerate.
16925 * configure.in: Build for i686 when configured for i386.
16926 * configure: Regenerate.
16927 * README: Remove i386 reference.
16928
b7a329a5
CD
169292013-04-06 Carlos O'Donell <carlos@redhat.com>
16930
16931 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16932 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16933
bf0f50df
TS
169342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16935
ee091edf
TS
16936 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16937 (lmsnanval): New variables.
16938 (F): Add conversion tests.
16939 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16940 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16941
a8b792d6
TS
16942 * stdio-common/tstdiomisc.c (F): Properly collect individual
16943 tests' results.
16944
a1cbf437
TS
16945 [BZ #14686, #15336]
16946 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16947 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16948 Instead, use input NaN values or generate a qNaN by arithmetic
16949 operation. Also fix bugs to comply with the standard.
16950 * math/libm-test.inc (remainder_test): Add more tests.
16951
8b43a0c9
TS
16952 [BZ #15335, #15342]
16953 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16955 input NaN values or generate a qNaN by arithmetic operation.
16956
d91da4ce
TS
16957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16958 unreachable code.
16959
bf0f50df
TS
16960 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16961 definitions.
16962
05e166c8
JM
169632013-04-03 Joseph Myers <joseph@codesourcery.com>
16964
16965 [BZ #14478]
16966 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16967 underflowed result.
16968 * math/s_cexpf.c (__cexpf): Likewise.
16969 * math/s_cexpl.c (__cexpl): Likewise.
16970 * math/libm-test.inc (cexp_test): Add more tests.
16971
1cef1b19
AS
169722013-04-03 Andreas Schwab <schwab@suse.de>
16973
16974 [BZ #15330]
16975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16976 order arrays from heap if bigger than alloca cutoff.
16977
74d87055
TS
169782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16979
16980 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16981 (SNAN_TESTS_double): Refer to GCC PR56831.
16982 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16983 GCC PR56828.
16984
d755bba4
SP
169852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16986
90d5d5bb
SP
16987 * Rules (bench): Move bench.out after the run is complete.
16988
73e0cd5d
SP
16989 * Rules (bench): Echo currently running benchmark.
16990
64aabd4b
SP
16991 * benchtests/Makefile (bench): Add atan and slowatan.
16992 * benchtests/atan-inputs: New file.
16993 * benchtests/slowatan-inputs: New file.
16994 * benchtests/slowatan.c: New file.
16995
c871eccd
SP
16996 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16998 its value.
16999
d755bba4
SP
17000 [BZ #15305]
17001 * sysdeps/unix/sysv/linux/kernel-features.h
17002 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17003 __ASSUME_XFS_RESTRICTED_CHOWN.
17004 * sysdeps/unix/sysv/linux/pathconf.c
17005 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17006 Save and restore errno.
17007
52ce4860
JM
170082013-04-02 Joseph Myers <joseph@codesourcery.com>
17009
17010 [BZ #15327]
17011 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17012 arguments using __kernel_casinh.
17013 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17014 arguments using __kernel_casinhf.
17015 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17016 arguments using __kernel_casinhl.
17017 * math/libm-test.inc (cacosh_test): Add more tests.
17018 * sysdeps/i386/fpu/libm-test-ulps: Update.
17019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17020
81f311c2
SP
170212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17022
e7906a47
SP
17023 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17025
92e3664b
SP
17026 * bench/Makefile (bench): Add sin and slowsin.
17027 * benchtests/sin-inputs: New file.
17028 * benchtests/slowsin-inputs: New file.
17029 * benchtests/slowsin.c: New file.
17030
81f311c2
SP
17031 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17032 (bench): Add slowexp and slowpow.
17033 (exp-ITER): Increase iterations.
17034 (pow-ITER): Likewise.
17035 * benchtests/exp-inputs: Change input.
17036 * benchtests/pow-inputs: Likewise.
17037 * benchtests/slowexp-inputs: New file.
17038 * benchtests/slowexp.c: New file.
17039 * benchtests/slowpow-inputs: New file.
17040 * benchtests/slowpow.c: New file.
17041
ab0f1aa9
AZ
170422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17043
17044 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17045 instructions.
17046 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17047 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17048 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17049 * benchtests/Makefile: Add rint benchtest.
17050 * benchtests/rint-inputs: Input for rint benchtest.
17051
57267616
TS
170522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17053
17054 * Versions.def (libm): Add GLIBC_2.18.
17055 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17056 hidden libm prototypes.
17057 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17058 * math/Makefile (libm-calls): Add s_issignaling.
17059 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17060 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17061 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17062 declaration.
17063 * math/math.h [__USE_GNU] (issignaling): New macro.
17064 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17065 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17070 * manual/arith.texi (issignaling): New section.
17071 * manual/libm-err-tab.pl (@all_functions): Update comment.
17072 * math/gen-libm-test.pl (parse_args): Apply special handling for
17073 issignaling.
17074 * math/libm-test.inc (print_float, issignaling_test): New
17075 functions.
17076 (check_float_internal): Add issignaling checks.
17077 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17078 default definition.
17079 * sysdeps/powerpc/math-tests.h: New file.
17080 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17081 tests.
17082 * math/test-snan.c (TEST_FUNC): Likewise.
17083
6142896d
DM
170842013-03-30 David S. Miller <davem@davemloft.net>
17085
17086 * po/de.po: Update from translation team.
17087
ccc8cadf
JM
170882013-03-30 Joseph Myers <joseph@codesourcery.com>
17089
17090 [BZ #10357]
17091 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17092 imaginary part less than 1.0 and real part less than 0.5
17093 specially.
17094 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17095 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17096 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17097 (cacos_test): Add more tests.
17098 (casin_test): Likewise.
17099 (casinh_test): Likewise.
17100 * sysdeps/i386/fpu/libm-test-ulps: Update.
17101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17102
0f6a8d4b
SP
171032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17104
0d1029de
SP
17105 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17106 ONE with its value.
17107
c2d94018
SP
17108 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17109 (__pow_mp): Replace ONE and MONE with their values.
17110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17111 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17112 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17113 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17114 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17115 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17116
27ec37f1
SP
17117 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17118
a64d7e0e
SP
17119 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17120 (__pow_mp): Replace ZERO and MZERO with their values.
17121 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17123 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17125 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17126 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17127 (__sqr): Likewise.
17128
d26dd3eb
SP
17129 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17130
0f6a8d4b
SP
17131 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17132
e57b0c61
RM
171332013-03-28 Roland McGrath <roland@hack.frob.com>
17134
17135 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17136 Declare with __attribute__ ((weak)).
17137 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17138 Call __call_tls_dtors only if it's not NULL.
17139
356b3480
RM
171402013-03-28 Roland McGrath <roland@hack.frob.com>
17141
288f7d79
RM
17142 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17143 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17144 magic __ehdr_start linker symbol if it's defined.
17145 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17146 them up here if it was already done.
17147
dc0a0263
RM
17148 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17149 (_dl_aux_init): Use const in cast when setting it.
17150 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17151 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17152 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17153
3d3436ae
RM
17154 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17155 Declare them here.
17156 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17157 * csu/libc-tls.c: Nor here.
17158 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17159
356b3480
RM
17160 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17161 (__libc_message): Never call vsyslog.
17162
b0f1246a
AM
171632013-03-28 Alan Modra <amodra@gmail.com>
17164
17165 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17166 Define as empty.
17167 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17168 Likewise.
17169
fbbe2b9a
AZ
171702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17171
17172 [BZ #15214]
17173 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17174 underflow.
17175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17176
1728ab37
SP
171772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17178
7a86be6e
SP
17179 [BZ #15304]
17180 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17181 Don't add gid passed as argument.
17182
1728ab37
SP
17183 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17184
3a7182a1
JM
171852013-03-27 Joseph Myers <joseph@codesourcery.com>
17186
17187 [BZ #15307]
17188 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17189 imaginary part between 1.0 and 1.5 and real part less than 0.5
17190 specially.
17191 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17192 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17193 * math/libm-test.inc (cacos_test): Add more tests.
17194 (casin_test): Likewise.
17195 (casinh_test): Likewise.
17196 * sysdeps/i386/fpu/libm-test-ulps: Update.
17197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17198
6f2e90e7
SP
171992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17200
5739f705
SP
17201 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17202 constants.
17203 (norm): Likewise.
17204 (denorm): Likewise.
17205 (__dbl_mp): Likewise.
17206 (add_magnitudes): Likewise.
17207 (sub_magnitudes): Likewise.
17208 (__add): Likewise.
17209 (__sub): Likewise.
17210 (__mul): Likewise.
17211 (__sqr): Likewise.
17212 (__inv): Likewise.
17213 (__dvd): Likewise.
17214
e375e83d
SP
17215 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17216 commented code.
17217 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17218 (__dubcos): Likewise.
17219 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17220 (__ieee754_acos): Likewise.
17221 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17222 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17223 (__exp1): Likewise.
17224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17226 (log1): Likewise.
17227 (my_log2): Likewise.
17228 (checkint): Likewise.
17229 * sysdeps/ieee754/dbl-64/e_remainder.c
17230 (__ieee754_remainder): Likewise.
17231 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17233 (bsloww): Likewise.
17234 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17235
6f2e90e7
SP
17236 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17237 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17238 MANTISSA_STORE_T to store computations on mantissa. Use
17239 macros for rounding and division.
17240 (denorm): Likewise.
17241 (__dbl_mp): Likewise.
17242 (add_magnitudes): Likewise.
17243 (sub_magnitudes): Likewise.
17244 (__mul): Likewise.
17245 (__sqr): Likewise.
17246 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17247 powers of two in terms of TWOPOW macro.
17248 (mp_no): Make type of mantissa as MANTISSA_T.
17249 [!RADIXI]: Define RADIXI.
17250 [!TWO52]: Define TWO52.
17251 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17252
fce14d4e
AZ
172532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17254
17255 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17256 llroundl symbol when building for PPC32.
17257
9ad027fb
MW
172582013-03-24 Mark H Weaver <mhw@netris.org>
17259
17260 * manual/arith.texi (Normalization Functions): Fix prototypes for
17261 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17262
e42a38dd
AZ
172632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17264
17265 [BZ #13889]
17266 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17267 high value to check if expl overflow.
17268 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17269 to check for underflow and overflow.
17270 * math/libm-test.inc: Add exp test.
17271
2e0fb521
DL
172722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17273
17274 [BZ #11120]
17275 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17276 with NOT_IN_libc.
17277
b5784d95
AZ
172782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17279
17280 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17281 symbol.
17282
5aa4a1a1
TS
172832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17284
bdef0be7
TS
17285 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17286 wrap blocks consisting of several statements.
17287
5aa4a1a1
TS
17288 * sysdeps/generic/math-tests.h: New file.
17289 * sysdeps/i386/fpu/math-tests.h: Likewise.
17290 * math/test-snan.c: Include it.
17291 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17292
98c48fe5
JM
172932013-03-21 Joseph Myers <joseph@codesourcery.com>
17294
17295 [BZ #15285]
17296 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17297 (__ieee754_j0l): Do not improve calculations using cos of twice
17298 input for inputs above LDBL_MAX / 2.0L.
17299 (__ieee754_y0l): Likewise.
17300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17301 (__ieee754_j1l): Do not improve calculations using cos of twice
17302 input for inputs above LDBL_MAX / 2.0L.
17303 (__ieee754_y1l): Likewise.
17304 * math/libm-test.inc (j0_test): Add another test.
17305 (j1_test): Likewise.
17306 (y0_test): Likewise.
17307 (y1_test): Likewise.
17308 * sysdeps/i386/fpu/libm-test-ulps: Update.
17309
3775a8bc
SP
173102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17311
17312 * Rules ($(objpfx)bench-%.c): Include code from a C source
17313 file.
17314
0a1b2ae6
JM
173152013-03-21 Joseph Myers <joseph@codesourcery.com>
17316
17317 [BZ #15287]
17318 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17319 imaginary part 1.0 and real part less than 0.5 specially.
17320 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17321 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17322 * math/libm-test.inc (cacos_test): Add more tests.
17323 (casin_test): Likewise.
17324 (casinh_test): Likewise.
17325 * sysdeps/i386/fpu/libm-test-ulps: Update.
17326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17327
b33d4ce4
SP
173282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17329
17330 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17331 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17332
bef0b507
JM
173332013-03-20 Joseph Myers <joseph@codesourcery.com>
17334
17335 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17336 * config.make.in (config-cflags-sse4): Remove variable.
17337 (config-cflags-avx): Likewise.
17338 (config-cflags-sse2avx): Likewise.
17339 (config-cflags-novzeroupper): Likewise.
17340 (config-asflags-i686): Likewise.
17341 (have-mfma4): Likewise.
17342 (have-as-vis3): Likewise.
17343 (MIG): Likewise.
17344 * configure.in (MIG): Do not AC_SUBST.
17345 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17346 (libc_cv_cc_sse4): Do not AC_SUBST.
17347 (libc_cv_cc_avx): Likewise.
17348 (libc_cv_cc_sse2avx): Likewise.
17349 (libc_cv_cc_novzeroupper): Likewise.
17350 (libc_cv_cc_fma4): Likewise.
17351 (libc_cv_as_i686): Likewise.
17352 (libc_cv_sparc_as_vis3): Likewise.
17353 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17354 LIBC_CONFIG_VAR.
17355 (config-asflags-i686): Likewise.
17356 (config-cflags-avx): Likewise.
17357 (config-cflags-sse2avx): Likewise.
17358 (have-mfma4): Likewise.
17359 (config-cflags-novzeroupper): Likewise.
17360 * sysdeps/mach/configure.in (MIG): Likewise.
17361 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17362 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17363 LIBC_CONFIG_VAR.
17364 (config-cflags-avx): Likewise.
17365 (config-cflags-sse2avx): Likewise.
17366 (have-mfma4): Likewise.
17367 (config-cflags-novzeroupper): Likewise.
17368 * configure: Regenerated.
17369 * sysdeps/i386/configure: Likewise.
17370 * sysdeps/mach/configure: Likewise.
17371 * sysdeps/sparc/configure: Likewise.
17372 * sysdeps/x86_64/configure: Likewise.
17373
912cc4b3
RM
173742013-03-20 Roland McGrath <roland@hack.frob.com>
17375
17376 [BZ #14812]
17377 * locale/programs/localedef.c (options): Put N_ translation marker
17378 on argument names, not just descriptions.
17379
04eed2b0
MS
173802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17381
17382 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17383
a065ceff
OB
173842013-03-20 Ondřej Bílka <neleai@seznam.cz>
17385
9bb2a810 17386 [BZ #14176]
a065ceff
OB
17387 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17388
a600e5ce
RM
173892013-03-19 Roland McGrath <roland@hack.frob.com>
17390
17391 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17392 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17393 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17394 [!BEFORE_ABORT] (before_abort): New function.
17395 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17396 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17397 (writev_for_fatal): New function.
17398 (WRITEV_FOR_FATAL): New macro; call that.
17399 (backtrace_and_maps): New function.
17400 (BEFORE_ABORT): New macro; call that.
17401 (struct str_list): Type removed.
17402 (__libc_message, __libc_fatal): Functions removed.
17403 Include <sysdeps/posix/libc_fatal.c> instead.
17404
6b18bea6
JM
174052013-03-19 Joseph Myers <joseph@codesourcery.com>
17406
17407 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17408 constants.
17409 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17410 double constants.
17411
aaa8cb4b
AS
174122013-03-19 Andreas Schwab <schwab@suse.de>
17413
44673770
AS
17414 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17415 * sysdeps/gnu/configure: Regenerate.
17416
aaa8cb4b
AS
17417 * configure.in: Substitute libc_cv_rtlddir.
17418 * configure: Regenerate.
17419 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17420 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17421 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17422 * elf/Makefile (install-others, CFLAGS-interp.c)
17423 (ldso_install, common-ldd-rewrite): Likewise.
17424 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17425 $(inst_slibdir)/$(rtld-installed-name).
17426 * scripts/rellns-sh: Add -p option.
17427 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17428 for source.
17429
d3cfc668
SP
174302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17431
17432 * manual/nptl.texi: Renamed to ...
17433 * manual/threads.texi: ... this.
17434 * manual/Makefile (chapters): Update.
17435
0e2b9cdd
RM
174362013-03-18 Roland McGrath <roland@hack.frob.com>
17437
17438 [BZ #14812]
17439 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17440 on argument names, not just descriptions.
0e2b9cdd
RM
17441 * malloc/memusagestat.c (options): Likewise.
17442 * nss/getent.c (options): Likewise.
63270c24
RM
17443
174442013-03-18 Benno Schulenberg <bensberg@justemail.net>
17445
17446 [BZ #14812]
17447 * iconv/iconv_prog.c (options): Put N_ translation marker
17448 on argument names, not just descriptions.
17449 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17450
b2e1393c
OB
174512013-03-18 Ondrej Bilka <neleai@seznam.cz>
17452
17453 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17454 implementation which is faster on all x86_64 architectures.
17455 Tested on AMD, Intel Nehalem, SNB, IVB.
17456 * sysdeps/x86_64/strnlen.S: Likewise.
17457
17458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17459 Remove all multiarch strlen and strnlen versions.
17460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17461 Remove strlen and strnlen related parts.
17462
17463 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17464 Inline strlen part.
17465 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17466
17467 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17468 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17469 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17470 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17471 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17472 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17473
ec4ff04d
CD
174742013-03-17 Carlos O'Donell <carlos@redhat.com>
17475
17476 * manual/memory.texi (Malloc Tunable Parameters):
17477 Sort parameters alphabetically. Add comments for missing entries.
17478
cd18e90a
DM
174792013-03-17 David S. Miller <davem@davemloft.net>
17480
17481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17482
2a185d32
JM
174832013-03-16 Joseph Myers <joseph@codesourcery.com>
17484
d2f9799e
JM
17485 [BZ #15283]
17486 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17487 for arguments at most half maximum finite value.
17488 * math/libm-test.inc (j0_test): Add more tests.
17489 (j1_test): Likewise.
17490 (y0_test): Likewise.
17491 (y1_test): Likewise.
17492 * sysdeps/i386/fpu/libm-test-ulps: Update.
17493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17494
2a185d32
JM
17495 [BZ #14155]
17496 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17497 1 / x and functions P and Q for arguments above 0x1p256L.
17498 (__ieee754_y0l): Likewise.
17499 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17500 (__ieee754_y1l): Likewise.
17501 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17502 (j1_test): Likewise.
17503 (y0_test): Likewise.
17504 (y1_test): Likewise.
17505
6cbec759
TS
175062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17507
17508 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17509 variable.
17510
bc16e260
RM
175112013-03-15 Roland McGrath <roland@hack.frob.com>
17512
aefc9b8c
RM
17513 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17514 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17515 zero since it's initialized to EXEC_PAGESIZE.
17516
bc16e260
RM
17517 * sysdeps/unix/sysv/linux/ldsodefs.h
17518 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17519 * sysdeps/generic/ldsodefs.h: ... here.
17520
a57da955
TS
175212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17522
af00a34d
TS
17523 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17524
495ded2c
TS
17525 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17526 math/test-snan.c.
17527 * math/test-snan.c: Renamed from
17528 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17529 * math/Makefile (tests): Add test-snan.
17530 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17531 test-powerpc-snan.
17532
777b0332
TS
17533 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17534 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17535 functions.
17536 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17537 __builtin_nan family of functions.
17538 * math/libm-test.inc (initialize): Initialize qnan_value with
17539 __builtin_nan family of functions.
17540 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17541 Remove variables.
17542 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17543 Remove functions.
17544 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17545 storage class. Initialize qNaN_var and sNaN_var with
17546 __builtin_nan and __builtin_nans families of functions,
17547 respectively.
17548
64d063b8
TS
17549 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17550 (sqrt_test): Remove duplicate test with qNaN input.
17551 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17552 (round_test, signbit_test, significand_test): Note missing +/-Inf
17553 as well as qNaN tests.
17554
67e971f1
TS
17555 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17556 qNaN_var. Fix a few strings, too.
17557 * math/libm-test.inc (nan_value): Rename to qnan_value.
17558 * math/gen-libm-test.pl (%beautify): Adjust to that.
17559 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17560 * math/test-misc.c (main): Likewise.
17561 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17562 to __qnan_bytes, and __qnan_union, respectively.
17563 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17564 Likewise.
17565 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17566 and lqnanval, respectively.
17567 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17568 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17569 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17570 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17571
64487e12
TS
17572 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17573 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17574 doubles.
17575
e015e27b
TS
17576 * math/test-misc.c (main): Fix copy'n'pastos.
17577 * misc/tst-efgcvt.c (special): Likewise.
17578
a57da955
TS
17579 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17580 Remove declarations.
17581
1e380345
SP
175822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17583
17584 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17585 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17586 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17587 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17588
ef26eece
AZ
175892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17590
17591 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17592 macro to return vdso values correctly in IFUNC implementations.
17593 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17594 Optimization by using IFUNC.
17595
8cfdb7e0
SP
175962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17597 Richard Henderson <rth@redhat.com>
17598 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17599
17600 * Makefile.in (bench): New target.
17601 * NEWS: Mention the benchmark framework.
17602 * Rules (bench): Likewise.
17603 (binaries-bench): Generate binaries for functions to
17604 benchmark.
17605 * benchtests/Makefile: New makefile for benchmark tests.
17606 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17607 programs.
17608 * benchtests/exp-inputs: New input file for EXP function.
17609 * benchtests/pow-inputs: New input file for POW function.
17610 * scripts/bench.pl: New script to generate source files for
17611 benchmark programs.
17612
bcda9880
SP
176132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17614
d22ca8cd
SP
17615 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17616 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17617 computations on mantissa. Use macros for rounding and
17618 division.
17619 (denorm): Likewise.
17620 (__dbl_mp): Likewise.
17621 (add_magnitudes): Likewise.
17622 (sub_magnitudes): Likewise.
17623 (__mul): Likewise.
17624 (__sqr): Likewise.
17625 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17626 powers of two in terms of TWOPOW macro.
17627 (mp_no): Make type of mantissa as MANTISSA_T.
17628 [!RADIXI]: Define RADIXI.
17629 [!TWO52]: Define TWO52.
17630 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17631
bcda9880
SP
17632 * manual/nptl.texi (cindex): Modify threads to pthreads.
17633
06d5adfb
JM
176342013-03-15 Joseph Myers <joseph@codesourcery.com>
17635
17636 * sysdeps/x86_64/preconfigure: Regenerated.
17637
41c7328e
JM
176382013-03-14 Joseph Myers <joseph@codesourcery.com>
17639
17640 [BZ #14155]
17641 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17642 0x1p28 and above.
17643 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17644 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17645 0x1p28 and above.
17646 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17647 * math/libm-test.inc (j0_test): Do not allow one spurious
17648 underflow exception.
17649 (y1_test): Likewise.
17650
e25cfa60
SP
176512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17652
0409959c
SP
17653 * manual/Makefile (chapters): Add nptl.
17654 * manual/debug.texi (Debugging Support): Add link to Threads
17655 chapter.
17656 * manual/nptl.texi: New file.
17657
e25cfa60
SP
17658 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17659
58a1335e
PB
176602013-03-14 Petr Baudis <pasky@ucw.cz>
17661
17662 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17663 for non-NULL pointer before the memory validity test. Pointed
17664 out by Holger Brunck <holger.brunck@keymile.com>.
17665
9dc7c64f
AS
176662013-03-13 Andreas Schwab <schwab@suse.de>
17667
17668 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17669 instead of .os.
17670
54206aa6
JM
176712013-03-13 Joseph Myers <joseph@codesourcery.com>
17672
17673 * timezone/zic.c: Update from tzcode 2013b.
17674
e98cdb38
CD
176752013-03-12 Carlos O'Donell <carlos@redhat.com>
17676
17677 * manual/install.texi (Configuring and compiling):
17678 Mention i686 and i586.
17679 * INSTALL: Regenerate.
17680
9967e003
RM
176812013-03-12 Roland McGrath <roland@hack.frob.com>
17682
17683 * sysdeps/init_array/elf-init.c: New file.
17684 * csu/elf-init.c
17685 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17686 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17687
17688 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17689 __gmon_start__ as global, but as static with a .preinit_array pointer.
17690 * sysdeps/init_array/gmon-start.c: New file. Use that.
17691 * sysdeps/init_array/crti.S: New file, empty except for comments.
17692 * sysdeps/init_array/crtn.S: Likewise.
17693
e6b5a293 176942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17695
17696 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17697 definining bcopy.
80f844c9
OB
17698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17699 Remove Prefer_SSE_for_memop.
17700 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17701 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17702 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17704 memset-x86-64.
80f844c9 17705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17706 Remove bzero, memset ifunc support.
80f844c9
OB
17707 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17708 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17709 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17710 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17711
fb6b0fcb
AS
177122013-03-11 Andreas Schwab <schwab@suse.de>
17713
17714 [BZ #15234]
17715 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17716 by SHLIB_COMPAT.
17717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17718 (GLIBC_2.16): Remove pthread_atfork.
17719
3e6bd4b1
PP
177202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17721
17722 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17723 (ptestcases.h): Likewise.
17724
222d7f00
RM
177252013-03-08 Roland McGrath <roland@hack.frob.com>
17726
17727 * Makeconfig ($(common-objpfx)config.status): Depend on
17728 sysdeps/*/preconfigure{,.in} too.
17729
1ba4f030
JM
177302013-03-08 Joseph Myers <joseph@codesourcery.com>
17731
a222d91a
JM
17732 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17733 (__free_hook): Use void * instead of __malloc_ptr_t.
17734 (__malloc_hook): Likewise.
17735 (__realloc_hook): Likewise.
17736 (__memalign_hook): Likewise.
17737 (__after_morecore_hook): Likewise.
17738 * malloc/arena.c (save_malloc_hook): Likewise.
17739 (save_free_hook): Likewise.
17740 * malloc/hooks.c (malloc_hook_ini): Likewise.
17741 (realloc_hook_ini): Likewise.
17742 (memalign_hook_ini): Likewise.
17743 * malloc/malloc.c (malloc_hook_ini): Likewise.
17744 (realloc_hook_ini): Likewise.
17745 (memalign_hook_ini): Likewise.
17746 (__free_hook): Likewise.
17747 (__malloc_hook): Likewise.
17748 (__realloc_hook): Likewise.
17749 (__memalign_hook): Likewise.
17750 (__libc_malloc): Likewise.
17751 (__libc_free): Likewise.
17752 (__libc_realloc): Likewise.
17753 (__libc_memalign): Likewise.
17754 (__libc_valloc): Likewise.
17755 (__libc_pvalloc): Likewise.
17756 (__libc_calloc): Likewise.
17757 (__posix_memalign): Likewise.
17758 * malloc/morecore.c (__sbrk): Likewise.
17759 (__default_morecore): Likewise.
17760
5cc45e10
JM
17761 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17762
dd54b864
JM
17763 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17764 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17765 __malloc_ptrdiff_t.
17766
1ba4f030
JM
17767 * malloc/malloc.h (__malloc_size_t): Remove macro.
17768 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17769 __malloc_size_t.
17770 (old_memalign_hook): Likewise.
17771 (old_realloc_hook): Likewise.
17772 (struct hdr): Likewise.
17773 (flood): Likewise.
17774 (mallochook): Likewise.
17775 (memalignhook): Likewise.
17776 (reallochook): Likewise.
17777 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17778 (tr_old_realloc_hook): Likewise.
17779 (tr_old_memalign_hook): Likewise.
17780 (tr_mallochook): Likewise.
17781 (tr_reallochook): Likewise.
17782 (tr_memalignhook): Likewise.
17783
edf66e57
AZ
177842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17785
17786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17787 default_ldbl_pack and using as default implementation.
17788 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17789 implementation.
17790 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17791 redundant definition.
17792 (ldbl_insert_mantissa): Likewise.
17793 (ldbl_canonicalize): Likewise.
17794 (ldbl_nearbyint): Likewise.
17795 (ldbl_pack): Rename to ldbl_pack_ppc.
17796 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17797 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17798 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17799
6d9145d8
SP
178002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17801
17802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17803 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17804 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17805 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17807 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17808 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17809 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17810
4dd4e157
AJ
178112013-03-07 Andreas Jaeger <aj@suse.de>
17812
17813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17814 bits/mman-linux.h.
17815
adbb8027
SP
178162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17817
ce544b5b
SP
17818 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17819 Include mpa.h and declare __MPEXP.
17820 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17821 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17822 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17823 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17824 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17825 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17826 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17827
4cc149fd
SP
17828 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17829 (__slowpow): Use long double EXPL and LOGL functions to
17830 compute POW.
17831 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17832 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17835 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17837
e6ebd4a7
SP
17838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17839 intermediate variable to calculate exponent.
17840 (__sqr): Likewise.
17841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17842 Likewise.
17843 (__sqr): Likewise.
17844
82a9811d
SP
17845 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17846 [!NO__SQR]: Define __sqr.
17847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17848 and NO__SQR. Remove all code except __mul and __sqr. Include
17849 sysdeps/ieee754/dbl-64/mpa.c.
17850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17851
adbb8027
SP
17852 [BZ #12723]
17853 * posix/Makefile (tests): Add tst-pathconf.
17854 * posix/tst-pathconf.c: New test case.
17855 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17856 _PC_PIPE_BUF.
17857 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17858
39120df9
PF
178592013-03-06 Patsy Franklin <pfrankli@redhat.com>
17860
17861 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17862
67525cb8
AJ
178632013-03-06 Andreas Jaeger <aj@suse.de>
17864
664a9ce4
AJ
17865 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17866 definition via __MAP_ANONYMOUS.
17867
8e39047d
AJ
17868 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17869 it's not part of Linux headers.
17870
67525cb8
AJ
17871 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17872 (MAP_HUGE_MASK): Define.
17873
17874 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17875 Define.
17876 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17878 Define.
17879 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17880 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17881 Define.
17882 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17884 Define.
17885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17886
17887 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17888 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17889 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17890 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17891 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17892 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17893
17894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17895 Handle f2fs.
17896
17897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17898 Handle f2fs and efivarfs.
17899
17900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17901 f2fs.
17902
17903 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17904 (EFIVARFS_MAGIC): Add.
17905 (F2FS_LINK_MAX): Add.
17906
e1b42695
PP
179072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17908
17909 * stdio-common/vfprintf.c: Replace __builtin_expect with
17910 __glibc_unlikely.
17911
2d67d91a
JM
179122013-03-06 Joseph Myers <joseph@codesourcery.com>
17913
17914 [BZ #13550]
17915 * sysdeps/generic/bp-sym.h: Remove file.
17916 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17918 <bp-sym.h> and <bp-asm.h>.
17919 (__longjmp): Don't use BP_SYM.
17920 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17921 and <bp-asm.h>.
17922 (memcpy): Don't use BP_SYM.
17923 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17924 <bp-sym.h> and <bp-asm.h>.
17925 (memcpy): Don't use BP_SYM.
17926 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17927 <bp-asm.h>.
17928 (memcpy): Don't use BP_SYM.
17929 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17930 <bp-asm.h>.
17931 (memset): Don't use BP_SYM.
17932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17934 (__bzero): Don't use BP_SYM.
17935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17937 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17938 <bp-sym.h> and <bp-asm.h>.
17939 (memcmp): Don't use BP_SYM. Remove comment about bounded
17940 pointers.
17941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17942 <bp-sym.h> and <bp-asm.h>.
17943 (memcpy): Don't use BP_SYM.
17944 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17945 <bp-sym.h> and <bp-asm.h>.
17946 (memset): Don't use BP_SYM.
17947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17949 (__bzero): Don't use BP_SYM.
17950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17953 <bp-sym.h> and <bp-asm.h>.
17954 (strncmp): Don't use BP_SYM. Remove comment about bounded
17955 pointers.
17956 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17957 <bp-sym.h> and <bp-asm.h>.
17958 (memcpy): Don't use BP_SYM.
17959 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17960 <bp-sym.h> and <bp-asm.h>.
17961 (memset): Don't use BP_SYM.
17962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17964 (__bzero): Don't use BP_SYM.
17965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17968 <bp-sym.h> and <bp-asm.h>.
17969 (__memchr): Don't use BP_SYM.
17970 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17971 <bp-sym.h> and <bp-asm.h>.
17972 (memcmp): Don't use BP_SYM. Remove comment about bounded
17973 pointers.
17974 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17975 <bp-sym.h> and <bp-asm.h>.
17976 (memcpy): Don't use BP_SYM.
17977 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17978 <bp-sym.h> and <bp-asm.h>.
17979 (__mempcpy): Don't use BP_SYM.
17980 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17981 <bp-sym.h> and <bp-asm.h>.
17982 (__memrchr): Don't use BP_SYM.
17983 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17984 <bp-sym.h> and <bp-asm.h>.
17985 (memset): Don't use BP_SYM.
17986 (__bzero): Likewise.
17987 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17988 <bp-sym.h> and <bp-asm.h>.
17989 (__rawmemchr): Don't use BP_SYM.
17990 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17991 <bp-sym.h> and <bp-asm.h>.
17992 (__STRCMP): Don't use BP_SYM.
17993 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17994 <bp-sym.h> and <bp-asm.h>.
17995 (strchr): Don't use BP_SYM.
17996 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17997 <bp-sym.h> and <bp-asm.h>.
17998 (__strchrnul): Don't use BP_SYM.
17999 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18000 <bp-sym.h> and <bp-asm.h>.
18001 (strlen): Don't use BP_SYM.
18002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18003 <bp-sym.h> and <bp-asm.h>.
18004 (strncmp): Don't use BP_SYM. Remove comment about bounded
18005 pointers.
18006 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18007 <bp-sym.h> and <bp-asm.h>.
18008 (__strnlen): Don't use BP_SYM.
18009 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18010 <bp-sym.h> and <bp-asm.h>.
18011 (__GI__setjmp): Don't use BP_SYM.
18012 (_setjmp): Likewise.
18013 (__sigsetjmp): Likewise.
18014 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18015 (L(start_addresses)): Don't use BP_SYM.
18016 (_start): Likewise.
18017 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18018 <bp-asm.h>.
18019 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18020 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18021 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18022 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18023 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18024 <bp-asm.h>.
18025 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18026 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18027 about bounded pointers.
18028 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18029 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18030 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18031 <bp-asm.h>.
18032 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18033 about bounded pointers. Remove GKM FIXME comments.
18034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18035 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18036 <bp-asm.h>.
18037 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18038 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18039 Remove GKM FIXME comments.
18040 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18041 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18042 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18043 <bp-asm.h>.
18044 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18045 about bounded pointers. Remove GKM FIXME comment.
18046 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18047 and <bp-asm.h>.
18048 (strncmp): Don't use BP_SYM. Remove comment about bounded
18049 pointers.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18051 <bp-sym.h> and <bp-asm.h>.
18052 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18054 <bp-sym.h> and <bp-asm.h>.
18055 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18056 comment.
18057
cdcf361f
PP
180582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18059
18060 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18061 call free(NULL).
18062
3c4a2b15
DM
180632013-03-05 David S. Miller <davem@davemloft.net>
18064
18065 * po/es.po: Update from translation team.
18066
cdcf361f 180672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18068
18069 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18070 <bits/mman-linux.h>.
18071 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18072 is fine.
18073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18074 <bits/mman-linux.h> to end of file.
18075 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18076 is fine.
18077 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18078 <bits/mman-linux.h> to end of file.
18079 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18080 is fine.
18081 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18082 <bits/mman-linux.h> to end of file.
18083
18084 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18085 (MCL_CURRENT, MCL_FUTURE): Define here.
18086
5f67c04f
AK
180872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18088
8a4473cc 18089 [BZ #15232]
5f67c04f
AK
18090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18091 attribute_hidden.
18092 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18093
c3e94a95
AK
180942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18095
18096 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18097 fourth parameter needed for rt_sigprocmask syscall.
18098 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18099 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18100 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18101 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18102 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18103 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18104
cfb6382a
JM
181052013-03-04 Joseph Myers <joseph@codesourcery.com>
18106
18107 [BZ #13550]
18108 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18109 comment about bounded pointers.
18110 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18111 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18112
539d8e01
AJ
181132013-03-04 Andreas Jaeger <aj@suse.de>
18114
18115 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18116 common definitions.
18117
18118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18119 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18120 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18124
2e167a70 181252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18126
18127 [BZ #15055]
18128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18129 __ieee754_sqrl instead of __sqrl.
18130
68508633
JM
181312013-03-01 Joseph Myers <joseph@codesourcery.com>
18132
18133 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18134 * sysdeps/powerpc/fpu_control.h: ... here.
18135 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18136 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18137 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18138 * sysdeps/powerpc/bits/mathinline.h: ... here.
18139
7775448e
RM
181402013-03-01 Roland McGrath <roland@hack.frob.com>
18141
18142 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18143 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18144 to just [NEED_DL_SYSINFO_DSO].
18145 * elf/dl-support.c: Likewise.
18146 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18147 * elf/rtld.c (dl_main): Likewise.
18148 * elf/setup-vdso.h (setup_vdso): Likewise.
18149 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18150 * sysdeps/unix/sysv/linux/dl-sysdep.c
18151 (_dl_discover_osversion): Likewise.
18152
4e9b5995
CD
181532013-03-01 Carlos O'Donell <carlos@redhat.com>
18154
18155 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18156 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18157
e23872c8
SP
181582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18159
e5c74c63
SP
18160 * NEWS: Mention libm performance improvements and non-x86 PI
18161 futex support.
18162
e23872c8
SP
18163 * csu/libc-start.c (__pthread_initialize_minimal): Change
18164 function arguments.
18165 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18166
b5510883
JM
181672013-02-28 Joseph Myers <joseph@codesourcery.com>
18168
18169 [BZ #13550]
18170 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18171 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18172 <bp-sym.h> and <bp-asm.h>.
18173 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18174 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18175 and <bp-asm.h>.
18176 (memcpy): Don't use BP_SYM.
18177 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18178 <bp-asm.h>.
18179 (__mpn_add_n): Don't use BP_SYM.
18180 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18181 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18182 and <bp-asm.h>.
18183 (__mpn_addmul_1): Don't use BP_SYM.
18184 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18185 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18186 <bp-sym.h>.
18187 (_setjmp): Don't use BP_SYM.
18188 (__novmx_setjmp): Likewise.
18189 (__GI__setjmp): Likewise.
18190 (__vmx_setjmp): Likewise.
18191 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18192 <bp-sym.h>.
18193 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18194 (__bzero): Don't use BP_SYM.
18195 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18196 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18197 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18198 <bp-sym.h> and <bp-asm.h>.
18199 (memcpy): Don't use BP_SYM.
18200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18201 <bp-sym.h> and <bp-asm.h>.
18202 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18203 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18204 <bp-sym.h> and <bp-asm.h>.
18205 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18206 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18207 <bp-asm.h>.
18208 (__mpn_lshift): Don't use BP_SYM.
18209 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18210 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18211 <bp-asm.h>.
18212 (memset): Don't use BP_SYM.
18213 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18214 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18215 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18216 <bp-asm.h>.
18217 (__mpn_mul_1): Don't use BP_SYM.
18218 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18219 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18220 <bp-sym.h> and <bp-asm.h>.
18221 (memcmp): Don't use BP_SYM.
18222 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18223 <bp-sym.h> and <bp-asm.h>.
18224 (memcpy): Don't use BP_SYM.
18225 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18226 <bp-sym.h> and <bp-asm.h>.
18227 (memset): Don't use BP_SYM.
18228 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18229 <bp-sym.h> and <bp-asm.h>.
18230 (strncmp): Don't use BP_SYM.
18231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18232 <bp-sym.h> and <bp-asm.h>.
18233 (memcpy): Don't use BP_SYM.
18234 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18235 <bp-sym.h> and <bp-asm.h>.
18236 (memset): Don't use BP_SYM.
18237 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18238 <bp-sym.h> and <bp-asm.h>.
18239 (__memchr): Don't use BP_SYM.
18240 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18241 <bp-sym.h> and <bp-asm.h>.
18242 (memcmp): Don't use BP_SYM.
18243 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18244 <bp-sym.h> and <bp-asm.h>.
18245 (memcpy): Don't use BP_SYM.
18246 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18247 <bp-sym.h> and <bp-asm.h>.
18248 (__mempcpy): Don't use BP_SYM.
18249 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18250 <bp-sym.h> and <bp-asm.h>.
18251 (__memrchr): Don't use BP_SYM.
18252 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18253 <bp-sym.h> and <bp-asm.h>.
18254 (memset): Don't use BP_SYM.
18255 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18256 <bp-sym.h> and <bp-asm.h>.
18257 (__rawmemchr): Don't use BP_SYM.
18258 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18259 <bp-sym.h> and <bp-asm.h>.
18260 (__STRCMP): Don't use BP_SYM.
18261 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18262 <bp-sym.h> and <bp-asm.h>.
18263 (strchr): Don't use BP_SYM.
18264 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18265 <bp-sym.h> and <bp-asm.h>.
18266 (__strchrnul): Don't use BP_SYM.
18267 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18268 <bp-sym.h> and <bp-asm.h>.
18269 (strlen): Don't use BP_SYM.
18270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18271 <bp-sym.h> and <bp-asm.h>.
18272 (strncmp): Don't use BP_SYM.
18273 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18274 <bp-sym.h> and <bp-asm.h>.
18275 (__strnlen): Don't use BP_SYM.
18276 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18277 <bp-asm.h>.
18278 (__mpn_rshift): Don't use BP_SYM.
18279 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18280 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18281 <bp-sym.h> and <bp-asm.h>.
18282 (__sigsetjmp): Don't use BP_SYM.
18283 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18284 (L(start_addresses)): Don't use BP_SYM.
18285 (_start): Likewise.
18286 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18287 <bp-asm.h>.
18288 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18289 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18290 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18291 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18292 <bp-asm.h>.
18293 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18294 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18295 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18296 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18297 <bp-asm.h>.
18298 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18299 comments.
18300 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18301 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18302 <bp-asm.h>.
18303 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18304 FIXME comments.
18305 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18306 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18307 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18308 <bp-asm.h>.
18309 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18310 comment.
18311 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18312 and <bp-asm.h>.
18313 (strncmp): Don't use BP_SYM,
18314 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18315 <bp-asm.h>.
18316 (__mpn_sub_n): Don't use BP_SYM.
18317 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18318 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18319 and <bp-asm.h>.
18320 (__mpn_submul_1): Don't use BP_SYM.
18321 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18323 <bp-sym.h> and <bp-asm.h>.
18324 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18326 <bp-sym.h> and <bp-asm.h>.
18327 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18328 comment.
18329
8d19fe64
SP
183302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18331
18332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18333 Use ZK to minimize writes to Z.
18334 (sub_magnitudes): Simplify code a bit.
18335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18336 Use ZK to minimize writes to Z.
18337 (sub_magnitudes): Simplify code a bit.
18338
85bd816a
RM
183392013-02-27 Roland McGrath <roland@hack.frob.com>
18340
18341 * csu/gmon-start.c: Add special exception to license text.
18342
b5977bf2
RH
183432013-02-27 Richard Henderson <rth@redhat.com>
18344
18345 * scripts/config.guess: Update from config.git.
18346 * scripts/config.sub: Likewise.
18347
11d6e2f2
SP
183482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18349
09c14ed2
SP
18350 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18351
a688864e
SP
18352 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18353
6295157a
SP
18354 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18355
b8de2202
SP
18356 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18357
11d6e2f2
SP
18358 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18359
7e80ddb8
RM
183602013-02-26 Roland McGrath <roland@hack.frob.com>
18361
18362 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18363 [$(build-shared = yes].
7e80ddb8 18364
7da6d9ed
SP
183652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18366
45f05884
SP
18367 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18368 (__mul): Reduce iterations for calculating mantissa.
18369
2236d359
SP
18370 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18371 MPTWO.
18372 (__mpranred): Likewise.
18373
7da6d9ed
SP
18374 [BZ #15160]
18375 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18376 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18377
b7688c42
PE
183782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18379
18380 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18381 Define __attribute__.
18382
53a5c423
SP
183832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18384
18385 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18386 unused.
18387 * posix/regex_internal.h (__attribute): Remove.
18388 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18389 (re_string_context_at): Likewise.
18390 (bitset_not): Use __attribute__ and mark function as possibly
18391 unused.
18392 (bitset_merge): Likewise.
18393 (bitset_mask): Likewise.
18394 (re_string_char_size_at): Likewise.
18395 (re_string_wchar_at): Likewise.
18396 (re_string_elem_size_at): Likewise.
18397
60f5a8b5
SP
183982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
2a983a2e
SP
18400 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18401 code.
18402 (cc32): Likewise.
18403
e69804d1
SP
18404 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18405 (__acr): Likewise.
18406 (__cpy): Likewise.
18407 (norm): Likewise.
18408 (denorm): Likewise.
18409 (__dbl_mp): Likewise.
18410 (add_magnitudes): Likewise.
18411 (sub_magnitudes): Likewise.
18412 (__mul): Likewise.
18413 (__inv): Likewise.
18414
2f22a1e8
SP
18415 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18416 style.
18417
8930ddc7
SP
18418 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18419 style.
18420
dc60cb11
SP
18421 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18422 code.
18423
60f5a8b5
SP
18424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18425 up changes with default code.
18426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18427 Likewise.
18428
b4d1fd33
AM
184292013-02-24 Allan McRae <allan@archlinux.org>
18430
faf6f8bc
AM
18431 * manual/socket.texi (The Internet Namespace): Order menu items
18432 to match that in the file.
18433
b4d1fd33
AM
18434 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18435 node listing of the info page menu.
18436
2366713d
JM
184372013-02-21 Joseph Myers <joseph@codesourcery.com>
18438
18439 [BZ #13550]
18440 * sysdeps/i386/bp-asm.h: Remove file.
18441 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18442 (PARMS): Do not use macros from bp-asm.h.
18443 (S1): Likewise.
18444 (S2): Likewise.
18445 (SIZE): Likewise.
18446 (__mpn_add_n): Do not use BP_SYM
18447 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18448 "bp-asm.h".
18449 (PARMS): Do not use macros from bp-asm.h.
18450 (S1): Likewise.
18451 (SIZE): Likewise.
18452 (__mpn_addmul_1): Do not use BP_SYM
18453 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18454 "bp-asm.h".
18455 (PARMS): Do not use macros from bp-asm.h.
18456 (SIGMSK): Likewise.
18457 (_setjmp): Likewise. Do not use BP_SYM.
18458 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18459 "bp-asm.h".
18460 (PARMS): Do not use macros from bp-asm.h.
18461 (SIGMSK): Likewise.
18462 (setjmp): Likewise. Do not use BP_SYM.
18463 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18464 "bp-asm.h".
18465 (PARMS): Do not use macros from bp-asm.h.
18466 (__frexp): Do not use BP_SYM.
18467 (frexp): Likewise.
18468 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18469 "bp-asm.h".
18470 (PARMS): Do not use macros from bp-asm.h.
18471 (__frexpf): Do not use BP_SYM.
18472 (frexpf): Likewise.
18473 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18474 "bp-asm.h".
18475 (PARMS): Do not use macros from bp-asm.h.
18476 (__frexpl): Do not use BP_SYM.
18477 (frexpl): Likewise.
18478 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18479 "bp-asm.h".
18480 (PARMS): Do not use macros from bp-asm.h.
18481 (__remquo): Do not use BP_SYM.
18482 (remquo): Likewise.
18483 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18484 "bp-asm.h".
18485 (PARMS): Do not use macros from bp-asm.h.
18486 (__remquof): Do not use BP_SYM.
18487 (remquof): Likewise.
18488 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18489 "bp-asm.h".
18490 (PARMS): Do not use macros from bp-asm.h.
18491 (__remquol): Do not use BP_SYM.
18492 (remquol): Likewise.
18493 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18494 "bp-asm.h".
18495 (PARMS): Do not use macros from bp-asm.h.
18496 (DEST): Likewise.
18497 (SRC): Likewise.
18498 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18499 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18500 "bp-asm.h".
18501 (PARMS): Do not use macros from bp-asm.h.
18502 (strlen): Do not use BP_SYM.
18503 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18504 "bp-asm.h".
18505 (PARMS): Do not use macros from bp-asm.h.
18506 (S1): Likewise.
18507 (S2): Likewise.
18508 (SIZE): Likewise.
18509 (__mpn_add_n): Do not use BP_SYM.
18510 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18511 "bp-asm.h".
18512 (PARMS): Do not use macros from bp-asm.h.
18513 (S1): Likewise.
18514 (SIZE): Likewise.
18515 (__mpn_addmul_1): Do not use BP_SYM.
18516 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18517 weak_alias.
18518 (bzero): Likewise.
18519 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18520 "bp-asm.h".
18521 (PARMS): Do not use macros from bp-asm.h.
18522 (S): Likewise.
18523 (SIZE): Likewise.
18524 (__mpn_lshift): Do not use BP_SYM.
18525 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18526 "bp-asm.h".
18527 (PARMS): Do not use macros from bp-asm.h.
18528 (DEST): Likewise.
18529 (SRC): Likewise.
18530 (LEN): Likewise.
18531 (memcpy): Likewise. Do not use BP_SYM.
18532 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18533 libc_hidden_def and weak_alias.
18534 (mempcpy): Do not use BP_SYM in weak_alias.
18535 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18536 "bp-asm.h".
18537 (PARMS): Do not use macros from bp-asm.h.
18538 (DEST): Likewise.
18539 (LEN): Likewise.
18540 [!BZERO_P] (CHR): Likewise.
18541 (memset): Likewise. Do not use BP_SYM.
18542 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18543 "bp-asm.h".
18544 (PARMS): Do not use macros from bp-asm.h.
18545 (S1): Likewise.
18546 (SIZE): Likewise.
18547 (__mpn_mul_1): Do not use BP_SYM.
18548 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18549 "bp-asm.h".
18550 (PARMS): Do not use macros from bp-asm.h.
18551 (S): Likewise.
18552 (SIZE): Likewise.
18553 (__mpn_rshift): Do not use BP_SYM.
18554 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18555 "bp-asm.h".
18556 (PARMS): Do not use macros from bp-asm.h.
18557 (STR): Likewise.
18558 (CHR): Likewise.
18559 (strchr): Likewise. Do not use BP_SYM.
18560 (index): Do not use BP_SYM in weak_alias.
18561 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18562 "bp-asm.h".
18563 (PARMS): Do not use macros from bp-asm.h.
18564 (DEST): Likewise.
18565 (SRC): Likewise.
18566 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18567 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18568 "bp-asm.h".
18569 (PARMS): Do not use macros from bp-asm.h.
18570 (strlen): Do not use BP_SYM.
18571 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18572 "bp-asm.h".
18573 (PARMS): Do not use macros from bp-asm.h.
18574 (S1): Likewise.
18575 (S2): Likewise.
18576 (SIZE): Likewise.
18577 (__mpn_sub_n): Do not use BP_SYM.
18578 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18579 "bp-asm.h".
18580 (PARMS): Do not use macros from bp-asm.h.
18581 (S1): Likewise.
18582 (SIZE): Likewise.
18583 (__mpn_submul_1): Do not use BP_SYM.
18584 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18585 "bp-asm.h".
18586 (PARMS): Do not use macros from bp-asm.h.
18587 (S1): Likewise.
18588 (S2): Likewise.
18589 (SIZE): Likewise.
18590 (__mpn_add_n): Do not use BP_SYM.
18591 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18592 weak_alias.
18593 (bzero): Likewise.
18594 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18595 "bp-asm.h".
18596 (PARMS): Do not use macros from bp-asm.h.
18597 (BLK2): Likewise.
18598 (LEN): Likewise.
18599 (memcmp): Do not use BP_SYM.
18600 (bcmp): Do not use BP_SYM in weak_alias.
18601 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18602 "bp-asm.h".
18603 (PARMS): Do not use macros from bp-asm.h.
18604 (DEST): Likewise.
18605 (SRC): Likewise.
18606 (LEN): Likewise.
18607 (memcpy): Likewise. Do not use BP_SYM.
18608 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18609 "bp-asm.h".
18610 (PARMS): Do not use macros from bp-asm.h.
18611 (DEST): Likewise.
18612 (SRC): Likewise.
18613 (LEN): Likewise.
18614 (memmove): Likewise. Do not use BP_SYM.
18615 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18616 "bp-asm.h".
18617 (PARMS): Do not use macros from bp-asm.h.
18618 (DEST): Likewise.
18619 (SRC): Likewise.
18620 (LEN): Likewise.
18621 (__mempcpy): Likewise. Do not use BP_SYM.
18622 (mempcpy): Do not use BP_SYM in weak_alias.
18623 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18624 "bp-asm.h".
18625 (PARMS): Do not use macros from bp-asm.h.
18626 (DEST): Likewise.
18627 (LEN): Likewise.
18628 [!BZERO_P] (CHR): Likewise.
18629 (memset): Likewise. Do not use BP_SYM.
18630 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18631 "bp-asm.h".
18632 (PARMS): Do not use macros from bp-asm.h.
18633 (STR2): Likewise.
18634 (strcmp): Do not use BP_SYM.
18635 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18636 "bp-asm.h".
18637 (PARMS): Do not use macros from bp-asm.h.
18638 (STR): Likewise.
18639 (DELIM): Likewise.
18640 [USE_AS_STRTOK_R] (SAVE): Likewise.
18641 (FUNCTION): Likewise. Do not use BP_SYM.
18642 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18643 aliases.
18644 (strtok_r): Likewise.
18645 (__GI___strtok_r): Likewise.
18646 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18647 (PARMS): Do not use macros from bp-asm.h.
18648 (S): Likewise.
18649 (SIZE): Likewise.
18650 (__mpn_lshift): Do not use BP_SYM.
18651 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18652 (PARMS): Do not use macros from bp-asm.h.
18653 (STR): Likewise.
18654 (CHR): Likewise.
18655 (__memchr): Do not use BP_SYM.
18656 (memchr): Do not use BP_SYM in weak_alias.
18657 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18658 (PARMS): Do not use macros from bp-asm.h.
18659 (BLK2): Likewise.
18660 (LEN): Likewise.
18661 (memcmp): Do not use BP_SYM.
18662 (bcmp): Do not use BP_SYM in weak_alias.
18663 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18664 (PARMS): Do not use macros from bp-asm.h.
18665 (S1): Likewise.
18666 (SIZE): Likewise.
18667 (__mpn_mul_1): Do not use BP_SYM.
18668 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18669 "bp-asm.h".
18670 (PARMS): Do not use macros from bp-asm.h.
18671 (STR): Likewise.
18672 (CHR): Likewise.
18673 (__rawmemchr): Do not use BP_SYM.
18674 (rawmemchr): Do not use BP_SYM in weak_alias.
18675 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18676 (PARMS): Do not use macros from bp-asm.h.
18677 (S): Likewise.
18678 (SIZE): Likewise.
18679 (__mpn_rshift): Do not use BP_SYM.
18680 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18681 (PARMS): Do not use macros from bp-asm.h.
18682 (SIGMSK): Likewise.
18683 (__sigsetjmp): Likewise. Do not use BP_SYM.
18684 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18685 (_start): Do not use BP_SYM.
18686 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18687 (PARMS): Do not use macros from bp-asm.h.
18688 (DEST): Likewise.
18689 (SRC): Likewise.
18690 (__stpcpy): Likewise. Do not use BP_SYM.
18691 (stpcpy): Do not use BP_SYM in weak_alias.
18692 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18693 "bp-asm.h".
18694 (PARMS): Do not use macros from bp-asm.h.
18695 (DEST): Likewise.
18696 (SRC): Likewise.
18697 (LEN): Likewise.
18698 (__stpncpy): Likewise. Do not use BP_SYM.
18699 (stpncpy): Do not use BP_SYM in weak_alias.
18700 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18701 (PARMS): Do not use macros from bp-asm.h.
18702 (STR): Likewise.
18703 (CHR): Likewise.
18704 (strchr): Likewise. Do not use BP_SYM.
18705 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18706 "bp-asm.h".
18707 (PARMS): Do not use macros from bp-asm.h.
18708 (STR): Likewise.
18709 (CHR): Likewise.
18710 (__strchrnul): Likewise. Do not use BP_SYM.
18711 (strchrnul): Do not use BP_SYM in weak_alias.
18712 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18713 "bp-asm.h".
18714 (PARMS): Do not use macros from bp-asm.h.
18715 (STOP): Likewise.
18716 (strcspn): Do not use BP_SYM.
18717 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18718 "bp-asm.h".
18719 (PARMS): Do not use macros from bp-asm.h.
18720 (STR): Likewise.
18721 (STOP): Likewise.
18722 (strpbrk): Likewise. Do not use BP_SYM.
18723 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18724 "bp-asm.h".
18725 (PARMS): Do not use macros from bp-asm.h.
18726 (STR): Likewise.
18727 (CHR): Likewise.
18728 (strrchr): Likewise. Do not use BP_SYM.
18729 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18730 (PARMS): Do not use macros from bp-asm.h.
18731 (SKIP): Likewise.
18732 (strspn): Do not use BP_SYM.
18733 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18734 (PARMS): Do not use macros from bp-asm.h.
18735 (STR): Likewise.
18736 (DELIM): Likewise.
18737 (SAVE): Likewise.
18738 (FUNCTION): Likewise. Do not use BP_SYM.
18739 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18740 aliases.
18741 (strtok_r): Likewise.
18742 (__GI___strtok_r): Likewise.
18743 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18744 (PARMS): Do not use macros from bp-asm.h.
18745 (S1): Likewise.
18746 (S2): Likewise.
18747 (SIZE): Likewise.
18748 (__mpn_sub_n): Do not use BP_SYM.
18749 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18750 "bp-asm.h".
18751 (PARMS): Do not use macros from bp-asm.h.
18752 (S1): Likewise.
18753 (SIZE): Likewise.
18754 (__mpn_submul_1): Do not use BP_SYM.
18755 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18756 <bp-sym.h>.
18757 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18758 and <bp-asm.h>.
18759 (PARMS): Do not use macros from bp-asm.h.
18760 (FLAGS): Likewise.
18761 (PTID): Likewise.
18762 (TLS): Likewise.
18763 (CTID): Likewise.
18764 (__clone): Do not use BP_SYM.
18765 (clone): Do not use BP_SYM in weak_alias.
18766 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18767 and <bp-asm.h>.
18768 (PARMS): Do not use macros from bp-asm.h.
18769 (LEN): Likewise.
18770 (__mmap64): Do not use BP_SYM.
18771 (mmap64): Do not use BP_SYM in weak_alias.
18772 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18773 <bp-sym.h> and <bp-asm.h>.
18774 (PARMS): Do not use macros from bp-asm.h.
18775 (__posix_fadvise64_l64): Do not use BP_SYM.
18776 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18777 (PARMS): Do not use macros from bp-asm.h.
18778 (NSOPS): Likewise.
18779 (semtimedop): Do not use BP_SYM.
18780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18781 and <bp-asm.h>.
18782
582a3cff
AM
187832013-02-21 Allan McRae <allan@archlinux.org>
18784
18785 * manual/message.texi (Charset conversion in gettext):
18786 Move @end statement to beginning of line.
18787
bab8a695
SP
187882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18789
80945231
SP
18790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18791 static.
18792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18793 Likewise.
18794
bab8a695
SP
18795 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18796 (denorm): Likewise.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18799
e21d7aa7
AK
188002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18801
18802 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18803 tail-call to the resolved function if pltexit isn't needed.
18804
4c7a4263
SP
188052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18806
18807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18808 or Y being zero as being unlikely.
18809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18810 Likewise.
18811
41f49342
CD
188122013-02-20 Carlos O'Donell <carlos@redhat.com>
18813
18814 * manual/nss.texi (System Databases and Name Service Switch):
18815 Remove frobnicate @pxref.
18816
50022a93
TS
188172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18818
18819 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18820 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18821
08cbd996
PM
188222013-02-20 Petr Machata <pmachata@redhat.com>
18823
18824 * elf/elf.h (R_ARM_TARGET1): New macro.
18825 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18826 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18827 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18828 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18829 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18830 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18831 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18832 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18833 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18834 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18835 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18836 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18837 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18838 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18839 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18840 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18841 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18842 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18843 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18844 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18845 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18846 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18847 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18848 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18849 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18850 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18851 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18852 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18853 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18854 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18855 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18856 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18857 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18858 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18859 (R_ARM_THM_GOT_BREL12): Likewise.
18860 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18861 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18862 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18863 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18864 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18865 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18866 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18867 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18868 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18869
c7b275d6
TS
188702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18871
18872 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18873 __attribute_used__ to __attribute__ ((unused)).
18874
20cd7fb3
SP
188752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18876
18877 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18878 powerpc mpa.c.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18880 comment formatting.
18881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18882
92945b52
JM
188832013-02-19 Joseph Myers <joseph@codesourcery.com>
18884
18885 [BZ #13550]
18886 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18887 Remove macro.
18888 (ENTER): Remove both macro definitions.
18889 (LEAVE): Likewise.
18890 (CHECK_BOUNDS_LOW): Likewise.
18891 (CHECK_BOUNDS_HIGH): Likewise.
18892 (CHECK_BOUNDS_BOTH): Likewise.
18893 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18894 (RETURN_BOUNDED_POINTER): Likewise.
18895 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18896 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18897 (POP_ERRNO_LOCATION_RETURN): Likewise.
18898 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18899 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18900 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18901 macros.
18902 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18903 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18904 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18905 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18906 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18907 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18908 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18909 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18910 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18911 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18912 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18913 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18915 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18916 removed macros.
18917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18918 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18919 macros.
18920 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18921 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18922 * sysdeps/i386/i586/memset.S (memset): Likewise.
18923 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18925 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18926 macros.
18927 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18928 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18929 Change uses of L(2) to L(out).
18930 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18931 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18932 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18933 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18934 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18935 removed macros.
18936 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18937 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18938 macros.
18939 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18940 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18941 (RETURN): Do not use macro LEAVE.
18942 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18943 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18944 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18945 * sysdeps/i386/i686/memset.S (memset): Likewise.
18946 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18947 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18948 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18949 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18950 Likewise.
18951 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18952 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18953 L(1_2) and L(1_3) into L(1).
18954 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18955 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18956 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18957 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18958 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18959 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18960 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18961 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18962 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18963 macros.
18964 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18965 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18966 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18967 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18968 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18969 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18970 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18971 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18972 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18973 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18974 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18975 * sysdeps/i386/strspn.S (strspn): Likewise.
18976 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18977 conditional code.
18978 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18979 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18980 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18981 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18982 L(1_3) into L(1_1).
18983 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18985 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18986 macros.
18987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18988
2389741a
JJ
189892013-02-19 Jakub Jelinek <jakub@redhat.com>
18990
18991 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18992 macro.
18993
2016b3cd
SP
189942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18995
e4f22324
SP
18996 * math/atest-exp.c (exp_mpn): Remove ROUND.
18997 * math/atest-exp2.c (exp_mpn): Likewise.
18998 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18999
2016b3cd
SP
19000 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19001 * stdlib/tst-tls-atexit-lib.c: Likewise.
19002 * stdlib/tst-tls-atexit.c: Likewise.
19003
4be9b544
MF
190042013-02-18 Mike Frysinger <vapier@gentoo.org>
19005
19006 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19007 and __attribute_alloc_size__.
19008
2f62b9ee
MF
190092013-02-18 Mike Frysinger <vapier@gentoo.org>
19010
19011 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19012 __attribute_alloc_size__.
19013 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19014 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19015
6ff444c4
MF
190162013-02-18 Mike Frysinger <vapier@gentoo.org>
19017
19018 * include/programs/xmalloc.h: New file.
19019 * catgets/gencat.c: Include it.
19020 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19021 * elf/pldd.c: Likewise.
19022 * iconv/iconv_charmap.c: Likewise.
19023 * iconv/iconvconfig.c: Likewise.
19024 * iconv/strtab.c: Likewise.
19025 * locale/programs/locale.c: Likewise.
19026 * locale/programs/localedef.h: Likewise.
19027 * locale/programs/simple-hash.c: Likewise.
19028 * nscd/nscd.h: Likewise.
19029 * nss/makedb.c: Likewise.
19030 * sysdeps/generic/ldconfig.h: Likewise.
19031
be179c8a
SP
190322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19033
ba384f6e
SP
19034 * Versions.def: Add GLIBC_2.18.
19035 * include/link.h (struct link_map): New member l_tls_dtor_count.
19036 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19037 (__call_tls_dtors): Likewise.
19038 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19039 __cxa_thread_atexit_impl.
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19041 Likewise.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19043 Likewise.
19044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19045 Likewise.
19046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19047 Likewise.
19048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19050 Likewise.
19051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19052 Likewise.
19053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19055 Likewise.
19056 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19057 (tests): Add test case tst-tls-atexit.
19058 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19059 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19060 (GLIBC_PRIVATE): Add __call_tls_dtors.
19061 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19062 for libstdc++.
19063 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19064 * stdlib/tst-tls-atexit.c: New test case.
19065 * stdlib/tst-tls-atexit-lib.c: New test case.
19066
ffaa74cf 19067 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19068
be179c8a
SP
19069 * elf/Versions (ld): Add _dl_find_dso_for_object.
19070 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19071 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19072 (dl_open_worker): Use _dl_find_dso_for_object.
19073 * elf/dl-sym.c (do_sym): Likewise.
19074 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19075
f78b5caa
AK
190762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19077
19078 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19079 Syntactic changes only.
19080 (_dl_runtime_profile): Do a tail-call to the resolved function.
19081
29691210
JM
190822013-02-17 Joseph Myers <joseph@codesourcery.com>
19083
19084 [BZ #13550]
19085 * sysdeps/x86_64/bp-asm.h: Remove file.
19086 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19087 <bp-sym.h> and <bp-asm.h>.
19088 (__clone): Do not use BP_SYM.
19089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19090 <bp-sym.h> and <bp-asm.h>.
19091 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19092 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19093 "bp-asm.h".
19094 (_setjmp): Do not use BP_SYM.
19095 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19096 "bp-asm.h".
19097 (setjmp): Do not use BP_SYM.
19098 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19099 libc_hidden_def.
19100 (mempcpy): Do not use BP_SYM in weak_alias.
19101 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19102 "bp-asm.h".
19103 (strchr): Do not use BP_SYM.
19104 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19105 "bp-asm.h".
19106 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19107 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19108 (_start): Do not use BP_SYM.
19109 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19110 "bp-asm.h".
19111 (strcat): Do not use BP_SYM.
19112 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19113 "bp-asm.h".
19114 (STRCMP): Do not use BP_SYM.
19115 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19116 "bp-asm.h".
19117 (STRCPY): Do not use BP_SYM.
19118 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19119 "bp-asm.h".
19120 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19121 "bp-asm.h".
19122 (FUNCTION): Do not use BP_SYM.
19123 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19124 weak_alias.
19125 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19126
f238fd19
AJ
191272013-02-17 Andreas Jaeger <aj@suse.de>
19128
19129 * time/Versions: Sort entries.
19130 * string/Versions: Likewise.
19131 * resolv/Versions: Likewise.
19132 * posix/Versions: Likewise.
19133 * iconv/Versions: Likewise.
19134 * elf/Versions: Likewise.
19135 * wcsmbs/Versions: Likewise.
19136
bd07f23c 191372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19138
22af19f9
SP
19139 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19140 loop termination condition.
19141
4709fe76
SP
19142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19143 variable to calculate EZ.
19144 (__sqr): Likewise.
2d0e0f29
SP
19145
19146 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19147 the lower precision input.
19148
daaa7713
JM
191492013-02-15 Joseph Myers <joseph@codesourcery.com>
19150
19151 [BZ #13550]
19152 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19153 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19154 (run-via-rtld-prefix): Do not handle %-bp tests.
19155 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19156 (all-object-suffixes): Remove .ob.
19157 (bppfx): Remove variable.
19158 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19159 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19160 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19161 [$(build-bounded) = yes] (libtype.ob): Likewise.
19162 * Makerules (elide-routines.ob): Remove variable.
19163 (do-tests-clean): Do not handle *-bp.out.
19164 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19165 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19166 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19167 (tests): Do not include $(tests-bp.out).
19168 (xtests): Do not include $(xtests-bp.out).
19169 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19170 [$(build-bounded) = yes] ($(addprefix
19171 $(objpfx),$(binaries-bounded))): Remove rule.
19172 ($(objpfx)%-bp.out): Remove rule.
19173 * config.make.in (build-bounded): Remove variable.
19174 * crypt/Makefile [$(build-bounded) = yes]
19175 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19176 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19177 append to variable.
19178 [$(build-bounded) = yes] (install-lib): Likewise.
19179 [$(build-bounded) = yes] (generated): Likewise.
19180 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19181 Remove rule.
19182 * intl/Makefile [$(build-bounded) = yes]
19183 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19184 * math/Makefile [$(build-bounded) = yes]
19185 ($(tests:%=$(objpfx)%-bp): Likewise.
19186 * misc/Makefile [$(build-bounded) = yes]
19187 ($(objpfx)tst-tsearch-bp): Likewise.
19188 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19189 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19190 Remove dependency.
19191 * string/Makefile (o-objects.ob): Remove variable.
19192 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19193 (CFLAGS-.ob): Remove variable.
19194 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19195 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19196 both definitions of variable.
19197 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19198 (ASFLAGS-.ob): Remove variable.
19199
e97ed6dd
JM
192002013-02-14 Joseph Myers <joseph@codesourcery.com>
19201
2bdd4ca6
JM
19202 [BZ #13550]
19203 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19204 Remove __BOUNDED_POINTERS__ from condition.
19205 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19206 * string/bits/string2.h [!__NO_STRING_INLINES &&
19207 !__BOUNDED_POINTERS__]: Likewise.
19208 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19209 Likewise.
19210 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19211 Remove conditional code.
19212 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19213 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19214 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19215 condition.
19216
e97ed6dd
JM
19217 [BZ #13550]
19218 * csu/libc-start.c: Do not include <bp-sym.h>.
19219 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19220 * elf/dl-open.c: Do not include <bp-sym.h>.
19221 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19222 * math/fegetenv.c: Do not include <bp-sym.h>.
19223 (fegetenv): Do not use BP_SYM in versioned symbols.
19224 * nptl/sysdeps/pthread/bits/libc-lockP.h
19225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19226 <bp-sym.h>.
19227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19228 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19230 (__pthread_mutex_destroy): Likewise.
19231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19232 (__pthread_mutex_lock): Likewise.
19233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19234 (__pthread_mutex_trylock): Likewise.
19235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19236 (__pthread_mutex_unlock): Likewise.
19237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19238 (__pthread_mutexattr_init): Likewise.
19239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19240 (__pthread_mutexattr_destroy): Likewise.
19241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19242 (__pthread_mutexattr_settype): Likewise.
19243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19244 (__pthread_rwlock_init): Likewise.
19245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19246 (__pthread_rwlock_destroy): Likewise.
19247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19248 (__pthread_rwlock_rdlock): Likewise.
19249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19250 (__pthread_rwlock_tryrdlock): Likewise.
19251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19252 (__pthread_rwlock_wrlock): Likewise.
19253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19254 (__pthread_rwlock_trywrlock): Likewise.
19255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19256 (__pthread_rwlock_unlock): Likewise.
19257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19258 (__pthread_key_create): Likewise.
19259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19260 (__pthread_setspecific): Likewise.
19261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19262 (__pthread_getspecific): Likewise.
19263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19264 Likewise.
19265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19266 (_pthread_cleanup_push_defer): Likewise.
19267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19268 (_pthread_cleanup_pop_restore): Likewise.
19269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19270 (pthread_setcancelstate): Likewise.
19271 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19272 <bp-sym.h>.
19273 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19274 (memchr): Do not use BP_SYM in weak_alias.
19275 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19276 (fegetenv): Do not use BP_SYM in versioned symbols.
19277 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19278 (fesetenv): Do not use BP_SYM in versioned symbols.
19279 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19280 (feupdateenv): Do not use BP_SYM in versioned symbols.
19281 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19282 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19283 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19284 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19285 (open64): Do not use BP_SYM in weak_alias.
19286 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19287 (fegetenv): Do not use BP_SYM in versioned symbols.
19288 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19289 (fesetenv): Do not use BP_SYM in versioned symbols.
19290 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19291 (feupdateenv): Do not use BP_SYM in versioned symbols.
19292 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19293 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19294 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19295 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19296 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19297 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19298 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19299 <bp-sym.h>.
19300 (__libc_start_main): Do not use BP_SYM.
19301
d6752ccd
SP
193022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19303
cb57ce60
SP
19304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19305 redundant return line.
19306 (norm): Likewise.
19307 (denorm): Likewise.
19308 (dbl_mp): Likewise.
19309 (sub_magnitudes): Likewise.
19310 (__add): Likewise.
19311 (__sub): Likewise.
19312 (__mul): Likewise.
19313 (__inv): Likewise.
19314 (__dvd): Likewise.
19315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19316 (norm): Likewise.
19317 (denorm): Likewise.
19318 (dbl_mp): Likewise.
19319 (sub_magnitudes): Likewise.
19320 (__add): Likewise.
19321 (__sub): Likewise.
19322 (__mul): Likewise.
19323 (__inv): Likewise.
19324 (__dvd): Likewise.
19325
f414520d
SP
19326 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19327 instead of __mul.
19328 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19329 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19330 (cc32): Likewise.
19331
d6752ccd
SP
19332 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19333 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19335 of __mul for squares.
19336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19337 function
19338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19339 Likewise.
19340 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19342
70d9946a
JM
193432013-02-13 Joseph Myers <joseph@codesourcery.com>
19344
19345 [BZ #13550]
19346 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19347 code.
19348 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19349 prototype or function definition. Rename ubp_* variables and
19350 parameters. Remove argv definitions conditional on
19351 [__BOUNDED_POINTERS__].
19352 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19353 * elf/dl-runtime.c (_dl_fixup): Likewise.
19354 * include/set-hooks.h (RUN_HOOK): Likewise.
19355 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19356 definition.
19357 * string/strcpy.c (strcpy): Do not use __unbounded.
19358 * sysdeps/generic/frame.h (struct layout): Likewise.
19359 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19360 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19361 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19362 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19363 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19364 (__backtrace): Likewise.
19365 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19366 use __ptrvalue.
19367 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19368 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19369 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19370 Likewise.
19371 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19372 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19373 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19374 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19375 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19376 Do not use __unbounded.
19377 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19378 Rename __unboundedrlimits parameter to rlimits in prototype.
19379 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19380 Do not use __unbounded.
19381 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19382 not use __ptrvalue.
19383 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19384 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19385 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19387 __ptrvalue or __unbounded.
19388 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19389 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19390 use __unbounded.
19391 (__new_msgctl): Do not use __ptrvalue.
19392 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19393 __unbounded.
19394 (__libc_msgrcv): Do not use __ptrvalue.
19395 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19396 startup_info): Do not use __unbounded.
19397 (__libc_start_main): Likewise. Rename ubp_* variables and
19398 parameters. Remove argv definitions conditional on
19399 [__BOUNDED_POINTERS__].
19400 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19401 __ptrvalue.
19402 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19403 use __unbounded.
19404 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19405 or __ptrvalue.
19406 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19407 use __unbounded.
19408 (__new_shmctl): Do not use __ptrvalue.
19409 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19410 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19411 Likewise.
19412 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19414 (__libc_sigaction): Likewise.
19415 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19416 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19417 Likewise.
19418 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19419
cc7834d6
OB
194202013-02-13 Ondřej Bílka <neleai@seznam.cz>
19421
ffb1ec7b 19422 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19423
19424 * string/mempcpy.c: Implement by calling memcpy.
19425
bdf02814
SP
194262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19427
c2af38aa
SP
19428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19429
4e92d59e
SP
19430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19431 evaluation.
19432
909279a5
SP
19433 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19434 values in the mantissa.
19435
bdf02814
SP
19436 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19437 minimize writes to Z.
19438 (sub_magnitudes): Simplify code a bit.
19439
cd525923
RM
194402013-02-12 Roland McGrath <roland@hack.frob.com>
19441
19442 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19443 from the message. The linker prefixes all warnings with that already.
19444
7e2f0d2d
AS
194452013-02-12 Andreas Schwab <schwab@suse.de>
19446
a445af0b
AS
19447 [BZ #15078]
19448 * posix/regexec.c (extend_buffers): Add parameter min_len.
19449 (check_matching): Pass minimum needed length.
19450 (clean_state_log_if_needed): Likewise.
19451 (get_subexp): Likewise.
19452 * posix/Makefile (tests): Add bug-regex34.
19453 (bug-regex34-ENV): Define.
19454 * posix/bug-regex34.c: New file.
19455
7e2f0d2d
AS
19456 [BZ #11561]
19457 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19458 elements compare against the byte sequence of it, not its name.
19459 * posix/Makefile (tests): Add bug-regex35.
19460 (bug-regex35-ENV): Define.
19461 * posix/bug-regex35.c: New file.
19462
a175b684
TV
194632013-02-11 Tom de Vries <tom@codesourcery.com>
19464
19465 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19466 comment.
19467 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19468 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19469 (CHECK_EOL): Add undef.
19470
310998fe 194712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19472
19473 * bits/stdlib-bsearch.h: New file.
19474 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19475 * stdlib/stdlib.h: Likewise.
41eda41d 19476
8ded91fb
RM
194772013-02-11 Roland McGrath <roland@hack.frob.com>
19478
19479 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19480 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19481 declaration.
19482 * manual/search.texi (Array Search Function): Add missing const in
19483 lfind prototype.
19484 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19485 declaration to use rlim_t.
19486 (Basic Scheduling Functions): Remove erroneous const from
19487 sched_getparam prototype. Remove erroneous * from
19488 sched_get_priority_max and sched_get_priority_min prototypes.
19489 (Resource Usage): Fix summary @comment on vtimes to refer to
19490 sys/vtimes.h rather than vtimes.h.
19491 Add missing *s in vtimes prototype.
19492 (Limits on Resources): Fix ulimit prototype to return long int.
19493 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19494 prototypes to use long int rather than double.
19495 (BSD Random): Fix initstate and setstate to use char *, not void *.
19496 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19497 prototype to make second argument 'struct aiocb64 *const[]'.
19498 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19499 (Status of AIO Operations): Remove erroneous const in aio_return and
19500 aio_return64 prototypes.
19501 (Synchronizing I/O): Fix sync prototype to return void.
19502 * manual/startup.texi (Suboptions): Remove an erroneous const in
19503 getsubopt prototype.
19504 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19505 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19506 use size_t rather than int.
19507 (Scanning All Users): Likewise for getpwent_r.
19508 (Setting Groups): Add missing const to setgroups prototype.
19509 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19510 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19511 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19512 'const void *' rather than 'const char *'.
19513 (Host Address Functions): Likewise for inet_ntop.
19514 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19515 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19516 ssize_t for return value.
19517 (Sending Data): Likewise for send, sendto, sendmsg.
19518 (Socket Option Functions): Add a missing const in setsockopt prototype.
19519 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19520 use wchar_t for the argument.
19521 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19522 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19523 take no arguments.
19524 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19525 double/float/long double for second argument.
19526 Fix return types of significand, significandf, significandl.
19527 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19528 argument in fchmod prototype.
19529 (File Owner): Use uid_t and gid_t in fchown prototype.
19530 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19531 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19532 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19533 use 'const struct dirent **' as argument types to CMP function pointer
19534 argument.
19535 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19536 (File Times): Fix summary magic @comment for struct utimbuf and utime
19537 to refer to utime.h, not time.h.
19538 * manual/string.texi (Argz Functions): Add missing const in
19539 argz_extract and argz_next prototypes.
19540 (Finding Tokens in a String): Likewise for basename.
19541 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19542 (Copying and Concatenation): Fix typo in wmemmove prototype.
19543 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19544 (Signal Stack): Remove erroneous const in sigstack prototype.
19545 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19546 prototype.
19547 (Simple Calendar Time): Likewise for stime.
19548 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19549 prototype.
19550 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19551 say sys/sysctl.h instead.
19552 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19553 and vsyslog prototypes.
19554
fe77fe6d
TV
195552013-02-11 Tom de Vries <tom@codesourcery.com>
19556
19557 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19558 Remove.
19559
3a09b620
RM
195602013-02-11 Roland McGrath <roland@hack.frob.com>
19561
19562 * misc/sys/mman.h: Fix typo in mremap comment.
19563
550a0b89
RM
195642013-02-08 Roland McGrath <roland@hack.frob.com>
19565
19566 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19567 the '\0' terminator.
19568
a2da1673
JM
195692013-02-08 Joseph Myers <joseph@codesourcery.com>
19570
19571 [BZ #13550]
19572 * debug/segfault.c: Don't include <bp-checks.h>.
19573 * sysdeps/generic/bp-checks.h: Remove file.
19574 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19575 (__GETDENTS): Don't use CHECK_N.
19576 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19577 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19578 (__getgroups): Don't use CHECK_N.
19579 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19580 (setgroups): Don't use CHECK_N.
19581 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19582 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19583 (__libc_msgrcv): Don't use CHECK_N.
19584 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19585 (__libc_msgsnd): Don't use CHECK_N.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19587 <bp-checks.h>.
19588 (__libc_pread): Don't use CHECK_N.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19590 include <bp-checks.h>.
19591 (__libc_pread64): Don't use CHECK_N.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19593 include <bp-checks.h>.
19594 (__libc_pwrite): Don't use CHECK_N.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19596 include <bp-checks.h>.
19597 (__libc_pwrite64): Don't use CHECK_N.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19599 <bp-checks.h>.
19600 (__libc_pread): Don't use CHECK_N.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19602 include <bp-checks.h>.
19603 (__libc_pread64): Don't use CHECK_N.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19605 include <bp-checks.h>.
19606 (__libc_pwrite): Don't use CHECK_N.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19608 include <bp-checks.h>.
19609 (__libc_pwrite64): Don't use CHECK_N.
19610 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19611 (do_pread): Don't use CHECK_N.
19612 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19613 (do_pread64): Don't use CHECK_N.
19614 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19615 (do_pwrite): Don't use CHECK_N.
19616 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19617 (do_pwrite64): Don't use CHECK_N.
19618 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19619 (__libc_readv): Don't use CHECK_N.
19620 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19621 (semop): Don't use CHECK_N.
19622 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19623 <bp-checks.h>.
19624 (semtimedop): Don't use CHECK_N.
19625 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19626 (__libc_pread): Don't use CHECK_N.
19627 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19628 <bp-checks.h>.
19629 (__libc_pread64): Don't use CHECK_N.
19630 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19631 <bp-checks.h>.
19632 (__libc_pwrite): Don't use CHECK_N.
19633 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19634 <bp-checks.h>.
19635 (__libc_pwrite64): Don't use CHECK_N.
19636 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19637 <bp-checks.h>.
19638 (__libc_msgrcv): Don't use CHECK_N.
19639 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19640 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19641 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19642 (__libc_writev): Don't use CHECK_N.
19643
b84660a8
RM
196442013-02-08 Roland McGrath <roland@hack.frob.com>
19645
7f3e75f8
RM
19646 * string/strcpy.c: Removed unused variable.
19647
b84660a8
RM
19648 * Makeconfig (+sysdep-includes): Define with := rather than =.
19649 Use an existing include/ subdir of each sysdeps dir before it.
19650
471514d3
CD
196512013-02-08 Carlos O'Donell <carlos@redhat.com>
19652
19653 * nscd/connection.c (register_traced_file): Comment function.
19654 [HAVE_INOTIFY] (union __inev): Define.
19655 [HAVE_INOTIFY] (inotify_check_files): New function.
19656 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19657 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19658 clear_db_cache.
19659 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19660
b2d3c3be
CD
196612013-02-08 Carlos O'Donell <carlos@redhat.com>
19662
19663 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19664 loaded if not already and that a failure is permanent.
19665
b39949d2
CD
196662013-02-08 Carlos O'Donell <carlos@redhat.com>
19667
ddacd1db 19668 [BZ #15006]
b39949d2
CD
19669 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19670 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19671
b2c9eff4
JM
196722013-02-08 Joseph Myers <joseph@codesourcery.com>
19673
f3aae3f3
JM
19674 [BZ #13550]
19675 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19676 (CHECK_1_NULL_OK): Likewise.
19677 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19678 (__fxstat): Do not use CHECK_1.
19679 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19680 <bp-checks.h>.
19681 (___fxstat64): Do not use CHECK_1.
19682 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19683 <bp-checks.h>.
19684 (__fxstatat): Do not use CHECK_1.
19685 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19686 <bp-checks.h>.
19687 (__fxstatat64): Do not use CHECK_1.
19688 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19689 <bp-checks.h>.
19690 (__fxstat): Do not use CHECK_1.
19691 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19692 <bp-checks.h>.
19693 (__fxstatat): Do not use CHECK_1.
19694 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19695 <bp-checks.h>.
19696 (__getresgid): Do not use CHECK_1.
19697 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19698 <bp-checks.h>.
19699 (__getresuid): Do not use CHECK_1.
19700 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19701 <bp-checks.h>.
19702 (__lxstat): Do not use CHECK_1.
19703 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19704 <bp-checks.h>.
19705 (__old_msgctl): Do not use CHECK_1.
19706 (__new_msgctl): Likewise.
19707 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19708 <bp-checks.h>.
19709 (__new_setrlimit): Do not use CHECK_1.
19710 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19711 <bp-checks.h>.
19712 (__old_shmctl): Do not use CHECK_1.
19713 (__new_shmctl): Likewise.
19714 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19715 <bp-checks.h>.
19716 (__xstat): Do not use CHECK_1.
19717 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19718 (__lxstat): Do not use CHECK_1.
19719 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19720 <bp-checks.h>.
19721 (___lxstat64): Do not use CHECK_1.
19722 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19723 (__old_msgctl): Do not use CHECK_1.
19724 (__new_msgctl): Likewise.
19725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19726 <bp-checks.h>.
19727 (__gettimeofday): Do not use CHECK_1.
19728 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19729 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19730 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19731 <bp-checks.h>.
19732 (__gettimeofday): Do not use CHECK_1.
19733 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19734 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19735 (__new_shmctl): Do not use CHECK_1.
19736 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19737 <bp-checks.h>.
19738 (do_sigtimedwait): Do not use CHECK_1.
19739 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19740 <bp-checks.h>.
19741 (do_sigwaitinfo): Do not use CHECK_1.
19742 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19743 <bp-checks.h>.
19744 (msgctl): Do not use CHECK_1.
19745 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19746 <bp-checks.h>.
19747 (shmctl): Do not use CHECK_1.
19748 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19749 (ustat): Do not use CHECK_1.
19750 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19751 <bp-checks.h>.
19752 (__fxstat): Do not use CHECK_1.
19753 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19754 <bp-checks.h>.
19755 (__fxstatat): Do not use CHECK_1.
19756 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19757 <bp-checks.h>.
19758 (__lxstat): Do not use CHECK_1.
19759 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19760 <bp-checks.h>.
19761 (__xstat): Do not use CHECK_1.
19762 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19763 (__xstat): Do not use CHECK_1.
19764 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19765 (___xstat64): Do not use CHECK_1.
19766
b2c9eff4
JM
19767 [BZ #13550]
19768 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19769 definitions.
19770 (CHECK_BOUNDS_HIGH): Likewise.
19771 * string/strcpy.c: Do not include <bp-checks.h>.
19772 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19773
f1d70dad
RM
197742013-02-07 Roland McGrath <roland@hack.frob.com>
19775
19776 * nscd/nscd-client.h (__nscd_drop_map_ref):
19777 Add __attribute__ ((unused)).
19778 * nis/nss-nisplus.h (niserr2nss): Likewise.
19779
19780 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19781 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19782
19783 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19784 Remove inline keyword.
19785 * include/rounding-mode.h (round_away): Likewise.
19786 * libio/wfileops.c (adjust_wide_data): Likewise.
19787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19788 (__m128i_strloadu_tolower): Likewise.
19789 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19790 (__m128i_strloadu_tolower): Likewise.
19791 * time/mktime.c (ydhms_diff): Likewise.
19792 * locale/elem-hash.h (elem_hash): Likewise.
19793 * locale/setlocale.c (setdata): Likewise.
19794 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19795 (re_string_wchar_at): Likewise.
19796 (bitset_not, bitset_merge, bitset_mask): Likewise.
19797 [!(__GNUC__ > 3)] (inline): Remove macro.
19798 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19799 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19800 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19801 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19802 * string/memcmp.c (memcmp_bytes): Likewise.
19803 * locale/programs/locarchive.c (compute_hashval): Likewise.
19804 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19805 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19806 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19807 * nss/getent.c (print_rpc, print_protocols): Likewise.
19808 (print_passwd, print_group, print_aliases): Likewise.
19809 * nis/nss-nisplus.h (niserr2nss): Likewise.
19810 * nscd/connections.c (restart_p): Likewise.
19811 Change return type to bool.
19812
eab55bfb
RM
198132013-02-05 Roland McGrath <roland@hack.frob.com>
19814
7bd642f5
RM
19815 * Makeconfig (all-Depend-files): Add existing
19816 $(sorted-subdirs:=/Depend) files.
19817 (all-subdirs): Remove nss.
19818 * sysdeps/unix/inet/Subdirs: Add it here instead.
19819 * hesiod/Depend: New file.
19820
573c29b2
RM
19821 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19822 instead of calling alloca.
19823
b2e25af0
RM
19824 * io/lseek.c (__lseek): Rename to __libc_lseek.
19825 Define __lseek as an alias.
19826
eab55bfb
RM
19827 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19828
9a0d1941
CD
198292013-02-04 Carlos O'Donell <carlos@redhat.com>
19830
19831 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19832 else clause and remove check for non-standard endianness.
19833
b83bbec4
DM
198342013-02-04 David S. Miller <davem@davemloft.net>
19835
19836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19837
6277fdab
JM
198382013-02-04 Joseph Myers <joseph@codesourcery.com>
19839
19840 [BZ #13550]
19841 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19842 (__ubp_memchr): Remove prototype.
19843 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19844 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19845 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19846 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19847 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19848 Remove alias.
19849 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19850 (__ubp_memchr): Likewise.
19851 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19852 (__ubp_memchr): Likewise.
19853 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19854 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19855 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19856 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19857 CHECK_STRING.
19858 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19859 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19860 (__getcwd): Do not use CHECK_STRING.
19861 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19862 <bp-checks.h>.
19863 (__real_chown): Do not use CHECK_STRING.
19864 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19865 <bp-checks.h>.
19866 (fchownat): Do not use CHECK_STRING.
19867 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19868 CHECK_STRING.
19869 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19870 <bp-checks.h>.
19871 (__lchown): Do not use CHECK_STRING.
19872 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19873 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19874 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19875 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19877 include <bp-checks.h>.
19878 (truncate64): Do not use CHECK_STRING.
19879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19880 <bp-checks.h>.
19881 (__real_chown): Do not use CHECK_STRING.
19882 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19883 <bp-checks.h>.
19884 (__lchown): Do not use CHECK_STRING.
19885 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19886 <bp-checks.h>.
19887 (__chown): Do not use CHECK_STRING.
19888 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19889 <bp-checks.h>.
19890 (truncate64): Do not use CHECK_STRING.
19891 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19892 Likewise.
19893 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19894 (__xmknod): Do not use CHECK_STRING.
19895 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19896 <bp-checks.h>.
19897 (__xmknodat): Do not use CHECK_STRING.
19898 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19899 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19900
903ae060
AS
199012013-02-04 Andreas Schwab <schwab@suse.de>
19902
19903 [BZ #14142]
19904 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19905 * include/netdb.h: Likewise for h_errno.
19906 * elf/tst-stackguard1.c: Include <tls.h>.
19907
542f9466
JK
199082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19909
19910 * elf/link.h (struct link_map): Extend the l_addr comment.
19911 * include/link.h (struct link_map): Likewise.
19912
e782a927
JM
199132013-02-01 Joseph Myers <joseph@codesourcery.com>
19914
19915 [BZ #13550]
19916 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19917 (BOUNDED_1): Remove macro.
19918 * debug/backtrace.c: Don't include <bp-checks.h>.
19919 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19920 (__backtrace): Likewise.
19921 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19922 <bp-checks.h>.
19923 (__backtrace): Don't use BOUNDED_1.
19924 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19925 <bp-checks.h>.
19926 (__backtrace): Don't use BOUNDED_1.
19927 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19928 (__backtrace): Don't use BOUNDED_1.
19929 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19930 (shmat): Don't use BOUNDED_N.
19931
8cf28c5e
JM
199322013-01-31 Joseph Myers <joseph@codesourcery.com>
19933
3a7ac8a0
JM
19934 [BZ #13550]
19935 * sysdeps/generic/bp-start.h: Remove file.
19936 * csu/libc-start.c: Don't include <bp-start.h>.
19937 (LIBC_START_MAIN): Set up __environ directly instead of using
19938 INIT_ARGV_and_ENVIRON.
19939 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19940 <bp-start.h>.
19941
f3499f95
JM
19942 [BZ #13550]
19943 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19944 definitions.
19945 (CHECK_FCNTL): Likewise.
19946 (CHECK_N_PAGES): Likewise.
19947
32a45bea
JM
19948 [BZ #13550]
19949 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19950 definitions.
19951 (CHECK_SIGSET_NULL_OK): Likewise.
19952 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19953 <bp-checks.h>.
19954 (sigpending): Don't use CHECK_SIGSET.
19955 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19956 <bp-checks.h>.
19957 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19958 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19959 <bp-checks.h>.
19960 (do_sigsuspend): Don't use CHECK_SIGSET.
19961 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19962 use CHECK_SIGSET.
19963 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19964 (do_sigwait): Don't use CHECK_SIGSET.
19965 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19966 use CHECK_SIGSET.
19967 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19968 include <bp-checks.h>.
19969 (sigpending): Don't use CHECK_SIGSET.
19970 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19971 include <bp-checks.h>.
19972 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19973 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19974 <bp-checks.h>.
19975 (sigpending): Don't use CHECK_SIGSET.
19976 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19977 <bp-checks.h>.
19978 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19979
2e8a5c8c
JM
19980 [BZ #13550]
19981 * sysdeps/generic/bp-semctl.h: Remove file.
19982 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19983 <bp-checks.h> and <bp-semctl.h>.
19984 (__old_semctl): Don't use CHECK_SEMCTL.
19985 (__new_semctl): Likewise.
19986 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19987 and <bp-semctl.h>.
19988 (__old_semctl): Don't use CHECK_SEMCTL.
19989 (__new_semctl): Likewise.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19991 <bp-checks.h> and <bp-semctl.h>.
19992 (__old_semctl): Don't use CHECK_SEMCTL.
19993 (__new_semctl): Likewise.
19994 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19995 <bp-checks.h> and <bp-semctl.h>.
19996 (semctl): Don't use CHECK_SEMCTL.
19997
c2d54929
JM
19998 [BZ #13550]
19999 * Makerules (elide-bp-thunks): Remove variable.
20000 (elide-routines.oS): Don't use $(elide-bp-thunks).
20001 (elide-routines.os): Likewise.
20002 (elide-routines.o): Likewise.
20003 (elide-routines.op): Likewise.
20004 (elide-routines.og): Likewise.
20005 (objects): Don't use $(bp-thunks).
20006 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20007 include.
20008 (common-generated): Do not add s-proto-bp.d.
20009 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20010 (int): Likewise.
20011 (typ): Likewise.
20012 Do not generate makefile rules for bounded-pointer thunks.
20013 * sysdeps/generic/bp-thunks.h: Remove file.
20014 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20015 * sysdeps/unix/s-proto-bp.S: Likewise.
20016
8cf28c5e
JM
20017 [BZ #15062]
20018 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20019 parts of result separately when argument is not close to line from
20020 -i to i and one part of argument is small.
20021 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20022 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20023 * math/libm-test.inc (cacos_test): Add more tests.
20024 (casin_test): Likewise.
20025 (casinh_test): Likewise.
20026 * sysdeps/i386/fpu/libm-test-ulps: Update.
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20028
c4e33b8d
DM
200292013-01-31 David S. Miller <davem@davemloft.net>
20030
20031 * po/de.po: Update from translation team.
20032
3b60b421
MK
200332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20034
20035 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20036
bb931195
TS
200372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20038
b5a5da23
TS
20039 * configure.in (_AC_PROG_CC_C89): New definition.
20040 * configure: Regenerate.
20041
bb931195
TS
20042 * configure.in (AC_PROG_CPP): New definition.
20043 * configure: Regenerate.
20044
8c53a12c
JM
200452013-01-23 Joseph Myers <joseph@codesourcery.com>
20046
20047 * debug/tst-backtrace.h: New file.
20048 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20049 (ret): Remove variable.
20050 (x): Likewise.
20051 (FAIL): Remove macro.
20052 (NO_INLINE): Likewise.
20053 (fn1): Use match function instead of strstr.
20054 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20055 (ret): Remove variable.
20056 (x): Likewise.
20057 (FAIL): Remove macro.
20058 (NO_INLINE): Likewise.
20059 (fn): Use match function instead of strstr.
20060 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20061 (ret): Remove variable.
20062 (x): Likewise.
20063 (FAIL): Remove macro.
20064 (NO_INLINE): Likewise.
20065 (handle_signal): Use match function instead of strstr.
20066 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20067 (ret): Remove variable.
20068 (x): Likewise.
20069 (FAIL): Remove macro.
20070 (NO_INLINE): Likewise.
20071 (handle_signal): Use match function instead of strstr.
20072
4858fa2a
RM
200732013-01-23 Roland McGrath <roland@hack.frob.com>
20074
20075 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20076
bae8e7f5
DM
200772013-01-23 David S. Miller <davem@davemloft.net>
20078
20079 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20080 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20081 argument of CAS if possible.
20082 * sysdeps/sparc/sparc64/bits/atomic.h
20083 (__arch_compare_and_exchange_val_32_acq): Likewise.
20084 (__arch_compare_and_exchange_val_64_acq): Likewise.
20085
9cbbc4ae
PT
200862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20087
20088 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20089 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20090 Include <limits.h>.
67b3f58c 20091 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20092
5655a0b5
AC
200932013-01-23 Adam Conrad <adconrad@0c3.net>
20094
20095 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20096 (LDFLAGS-tst-array5): Likewise.
20097
052aff95
JM
200982013-01-23 Joseph Myers <joseph@codesourcery.com>
20099
20100 [BZ #15036]
20101 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20102 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20103 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20104 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20105
7c1e01aa
DM
201062013-01-21 David S. Miller <davem@davemloft.net>
20107
20108 * sysdeps/sparc/backtrace.c: New file.
20109 * sysdeps/sparc/sparc32/backtrace.h: New file.
20110 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20111 * sysdeps/sparc/sparc64/backtrace.h: New file.
20112 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20113 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20114 -funwind-tables.
20115
ab087e0a
AS
201162013-01-21 Andreas Schwab <schwab@suse.de>
20117
20118 [BZ #15020]
20119 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20120 closed its stdout.
20121
ed689c2f
AS
201222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20123
20124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20125 "mpa2.h".
20126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20127
31d470ac
JM
201282013-01-18 Joseph Myers <joseph@codesourcery.com>
20129 Mark Mitchell <mark@codesourcery.com>
20130 Tom de Vries <tom@codesourcery.com>
20131 Paul Pluzhnikov <ppluzhnikov@google.com>
20132
20133 * debug/tst-backtrace2.c: New file.
20134 * debug/tst-backtrace3.c: Likewise.
20135 * debug/tst-backtrace4.c: Likewise.
20136 * debug/tst-backtrace5.c: Likewise.
20137 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20138 (CFLAGS-tst-backtrace3.c): Likewise.
20139 (CFLAGS-tst-backtrace4.c): Likewise.
20140 (CFLAGS-tst-backtrace5.c): Likewise.
20141 (LDFLAGS-tst-backtrace2): Likewise.
20142 (LDFLAGS-tst-backtrace3): Likewise.
20143 (LDFLAGS-tst-backtrace4): Likewise.
20144 (LDFLAGS-tst-backtrace5): Likewise.
20145 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20146 tst-backtrace4 and tst-backtrace5.
20147
90567f30 201482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20149 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20150
20151 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20152 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20153 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20154 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20156 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20157 "+r" and remove output regs list as redundant. Add explicit inline
20158 asm to specify register of return val to work around compiler codegen
20159 bug. Remove (int) cast on return value. Add return type parameter to
20160 use in macro so that this macro does not truncate return value for
20161 64-bit values.
20162 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20163 pass to INTERNAL_VSYSCALL_NCS.
20164 (INLINE_VSYSCALL): Add 'long int' as return type to
20165 INTERNAL_VSYSCALL_NCS macro invocation.
20166 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20167 INTERNAL_VSYSCALL_NCS macro invocation.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20169
d3b9ea61
SP
201702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20171
0b57daeb
SP
20172 [BZ #14496]
20173 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20174 Fix application of SIMD FP exception mask.
20175
caa99d06
SP
20176 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20177 mp_no from a power of two.
20178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20179 __mpexp_twomm1. Use __pow_mp.
20180
d3b9ea61
SP
20181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20182 multiplication.
20183
1dbaee3c
DM
201842013-01-17 David S. Miller <davem@davemloft.net>
20185
20186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20187
728d7b43
JM
201882013-01-17 Joseph Myers <joseph@codesourcery.com>
20189
20190 [BZ #15023]
20191 * include/complex.h: Condition contents on [!_COMPLEX_H].
20192 (__kernel_casinhf): New prototype.
20193 (__kernel_casinh): Likewise.
20194 (__kernel_casinhl): Likewise.
20195 * math/Makefile (libm_calls): Add k_casinh.
20196 * math/k_casinh.c: New file.
20197 * math/k_casinhf.c: Likewise.
20198 * math/k_casinhl.c: Likewise.
20199 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20200 finite nonzero arguments.
20201 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20202 finite nonzero arguments.
20203 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20204 finite nonzero arguments.
20205 * math/s_casinh.c: Do not include <float.h>.
20206 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20207 * math/s_casinhf.c: Do not include <float.h>.
20208 (__casinhf): Move code for finite nonzero arguments to
20209 k_casinhf.c.
20210 * math/s_casinhl.c: Do not include <float.h>.
20211 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20212 redefine.
20213 (__casinhl): Move code for finite nonzero arguments to
20214 k_casinhl.c.
20215 * math/libm-test.inc (cacos_test): Add more tests.
20216 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20218
2a26ef3a
PT
202192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20220
20221 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20222 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20223 [!HAVE_MREMAP]: Remove [defined linux] case.
20224 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20225
a897655d
SP
202262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20227
20228 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20229
881ebe89 202302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20231
20232 * elf/elf.h (R_386_SIZE32): New relocation.
20233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20234 R_386_SIZE32.
20235 (elf_machine_rela): Likewise.
20236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20237 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20238
59981e9b
JM
202392013-01-17 Joseph Myers <joseph@codesourcery.com>
20240
20241 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20242 (FP_FAST_FMA): Do not define.
20243 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20244 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20245 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20246 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20247 !_SOFT_FLOAT]: Likewise.
20248 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20249 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20250 value.
20251 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20252 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20253 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20255 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20256 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20257 file.
20258
cfa8054f
AS
202592013-01-16 Andreas Schwab <schwab@suse.de>
20260
20261 [BZ #14327]
20262 * include/stdlib.h (__mktemp): Add declaration.
20263 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20264 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20265
dd930cc5
SP
202662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20267
881ebe89
SP
20268 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20269 definitions.
20270 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20271 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20272 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20273 definitions here.
20274 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20275 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20276 definitions.
20277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20278 and ONE.
20279 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20280 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20281 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20282 definitions.
20283 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20284 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20285 definitions.
20286 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20287
dd930cc5
SP
20288 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20289
c19a9f89
DM
202902013-01-15 David S. Miller <davem@davemloft.net>
20291
1aa61767
DM
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20293 trunc{,f} to libm-sysdep_routes.
20294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20296 file.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20299 file.
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20301 file.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20304 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20305 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20306 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20307 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20308 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20309 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20310
c42d5e98
DM
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20312 nearbyint{,f} to libm-sysdep_routes.
20313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20315 New file.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20317 file.
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20319 New file.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20321 file.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20324 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20325 file.
20326 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20327 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20328 file.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20330 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20331 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20332
c19a9f89
DM
20333 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20334 libc_feholdexcept and libc_fesetenv.
20335
357679d2
MF
203362013-01-15 Mike Frysinger <vapier@gentoo.org>
20337
20338 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20339
65a82e3d
DM
203402013-01-14 David S. Miller <davem@davemloft.net>
20341
8b954ab9
DM
20342 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20343 (SPARC_ASM_VIS2_IFUNC): Likewise.
20344 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20346 use of 'siam' instruction.
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20348 Likewise.
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20350 Likewise.
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20352 Likewise.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20358 file.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20360 file.
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20362 file.
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20364 file.
20365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20370 new VIS2 routines.
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20374 Likewise.
20375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20380 routines to libm-sysdep_routines.
20381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20382
65a82e3d
DM
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20384 fdim/fdimf to libm-sysdep_routines.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20386 file.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20389 file.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20393 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20394 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20395 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20396 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20397
e34ab705
SP
203982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20399
2a91b573
SP
20400 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20401 to optimize copies.
20402
1066a534
SP
20403 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20406
e34ab705
SP
20407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20408 local variable MPTWO.
20409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20410 Likewise.
20411
aba5e596
MF
204122013-01-13 Mike Frysinger <vapier@gentoo.org>
20413
20414 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20415 GLOB_NOESCAPE.
20416
e557e9e5
MF
204172013-01-13 Mike Frysinger <vapier@gentoo.org>
20418
20419 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20420
0428cec9
MF
204212013-01-13 Mike Frysinger <vapier@gentoo.org>
20422
20423 * manual/pattern.texi (glob_t): Document gl_flags.
20424 (glob64_t): Likewise.
20425
8794a964
DM
204262013-01-11 David S. Miller <davem@davemloft.net>
20427
66438c3f
RM
20428 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20429 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20430 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20431 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20432 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20433 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20434 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20435 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20436 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20437 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20438 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20439 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20440 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20441
4ae4244d
DM
20442 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20443 sparc V9 rather than using V8 code.
20444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20446
8794a964
DM
20447 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20448 Move to...
20449 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20450 Here.
20451
6270516e
RM
204522013-01-11 Roland McGrath <roland@hack.frob.com>
20453
20454 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20455 not in the main loop.
20456 * configure: Regenerated.
20457
6a57d931
JM
204582013-01-11 Joseph Myers <joseph@codesourcery.com>
20459
20460 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20461 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20462 to just #else.
20463 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20464 [!__GLIBC_HAVE_LONG_LONG] case.
20465 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20466 condition to just #else.
20467 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20468 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20469 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20470 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20471 unconditional.
20472 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20473 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20474 #elif condition to just #else.
20475 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20476 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20477 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20478 #elif condition to just #else.
20479
0e8529e9
SE
204802013-01-11 Steve Ellcey <sellcey@mips.com>
20481
20482 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20483 (EF_MIPS_ARCH_64): Fix value.
20484 (EF_MIPS_ARCH_32R2): New.
20485 (EF_MIPS_ARCH_64R2): New.
20486
740b3dbe
L
204872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * Makeconfig (+link-pie-before-libc): New.
20490 (+link-pie-after-libc): Likewise.
20491 (+link-pie-tests): Likewise.
20492 (+link-pie): Rewritten.
20493 (link-before-libc): Remove $(config-LDFLAGS).
20494 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20495 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20496 (config-LDFLAGS): Renamed to ...
20497 (rtld-LDFLAGS): This.
20498 (rtld-tests-LDFLAGS): New macro.
20499 (link-libc-rpath-link): Likewise.
20500 (link-libc-tests-rpath-link): Likewise.
20501 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20502 (link-libc): Prepand $(link-libc-rpath-link).
20503 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20504 (test-program-prefix): New macro.
20505 (test-via-rtld-prefix): Likewise.
20506 (test-program-cmd): Likewise.
20507 (host-test-program-cmd): Likewise.
20508 * Makefile ($(common-objpfx)testrun.sh): Replace
20509 $(run-program-prefix) with $(test-program-prefix).
20510 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20511 $(rtld-LDFLAGS).
20512 ($(common-objpfx)shlib.lds): Likewise.
20513 (build-module-helper): Likewise.
20514 ($(common-objpfx)format.lds): Likewise.
20515 * Rules (binaries-pie-tests): New.
20516 (binaries-pie-notests): Likewise.
20517 (binaries-pie): Rewritten.
20518 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20519 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20520 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20521 (make-test-out): Replace $(host-built-program-cmd) with
20522 $(host-test-program-cmd).
20523 * config.make.in (build-hardcoded-path-in-tests): New variable.
20524 * configure.in (--enable-hardcoded-path-in-tests): New configure
20525 option.
20526 (hardcoded_path_in_tests): New AC_SUBST.
20527 * configure: Regenerated.
20528 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20529 $(built-program-cmd) with $(test-program-cmd).
20530 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20531 (test_program_cmd): This.
20532 * elf/Makefile ($(objpfx)order.out): Run test with
20533 $(test-program-prefix).
20534 ($(objpfx)order2.out): Likewise.
20535 ($(objpfx)tst-initorder.out): Likewise.
20536 ($(objpfx)tst-initorder2.out): Likewise.
20537 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20538 $(test-program-cmd).
20539 ($(objpfx)tst-array1-static.out): Likewise.
20540 ($(objpfx)tst-array2.out): Likewise.
20541 ($(objpfx)tst-array3.out): Likewise.
20542 ($(objpfx)tst-array4.out): Likewise.
20543 ($(objpfx)tst-array5.out): Likewise.
20544 ($(objpfx)tst-array5-static.out): Likewise.
20545 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20546 $(test-program-cmd).
20547 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20548 $(run-program-prefix) with $(test-program-prefix).
20549 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20550 (test_program_prefix): This.
20551 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20552 $(run-program-prefix) with $(test-program-prefix).
20553 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20554 (test_program_prefix): This.
20555 * iconvdata/tst-tables.sh: Likewise.
20556 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20557 $(run-program-prefix) with $(test-program-prefix).
20558 ($(objpfx)tst-translit.out): Likewise.
20559 ($(objpfx)tst-gettext2.out): Likewise.
20560 ($(objpfx)tst-gettext4.out): Likewise.
20561 ($(objpfx)tst-gettext6.out): Likewise.
20562 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20563 (test_program_prefix): This.
20564 * intl/tst-gettext2.sh: Likewise.
20565 * intl/tst-gettext4.sh Likewise.
20566 * intl/tst-gettext6.sh: Likewise.
20567 * intl/tst-translit.sh: Likewise.
20568 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20569 with $(test-program-cmd).
20570 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20571 $(run-program-prefix) with $(test-program-prefix).
20572 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20573 (test_program_prefix): This.
20574 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20575 $(run-program-prefix) with $(test-program-prefix).
20576 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20577 (test_program_prefix): This.
20578 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20579 * posix/Makefile ($(objpfx)globtest.out): Replace
20580 $(run-via-rtld-prefix) and $(test-wrapper) with
20581 $(test-program-prefix) and $(test-via-rtld-prefix).
20582 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20583 $(test-program-prefix).
20584 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20585 $(host-test-program-cmd).
20586 (tst-spawn-ARGS): Likewise.
20587 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20588 $(test-program-prefix).
20589 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20590 (test_via_rtld_prefix): This.
20591 (test_wrapper): Renamed to ...
20592 (test_program_prefix): This.
20593 (run_program_prefix): Replaced by test_program_prefix.
20594 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20595 (test_program_prefix): This.
20596 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20597 with $(host-test-program-cmd).
20598 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20599 $(run-program-prefix) with $(test-program-prefix).
20600 ($(objpfx)tst-printf.out): Likewise.
20601 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20602 $(test-program-cmd).
20603 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20604 (test_program_prefix): This.
20605 * stdio-common/tst-unbputc.sh: Likewise.
20606 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20607 $(run-program-prefix) with $(test-program-prefix).
20608 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20609 (test_program_prefix): This.
20610 * string/Makefile ($(objpfx)tst-svc.out): Replace
20611 $(built-program-cmd) with $(test-program-cmd).
20612
c6fe55cf
AJ
206132013-01-11 Andreas Jaeger <aj@suse.de>
20614
20615 [BZ #15003]
20616 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20617 value. Sync with Linux 3.7.
20618
9e6919c8
DM
206192013-01-10 David S. Miller <davem@davemloft.net>
20620
20621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20622 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20623 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20624
1c9f1a02
RM
206252013-01-10 Roland McGrath <roland@hack.frob.com>
20626
20627 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20628 never set.
20629 * configure: Regenerated.
20630
b9de2dde
DM
206312013-01-10 David S. Miller <davem@davemloft.net>
20632
20633 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20634 sparc V9 rather than using V8 code.
20635 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20636 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20637
e7f68ef4
RM
206382013-01-10 Roland McGrath <roland@hack.frob.com>
20639
20640 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20641 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20642 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20643 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20644 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20645 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20646 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20647 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20648 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20649 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20650 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20651 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20652 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20653 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20654 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20655 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20656 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20657 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20658 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20659 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20660 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20661 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20662 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20663 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20664 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20665 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20666 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20667
5a47cc9c
DM
206682013-01-10 David S. Miller <davem@davemloft.net>
20669
20670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20671
4cf8f209
L
206722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20673
20674 * posix/Makefile (tests-static): New variable.
20675 (tests): Add $(tests-static).
20676 (tst-exec-static-ARGS): New variable.
20677 (tst-spawn-static-ARGS): Likewise.
20678 * posix/tst-exec-static.c: New file.
20679 * posix/tst-spawn-static.c: Likewise.
20680 * posix/tst-exec.c: Support run directly.
20681 * posix/tst-spawn.c: Likewise.
20682
fed0faa1
JM
206832013-01-10 Joseph Myers <joseph@codesourcery.com>
20684
828beb13
JM
20685 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20686 long.
20687 * math/bits/mathcalls.h (llrint): Likewise.
20688 (llround): Likewise.
20689 * stdlib/stdlib.h (struct drand48_data): Likewise.
20690 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20691 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20692 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20693 Likewise.
20694 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20695 Likewise.
20696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20697 (elf_greg_t): Likewise.
20698 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20699 (__jmp_buf): Likewise.
20700 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20701 definitions.
20702 (llrint): Likewise, for all definitions.
20703 (llrintl): Likewise.
20704
fed0faa1
JM
20705 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20706 Remove [__GNUC__] condition.
20707 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20708 condition to just [__USE_ISOC99].
20709 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20710
1a20cb20
L
207112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 [BZ #14200]
20714 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20715 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20716 defined.
20717 (_POSIX_V6_ILP32_OFF32): Likewise.
20718 (_XBS5_ILP32_OFF32): Likewise.
20719 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20720 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20721
751b85f7
SP
207222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20723
7490eb81
SP
20724 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20725
751b85f7
SP
20726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20727 doubles __mpexp_twomm1. Adjust usage.
20728 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20729 Remove.
20730
988197f0
AS
207312013-01-10 Andreas Schwab <schwab@suse.de>
20732
20733 [BZ #14964]
20734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20735 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20736
e83d7298
DM
207372013-01-09 David S. Miller <davem@davemloft.net>
20738
034ed64b 20739 [BZ #15003]
57f41c40
AS
20740 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20741 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20742 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20743 (TCP_FASTOPEN): Define.
e83d7298
DM
20744 (tcp_repair_opt): New structure.
20745 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20746 enum values.
57f41c40
AS
20747 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20748 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20749 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20750 (tcp_cookie_transactions): New structure.
20751
d5e0b9bd
AB
207522013-01-09 Anton Blanchard <anton@samba.org>
20753
20754 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20755 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20756 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20757 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20758
0c07e3ea
JM
207592013-01-09 Joseph Myers <joseph@codesourcery.com>
20760
20761 * include/features.h (__USE_ANSI): Remove.
20762
232f7002
RM
207632013-01-09 Roland McGrath <roland@hack.frob.com>
20764
ad98e30c
RM
20765 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20766
232f7002
RM
20767 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20768
950c99ca
SP
207692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20770
b5792741
SP
20771 * sysdeps/s390/fpu/libm-test-ulps: Update.
20772
47cf2278
SP
20773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20774
950c99ca
SP
20775 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20776 (__acr): Likewise.
20777 (__cpy): Likewise.
20778 (norm): Likewise.
20779 (denorm): Likewise.
20780 (__mp_dbl): Likewise.
20781 (__dbl_mp): Likewise.
20782 (add_magnitudes): Likewise.
20783 (sub_magnitudes): Likewise.
20784 (__add): Likewise.
20785 (__sub): Likewise.
20786 (__mul): Likewise.
20787 (__inv): Likewise.
20788 (__dvd): Likewise.
20789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20790 (__acr): Likewise.
20791 (__cpy): Likewise.
20792 (norm): Likewise.
20793 (denorm): Likewise.
20794 (__mp_dbl): Likewise.
20795 (__dbl_mp): Likewise.
20796 (add_magnitudes): Likewise.
20797 (sub_magnitudes): Likewise.
20798 (__add): Likewise.
20799 (__sub): Likewise.
20800 (__mul): Likewise.
20801 (__inv): Likewise.
20802 (__dvd): Likewise.
20803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20804 (__acr): Likewise.
20805 (__cpy): Likewise.
20806 (norm): Likewise.
20807 (denorm): Likewise.
20808 (__mp_dbl): Likewise.
20809 (__dbl_mp): Likewise.
20810 (add_magnitudes): Likewise.
20811 (sub_magnitudes): Likewise.
20812 (__add): Likewise.
20813 (__sub): Likewise.
20814 (__mul): Likewise.
20815 (__inv): Likewise.
20816 (__dvd): Likewise.
20817
eede9df9
JM
208182013-01-08 Joseph Myers <joseph@codesourcery.com>
20819
20820 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20821 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20822 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20823 2 && __USE_EXTERN_INLINES]: Likewise.
20824
c40ea3d9
AJ
208252013-01-08 Andreas Jaeger <aj@suse.de>
20826
20827 [BZ# 14985]
20828 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20829 Remove.
20830 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20831 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20832
2ccdea26
AB
208332013-01-07 Anton Blanchard <anton@samba.org>
20834
20835 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20836 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20837 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20838 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20839 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20840 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20841 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20842 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20844 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20846 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20847 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20850 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20851 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20852 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20853 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20854 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20855 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20856 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20858 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20859 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20860 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20861 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20862 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20864 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20865 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20868 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20869 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20870 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20873 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20875 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20877 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20878
a9708fed
JM
208792013-01-07 Joseph Myers <joseph@codesourcery.com>
20880
375607b9
JM
20881 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20882 (__MALLOC_PMT): Likewise.
20883 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20884 [__GNUC__], only on [_LIBC].
20885 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20886 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20887 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20888 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20889 forward declaration.
20890 (realloc_hook_ini): Likewise.
20891 (memalign_hook_ini): Likewise.
20892 (__libc_memalign): Do not use __MALLOC_PMT in variable
20893 declaration.
20894 (__libc_valloc): Likewise.
20895 (__libc_pvalloc): Likewise.
20896 (__libc_calloc): Likewise.
20897 (__posix_memalign): Likewise.
20898
a9708fed
JM
20899 [BZ #14996]
20900 * math/s_casinh.c: Include <float.h>.
20901 (__casinh): Do not do computation with squaring and square root
20902 for large arguments.
20903 * math/s_casinhf.c: Include <float.h>.
20904 (__casinhf): Do not do computation with squaring and square root
20905 for large arguments.
20906 * math/s_casinhl.c: Include <float.h>.
20907 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20908 (__casinhl): Do not do computation with squaring and square root
20909 for large arguments.
20910 * math/libm-test.inc (casin_test): Add more tests.
20911 (casinh_test): Likewise.
20912 * sysdeps/i386/fpu/libm-test-ulps: Update.
20913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20914
afec409a
L
209152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20916
20917 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20918 (__x86_64_raw_data_cache_size): Likewise.
20919 (__x86_64_data_cache_size_half): Likewise.
20920 (__x86_64_raw_data_cache_size_half): Likewise.
20921 (__x86_64_shared_cache_size): Likewise.
20922 (__x86_64_raw_shared_cache_size): Likewise.
20923 (__x86_64_shared_cache_size_half): Likewise.
20924 (__x86_64_raw_shared_cache_size_half): Likewise.
20925 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20926 to ...
20927 (__x86_data_cache_size): This.
20928 (__x86_64_raw_data_cache_size): Renamed to ...
20929 (__x86_raw_data_cache_size): This.
20930 (__x86_64_data_cache_size_half): Renamed to ...
20931 (__x86_data_cache_size_half): This.
20932 (__x86_64_raw_data_cache_size_half): Renamed to ...
20933 (__x86_raw_data_cache_size_half): This.
20934 (__x86_64_shared_cache_size): Renamed to ...
20935 (__x86_shared_cache_size): This.
20936 (__x86_64_raw_shared_cache_size): Renamed to ...
20937 (__x86_raw_shared_cache_size): This.
20938 (__x86_64_shared_cache_size_half): Renamed to ...
20939 (__x86_shared_cache_size_half): This.
20940 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20941 (__x86_raw_shared_cache_size_half): This.
20942 * sysdeps/x86_64/memcpy.S: Updated.
20943 * sysdeps/x86_64/memset.S: Likewise.
20944 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20945 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20946 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20947
0b3986d0
DM
209482013-01-04 David S. Miller <davem@davemloft.net>
20949
20950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20951
e47686e9
AS
209522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20953
d643bac1
AS
20954 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20955 1 to avoid redefinition warning.
20956 (__USE_GNU): Don't define.
20957 (init_signaling_nan): Protoize.
20958
e47686e9
AS
20959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20960
b18decba
SP
209612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20962
fffb407f
SP
20963 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20965 (__cpymn): Likewise.
20966 (norm): Remove commented code.
20967 (denorm): Likewise.
20968 (__mp_dbl): Likewise.
20969 (__inv): Likewise.
20970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20971 (__cpymn): Likewise.
20972 (norm): Remove commented code.
20973 (denorm): Likewise.
20974 (__mp_dbl): Likewise.
20975 (__inv): Likewise.
20976
b18decba
SP
20977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20978 mp_no value for 1.0 and 2.0.
20979 (norm): Use RADIXI instead of radixi.d.
20980 (denorm): Likewise.
20981 (__mul): Use 0.0 instead of zero.d.
20982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20983 mp_no value for 1.0 and 2.0.
20984 (norm): Use RADIXI instead of radixi.d.
20985 (denorm): Likewise.
20986 (__mul): Use 0.0 instead of zero.d.
20987
cdc1c96f
JM
209882013-01-04 Joseph Myers <joseph@codesourcery.com>
20989
20990 [BZ #14994]
20991 * math/s_casinh.c (__casinh): Reduce finite argument to first
20992 quadrant then set signs of results at the end.
20993 * math/s_casinhf.c (__casinhf): Likewise.
20994 * math/s_casinhl.c (__casinhl): Likewise.
20995 * math/libm-test.inc (casin_test): Add more tests.
20996 (casinh_test): Likewise.
20997 * sysdeps/i386/fpu/libm-test-ulps: Update.
20998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20999
302913e1
SP
210002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21001
6420d207
SP
21002 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21003
a9e48ab4
SP
21004 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21005
b7837264
SP
21006 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21007 declarations.
21008 (denorm): Likewise.
21009 (__mp_dbl): Likewise.
21010 (__inv): Likewise.
21011
f8af25d2
SP
21012 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21013 and adjust the header comment.
21014
302913e1
SP
21015 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21016 variable name from declaration.
21017
5d7dd1ca
L
210182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21021 Initialize COMMON_CPUID_INDEX_7 element.
21022 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21023 (CPUID_RTM): Likewise.
21024 (HAS_RTM): Likewise.
21025 (COMMON_CPUID_INDEX_7): New enum.
21026
2f5f40f4
AS
210272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21028
21029 [BZ #14981]
21030 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21031 size is zero, record memory as freed.
21032
4056f4a0
AJ
210332013-01-03 Andreas Jaeger <aj@suse.de>
21034
21035 * po/ia.po: Add new Interlingua translation.
21036
ab15736f 210372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21038
21039 * locale/programs/localedef.c: Fix description of '--posix' flag.
21040
568035b7
JM
210412013-01-02 Joseph Myers <joseph@codesourcery.com>
21042
e6898b8d
JM
21043 * NEWS: Update dates in second copyright notice.
21044 * README: Update copyright dates in example.
21045 * manual/libc.texinfo: Update copyright dates.
21046 * scripts/test-installation.pl: Update copyright date in --version
21047 output.
21048
0e2f9562
JM
21049 * hurd/ctty-input.c: Fix copyright notice formatting.
21050 * hurd/ctty-output.c: Likewise.
21051 * hurd/dtable.c: Likewise.
21052 * hurd/hurd-raise.c: Likewise.
21053 * hurd/hurdprio.c: Likewise.
21054 * hurd/msgportdemux.c: Likewise.
21055 * misc/sys/file.h: Likewise.
21056 * misc/sys/ioctl.h: Likewise.
21057 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21058 * sysdeps/mach/hurd/chdir.c: Likewise.
21059 * sysdeps/mach/hurd/fchdir.c: Likewise.
21060 * sysdeps/mach/hurd/rename.c: Likewise.
21061 * sysdeps/mach/hurd/rmdir.c: Likewise.
21062 * sysdeps/mach/hurd/seekdir.c: Likewise.
21063 * sysdeps/mach/hurd/setsid.c: Likewise.
21064 * sysdeps/posix/wait3.c: Likewise.
21065
568035b7
JM
21066 * All files with FSF copyright notices: Update copyright dates
21067 using scripts/update-copyrights.
21068 * intl/plural.c: Regenerated.
21069 * locale/programs/charmap-kw.h: Likewise.
21070 * locale/programs/locfile-kw.h: Likewise.
21071
da08f647
SP
210722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21073
0f5477af
SP
21074 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21075 four values.
21076
44e0d4c2
SP
21077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21078 calculation loop and add branch prediction.
21079
4d55b4e5
SP
21080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21081 check access beyond bounds of m1np.
21082
da08f647
SP
21083 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21084 MPTWO.
21085 (__inv): Remove local variable MPTWO to use the global
21086 constant.
21087 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21089 variable MPTWO.
21090 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21091 MP3HALFS static const.
21092
8e051029
DM
210932013-01-01 David S. Miller <davem@davemloft.net>
21094
21095 * po/ca.po: Update from translation team.
21096
f4cf5f2d
JM
210972013-01-01 Joseph Myers <joseph@codesourcery.com>
21098
21099 * scripts/update-copyrights: New file.
21100 * Makeconfig: Reformat copyright notice.
21101 * ctype/ctype.h: Likewise.
21102 * debug/swprintf_chk.c: Likewise.
21103 * elf/dl-cache.c: Likewise.
21104 * elf/dl-debug.c: Likewise.
21105 * elf/dl-object.c: Likewise.
21106 * grp/initgroups.c: Likewise.
21107 * hurd/Makefile: Likewise.
21108 * hurd/hurd/signal.h: Likewise.
21109 * hurd/hurdfault.c: Likewise.
21110 * hurd/hurdioctl.c: Likewise.
21111 * hurd/hurdlookup.c: Likewise.
21112 * hurd/intr-msg.c: Likewise.
21113 * iconv/gconv_open.c: Likewise.
21114 * libio/swprintf.c: Likewise.
21115 * locale/lc-ctype.c: Likewise.
21116 * locale/nl_langinfo.c: Likewise.
21117 * mach/Machrules: Likewise.
21118 * mach/Makefile: Likewise.
21119 * malloc/obstack.h: Likewise.
21120 * manual/Makefile: Likewise.
21121 * manual/tsort.awk: Likewise.
21122 * misc/bits/stab.def: Likewise.
21123 * nis/nis_print_group_entry.c: Likewise.
21124 * nis/nis_table.c: Likewise.
21125 * nis/nss_compat/compat-pwd.c: Likewise.
21126 * nis/nss_compat/compat-spwd.c: Likewise.
21127 * po/Makefile: Likewise.
21128 * posix/fnmatch.c: Likewise.
21129 * posix/regex.h: Likewise.
21130 * resolv/Makefile: Likewise.
21131 * resolv/nss_dns/dns-network.c: Likewise.
21132 * resolv/res_hconf.c: Likewise.
21133 * scripts/gen-sorted.awk: Likewise.
21134 * soft-fp/soft-fp.h: Likewise.
21135 * stdio-common/printf.h: Likewise.
21136 * stdlib/monetary.h: Likewise.
21137 * stdlib/random.c: Likewise.
21138 * stdlib/random_r.c: Likewise.
21139 * sysdeps/generic/Makefile: Likewise.
21140 * sysdeps/gnu/Makefile: Likewise.
21141 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21169 * sysdeps/mach/hurd/errnos.awk: Likewise.
21170 * sysdeps/mach/hurd/fork.c: Likewise.
21171 * sysdeps/mach/hurd/getcwd.c: Likewise.
21172 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21173 * sysdeps/mach/hurd/mmap.c: Likewise.
21174 * sysdeps/mach/hurd/utimes.c: Likewise.
21175 * sysdeps/mach/hurd/xmknod.c: Likewise.
21176 * sysdeps/posix/profil.c: Likewise.
21177 * sysdeps/posix/readdir_r.c: Likewise.
21178 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21179 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21180 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21181 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21183 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21184 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21185 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21187 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21188 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21189 * sysdeps/pthread/lio_listio.c: Likewise.
21190 * sysdeps/sparc/dl-procinfo.h: Likewise.
21191 * sysdeps/unix/i386/sysdep.S: Likewise.
21192 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21193 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21194 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21195 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21197 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21198 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21199 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21200 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21201 * sysdeps/wordsize-32/divdi3.c: Likewise.
21202 * time/sys/time.h: Likewise.
21203 * wcsmbs/Makefile: Likewise.
21204
0549fbba
DM
212052013-01-01 David S. Miller <davem@davemloft.net>
21206
a141f1a7
DM
21207 * po/fr.po: Update from translation team.
21208
0549fbba
DM
21209 * catgets/gencat.c: Update copyright year.
21210 * csu/version.c: Likewise.
21211 * debug/catchsegv.sh: Likewise.
21212 * debug/pcprofiledump.c: Likewise.
21213 * debug/xtrace.sh: Likewise.
21214 * elf/ldconfig.c: Likewise.
21215 * elf/ldd.bash.in: Likewise.
21216 * elf/pldd.c: Likewise.
21217 * elf/sotruss.ksh: Likewise.
21218 * elf/sprof.c: Likewise.
21219 * iconv/iconv_prog.c: Likewise.
21220 * iconv/iconvconfig.c: Likewise.
21221 * locale/programs/locale.c: Likewise.
21222 * locale/programs/localedef.c: Likewise.
21223 * login/programs/pt_chown.c: Likewise.
21224 * malloc/memusage.sh: Likewise.
21225 * malloc/memusagestat.c: Likewise.
21226 * malloc/mtrace.pl: Likewise.
21227 * nscd/nscd.c: Likewise.
21228 * nss/getent.c: Likewise.
21229 * nss/makedb.c: Likewise.
21230 * posix/getconf.c: Likewise.
21231
18ea052c
SP
212322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21233
21234 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21235 numbers.
21236
9c89fca6
MF
212372012-12-30 Mike Frysinger <vapier@gentoo.org>
21238
21239 * math/bits/mathcalls.h (modf): Use __nonnull.
21240
085ec079
SP
212412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21242
21243 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21244 (split): Use macro CN instead of the bare value.
21245 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21246 could be used.
21247 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21248 instead of the bare value.
21249 (power1): Likewise.
21250
6d9f97e1
SP
212512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21252
d63f73be
SP
21253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21254 __ATAN_TWOM.
21255 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21256
6d9f97e1
SP
21257 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21258 their values.
21259 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21260 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21261 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21262 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21263
4c4febf5
AJ
212642012-12-28 Andreas Jaeger <aj@suse.de>
21265
af5843ef
AJ
21266 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21267 values are from Linux 3.7.
21268
4c4febf5
AJ
21269 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21270 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21271
99136f82
SP
212722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21273
2f216c3c 21274 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21275 TRUE case.
21276
99136f82
SP
21277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21278 (norm): Likewise.
21279 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21280 variables with preprocessor constants.
21281 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21282 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21283 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21284
7fffbdff
BH
212852012-12-27 Bruno Haible <bruno@clisp.org>
21286
21287 [BZ #14317]
21288 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21289 only if needed.
21290
b76eb5f0
SP
212912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21292
31a7fe5c
SP
21293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21294 and use variable directly.
21295 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21296
b76eb5f0
SP
21297 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21298 MPONE.
21299 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21301 variable MPONE.
21302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21304 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21305 include directive. Remove local variable MPONE.
21306 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21307 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21308 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21309
2c8bfe7d
DM
213102012-12-25 David S. Miller <davem@davemloft.net>
21311
21312 * version.h (RELEASE): Set to "development".
21313 (VERSION): Set to "2.17.90".
21314 * NEWS: Add 2.18 section.
21315
147d03b0
DM
213162012-12-21 David S. Miller <davem@davemloft.net>
21317
21318 * po/hr.po: Update from translation team.
21319
a8ebb2b9
AK
213202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21321
21322 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21323
95b4f1b6
SE
213242012-12-19 Steve Ellcey <sellcey@mips.com>
21325
b2d94007 21326 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21327
cedb2a90
MS
213282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21329
21330 * manual/contrib.texi (Contributors): Spelling correction.
21331
bbf527d6
DM
213322012-12-15 David S. Miller <davem@davemloft.net>
21333
21334 * po/ru.po: Update from translation team.
21335
bc38c906
DM
213362012-12-13 David S. Miller <davem@davemloft.net>
21337
85429b1a
DM
21338 * NEWS: Mention IFUNC testsuite enhancements.
21339
d283e353
DM
21340 * po/pl.po: Update from translation team.
21341 * po/bg.po: Likewise.
21342
bc38c906
DM
21343 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21344 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21345
a181b0d7
DM
213462012-12-11 David S. Miller <davem@davemloft.net>
21347
4641d57e
DM
21348 * po/sv.po: Update from translation team.
21349
f7bc6495
DM
21350 * po/vi.po: Update from translation team.
21351
6fc9048f
DM
21352 * po/cs.po: Update from translation team.
21353
a181b0d7
DM
21354 * po/de.po: Update from translation team.
21355 * po/eo.po: Likewise.
21356 * po/nl.po: Likewise.
21357
f70bfe80
SP
213582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21359
3c8b4190
SP
21360 [BZ #14246]
21361 * manual/argp.texi (Argp Helper Functions): Move node to follow
21362 Argp Parsing State.
21363
f70bfe80
SP
21364 [BZ #14872]
21365 * manual/conf.texi (Limits on File System Capacity): Mention if
21366 terminating null is included in the max size.
21367
188f0adf
AJ
213682012-12-10 Andreas Jaeger <aj@suse.de>
21369
21370 * po/cs.po: Update from translation team.
21371
56e7d3ad
SP
213722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
21374 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21375 void pointer and cast to uintptr_t.
21376 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21377 path.
21378 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21379 * sysdeps/s390/s390-64/memset.S: Likewise.
21380
76f2d2ea 213812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21382
21383 [BZ #14833]
21384 * menual/message.texi (Message Translation): Fix typos.
21385 (Helper programs for gettext): Likewise.
21386
67cbf9a2
AS
213872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21388
21389 [BZ #14898]
21390 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21391 Change to -1.
21392
682d0e9a
DM
213932012-12-07 David S. Miller <davem@davemloft.net>
21394
21395 * po/libc.pot: Update.
21396
573cd484
RH
213972012-12-07 Richard Henderson <rth@redhat.com>
21398
7e9da188 21399 [BZ #10114]
573cd484
RH
21400 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21401 normal/normal case to before the switch.
21402 (_FP_DIV): Likewise.
21403
e933a943
MF
214042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21405 Mike Frysinger <vapier@gentoo.org>
21406
21407 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21408 check for __NR_fadvise64_64.
21409
82123268
CM
214102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21411
21412 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21413 0, not just to plain "0" as a statement.
21414 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21415 with cw.
21416
d9814526
JM
214172012-12-06 Joseph Myers <joseph@codesourcery.com>
21418
21419 * NEWS: Use sourceware.org in Bugzilla URL.
21420
7728c574
SP
214212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21422
f16946dd
SP
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21424 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21425
5704bbcb
SP
21426 * stdio-common/tst-put-error.c (do_test): Add newline to the
21427 padded test to ensure flush.
21428
17aa0516
JL
214292012-12-05 Jeff Law <law@redhat.com>
21430
21431 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21432
363313b5
JM
214332012-12-05 Joseph Myers <joseph@codesourcery.com>
21434
effbd42a
JM
21435 * README: Don't refer to ports add-on as distributed separately.
21436 Mention AArch64 in list of systems supported in the ports add-on.
21437
87600365
JM
21438 * LICENSES: Add more non-FSF copyright and license notices.
21439
a0d7066a
JM
21440 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21441 ((unused)).
21442
66ca5a5b
JM
21443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21444
363313b5
JM
21445 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21446 10000 as width of padded output.
21447
b37984ad
JM
214482012-12-04 Joseph Myers <joseph@codesourcery.com>
21449
9003570a
JM
21450 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21451
b37984ad
JM
21452 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21453 variable LX with __attribute__ ((unused)).
21454 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21455 Likewise.
21456 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21459 with __attribute__ ((unused)).
21460
c8df52ec
DM
214612012-12-04 David S. Miller <davem@abraco.davemloft.net>
21462
21463 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21464
b3b099af
JM
214652012-12-04 Joseph Myers <joseph@codesourcery.com>
21466
c33aa6e3
JM
21467 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21468 (CFLAGS-nldbl-acos.c): New variable.
21469 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21540 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21541 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21542 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21543 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21544 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21545 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21546 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21547 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21548 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21549 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21550 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21551 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21552 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21553 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21554 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21555 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21556 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21557 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21558 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21559 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21560 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21561 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21562 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21563 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21564 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21565 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21566
20f0018d
JM
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21568 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21569
b3b099af
JM
21570 [BZ #14914]
21571 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21572 whole low double instead of just low 47 bits when splitting values
21573 into two parts.
21574
029264d1
AM
215752012-12-03 Allan McRae <allan@archlinux.org>
21576
21577 * manual/stdio.texi (Predefined Printf Handlers): Remove
21578 @hsep and @vsep usage.
21579
c9d6789e
MF
215802012-12-03 Mike Frysinger <vapier@gentoo.org>
21581
21582 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21583 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21584
4b7634a5
JL
215852012-12-03 Jeff Law <law@redhat.com>
21586
21587 * time/sys/time.h (settimeofday): Do not mark TV argument
21588 as __nonnull.
21589
eb6cbd24
MF
215902012-12-01 Mike Frysinger <vapier@gentoo.org>
21591
21592 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21593 when currently writing and seek to current position when not.
21594 * libio/Makefile (tests): Remove bug-fclose1.
21595 * libio/bug-fclose1.c: Delete.
21596
f638872a
JM
215972012-12-01 Joseph Myers <joseph@codesourcery.com>
21598
21599 * manual/arith.texi (feenableexcept): Fix typo.
21600 (fedisableexcept): Likewise.
21601
48085d14
RM
216022012-11-30 Roland McGrath <roland@hack.frob.com>
21603
21604 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21605 second, differently-typed declaration, rather than a cast.
21606
1a538b9f
SP
216072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21608
21609 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21610 * include/rpc/svc.h: ... here.
21611
d07f2ff1 216122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21613
21614 [BZ #13013]
21615 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21616 depending n and resplen2 to catch cases where answer
21617 equals answerp2.
21618
c93ec1f0
CD
216192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21620
21621 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21622 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21623
37db69de
MF
216242012-11-29 Mike Frysinger <vapier@gentoo.org>
21625
21626 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21627
e10c4e4f
RM
216282012-11-29 Roland McGrath <roland@hack.frob.com>
21629
21630 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21631
2af1b328
JL
216322012-11-28 Jeff Law <law@redhat.com>
21633
21634 [BZ #13761]
21635 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21636 dataset_temporary. Track alloca usage into alloca_used.
21637 If dataset is large allocate and release it via malloc/free.
21638
111db5b1
FW
216392012-06-04 Florian Weimer <fweimer@redhat.com>
21640
f06cc227 21641 [BZ #14197]
111db5b1
FW
21642 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21643
dd694abd
DM
216442012-11-28 David S. Miller <davem@davemloft.net>
21645
21646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21647
9984dd01
JM
216482012-11-28 Joseph Myers <joseph@codesourcery.com>
21649
21650 [BZ #14803]
21651 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21652 of pi/2 rounded to nearest to 64 bits.
21653 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21654 nearest to 64 bits.
21655 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21656 bits.
21657
14bc93a9
JL
216582012-11-28 Jeff Law <law@redhat.com>
21659 Martin Osvald <mosvald@redhat.com>
21660
21661 [BZ #14889]
21662 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21663 * sunrpc/svc.c: Include time.h.
21664 (__svc_accept_failed): New function.
21665 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21666 any reason other than EINTR, call __svc_accept_failed.
21667 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21668 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21669
e3c6aa3a
AS
216702012-11-28 Andreas Schwab <schwab@suse.de>
21671
21672 * scripts/abilist.awk: Also handle indirect functions in .opd
21673 section.
21674
1bead169
JM
216752012-11-28 Joseph Myers <joseph@codesourcery.com>
21676
21677 [BZ #13881]
21678 * sysdeps/x86/fpu/powl_helper.c: New file.
21679 * sysdeps/x86/fpu/Makefile: Likewise.
21680 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21681 (p3): New object.
21682 (__ieee754_powl): Use __powl_helper for finite arguments except
21683 integer exponents below 8.
21684 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21685 (p3): New object.
21686 (__ieee754_powl): Use __powl_helper for finite arguments except
21687 integer exponents below 8.
21688 * math/libm-test.inc (pow_test): Add more tests and enable some
21689 previously disabled tests.
21690 * sysdeps/i386/fpu/libm-test-ulps: Update.
21691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21692
0817d63d
SP
216932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21694 Carlos O'Donell <carlos_odonell@mentor.com>
21695
21696 * nss/makedb.c (is_prime): Assert that input is odd and greater
21697 than 4. Note that fact in a comment too.
21698 (next_prime): Add 4 to input.
21699
de2fd463
SP
217002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21701
21702 [BZ #11741]
21703 * libio/Makefile (tests): Add test case tst-fwrite-error.
21704 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21705 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21706 * libio/tst-fwrite-error.c: New test case.
21707
c515fb51
L
217082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21709
21710 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21711 before casting to void *.
21712 * include/libc-internal.h (__pointer_type): New macro.
21713 (__integer_if_pointer_type_sub): Likewise.
21714 (__integer_if_pointer_type): Likewise.
21715 (cast_to_integer): Likewise.
21716 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21717 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21718 before casting to atomic64_t.
21719 (atomic_exchange_acq): Likewise.
21720 (__arch_exchange_and_add_body): Likewise.
21721 (__arch_add_body): Likewise.
21722 (atomic_add_negative): Likewise.
21723 (atomic_add_zero): Likewise.
21724
4cf77aa9
JM
217252012-11-26 Joseph Myers <joseph@codesourcery.com>
21726
21727 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21728 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21729 (add_fdes): Likewise.
21730 (linear_search_fdes): Likewise.
21731 (binary_search_unencoded_fdes): Likewise.
21732
d260b3b4
AS
217332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21734
21735 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21736
67060746
AC
217372012-11-24 Adam Conrad <adconrad@0c3.net>
21738
21739 * configure.in: Autodetect C++ header directories.
21740 * configure: Regenerated.
21741
800938a1
MF
217422012-11-23 Mike Frysinger <vapier@gentoo.org>
21743
21744 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21745
4e6e34e6
AS
217462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21747
21748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21749
7c7feb47
JM
217502012-11-22 Joseph Myers <joseph@codesourcery.com>
21751
7184dcdf
JM
21752 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21753 LDBL_MANT_DIG == 106]: Disable some tests.
21754 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21755 Likewise.
21756 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21757 Likewise.
21758
0a42601f
JM
21759 [BZ #14871]
21760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21761 input for small inputs. Return +/- pi/2 for large inputs.
21762 * math/libm-test.inc (atan_test): Add more tests.
21763
79c9b9fe
JM
21764 * sysdeps/generic/unwind-dw2-fde-glibc.c
21765 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21766 __attribute__ ((unused)).
21767
c60d3bf2
JM
21768 [BZ #14645]
21769 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21770 x * y if x and y are nonzero and z is zero.
21771
ef1e0867
JM
21772 [BZ #14811]
21773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21774 nonzero exponents with absolute value below 0x1p-117 to +/-
21775 0x1p-117.
21776
1468ded3
JM
21777 [BZ #14869]
21778 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21779 up arguments below 2**-450, not just those below 2**-500.
21780 * math/libm-test.inc (hypot_test): Add another test.
21781
8e27e3cc
JM
21782 [BZ #14868]
21783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21784 Return a+b for ratio over 2**120, not 2**60.
21785 * math/libm-test.inc (hypot_test): Add another test.
21786
c9c0279b
JM
21787 * math/libm-test.inc (clog_test): Use
21788 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21789 (clog10_test): Likewise.
21790
7c7feb47
JM
21791 [BZ #6778]
21792 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21793
fff1530e
AS
217942012-11-22 Andreas Schwab <schwab@suse.de>
21795
21796 * sysdeps/i386/fpu/libm-test-ulps: Update.
21797
94558d30
PT
217982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21799
21800 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21801 printf output with newline.
21802
7e1be741
L
218032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21804
6bfea974
L
21805 [BZ #14865]
21806 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21807 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21808 -z nodlopen, -z initfirst and -z execstack support.
21809 * configure: Regenerated.
21810
7e1be741
L
21811 * elf/elf.h (DF_1_NODIRECT): New macro.
21812 (DF_1_IGNMULDEF): Likewise.
21813 (DF_1_NOKSYMS): Likewise.
21814 (DF_1_NOHDR): Likewise.
21815 (DF_1_EDITED): Likewise.
21816 (DF_1_NORELOC): Likewise.
21817 (DF_1_SYMINTPOSE): Likewise.
21818 (DF_1_GLOBAUDIT): Likewise.
21819 (DF_1_SINGLETON): Likewise.
21820 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21821 DT_1_SUPPORTED_MASK bits.
21822 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21823
105ce2ce
CD
218242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21825
21826 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21827
123be9de
TS
218282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21829
d072f3f7
TS
21830 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21831 macro.
21832
123be9de
TS
21833 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21834 (sendmmsg): Move declarations...
21835 * socket/sys/socket.h: ... here.
21836 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21837 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21838 include it from...
21839 * socket/recvmmsg.c: ... this new file.
21840 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21841 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21842 definition of __sendmmsg hidden.
21843 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21844 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21845 Move ENOSYS stub into and include it from...
21846 * socket/sendmmsg.c: ... this new file.
21847 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21848 (sysdep_routines): Move recvmmsg and sendmmsg...
21849 * socket/Makefile (routines): ... here.
21850 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21851 (GLIBC_PRIVATE): Add __sendmmsg.
21852 * include/sys/socket.h (__sendmmsg): Add declarations.
21853 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21854 sendmmsg.
21855
cf9a5d18
JM
218562012-11-20 Joseph Myers <joseph@codesourcery.com>
21857
21858 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21859 variable I1 with __attribute__ ((unused)).
21860 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21861
ecd4caf9
JM
218622012-11-19 Joseph Myers <joseph@codesourcery.com>
21863
be14d48f
JM
21864 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21865 DUMMY variables with __attribute__ ((unused)).
21866
ecd4caf9
JM
21867 * bits/byteswap.h: Include <bits/types.h>.
21868 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21869
986cab95
PT
218702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21871
21872 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21873 string_t. Do not manually set errno.
21874 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21875 length with __strnlen. Make sure to both set errno and return it on
21876 failure.
21877
6d33cc9d
DM
218782012-11-19 David S. Miller <davem@davemloft.net>
21879
21880 With help from Joseph Myers.
21881 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21882 very large arguments properly.
21883 * math/libm-test.inc (atan_test): New tests.
21884 (atan2_test): New tests.
21885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21887
ee663277
JM
218882012-11-19 Joseph Myers <joseph@codesourcery.com>
21889
877f2d8e
JM
21890 [BZ #14856]
21891 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21892 Define to 3.
21893
116fc08a
JM
21894 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21895 [POSIX] (EADDRNOTAVAIL): Likewise.
21896 [POSIX] (EAFNOSUPPORT): Likewise.
21897 [POSIX] (EALREADY): Likewise.
21898 [POSIX] (ECONNABORTED): Likewise.
21899 [POSIX] (ECONNREFUSED): Likewise.
21900 [POSIX] (ECONNRESET): Likewise.
21901 [POSIX] (EDESTADDRREQ): Likewise.
21902 [POSIX] (EDQUOT): Likewise.
21903 [POSIX] (EHOSTUNREACH): Likewise.
21904 [POSIX] (EIDRM): Likewise.
21905 [POSIX] (EISCONN): Likewise.
21906 [POSIX] (ELOOP): Likewise.
21907 [POSIX] (EMULTIHOP): Likewise.
21908 [POSIX] (ENETDOWN): Likewise.
21909 [POSIX] (ENETUNREACH): Likewise.
21910 [POSIX] (ENOBUFS): Likewise.
21911 [POSIX] (ENODATA): Likewise.
21912 [POSIX] (ENOLINK): Likewise.
21913 [POSIX] (ENOMSG): Likewise.
21914 [POSIX] (ENOPROTOOPT): Likewise.
21915 [POSIX] (ENOSR): Likewise.
21916 [POSIX] (ENOSTR): Likewise.
21917 [POSIX] (ENOTCONN): Likewise.
21918 [POSIX] (ENOTSOCK): Likewise.
21919 [POSIX] (EOPNOTSUPP): Likewise.
21920 [POSIX] (EOVERFLOW): Likewise.
21921 [POSIX] (EPROTO): Likewise.
21922 [POSIX] (EPROTONOSUPPORT): Likewise.
21923 [POSIX] (EPROTOTYPE): Likewise.
21924 [POSIX] (ESTALE): Likewise.
21925 [POSIX] (ETIME): Likewise.
21926 [POSIX] (ETXTBSY): Likewise.
21927 [POSIX] (EWOULDBLOCK): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21929 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21930 [POSIX] (SEEK_CUR): Likewise.
21931 [POSIX] (SEEK_END): Likewise.
21932 [POSIX || UNIX98] (mode_t): Do not require.
21933 [POSIX] (off_t): Likewise.
21934 [POSIX] (pid_t): Likewise.
21935 [POSIX] (sys/stat.h): Do not allow header.
21936 [POSIX] (unistd.h): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21938 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21939 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21940 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21941 require.
21942 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21943 sigevent): Specify elements.
21944 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21945 entry.
21946 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21947 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21948
a483863f
JM
21949 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21950 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21951 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21952 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21953 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21954 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21955 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21956 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21957 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21958 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21959 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21960 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21961 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21962 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21963 Likewise.
21964 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21965 Likewise.
21966 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21967 Likewise.
21968 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21969 Likewise.
21970 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21971 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21972 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21973 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21975 Specify lower bound on value.
21976 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21978 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21979 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21980 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21981 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21982 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21984 value.
21985 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21986 as optional.
21987 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21988 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21989 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21990 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21991 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21992 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21993 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21994 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21995 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21996 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21997 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21998 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21999 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22000 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22001 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22002 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22003 entry.
22004 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22005 optional.
22006 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22008 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22009 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22010 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22011 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22012 Likewise.
22013 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22016 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22017 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22018 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22019 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22020 as optional.
22021 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22022 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22025 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22026 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22027 specify as optional.
22028 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22031 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22032 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22033 [XPG3] (NL_LANGMAX): Likewise.
22034 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22035 [POSIX || XPG3] (NL_NMAX): Likewise.
22036 [POSIX || XPG3] (NL_SETMAX): Likewise.
22037 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22038 [XPG3] (NZERO): Likewise.
22039 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22040 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22041 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22042 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22043 (REG_ERANGE): Expect.
22044 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22045 optional-constant.
22046 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22047 Use (void) in prototype.
22048 [POSIX] (*_t): Allow.
22049 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22050 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22051 (WRDE_BADVAL): Expect.
22052
5ba924e3
JM
22053 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22054 expect.
22055 [XPG3 || XPG4] (O_RSYNC): Likewise.
22056 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22057 Likewise.
22058 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22059 [XPG3 || XPG4] (sigqueue): Likewise.
22060 [XPG3 || XPG4] (sigtimedwait): Likewise.
22061 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22062 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22063 [XPG3 || XPG4] (vsnprintf): Likewise.
22064 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22065 Likewise.
22066 [XPG3 || XPG4] (blksize_t): Likewise.
22067 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22068 Likewise.
22069 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22070 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22071 [XPG3 || XPG4] (struct itimerspec): Likewise.
22072 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22073 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22074 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22075 [XPG3 || XPG4] (clockid_t): Likewise.
22076 [XPG3 || XPG4] (timer_t): Likewise.
22077 [XPG3 || XPG4] (clock_getres): Likewise.
22078 [XPG3 || XPG4] (clock_gettime): Likewise.
22079 [XPG3 || XPG4] (clock_settime): Likewise.
22080 [XPG3 || XPG4] (nanosleep): Likewise.
22081 [XPG3 || XPG4] (timer_create): Likewise.
22082 [XPG3 || XPG4] (timer_delete): Likewise.
22083 [XPG3 || XPG4] (timer_gettime): Likewise.
22084 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22085 [XPG3 || XPG4] (timer_settime): Likewise.
22086 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22087 [XPG3 || XPG4] (getlogin_r): Likewise.
22088 [XPG3 || XPG4] (pread): Likewise.
22089 [XPG3 || XPG4] (pthread_atfork): Likewise.
22090 [XPG3 || XPG4] (pwrite): Likewise.
22091
ee663277
JM
22092 [BZ #14835]
22093 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22094 <bits/siginfo.h>.
22095
942caa16
PT
220962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22097
e19af380
PT
22098 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22099 finalizing MALLSTREAM.
22100
942caa16
PT
22101 * sysdeps/mach/hurd/syncfs.c: New file.
22102
cfde9b46
SP
221032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22104
22105 [BZ #14719]
22106 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22107 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22108 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22109 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22110 (_nss_dns_gethostbyname4_r): Likewise.
22111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22112 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22113
f6da27e5
PH
221142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22115
22116 [BZ #13763]
22117 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22118
6665d4a2
SM
221192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22120
1f51ee92
SM
22121 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22122 * elf/cache.c (print_entry): Print ",AArch64" for
22123 FLAG_AARCH64_LIB64
22124
6665d4a2
SM
22125 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22126 * elf/cache.c (print_entry): Print ",hard-float" for
22127 FLAG_ARM_LIBHF.
22128
05b227bd
DM
221292012-11-18 David S. Miller <davem@davemloft.net>
22130
22131 With help from Joseph Myers.
22132 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22133 cutoff to 2**-13.
22134 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22135 cutoff to 2**-25.
22136 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22137 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22138 small.
22139 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22140 * math/libm-test.inc (y0_test): New tests.
22141 (y1_test): New tests.
22142 * sysdeps/i386/fpu/libm-test-ulps: Update.
22143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22145
786b0b67
AS
221462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22147
22148 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22149 64-bit targets.
22150 * configure: Regenerated.
22151
8e18b86d
DM
221522012-11-17 David S. Miller <davem@davemloft.net>
22153
22154 [BZ #14811]
22155 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22156 nonzero exponents with absolute value below 0x1p-128 to +/-
22157 0x1p-128.
22158
531f1ae0
JM
221592012-11-17 Joseph Myers <joseph@codesourcery.com>
22160
12df29e2
JM
22161 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22162
150dc1a0
JM
22163 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22164
531f1ae0
JM
22165 * posix/getconf-speclist.c: New file.
22166 * posix/posix-envs.def: Likewise.
22167 * posix/confstr.c (START_ENV_GROUP): New macro.
22168 (END_ENV_GROUP): Likewise.
22169 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22170 (KNOWN_PRESENT_ENV_STRING): Likewise.
22171 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22172 (UNKNOWN_ENVIRONMENT): Likewise.
22173 (confstr): Include posix-envs.def instead of handling
22174 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22175 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22176 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22177 (END_ENV_GROUP): Likewise.
22178 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22179 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22180 (UNKNOWN_ENVIRONMENT): Likewise.
22181 (__sysconf): Include posix-envs.def instead of handling associated
22182 cases directly here.
22183 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22184 preprocessing getconf-speclist.c rather than running getconf or
22185 generating empty file.
22186
a93f9cbc
PT
221872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22188
22189 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22190
d64d9f87
AL
221912012-11-16 Andrej Lajovic <natrij@gmail.com>
22192
22193 [BZ #14672]
22194 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22195
447885eb
DM
221962012-11-16 David S. Miller <davem@davemloft.net>
22197
22198 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22199 smaller than LDBL_EPSILON/2.0L, just return xm1.
22200
bcbf9830
L
222012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22202
22203 * elf/tst-array1.c (init): Set constructor priority to 1000.
22204 (fini): Set destructor priority to 1000.
22205 * elf/tst-array2dep.c: Likewise.
22206
2b766585
SP
222072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22208
22209 [BZ #11741]
22210 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22211 (_IO_new_file_xsputn): Also return EOF if none of the input
22212 data was written when overflow failed.
22213 * libio/iopadn.c (_IO_padn): Likewise.
22214 * libio/iowpadn.c (_IO_wpadn): Likewise.
22215 * stdio-common/tst-put-error.c: Add copyright notice.
22216 (do_test): Add case for printing padded string.
22217 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22218 _IO_padn returned error.
22219 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22220 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22221 return EOF.
22222
b1848fde
SP
222232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22224
22225 * libio/libioP.h: Add comment note that the references to C++
22226 bits are now obsolete.
22227
2fd89785
MS
222282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22229
22230 * math/libm-test.inc (check_complex): Use asprintf.
22231
e3ea5409
JM
222322012-11-14 Joseph Myers <joseph@codesourcery.com>
22233
22234 * debug/pcprofiledump.c (print_version): Update copyright year.
22235 * malloc/memusagestat.c (print_version): Likewise.
22236
2e64d265
L
222372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22238
22239 [BZ #14831]
22240 * elf/Makefile (tests): Add tst-audit8.
22241 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22242 ($(objpfx)tst-audit8.out): New target.
22243 (tst-audit8-ENV): New variable.
22244 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22245 audit if l_reloc_result is NULL.
22246 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22247 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22248 * elf/tst-audit8.c: New file.
22249
c485e4d2
MS
222502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22251
22252 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22253 * misc/Makefile (CFLAGS-select.c): Define.
22254 * posix/Makefile (CFLAGS-pause.c): Define.
22255
3a0d900a
DM
222562012-11-13 David S. Miller <davem@davemloft.net>
22257
22258 * crypt/Makefile: Move test targets after toplevel Rules
22259 inclusion. Grab any necessary sysdep routines when linking.
22260 * crypt/md5.c (md5_process_block): Remove define, we will always
22261 name it __md5_process_block.
22262 (md5_finish_ctx): Update md5_process_block call.
22263 (md5_stream): Likewise.
22264 (md5_process_bytes): Likewise.
22265 (md5_process_block): Rename to __md5_process_block and move to ...
22266 * crypt/md5-block.c: ... here.
22267 * crypt/sha256.c (sha256_process_block): Move to ...
22268 * crypt/sha256-block.c: ... here.
22269 * crypt/sha512.c (sha512_process_block): Move to ...
22270 * crypt/sha512-block.c: ... here.
22271 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22272 path.
22273 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22274 * sysdeps/sparc/sparc64/multiarch/Makefile
22275 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22276 crypt subdir.
22277 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22278 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22279 multiarch changes.
22280 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22281 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22282 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22283 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22284 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22285 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22286 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22287 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22289 file.
22290 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22291 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22292 file.
22293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22294
8ca89318
JM
222952012-11-13 Joseph Myers <joseph@codesourcery.com>
22296
e27d476a
JM
22297 * timezone/tzselect.ksh: Update from tzcode git revision
22298 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22299 * timezone/zdump.c: Likewise.
22300 * timezone/zic.c: Likewise.
22301 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22302 in TZVERSION setting, not $(PKGVERSION).
22303 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22304 REPORT_BUGS_TO settings.
22305
8ca89318
JM
22306 [BZ #14838]
22307 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22308 macro.
22309
47594329
MS
223102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22311
22312 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22313 detection to immediately after _FP_ROUND().
22314 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22315 bits are 0.
22316
640ac3f1
DM
223172012-11-11 David S. Miller <davem@davemloft.net>
22318
22319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22320 inttypes.h
22321 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22322 __close rather than their public counterparts.
22323
3d2577bb
JM
223242012-11-10 Joseph Myers <joseph@codesourcery.com>
22325
22326 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22327 file.
22328 [UNIX98] (sem_timedwait): Do not expect.
22329 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22330 [XPG4 || UNIX98] (sockatmark): Do not expect.
22331 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22332 (clock_getcpuclockid): Do not expect.
22333 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22334 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22335 Do not expect.
22336 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22337 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22338 [UNIX98] (vwscanf): Likewise.
22339 [UNIX98] (vswscanf): Likewise.
22340
fb1ae1ee
JM
223412012-11-09 Joseph Myers <joseph@codesourcery.com>
22342
9ec6f8bd
JM
22343 * timezone/version.h: Remove file.
22344 * timezone/README: Do not refer to version.h.
22345 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22346 $(objpfx)version.h.
22347 ($(objpfx)zdump.o): Likewise.
c3f81911 22348 ($(objpfx)version.h): New target.
9ec6f8bd 22349
0aa8f8a1
JM
22350 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22351 2012i.
22352 * timezone/README: Don't mention modification to tzselect.ksh.
22353 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22354 work on unmodified tzselect.ksh. Substitute version numbers in
22355 tzselect.ksh.
22356
4e87147f
JM
22357 * Makefile (format-me): Remove.
22358 (INSTALL): Adjust indentation. Use commands directly instead of
22359 using $(format-me).
22360
8b748aed
JM
22361 * aclocal.m4 (ACX_PKGVERSION): New macro.
22362 (ACX_BUGURL): Likewise.
22363 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22364 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22365 (REPORT_BUGS_TO): Likewise.
22366 * configure: Regenerated.
22367 * config.h.in (PKGVERSION): New macro.
22368 (REPORT_BUGS_TO): Likewise.
22369 * config.make.in (PKGVERSION): New variable.
22370 (PKGVERSION_TEXI): Likewise.
22371 (REPORT_BUGS_TO): Likewise.
22372 (REPORT_BUGS_TEXI): Likewise.
22373 * Makefile (format-me): Use -I$(common-objpfx)manual.
22374 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22375 ($(common-objpfx)manual/%): New target.
22376 (manual/%): Remove target.
22377 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22378 (print_version): Use PKGVERSION.
22379 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22380 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22381 and REPORT_BUGS_TO.
22382 ($(objpfx)xtrace): Likewise.
22383 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22384 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22385 (print_version): Use PKGVERSION.
22386 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22387 (do_version): Use PKGVERSION.
22388 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22389 REPORT_BUGS_TO.
22390 (common-ldd-rewrite): Likewise.
22391 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22392 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22393 (print_version): Use PKGVERSION.
22394 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22395 * elf/pldd.c (argp_program_bug_address): Remove variable.
22396 (more_help): New function.
22397 (argp): Use more_help.
22398 (print_version): Use PKGVERSION.
22399 * elf/sln.c (main): Use PKGVERSION.
22400 (usage): Use REPORT_BUGS_TO.
22401 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22402 (top level): Use PKGVERSION.
22403 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22404 (print_version): Use PKGVERSION.
22405 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22406 (print_version): Use PKGVERSION.
22407 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22408 (print_version): Use PKGVERSION.
22409 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22410 (print_version): Use PKGVERSION.
22411 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22412 (print_version): Use PKGVERSION.
22413 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22414 (print_version): Use PKGVERSION.
22415 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22416 and BUGURL.
22417 ($(objpfx)memusage): Likewise.
22418 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22419 (do_version): Use PKGVERSION.
22420 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22421 (print_version): Use PKGVERSION.
22422 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22423 ($PKGVERSION): New variable.
22424 ($REPORT_BUGS_TO): Likewise.
22425 (usage): Use $REPORT_BUGS_TO.
22426 (top level): Use $PKGVERSION.
22427 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22428 ($(objpfx)pkgvers.texi): New rule.
22429 ($(objpfx)stamp-pkgvers): Likewise.
22430 * manual/install.texi: Include pkgvers.texi.
22431 (--with-pkgversion): Document new configure option.
22432 (--with-bugurl): Likewise.
22433 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22434 than necessarily for this particular distribution. Use
22435 REPORT_BUGS_TO for where to report bugs.
22436 * INSTALL: Regenerated.
22437 * manual/libc.texinfo: Include pkgvers.texi.
22438 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22439 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22440 (print_version): Use PKGVERSION.
22441 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22442 (print_version): Use PKGVERSION.
22443 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22444 (print_version): Use PKGVERSION.
22445 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22446 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22447 macro.
22448 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22449 (print_version): Use PKGVERSION.
22450 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22451 (print_version): Use PKGVERSION.
22452 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22453 and PKGVERSION.
22454
92e4b6a9
JM
22455 * timezone/checktab.awk: Update from tzcode 2012i.
22456 * timezone/ialloc.c: Likewise.
22457 * timezone/private.h: Likewise.
22458 * timezone/scheck.c: Likewise.
22459 * timezone/tzfile.h: Likewise.
22460 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22461 (TZVERSION): Hardcode tzcode version number.
22462 * timezone/zdump.c: Update from tzcode 2012i.
22463 * timezone/zic.c: Likewise.
22464 * timezone/version.h: New file.
22465 * timezone/README: Describe version.h. Update upstream location.
22466
9bde902c
JM
22467 [BZ #14824]
22468 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22469 (mktemp): Enable declaration.
22470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22474 Likewise.
22475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22476 Likewise.
22477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22478 Likewise.
22479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22480 Likewise.
22481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22482 Likewise.
22483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22484 Likewise.
22485
fb1ae1ee
JM
22486 [BZ #14821]
22487 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22488 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22489 for copies of such integer values.
22490 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22491 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22492
2c1adbcb
AJ
224932012-11-09 Andreas Jaeger <aj@suse.de>
22494
22495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22496 definitions and declarations that are provided by
22497 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22498
d0f8457e
AK
224992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22500
3a235abb 22501 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22502 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22503 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22504 definition.
22505
57241e26
MS
225062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22507
22508 * elf/elf.h: Update comment before AArch64 relocations.
22509
60e8270d
DM
225102012-11-07 David S. Miller <davem@davemloft.net>
22511
22512 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22513 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22514 (__start_context): Declare.
22515 (__makecontext_ret): Delete.
22516 (__makecontext): Hook up __start_context instead of
22517 __makecontext_ret.
22518 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22519 (sysdep_routines): Add __start_context when in stdlib.
22520
0fbb0fbc
JM
225212012-11-07 Joseph Myers <joseph@codesourcery.com>
22522
22523 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22524 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22525 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22526 hardcoded "nm".
22527 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22528 (READELF): New variable. Use it instead of hardcoded "readelf".
22529
eb48db7e
L
225302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22531
22532 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22533 * sysdeps/x86/Makefile: Here.
22534 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22535 * sysdeps/x86/tst-xmmymm.sh: This.
22536
05bcf62a
JM
225372012-11-07 Joseph Myers <joseph@codesourcery.com>
22538
c4b6cf53
JM
22539 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22540 expectations.
22541 [UNIX98] (pthread_barrier_t): Do not expect.
22542 [UNIX98] (pthread_barrierattr_t): Likewise.
22543 [UNIX98] (pthread_spinlock_t): Likewise.
22544 [UNIX98] (pthread_barrier_destroy): Likewise.
22545 [UNIX98] (pthread_barrier_init): Likewise.
22546 [UNIX98] (pthread_barrier_wait): Likewise.
22547 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22548 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22549 [UNIX98] (pthread_barrierattr_init): Likewise.
22550 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22551 [UNIX98] (pthread_getcpuclockid): Likewise.
22552 [UNIX98] (pthread_mutex_timedlock): Likewise.
22553 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22554 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22555 [UNIX98] (pthread_sigmask): Likewise.
22556 [UNIX98] (pthread_spin_destroy): Likewise.
22557 [UNIX98] (pthread_spin_init): Likewise.
22558 [UNIX98] (pthread_spin_lock): Likewise.
22559 [UNIX98] (pthread_spin_trylock): Likewise.
22560 [UNIX98] (pthread_spin_unlock): Likewise.
22561 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22562 Do not expect.
22563 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22565 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22566 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22567 [XPG3 || XPG4] (pthread_key_t): Likewise.
22568 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22569 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22570 [XPG3 || XPG4] (pthread_once_t): Likewise.
22571 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22572 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22574 [XPG3 || XPG4] (pthread_t): Likewise.
22575
cbe6e120
JM
22576 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22577 not expect.
22578 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22579
1b126443
JM
22580 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22581 Change function return type to int.
22582
b961a573
JM
22583 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22584 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22585 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22586 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22587 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22588 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22589 [!POSIX] (posix_madvise): Likewise.
22590 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22591 && !UNIX98].
22592 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22593 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22594 (mode_t): Likewise.
22595 (posix_mem_offset): Likewise.
22596 (posix_typed_mem_get_info): Likewise.
22597 (posix_typed_mem_open): Likewise.
22598
9e188909
JM
22599 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22600 Change condition to [XOPEN2K8].
22601
05bcf62a
JM
22602 * conform/conformtest.pl: Preprocess allow-header data with -x c
22603 instead of from stdin.
22604 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22605 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22606 [C99-based standards] (cerfc): Likewise.
22607 [C99-based standards] (cexp2): Likewise.
22608 [C99-based standards] (cexpm1): Likewise.
22609 [C99-based standards] (clog10): Likewise.
22610 [C99-based standards] (clog1p): Likewise.
22611 [C99-based standards] (clog2): Likewise.
22612 [C99-based standards] (clgamma): Likewise.
22613 [C99-based standards] (ctgamma): Likewise.
22614 [C99-based standards] (cerff): Likewise.
22615 [C99-based standards] (cerfcf): Likewise.
22616 [C99-based standards] (cexp2f): Likewise.
22617 [C99-based standards] (cexpm1f): Likewise.
22618 [C99-based standards] (clog10f): Likewise.
22619 [C99-based standards] (clog1pf): Likewise.
22620 [C99-based standards] (clog2f): Likewise.
22621 [C99-based standards] (clgammaf): Likewise.
22622 [C99-based standards] (ctgammaf): Likewise.
22623 [C99-based standards] (cerfl): Likewise.
22624 [C99-based standards] (cerfcl): Likewise.
22625 [C99-based standards] (cexp2l): Likewise.
22626 [C99-based standards] (cexpm1l): Likewise.
22627 [C99-based standards] (clog10l): Likewise.
22628 [C99-based standards] (clog1pl): Likewise.
22629 [C99-based standards] (clog2l): Likewise.
22630 [C99-based standards] (clgammal): Likewise.
22631 [C99-based standards] (ctgammal): Likewise.
22632 * conform/data/inttypes.h-data [C99-based standards]: Include
22633 stdint.h-data. Remove all expectations for stdint.h contents.
22634 [C99-based standards] (PRI*): Do not allow.
22635 [C99-based standards] (SCN*): Likewise.
22636 [C99-based standards] (*_t): Likewise.
22637 [C99-based-standards] (PRId8): Expect macro.
22638 [C99-based-standards] (PRIi8): Likewise.
22639 [C99-based-standards] (PRIo8): Likewise.
22640 [C99-based-standards] (PRIu8): Likewise.
22641 [C99-based-standards] (PRIx8): Likewise.
22642 [C99-based-standards] (PRIX8): Likewise.
22643 [C99-based-standards] (SCNd8): Likewise.
22644 [C99-based-standards] (SCNi8): Likewise.
22645 [C99-based-standards] (SCNo8): Likewise.
22646 [C99-based-standards] (SCNu8): Likewise.
22647 [C99-based-standards] (SCNx8): Likewise.
22648 [C99-based-standards] (PRIdLEAST8): Likewise.
22649 [C99-based-standards] (PRIiLEAST8): Likewise.
22650 [C99-based-standards] (PRIoLEAST8): Likewise.
22651 [C99-based-standards] (PRIuLEAST8): Likewise.
22652 [C99-based-standards] (PRIxLEAST8): Likewise.
22653 [C99-based-standards] (PRIXLEAST8): Likewise.
22654 [C99-based-standards] (SCNdLEAST8): Likewise.
22655 [C99-based-standards] (SCNiLEAST8): Likewise.
22656 [C99-based-standards] (SCNoLEAST8): Likewise.
22657 [C99-based-standards] (SCNuLEAST8): Likewise.
22658 [C99-based-standards] (SCNxLEAST8): Likewise.
22659 [C99-based-standards] (PRIdFAST8): Likewise.
22660 [C99-based-standards] (PRIiFAST8): Likewise.
22661 [C99-based-standards] (PRIoFAST8): Likewise.
22662 [C99-based-standards] (PRIuFAST8): Likewise.
22663 [C99-based-standards] (PRIxFAST8): Likewise.
22664 [C99-based-standards] (PRIXFAST8): Likewise.
22665 [C99-based-standards] (SCNdFAST8): Likewise.
22666 [C99-based-standards] (SCNiFAST8): Likewise.
22667 [C99-based-standards] (SCNoFAST8): Likewise.
22668 [C99-based-standards] (SCNuFAST8): Likewise.
22669 [C99-based-standards] (SCNxFAST8): Likewise.
22670 [C99-based-standards] (PRId16): Likewise.
22671 [C99-based-standards] (PRIi16): Likewise.
22672 [C99-based-standards] (PRIo16): Likewise.
22673 [C99-based-standards] (PRIu16): Likewise.
22674 [C99-based-standards] (PRIx16): Likewise.
22675 [C99-based-standards] (PRIX16): Likewise.
22676 [C99-based-standards] (SCNd16): Likewise.
22677 [C99-based-standards] (SCNi16): Likewise.
22678 [C99-based-standards] (SCNo16): Likewise.
22679 [C99-based-standards] (SCNu16): Likewise.
22680 [C99-based-standards] (SCNx16): Likewise.
22681 [C99-based-standards] (PRIdLEAST16): Likewise.
22682 [C99-based-standards] (PRIiLEAST16): Likewise.
22683 [C99-based-standards] (PRIoLEAST16): Likewise.
22684 [C99-based-standards] (PRIuLEAST16): Likewise.
22685 [C99-based-standards] (PRIxLEAST16): Likewise.
22686 [C99-based-standards] (PRIXLEAST16): Likewise.
22687 [C99-based-standards] (SCNdLEAST16): Likewise.
22688 [C99-based-standards] (SCNiLEAST16): Likewise.
22689 [C99-based-standards] (SCNoLEAST16): Likewise.
22690 [C99-based-standards] (SCNuLEAST16): Likewise.
22691 [C99-based-standards] (SCNxLEAST16): Likewise.
22692 [C99-based-standards] (PRIdFAST16): Likewise.
22693 [C99-based-standards] (PRIiFAST16): Likewise.
22694 [C99-based-standards] (PRIoFAST16): Likewise.
22695 [C99-based-standards] (PRIuFAST16): Likewise.
22696 [C99-based-standards] (PRIxFAST16): Likewise.
22697 [C99-based-standards] (PRIXFAST16): Likewise.
22698 [C99-based-standards] (SCNdFAST16): Likewise.
22699 [C99-based-standards] (SCNiFAST16): Likewise.
22700 [C99-based-standards] (SCNoFAST16): Likewise.
22701 [C99-based-standards] (SCNuFAST16): Likewise.
22702 [C99-based-standards] (SCNxFAST16): Likewise.
22703 [C99-based-standards] (PRId32): Likewise.
22704 [C99-based-standards] (PRIi32): Likewise.
22705 [C99-based-standards] (PRIo32): Likewise.
22706 [C99-based-standards] (PRIu32): Likewise.
22707 [C99-based-standards] (PRIx32): Likewise.
22708 [C99-based-standards] (PRIX32): Likewise.
22709 [C99-based-standards] (SCNd32): Likewise.
22710 [C99-based-standards] (SCNi32): Likewise.
22711 [C99-based-standards] (SCNo32): Likewise.
22712 [C99-based-standards] (SCNu32): Likewise.
22713 [C99-based-standards] (SCNx32): Likewise.
22714 [C99-based-standards] (PRIdLEAST32): Likewise.
22715 [C99-based-standards] (PRIiLEAST32): Likewise.
22716 [C99-based-standards] (PRIoLEAST32): Likewise.
22717 [C99-based-standards] (PRIuLEAST32): Likewise.
22718 [C99-based-standards] (PRIxLEAST32): Likewise.
22719 [C99-based-standards] (PRIXLEAST32): Likewise.
22720 [C99-based-standards] (SCNdLEAST32): Likewise.
22721 [C99-based-standards] (SCNiLEAST32): Likewise.
22722 [C99-based-standards] (SCNoLEAST32): Likewise.
22723 [C99-based-standards] (SCNuLEAST32): Likewise.
22724 [C99-based-standards] (SCNxLEAST32): Likewise.
22725 [C99-based-standards] (PRIdFAST32): Likewise.
22726 [C99-based-standards] (PRIiFAST32): Likewise.
22727 [C99-based-standards] (PRIoFAST32): Likewise.
22728 [C99-based-standards] (PRIuFAST32): Likewise.
22729 [C99-based-standards] (PRIxFAST32): Likewise.
22730 [C99-based-standards] (PRIXFAST32): Likewise.
22731 [C99-based-standards] (SCNdFAST32): Likewise.
22732 [C99-based-standards] (SCNiFAST32): Likewise.
22733 [C99-based-standards] (SCNoFAST32): Likewise.
22734 [C99-based-standards] (SCNuFAST32): Likewise.
22735 [C99-based-standards] (SCNxFAST32): Likewise.
22736 [C99-based-standards] (PRId64): Likewise.
22737 [C99-based-standards] (PRIi64): Likewise.
22738 [C99-based-standards] (PRIo64): Likewise.
22739 [C99-based-standards] (PRIu64): Likewise.
22740 [C99-based-standards] (PRIx64): Likewise.
22741 [C99-based-standards] (PRIX64): Likewise.
22742 [C99-based-standards] (SCNd64): Likewise.
22743 [C99-based-standards] (SCNi64): Likewise.
22744 [C99-based-standards] (SCNo64): Likewise.
22745 [C99-based-standards] (SCNu64): Likewise.
22746 [C99-based-standards] (SCNx64): Likewise.
22747 [C99-based-standards] (PRIdLEAST64): Likewise.
22748 [C99-based-standards] (PRIiLEAST64): Likewise.
22749 [C99-based-standards] (PRIoLEAST64): Likewise.
22750 [C99-based-standards] (PRIuLEAST64): Likewise.
22751 [C99-based-standards] (PRIxLEAST64): Likewise.
22752 [C99-based-standards] (PRIXLEAST64): Likewise.
22753 [C99-based-standards] (SCNdLEAST64): Likewise.
22754 [C99-based-standards] (SCNiLEAST64): Likewise.
22755 [C99-based-standards] (SCNoLEAST64): Likewise.
22756 [C99-based-standards] (SCNuLEAST64): Likewise.
22757 [C99-based-standards] (SCNxLEAST64): Likewise.
22758 [C99-based-standards] (PRIdFAST64): Likewise.
22759 [C99-based-standards] (PRIiFAST64): Likewise.
22760 [C99-based-standards] (PRIoFAST64): Likewise.
22761 [C99-based-standards] (PRIuFAST64): Likewise.
22762 [C99-based-standards] (PRIxFAST64): Likewise.
22763 [C99-based-standards] (PRIXFAST64): Likewise.
22764 [C99-based-standards] (SCNdFAST64): Likewise.
22765 [C99-based-standards] (SCNiFAST64): Likewise.
22766 [C99-based-standards] (SCNoFAST64): Likewise.
22767 [C99-based-standards] (SCNuFAST64): Likewise.
22768 [C99-based-standards] (SCNxFAST64): Likewise.
22769 [C99-based-standards] (PRIdMAX): Likewise.
22770 [C99-based-standards] (PRIiMAX): Likewise.
22771 [C99-based-standards] (PRIoMAX): Likewise.
22772 [C99-based-standards] (PRIuMAX): Likewise.
22773 [C99-based-standards] (PRIxMAX): Likewise.
22774 [C99-based-standards] (PRIXMAX): Likewise.
22775 [C99-based-standards] (SCNdMAX): Likewise.
22776 [C99-based-standards] (SCNiMAX): Likewise.
22777 [C99-based-standards] (SCNoMAX): Likewise.
22778 [C99-based-standards] (SCNuMAX): Likewise.
22779 [C99-based-standards] (SCNxMAX): Likewise.
22780 [C99-based-standards] (PRIdPTR): Likewise.
22781 [C99-based-standards] (PRIiPTR): Likewise.
22782 [C99-based-standards] (PRIoPTR): Likewise.
22783 [C99-based-standards] (PRIuPTR): Likewise.
22784 [C99-based-standards] (PRIxPTR): Likewise.
22785 [C99-based-standards] (PRIXPTR): Likewise.
22786 [C99-based-standards] (SCNdPTR): Likewise.
22787 [C99-based-standards] (SCNiPTR): Likewise.
22788 [C99-based-standards] (SCNoPTR): Likewise.
22789 [C99-based-standards] (SCNuPTR): Likewise.
22790 [C99-based-standards] (SCNxPTR): Likewise.
22791 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22792 allow.
22793 * conform/data/stdint.h-data: Update comments to clarify
22794 requirements.
22795 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22796 type.
22797 [C99-based standards] (INT8_MAX): Likewise.
22798 [C99-based standards] (INT16_MIN): Likewise.
22799 [C99-based standards] (INT16_MAX): Likewise.
22800 [C99-based standards] (INT32_MIN): Likewise.
22801 [C99-based standards] (INT32_MAX): Likewise.
22802 [C99-based standards] (INT64_MIN): Likewise.
22803 [C99-based standards] (INT64_MAX): Likewise.
22804 [C99-based standards] (UINT8_MAX): Likewise.
22805 [C99-based standards] (UINT16_MAX): Likewise.
22806 [C99-based standards] (UINT32_MAX): Likewise.
22807 [C99-based standards] (UINT64_MAX): Likewise.
22808 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22809 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22810 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22811 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22812 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22813 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22814 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22815 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22816 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22817 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22818 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22819 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22820 [C99-based standards] (INT_FAST8_MIN): Likewise.
22821 [C99-based standards] (INT_FAST8_MAX): Likewise.
22822 [C99-based standards] (INT_FAST16_MIN): Likewise.
22823 [C99-based standards] (INT_FAST16_MAX): Likewise.
22824 [C99-based standards] (INT_FAST32_MIN): Likewise.
22825 [C99-based standards] (INT_FAST32_MAX): Likewise.
22826 [C99-based standards] (INT_FAST64_MIN): Likewise.
22827 [C99-based standards] (INT_FAST64_MAX): Likewise.
22828 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22829 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22830 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22831 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22832 [C99-based standards] (INTPTR_MIN): Likewise.
22833 [C99-based standards] (INTPTR_MAX): Likewise.
22834 [C99-based standards] (UINTPTR_MAX): Likewise.
22835 [C99-based standards] (INTMAX_MIN): Likewise.
22836 [C99-based standards] (INTMAX_MAX): Likewise.
22837 [C99-based standards] (UINTMAX_MAX): Likewise.
22838 [C99-based standards] (PTRDIFF_MIN): Likewise.
22839 [C99-based standards] (PTRDIFF_MAX): Likewise.
22840 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22841 [C99-based standards] (SIZE_MAX): Likewise.
22842 [C99-based standards] (WCHAR_MAX): Likewise.
22843 [C99-based standards] (WINT_MAX): Likewise.
22844 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22845 constraint on value.
22846 [C99-based standards] (WCHAR_MIN): Likewise.
22847 [C99-based standards] (WINT_MIN): Likewise.
22848 [C99-based standards] (*_t): Allow.
22849 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22850 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22851 Include math.h-data and complex.h-data. Remove all expectations
22852 of math.h and complex.h contents.
22853 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22854 at end of line.
22855 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22856 (struct tm): Expect tag.
22857 [C99-based-standards] (wcstof): Expect function.
22858 [C99-based-standards] (wcstold): Likewise.
22859 [C99-based-standards] (wcstoll): Likewise.
22860 [C99-based-standards] (wcstoull): Likewise.
22861 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22862 macro-int-constant. Specify type.
22863 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22864 constraint on value.
22865 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22866 Specify type.
22867 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22868 Specify value.
22869 [ISO C standards]: Do not allow headers.
22870 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22871 wcs[abcdefghijklmnopqrstuvwxyz]*.
22872 [ISO C standards] (*_t): Do not allow.
22873 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22874 Expect function.
22875 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22876 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22877 Specify type.
22878 [ISO C standards]: Do not allow headers.
22879 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22880 is[abcdefghijklmnopqrstuvwxyz]*.
22881 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22882 to[abcdefghijklmnopqrstuvwxyz]*.
22883 [ISO C standards] (*_t): Do not allow.
22884 * conform/data/stdalign.h-data: New file.
22885 * conform/data/stdbool.h-data: Likewise.
22886 * conform/data/stdnoreturn.h-data: Likewise.
22887
7514feb8
RM
228882012-11-07 Roland McGrath <roland@hack.frob.com>
22889
22890 [BZ #14815]
22891 * manual/filesys.texi (Directory Entries): Typo fix.
22892 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22893
19b2ecfc
MS
228942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22895
22896 * elf/elf.h (EM_AARCH64): New macro.
22897 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22898 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22899 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22900 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22901 (R_AARCH64_TLSDESC): Likewise.
22902 (NT_ARM_TLS): Likewise.
22903 (NT_ARM_HW_BREAK): Likewise.
22904 (NT_ARM_HW_WATCH): Likewise.
22905
60e235ee
JM
229062012-11-07 Joseph Myers <joseph@codesourcery.com>
22907
22908 [BZ #14811]
22909 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22910 (__ieee754_powl): Saturate nonzero exponents with absolute value
22911 below 0x1p-79 to +/- 0x1p-79.
22912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22913 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22914 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22915 nonzero exponents with absolute value below 0x1p-32 to +/-
22916 0x1p-32.
22917 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22918 (__ieee754_powl): Saturate nonzero exponents with absolute value
22919 below 0x1p-79 to +/- 0x1p-79.
22920 * math/libm-test.inc (pow_test): Add more tests.
22921
0ab234b7
AK
229222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22923
22924 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22925 _dl_s390_cap_flags with kernel. Increase string length.
22926 (_dl_s390_platforms): Add z196 and zEC12.
22927
45832f74
JM
229282012-11-07 Joseph Myers <joseph@codesourcery.com>
22929
22930 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22931 Change XOPEN21K to XOPEN2K.
22932
19218757
MK
229332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22934
22935 * string/memmove.c: Use memcpy when possible.
22936
c5f45721
AJ
229372012-11-06 Andreas Jaeger <aj@suse.de>
22938
22939 * po/eo.po: Update from translation team.
22940
82477c28
JM
229412012-11-06 Joseph Myers <joseph@codesourcery.com>
22942
22943 [BZ #14793]
22944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22945 exponent and small x and y exponents, scale x or y up. Increase
22946 by 2 the exponent used in scaling up.
22947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22949 * math/libm-test.inc (fma_test): Add more tests.
22950 (fma_test_towardzero): Likewise.
22951 (fma_test_downward): Likewise.
22952 (fma_test_upward): Likewise.
22953
99252c8c
JM
229542012-11-05 Joseph Myers <joseph@codesourcery.com>
22955
acfa885f
JM
22956 [BZ #14805]
22957 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22958 fenv_t *.
22959
99252c8c
JM
22960 [BZ #14801]
22961 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22962 namespace for names of struct fields.
22963 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22964 fenv_t fields.
22965 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22966 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22967
d6d98dea
ST
229682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22969
22970 [BZ #3665]
22971 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22972
e10bb107
TS
229732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22974
22975 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22976 PTR_DEMANGLE.
22977
22978 [BZ #5246]
22979 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22980 PTR_DEMANGLE.
22981
a0c2940d
JM
229822012-11-04 Joseph Myers <joseph@codesourcery.com>
22983
22984 [BZ #14797]
22985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22986 definitely overflow as x * y not x * y + z.
22987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22989 * math/libm-test.inc (fma_test): Add more tests.
22990 (fma_test_towardzero): Likewise.
22991 (fma_test_downward): Likewise.
22992 (fma_test_upward): Likewise.
22993
b830319d
TS
229942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22995
22996 [BZ #157]
22997
22998 * include/stub-tag.h: Remove file.
22999 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23000 '#include' of it.
23001 * manual/maint.texi (Porting): Don't reference it.
23002 * Makerules ($(objpfx)stubs): Likewise.
23003 * dirent/closedir.c: Don't include <stub-tag.h>.
23004 * dirent/dirfd.c: Likewise.
23005 * dirent/fdopendir.c: Likewise.
23006 * dirent/getdents.c: Likewise.
23007 * dirent/getdents64.c: Likewise.
23008 * dirent/opendir.c: Likewise.
23009 * dirent/readdir.c: Likewise.
23010 * dirent/readdir64.c: Likewise.
23011 * dirent/readdir64_r.c: Likewise.
23012 * dirent/readdir_r.c: Likewise.
23013 * dirent/rewinddir.c: Likewise.
23014 * dirent/seekdir.c: Likewise.
23015 * dirent/telldir.c: Likewise.
23016 * gmon/profil.c: Likewise.
23017 * grp/setgroups.c: Likewise.
23018 * inet/if_index.c: Likewise.
23019 * io/access.c: Likewise.
23020 * io/chdir.c: Likewise.
23021 * io/chmod.c: Likewise.
23022 * io/chown.c: Likewise.
23023 * io/close.c: Likewise.
23024 * io/dup.c: Likewise.
23025 * io/dup2.c: Likewise.
23026 * io/dup3.c: Likewise.
23027 * io/euidaccess.c: Likewise.
23028 * io/faccessat.c: Likewise.
23029 * io/fchdir.c: Likewise.
23030 * io/fchmod.c: Likewise.
23031 * io/fchmodat.c: Likewise.
23032 * io/fchown.c: Likewise.
23033 * io/fchownat.c: Likewise.
23034 * io/fcntl.c: Likewise.
23035 * io/flock.c: Likewise.
23036 * io/fstatfs.c: Likewise.
23037 * io/fstatfs64.c: Likewise.
23038 * io/fstatvfs.c: Likewise.
23039 * io/fstatvfs64.c: Likewise.
23040 * io/futimens.c: Likewise.
23041 * io/fxstat.c: Likewise.
23042 * io/fxstat64.c: Likewise.
23043 * io/fxstatat.c: Likewise.
23044 * io/fxstatat64.c: Likewise.
23045 * io/getcwd.c: Likewise.
23046 * io/isatty.c: Likewise.
23047 * io/lchmod.c: Likewise.
23048 * io/lchown.c: Likewise.
23049 * io/link.c: Likewise.
23050 * io/linkat.c: Likewise.
23051 * io/lseek.c: Likewise.
23052 * io/lseek64.c: Likewise.
23053 * io/lxstat64.c: Likewise.
23054 * io/mkdir.c: Likewise.
23055 * io/mkdirat.c: Likewise.
23056 * io/mkfifo.c: Likewise.
23057 * io/mkfifoat.c: Likewise.
23058 * io/open.c: Likewise.
23059 * io/open64.c: Likewise.
23060 * io/openat.c: Likewise.
23061 * io/openat64.c: Likewise.
23062 * io/pipe.c: Likewise.
23063 * io/pipe2.c: Likewise.
23064 * io/poll.c: Likewise.
23065 * io/posix_fadvise.c: Likewise.
23066 * io/posix_fadvise64.c: Likewise.
23067 * io/posix_fallocate.c: Likewise.
23068 * io/posix_fallocate64.c: Likewise.
23069 * io/read.c: Likewise.
23070 * io/readlink.c: Likewise.
23071 * io/readlinkat.c: Likewise.
23072 * io/rmdir.c: Likewise.
23073 * io/sendfile.c: Likewise.
23074 * io/sendfile64.c: Likewise.
23075 * io/statfs.c: Likewise.
23076 * io/statfs64.c: Likewise.
23077 * io/statvfs.c: Likewise.
23078 * io/statvfs64.c: Likewise.
23079 * io/symlink.c: Likewise.
23080 * io/symlinkat.c: Likewise.
23081 * io/ttyname.c: Likewise.
23082 * io/ttyname_r.c: Likewise.
23083 * io/umask.c: Likewise.
23084 * io/unlink.c: Likewise.
23085 * io/unlinkat.c: Likewise.
23086 * io/utime.c: Likewise.
23087 * io/utimensat.c: Likewise.
23088 * io/write.c: Likewise.
23089 * io/xmknod.c: Likewise.
23090 * io/xmknodat.c: Likewise.
23091 * io/xstat.c: Likewise.
23092 * io/xstat64.c: Likewise.
23093 * login/getpt.c: Likewise.
23094 * login/grantpt.c: Likewise.
23095 * login/unlockpt.c: Likewise.
23096 * math/e_acoshl.c: Likewise.
23097 * math/e_acosl.c: Likewise.
23098 * math/e_asinl.c: Likewise.
23099 * math/e_atan2l.c: Likewise.
23100 * math/e_atanhl.c: Likewise.
23101 * math/e_coshl.c: Likewise.
23102 * math/e_expl.c: Likewise.
23103 * math/e_fmodl.c: Likewise.
23104 * math/e_gammal_r.c: Likewise.
23105 * math/e_hypotl.c: Likewise.
23106 * math/e_j0l.c: Likewise.
23107 * math/e_j1l.c: Likewise.
23108 * math/e_jnl.c: Likewise.
23109 * math/e_lgammal_r.c: Likewise.
23110 * math/e_log10l.c: Likewise.
23111 * math/e_log2l.c: Likewise.
23112 * math/e_logl.c: Likewise.
23113 * math/e_powl.c: Likewise.
23114 * math/e_rem_pio2l.c: Likewise.
23115 * math/e_sinhl.c: Likewise.
23116 * math/e_sqrtl.c: Likewise.
23117 * math/fclrexcpt.c: Likewise.
23118 * math/fedisblxcpt.c: Likewise.
23119 * math/feenablxcpt.c: Likewise.
23120 * math/fegetenv.c: Likewise.
23121 * math/fegetexcept.c: Likewise.
23122 * math/fegetround.c: Likewise.
23123 * math/feholdexcpt.c: Likewise.
23124 * math/fesetenv.c: Likewise.
23125 * math/fesetround.c: Likewise.
23126 * math/feupdateenv.c: Likewise.
23127 * math/fgetexcptflg.c: Likewise.
23128 * math/fraiseexcpt.c: Likewise.
23129 * math/fsetexcptflg.c: Likewise.
23130 * math/ftestexcept.c: Likewise.
23131 * math/k_cosl.c: Likewise.
23132 * math/k_rem_pio2l.c: Likewise.
23133 * math/k_sinl.c: Likewise.
23134 * math/k_tanl.c: Likewise.
23135 * math/s_asinhl.c: Likewise.
23136 * math/s_atanl.c: Likewise.
23137 * math/s_cbrtl.c: Likewise.
23138 * math/s_erfl.c: Likewise.
23139 * math/s_expm1l.c: Likewise.
23140 * math/s_log1pl.c: Likewise.
23141 * math/s_tanhl.c: Likewise.
23142 * misc/acct.c: Likewise.
23143 * misc/brk.c: Likewise.
23144 * misc/chflags.c: Likewise.
23145 * misc/chroot.c: Likewise.
23146 * misc/fchflags.c: Likewise.
23147 * misc/fgetxattr.c: Likewise.
23148 * misc/flistxattr.c: Likewise.
23149 * misc/fremovexattr.c: Likewise.
23150 * misc/fsetxattr.c: Likewise.
23151 * misc/fsync.c: Likewise.
23152 * misc/ftruncate.c: Likewise.
23153 * misc/futimes.c: Likewise.
23154 * misc/futimesat.c: Likewise.
23155 * misc/getdomain.c: Likewise.
23156 * misc/getdtsz.c: Likewise.
23157 * misc/gethostid.c: Likewise.
23158 * misc/gethostname.c: Likewise.
23159 * misc/getloadavg.c: Likewise.
23160 * misc/getpagesize.c: Likewise.
23161 * misc/getsysstats.c: Likewise.
23162 * misc/getxattr.c: Likewise.
23163 * misc/gtty.c: Likewise.
23164 * misc/ioctl.c: Likewise.
23165 * misc/lgetxattr.c: Likewise.
23166 * misc/listxattr.c: Likewise.
23167 * misc/llistxattr.c: Likewise.
23168 * misc/lremovexattr.c: Likewise.
23169 * misc/lsetxattr.c: Likewise.
23170 * misc/lutimes.c: Likewise.
23171 * misc/madvise.c: Likewise.
23172 * misc/mincore.c: Likewise.
23173 * misc/mlock.c: Likewise.
23174 * misc/mlockall.c: Likewise.
23175 * misc/mmap.c: Likewise.
23176 * misc/mprotect.c: Likewise.
23177 * misc/msync.c: Likewise.
23178 * misc/munlock.c: Likewise.
23179 * misc/munlockall.c: Likewise.
23180 * misc/munmap.c: Likewise.
23181 * misc/preadv.c: Likewise.
23182 * misc/preadv64.c: Likewise.
23183 * misc/ptrace.c: Likewise.
23184 * misc/pwritev.c: Likewise.
23185 * misc/pwritev64.c: Likewise.
23186 * misc/readv.c: Likewise.
23187 * misc/reboot.c: Likewise.
23188 * misc/remap_file_pages.c: Likewise.
23189 * misc/removexattr.c: Likewise.
23190 * misc/revoke.c: Likewise.
23191 * misc/select.c: Likewise.
23192 * misc/setdomain.c: Likewise.
23193 * misc/setegid.c: Likewise.
23194 * misc/seteuid.c: Likewise.
23195 * misc/sethostid.c: Likewise.
23196 * misc/sethostname.c: Likewise.
23197 * misc/setregid.c: Likewise.
23198 * misc/setreuid.c: Likewise.
23199 * misc/setxattr.c: Likewise.
23200 * misc/sstk.c: Likewise.
23201 * misc/stty.c: Likewise.
23202 * misc/swapoff.c: Likewise.
23203 * misc/swapon.c: Likewise.
23204 * misc/sync.c: Likewise.
23205 * misc/syncfs.c: Likewise.
23206 * misc/syscall.c: Likewise.
23207 * misc/truncate.c: Likewise.
23208 * misc/ualarm.c: Likewise.
23209 * misc/usleep.c: Likewise.
23210 * misc/ustat.c: Likewise.
23211 * misc/utimes.c: Likewise.
23212 * misc/vhangup.c: Likewise.
23213 * misc/writev.c: Likewise.
23214 * posix/_exit.c: Likewise.
23215 * posix/alarm.c: Likewise.
23216 * posix/execve.c: Likewise.
23217 * posix/fexecve.c: Likewise.
23218 * posix/fork.c: Likewise.
23219 * posix/fpathconf.c: Likewise.
23220 * posix/getaddrinfo.c: Likewise.
23221 * posix/getegid.c: Likewise.
23222 * posix/geteuid.c: Likewise.
23223 * posix/getgid.c: Likewise.
23224 * posix/getgroups.c: Likewise.
23225 * posix/getlogin.c: Likewise.
23226 * posix/getlogin_r.c: Likewise.
23227 * posix/getpgid.c: Likewise.
23228 * posix/getpid.c: Likewise.
23229 * posix/getppid.c: Likewise.
23230 * posix/getresgid.c: Likewise.
23231 * posix/getresuid.c: Likewise.
23232 * posix/getsid.c: Likewise.
23233 * posix/getuid.c: Likewise.
23234 * posix/glob64.c: Likewise.
23235 * posix/nanosleep.c: Likewise.
23236 * posix/pathconf.c: Likewise.
23237 * posix/pause.c: Likewise.
23238 * posix/posix_madvise.c: Likewise.
23239 * posix/pread.c: Likewise.
23240 * posix/pread64.c: Likewise.
23241 * posix/pwrite.c: Likewise.
23242 * posix/pwrite64.c: Likewise.
23243 * posix/sched_getaffinity.c: Likewise.
23244 * posix/sched_getp.c: Likewise.
23245 * posix/sched_gets.c: Likewise.
23246 * posix/sched_primax.c: Likewise.
23247 * posix/sched_primin.c: Likewise.
23248 * posix/sched_rr_gi.c: Likewise.
23249 * posix/sched_setaffinity.c: Likewise.
23250 * posix/sched_setp.c: Likewise.
23251 * posix/sched_sets.c: Likewise.
23252 * posix/sched_yield.c: Likewise.
23253 * posix/setgid.c: Likewise.
23254 * posix/setlogin.c: Likewise.
23255 * posix/setpgid.c: Likewise.
23256 * posix/setresgid.c: Likewise.
23257 * posix/setresuid.c: Likewise.
23258 * posix/setsid.c: Likewise.
23259 * posix/setuid.c: Likewise.
23260 * posix/sleep.c: Likewise.
23261 * posix/spawni.c: Likewise.
23262 * posix/sysconf.c: Likewise.
23263 * posix/times.c: Likewise.
23264 * posix/wait.c: Likewise.
23265 * posix/wait3.c: Likewise.
23266 * posix/wait4.c: Likewise.
23267 * posix/waitpid.c: Likewise.
23268 * resolv/gai_sigqueue.c: Likewise.
23269 * resource/getpriority.c: Likewise.
23270 * resource/getrlimit.c: Likewise.
23271 * resource/getrusage.c: Likewise.
23272 * resource/nice.c: Likewise.
23273 * resource/setpriority.c: Likewise.
23274 * resource/setrlimit.c: Likewise.
23275 * resource/ulimit.c: Likewise.
23276 * rt/aio_cancel.c: Likewise.
23277 * rt/aio_fsync.c: Likewise.
23278 * rt/aio_read.c: Likewise.
23279 * rt/aio_sigqueue.c: Likewise.
23280 * rt/aio_suspend.c: Likewise.
23281 * rt/aio_write.c: Likewise.
23282 * rt/clock_getres.c: Likewise.
23283 * rt/clock_gettime.c: Likewise.
23284 * rt/clock_nanosleep.c: Likewise.
23285 * rt/clock_settime.c: Likewise.
23286 * rt/lio_listio.c: Likewise.
23287 * rt/mq_close.c: Likewise.
23288 * rt/mq_getattr.c: Likewise.
23289 * rt/mq_notify.c: Likewise.
23290 * rt/mq_open.c: Likewise.
23291 * rt/mq_receive.c: Likewise.
23292 * rt/mq_send.c: Likewise.
23293 * rt/mq_setattr.c: Likewise.
23294 * rt/mq_timedreceive.c: Likewise.
23295 * rt/mq_timedsend.c: Likewise.
23296 * rt/mq_unlink.c: Likewise.
23297 * rt/shm_open.c: Likewise.
23298 * rt/shm_unlink.c: Likewise.
23299 * rt/timer_create.c: Likewise.
23300 * rt/timer_delete.c: Likewise.
23301 * rt/timer_getoverr.c: Likewise.
23302 * rt/timer_gettime.c: Likewise.
23303 * rt/timer_settime.c: Likewise.
23304 * setjmp/__longjmp.c: Likewise.
23305 * setjmp/setjmp.c: Likewise.
23306 * signal/kill.c: Likewise.
23307 * signal/killpg.c: Likewise.
23308 * signal/raise.c: Likewise.
23309 * signal/sigaction.c: Likewise.
23310 * signal/sigaltstack.c: Likewise.
23311 * signal/sigblock.c: Likewise.
23312 * signal/sigignore.c: Likewise.
23313 * signal/sigintr.c: Likewise.
23314 * signal/signal.c: Likewise.
23315 * signal/sigpause.c: Likewise.
23316 * signal/sigpending.c: Likewise.
23317 * signal/sigqueue.c: Likewise.
23318 * signal/sigreturn.c: Likewise.
23319 * signal/sigset.c: Likewise.
23320 * signal/sigsetmask.c: Likewise.
23321 * signal/sigstack.c: Likewise.
23322 * signal/sigsuspend.c: Likewise.
23323 * signal/sigtimedwait.c: Likewise.
23324 * signal/sigvec.c: Likewise.
23325 * signal/sigwait.c: Likewise.
23326 * signal/sigwaitinfo.c: Likewise.
23327 * signal/sysv_signal.c: Likewise.
23328 * socket/accept.c: Likewise.
23329 * socket/accept4.c: Likewise.
23330 * socket/bind.c: Likewise.
23331 * socket/connect.c: Likewise.
23332 * socket/getpeername.c: Likewise.
23333 * socket/getsockname.c: Likewise.
23334 * socket/getsockopt.c: Likewise.
23335 * socket/isfdtype.c: Likewise.
23336 * socket/listen.c: Likewise.
23337 * socket/recv.c: Likewise.
23338 * socket/recvfrom.c: Likewise.
23339 * socket/recvmsg.c: Likewise.
23340 * socket/send.c: Likewise.
23341 * socket/sendmsg.c: Likewise.
23342 * socket/sendto.c: Likewise.
23343 * socket/setsockopt.c: Likewise.
23344 * socket/shutdown.c: Likewise.
23345 * socket/sockatmark.c: Likewise.
23346 * socket/socket.c: Likewise.
23347 * socket/socketpair.c: Likewise.
23348 * stdio-common/ctermid.c: Likewise.
23349 * stdio-common/cuserid.c: Likewise.
23350 * stdio-common/remove.c: Likewise.
23351 * stdio-common/rename.c: Likewise.
23352 * stdio-common/renameat.c: Likewise.
23353 * stdio-common/tempname.c: Likewise.
23354 * stdlib/getcontext.c: Likewise.
23355 * stdlib/makecontext.c: Likewise.
23356 * stdlib/setcontext.c: Likewise.
23357 * stdlib/swapcontext.c: Likewise.
23358 * stdlib/system.c: Likewise.
23359 * streams/fattach.c: Likewise.
23360 * streams/fdetach.c: Likewise.
23361 * streams/getmsg.c: Likewise.
23362 * streams/getpmsg.c: Likewise.
23363 * streams/putmsg.c: Likewise.
23364 * streams/putpmsg.c: Likewise.
23365 * sysdeps/unix/bsd/getpt.c: Likewise.
23366 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23367 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23368 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23370 Likewise.
23371 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23372 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23373 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23374 * sysvipc/msgctl.c: Likewise.
23375 * sysvipc/msgget.c: Likewise.
23376 * sysvipc/msgrcv.c: Likewise.
23377 * sysvipc/msgsnd.c: Likewise.
23378 * sysvipc/semctl.c: Likewise.
23379 * sysvipc/semget.c: Likewise.
23380 * sysvipc/semop.c: Likewise.
23381 * sysvipc/semtimedop.c: Likewise.
23382 * sysvipc/shmat.c: Likewise.
23383 * sysvipc/shmctl.c: Likewise.
23384 * sysvipc/shmdt.c: Likewise.
23385 * sysvipc/shmget.c: Likewise.
23386 * termios/tcdrain.c: Likewise.
23387 * termios/tcflow.c: Likewise.
23388 * termios/tcflush.c: Likewise.
23389 * termios/tcgetattr.c: Likewise.
23390 * termios/tcgetpgrp.c: Likewise.
23391 * termios/tcsendbrk.c: Likewise.
23392 * termios/tcsetattr.c: Likewise.
23393 * termios/tcsetpgrp.c: Likewise.
23394 * time/adjtime.c: Likewise.
23395 * time/clock.c: Likewise.
23396 * time/getitimer.c: Likewise.
23397 * time/gettimeofday.c: Likewise.
23398 * time/setitimer.c: Likewise.
23399 * time/settimeofday.c: Likewise.
23400 * time/stime.c: Likewise.
23401 * time/time.c: Likewise.
23402
234032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23404
a20492cf
PT
23405 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23406 /usr/old/bin.
23407
72e182e3
PT
23408 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23409 instead of spaces.
23410 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23411
fbeafede
JM
234122012-11-03 Joseph Myers <joseph@codesourcery.com>
23413
5b5b04d6
JM
23414 [BZ #14796]
23415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23416 FE_TONEAREST before applying Dekker multiplication and Knuth
23417 addition. Clear inexact exceptions and check for exact zero
23418 results afterwards.
23419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23420 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23422 * math/libm-test.inc (fma_test): Add more tests.
23423 (fma_test_towardzero): Likewise.
23424 (fma_test_downward): Likewise.
23425 (fma_test_upward): Likewise.
23426 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23427 function.
23428 (libc_fesetround): New macro.
23429 (libc_fesetroundf): Likewise.
23430 (libc_fesetroundl): Likewise.
23431 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23432 function.
23433 (libc_fesetround_387): Likewise.
23434 (libc_fesetroundf): New macro.
23435 (libc_fesetround): Likewise.
23436 (libc_fesetroundl): Likewise.
23437 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23438 function.
23439 (libc_fesetroundf): New macro.
23440 (libc_fesetround): Likewise.
23441 (libc_fesetroundl): Likewise.
23442 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23443 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23444 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23445 libm_hidden_ver.
23446 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23447 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23448 libm_hidden_def.
23449 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23450 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23451 libm_hidden_ver.
23452 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23453 libm_hidden_def.
23454
fbeafede
JM
23455 [BZ #3439]
23456 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23457 integer constant usable in #if and use that to give value to enum
23458 constant.
23459 (FE_DIVBYZERO): Likewise.
23460 (FE_UNDERFLOW): Likewise.
23461 (FE_OVERFLOW): Likewise.
23462 (FE_INVALID): Likewise.
23463 (FE_INVALID_SNAN): Likewise.
23464 (FE_INVALID_ISI): Likewise.
23465 (FE_INVALID_IDI): Likewise.
23466 (FE_INVALID_ZDZ): Likewise.
23467 (FE_INVALID_IMZ): Likewise.
23468 (FE_INVALID_COMPARE): Likewise.
23469 (FE_INVALID_SOFTWARE): Likewise.
23470 (FE_INVALID_SQRT): Likewise.
23471 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23472 (FE_TONEAREST): Likewise.
23473 (FE_TOWARDZERO): Likewise.
23474 (FE_UPWARD): Likewise.
23475 (FE_DOWNWARD): Likewise.
23476 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23477 (FE_DIVBYZERO): Likewise.
23478 (FE_OVERFLOW): Likewise.
23479 (FE_UNDERFLOW): Likewise.
23480 (FE_INEXACT): Likewise.
23481 (FE_TONEAREST): Likewise.
23482 (FE_DOWNWARD): Likewise.
23483 (FE_UPWARD): Likewise.
23484 (FE_TOWARDZERO): Likewise.
23485 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23486 (FE_UNDERFLOW): Likewise.
23487 (FE_OVERFLOW): Likewise.
23488 (FE_DIVBYZERO): Likewise.
23489 (FE_INVALID): Likewise.
23490 (FE_TONEAREST): Likewise.
23491 (FE_TOWARDZERO): Likewise.
23492 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23493 (FE_OVERFLOW): Likewise.
23494 (FE_UNDERFLOW): Likewise.
23495 (FE_DIVBYZERO): Likewise.
23496 (FE_INEXACT): Likewise.
23497 (FE_TONEAREST): Likewise.
23498 (FE_TOWARDZERO): Likewise.
23499 (FE_UPWARD): Likewise.
23500 (FE_DOWNWARD): Likewise.
23501 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23502 (FE_DIVBYZERO): Likewise.
23503 (FE_OVERFLOW): Likewise.
23504 (FE_UNDERFLOW): Likewise.
23505 (FE_INEXACT): Likewise.
23506 (FE_TONEAREST): Likewise.
23507 (FE_DOWNWARD): Likewise.
23508 (FE_UPWARD): Likewise.
23509 (FE_TOWARDZERO): Likewise.
23510
105ca950
CM
235112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23512
23513 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23514
a542b389
AS
235152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23516
23517 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23518 commands. Quote $PWD.
23519 (blacklist_exports): Don't use remove_newlines. Replace "declare
23520 -x" by "export".
23521 (remove_newlines): Remove.
23522
f62c8abc
L
235232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23524
23525 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23526 * stdlib/stdlib.h (atof): Moved to ...
23527 * include/bits/stdlib-float.h: Here. New file.
23528 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23529 * stdlib/bits/stdlib-float.h: New file.
23530 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23531 -mno-sse -mno-mmx.
23532 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23533 <xmmintrin.h>.
23534
0155d5b2
JM
235352012-11-02 Joseph Myers <joseph@codesourcery.com>
23536
a68d0680
JM
23537 * conform/conformtest.pl (@headers): Add fenv.h.
23538 * conform/data/fenv.h-data: New file.
23539 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23540 include of <math/fenv.h>.
23541
caf7f573
JM
23542 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23543 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23544 && !UNIX98]. Enables tests for XOPEN2K8.
23545 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23546 POSIX2008]: Likewise.
23547
6c073ad6
JM
23548 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23549 (struct rusage): Do not expect type or its members.
23550
0155d5b2
JM
23551 [BZ #3439]
23552 * math/math.h (FP_NAN): Define macro to integer constant usable in
23553 #if and use that to give value to enum constant.
23554 (FP_INFINITE): Likewise.
23555 (FP_ZERO): Likewise.
23556 (FP_SUBNORMAL): Likewise.
23557 (FP_NORMAL): Likewise.
23558
b5dcacb4
AS
235592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23560
23561 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23562 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23563 arguments.
23564
f7934be8
RM
235652012-11-02 Roland McGrath <roland@hack.frob.com>
23566
23567 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23568 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23569 autoconf-time if not.
23570 * configure.in: Remove AC_PREREQ.
23571
d7d08bde
TMQMF
235722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23573
23574 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23575 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23576 of the internal implementation.
23577
dcdae19a
JM
235782012-11-02 Joseph Myers <joseph@codesourcery.com>
23579
23580 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23581 except include of <misc/sys/syslog.h>.
23582
d6cffd3e
AS
235832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23584
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23586 function returns with a NULL context exit with zero.
23587
b3563932
TMQMF
235882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23589
23590 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23591
b288a93d
L
235922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23593
23594 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23595 (run_program_cmd): This.
23596 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23597 (tst_langinfo): New variable. Use it.
23598
a2421a68
SAS
235992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23600
23601 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23602 floating point opcodes.
23603
6f796e1b
TS
236042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23605
7402596b
TS
23606 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23607 variable.
23608
d0d4f868
TS
23609 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23610
6f796e1b
TS
23611 * sysdeps/mach/hurd/powerpc: Remove directory.
23612 * sysdeps/mach/powerpc: Likewise.
23613
4da224a2
AS
236142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23615
23616 * scripts/check-local-headers.sh: Ignore c++ headers.
23617
341dd673
TS
236182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23619
23620 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23621 __libc_cleanup_region_start argument.
23622
473611b2
JM
236232012-11-01 Joseph Myers <joseph@codesourcery.com>
23624
23625 [BZ #14784]
23626 [BZ #14785]
23627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23628 x * y using scaling, not as x * y + z.
23629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23631 * math/libm-test.inc (fma_test): Add more tests.
23632 (fma_test_towardzero): Likewise.
23633 (fma_test_downward): Likewise.
23634 (fma_test_upward): Likewise.
23635
4078da3d
TS
236362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23637
23638 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23639
903252aa
JM
236402012-10-31 Joseph Myers <joseph@codesourcery.com>
23641
23642 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23643 New variable.
23644
cbc818d0
TS
236452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23646
23647 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23648
5a03cb1e
AS
236492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23650
23651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23652 Fix sort order.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23654 Likewise.
23655
90aff2ff
TMQMF
236562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23657
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23659 Fix the order of the list for glibc 2.17.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23661 Likewise.
23662
1818fcb7
AS
236632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23664
23665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23666
ef82f4da
JM
236672012-10-31 Joseph Myers <joseph@codesourcery.com>
23668
16a0e2ec
JM
23669 [BZ #14610]
23670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23671 for low part of x being zero before using __atanl (y).
23672 * math/libm-test.inc (atan2_test): Add another test.
23673
0eb69512
JM
23674 * manual/install.texi (Configuring and compiling): Document
23675 general use of test-wrapper and test-wrapper-env.
23676 * INSTALL: Regenerated.
23677
ef82f4da
JM
23678 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23679 (__fma): Do not extract and scale down low bits on after-rounding
23680 systems when result rounded to normal precision would have normal
23681 exponent.
23682 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23683 (__fmal): Do not extract and scale down low bits on after-rounding
23684 systems when result rounded to normal precision would have normal
23685 exponent.
23686 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23687 (__fmal): Do not extract and scale down low bits on after-rounding
23688 systems when result rounded to normal precision would have normal
23689 exponent.
23690 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23691 macro.
23692 (fma_test): Add more tests.
23693 (fma_test_towardzero): Likewise.
23694 (fma_test_downward): Likewise.
23695 (fma_test_upward): Likewise.
23696
954ef0d9
L
236972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23698
23699 * sysdeps/i386/tininess.h: Renamed to ...
23700 * sysdeps/x86/tininess.h: This.
23701 * sysdeps/x86_64/tininess.h: Removed.
23702
df61ffb2
JM
237032012-10-30 Joseph Myers <joseph@codesourcery.com>
23704
23705 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23706 input. Use $(build-program-cmd).
23707 ($(objpfx)tst-array1-static.out): Likewise.
23708 ($(objpfx)tst-array2.out): Likewise.
23709 ($(objpfx)tst-array3.out): Likewise.
23710 ($(objpfx)tst-array4.out): Likewise.
23711 ($(objpfx)tst-array5.out): Likewise.
23712 ($(objpfx)tst-array5-static.out): Likewise.
23713
01767843
CM
237142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23715
47cc1490
CM
23716 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23717 if defined.
23718
01767843
CM
23719 * nss/nsswitch.h (nss_interface_function): Provide new
23720 macro for use with NSS functions.
23721 * grp/initgroups.c: Use new macro.
23722 * nss/getXXbyYY.c: Likewise.
23723 * nss/getXXbyYY_r.c: Likewise.
23724 * nss/getXXent.c: Likewise.
23725 * nss/getXXent_r.c: Likewise.
23726 * sysdeps/posix/getaddrinfo.c: Likewise.
23727
8321aa97
AJ
237282012-10-30 Andreas Jaeger <aj@suse.de>
23729
23730 * po/ru.po: Update Russion translation from translation project.
23731
2a27fd6d
JM
237322012-10-30 Joseph Myers <joseph@codesourcery.com>
23733
8627a232
JM
23734 [BZ #14152]
23735 [BZ #14783]
23736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23737 result and shift together with sticky bit instead of replicating
23738 round-to-nearest rounding.
23739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23740 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23741 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23742 missing underflow exceptions.
23743 (fma_test_towardzero): Add more tests.
23744 (fma_test_downward): Likewise.
23745 (fma_test_upward): Likewise.
23746
2a27fd6d
JM
23747 [BZ #14047]
23748 * sysdeps/generic/tininess.h: New file.
23749 * sysdeps/i386/tininess.h: Likewise.
23750 * sysdeps/sh/tininess.h: Likewise.
23751 * sysdeps/x86_64/tininess.h: Likewise.
23752 * stdlib/tst-strtod-underflow.c: Likewise.
23753 * stdlib/tst-tininess.c: Likewise.
23754 * stdlib/strtod_l.c: Include <tininess.h>.
23755 (round_and_return): Do not set errno for exact underflow cases.
23756 Force an underflow exception when setting errno for underflow.
23757 Determine underflow based on rounding to normal precision if
23758 TININESS_AFTER_ROUNDING.
23759 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23760 ERANGE for exact underflow cases.
23761 * stdlib/Makefile (tests): Add tst-tininess and
23762 tst-strtod-underflow.
23763 ($(objpfx)tst-tininess): Use $(link-libm).
23764 ($(objpfx)tst-strtod-underflow): Likewise.
23765
e7170363
AJ
237662012-10-30 Andreas Jaeger <aj@suse.de>
23767
e5088dc6
AJ
23768 [BZ#14767]
23769 * elf/Makefile (tests): Remove conditional for have-initfini-array
23770 since this is now always required and the variable does not exist
23771 anymore.
23772 (tests-static): Likewise.
23773 (modules-names): Likewise.
23774
e7170363 23775 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23776
23777 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23778 merged with constructor/destructor.
23779 (init_array): Likewise.
23780 * elf/tst-array2dep.c (fini_array): Likewise.
23781 (init_array): Likewise.
23782
60457d8a
MF
237832012-10-29 Mike Frysinger <vapier@gentoo.org>
23784
23785 * manual/message.texi: Delete @cartouche tags.
23786
8bece752
PT
237872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23788
94ce799f
PT
23789 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23790 EOPNOTSUPP.
23791 * sysdeps/mach/hurd/fsync.c: Likewise.
23792
8bece752
PT
23793 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23794 [_POSIX_REALTIME_SIGNALS]: Change condition to
23795 [_POSIX_REALTIME_SIGNALS > 0].
23796
86ebe6b1
AJ
237972012-10-27 Andreas Jaeger <aj@suse.de>
23798
23799 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23800 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23802 [__WORDSIZE != 64]: Likewise.
23803
54399c08
L
238042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23805
23806 * iconvdata/tst-table.sh: Remove ${SHELL}.
23807 * iconvdata/tst-tables.sh: Likewise.
23808
e2211bed
DM
238092012-10-25 David S. Miller <davem@davemloft.net>
23810
23811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23812 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23813 of strtoull.
23814
f303f97c
DM
23815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23816 ifunc-impl-list.c
23817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23818 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23819 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23820 file.
23821
1e9d84cd
RM
238222012-10-25 Roland McGrath <roland@hack.frob.com>
23823
23824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23825 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23826 __getdirentries.
23827
df381762
JM
238282012-10-25 Joseph Myers <joseph@codesourcery.com>
23829 Jim Blandy <jimb@codesourcery.com>
23830
23831 * scripts/cross-test-ssh.sh: New file.
23832 * manual/install.texi (Configuring and compiling): Document use of
23833 cross-test-ssh.sh.
23834 * INSTALL: Regenerated.
23835
bff64913
PT
238362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23837
23838 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23839 EOPNOTSUPP.
23840
25fe8932
JM
238412012-10-25 Joseph Myers <joseph@codesourcery.com>
23842
23843 * Makeconfig (run-program-prefix): Fix comment.
23844
cc1290d0
JM
238452012-10-24 Joseph Myers <joseph@codesourcery.com>
23846 Jim Blandy <jimb@codesourcery.com>
23847
23848 * Makeconfig (test-wrapper): New variable,
23849 (test-wrapper-env): Likewise.
23850 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23851 (run-built-tests): Define to yes.
23852 (run-program-prefix): Use $(test-wrapper).
23853 (built-program-cmd): Likewise.
23854 * Rules (make-test-out): Use $(test-wrapper-env) and
23855 $(host-built-program-cmd).
23856 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23857 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23858 tst-pathopt.sh.
23859 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23860 $(test-wrapper-env) to tst-rtld-load-self.sh.
23861 ($(objpfx)order2.out): Use $(test-wrapper).
23862 ($(objpfx)tst-initorder.out): Likewise.
23863 ($(objpfx)tst-initorder2.out): Likewise.
23864 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23865 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23866 (test_wrapper_env): New variable. Use it to run ld.so.
23867 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23868 Use it to run ld.so.
23869 (test_wrapper_env): Likewise.
23870 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23871 $(test-wrapper) to run-iconv-test.sh.
23872 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23873 (ICONV): Use $test_wrapper.
23874 * posix/Makefile ($(objpfx)globtest.out): Pass
23875 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23876 globtest.sh, not $(run-program-prefix).
23877 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23878 (test_wrapper): Likewise.
23879 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23880 set together with run_via_rtld_prefix.
23881 (run_program_prefix): Define in terms of test_wrapper and
23882 run_via_rtld_prefix.
23883
6e6249d0
RM
238842012-10-24 Roland McGrath <roland@hack.frob.com>
23885
23886 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23887 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23888 Targets removed.
23889
23890 [BZ #14743]
23891 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23892 Declare __clock_getres, __clock_gettime, __clock_settime,
23893 __clock_nanosleep, and __clock_getcpuclockid.
23894 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23895 Remove librt_hidden_def (clock_gettime).
23896 * sysdeps/unix/clock_gettime.c: Likewise.
23897 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23898 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23899 * rt/clock_getres.c: Define __clock_getres as an alias.
23900 * sysdeps/posix/clock_getres.c: Likewise.
23901 * rt/clock_settime.c: Define __clock_settime as an alias.
23902 * sysdeps/unix/clock_settime.c: Likewise.
23903 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23904 * sysdeps/unix/clock_nanosleep.c: Likewise.
23905 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23906 * rt/clock-compat.c: New file.
23907 * rt/Makefile (librt-routines): Add clock-compat and move
23908 $(clock-routines) to ...
23909 (routines): ... here, new variable.
23910 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23911 Don't add get_clockfreq here.
23912 * rt/Versions (libc: GLIBC_2.17): New version set.
23913 Add clock_* symbols here.
23914 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23916 (GLIBC_2.17): Add clock_* symbols.
23917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23921 Likewise.
23922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23923 Likewise.
23924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23928 * NEWS: Mention the move.
23929
23930 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23931 Use __open, __read, __close rather than their public counterparts.
23932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23933 (__get_clockfreq_via_cpuinfo): Likewise.
23934 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23935 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23936
23937 * config.h.in (HAVE_IFUNC): New #undef.
23938 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23939 was successful.
23940 * configure: Regenerated.
23941
0cae3f4b
MF
239422012-10-24 Mike Frysinger <vapier@gentoo.org>
23943
23944 * configure.in: Move READELF check to start of file.
23945 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23946 libc_cv_asm_gnu_indirect_function in the process.
23947 * configure: Regenerated.
23948
8175a253
MF
239492012-10-24 Mike Frysinger <vapier@gentoo.org>
23950
23951 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23952 send the output to /dev/null.
23953 (libc_cv_cc_with_libunwind): Likewise.
23954 (libc_cv_as_noexecstack): Likewise.
23955 * configure: Regenerate.
23956
0708a7d1
JM
239572012-10-24 Joseph Myers <joseph@codesourcery.com>
23958
10b40d85
JM
23959 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23960
0708a7d1
JM
23961 * posix/globtest.sh (TMPDIR): Do not set.
23962 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23963 (testout): Likewise.
23964
9fddec1a
AJ
239652012-10-24 Andreas Jaeger <aj@suse.de>
23966
3a8db22f
AJ
23967 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23968 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23969 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23970 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23971 posix_fadvise64, posix_fallocate64.
23972
9fddec1a
AJ
23973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23974 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23975 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23976 Likewise.
23977 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23978 Likewise.
23979 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23980
23981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23982 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23983 <bits/fcntl-linux.h>.
23984 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23985
23986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23987 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23988 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23989 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23990 [__WORDSIZE != 64]: Likewise.
23991
ebfd1bbd
JM
239922012-10-23 Joseph Myers <joseph@codesourcery.com>
23993
03ac099f
JM
23994 * Makeconfig (run-built-tests): New variable.
23995 * Rules [$(cross-compiling) = yes]: Change condition to
23996 [$(run-built-tests) = no].
23997 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23998 to [$(run-built-tests) = yes].
23999 * elf/Makefile [$(cross-compiling) = no]: Likewise
24000 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24001 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24002 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24003 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24004 * io/Makefile [$(cross-compiling) = no]: Likewise.
24005 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24006 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24007 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24008 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24009 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24010 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24011 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24012 * string/Makefile [$(cross-compiling) = no]: Likewise.
24013
ebfd1bbd
JM
24014 * posix/Makefile ($(objpfx)globtest.out): Pass
24015 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24016 $(rtld-installed-name).
24017 * posix/globtest.sh (elf_objpfx): Remove variable.
24018 (rtld_installed_name): Likewise.
24019 (library_path): Likewise.
24020 (run_program_prefix): New variable. Use for running globtest
24021 binary.
24022
166bca24
JB
240232012-10-23 Jim Blandy <jimb@codesourcery.com>
24024 Joseph Myers <joseph@codesourcery.com>
24025
24026 * Makeconfig (host-built-program-cmd): New variable.
24027 * elf/Makefile (tst-stackguard1-ARGS): Use
24028 $(host-built-program-cmd).
24029 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24030 (tst-spawn-ARGS): Likewise.
24031 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24032
88866099
JM
240332012-10-23 Joseph Myers <joseph@codesourcery.com>
24034 Jim Blandy <jimb@codesourcery.com>
24035
24036 * Makeconfig (run-via-rtld-prefix): New variable.
24037 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24038 (built-program-cmd): Likewise.
24039
b4b4c296
AJ
240402012-10-22 Andreas Jaeger <aj@suse.de>
24041
24042 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24043 __O_RSYNC if it exists, otherwise to O_SYNC.
24044
6fb54a22
JB
240452012-10-22 Jim Blandy <jimb@codesourcery.com>
24046 Joseph Myers <joseph@codesourcery.com>
24047
24048 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24049 /dev/null.
24050 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24051 from /dev/null
24052 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24053 /dev/null.
24054
481b90b9
AJ
240552012-10-22 Andreas Jaeger <aj@suse.de>
24056
2a0e2669
AJ
24057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24058 Define always.
24059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24060
76e38f9a
AJ
24061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24062 bits/fcntl-linux.h.
24063
7cd37b43
AJ
24064 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24065 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24066
481b90b9
AJ
24067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24068 to __O_LARGEFILE.
24069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24070 to __O_LARGEFILE.
24071
aba75984
JB
240722012-10-21 Jim Blandy <jimb@codesourcery.com>
24073 Joseph Myers <joseph@codesourcery.com>
24074
24075 * config.make.in (NM): New variable.
24076
88d4247f
AJ
240772012-10-21 Andreas Jaeger <aj@suse.de>
24078
24079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24080 definitions and declarations that are provided by
24081 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24082
f2eed205
L
240832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 [BZ #14683]
24086 * elf/Makefile (tests-static): Add tst-leaks1-static.
24087 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24088 ($(objpfx)tst-leaks1-static): New rule.
24089 ($(objpfx)tst-leaks1-static-mem): Likewise.
24090 (tst-leaks1-static-ENV): New macro.
24091 * elf/dl-open.c (dl_open_worker): Check the main application
24092 only if SHARED is defined.
24093 * elf/tst-leaks1-static.c: New file.
24094
335e6931
AJ
240952012-10-20 Andreas Jaeger <aj@suse.de>
24096
24097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24098 generic values for Linux.
24099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24100 and declarations that are provided by <bits/fcntl-linux.h> and
24101 include <bits/fcntl-linux.h>.
24102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24104
ac5c94d3
RM
241052012-10-20 Roland McGrath <roland@hack.frob.com>
24106
24107 * io/fcntl.h: Move include of <bits/types.h> to the top and
24108 include it unconditionally.
24109
de54b33a
L
241102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24111
228cfb01
L
24112 * wcsmbs/Makefile (tests-ifunc): New variable.
24113 (tests): Add $(tests-ifunc).
24114 * wcsmbs/test-wcschr-ifunc.c: New file.
24115 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24116 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24117 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24118 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24119 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24120
69f07e5f
L
24121 * string/Makefile (tests-ifunc): New variable.
24122 (tests): Add $(tests-ifunc).
24123 * string/test-memccpy.c (TEST_NAME): New macro.
24124 * string/test-memchr.c (TEST_NAME): Likewise.
24125 * string/test-memcmp.c (TEST_NAME): Likewise.
24126 * string/test-memcpy.c (TEST_NAME): Likewise.
24127 * string/test-memmem.c (TEST_NAME): Likewise.
24128 * string/test-memmove.c (TEST_NAME): Likewise.
24129 * string/test-memset.c (TEST_NAME): Likewise.
24130 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24131 * string/test-stpcpy.c (TEST_NAME): Likewise.
24132 * string/test-stpncpy.c (TEST_NAME): Likewise.
24133 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24134 * string/test-strcasestr.c (TEST_NAME): Likewise.
24135 * string/test-strcat.c (TEST_NAME): Likewise.
24136 * string/test-strchr.c (TEST_NAME): Likewise.
24137 * string/test-strcmp.c(TEST_NAME): Likewise.
24138 * string/test-strcpy.c (TEST_NAME): Likewise.
24139 * string/test-strcspn.c (TEST_NAME): Likewise.
24140 * string/test-strlen.c (TEST_NAME): Likewise.
24141 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24142 * string/test-strncmp.c (TEST_NAME): Likewise.
24143 * string/test-strncpy.c (TEST_NAME): Likewise.
24144 * string/test-strnlen.c (TEST_NAME): Likewise.
24145 * string/test-strpbrk.c (TEST_NAME): Likewise.
24146 * string/test-strrchr.c (TEST_NAME): Likewise.
24147 * string/test-strspn.c (TEST_NAME): Likewise.
24148 * string/test-strstr.c (TEST_NAME): Likewise.
24149 * string/test-bcopy-ifunc.c: New file.
24150 * string/test-bzero-ifunc.c: Likewise.
24151 * string/test-memccpy-ifunc.c: Likewise.
24152 * string/test-memchr-ifunc.c: Likewise.
24153 * string/test-memcmp-ifunc.c: Likewise.
24154 * string/test-memcpy-ifunc.c: Likewise.
24155 * string/test-memmem-ifunc.c: Likewise.
24156 * string/test-memmove-ifunc.c: Likewise.
24157 * string/test-mempcpy-ifunc.c: Likewise.
24158 * string/test-memset-ifunc.c: Likewise.
24159 * string/test-rawmemchr-ifunc.c: Likewise.
24160 * string/test-stpcpy-ifunc.c: Likewise.
24161 * string/test-stpncpy-ifunc.c: Likewise.
24162 * string/test-strcasecmp-ifunc.c: Likewise.
24163 * string/test-strcasestr-ifunc.c: Likewise.
24164 * string/test-strcat-ifunc.c: Likewise.
24165 * string/test-strchr-ifunc.c: Likewise.
24166 * string/test-strchrnul-ifunc.c: Likewise.
24167 * string/test-strcmp-ifunc.c: Likewise.
24168 * string/test-strcpy-ifunc.c: Likewise.
24169 * string/test-strcspn-ifunc.c: Likewise.
24170 * string/test-strlen-ifunc.c: Likewise.
24171 * string/test-strncasecmp-ifunc.c: Likewise.
24172 * string/test-strncat-ifunc.c: Likewise.
24173 * string/test-strncmp-ifunc.c: Likewise.
24174 * string/test-strncpy-ifunc.c: Likewise.
24175 * string/test-strnlen-ifunc.c: Likewise.
24176 * string/test-strpbrk-ifunc.c: Likewise.
24177 * string/test-strrchr-ifunc.c: Likewise.
24178 * string/test-strspn-ifunc.c: Likewise.
24179 * string/test-strstr-ifunc.c: Likewise.
24180
de54b33a
L
24181 * debug/Makefile (tests-ifunc): New variable.
24182 (tests): Add $(tests-ifunc).
24183 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24184 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24185 * debug/test-stpcpy_chk-ifunc.c: New file.
24186 * debug/test-strcpy_chk-ifunc.c: Likewise.
24187
88481c16
SP
241882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24189
24190 [BZ #13601]
24191 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24192 header is not read in.
24193
135948bd
JM
241942012-10-19 Joseph Myers <joseph@codesourcery.com>
24195
89f1c388
JM
24196 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24197 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24198 directly. Pass built executable to script as
24199 $(built-program-cmd).
24200 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24201 $testprogram without using LD_LIBRARY_PATH and $ldso.
24202
e40a0d21
JM
24203 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24204 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24205 $(rtld-installed-name).
24206 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24207 (rtld_installed_name): Likewise.
24208 (library_path): Likewise.
24209 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24210 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24211 $(run-program-prefix) to tst-tables.sh.
24212 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24213 it to run tst-table-from and tst-table-to.
24214 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24215 Pass it to tst-table.sh.
24216 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24217 $(run-program-prefix) to tst-gettext.sh.
24218 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24219 tst-translit.sh.
24220 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24221 tst-gettext2.sh.
24222 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24223 to run tst-gettext.
24224 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24225 to run tst-gettext2.
24226 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24227 to run tst-translit.
24228 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24229 $(run-program-prefix) to tst-mtrace.sh.
24230 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24231 to run tst-mtrace.
24232 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24233 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24234 $(rtld-installed-name).
24235 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24236 (rtld_installed_name): Likewise.
24237 (run_program_prefix): New variable. Use it to run wordexp-test.
24238
728e272a
JM
24239 * Makeconfig (ARCH): Remove all definitions.
24240 (machine): Likewise.
24241 [ARCH]: Remove conditional code.
24242 [!objdir]: Give error.
24243 [!objdir] (objpfx): Remove.
24244 [!objdir] (common-objpfx): Likewise.
24245 [!objdir] (common-objdir): Likewise.
24246 * configure.in (config_makefile): Remove. Hardcode Makefile in
24247 AC_CONFIG_FILES call.
24248 * configure: Regenerated.
24249
d528cdcf
JM
24250 [BZ #13888]
24251 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24252 or TMPDIR.
24253 (testout): Likewise.
24254
135948bd
JM
24255 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24256 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24257 $(rtld-installed-name).
24258 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24259 (rtld_installed_name): Likwise.
24260 (runit): Remove function.
24261 (run_getconf): New variable, Use it for running getconf binary.
24262
38c78296
L
242632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 [BZ #14716]
24266 * string/test-memmem.c (check_result): New function.
24267 (do_one_test): Use it.
24268 (check1): New function.
24269 (test_main): Use it.
24270
d077f65f
MT
242712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24272
24273 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24274
ced52c71
JM
242752012-10-18 Joseph Myers <joseph@codesourcery.com>
24276
24277 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24278 (_G_LSEEK64): Likewise.
24279 (_G_MMAP64): Likewise.
24280 (_G_FSTAT64): Likewise.
24281 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24282 (_G_LSEEK64): Likewise.
24283 (_G_MMAP64): Likewise.
24284 (_G_FSTAT64): Likewise.
24285 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24286 unconditional. Call __mmap64 directly.
24287 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24288 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24289 __lseek64 directly.
24290 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24291 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24292 __mmap64 directly.
24293 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24294 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24295 __lseek64 directly.
24296 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24297 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24298 __lseek64 directly.
24299 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24300 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24301 __lseek64 directly.
24302 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24303 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24304 __fxstat64 directly.
24305 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24306 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24307 unconditional.
24308 (freopen64) [!_G_OPEN64]: Remove conditional code.
24309 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24310 unconditional.
24311 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24312 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24313 unconditional.
24314 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24315 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24316 unconditional.
24317 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24318 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24319 unconditional.
24320 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24321 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24322 unconditional.
24323 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24324 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24325 unconditional.
24326 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24327 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24328 unconditional.
24329 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24330
b741de23
SP
243312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24332
24333 [BZ #12140]
24334 * manual/memory.texi (Malloc Tunable Parameters): Add note
24335 about free list pointers overwriting some perturb bytes.
24336 Wording suggested by Roland McGrath.
24337
f9b9d9c9
JM
243382012-10-17 Joseph Myers <joseph@codesourcery.com>
24339
24340 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24341 (lgamma_test): Likewise.
24342 (tgamma_test): Likewise.
24343
172a631a
FW
243442012-10-16 Florian Weimer <fweimer@redhat.com>
24345
24346 [BZ #14700]
24347 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24348 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24349
e9f37252
MK
243502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24351
24352 * NEWS: Mention BZ #14716.
24353 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24354 when removing AVAILABLE1_USES_J macro.
24355
d394eb74
L
243562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24357
24358 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24359 (__bswap_64): __uint64_t for unsigned 64-bit int.
24360
ca38dc17
AS
243612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24362
24363 * include/string.h (memmem): Declare libc hidden alias.
24364 * string/memmem.c (memmem): Define libc hidden alias.
24365 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24366 __read, __close instead of open, read, close.
24367
9a387d1f
L
243682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24369
ac49ecaf
L
24370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24371 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24372 global and hidden.
24373 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24374 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24375 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24376 Likewise.
24377 (__rawmemchr_sse2): Likewise.
24378 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24379 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24380 (__strchr_sse2): Likewise.
24381 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24382 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24383 (__strcasecmp_sse2): Likewise.
24384 (__strncasecmp_sse2): Likewise.
24385 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24386 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24387 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24388 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24389 (__strrchr_sse2): Likewise.
24390 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24391 ifunc-impl-list.c.
24392 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24393 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24394 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24395 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24396 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24397 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24398 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24399 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24400 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24401 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24402 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24403 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24405 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24406 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24407 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24408 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24409 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24410 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24411 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24412 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24413 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24414 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24415 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24416 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24417 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24418 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24419 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24420 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24421 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24422
b090e8ea
L
24423 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24424 global and hidden.
24425 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24426 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24427 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24428 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24429 Likewise.
24430 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24431 Likewise.
24432 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24433 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24434 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24435 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24436 ifunc-impl-list.c.
24437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24445 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24448 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24455 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24457 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24458 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24459 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24460 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24462 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24463 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24464 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24465 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24466 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24467 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24470 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24471 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24472 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24473 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24474 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24475 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24476 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24478
11dd4af6
L
24479 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24480 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24481 * include/ifunc-impl-list.h: New file.
24482 * misc/ifunc-impl-list.c: Likewise.
24483 * misc/Makefile (routines): Add ifunc-impl-list.
24484 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24485 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24486 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24487 TEST_NAME]: New variables.
11dd4af6
L
24488 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24489 are defined.
24490 (test_init): Call __libc_ifunc_impl_list to initialize
24491 func_list if TEST_IFUNC and TEST_NAME are defined.
24492
9a387d1f
L
24493 * string/Makefile (strop-tests): Add bcopy and bzero.
24494 * string/test-bcopy.c: New file.
24495 * string/test-bzero.c: Likewise.
24496 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24497 defined.
24498 * string/test-memset.c: Support bzero test if TEST_BZERO is
24499 defined.
24500 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24501 __libc_memmove.
24502 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24503 __libc_memset.
24504 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24505 of memset.
24506
472371b9
JM
245072012-10-10 Joseph Myers <joseph@codesourcery.com>
24508
1e4a9536
JM
24509 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24510 * configure: Regenerated.
24511
d173d12e
JM
24512 * Makeconfig (+link-static-before-libc): Don't include
24513 $(link-static-libc).
24514
472371b9
JM
24515 * libio/libio.h (_IO_pos_t): Remove.
24516
89a3ad0b
AO
245172012-10-10 Alexandre Oliva <aoliva@redhat.com>
24518
24519 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24520 McGrath.
24521
e7451425
AO
245222012-10-10 Alexandre Oliva <aoliva@redhat.com>
24523
24524 * crypt/crypt-entry.c: Include fips-private.h.
24525 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24526 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24527 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24528 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24529
4ba74a35
AO
245302012-10-10 Alexandre Oliva <aoliva@redhat.com>
24531
24532 * crypt/crypt-private.h: Include stdbool.h.
24533 (_ufc_setup_salt_r): Return bool.
24534 * crypt/crypt-entry.c: Include errno.h.
24535 (__crypt_r): Return NULL with EINVAL for bad salt.
24536 * crypt/crypt_util.c (bad_for_salt): New.
24537 (_ufc_setup_salt_r): Check that salt is long enough and within
24538 the specified alphabet.
24539 * crypt/badsalttest.c: New file.
24540 * crypt/Makefile (tests): Add it.
24541 ($(objpfx)badsalttest): New.
24542
f96f1242
MK
245432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24544
24545 * NEWS: Add entry for BZ #14602.
24546
0e8e0c1c
JM
245472012-10-09 Joseph Myers <joseph@codesourcery.com>
24548
24549 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24550 type-generic.
24551 * math/libm-test.inc: Update comment listing what functions and
24552 macros are tested.
24553 (isgreater_test): New function.
24554 (isgreaterequal_test): Likewise.
24555 (isless_test): Likewise.
24556 (islessequal_test): Likewise.
24557 (islessgreater_test): Likewise.
24558 (isunordered_test): Likewise.
24559 (main): Call the new functions.
24560
273edc5e
RM
245612012-10-09 Roland McGrath <roland@hack.frob.com>
24562
b8493de0
RM
24563 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24564 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24565 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24566 * sysdeps/i386/configure: Regenerated.
24567 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24568 * sysdeps/mach/configure: Regenerated.
24569 * sysdeps/mach/hurd/configure: Regenerated.
24570 * sysdeps/powerpc/configure: Regenerated.
24571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24572 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24573 * sysdeps/s390/s390-32/configure: Regenerated.
24574 * sysdeps/s390/s390-64/configure: Regenerated.
24575 * sysdeps/sh/configure: Regenerated.
24576 * sysdeps/sparc/configure: Regenerated.
24577 * sysdeps/unix/sysv/linux/configure: Regenerated.
24578 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24579 * sysdeps/x86_64/configure: Regenerated.
24580
273edc5e
RM
24581 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24582 defined. Don't check if MAP is NULL.
24583
c8450f70
JM
245842012-10-09 Joseph Myers <joseph@codesourcery.com>
24585
24586 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24587 (_G_stat64): Likewise.
24588 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24589 (_G_stat64): Likewise.
24590 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24591 instead of struct _G_stat64.
24592 * libio/fileops.c (mmap_remap_check): Likewise.
24593 (decide_maybe_mmap): Likewise.
24594 (_IO_new_file_seekoff): Likewise.
24595 (_IO_file_stat): Likewise.
24596 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24597 _G_off64_t.
24598 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24599 instead of struct _G_stat64.
24600 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24601
57e605ba
MK
246022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24603
24604 [BZ #14602]
24605 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24606 Replace with ...
24607 (CHECK_EOL): New macro.
24608 (two_way_short_needle): Check beginning of haystack for EOL. Use
24609 CHECK_EOL.
24610 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24611 Replace with CHECK_EOL.
24612 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24613 Replace with CHECK_EOL.
24614
ef1bb361
JM
246152012-10-08 Joseph Myers <joseph@codesourcery.com>
24616
24617 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24618 type-generic.
24619 * math/libm-test.inc: Update comment listing what functions and
24620 macros are tested.
24621 (finite_test): New function.
24622 (isinf_test): Likewise.
24623 (isnan_test): Likewise.
24624 (fpclassify_test): Test subnormal input.
24625 (isfinite_test): Likewise.
24626 (isnormal_test): Likewise.
24627 (main): Call the new functions.
24628
55f11534
JN
246292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24630
24631 [BZ #14660]
24632 * Makerules (%.dynsym): Force C locale when running
24633 $(OBJDUMP) --dynamic-syms.
24634
1ab29350
AS
246352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24636
24637 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24638 <stdint.h>.
24639
f1ecb7ef
DM
246402012-10-06 David S. Miller <davem@davemloft.net>
24641
24642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24643 upper 32-bits of the length value in %o2 since we use branch-on-register
24644 tests which consider the entire 64-bit register.
24645
5d41d91a
L
246462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24647
24648 * string/test-strstr.c (check2): Add a test for page boundary.
24649
3baddb72
DM
246502012-10-05 David S. Miller <davem@davemloft.net>
24651
24652 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24653 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24654 file.
24655 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24656 sysdep_routines.
24657 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24658 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24659 and bzero when HWCAP_SPARC_CRYPTO is present.
24660
9cee5585
L
246612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24662
d7e0dab9
L
24663 [BZ #14602]
24664 * string/test-strstr.c (check2): New function.
24665 (test_main): Call check2.
24666
03759f47
L
24667 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24668 and bug-strchr1.
24669 * string/bug-strcasestr1.c (do_test): Moved to ...
24670 * string/test-strcasestr.c (check1): Here. New function.
24671 (do_one_test): Break out result checking code into ...
24672 (check_result): This. New function.
24673 (do_one_test): Call check_result.
24674 (test_main): Call check1.
24675 * string/bug-strchr1.c (do_test): Moved to ...
24676 * string/test-strchr.c (check1): Here. New function.
24677 (do_one_test): Break out result checking code into ...
24678 (check_result): This. New function.
24679 (do_one_test): Call check_result.
24680 (test_main): Call check1.
24681 * string/bug-strstr1.c (main): Moved to ...
046f153e 24682 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24683 (do_one_test): Break out result checking code into ...
24684 (check_result): This. New function.
24685 (do_one_test): Call check_result.
24686 (test_main): Call check1.
24687 * string/bug-strcasestr1.c: Removed.
24688 * string/bug-strchr1.c: Likewise.
24689 * string/bug-strstr1.c: Likewise.
24690
53cea63e
L
24691 * elf/Makefile (dl-routines): Add hwcaps.
24692 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24693 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24694 (_dl_important_hwcaps): Moved to ...
24695 * elf/dl-hwcaps.c: Here. New file.
24696 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24697
9cee5585 24698 [BZ #14557]
bb859b06
L
24699 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24700 if IS_IN_rtld isn't defined.
24701
9cee5585
L
24702 * elf/dl-support.c (_dl_sysinfo_map): New.
24703 Include "get-dynamic-info.h" and "setup-vdso.h".
24704 (_dl_non_dynamic_init): Call setup_vdso.
24705 * elf/dynamic-link.h: Don't include <assert.h>.
24706 (elf_get_dynamic_info): Moved to ...
24707 * elf/get-dynamic-info.h: Here. New file.
24708 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24709 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24710 * elf/setup-vdso.h: Here. New file.
24711 * elf/rtld.c: Include "setup-vdso.h".
24712 (dl_main): Call setup_vdso.
24713
23c31b76
JM
247142012-10-05 Joseph Myers <joseph@codesourcery.com>
24715
28234b07
JM
24716 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24717 creal in comment listing functions tested. List finite, isinf,
24718 isnan, isless, islessequal, isgreater, isgreaterequal,
24719 islessgreater, isunordered, lgamma_r and pow10 as functions and
24720 macros not tested. Mention which functions not tested are aliases
24721 for other functions. Fix typo. Note that signs of NaNs are not
24722 tested.
24723
23c31b76
JM
24724 * scripts/config.guess: Update from config.git.
24725 * scripts/config.sub: Likewise.
24726
9043e228
RM
247272012-10-04 Roland McGrath <roland@hack.frob.com>
24728
24729 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24730 * misc/madvise.c (madvise): Renamed to __madvise.
24731 Make madvise a weak alias.
24732 * include/sys/mman.h: Declare __madvise.
24733 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24734 * sysdeps/unix/syscalls.list
24735 (madvise): Make __madvise the strong name, and madvise a weak alias.
24736 * sysdeps/unix/sysv/linux/syscalls.list
24737 (madvise, mmap): Remove redundant entries.
24738 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24739 * malloc/malloc.c (mtrim): Likewise.
24740 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24741
f57f8055
RM
247422012-10-03 Roland McGrath <roland@hack.frob.com>
24743
24744 * sysdeps/mach/hurd/dl-cache.c: File removed.
24745 * config.h.in (USE_LDCONFIG): New #undef.
24746 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24747 * configure: Regenerated.
24748 * elf/Makefile (dl-routines): Add dl-cache only under
24749 [$(use-ldconfig) = yes].
24750 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24751 cache on [USE_LDCONFIG].
24752 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24753 [USE_LDCONFIG].
24754 * elf/rtld.c (dl_main): Likewise.
24755
5bb0c10a
PT
247562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24757
24758 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24759 _SC_LEVEL4_CACHE_LINESIZE.
24760
010188c6
RM
247612012-10-03 Roland McGrath <roland@hack.frob.com>
24762
24763 * sysdeps/unix/bsd/confstr.h: File removed.
24764
b6c5ec07
AO
247652012-10-02 Alexandre Oliva <aoliva@redhat.com>
24766
24767 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24768 sys/sdt-config.h.
24769
408223d4
RM
247702012-10-02 Roland McGrath <roland@hack.frob.com>
24771
24772 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24773 Make 'mapoff' field ElfW(Off) rather than off_t.
24774
bb9510dc
DL
247752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24776
fc997c6e
DL
24777 * nscd/Makefile: Remove nscd-cflags and all its users.
24778 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24779 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24780
bb9510dc
DL
24781 [BZ #10631]
24782 * malloc.c (malloc_printerr): Clarify error message.
24783
05699367
L
247842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24785
24786 [BZ #14648]
24787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24788 Set bit_FMA_Usable if FMA is supported.
24789 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24790 macro.
24791 (bit_FMA4_Usable): Updated.
24792 (index_FMA_Usable): New macro.
24793 (CPUID_FMA): Likewise
24794 (HAS_FMA): Defined with bit_FMA_Usable.
24795
51367701
RM
247962012-10-01 Roland McGrath <roland@hack.frob.com>
24797
24798 * bits/types.h (__swblk_t): Type removed.
24799 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24800 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24802 (__SWBLK_T_TYPE): Likewise.
24803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24804 (__SWBLK_T_TYPE): Likewise.
24805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24806 (__SWBLK_T_TYPE): Likewise.
24807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24808 (__SWBLK_T_TYPE): Likewise.
24809
4d57bf63 248102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24811 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24812
24813 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24814 (xdr_mapname): Use YPMAXMAP as maxsize.
24815 (xdr_peername): Use YPMAXPEER as maxsize.
24816 (xdr_keydat): Use YPAXRECORD as maxsize.
24817 (xdr_valdat): Use YPMAXRECORD as maxsize.
24818
93c65d43
RM
248192012-10-01 Roland McGrath <roland@hack.frob.com>
24820
497a03d6
RM
24821 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24822
93c65d43
RM
24823 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24824 * csu/init-first.c: ... here.
24825 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24826 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24828 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24829 * sysdeps/i386/init-first.c: File removed.
24830 * sysdeps/sh/init-first.c: File removed.
24831
bec749fd
JM
248322012-10-01 Joseph Myers <joseph@codesourcery.com>
24833
24834 [BZ #14645]
24835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24836 if x * y might underflow to zero and z is zero.
24837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24839 * math/libm-test.inc (min_subnorm_value): New variable.
24840 (fma_test): Add more tests.
24841 (fma_test_towardzero): Likewise.
24842 (fma_test_downward): Likewise
24843 (fma_test_upward): Likewise.
24844 (initialize): Set min_subnorm_value.
24845
8ec5b013
JM
248462012-09-29 Joseph Myers <joseph@codesourcery.com>
24847
24848 [BZ #14638]
24849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24850 0 + 0.
24851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24852 mode for addition resulting in exact zero.
24853 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24855 exact 0 + 0.
24856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24858 * math/libm-test.inc (fma_test): Add more tests.
24859 (fma_test_towardzero): New function.
24860 (fma_test_downward): Likewise.
24861 (fma_test_upward): Likewise.
24862 (main): Call the new functions.
24863
b1fa802e
DM
248642012-09-28 David S. Miller <davem@davemloft.net>
24865
24866 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24867
d3b9fd9e
RM
248682012-09-28 Roland McGrath <roland@hack.frob.com>
24869
ea4d37b3
RM
24870 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24871 instead of SIGALRM.
24872
ac51c949
RM
24873 * sysdeps/gnu/_G_config.h: Moved to ...
24874 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24875 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24876 * sysdeps/generic/_G_config.h: ... here.
24877
28c195f7
RM
24878 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24879
848917f9
RM
24880 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24881
6bacf05b
RM
24882 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24883 Conditionalize target on [libnss_test1.so-version].
24884
91363dbb
RM
24885 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24886
cc87f7d8
RM
24887 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24888 (elfobjdir): Move out of conditionals.
24889
b1c608fe
RM
24890 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24891 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24892 (__nss_lookup_function): Conditionalize label remove_from_tree on
24893 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24894
1d9a6d96
DM
248952012-09-28 David S. Miller <davem@davemloft.net>
24896
24897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24898 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24899 file.
24900 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24901 sysdep_routines.
24902 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24904 when HWCAP_SPARC_CRYPTO is present.
24905
72581615
PT
249062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24907
24908 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24909
715a900c
JL
249102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24911
24912 [BZ #6530]
24913 * stdio-common/vfprintf.c (process_string_arg): Revert
24914 2000-07-22 change.
24915
249162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24917
24918 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24919 for testcase.
24920 * stdio-common/tst-sprintf.c: Include <locale.h>
24921 (main): Test sprintf's handling of incomplete multibyte
24922 characters.
24923
9bac1d86
L
249242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24925
24926 * elf/dl-runtime.c (VERSYMIDX): Removed.
24927 * elf/dl-version.c (VERSYMIDX): Likewise.
24928 * elf/do-rel.h (VERSYMIDX): Likewise.
24929 (VALIDX): Likewise.
24930 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24931 * elf/rtld.c (VALIDX): Likewise.
24932 (ADDRIDX): Likewise.
9bac1d86
L
24933 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24934 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24935 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24936 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24937 (VALIDX): Likewise.
24938 (ADDRIDX): Likewise.
9bac1d86 24939
b31606c0
PT
249402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24941
24942 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24943
11541177
JL
249442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24945
24946 [BZ #11438]
24947 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24948 to global scope.
24949 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24950 addresses are in the same scope as 192.0.2/24.
24951 * posix/gai.conf: Document new scope table defaults.
24952
adb26fae
SP
249532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24954
24955 [BZ #5298]
24956 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24957 for ftell. Compute offsets from write pointers instead.
24958 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24959
4573c6b0
SP
249602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24961
24962 [BZ #14543]
24963 * libio/Makefile (tests): New test case tst-fseek.
24964 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24965 combination works in wide mode.
24966 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24967 state when the external buffer state changes.
24968
aa9bbfe6
DM
249692012-09-27 David S. Miller <davem@davemloft.net>
24970
24971 [BZ #14376]
24972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24973 pass reloc->r_addend in as the 'high' argument to
24974 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24975
784421e7
DM
24976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24977
c39bc8b8
PT
249782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24979
24980 * rt/tst-aio2.c: Include <pthread.h>.
24981 * rt/tst-aio3.c: Likewise.
24982
1ccc2399
SE
249832012-09-27 Steve Ellcey <sellcey@mips.com>
24984
24985 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24986
31ed4153
L
249872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24988
25f5f885
L
24989 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24990 contents on [SHARED].
31ed4153 24991
b7bfe116
MP
249922012-09-26 Marek Polacek <polacek@redhat.com>
24993
24994 [BZ #14530]
24995 [BZ #13741]
24996 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24997 for C++ and GCC <4.3 as well as for non GCC compilers.
24998
43c4edba
MT
249992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25000
25001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25002
6a1bf82f
RM
250032012-09-25 Roland McGrath <roland@hack.frob.com>
25004
25005 * Makefile.in (all, install): Declare with .PHONY.
25006 Reported by Michael Hope <michael.hope@linaro.org>.
25007
8ad11b9a
TMQMF
250082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25009
25010 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25011 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25012 system header.
25013 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25014 Likewise.
25015 (sydep_routines): Add the new and the internal functions.
25016 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25017 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25019 (GLIBC_2.17): Add the new function.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25021 (GLIBC_2.17): Likewise.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25023 (GLIBC_2.17): Likewise.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25025 (GLIBC_2.17): Likewise.
25026 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25027
7e2fca8d
AM
250282012-09-25 Alan Modra <amodra@gmail.com>
25029
25030 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25031 Add release barrier before setting once_control to say
25032 initialisation is done. Add hints on lwarx. Use macro in
25033 place of isync.
25034 (clear_once_control): Add release barrier.
25035
b87c4b24
JM
250362012-09-25 Joseph Myers <joseph@codesourcery.com>
25037
d032e0d2
JM
25038 [BZ #13629]
25039 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25040 specially.
25041 * math/s_clog10.c (__clog10): Likewise.
25042 * math/s_clog10f.c (__clog10f): Likewise.
25043 * math/s_clog10l.c (__clog10l): Likewise.
25044 * math/s_clogf.c (__clogf): Likewise.
25045 * math/s_clogl.c (__clogl): Likewise.
25046 * math/Makefile (libm-calls): Add x2y2m1.
25047 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25048 (__x2y2m1): Likewise.
25049 (__x2y2m1l): Likewise.
25050 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25051 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25054 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25055 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25056 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25057 * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25059
b87c4b24
JM
25060 [BZ #14621]
25061 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25062 int as type of variable DEPTH.
25063 (glob): Use size_t instead of int as type of variables NEWCOUNT
25064 and OLD_PATHC.
25065
6d3bf199
LD
250662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25067
22bf5c17
LD
25068 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25069 Add s_sincosf-sse2.
25070 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25071 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25072 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25073 macros for using routine as __sincosf_ia32.
25074 Use macro for function declaration and weak_alias.
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25076
25077 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25079
25080 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25081 subnormal argument.
25082 * math/s_cexpf.c (__cexpf): Likewise.
25083 * math/s_csinf.c (__csinf): Likewise.
25084 * math/s_csinhf.c (__csinhf): Likewise.
25085 * math/s_ctanf.c (__ctanf): Likewise.
25086 * math/s_ctanhf.c (__ctanhf): Likewise.
25087 * math/s_ccosh.c (__ccoshf): Likewise.
25088 * math/s_cexp.c (__cexpl): Likewise.
25089 * math/s_csin.c (__csin): Likewise.
25090 * math/s_csinh.c (__csinh): Likewise.
25091 * math/s_ctan.c (__ctan): Likewise.
25092 * math/s_ctanh.c (ctanh): Likewise.
25093 * math/s_ccoshl.c (__ccoshl): Likewise.
25094 * math/s_cexpl.c (__cexpl): Likewise.
25095 * math/s_csinl.c (__csinl): Likewise.
25096 * math/s_csinhl.c (__csinhl): Likewise.
25097 * math/s_ctanl.c (__ctanl): Likewise.
25098 * math/s_ctanhl.c (__ctanhl): Likewise.
25099
203e5603
JM
251002012-09-25 Joseph Myers <joseph@codesourcery.com>
25101
25102 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25103 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25104 (_IO_off_t): Define to __off_t, not _G_off_t.
25105 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25106 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25107 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25108 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25109 type of __dummy and __dummy2 fields.
25110 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25111 (_G_ssize_t): Likewise.
25112 (_G_off_t): Likewise.
25113 (_G_pid_t): Likewise.
25114 (_G_uid_t): Likewise.
25115 (_G_wchar_t): Likewise.
25116 (_G_wint_t): Likewise.
25117 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25118 (_G_ssize_t): Likewise.
25119 (_G_off_t): Likewise.
25120 (_G_pid_t): Likewise.
25121 (_G_uid_t): Likewise.
25122 (_G_wchar_t): Likewise.
25123 (_G_wint_t): Likewise.
25124 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25125 (_G_ssize_t): Likewise.
25126 (_G_off_t): Likewise.
25127 (_G_pid_t): Likewise.
25128 (_G_uid_t): Likewise.
25129 (_G_wchar_t): Likewise.
25130 (_G_wint_t): Likewise.
25131
9fab36eb
SP
251322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25133
25134 * malloc/arena.c: Include malloc-sysdep.h.
25135 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25136 is sufficient to shrink the heap or an unmap is needed.
25137 * sysdeps/generic/malloc-sysdep.h: New file. Define
25138 new function check_may_shrink_heap.
25139 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25140 new function check_may_shrink_heap.
25141
2b4f00d1
SP
251422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25143
25144 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25145 comments.
25146
9a9028b1
DL
251472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25148
57c69bef
DL
25149 * catgets/test-gencat.sh: Add "set -e".
25150 * elf/tst-pathopt.sh: Likewise.
25151 * grp/tst_fgetgrent.sh: Likewise.
25152 * iconvdata/run-iconv-test.sh: Likewise.
25153 * intl/tst-gettext.sh: Likewise.
25154 * intl/tst-gettext2.sh: Likewise.
25155 * intl/tst-gettext4.sh: Likewise.
25156 * intl/tst-gettext6.sh: Likewise.
25157 * intl/tst-translit.sh: Likewise.
25158 * io/ftwtest-sh: Likewise.
25159 * libio/test-freopen.sh: Likewise.
25160 * malloc/tst-mtrace.sh: Likewise.
25161 * posix/globtest.sh: Likewise.
25162 * posix/tst-getconf.sh: Likewise.
25163 * posix/wordexp-tst.sh: Likewise.
25164 * stdio-common/tst-printf.sh: Likewise.
25165 * stdio-common/tst-unbputc.sh: Likewise.
25166 * stdlib/tst-fmtmsg.sh: Likewise.
25167 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25168 * catgets/Makefile: Do not specify -e option when running
25169 testsuite shell scripts.
25170 * elf/Makefile: Likewise.
25171 * grp/Makefile: Likewise.
25172 * iconvdata/Makefile: Likewise.
25173 * intl/Makefile: Likewise.
25174 * io/Makefile: Likewise.
25175 * libio/Makefile: Likewise.
25176 * malloc/Makefile: Likewise.
25177 * posix/Makefile: Likewise.
25178 * stdio-common/Makefile: Likewise.
25179 * stdlib/Makefile: Likewise.
25180 * sysdeps/x86_64/Makefile: Likewise.
25181
9a9028b1
DL
25182 * io/ftwtest-sh: Add copyright header.
25183 * posix/globtest.sh: Likewise.
25184 * posix/tst-getconf.sh: Likewise.
25185 * posix/wordexp-tst.sh: Likewise.
25186 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25187
ced6f16e
L
251882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25189
94b32c39
L
25190 [BZ #13679]
25191 * Makeconfig (+link): Defined as $(+link-static) if
25192 $(build-shared) isn't yes.
25193 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25194 isn't yes.
25195 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25196
189e935b
L
25197 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25198
ced6f16e
L
25199 [BZ #14562]
25200 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25201 new chunk size with MALLOC_ALIGN_MASK.
25202
a9f8e53a
JM
252032012-09-24 Joseph Myers <joseph@codesourcery.com>
25204
25205 [BZ #5044]
25206 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25207 <rounding-mode.h>.
25208 (__printf_fphex): Determine rounding using get_rounding_mode and
25209 round_away.
25210 * stdio-common/tst-printf-round.c (struct hex_test): New
25211 structure.
25212 (hex_tests): New variable.
25213 (test_hex_in_one_mode): New function.
25214 (do_test): Also run tests for hex float output.
25215
43153109
JM
252162012-09-21 Joseph Myers <joseph@codesourcery.com>
25217
25218 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25219 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25220 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25221 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25222 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25223 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25224 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25225 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25226
8a26625d
JM
252272012-09-20 Joseph Myers <joseph@codesourcery.com>
25228
25229 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25230 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25231 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25232 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25233
f3fd569c
DL
252342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25235
25236 [BZ #14579]
25237 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25238 mode only.
25239 * elf/tst-rtld-load-self.sh: New test.
25240 * elf/Makefile: Run it.
25241
63bbedd4
JM
252422012-09-18 Joseph Myers <joseph@codesourcery.com>
25243
25244 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25245 (tst-writev-ENV): Remove.
25246 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25247
626f8b6a
CM
252482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25249
25250 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25251
b7aaa4d6
JM
252522012-09-17 Joseph Myers <joseph@codesourcery.com>
25253
25254 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25255 unconditional.
25256 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25257 Likewise.
25258 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25259 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25260 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25261 Likewise.
25262
65513990
L
252632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25264
25265 [BZ #14587]
25266 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25267 * config.make.in (have-cpp-asm-debuginfo): Removed.
25268 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25269 * configure: Regenerated.
25270
784761be
JM
252712012-09-14 Joseph Myers <joseph@codesourcery.com>
25272
25273 [BZ #5044]
25274 * stdio-common/printf_fp.c: Include <stdbool.h> and
25275 <rounding-mode.h>.
25276 (___printf_fp): Determine rounding using get_rounding_mode and
25277 round_away.
25278 * stdio-common/tst-printf-round.c: New file.
25279 * stdio-common/Makefile (tests): Add tst-printf-round.
25280 (link-libm): New variable.
25281 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25282
9503345f
L
252832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25284
25285 [BZ #14576]
25286 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25287 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25288 Likewise.
25289 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25290 Likewise.
25291
ad35fc00
JM
252922012-09-13 Joseph Myers <joseph@codesourcery.com>
25293
25294 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25295 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25296 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25297 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25298
6c9b0f68
JM
252992012-09-12 Joseph Myers <joseph@codesourcery.com>
25300
25301 [BZ #14518]
25302 * include/rounding-mode.h: New file.
25303 * sysdeps/generic/get-rounding-mode.h: Likewise.
25304 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25305 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25306 (MAX_VALUE): New macro.
25307 (MIN_VALUE): Likewise.
25308 (overflow_value): New function.
25309 (underflow_value): Likewise.
25310 (round_and_return): Use overflow_value and underflow_value to
25311 determine return values in overflow and underflow cases. Use
25312 round_away to determine rounding depending on rounding mode.
25313 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25314 determine return values in overflow and underflow cases.
25315 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25316 (struct test_results): New structure.
25317 (struct test): Use struct test_results to store expected results
25318 for all rounding modes.
25319 (TEST): Include expected results for all rounding modes.
25320 (test_in_one_mode): New function.
25321 (do_test): Use test_in_one_mode to compute and check results.
25322 Check results for all rounding modes.
25323 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25324 $(link-libm).
25325
19fcedd5
AM
253262012-12-09 Allan McRae <allan@archlinux.org>
25327
1e9d84cd 25328 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25329
8bbfd2f1
JM
253302012-09-11 Joseph Myers <joseph@codesourcery.com>
25331
25332 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25333 (_G_int32_t): Likewise.
25334 (_G_uint16_t): Likewise.
25335 (_G_uint32_t): Likewise.
25336 (_G_HAVE_BOOL): Likewise.
25337 (_G_HAVE_ATEXIT): Likewise.
25338 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25339 (_G_HAVE_IO_FILE_OPEN): Likewise.
25340 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25341 (_G_int32_t): Likewise.
25342 (_G_uint16_t): Likewise.
25343 (_G_uint32_t): Likewise.
25344 (_G_HAVE_BOOL): Likewise.
25345 (_G_HAVE_ATEXIT): Likewise.
25346 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25347 (_G_HAVE_IO_FILE_OPEN): Likewise.
25348 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25349 (_G_int32_t): Likewise.
25350 (_G_uint16_t): Likewise.
25351 (_G_uint32_t): Likewise.
25352 (_G_HAVE_BOOL): Likewise.
25353 (_G_HAVE_ATEXIT): Likewise.
25354 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25355 (_G_HAVE_IO_FILE_OPEN): Likewise.
25356
b1dc5912
L
253572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25358
25359 * csu/libc-tls.c: Update copyright years.
25360
0e886ef9
JM
253612012-09-10 Joseph Myers <joseph@codesourcery.com>
25362
28361c5e
JM
25363 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25364 [!_G_USING_THUNKS]: Remove conditional code.
25365 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25366 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25367
0e886ef9
JM
25368 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25369 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25370 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25371 (_G_VTABLE_LABEL_PREFIX): Likewise.
25372 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25373 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25374 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25375 (_G_VTABLE_LABEL_PREFIX): Likewise.
25376 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25377 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25378 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25379 (_G_VTABLE_LABEL_PREFIX): Likewise.
25380 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25381
bcba7aa2
L
253822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25383
25384 * libio/Makefile: Include ../Makeconfig before tests.
25385 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25386 only if $(build-shared) is yes.
25387
06585ee8
L
25388 * iconv/gconv_db.c: Update copyright years.
25389
80ccd52c
LD
253902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25391
25392 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25393 unwind info if defined PIC. Fix special cases description.
25394 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25395
25396 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25397 DP_HI_MASK entry.
25398 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25399
691bc9c1
L
254002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25401
3d9b46b3
L
25402 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25403
de2139a9
L
25404 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25405 is NULL.
25406
5ca78dd0
L
25407 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25408 (LDLIBS-tst-chk4): This.
25409 (LDFLAGS-tst-chk5): Renamed to ...
25410 (LDLIBS-tst-chk5): This.
25411 (LDFLAGS-tst-chk6): Renamed to ...
25412 (LDLIBS-tst-chk6): This.
25413 (LDFLAGS-tst-lfschk4): Renamed to ...
25414 (LDLIBS-tst-lfschk4): This.
25415 (LDFLAGS-tst-lfschk5): Renamed to ...
25416 (LDLIBS-tst-lfschk5): This.
25417 (LDFLAGS-tst-lfschk6): Renamed to ...
25418 (LDLIBS-tst-lfschk6): This.
25419
691bc9c1
L
25420 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25421 on $(common-objpfx)soversions.mk.
25422
65cafb1c
JM
254232012-09-07 Joseph Myers <joseph@codesourcery.com>
25424
25425 [BZ #10014]
25426 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25427 example host name.
25428
c78ab094
SP
254292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25430
25431 * malloc/arena.c (arena_get_retry): New function that gets
25432 another arena for the caller to try its request on.
25433 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25434 current arena cannot fulfill the request.
25435 (__libc_memalign): Likewise.
25436 (__libc_memalign): Likewise.
25437 (__libc_pvalloc): Likewise.
25438 (__libc_calloc): Likewise.
25439
01f49f59
JT
254402012-09-05 John Tobey <john.tobey@gmail.com>
25441
25442 [BZ #13542]
25443 * manual/arith.texi (Operations on Complex): Fix description
25444 of carg branch cut.
25445
4c23fed5
JM
254462012-09-06 Joseph Myers <joseph@codesourcery.com>
25447
1d3c8572
JM
25448 [BZ #10014]
25449 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25450 host name.
25451
4c23fed5
JM
25452 [BZ #10038]
25453 * manual/memory.texi (Memory): Make order of menu items match
25454 order of sections.
25455
04570aaa
L
254562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25459 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25460 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25461
b80af2f4
L
254622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 * csu/libc-tls.c (static_dtv): Renamed to ...
25465 (_dl_static_dtv): This. Make it global.
25466 (_dl_initial_dtv): Removed.
25467 (__libc_setup_tls): Updated.
25468 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25469 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25470 DL_INITIAL_DTV.
25471
2abe9f15
PM
254722012-09-06 Petr Machata <pmachata@redhat.com>
25473
25474 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25475 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25476 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25477 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25478
0948c3af
L
254792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 [BZ #14545]
25482 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25483 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25484 freeing dtv[-1].
25485
a5055ad1
L
254862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 [BZ #14544]
25489 * Makeconfig (link-static-before-libc): Replace $(+prector)
25490 with $(+prectorT).
25491 (link-static-after-libc): Replace $(+postctor) with
25492 $(+postctorT).
25493 (link-bounded): Replace $(+prector)/$(+postctor) with
25494 $(+prectorT)/$(+postctorT).
25495 (+prectorT): New macro.
25496 (+postctorT): Likewise.
25497
ed8c2ecd
JM
254982012-09-06 Joseph Myers <joseph@codesourcery.com>
25499
25500 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25501 (round_str): Handle values above the maximum for IBM long double
25502 as inexact.
25503 * stdlib/tst-strtod-round.c (tests): Regenerated.
25504
14c996c8
AK
255052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25506
25507 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25508 assembler flag.
25509 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25510 zarch_nohighgprs around the zarch optimized routines.
25511 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25512 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25513 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25514 for zarch.
25515
430d6ce6
DM
255162012-09-05 David S. Miller <davem@davemloft.net>
25517
25518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25519
57f41c40
AS
25520 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25521 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25522 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25523 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25524 entries.
25525
24d4e01b
AO
255262012-09-05 Alexandre Oliva <aoliva@redhat.com>
25527
25528 * malloc/arena.c: Fold copyright years.
25529 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25530
61d58174
AO
255312012-09-05 Alexandre Oliva <aoliva@redhat.com>
25532
25533 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25534
20196a5e
AO
255352012-09-05 Alexandre Oliva <aoliva@redhat.com>
25536
25537 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25538
5c447383
AO
255392012-09-05 Alexandre Oliva <aoliva@redhat.com>
25540
25541 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25542 change internal state upon failure.
25543
fad64255
AO
255442012-09-05 Alexandre Oliva <aoliva@redhat.com>
25545
25546 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25547 * malloc/memusage.c (mmap): Likewise.
25548 (mmap64, mremap): Likewise. Adjust name in comment.
25549
1ffb8c90
SP
255502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25551
25552 * libio/fileops.c: Fix typos in comments.
25553 * libio/oldfileops.c: Likewise.
25554 * libio/wfileops.c: Likewise.
25555
6ef9cc37
SP
255562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25557
25558 [BZ #1349]
25559 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25560 (tst-malloc-usable-ENV): Set environment for test case.
25561 * malloc/hooks.c (malloc_check_get_size): New function to get
25562 requested size.
25563 * malloc/malloc.c (musable): Use malloc_check_get_size.
25564 * malloc/tst-malloc-usable.c: New test case.
25565
4d038ae3
AS
255662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25567
25568 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25569
c4e85184
AM
255702012-09-05 Allan McRae <allan@archlinux.org>
25571
b9dafc56 25572 [BZ #13966]
c4e85184
AM
25573 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25574 determine header location.
25575 * configure: Regenerated.
25576
e1343020
AS
255772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25578
25579 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25580 float format.
25581 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25582 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25583 format.
e1343020
AS
25584 (test): Regenerate.
25585
0a9f1987
DM
255862012-09-04 David S. Miller <davem@davemloft.net>
25587
25588 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25589 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25590 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25591
29237804
FW
255922012-09-04 Florian Weimer <fweimer@redhat.com>
25593
25594 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25595 failures.
25596
edb3cb88
FW
25597 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25598
60160d83
JM
255992012-09-04 Joseph Myers <joseph@codesourcery.com>
25600
25601 [BZ #9914]
25602 * libio/iogetdelim.c: Include <limits.h>.
25603 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25604 + len + 1 would overflow.
25605
bcd6c8dc
AJ
256062012-09-03 Andreas Jaeger <aj@suse.de>
25607
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25609 * sysdeps/i386/fpu/libm-test-ulps: Update.
25610
4ffffbd2
LD
256112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25612
25613 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25614 Add s_sinf-sse2, s_conf-sse2.
25615
25616 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25617 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25618 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25619 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25620
25621 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25622 for using routine as __sinf_ia32.
25623 Use macro for function declaration and weak_alias.
25624 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25625 for using routine as __cosf_ia32.
25626 Use macro for function declaration and weak_alias.
25627
25628 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25629 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25630
25631 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25632 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25634
25635 * math/libm-test.inc (cos_test): Add more test cases.
25636 (sin_test): Likewise.
25637 (sincos_test): Likewise.
25638
511fa286
AK
256392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25640
25641 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25642 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25643 hidden.
25644 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25645
5f30cfec
L
256462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25647
25648 [BZ #14538]
25649 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25650 first element of the GOT.
25651 (elf_machine_load_address): Return the difference between
25652 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25653
0786794f
AM
256542012-09-01 Allan McRae <allan@archlinux.org>
25655
5f30cfec
L
25656 [BZ #13412]
25657 * configure.in (AWK): Require gawk version 3.0 or later.
25658 * configure: Regenerated.
0786794f 25659
26889eac
JM
256602012-09-01 Joseph Myers <joseph@codesourcery.com>
25661
25662 * sysdeps/unix/sysv/linux/kernel-features.h
25663 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25664 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25665 [__NR_clock_getres]: Make code unconditional.
25666 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25667 (clock_getcpuclockid): Remove code left unreachable by removal of
25668 conditionals.
25669 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25670 code unconditional.
25671 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25672 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25673 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25674 Make code unconditional.
25675 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25676 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25677 * sysdeps/unix/sysv/linux/clock_settime.c
25678 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25679 conditional code.
25680 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25682
d22e28b0
L
256832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25684
25685 [BZ #14476]
25686 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25687 scripts/test-installation.pl.
25688
25689 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25690 and $ld_so_version if it is set.
25691
050af9c4
SP
256922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25693
25694 [BZ #14516]
25695 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25696 failure if reading from procfs failed.
25697 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25698
ad845c0b
JM
256992012-08-27 Joseph Myers <joseph@codesourcery.com>
25700
25701 * sysdeps/unix/sysv/linux/kernel-features.h
25702 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25703 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25704 Remove conditional code.
25705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25706 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25707 Remove conditional code.
25708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25709 * sysdeps/unix/sysv/linux/i386/fxstat.c
25710 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25712 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25713 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25715 * sysdeps/unix/sysv/linux/i386/lxstat.c
25716 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25718 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25719 Remove conditional code.
25720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25721 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25722 Remove conditional code.
25723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25724 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25725 <kernel-features.h>.
25726 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25727 Remove.
25728 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25729 Remove conditional code.
25730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25731 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25732 Remove conditional.
25733
5dbf56af
MF
257342012-08-27 Mike Frysinger <vapier@gentoo.org>
25735
25736 [BZ #5400]
25737 * NEWS: Add fixed bug number.
25738
d6e70f43
JM
257392012-08-27 Joseph Myers <joseph@codesourcery.com>
25740
7efb4737
JM
25741 [BZ #14519]
25742 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25743 underflowing exponent in case of negative sign.
25744 * stdlib/tst-strtod-round-data: Add more tests.
25745 * stdlib/tst-strtod-round.c (tests): Regenerated.
25746
af92131a
JM
25747 [BZ #3479]
25748 * stdlib/strtod_l.c (NDIG): Remove.
25749 (HEXNDIG): Likewise.
25750 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25751 smallest representable value.
25752 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25753 lie within an exact representation of 1/2 ulp of the result.
25754 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25755 unconditionally.
25756 (TENS_P9_IDX): Define unconditionally.
25757 (TENS_P9_SIZE): Likewise.
25758 (TENS_P10_IDX): Likewise.
25759 (TENS_P10_SIZE): Likewise.
25760 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25761 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25762 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25763 entries for 10^2^13 and 10^2^14.
25764 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25765 (TENS_P13_IDX): Define.
25766 (TENS_P13_SIZE): Likewise.
25767 (TENS_P14_IDX): Likewise.
25768 (TENS_P14_SIZE): Likewise.
25769 (_fpioconst_pow10): Change array size to
25770 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25771 unconditional.
25772 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25773 1024]: Add entries for 10^2^13 and 10^2^14.
25774 [LAST_POW10 > _LAST_POW10]: Remove #error.
25775 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25776 (_fpioconst_pow10): Change array size to
25777 FPIOCONST_POW10_ARRAY_SIZE.
25778 * stdlib/gen-fpioconst.c: New file.
25779 * stdlib/gen-tst-strtod-round.c: Likewise.
25780 * stdlib/tst-strtod-round-data: Likewise.
25781 * stdlib/tst-strtod-round.c: Likewise.
25782 * stdlib/Makefile (tests): Add tst-strtod-round.
25783
d6e70f43
JM
25784 [BZ #14459]
25785 * stdlib/strtod_l.c: Include <stdint.h>.
25786 (NDEBUG): Do not define.
25787 (round_and_return): Change EXPONENT parameter to type intmax_t.
25788 Rearrange calculations to avoid internal overflow possibilities.
25789 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25790 Rearrange calculations to avoid internal overflow possibilities.
25791 Assert that number fits inside MPNSIZE limbs.
25792 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25793 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25794 calculations and add assertions to avoid internal overflow
25795 possibilities. Add casts to avoid signed/unsigned operations.
25796 * stdlib/tst-strtod-overflow.c: New file.
25797 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25798
1f529f7d
MP
257992012-08-25 Marek Polacek <polacek@redhat.com>
25800
25801 * time/time.h: Fix some typos in comments.
25802
59a629f1
RM
258032012-08-23 Roland McGrath <roland@hack.frob.com>
25804
25805 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25806 * posix/tst-rfc3484-2.c: Likewise.
25807 * posix/tst-rfc3484-3.c: Likewise.
25808
d3bafbc9
SM
258092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25810
25811 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25812 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25813
4efcc022
JM
258142012-08-23 Joseph Myers <joseph@codesourcery.com>
25815
25816 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25817 #include of fxstatat64.c.
25818
3cc3ef96
RM
258192012-08-22 Roland McGrath <roland@hack.frob.com>
25820
f04e2132
RM
25821 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25822 * shadow/getspent_r.c: Likewise.
25823 * shadow/getspnam.c: Likewise.
25824 * shadow/getspnam_r.c: Likewise.
25825 * gshadow/getsgent.c: Likewise.
25826 * gshadow/getsgent_r.c: Likewise.
25827 * gshadow/getsgnam.c: Likewise.
25828 * gshadow/getsgnam_r.c: Likewise.
25829 * inet/getnetbyad.c: Likewise.
25830 * inet/getnetbyad_r.c: Likewise.
25831 * inet/getnetbynm.c: Likewise.
25832 * inet/getnetbynm_r.c: Likewise.
25833 * inet/getnetent.c: Likewise.
25834 * inet/getnetent_r.c: Likewise.
25835 * inet/getproto.c: Likewise.
25836 * inet/getproto_r.c: Likewise.
25837 * inet/getprtent.c: Likewise.
25838 * inet/getprtent_r.c: Likewise.
25839 * inet/getprtname.c: Likewise.
25840 * inet/getprtname_r.c: Likewise.
25841 * inet/getrpcbyname.c: Likewise.
25842 * inet/getrpcbyname_r.c: Likewise.
25843 * inet/getrpcbynumber.c: Likewise.
25844 * inet/getrpcbynumber_r.c: Likewise.
25845 * inet/getrpcent.c: Likewise.
25846 * inet/getrpcent_r.c: Likewise.
25847 * inet/getaliasent.c: Likewise.
25848 * inet/getaliasent_r.c: Likewise.
25849 * inet/getaliasname.c: Likewise.
25850 * inet/getaliasname_r.c: Likewise.
25851 * nscd/getgrgid_r.c: Likewise.
25852 * nscd/getgrnam_r.c: Likewise.
25853 * nscd/gethstbyad_r.c: Likewise.
25854 * nscd/gethstbynm3_r.c: Likewise.
25855 * nscd/getpwnam_r.c: Likewise.
25856 * nscd/getpwuid_r.c: Likewise.
25857 * nscd/getsrvbynm_r.c: Likewise.
25858 * nscd/getsrvbypt_r.c: Likewise.
25859 * nscd/gai.c: Likewise.
25860
c53d909c
RM
25861 * configure.in (build_nscd): New substituted variable, set
25862 by --disable-build-nscd and defaults to $use_nscd.
25863 * configure: Regenerated.
25864 * config.make.in (build-nscd): New substituted variable.
25865 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25866 Change conditional to require [$(build-nscd) = yes] as well.
25867 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25868
3cc3ef96
RM
25869 [BZ# 13696]
25870 * configure.in (use_nscd): New substituted variable, set by
25871 --disable-nscd. If enabled, define USE_NSCD.
25872 * configure: Regenerated.
25873 * config.h.in: Add USE_NSCD.
25874 * config.make.in (use-nscd): New substituted variable.
25875 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25876 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25877 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25878 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25879 (CFLAGS-getgrnam_r.c): Likewise.
25880 (CFLAGS-initgroups.c): Likewise.
25881 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25882 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25883 Variables removed.
25884 * inet/getnetgrent_r.c
25885 (nscd_setnetgrent): New function, broken out of ...
25886 (setnetgrent): ... here. Call it.
25887 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25888 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25889 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25890 * nscd/Makefile (routines, aux): Move definitions after include of
25891 Makeconfig. Conditionalize on [$(use-nscd) != no].
25892 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25893 Conditionalize on [USE_NSCD].
25894 (is_nscd, nscd_init_cb): Likewise.
25895 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25896 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25897 * nss/nss_db/db-init.c: Likewise.
25898 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25899 [USE_NSCD].
25900 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25901 (make_request): Use it.
25902 (cache_valid_p): New function.
25903 (__check_pf): Use it.
25904 * NEWS: Add item for --disable-nscd.
25905
07e51550
DL
259062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25907
25908 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25909 to support sed >= 4.2.1-20-ga9bf076.
25910 * configure: Regenerated.
25911
35a5b08b
RM
259122012-08-22 Roland McGrath <roland@hack.frob.com>
25913
25914 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25915 Conditionalize whole body on [IREL].
25916
8479f23a
JL
259172012-08-22 Jeff Law <law@redhat.com>
25918
25919 [BZ #14505]
25920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25921 if the family is PF_UNSPEC.
25922
48da0b21
MF
259232012-08-22 Mike Frysinger <vapier@gentoo.org>
25924
25925 * Makerules (lib-version): Rename from V.
25926 (install-lib-nosubdir): Change V to lib-version.
25927
15d0da8c
WS
259282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25929
25930 [BZ #14252]
25931 * powerpc32/power6/wcschr.c: New file.
25932 * powerpc32/power6/wcscpy.c: New file.
25933 * powerpc32/power6/wcsrchr.c: New file.
25934 * powerpc64/power6/wcschr.c: New file.
25935 * powerpc64/power6/wcscpy.c: New file.
25936 * powerpc64/power6/wcsrchr.c: New file.
25937
bcca0895
MK
259382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25939
25940 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25941 (two_way_short_needle): Use it.
5a4aaa33
RM
25942 * string/strstr.c (AVAILABLE1_USES_J): Define.
25943 * string/strcasestr.c: Likewise.
99677e57
MK
25944
25945 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25946 array references.
25947 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25948
400726de
MK
25949 [BZ #11607]
25950 * NEWS: Add an entry.
25951 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25952 define their defaults.
25953 (two_way_short_needle): Detect end-of-string on-the-fly.
25954 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25955 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25956 * string/bug-strcasestr1.c: New test.
25957 * string/Makefile: Run it.
25958
20a71f2c
MK
259592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25960
25961 [BZ #11607]
25962 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25963 the first character.
25964
21ad0558
RM
259652012-08-21 Roland McGrath <roland@hack.frob.com>
25966
25967 * csu/elf-init.c (__libc_csu_irel): Function removed.
25968 * csu/libc-start.c (apply_irel): New function.
25969 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25970
0e1d9911
JM
259712012-08-21 Joseph Myers <joseph@codesourcery.com>
25972
25973 * sysdeps/unix/sysv/linux/kernel-features.h
25974 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25975 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25976 <kernel-features.h>.
25977 [__NR_fadvise64_64]: Make code unconditional.
25978 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25979 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25980 !__NR_fadvise64_64)]: Likewise.
25981 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25982 !__NR_fadvise64_64))]: Likewise.
25983 [__NR_fadvise64]: Make code unconditional.
25984 [!__NR_fadvise64]: Remove conditional code.
25985 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25986 <kernel-features.h>.
25987 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25988 unconditional.
25989 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25990 conditional code.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25992 not include <kernel-features.h>.
25993 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25994 unconditional.
25995 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25996 conditional code.
25997 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25998 include <kernel-features.h>.
25999 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26000 unconditional.
26001 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26002 conditional code.
26003
14a50c9d
WS
260042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26005
26006 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26007 slight instruction rearrangements per scrollpipe analysis.
26008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26009
c0f4faf0
RM
260102012-08-20 Roland McGrath <roland@hack.frob.com>
26011
696da859
RM
26012 * manual/syslog.texi (syslog; vsyslog, closelog):
26013 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26014 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26015
c0f4faf0
RM
26016 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26017 DSOCAPS to match condition on defining it.
26018
348363b2
JM
260192012-08-20 Joseph Myers <joseph@codesourcery.com>
26020
a35cbf28
JM
26021 * sysdeps/unix/sysv/linux/kernel-features.h
26022 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26024 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26025 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26027 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26028 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26030 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26031 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26032
445f7ecd
JM
26033 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26034 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26035
348363b2
JM
26036 * sysdeps/unix/sysv/linux/kernel-features.h
26037 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26038 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26039 unconditional.
26040 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26041 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26042 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26043 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26044 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26045 Make code unconditional.
26046 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26047 (__mmap64) [!__NR_mmap2]: Likewise.
26048 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26049 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26050 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26051 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26052 [__NR_mmap2]: Make code unconditional.
26053 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26054 (__mmap64) [!__NR_mmap2]: Likewise.
26055
bc5bc0e5
AK
260562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26057
26058 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26059
88d506de
AJ
260602012-08-18 Andreas Jaeger <aj@suse.de>
26061
26062 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26063
493387d2
MF
260642012-08-18 Mike Frysinger <vapier@gentoo.org>
26065
26066 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26067 * include/unistd.h (__have_sock_cloexec): Likewise.
26068 (__have_pipe2): Likewise.
26069 (__have_dup3): Likewise.
26070
a277af22
MF
260712012-08-18 Mike Frysinger <vapier@gentoo.org>
26072
26073 [BZ #9685]
26074 * include/unistd.h (__have_pipe2): Change define into an extern int.
26075 (__have_dup3): Likewise.
26076 * socket/have_sock_cloexec.c: Include fcntl.h.
26077 (__have_pipe2): New variable.
26078 (__have_dup3): Likewise.
26079
fdab8fd3
MF
260802012-08-17 Mike Frysinger <vapier@gentoo.org>
26081
26082 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26083
31035e80
MP
260842012-08-17 Marek Polacek <polacek@redhat.com>
26085
26086 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26087 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26088
3bd9e993
RM
260892012-08-17 Roland McGrath <roland@hack.frob.com>
26090
c91c505f
RM
26091 * configure.in: Add AC_SUBST for sysheaders.
26092 * configure: Regenerated.
26093 * config.make.in (sysheaders): New substituted variable.
26094
7c6f9d53
RM
26095 * sysdeps/unix/mkfifo.c: Moved ...
26096 * sysdeps/posix/mkfifo.c: ... here.
26097 * sysdeps/unix/mkfifoat.c: Moved ...
26098 * sysdeps/posix/mkfifoat.c: ... here.
26099
26100 * sysdeps/unix/utime.c: Moved ...
26101 * sysdeps/posix/utime.c: ... here.
26102
26103 * sysdeps/unix/time.c: Moved ...
26104 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26105 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26107
26108 * sysdeps/unix/nice.c: Moved ...
26109 * sysdeps/posix/nice.c: ... here.
26110
26111 * sysdeps/unix/alarm.c: Moved ...
26112 * sysdeps/posix/alarm.c: ... here.
26113
3bd9e993
RM
26114 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26115
d1f09384
JL
261162012-08-17 Jeff Law <law@redhat.com>
26117
26118 * intl/Makefile (codeset_mo): New variable.
26119 ($(codeset_mo)): New target.
26120 (tst-codeset.out): Depend on that. Remove explicit rule.
26121 (tst-gettext3.out, tst-gettext5.out): Likewise.
26122 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26123 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26124 * intl/tst-codeset.sh: Remove.
26125 * intl/tst-gettext3.sh: Likewise.
26126 * intl/tst-gettext5.sh: Likewise.
26127
2ae1ae5c
RM
261282012-08-17 Roland McGrath <roland@hack.frob.com>
26129
c31fdb83
RM
26130 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26131 * sysdeps/unix/syscalls.list: ... here.
26132
a0844057
RM
26133 * sysdeps/posix/getaddrinfo.c
26134 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26135 (gaiconf_init, gaiconf_reload): Use them.
26136 [!_STATBUF_ST_NSEC]
26137 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26138 Define using time_t rather than struct timespec.
26139
750c1f2a
RM
26140 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26141 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26142 Macros removed.
26143 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26144 [!NO_THREADS].
26145 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26146 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26147 Likewise.
26148
2ae1ae5c
RM
26149 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26150 __libc_cleanup_push argument.
26151
e66a42f5
RM
26152 * bits/param.h: New file.
26153 * misc/sys/param.h: New file.
26154 * include/sys/param.h: New file.
26155 * misc/Makefile (headers): Add bits/param.h.
26156 * sysdeps/generic/sys/param.h: File removed.
26157 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26158 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26159 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26160 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26161
b7c08a66
RM
26162 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26163 last change.
26164
b2e1c562
RM
26165 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26166 [_IO_MTSAFE_IO].
26167 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26168 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26169 New macros.
26170
c75ccd4c
RM
26171 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26172 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26173 rather than -D_IO_MTSAFE_IO conditionally.
26174 * stdio-common/Makefile (CPPFLAGS): Likewise.
26175 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26176 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26177 Use $(libio-mtsafe).
26178 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26179 of -D_IO_MTSAFE_IO.
26180 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26181 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26182 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26183 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26184 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26185 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26186 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26187 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26188 (CFLAGS-fread_u_chk.c): Likewise.
26189 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26190 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26191 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26192 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26193 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26194 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26195 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26196 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26197 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26198
26199 * libio/Makefile: Test [$(libc-reentrant) = yes]
26200 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26201
26202 * Makeconfig
26203 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26204 * sysdeps/pthread/configure: File removed.
26205 * sysdeps/pthread/Makeconfig: New file.
26206 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26207 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26208
d9195db8
GB
262092012-08-16 Gary Benson <gbenson@redhat.com>
26210
26211 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26212 unmapping the first object in a namespace.
26213
86466cd9
RM
262142012-08-16 Roland McGrath <roland@hack.frob.com>
26215
26216 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26217 (__internal_setnetgrent): ... this. Add internal_function to
26218 definition. Add libc_hidden_def.
26219 (setnetgrent): Update caller.
26220 (internal_endnetgrent): Renamed to ...
26221 (__internal_endnetgrent): ... this. Add internal_function to
26222 definition. Add libc_hidden_def.
26223 (endnetgrent): Update caller.
26224 (internal_getnetgrent_r): Renamed to ...
26225 (__internal_getnetgrent_r): ... this. Add internal_function to
26226 definition. Add libc_hidden_def.
26227 (__getnetgrent_r): Update caller.
26228 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26229
c3c8283c
JM
262302012-08-16 Joseph Myers <joseph@codesourcery.com>
26231
26232 * stdlib/longlong.h: Update from GCC.
26233
db1ee0a8
RM
262342012-08-16 Roland McGrath <roland@hack.frob.com>
26235
26236 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26237 on _QL, which is set by umul_ppmm but never used.
26238 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26239 variables, which are set by GMP macros but never used.
26240 * stdio-common/_itowa.c (_itowa): Likewise.
26241 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26242 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26243
30f69637
CD
262442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26245
26246 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26247 struct La_sh_regs is not constant.
26248 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26249 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26250 and struct La_sparc64_regs are not constant.
26251
93a78ac4
JM
262522012-08-16 Joseph Myers <joseph@codesourcery.com>
26253
26254 * sysdeps/unix/sysv/linux/kernel-features.h
26255 (__ASSUME_POSIX_TIMERS): Remove.
26256 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26258 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26259 Make code unconditional.
26260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26261 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26262 Make code unconditional.
26263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26264 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26265 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26267 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26268 Make code unconditional.
26269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26270 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26271 (__libc_missing_posix_timers): Remove.
26272
dd924cd7
RM
262732012-08-15 Roland McGrath <roland@hack.frob.com>
26274
4b4f2771
RM
26275 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26276 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26277
601c888b
RM
26278 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26279
176790a7
RM
26280 * elf/dl-sym.c: Include <stdlib.h>.
26281
329bc018
RM
26282 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26283 constants, which avoids warnings in 32-bit builds.
26284
e04e272d
RM
26285 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26286 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26287
952bf94a
RM
26288 * misc/lseek.c: File moved to ...
26289 * io/lseek.c: ... here.
26290
7c99b50a
RM
26291 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26292
dd924cd7
RM
26293 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26294 shifting LEN more than 31 bits at once.
26295
b3f479a8
LD
262962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26297
26298 [BZ #14195]
8c4ae0d4
RM
26299 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26300 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26301 * string/test-strncasecmp.c (check1): Renamed to...
26302 (bz12205): ...this.
26303 (bz14195): Add new testcase for two empty input strings and N > 0.
26304 (test_main): Call new testcase, adapt for renamed function.
26305
9c55864e
AJ
263062012-08-15 Andreas Jaeger <aj@suse.de>
26307
26308 [BZ #14090]
26309 * crypt/md5test2.c: New test, based on test supplied by Serge
26310 Belyshev <belyshev@depni.sinp.msu.ru>.
26311 * crypt/Makefile (xtests): Add md5test-giant..
26312 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26313
02dcb6c5
PE
263142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26315
26316 [BZ #14090]
26317 * crypt/md5.c (md5_process_block): Don't assume the buffer
26318 length is less than 2**32.
26319 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26320 length is less than 2**64.
26321
a3f95dcc
RM
263222012-08-15 Roland McGrath <roland@hack.frob.com>
26323
be75d758
RM
26324 * string/str-two-way.h: Include <sys/param.h>.
26325 (MAX): Macro removed.
26326
7312ca90
RM
26327 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26328 Move #define and #undef of memmove to just before and after
26329 including <string.h>.
26330
9a0a5486
RM
26331 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26332 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26333 and after including <string.h>. Move declarations of
26334 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26335 to before #include "string/memmove.c".
26336
67cc348d
RM
26337 * include/dirent.h: Declare __getdirentries.
26338
a3f95dcc
RM
26339 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26340 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26341
ca98e171
MF
263422012-08-14 Mike Frysinger <vapier@gentoo.org>
26343
26344 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26345 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26346 * sysdeps/i386/configure: Regenerated.
26347 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26348 STABS_CURRENT_FILE, and STABS_FUN.
26349 (END): Remove call to STABS_FUN_END.
26350 (STABS_CURRENT_FILE1): Delete.
26351 (STABS_CURRENT_FILE): Likewise.
26352 (STABS_FUN): Likewise.
26353 (STABS_FUN_END): Likewise.
26354 (STABS_FUN2): Likewise.
26355 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26356 * sysdeps/x86_64/configure: Regenerated.
26357
5908bf46
RM
263582012-08-14 Roland McGrath <roland@hack.frob.com>
26359
26360 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26361 * elf/dl-lookup.c: Likewise.
5908bf46 26362
f2c05b9e
JM
263632012-08-14 Joseph Myers <joseph@codesourcery.com>
26364
26365 * sysdeps/unix/sysv/linux/kernel-features.h
26366 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26367 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26368 unconditionally.
26369 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26370 unconditionally.
26371 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26372 condition on __ASSUME_CLONE_THREAD_FLAGS.
26373
e11f5155
AJ
263742012-08-14 Andreas Jaeger <aj@suse.de>
26375
26376 * sysdeps/i386/fpu/libm-test-ulps: Update.
26377
51a9ba86
MK
263782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26379
2fdd4f78
AJ
26380 * include/atomic.h (atomic_exchange_and_add): Split into ...
26381 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26382 New atomic macros.
51a9ba86 26383
ba6cba9e
MT
263842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26385
26386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26387
42443a47
JL
263882012-08-13 Jeff Law <law@redhat.com>
26389
26390 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26391 null byte in the output string.
26392
121dce05
JM
263932012-08-10 Joseph Myers <joseph@codesourcery.com>
26394
26395 * sysdeps/unix/sysv/linux/kernel-features.h
26396 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26397 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26398 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26399 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26400 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26401 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26402 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26403
bf51f568
JL
264042012-08-09 Jeff Law <law@redhat.com>
26405
26406 [BZ #13939]
26407 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26408 When avoid_arena is set, don't retry in the that arena. Pick the
26409 next one, whatever it might be.
26410 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26411 (arena_lock): Pass in new parameter to arena_get2.
26412 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26413 arena_get2.
26414 (__libc_malloc): Unify retrying after main arena failure with
26415 __libc_memalign version.
26416 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26417
f85fa270
L
264182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 [BZ #14166]
26421 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26422 to __redirect_strstr.
26423 (__strstr_sse42): Use typeof __redirect_strstr.
26424 (__strstr_ia32): Likewise.
26425 (__libc_strstr): New prototype.
26426 (strstr): Renamed to ...
26427 (__libc_strstr): This.
26428 (strstr): New strong alias of __libc_strstr.
26429 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26431 __redirect_time.
26432 Include <time.h>.
26433 (__libc_time): New prototype.
26434 (time_ifunc): Replace time with __libc_time.
26435 (time): New strong alias and hidden definition of __libc_time.
26436 (__GI_time): Remove strong alias.
26437 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26438 Include <stddef.h>.
26439 (memmove): Redefined to __redirect_memmove.
26440 (__memmove_sse2): Use typeof __redirect_memmove.
26441 (__memmove_ssse3): Likewise.
26442 (__memmove_ssse3_back): Likewise.
26443 (__libc_memmove): New prototype.
26444 (memmove): Renamed to ...
26445 (__libc_memmove): This.
26446 (memmove): New strong alias of __libc_memmove.
26447
33b4a91e
MS
264482012-08-08 Mark Salter <msalter@redhat.com>
26449
26450 * elf/elf.h
26451 (R_MN10300_TLS_GD): Define.
26452 (R_MN10300_TLS_LD): Likewise.
26453 (R_MN10300_TLS_LDO): Likewise.
26454 (R_MN10300_TLS_GOTIE): Likewise.
26455 (R_MN10300_TLS_IE): Likewise.
26456 (R_MN10300_TLS_LE): Likewise.
26457 (R_MN10300_TLS_DTPMOD): Likewise.
26458 (R_MN10300_TLS_DTPOFF): Likewise.
26459 (R_MN10300_TLS_TPOFF): Likewise.
26460 (R_MN10300_SYM_DIFF): Likewise.
26461 (R_MN10300_ALIGN): Likewise.
26462 (R_MN10300_NUM): Update.
26463
b36137f1
JM
264642012-08-08 Joseph Myers <joseph@codesourcery.com>
26465
26466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26467 Remove.
26468
cdd915fd
RM
264692012-08-08 Roland McGrath <roland@hack.frob.com>
26470
a2433aac
RM
26471 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26472
cdd915fd
RM
26473 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26474 sysdeps/unix -> sysdeps/posix move.
26475 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26476
bf9b740a
AM
264772012-08-07 Allan McRae <allan@archlinux.org>
26478
26479 [BZ #14303]
26480 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26481 (SUNOS_CPP): Likewise.
26482 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26483 not found.
26484 (open_input): Call CPP using execvp.
26485
93df14ee
JM
264862012-08-07 Joseph Myers <joseph@codesourcery.com>
26487
26488 * sysdeps/unix/sysv/linux/kernel-features.h
26489 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26490 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26491 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26492 (__ASSUME_WAITID_SYSCALL): Likewise.
26493 * sysdeps/unix/sysv/linux/dl-execstack.c
26494 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26495 code unconditional.
26496 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26497 conditional code.
26498 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26499 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26500 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26501 code.
26502 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26503 unconditional.
26504 [__ASSUME_WAITID_SYSCALL]: Likewise.
26505 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26506
d34689de
RM
265072012-08-07 Roland McGrath <roland@hack.frob.com>
26508
a281decc
RM
26509 * sysdeps/unix/closedir.c: Renamed to ...
26510 * sysdeps/posix/closedir.c: ... here.
26511 * sysdeps/unix/dirfd.c: Renamed to ...
26512 * sysdeps/posix/dirfd.c: ... here.
26513 * sysdeps/unix/dirstream.h: Renamed to ...
26514 * sysdeps/posix/dirstream.h: ... here.
26515 * sysdeps/unix/fdopendir.c: Renamed to ...
26516 * sysdeps/posix/fdopendir.c: ... here.
26517 * sysdeps/unix/opendir.c: Renamed to ...
26518 * sysdeps/posix/opendir.c: ... here.
26519 * sysdeps/unix/readdir.c: Renamed to ...
26520 * sysdeps/posix/readdir.c: ... here.
26521 * sysdeps/unix/readdir_r.c: Renamed to ...
26522 * sysdeps/posix/readdir_r.c: ... here.
26523 * sysdeps/unix/rewinddir.c: Renamed to ...
26524 * sysdeps/posix/rewinddir.c: ... here.
26525 * sysdeps/unix/seekdir.c: Renamed to ...
26526 * sysdeps/posix/seekdir.c: ... here.
26527 * sysdeps/unix/telldir.c: Renamed to ...
26528 * sysdeps/posix/telldir.c: ... here.
26529 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26530 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26531 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26532 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26533
22895b47
RM
26534 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26535 * bits/fcntl.h: ... here.
26536
707a53b6
RM
26537 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26538 not 0.
26539 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26540 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26541 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26542 (struct flock): Move l_start, l_len to the beginning.
26543 Use __pid_t for l_pid.
26544 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26545 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26546 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26547 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26548 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26549 [__USE_LARGEFILE64] (struct flock64): New type.
26550 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26551
f0bd3e25
RM
26552 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26553 * bits/dirent.h: ... here.
26554
d34689de
RM
26555 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26556 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26557
6dad2c06
JM
265582012-08-07 Joseph Myers <joseph@codesourcery.com>
26559
26560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26561 Change from 2.6.0 to 2.6.16.
26562 * sysdeps/unix/sysv/linux/configure: Regenerated.
26563 * sysdeps/unix/sysv/linux/kernel-features.h
26564 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26565 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26566 version.
26567 (__ASSUME_UTIMES): Likewise.
26568 (__ASSUME_CLONE_STOPPED): Remove.
26569 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26570 architectures, not kernel version.
26571 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26574 (__ASSUME_WAITID_SYSCALL): Likewise.
26575 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26576 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26577 * README: State 2.6.16 as minimum Linux kernel version. Do not
26578 refer to older versions.
26579
03af9520
RM
265802012-08-06 Roland McGrath <roland@hack.frob.com>
26581
8e49df1d
RM
26582 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26583 Define alphasort64 as an alias.
26584 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26585 Define versionsort64 as an alias.
26586 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26587 Define scandir64 as an alias.
26588 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26589 Define scandirat64 as an alias.
26590 * dirent/alphasort64.c (alphasort64):
26591 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26592 * dirent/versionsort64.c: Likewise.
26593 * dirent/scandir64.c: Likewise.
26594 * dirent/scandirat64.c: Likewise.
26595 * sysdeps/wordsize-64/alphasort.c: File removed.
26596 * sysdeps/wordsize-64/alphasort64.c: File removed.
26597 * sysdeps/wordsize-64/scandir.c: File removed.
26598 * sysdeps/wordsize-64/scandir64.c: File removed.
26599 * sysdeps/wordsize-64/scandirat.c: File removed.
26600 * sysdeps/wordsize-64/scandirat64.c: File removed.
26601 * sysdeps/wordsize-64/versionsort.c: File removed.
26602 * sysdeps/wordsize-64/versionsort64.c: File removed.
26603 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26604 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26605 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26606 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26607 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26608 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26609 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26610 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26611
26612 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26614 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26616 [defined __arch64__ || defined __sparcv9]
26617 (__INO_T_MATCHES_INO64_T): New macro.
26618 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26619 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26620 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26621 * sysdeps/unix/sysv/linux/bits/dirent.h
26622 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26623 (_DIRENT_MATCHES_DIRENT64): New macro.
26624
03af9520
RM
26625 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26626 Define lockf64 as an alias.
26627 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26628 Define fseeko64 as an alias.
26629 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26630 Define ftello64 as an alias.
26631 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26632 Define _IO_fgetpos64 and fgetpos64 as aliases.
26633 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26634 Define _IO_fsetpos64 and fsetpos64 as aliases.
26635 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26636 Conditionalize body on this.
26637 * libio/fseeko64.c: Likewise.
26638 * libio/ftello64.c: Likewise.
26639 * libio/iofgetpos64.c: Likewise.
26640 * libio/iofsetpos64.c: Likewise.
26641 * sysdeps/wordsize-64/lockf.c: File removed.
26642 * sysdeps/wordsize-64/lockf64.c: File removed.
26643 * sysdeps/wordsize-64/fseeko.c: File removed.
26644 * sysdeps/wordsize-64/fseeko64.c: File removed.
26645 * sysdeps/wordsize-64/ftello.c: File removed.
26646 * sysdeps/wordsize-64/ftello64.c: File removed.
26647 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26648 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26649 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26650 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26651 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26652 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26653 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26654 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26655 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26656 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26659 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26660 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26661
26662 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26664 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26666 [defined __arch64__ || defined __sparcv9]
26667 (__OFF_T_MATCHES_OFF64_T): New macro.
26668 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26669 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26671 (__OFF_T_MATCHES_OFF64_T): New macro.
26672
c5757acd
L
266732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26674
26675 * stdlib/secure-getenv.c (__secure_getenv): Replace
26676 GLIBC_2_16 with GLIBC_2_17.
26677
3a31811e
L
266782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26679
26680 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26682
faa2bccb
DM
266832012-08-03 David S. Miller <davem@davemloft.net>
26684
26685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26686
85fe1997
JM
266872012-08-03 Joseph Myers <joseph@codesourcery.com>
26688
26689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26690 Remove.
26691 (__ASSUME_CORRECT_SI_PID): Likewise.
26692 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26693 (__ASSUME_TMPFS_NAME): Likewise.
26694 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26695 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26696 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26697 (HAVE_AUX_SECURE): Make definition unconditional.
26698 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26699 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26700
4f75b7a0
RM
267012012-08-03 Roland McGrath <roland@hack.frob.com>
26702
26703 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26704 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26705 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26706 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26707 __eloop_threshold instead of SYMLOOP_MAX.
26708
26709 * sysdeps/generic/eloop-threshold.h: New file.
26710 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26711 of MAXSYMLINKS.
26712 * elf/chroot_canon.c (chroot_canon): Likewise.
26713
7aab07e4
JM
267142012-08-03 Joseph Myers <joseph@codesourcery.com>
26715
26716 [BZ #13717]
26717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26718 Change to 2.6.0 everywhere.
26719 * sysdeps/unix/sysv/linux/configure: Regenerated.
26720 * sysdeps/unix/sysv/linux/kernel-features.h
26721 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26722 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26723 kernel versions.
26724 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26725 (__ASSUME_FUTEX_REQUEUE): Remove.
26726 (__ASSUME_STATFS64): Define unconditionally.
26727 (__ASSUME_AT_SECURE): Likewise.
26728 (__ASSUME_CORRECT_SI_PID): Likewise.
26729 (__ASSUME_TGKILL): Define without depending on kernel version for
26730 i386.
26731 (__ASSUME_UTIMES): Likewise.
26732 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26733 kernel version.
26734 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26735 (__ASSUME_TMPFS_NAME): Likewise.
26736 * README: Update reference to Linux kernel versions.
26737
b67e9372
MP
267382012-08-02 Marek Polacek <polacek@redhat.com>
26739
1f529f7d 26740 [BZ# 14150]
b67e9372
MP
26741 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26742 libc_cv_asm_type_prefix with %.
26743 * configure: Regenerated.
d2441631
RM
26744 * include/libc-symbols.h: Remove comment about
26745 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26746 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26747 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26748 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26749 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26750 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26751 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26752 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26753 * elf/tst-unique2mod1.c: Likewise.
26754 * elf/tst-unique1mod2.c: Likewise.
26755 * elf/tst-unique1mod1.c: Likewise.
26756 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26757 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26758 Replace ASM_TYPE_DIRECTIVE with .type.
26759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26760 * sysdeps/i386/sysdep.h: Likewise.
26761 * sysdeps/x86_64/sysdep.h: Likewise.
26762 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26764 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26765 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26766 * sysdeps/powerpc/powerpc32/sysdep.h:
26767 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26768 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26769 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26770 * sysdeps/i386/fpu/e_powf.S: Likewise.
26771 * sysdeps/i386/fpu/e_expl.S: Likewise.
26772 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26773 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26774 * sysdeps/i386/fpu/e_pow.S: Likewise.
26775 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26776 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26777 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26778 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26779 * sysdeps/i386/fpu/e_log2.S: Likewise.
26780 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26781 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26782 * sysdeps/i386/fpu/e_powl.S: Likewise.
26783 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26784 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26785 * sysdeps/i386/fpu/e_logl.S: Likewise.
26786 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26787 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26788 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26789 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26790 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26791 * sysdeps/i386/fpu/e_log.S: Likewise.
26792 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26793 * sysdeps/i386/fpu/e_logf.S: Likewise.
26794 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26795 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26796 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26797 * sysdeps/i386/fpu/e_log10.S: Likewise.
26798 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26799 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26800 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26801 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26802 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26803 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26804 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26805 * sysdeps/i386/i686/strtok.S: Likewise.
26806 * sysdeps/i386/i386-mcount.S: Likewise.
26807 * sysdeps/i386/strtok.S: Likewise.
26808 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26809 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26811 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26812 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26813 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26814 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26815 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26817 * sysdeps/x86_64/_mcount.S: Likewise.
26818 * sysdeps/x86_64/strtok.S: Likewise.
26819 * sysdeps/sh/_mcount.S: Likewise.
26820
2747bf9a
RM
268212012-08-01 Roland McGrath <roland@hack.frob.com>
26822
26823 * libio/iofopen.c: Include <fcntl.h>.
26824 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26825 (_IO_fopen64, fopen64): Define as aliases.
26826 * libio/iofopen64.c: Include <fcntl.h>.
26827 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26828 Conditionalize body on this.
26829 * sysdeps/wordsize-64/iofopen.c: File removed.
26830 * sysdeps/wordsize-64/iofopen64.c: File removed.
26831
3fb791b8
MP
268322012-08-01 Marek Polacek <polacek@redhat.com>
26833
26834 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26835 Use dlfcn directly instead of a variable.
26836 (binfmt-subdir): Do not define.
26837 (dlfcn): Likewise.
26838
a9f1039f
JM
268392012-08-01 Joseph Myers <joseph@codesourcery.com>
26840
23bddc06
JM
26841 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26842 Remove all definitions.
26843 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26844 <kernel-features.h>.
26845 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26846 (miss_F_GETOWN_EX): Remove all definitions.
26847 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26848 macro definition.
26849 [!__ASSUME_FCNTL64]: Remove conditional code.
26850 [__ASSUME_FCNTL64]: Make code unconditional.
26851 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26852 <kernel-features.h>.
26853 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26854 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26855 (lockf64) [__NR_fcntl64]: Make code unconditional.
26856 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26857
a9f1039f
JM
26858 * sysdeps/unix/sysv/linux/kernel-features.h
26859 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26860 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26861 Make code unconditional.
26862 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26863 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26865 [__NR_vfork]: Make code unconditional.
26866 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26867 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26869 [__NR_vfork]: Make code unconditional.
26870 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26871 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26872
09c0ee5f
RM
268732012-08-01 Roland McGrath <roland@hack.frob.com>
26874
48aec5b9
RM
26875 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26876 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26877
cd97c966
RM
26878 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26879 Define mkstemp64 as an alias.
3f55550c
RM
26880 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26881 Define mkstemps64 as an alias.
cd97c966
RM
26882 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26883 Define mkostemp64 as an alias.
b8625cfc
RM
26884 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26885 Define mkostemps64 as an alias.
cd97c966
RM
26886 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26887 Conditionalize body on this.
26888 * misc/mkostemp64.c: Likewise.
b8625cfc 26889 * misc/mkostemps64.c: Likewise.
3f55550c 26890 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26891 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26892 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26893 * sysdeps/wordsize-64/mkostemp.c: File removed.
26894 * sysdeps/wordsize-64/mkstemp.c: File removed.
26895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26896 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26897 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26898 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26899
09c0ee5f
RM
26900 [BZ #14138]
26901 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26902 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26903 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26904 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26905
26906 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26907 compat_symbol macros from <shlib-compat.h> rather than the underlying
26908 default_symbol_version and symbol_version macros, so that DEFAULT
26909 lines in shlib-versions are respected.
26910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26911
7e66ee51
FW
269122012-08-01 Florian Weimer <fweimer@redhat.com>
26913
26914 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26915 Declare with warn_unused_result.
26916 (setgid, setregid, setegid, setresgid): Likewise.
26917 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26918 Likewise.
26919 * WUR-REPORT: Remove set*id functions.
26920
d2a54255
PT
269212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26922
26923 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26924
7ecdb005
RM
269252012-07-31 Roland McGrath <roland@hack.frob.com>
26926
b4180a5e 26927 [BZ #10191]
789bd351
RM
26928 * include/sys/socket.h (__libc_accept, __libc_accept4):
26929 Add attribute_hidden.
26930 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26931
40ce302d
RM
26932 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26933 use of PTR_MANGLE.
26934 * inet/getnetgrent_r.c (setup): Likewise.
26935
7ecdb005
RM
26936 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26937
e2eabb2c
DM
269382012-07-31 David S. Miller <davem@davemloft.net>
26939
26940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26941
d0419dbf
JM
269422012-07-31 Joseph Myers <joseph@codesourcery.com>
26943
26944 [BZ #13629]
26945 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26946 value between 1.0 and 2.0 and smaller part has absolute value less
26947 than 1.0.
26948 * math/s_clog10.c (__clog10): Likewise.
26949 * math/s_clog10f.c (__clog10f): Likewise.
26950 * math/s_clog10l.c (__clog10l): Likewise.
26951 * math/s_clogf.c (__clogf): Likewise.
26952 * math/s_clogl.c (__clogl): Likewise.
26953 * math/libm-test.inc (clog_test): Add more tests.
26954 (clog10_test): Likewise.
26955 * sysdeps/i386/fpu/libm-test-ulps: Update.
26956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26957
2bc13872
FW
269582012-07-31 Florian Weimer <fweimer@redhat.com>
26959
26960 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26961 Exit with zero in case no suitable GID is found, and write a
26962 message to standard error.
26963
bea9b193
RM
269642012-07-30 Roland McGrath <roland@hack.frob.com>
26965
26966 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26967 rather than to 1.
26968 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26969 (MAXPATHLEN): Removed.
26970 (NOGROUP, NODEV): New macros.
26971 (setbit, clrbit, isset, isclr): New macros.
26972 (howmany, roundup, powerof2): New macros.
26973 (DEV_BSIZE): New macro.
26974
26975 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26976 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26977
26978 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26979 definition on [!__NO_LONG_DOUBLE_MATH].
26980
26981 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26982 PTR_MANGLE and PTR_DEMANGLE.
26983
26984 * socket/accept4.c (accept4): Rename to __libc_accept4.
26985 Define accept4 as a weak alias.
26986
26987 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26988 on [_DIRENT_HAVE_D_TYPE].
26989 * io/ftw.c (ftw_dir): Likewise.
26990
26991 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26992
26993 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26994
26995 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26996 Use the BSD numbers rather than the arbitrary ones we had.
26997 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26998 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26999 (SIGXCPU, SIGXFSZ): New macros.
27000 (_NSIG): Now 32.
27001
27002 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27003 initializer on [_LIBC_REENTRANT].
27004
27005 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27006 definitions inside [_POSIX_MAPPED_FILES].
27007
27008 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27009
27010 * dirent/opendir.c: Include <fcntl.h>.
27011
27012 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27013 (__libc_getspecific): Likewise.
27014 (__libc_key_create): Likewise.
27015
27016 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27017 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27018 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27019 (tmpfile64): Define as alias.
27020 * sysdeps/wordsize-64/tmpfile.c: File removed.
27021 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27022 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27023 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27024
27025 * stdio-common/vfscanf.c: Include <stdbool.h>.
27026 * nss/makedb.c: Likewise.
27027 * stdio-common/_i18n_number.h: Likewise.
27028 * argp/argp-help.c: Likewise.
27029 * posix/wordexp.c: Likewise.
27030 * sysdeps/posix/spawni.c: Likewise.
27031 * nss/nss_files/files-initgroups.c: Likewise.
27032 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27033 * nss/nss_files/files-initgroups.c: Likewise.
27034 * nss/nss_db/db-netgrp.c: Likewise.
27035 * nss/nss_db/db-initgroups.c: Likewise.
27036 * io/fchmodat.c: Include <sys/stat.h>.
27037
27038 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27039 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27040
27041 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27042 [HAVE_MMAP].
27043
27044 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27045 Add multiple inclusion protection.
27046
e5abc686
DM
270472012-07-27 David S. Miller <davem@davemloft.net>
27048
27049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27050
815e6fa3
GB
270512012-07-27 Gary Benson <gbenson@redhat.com>
27052
27053 [BZ #14298]
27054 * elf/rtld.c: Include <stap-probe.h>.
27055 (dl_main): Added static probes "init_start" and "init_complete".
27056 * elf/dl-load.c: Include <stap-probe.h>.
27057 (lose): Take new parameter "nsid".
27058 Added static probe "map_failed".
27059 (_dl_map_object_from_fd): Pass namespace id to lose.
27060 Added static probe "map_start".
27061 (open_verify): Pass namespace id to lose.
27062 * elf/dl-open.c: Include <stap-probe.h>.
27063 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27064 and "reloc_complete".
27065 * elf/dl-close.c: Include <stap-probe.h>.
27066 (_dl_close_worker): Added static probes "unmap_start" and
27067 "unmap_complete".
27068 * elf/rtld-debugger-interface.txt: New file documenting the above.
27069
9f98c16c
RM
270702012-07-26 Roland McGrath <roland@hack.frob.com>
27071
27072 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27073 rather than a string variable.
27074 * sunrpc/rpc_main.c (h_output): Likewise.
27075 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27076
f3c22df3
PT
270772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27078
27079 * inet/check_native.c: New file.
27080
3129cfc6
JM
270812012-07-26 Joseph Myers <joseph@codesourcery.com>
27082
da865e95
JM
27083 [BZ #13629]
27084 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27085 if larger part has absolute value 1.0.
27086 * math/s_clog10.c (__clog10): Likewise.
27087 * math/s_clog10f.c (__clog10f): Likewise.
27088 * math/s_clog10l.c (__clog10l): Likewise.
27089 * math/s_clogf.c (__clogf): Likewise.
27090 * math/s_clogl.c (__clogl): Likewise.
27091 * math/libm-test.inc (clog_test): Add more tests.
27092 (clog10_test): Likewise.
27093 * sysdeps/i386/fpu/libm-test-ulps: Update.
27094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27095
3129cfc6
JM
27096 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27097 (pltexit): Likewise.
27098 (La_regs): Likewise.
27099 (La_retval): Likewise.
27100 (int_retval): Likewise.
27101 Update #error for removed macros to refer only to definitions in
27102 tst-audit.h.
27103 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27104 macro.
27105 (pltexit): Likewise.
27106 (La_regs): Likewise.
27107 (La_retval): Likewise.
27108 (int_retval): Likewise.
27109 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27110 macro.
27111 (pltexit): Likewise.
27112 (La_regs): Likewise.
27113 (La_retval): Likewise.
27114 (int_retval): Likewise.
27115 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27116 macro.
27117 (pltexit): Likewise.
27118 (La_regs): Likewise.
27119 (La_retval): Likewise.
27120 (int_retval): Likewise.
27121 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27122 macro.
27123 (pltexit): Likewise.
27124 (La_regs): Likewise.
27125 (La_retval): Likewise.
27126 (int_retval): Likewise.
27127 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27128 macro.
27129 (pltexit): Likewise.
27130 (La_regs): Likewise.
27131 (La_retval): Likewise.
27132 (int_retval): Likewise.
27133 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27134 macro.
27135 (pltexit): Likewise.
27136 (La_regs): Likewise.
27137 (La_retval): Likewise.
27138 (int_retval): Likewise.
27139 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27140 macro definitions in tst-audit.h.
27141 * sysdeps/i386/tst-audit.h: New file.
27142 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27143 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27144 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27145 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27146 * sysdeps/sh/tst-audit.h: Likewise.
27147 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27148 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27149 * sysdeps/x86_64/tst-audit.h: Likewise.
27150
bfc07087
AJ
271512012-07-26 Andreas Jaeger <aj@suse.de>
27152
b1b2aaf8
AJ
27153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27154 ptrace.
27155
27156 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27157 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27158 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27159 PTRACE_O_MASK.
27160 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27161 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27162 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27163
bfc07087
AJ
27164 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27165 value.
27166
27167 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27168 _sigsys.
27169 (si_call_addr, si_syscall, si_arch): Define new macro.
27170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27171 _sigsys.
27172 (si_call_addr, si_syscall, si_arch): Define new marcro.
27173 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27174 _sigsys.
27175 (si_call_addr, si_syscall, si_arch): Define new macro.
27176 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27177 _sigsys.
27178 (si_call_addr, si_syscall, si_arch): Define new macro.
27179
89b4b02f
JM
271802012-07-25 Joseph Myers <joseph@codesourcery.com>
27181
27182 [BZ #13717]
27183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27184 Change to 2.4.21 where previously 2.4.1.
27185 * sysdeps/unix/sysv/linux/configure: Regenerated.
27186 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27187 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27188 Linux kernel version.
27189 (__ASSUME_STD_AUXV): Remove.
27190 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27191 kernel version.
27192 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27193 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27194 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27195 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27196 (__ASSUME_NETLINK_SUPPORT): Likewise.
27197 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27198 (__no_netlink_support): Remove conditional definition.
27199 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27200 Remove.
27201 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27202 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27203 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27204 (if_nameindex_ioctl): Remove.
27205 (if_nameindex_netlink): Do not handle __no_netlink_support.
27206 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27207 code.
27208 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27209 Remove conditional code.
27210 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27211 code.
27212 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27213 unconditional.
27214 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27215 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27216 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27217 Remove.
27218 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27219 [!__ASSUME_STD_AUXV]: Remove conditional code.
27220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27221 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27222 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27224 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27225 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27226 code.
27227 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27229 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27230 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27231 conditional code.
27232 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27234 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27235 code.
27236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27237 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27238 conditional code.
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27240 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27241 code unconditional.
27242 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27243 conditional code.
27244 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27245 unconditional.
27246 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27247 conditional code.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27249 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27250 unconditional.
27251 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27252 conditional code.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27254 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27255 code unconditional.
27256 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27257 conditional code.
27258 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27259 unconditional.
27260 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27261 conditional code.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27263 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27264 code unconditional.
27265 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27266 conditional code.
27267 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27268 unconditional.
27269 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27270 conditional code.
27271
842a39cd
AS
272722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27273
27274 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27275 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27276 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27277 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27278 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27279 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27280 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27281 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27282 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27283 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27284 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27285 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27286 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27287 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27289 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27290 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27294 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27295 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27297
84b3fd84
FW
272982012-07-25 Florian Weimer <fweimer@redhat.com>
27299
27300 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27301 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27302 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27303 Introduce __libc_secure_getenv.
0c7936d5
FW
27304 * stdlib/Versions (2.17): Add secure_getenv
27305 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27306 * stdlib/secure-getenv.c: Rename __secure_getenv to
27307 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27308 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27309 * stdlib/tst-secure-getenv.c: New.
27310 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27311 * manual/startup.texi (Environment Access): Document
27312 secure_getenv.
84b3fd84
FW
27313 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27314 __libc_secure_getenv.
27315 * inet/ruserpass.c (ruserpass): Likewise.
27316 * malloc/mtrace.c (mtrace): Likewise.
27317 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27318 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27319 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27320 * sysdeps/posix/tempname.c: Likewise. Evaluate
27321 HAVE_SECURE_GETENV.
27322 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27323 __secure_getenv to __libc_secure_getenv.
84b3fd84 27324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27326 Likewise.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27328 Likewise.
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27336
56e49b71
JM
273372012-07-25 Joseph Myers <joseph@codesourcery.com>
27338
27339 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27340 (struct La_i86_retval): Likewise.
27341 (struct La_x86_64_regs): Likewise.
27342 (struct La_x86_64_retval): Likewise.
27343 (struct La_x32_regs): Likewise.
27344 (struct La_x32_retval): Likewise.
27345 (struct La_ppc32_regs): Likewise.
27346 (struct La_ppc32_retval): Likewise.
27347 (struct La_ppc64_regs): Likewise.
27348 (struct La_ppc64_retval): Likewise.
27349 (struct La_sh_regs): Likewise.
27350 (struct La_sh_retval): Likewise.
27351 (struct La_s390_32_regs): Likewise.
27352 (struct La_s390_32_retval): Likewise.
27353 (struct La_s390_64_regs): Likewise.
27354 (struct La_s390_64_retval): Likewise.
27355 (struct La_sparc32_regs): Likewise.
27356 (struct La_sparc32_retval): Likewise.
27357 (struct La_sparc64_regs): Likewise.
27358 (struct La_sparc64_retval): Likewise.
27359 (struct audit_ifaces): Remove architecture-specific pltenter and
27360 pltexit members.
27361 * sysdeps/i386/ldsodefs.h: New file.
27362 * sysdeps/powerpc/ldsodefs.h: Likewise.
27363 * sysdeps/s390/ldsodefs.h: Likewise.
27364 * sysdeps/sh/ldsodefs.h: Likewise.
27365 * sysdeps/sparc/ldsodefs.h: Likewise.
27366 * sysdeps/x86_64/ldsodefs.h: Likewise.
27367
354691b7
MP
273682012-07-25 Marek Polacek <polacek@redhat.com>
27369
27370 [BZ #6808]
27371 * math/libm-test.inc (yn_test): Add another test.
27372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27373 to ERANGE when the result is +-Inf.
27374 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27375 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27376 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27377 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27378
bf9e2071
JM
273792012-07-24 Joseph Myers <joseph@codesourcery.com>
27380
27381 * conform/data/time.h-data (NULL): Use macro-constant. Require
27382 equal to 0.
27383 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27384 clock_t.
27385 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27386
57633811
TS
273872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27388
27389 * configure.in <sysdeps resolving>: Correct printing
27390 Implies_before.
27391 * configure: Regenerate.
27392
c23c33b0
TS
273932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27394
27395 * math/w_ilogb.c: Include <limits.h>.
27396 * math/w_ilogbl.c: Likewise.
27397
b5982523
JM
273982012-07-20 Joseph Myers <joseph@codesourcery.com>
27399
27400 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27401 va_copy. Document allowing for unavailable va_copy only as
27402 pre-C99 compatibility.
27403 * manual/string.texi (Copying and Concatenation): Use va_copy
27404 instead of __va_copy in concat example.
27405
ac4ea442
PT
274062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27407
27408 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27409 (__sendto): Use create_address_port. Initialize APORT and deallocate
27410 it if not null.
27411
f98eafbd
PT
27412 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27413 with O_NOLINK passed to __file_name_lookup.
27414
898c7aab
PT
27415 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27416 with O_NOLINK passed to __file_name_lookup.
27417
0ced335a
PT
27418 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27419 negative N or less than NGIDS.
27420
b3404dbd
PT
27421 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27422 type to string_t. Set ERANGE as errno and return it if NAME is not big
27423 enough. Use memcpy instead of strncpy.
27424
0f48659e
JM
274252012-07-20 Joseph Myers <joseph@codesourcery.com>
27426
27427 * elf/Makefile (check-data): Remove.
27428 (localplt.data): New vpath directive.
27429 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27430 instead of $(check-data).
27431 * scripts/data/localplt-generic.data: Move to ...
27432 * sysdeps/generic/localplt.data: ... here.
27433 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27434 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27435 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27437 ... here.
27438 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27440 ... here.
27441 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27443 ... here.
27444 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27446 ... here.
27447 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27449 ... here.
27450 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27452 ... here.
27453
d37cbdaa
AZ
274542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27455
27456 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27457 PPC32 and PPC64 files.
27458 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27459 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27460
46f85fc2
AK
274612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27462
27463 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27464 __makecontext_ret to ...
27465 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27466 ... here and call exit if uc_link is NULL. New file.
27467 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27468 __makecontext_ret.S.
27469 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27470 __makecontext_ret to ...
27471 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27472 ... here and call exit if uc_link is NULL. New file.
27473 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27474 __makecontext_ret.S.
27475
08f43f9b
AK
274762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27477
27478 * elf/elf.h (R_390_IRELATIVE): New definition.
27479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27480 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27481 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27482 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27483 (elf_machine_lazy_rel): Likewise.
27484 * sysdeps/s390/dl-irel.h: New file.
27485 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27486 * sysdeps/s390/s390-64/memset.S: New asm code.
27487 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27488 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27489 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27490 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27491 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27492 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27493 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27494 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27495 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27496 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27497 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27498 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27499 * sysdeps/s390/s390-32/memset.S: New asm code.
27500 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27501
3b05db33
MP
275022012-07-17 Marek Polacek <polacek@redhat.com>
27503
27504 [BZ #14349]
27505 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27506 * sysdeps/s390/s390-64/configure.in: Likewise.
27507 * sysdeps/sparc/configure.in: Likewise.
27508 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27509 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27510 * sysdeps/i386/configure.in: Likewise.
27511 * sysdeps/x86_64/configure.in: Likewise.
27512 * sysdeps/sh/configure.in: Likewise.
27513 * sysdeps/s390/s390-32/configure: Regenerated.
27514 * sysdeps/s390/s390-64/configure: Likewise.
27515 * sysdeps/x86_64/configure: Likewise.
27516 * sysdeps/sh/configure: Likewise.
27517 * sysdeps/powerpc/powerpc64/configure: Likewise.
27518 * sysdeps/powerpc/powerpc32/configure: Likewise.
27519 * sysdeps/sparc/configure: Likwise.
27520 * sysdeps/i386/configure: Likewise.
27521
a66877c6
MP
27522 * elf/dl-open.c: Comment fixes.
27523
cfc82fd8
JM
275242012-07-17 Joseph Myers <joseph@codesourcery.com>
27525
bd29910a
JM
27526 * Makefile [CXX] (check-data): Remove.
27527 [CXX] (c++-types.data): New vpath directive.
27528 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27529 vpath. Do not allow for C++ type data being missing.
27530 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27531 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27532 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27533 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27534 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27535 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27536 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27538 ... here.
27539 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27541 ... here.
27542 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27544 ... here.
27545 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27547 ... here.
27548 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27550 ... here.
27551 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27553 ... here.
27554 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27556 ... here.
27557 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27559
cfc82fd8
JM
27560 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27561 definitions to architecture-specific files.
27562 (TLS_IE): Likewise.
27563 (TLS_LD): Likewise.
27564 (TLS_GD): Likewise.
27565 * sysdeps/i386/tls-macros.h: New file.
27566 * sysdeps/powerpc/tls-macros.h: Likewise.
27567 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27568 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27569 * sysdeps/sh/tls-macros.h: Likewise.
27570 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27571 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27572 * sysdeps/x86_64/tls-macros.h: Likewise.
27573
f7db3170
TS
275742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27575
07cbfc23
TS
27576 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27577 zero value for regular exit case.
27578
f7db3170
TS
27579 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27580 (__start_context): Preserve zero value for regular exit case.
27581
dc97c227
TS
275822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27583 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27584
27585 * manual/setjmp.texi (setcontext): Clarify normal process
27586 termination when uc_link is the null pointer.
27587 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27588 exit call.
27589
d0cd7d02
AS
275902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27591
27592 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27593 preprocessor. Test for each exception mask separately.
27594
dd318934
AJ
275952012-07-16 Andreas Jaeger <aj@suse.de>
27596
27597 * po/ru.po: Update from translation team.
27598
8048311a
JM
275992012-07-15 Joseph Myers <joseph@codesourcery.com>
27600
27601 * conform/data/string.h-data (NULL): Use macro-constant. Require
27602 equal to 0.
27603 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27604 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27605 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27606 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27608
b637d46e
AJ
276092012-07-13 Andreas Jaeger <aj@suse.de>
27610
27611 * po/fr.po: Update from translation team.
27612
541428fe
MP
276132012-07-12 Marek Polacek <polacek@redhat.com>
27614
27615 [BZ #14173]
27616 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27617 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27618 loop condition.
27619
ec332e94
JM
276202012-07-12 Joseph Myers <joseph@codesourcery.com>
27621
27622 [BZ #13717]
27623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27624 Change to 2.4.1 where previously 2.4.0.
27625 * sysdeps/unix/sysv/linux/configure: Regenerated.
27626 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27627 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27628 version.
27629 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27630 (__ASSUME_AT_CLKTCK): Remove.
27631 (__ASSUME_AT_PAGESIZE): Likewise.
27632 (__ASSUME_AT_XID): Likewise.
27633 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27634 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27635 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27636 unconditionally.
27637 (HAVE_AUX_PAGESIZE): Likewise.
27638 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27639 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27640 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27641
7b6e99be
JB
276422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27643
27644 [BZ #14307]
27645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27646 the temporary buffer used to invoke __gethostbyname2_r,
27647 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27648 host_data / struct gaih_addrtuple.
27649 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27650 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27651 header file nss/nsswitch.h.
27652 * nss/nsswitch.h (global scope): Add definition of implementation
27653 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27654 resolv/nss_dns/dns-host.c).
27655
608404eb
AJ
276562012-07-11 Andreas Jaeger <aj@suse.de>
27657
27658 * po/fr.po: Update from translation team.
27659
71220aca
AJ
27660 * po/sv.po: Update from translation team
27661 * po/fr.po: Another update from translation team.
27662
28cfe843
AZ
276632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27664
27665 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27666 for subnormals or multiply small sinh result by itself.
27667 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27669
6b90f981
DM
276702012-07-11 David S. Miller <davem@davemloft.net>
27671
27672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27673
c6825772
AS
276742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27675
27676 [BZ #14347]
27677 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27678 (INTERNAL_MARK): Shift it here.
27679
7b8e0d49
MP
276802012-07-10 Marek Polacek <polacek@redhat.com>
27681
27682 [BZ #14151]
27683 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27684 libc_cv_asm_global_directive with .globl.
27685 * configure: Regenerated.
27686 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27687 with .globl.
27688 * sysdeps/i386/configure: Regenerated.
27689 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27690 with .globl.
27691 * sysdeps/x86_64/configure: Regenerated.
27692 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27693 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27694 * elf/tst-unique2mod2.c: Likewise.
27695 * elf/tst-unique2mod1.c: Likewise.
27696 * elf/tst-unique1mod2.c: Likewise.
27697 * elf/tst-unique1mod1.c: Likewise.
27698 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27699 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27701 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27702 * sysdeps/mach/sysdep.h: Likewise.
27703 * sysdeps/i386/sysdep.h: Likewise.
27704 * sysdeps/i386/i386-mcount.S: Likewise.
27705 * sysdeps/x86_64/_mcount.S: Likewise.
27706 * sysdeps/x86_64/sysdep.h: Likewise.
27707 * sysdeps/sh/_mcount.S: Likewise.
27708 * sysdeps/sh/sysdep.h: Likewise.
27709 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27710 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27711 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27712 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27713 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27714 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27715 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27716 * locale/localeinfo.h: Likewise.
27717 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27718 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27719
6c55cda3
RM
277202012-07-09 Roland McGrath <roland@hack.frob.com>
27721
27722 [BZ #14336]
27723 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27724 system".
27725 * manual/message.texi (The Uniforum approach): Likewise.
27726 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27727 (glibc iconv Implementation): Likewise.
27728
638a572e
JM
277292012-07-09 Joseph Myers <joseph@codesourcery.com>
27730
27731 [BZ #14337]
27732 * math/s_clog.c (__clog): Avoid scaling a value down where that
27733 could result in underflow.
27734 * math/s_clog10.c (__clog10): Likewise.
27735 * math/s_clog10f.c (__clog10f): Likewise.
27736 * math/s_clog10l.c (__clog10l): Likewise.
27737 * math/s_clogf.c (__clogf): Likewise.
27738 * math/s_clogl.c (__clogl): Likewise.
27739 * math/libm-test.inc (clog_test): Add more tests.
27740 (clog10_test): Likewise.
27741 * sysdeps/i386/fpu/libm-test-ulps: Update.
27742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27743
261f4859
AS
277442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27745
0abaf3e4
AS
27746 [BZ #14283]
27747 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27748 by 7 not 8 to examine high bit of fractional part.
27749
261f4859
AS
27750 [BZ #14042]
27751 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27752 for call to __mcount_internal.
27753 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27754 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27755 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27756
f17ac40d
JM
277572012-07-06 Joseph Myers <joseph@codesourcery.com>
27758
9ad63c23
JM
27759 [BZ #14154]
27760 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27761 approximation for values within 0x1p-13f of an odd multiple of
27762 pi/4.
27763 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27764 exception. Add more tests.
27765 * sysdeps/i386/fpu/libm-test-ulps: Update.
27766
f17ac40d
JM
27767 [BZ #6778]
27768 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27769 inputs and return -1 for them. Do not check for +Inf in case not
27770 reachable for +Inf.
27771 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27772 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27773 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27774 and return -1 for them. Do not check for +Inf in case not
27775 reachable for +Inf.
27776 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27777 define.
27778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27779 and return -1 for them. Do not check for +Inf in case not
27780 reachable for +Inf.
27781 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27782 spurious underflow.
27783 * sysdeps/i386/fpu/libm-test-ulps: Update.
27784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27785
fb21f89b
MF
277862012-07-06 Mike Frysinger <vapier@gentoo.org>
27787
27788 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27789
cdfe2c5e
JM
277902012-07-05 Joseph Myers <joseph@codesourcery.com>
27791
27792 [BZ #14157]
27793 [BZ #14331]
27794 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27795 could result in spurious underflow. Scale down values above
27796 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27797 * math/s_csqrtf.c (__csqrtf): Likewise.
27798 * math/s_csqrtl.c (__csqrtl): Likewise.
27799 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27800 spurious underflow.
27801 * sysdeps/i386/fpu/libm-test-ulps: Update.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27803
70d35b67
AS
278042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27805
704bc459
AS
27806 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27807 xopen-msg.sed.
27808 * catgets/xopen-msg.awk: New file.
27809 * catgets/xopen-msg.sed: Removed.
27810
70d35b67
AS
27811 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27812 po2text.sed.
27813 * intl/po2test.awk: New file.
27814 * intl/po2test.sed: Removed.
27815
ca61cf32
JM
278162012-07-04 Joseph Myers <joseph@codesourcery.com>
27817
27818 [BZ #14328]
27819 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27820 or multiply small sinh result by itself.
27821 * math/s_ctanf.c (__ctanf): Likewise.
27822 * math/s_ctanh.c (__ctanh): Likewise.
27823 * math/s_ctanhf.c (__ctanhf): Likewise.
27824 * math/s_ctanhl.c (__ctanhl): Likewise.
27825 * math/s_ctanl.c (__ctanl): Likewise.
27826 * math/libm-test.inc (ctan_test_tonearest): New function.
27827 (ctan_test_towardzero): Likewise.
27828 (ctan_test_downward): Likewise.
27829 (ctan_test_upward): Likewise.
27830 (ctanh_test_tonearest): Likewise.
27831 (ctanh_test_towardzero): Likewise.
27832 (ctanh_test_downward): Likewise.
27833 (ctanh_test_upward): Likewise.
27834 (main): Call these new functions.
27835 * sysdeps/i386/fpu/libm-test-ulps: Update.
27836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27837
ca48a46a
MF
278382012-07-03 Mike Frysinger <vapier@gentoo.org>
27839
27840 * .gitignore: Delete /ports entry.
27841
9d63d37d
AJ
278422012-07-03 Andreas Jaeger <aj@suse.de>
27843
27844 * po/bg.po: Update from translation team.
27845 * po/cs.po: Likewise.
27846 * po/de.po: Likewise.
27847 * po/hr.po: Likewise.
27848 * po/nl.pl: Likewise.
27849 * po/pl.po: Likewise.
27850 * po/vi.po: Likewise.
27851
370ca3d2
JM
278522012-07-03 Joseph Myers <joseph@codesourcery.com>
27853
95f5a9a8
JM
27854 * Makeconfig [!+link] (+link-before-libc): New variable.
27855 [!+link] (+link-after-libc): Likewise.
27856 [!+link] (+link-tests): Likewise.
27857 [!+link] (+link): Define in terms of $(+link-before-libc) and
27858 $(+link-after-libc).
27859 [!+link-static] (+link-static-before-libc): New variable.
27860 [!+link-static] (+link-static-after-libc): Likewise.
27861 [!+link-static] (+link-static-tests): Likewise.
27862 [!+link-static] (+link-static): Define in terms of
27863 $(+link-static-before-libc) and $(+link-static-after-libc).
27864 [build-shared] (link-libc-before-gnulib): New variable.
27865 [build-shared] (link-libc-tests): Likewise.
27866 [build-shared] (link-libc): Define in terms of
27867 $(link-libc-before-gnulib).
27868 [!build-shared] (link-libc-tests): New variable.
27869 (link-libc-static-tests): New variable.
27870 [!gnulib] (gnulib-arch): New variable.
27871 [!gnulib] (gnulib-tests): Likewise.
27872 [!gnulib] (static-gnulib-arch): Likewise.
27873 [!gnulib] (static-gnulib-tests): Likewise.
27874 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27875 Define with "=" instead of ":=".
27876 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27877 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27878 * Rules (binaries-all-notests): New variable.
27879 (binaries-all-tests): Likewise.
27880 (binaries-static-notests): Likewise.
27881 (binaries-static-tests): Likewise.
27882 (binaries-all): Define using $(binaries-all-notests) and
27883 $(binaries-all-tests).
27884 (binaries-static): Define using $(binaries-static-notests) and
27885 $(binaries-static-tests).
27886 (binaries-shared-tests): New variable.
27887 (binaries-shared-notests): Likewise.
27888 (binaries-shared): Remove variable.
27889 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27890 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27891 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27892 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27893 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27894 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27895 * elf/Makefile (sln-modules): New variable.
27896 (extra-objs): Add $(sln-modules:=.o).
27897 (ldconfig-modules): Add static-stubs.
27898 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27899 * elf/static-stubs.c: New file.
27900
7a845b2c
JM
27901 [BZ #14283]
27902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27903 by 7 not 8 to examine high bit of fractional part. Use volatile
27904 variables when splitting into final array of floats if
27905 __FLT_EVAL_METHOD__ != 0.
27906 * math/libm-test.inc (cos_test): Add another test.
27907 (sin_test): Likewise.
27908 * sysdeps/i386/fpu/libm-test-ulps: Update.
27909
e2283f38
JM
27910 [BZ #14273]
27911 * math/libm-test.inc (cosh_test): Add more tests.
27912
370ca3d2
JM
27913 * version.h (RELEASE): Set to "development".
27914 (VERSION): Set to "2.16.90".
27915
ee9247c3
CD
279162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27917
27918 * NEWS: Update copyright. Remove last-updated date.
27919 Mention math library bug fixes and timezone data changes.
27920 * README: Mention GNU/Hurd, x32, and HPPA support status.
27921
4648c381
TS
279222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27923
27924 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27925
aac78a43
AJ
279262012-06-27 Andreas Jaeger <aj@suse.de>
27927
27928 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27929
ed3dbfad
AJ
279302012-06-25 Andreas Jaeger <aj@suse.de>
27931
27932 * sysdeps/s390/fpu/libm-test-ulps: Update.
27933
4d0ee855
AS
279342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27935 Thomas Schwinge <thomas@codesourcery.com>
27936
27937 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27938 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27940 fanotify_mark.
27941
af1bce34
TS
279422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27943
a9fa33ba
TS
27944 * sysdeps/mach/start.c: Remove file.
27945 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27946 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27947 * sysdeps/sh/init-first.c: Likewise.
27948
58f902b8
TS
27949 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27950 registers for frame unwinding purposes, add CFI directives.
27951 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27953 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27954 Likewise.
27955
1518f58b
TS
27956 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27957 __fortify_fail returning.
27958 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27959
db9b5059
TS
27960 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27961 sysdeps/sh/____longjmp_chk.S.
27962 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27963 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27964 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27965 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27966
967705fe
TS
27967 * sysdeps/sh/abort-instr.h: New file.
27968 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27969 process in case exit returns.
27970
a9def8c4
TS
27971 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27972 initialize the GOT register before use.
27973
2a649725
TS
27974 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27975 calculation of ARGC > 4.
27976
af1bce34
TS
27977 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27978 meaningful names to some local labels.
27979
d230f50a
KK
279802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27981 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27982
27983 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27984 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27985 (__arch_compare_and_exchange_val_16_acq): Likewise.
27986 (__arch_compare_and_exchange_val_32_acq): Likewise.
27987 (atomic_exchange_and_add): Fix gUSA sequence.
27988 (atomic_add): Likewise.
27989 (atomic_add_negative): Likewise.
27990 (atomic_add_zero): Likewise.
27991 (atomic_bit_test_set): Likewise.
27992
0479b305
AS
279932012-06-22 Andreas Schwab <schwab@redhat.com>
27994
27995 [BZ #13579]
27996 * include/link.h (struct link_map): Add l_free_initfini.
27997 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27998 l_initfini.
27999 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28000 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28001 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28002 set.
28003
0e3933b9
CD
280042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28005
28006 * configure.in: Use AC_LANG_SOURCE.
28007 * configure: Regenerate.
28008
4248b1b1
RM
280092012-06-22 Roland McGrath <roland@hack.frob.com>
28010
28011 * configure.in (libc_cv_localstatedir): New substituted variable.
28012 * configure: Regenerated.
28013 * config.make.in (localstatedir): New variable, substituted from
28014 libc_cv_localstatedir.
28015 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28016 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28017 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28018 * sysdeps/gnu/configure: Regenerated.
28019
006dd861
JL
280202012-06-21 Jeff Law <law@redhat.com>
28021
28022 [BZ #14277]
28023 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28024 free. Simplify list management for _LIBC case.
28025
79662d42
JM
280262012-06-21 Joseph Myers <joseph@codesourcery.com>
28027
b7abb4bf
JM
28028 [BZ #14273]
28029 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28030 Clear sign bit of 64-bit integer value before comparing against
28031 overflow value.
28032
79662d42
JM
28033 * sysdeps/mach/configure: Regenerated.
28034
1f150908
L
280352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28036
28037 [BZ #14278]
28038 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28039
28363bbf
JL
280402012-06-21 Jeff Law <law@redhat.com>
28041
28042 [BZ #13882]
28043 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28044 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28045 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28046 * elf/dl-open.c (dl_open_worker): Likewise.
28047
09615db4
CD
280482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28049
28050 * scripts/list-sources.sh: Scan PORTS for translations.
28051 * po/libc.pot: Regenerated.
28052
2174c6dd
AJ
280532012-06-21 Andreas Jaeger <aj@suse.de>
28054
28055 [BZ #12194]
28056 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28057 warning.
28058 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28059 * bits/byteswap-16.h (__bswap_16): Likewise.
28060 * bits/byteswap.h (__bswap_constant_16): Likewise.
28061
3ee947b1
L
280622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28063
28064 [BZ #14117]
a2f34833
L
28065 * sysdeps/i386/fpu_control.h: Removed.
28066 * sysdeps/x86_64/fpu_control.h: Moved to ...
28067 * sysdeps/x86/fpu_control.h: Here.
28068
3ee947b1
L
28069 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28070 (_FPU_SETCW): Likewise.
28071
ed1825f8
L
280722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28073
25f1282a
L
28074 [BZ #14117]
28075 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28076 * sysdeps/x86/fpu/bits/mathinline.h: This.
28077 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28078
ed1825f8
L
28079 [BZ #14050]
28080 [BZ #14117]
28081 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28082 functions if __x86_64__ is defined.
28083
36d54b74
CLT
280842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28085
28086 * string/endian.h: Add !__ASSEMBLER__ condition for including
28087 conversion interfaces.
28088
10285c21
JM
280892012-06-15 Joseph Myers <joseph@codesourcery.com>
28090
28091 [BZ #14241]
28092 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28093 of ABS(x) in calculating zero to negative powers other than odd
28094 integers.
28095 * math/libm-test.inc (pow_test): Add more tests.
28096
06c5abbd
AJ
280972012-06-15 Andreas Jaeger <aj@suse.de>
28098
28099 * manual/contrib.texi (Contributors): Update entry of Liubov
28100 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28101 Machado Filho.
28102
a3aeac40
CH
281032012-06-15 Cyril Hrubis <metan@ucw.cz>
28104
28105 * string/string.h: Add __wur to GNU version of strerror_r.
28106
49bdf4c1
L
281072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28108
28109 [BZ #14229]
28110 * string/Makefile (tests): Add tst-strtok_r.
28111 * string/tst-strtok_r.c: New file.
28112 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28113 RAX_LP/RDX_LP on SAVE_PTR.
28114
834f9b8d
RM
281152012-06-14 Roland McGrath <roland@hack.frob.com>
28116
28117 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28118
75fa1921
JM
281192012-06-14 Joseph Myers <joseph@codesourcery.com>
28120
28121 * libm_test.inc (csqrt_test): Allow more spurious underflow
28122 exceptions.
28123 (j0_test): Likewise.
28124 (j1_test): Likewise.
28125 (y0_test): Likewise.
28126 (y1_test): Likewise.
28127
771766df
CD
281282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28129
28130 * po/Makefile (libc.pot): Use UTF-8 charset.
28131
ceb9e56b
PP
281322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28133
28134 [BZ #14210]
28135 Suppress sign-conversion warning from FD_SET.
28136 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28137 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28138 not unsigned long int.
28139 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28140
ddb28975
L
281412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 [BZ #14050]
28144 [BZ #14117]
28145 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28146 __extern_always_inline instead of __extern_inline.
28147 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28148 (__signbit): Likewise.
28149 (__signbitl): Support C++ namespace.
28150 (lrintf): New inline function.
28151 (lrint): Likewise.
28152 (llrintf): Likewise.
28153 (llrint): Likewise.
28154 (fmaxf): Likewise.
28155 (fmax): Likewise.
28156 (fminf): Likewise.
28157 (fmin): Likewise.
28158 (rint): Likewise.
28159 (rintf): Likewise.
28160 (ceil): Likewise.
28161 (ceilf): Likewise.
28162 (floor): Likewise.
28163 (floorf): Likewise.
28164 (nearbyint): Likewise.
28165 (nearbyintf): Likewise.
28166
d7b4fb26
TS
281672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28168
28169 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28170 non-default versions.
28171
eb55f5c2
RM
281722012-06-11 Roland McGrath <roland@hack.frob.com>
28173
28174 [BZ #14218]
28175 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28176
366af02c
TS
281772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28178
99ff6e5c
TS
28179 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28180 (FE_UPWARD, FE_DOWNWARD): Don't define.
28181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28182 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28183
366af02c
TS
28184 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28185 reading it.
28186 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28187 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28188
793ea851
KK
281892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28190
28191 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28193 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28194 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28195
a728a38f
L
281962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 [BZ #14117]
c08010c7
L
28199 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28200 * sysdeps/i386/fpu/Implies: New file.
28201 * sysdeps/x86_64/fpu/Implies: Likewise.
28202 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28203 * sysdeps/x86/fpu/bits/fenv.h: This.
28204
a728a38f
L
28205 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28206 __SSE_MATH__.
28207
6e230d11
SP
282082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
28210 [BZ #14134]
28211 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28212 character 0xffff that matches the last element of the
28213 conversion table.
28214
1b671feb
AZ
282152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28216
28217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28218 fmodl commit.
28219
6043738b
AZ
282202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28221
28222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28223 values higher than 25.6283.
28224
34ae0b32
AZ
282252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28226
28227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28228 subnormal exponent extraction and add some __builtin_expect.
28229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28230 Fix for subnormal mantissa calculation.
28231
1214ec8f
MF
282322012-06-04 Mike Frysinger <vapier@gentoo.org>
28233
28234 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28235 cpu2 is -1 and errno is not ENOSYS.
28236
f3d1f93c
L
282372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28238
28239 [BZ #14117]
0e4a3cd7
L
28240 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28241 * sysdeps/x86/bits/string.h: This.
28242 * sysdeps/x86_64/bits/string.h: Removed.
28243
6704c645
L
28244 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28245 if not compiling for x86-64, but compiling for >= i486.
28246
48495318
L
28247 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28248 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28249
14adcbfc
L
28250 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28251 New macro from Linux kernel 3.4.0.
28252 (FP_XSTATE_MAGIC2): Likewise.
28253 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28254 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28255 (struct _fpx_sw_bytes): New struct.
28256 (struct _xsave_hdr): Likewise.
28257 (struct _ymmh_state): Likewise.
28258 (struct _xstate): Likewise.
28259
68e408ab
L
28260 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28261 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28263 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28264 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28265 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28266
f3d1f93c
L
28267 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28268 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28269 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28270 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28271 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28272 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28273
d9dc34cd
TMQMF
282742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28275
28276 [BZ #13743]
28277 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28278 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28279 (sysdep_headers): Include sys/platform/ppc.h.
28280 * sysdeps/powerpc/test-gettimebase.c: Test for
28281 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28282 * manual/Makefile (appendices): Include platform.texi.
28283 * manual/contrib.texi (Contributors): Update @node pointers.
28284 * manual/maint.texi (Maintenance): Likewise.
28285 (Platform): New node.
28286 * manual/platform.texi: New file. Document the new features.
28287
4af3879c
SP
282882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28289 Jakub Jelinek <jakub@redhat.com>
28290
28291 [BZ #14188]
28292 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28293 where __builtin_expect is unavailable.
28294
2fd6ff13
DM
282952012-06-03 David S. Miller <davem@davemloft.net>
28296
28297 * stdlib/longlong.h: Updated from GCC.
28298
173f7220
AS
282992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28300
28301 [BZ #14042]
28302 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28303 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28304 __mcount_internal.
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28306 (GLIBC_2.16): Likewise.
28307
f34a1c6f
L
283082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28311
88a4576f
JM
283122012-06-01 Joseph Myers <joseph@codesourcery.com>
28313
ea32bcdd
JM
28314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28315 (default-abi): New variable.
28316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28317 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28318 variable.
28319 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28320 Likewise.
28321 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28322 Likewise.
28323 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28324 Likewise.
28325
88a4576f
JM
28326 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28327 definition. Document in comment.
28328
402fe938
DM
283292012-06-01 David S. Miller <davem@davemloft.net>
28330
28331 * stdlib/longlong.h: Updated from GCC.
28332
3553723f
L
283332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28334
28335 [BZ #14117]
3bd872c4
L
28336 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28337 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28338 sys/debugreg.h sys/io.h here.
28339 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28340 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28341 sys/io.h.
28342 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28343 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28344 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28345 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28346 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28347 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28348
3553723f
L
28349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28350 Define only if __x86_64__ is defined.
28351
4842e4fe
JM
283522012-06-01 Joseph Myers <joseph@codesourcery.com>
28353
c5bfe3d5
JM
28354 [BZ #14048]
28355 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28356 Use int64_t for variable i.
28357 * math/libm-test.inc (fmod_test): Add more tests.
28358
4842e4fe
JM
28359 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28360 z computation is not scheduled after fetestexcept.
28361 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28362 Use math_force_eval instead of asm to ensure calculation scheduled
28363 before exception test.
28364 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28365 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28366
efb73488
AJ
283672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28368
28369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28370 computation is not scheduled after fetestexcept.
28371
29bcce7c
L
283722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 [BZ #14117]
28375 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28376 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28377
73a68f94
AZ
283782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28379
28380 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28381 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28382
67b6df78
L
283832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28384
edf2933a 28385 [BZ #14117]
ebc64a18
L
28386 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28387 <bits/wordsize.h>.
28388 (__WCHAR_MIN): Support __WORDSIZE == 64.
28389 (__WCHAR_MAX): Likewise.
28390
edf2933a
L
28391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28393
57c6cf40
L
28394 [BZ #14183]
28395 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28396 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28397
67b6df78 28398 [BZ #14117]
8eb6281e
L
28399 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28400 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28401
aac639f4
L
28402 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28403 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28404
67b6df78
L
28405 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28406 Defined to 1 if __x86_64__ isn't defined.
28407 (_STAT_VER_LINUX_OLD): New.
28408 (st_atime): Remove duplicate.
28409 (st_mtime): Likewise.
28410 (st_ctime): Likewise.
28411
1c2cfe81
DM
284122012-05-31 David S. Miller <davem@davemloft.net>
28413
28414 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28415 entries.
28416
5be8418c
AS
284172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28418
e7725326
AS
28419 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28420 gen-libm-test.pl.
28421
5be8418c
AS
28422 [BZ #14132]
28423 * elf/dl-reloc.c: Include <_itoa.h>.
28424 (_dl_reloc_bad_type): Remove use of INTUSE.
28425 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28426 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28427 * stdio-common/psiginfo.c (psiginfo): Likewise.
28428 * stdio-common/psignal.c (psignal): Likewise.
28429 * string/strsignal.c (strsignal): Likewise.
28430 * include/signal.h (_sys_siglist): Declare hidden proto.
28431 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28432 INTVARDEF with libc_hidden_data_def.
28433 * stdio-common/itoa-udigits.c: Likewise.
28434 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28435 (_itoa_lower_digits_internal): Remove declaration.
28436 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28437 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28438 (_sys_sigabbrev_internal): Remove aliases.
28439 (_sys_siglist): Define hidden alias.
28440
507352f1
MT
284412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28442
28443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28444 bits/sysctl.h.
28445
42bbb1c3
L
284462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28447
28448 [BZ #14117]
6bd784b6
L
28449 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28450 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28451
8bca20f0
L
28452 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28453 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28454 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28455 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28456 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28457 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28458
f9e890a9
L
28459 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28460 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28461 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28462
471101a1
L
28463 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28464 with __addr.
28465 (insw): Likewise.
28466 (insl): Likewise.
28467 (outsb): Likewise.
28468 (outsw): Likewise.
28469 (outsl): Likewise.
28470
6451c862
L
28471 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28473 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28474
a254b8c9
L
28475 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28476 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28478 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28479 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28480 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28481
b8dfdd92
L
28482 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28483 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28484
578cd270
L
28485 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28486 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28487
de662f5f
L
28488 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28490 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28491
25653439
L
28492 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28493 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28494 to ...
28495 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28496
6bad24a0
L
28497 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28498 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28499 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28500
42bbb1c3
L
28501 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28502 for x86-64.
28503 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28504
2d10d547
JM
285052012-05-31 Joseph Myers <joseph@codesourcery.com>
28506
28507 * math/math.h (M_El): Use two more decimal places.
28508 (M_LOG2El): Likewise.
28509 (M_LOG10El): Likewise.
28510 (M_LN2l): Likewise.
28511 (M_LN10l): Likewise.
28512 (M_PIl): Likewise.
28513 (M_PI_2l): Likewise.
28514 (M_PI_4l): Likewise.
28515 (M_1_PIl): Likewise.
28516 (M_2_PIl): Likewise.
28517 (M_2_SQRTPIl): Likewise.
28518 (M_SQRT2l): Likewise.
28519 (M_SQRT1_2l): Likewise.
28520
f230c29b
DM
285212012-05-31 David S. Miller <davem@davemloft.net>
28522
28523 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28524 values between float registers.
28525 * sysdeps/sparc/sparc64/memset.S: Likewise.
28526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28527
fed806c3
MF
285282012-05-31 Mike Frysinger <vapier@gentoo.org>
28529
28530 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28531 -D_FORTIFY_SOURCE=1.
28532 (CPPFLAGS-tst-longjmp_chk.c): Define.
28533 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28534 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28535 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28536 CFLAGS-tst-wchar-h.c.
28537
30917259
MP
285382012-05-31 Marek Polacek <polacek@redhat.com>
28539
28540 [BZ #14132]
28541 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28542 __endmntent_internal): Remove declaration.
28543 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28544 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28545 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28546
1c58d5dc
DM
285472012-05-30 David S. Miller <davem@davemloft.net>
28548
28549 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28550 (___Q_simulate_exceptions): Use real FP ops rather than writing
28551 into the %fsr.
28552 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28553 Likewise.
28554
7dc00e0d
L
285552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28556
28557 [BZ #14117]
0bd53985
L
28558 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28559 * sysdeps/x86/bits/xtitypes.h: This.
28560
3a257e66
L
28561 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28562 * sysdeps/x86/bits/wordsize.h: This.
28563
62f62904
L
28564 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28565 * sysdeps/x86/bits/huge_vall.h: This.
28566
404fe9d9
L
28567 * sysdeps/i386/bits/select.h: Removed.
28568 * sysdeps/x86_64/bits/select.h: Renamed to ...
28569 * sysdeps/x86/bits/select.h: This.
28570
d48d0446
L
28571 * sysdeps/i386/bits/setjmp.h: Removed.
28572 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28573 * sysdeps/x86/bits/setjmp.h: This.
28574
7dc00e0d
L
28575 * sysdeps/i386/bits/mathdef.h: Removed.
28576 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28577 * sysdeps/x86/bits/mathdef.h: This.
28578
03277f8f
AS
285792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28580
28581 [BZ #14132]
28582 * include/sys/socket.h (__connect_internal)
28583 (__libc_sa_len_internal): Remove declaration.
28584 (__connect, __libc_sa_len): Declare hidden_proto.
28585 (SA_LEN): Remove use of INTUSE.
28586 * socket/connect.c: Add libc_hidden_def.
28587 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28588 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28589 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28590 alias.
28591 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28592 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28593 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28594 of adding _internal alias.
28595
13764867
L
285962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 [BZ #14117]
6bd97696
L
28599 * sysdeps/i386/bits/link.h: Removed.
28600 * sysdeps/i386/bits/linkmap.h: Likewise.
28601 * sysdeps/x86_64/bits/link.h: Renamed to ...
28602 * sysdeps/x86/bits/link.h: This.
28603 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28604 * sysdeps/x86/bits/linkmap.h: This.
28605
f726f0bb
L
28606 * sysdeps/i386/bits/endian.h: Removed.
28607 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28608 * sysdeps/x86/bits/endian.h: This.
28609
13764867
L
28610 * sysdeps/i386/bits/byteswap.h: Removed.
28611 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28612 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28613 * sysdeps/x86/bits/byteswap.h: This.
28614 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28615 * sysdeps/x86/bits/byteswap-16.h: This.
28616 * sysdeps/i386/Implies: Add x86.
28617 * sysdeps/x86_64/Implies: Likewise.
28618
ae251b0b
DM
286192012-05-30 David S. Miller <davem@davemloft.net>
28620
28621 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28622 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28623 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28624 (FP_TRAPPING_EXCEPTIONS): Define.
28625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28626 (FP_TRAPPING_EXCEPTIONS): Define.
28627 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28628 subnormals only when inexact has been signalled or underflow
28629 exceptions are enabled.
28630 (_FP_PACK_CANONICAL): Likewise.
28631
d5c90867
L
286322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28633
28634 [BZ #14183]
28635 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28636 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28637
63f1549e
RH
286382012-05-30 Richard Henderson <rth@twiddle.net>
28639
8d8f2279
RH
28640 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28641 with #ifndef NOT_IN_libc.
28642
63f1549e
RH
28643 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28644 marked to avoid plt entry.
28645
0ab0291b
L
286462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 [BZ #14112]
28649 * Makeconfig (default-abi): New macro.
28650 (abi-includes): Likewise.
28651 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28652 $(abi-$(default-abi)-lib-soname) for soname if defined.
28653 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28654 abi-variants.
28655 * Makefile (installed-stubs): Likewise.
28656 * include/stubs-biarch.h: Removed.
28657 * scripts/lib-names.awk: Only handle one library at a time.
28658 * scripts/soversions.awk: Remove WORDSIZE support.
28659 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28660 entries.
28661 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28662 Removed.
28663 (syscall-list-default-condition): Likewise.
28664 (syscall-list-default-condition): Likewise.
28665 (syscall-list-includes): Likewise.
28666 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28667 syscall-list-* with abi-*. Handle undefined abi-variants.
28668 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28669 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28670 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28671 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28672 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28673 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28674 Removed.
28675 (syscall-list-32-options): Likewise.
28676 (syscall-list-32-condition): Likewise.
28677 (syscall-list-64-options): Likewise.
28678 (syscall-list-64-condition): Likewise.
28679 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28680 macro.
28681 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28682 Renamed to ...
28683 (abi-*): This.
28684 (abi-64-ld-soname): New macro.
28685 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28686 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28687 Renamed to ...
28688 (abi-*): This.
28689 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28690 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28691
4da0431d
JM
286922012-05-30 Joseph Myers <joseph@codesourcery.com>
28693
3a85279c
JM
28694 * sysdeps/unix/sysv/linux/kernel-features.h
28695 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28696 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28697 include <kernel-features.h>.
28698 [!__NR_ftruncate64]: Remove conditional code.
28699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28700 [__NR_ftruncate64]: Make code unconditional.
28701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28702 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28703 include <kernel-features.h>.
28704 [!__NR_ftruncate64]: Remove conditional code.
28705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28706 [__NR_ftruncate64]: Make code unconditional.
28707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28709 include <kernel-features.h>.
28710 [!__NR_ftruncate64]: Remove conditional code.
28711 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28712 [__NR_ftruncate64]: Make code unconditional.
28713 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28715 include <kernel-features.h>.
28716 [!__NR_ftruncate64]: Remove conditional code.
28717 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28718 [__NR_ftruncate64]: Make code unconditional.
28719 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28720
4da0431d
JM
28721 * configure.in (libc_cv_fpie): Weaken to a compile test using
28722 LIBC_TRY_CC_OPTION.
28723 * configure: Regenerated.
28724
11ef492c
AK
287252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28726
28727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28731 Refreshed.
28732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28738 Refreshed.
28739
d66ef399
DM
287402012-05-27 David S. Miller <davem@davemloft.net>
28741
28742 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28743 (___Q_zero): New.
28744 (__Q_simulate_exceptions): Return void. Change to simulate
28745 exceptions by writing into the %fsr.
28746 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28747 (__Qp_handle_exceptions): Likewise.
28748 (numbers): Delete.
28749 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28750 __Qp_handle_exceptions.
28751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28752 __Qp_handle_exceptions.
28753 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28754 as unused and give dummy FP_RND_NEAREST initializer.
28755 (FP_INHIBIT_RESULTS): Define.
28756 (___Q_simulate_exceptions): Update declaration.
28757 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28758 formatting.
28759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28760 as unused and give dummy FP_RND_NEAREST initializer.
28761 (__Qp_handle_exceptions): Update declaration.
28762 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28763 formatting.
28764
04fb54b5
TS
287652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28766
28767 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28768 the temporary FPU control word.
28769 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28770 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28771 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28772 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28773 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28774 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28775 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28776 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28777 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28778 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28779 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28780
3f99608f
KK
287812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28782
28783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28784 fields.
28785
65a4de4e
CLT
287862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28787
28788 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28789 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28790 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28791 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28792 Likewise.
28793 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28794 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28795 Likewise.
28796
15749d40
UD
287972012-05-27 Ulrich Drepper <drepper@gmail.com>
28798
28799 * po/h.po: Update from translation team.
28800
25dbcb27
AS
288012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28802
3d3f8e55
AS
28803 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28804
25dbcb27
AS
28805 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28806 handling of denormals.
28807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28808 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28809 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28810 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28814 Likewise.
28815
7ad47a80 288162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28817
28818 [BZ #14152]
28819 * math/libm-test.inc (fma_test): Don't always expect underflow
28820 exception.
28821
9c6ea9fa
SP
288222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28823
28824 [BZ #12416]
28825 * elf/tst-execstack.c: Include stackinfo.h.
28826 (do_test): Adjust test case to ensure that pthread_getattr_np
28827 behaviour remains the same after marking stack executable.
28828
a8239222
JM
288292012-05-25 Joseph Myers <joseph@codesourcery.com>
28830
28831 * sysdeps/unix/sysv/linux/kernel-features.h
28832 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28833 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28834 kernel-features.h.
28835 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28836 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28837 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28838 kernel-features.h.
28839 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28840 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28841
918b5606
L
288422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * configure.in: Define the default includes to being none.
28845 * configure: Regenerated.
28846
3a097cc7
RM
288472012-05-25 Roland McGrath <roland@hack.frob.com>
28848
8422c9a5
RM
28849 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28850 * sysdeps/x86_64/setjmp.S: Likewise.
28851 * sysdeps/i386/bsd-setjmp.S: Likewise.
28852 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28853 * sysdeps/i386/setjmp.S: Likewise.
28854 * sysdeps/i386/__longjmp.S: Likewise.
28855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28856 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28857
3a097cc7
RM
28858 * include/stap-probe.h: New file.
28859 * configure.in: Handle --enable-systemtap.
28860 * configure: Regenerated.
28861 * config.h.in (USE_STAP_PROBE): New #undef.
28862 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28863 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28864 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28865
21708942
JM
288662012-05-25 Joseph Myers <joseph@codesourcery.com>
28867
28868 [BZ #13717]
28869 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28870 to 2.4.0 where earlier.
28871 * sysdeps/unix/sysv/linux/configure: Regenerated.
28872 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
28881 [__ASSUME_32BITUIDS]: Make code unconditional.
28882 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28883 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28884 <kernel-features.h>.
28885 [__ASSUME_32BITUIDS]: Make code unconditional.
28886 [!__ASSUME_32BITUIDS]: Remove conditional code.
28887 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28888 <kernel-features.h>.
28889 [__ASSUME_32BITUIDS]: Make code unconditional.
28890 [!__ASSUME_32BITUIDS]: Remove conditional code.
28891 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28892 <kernel-features.h>.
28893 [__ASSUME_32BITUIDS]: Make code unconditional.
28894 [!__ASSUME_32BITUIDS]: Remove conditional code.
28895 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28896 <kernel-features.h>.
28897 [__ASSUME_32BITUIDS]: Make code unconditional.
28898 [!__ASSUME_32BITUIDS]: Remove conditional code.
28899 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28900 <kernel-features.h>.
28901 [__ASSUME_32BITUIDS]: Make code unconditional.
28902 [!__ASSUME_32BITUIDS]: Remove conditional code.
28903 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28904 <kernel-features.h>.
28905 [__ASSUME_32BITUIDS]: Make code unconditional.
28906 [!__ASSUME_32BITUIDS]: Remove conditional code.
28907 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28908 <kernel-features.h>.
28909 [__ASSUME_32BITUIDS]: Make code unconditional.
28910 [!__ASSUME_32BITUIDS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28912 <kernel-features.h>.
28913 [__ASSUME_32BITUIDS]: Make code unconditional.
28914 [!__ASSUME_32BITUIDS]: Remove conditional code.
28915 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28916 <kernel-features.h>.
28917 [__ASSUME_32BITUIDS]: Make code unconditional.
28918 [!__ASSUME_32BITUIDS]: Remove conditional code.
28919 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28920 <kernel-features.h>.
28921 [__ASSUME_32BITUIDS]: Make code unconditional.
28922 [!__ASSUME_32BITUIDS]: Remove conditional code.
28923 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28924 <kernel-features.h>.
28925 [__NR_setresgid] (__setresgid): Do not declare.
28926 [__ASSUME_32BITUIDS]: Make code unconditional.
28927 [!__ASSUME_32BITUIDS]: Remove conditional code.
28928 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28929 <kernel-features.h>.
28930 [__NR_setresuid] (__setresuid): Do not declare.
28931 [__ASSUME_32BITUIDS]: Make code unconditional.
28932 [!__ASSUME_32BITUIDS]: Remove conditional code.
28933 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28934 <kernel-features.h>.
28935 [__ASSUME_32BITUIDS]: Make code unconditional.
28936 [!__ASSUME_32BITUIDS]: Remove conditional code.
28937 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28938 <kernel-features.h>.
28939 [__ASSUME_32BITUIDS]: Make code unconditional.
28940 [!__ASSUME_32BITUIDS]: Remove conditional code.
28941 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28942 <kernel-features.h>.
28943 [__ASSUME_32BITUIDS]: Make code unconditional.
28944 [!__ASSUME_32BITUIDS]: Remove conditional code.
28945 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28946 <kernel-features.h>.
28947 [__ASSUME_32BITUIDS]: Make code unconditional.
28948 [!__ASSUME_32BITUIDS]: Remove conditional code.
28949 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28950 <kernel-features.h>.
28951 [__ASSUME_32BITUIDS]: Make code unconditional.
28952 [!__ASSUME_32BITUIDS]: Remove conditional code.
28953 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28954 <kernel-features.h>.
28955 [__ASSUME_32BITUIDS]: Make code unconditional.
28956 [!__ASSUME_32BITUIDS]: Remove conditional code.
28957 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28958 <kernel-features.h>.
28959 [__ASSUME_32BITUIDS]: Make code unconditional.
28960 [!__ASSUME_32BITUIDS]: Remove conditional code.
28961 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28962 <kernel-features.h>.
28963 [__ASSUME_32BITUIDS]: Make code unconditional.
28964 [!__ASSUME_32BITUIDS]: Remove conditional code.
28965 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28966 <kernel-features.h>.
28967 [__ASSUME_32BITUIDS]: Make code unconditional.
28968 [!__ASSUME_32BITUIDS]: Remove conditional code.
28969 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28970 <kernel-features.h>.
28971 [__ASSUME_32BITUIDS]: Make code unconditional.
28972 [!__ASSUME_32BITUIDS]: Remove conditional code.
28973 * sysdeps/unix/sysv/linux/kernel-features.h
28974 (__ASSUME_SETRESUID_SYSCALL): Remove.
28975 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28976 (__ASSUME_32BITUIDS): Likewise.
28977 (__ASSUME_LDT_WORKS): Likewise.
28978 (__ASSUME_O_DIRECTORY): Likewise.
28979 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28980 architecture but not kernel version.
28981 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28982 (__ASSUME_MMAP2_SYSCALL): Likewise.
28983 (__ASSUME_STAT64_SYSCALL): Likewise.
28984 (__ASSUME_IPC64): Likewise.
28985 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28986 <kernel-features.h>.
28987 [__ASSUME_32BITUIDS]: Make code unconditional.
28988 [!__ASSUME_32BITUIDS]: Remove conditional code.
28989 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28990 <kernel-features.h>.
28991 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28992 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28993 132096]: Remove conditional code.
28994 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28995 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28996 <kernel-features.h>.
28997 [__ASSUME_32BITUIDS]: Make code unconditional.
28998 [!__ASSUME_32BITUIDS]: Remove conditional code.
28999 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29000 <kernel-features.h>.
29001 [__ASSUME_32BITUIDS]: Make code unconditional.
29002 [!__ASSUME_32BITUIDS]: Remove conditional code.
29003 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29004 <kernel-features.h>.
29005 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29006 unconditional.
29007 (__setresgid): Do not declare.
29008 [__ASSUME_32BITUIDS]: Make code unconditional.
29009 [!__ASSUME_32BITUIDS]: Remove conditional code.
29010 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29011 <kernel-features.h>.
29012 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29013 unconditional.
29014 (__setresuid): Do not declare.
29015 [__ASSUME_32BITUIDS]: Make code unconditional.
29016 [!__ASSUME_32BITUIDS]: Remove conditional code.
29017 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29018 <kernel-features.h>.
29019 [__ASSUME_32BITUIDS]: Make code unconditional.
29020 [!__ASSUME_32BITUIDS]: Remove conditional code.
29021 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29022 <kernel-features.h>.
29023 [__ASSUME_32BITUIDS]: Make code unconditional.
29024 [!__ASSUME_32BITUIDS]: Remove conditional code.
29025
a386f1cc
RH
290262012-05-25 Richard Henderson <rth@twiddle.net>
29027
29028 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29029 dl_hwcap to ifunc resolver.
29030 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29031 elf_ifunc_invoke.
29032 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29033 dl_hwcap to ifunc resolver.
29034 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29035
b6550497
JM
290362012-05-24 Joseph Myers <joseph@codesourcery.com>
29037
29038 [BZ #14153]
29039 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29040 for |x| <= 2**-26, not 2**-57.
29041 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29042 exception.
29043
b0bc23a1
JL
290442012-05-24 Jeff Law <law@redhat.com>
29045
29046 * stdio-common/Makefile (tests): Add bug25.
29047 * stdio-common/bug25.c: New test.
29048
347c92e9
L
290492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29050
29051 [BZ #13576]
29052 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29053 multiple of MALLOC_ALIGNMENT in size.
29054 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29055
6bcc8b3f
JM
290562012-05-24 Joseph Myers <joseph@codesourcery.com>
29057
29058 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29059 Require >= 256.
29060 (FILENAME_MAX): Use macro-int-constant.
29061 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29062 (_IOFBF): Use macro-int-constant.
29063 (_IOLBF): Likewise.
29064 (_IONBF): Likewise.
29065 (SEEK_CUR): Likewise.
29066 (SEEK_END): Likewise.
29067 (SEEK_SET): Likewise.
29068 (TMP_MAX): Likewise.
29069 (EOF): Use macro-int-constant. Require < 0.
29070 (NULL): Use macro-constant. Require == 0.
29071 (stdin): Require type to be FILE *.
29072 (stdout): Likewise.
29073 (stderr): Likewise.
29074 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29075 macro-int-constant.
29076 (EXIT_SUCCESS): Likewise.
29077 (NULL): Use macro-constant. Require == 0.
29078 (RAND_MAX): Use macro-int-constant.
29079 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29080 [C99-based standards] (strtof): Require function.
29081 [C99-based standards] (strtold): Likewise.
29082 [C99-based standards] (strtoll): Likewise.
29083 [C99-based standards] (strtoull): Likewise.
29084 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29085 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29086 [ISO || ISO99 || ISO11] (math.h): Likewise.
29087 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29088 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29090
d18ea0c5
AS
290912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29092
29093 [BZ #14132]
56d25bb8
AS
29094 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29095 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29096 * intl/dgettext.c (DCGETTEXT): Likewise.
29097 * intl/gettext.c (DCGETTEXT): Likewise.
29098 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29099 * posix/regex_internal.h (gettext): Likewise.
29100 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29101 Remove declaration.
29102 * include/argz.h (__argz_count_internal)
29103 (__argz_stringify_internal): Remove declaration.
29104 (__argz_count, __argz_stringify): Declare hidden proto.
29105 * intl/dcgettext.c: Remove use of INTDEF.
29106 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29107 * string/argz-stringify.c: Likewise.
29108 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29109 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29110 Declare hidden proto.
d18ea0c5
AS
29111 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29112 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29113 Declare hidden proto.
29114 * include/stdio.h (__asprintf_internal): Don't declare.
29115 (__asprintf): Don't define as macro. Declare hidden proto.
29116 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29117 (__fsetlocking): Declare hidden proto.
29118 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29119 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29120 hidden proto.
29121 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29122 (_IO_setlinebuf): Remove use of INTUSE.
29123 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29124 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29125 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29126 Remove declaration.
29127 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29128 (_IO_do_flush): Remove use of INTUSE.
29129 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29130 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29131 (_IO_adjust_column, _IO_least_wmarker)
29132 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29133 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29134 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29135 (_IO_default_doallocate, _IO_wdefault_doallocate)
29136 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29137 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29138 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29139 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29140 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29141 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29142 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29143 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29144 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29145 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29146 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29147 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29148 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29149 proto.
29150 (_IO_flush_all_internal, _IO_adjust_column_internal)
29151 (_IO_default_uflow_internal, _IO_default_finish_internal)
29152 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29153 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29154 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29155 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29156 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29157 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29158 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29159 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29160 (_IO_file_close_internal, _IO_file_close_it_internal)
29161 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29162 (_IO_file_init_internal, _IO_file_attach_internal)
29163 (_IO_file_fopen_internal, _IO_file_read_internal)
29164 (_IO_file_sync_internal, _IO_file_seek_internal)
29165 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29166 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29167 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29168 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29169 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29170 (_IO_list_all_internal, _IO_link_in_internal)
29171 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29172 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29173 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29174 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29175 (_IO_do_write_internal, _IO_padn_internal)
29176 (_IO_getline_info_internal, _IO_getline_internal)
29177 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29178 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29179 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29180 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29181 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29182 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29183 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29184 with libc_hidden_ver, remove use of INTUSE.
29185 * libio/genops.c: Likewise.
29186 * libio/freopen.c: Likewise.
29187 * libio/freopen64.c: Likewise.
29188 * libio/iofclose.c: Likewise.
29189 * libio/iofdopen.c: Likewise.
29190 * libio/iofflush.c: Likewise.
29191 * libio/iofflush_u.c: Likewise.
29192 * libio/iofgets.c: Likewise.
29193 * libio/iofgets_u.c: Likewise.
29194 * libio/iofopen.c: Likewise.
29195 * libio/iofopncook.c: Likewise.
29196 * libio/iofread.c: Likewise.
29197 * libio/iofread_u.c: Likewise.
29198 * libio/ioftell.c: Likewise.
29199 * libio/iofwrite.c: Likewise.
29200 * libio/iogetline.c: Likewise.
29201 * libio/iogets.c: Likewise.
29202 * libio/iogetwline.c: Likewise.
29203 * libio/iopadn.c: Likewise.
29204 * libio/iopopen.c: Likewise.
29205 * libio/ioseekoff.c: Likewise.
29206 * libio/ioseekpos.c: Likewise.
29207 * libio/iosetbuffer.c: Likewise.
29208 * libio/iosetvbuf.c: Likewise.
29209 * libio/ioungetc.c: Likewise.
29210 * libio/ioungetwc.c: Likewise.
29211 * libio/iovdprintf.c: Likewise.
29212 * libio/iovsprintf.c: Likewise.
29213 * libio/iovsscanf.c: Likewise.
29214 * libio/memstream.c: Likewise.
29215 * libio/obprintf.c: Likewise.
29216 * libio/oldfileops.c: Likewise.
29217 * libio/oldiofclose.c: Likewise.
29218 * libio/oldiofdopen.c: Likewise.
29219 * libio/oldiofopen.c: Likewise.
29220 * libio/oldiopopen.c: Likewise.
29221 * libio/oldstdfiles.c: Likewise.
29222 * libio/putc.c: Likewise.
29223 * libio/setbuf.c: Likewise.
29224 * libio/setlinebuf.c: Likewise.
29225 * libio/stdfiles.c: Likewise.
29226 * libio/strops.c: Likewise.
29227 * libio/vasprintf.c: Likewise.
29228 * libio/vscanf.c: Likewise.
29229 * libio/vsnprintf.c: Likewise.
29230 * libio/vswprintf.c: Likewise.
29231 * libio/wfiledoalloc.c: Likewise.
29232 * libio/wfileops.c: Likewise.
29233 * libio/wgenops.c: Likewise.
29234 * libio/wmemstream.c: Likewise.
29235 * libio/wstrops.c: Likewise.
29236 * libio/__fpurge.c: Likewise.
29237 * libio/__fsetlocking.c: Likewise.
29238 * assert/assert.c: Likewise.
29239 * debug/fgets_chk.c: Likewise.
29240 * debug/fgets_u_chk.c: Likewise.
29241 * debug/fread_chk.c: Likewise.
29242 * debug/fread_u_chk.c: Likewise.
29243 * debug/gets_chk.c: Likewise.
29244 * debug/obprintf_chk.c: Likewise.
29245 * debug/vasprintf_chk.c: Likewise.
29246 * debug/vdprintf_chk.c: Likewise.
29247 * debug/vsnprintf_chk.c: Likewise.
29248 * debug/vsprintf_chk.c: Likewise.
29249 * malloc/mtrace.c: Likewise.
29250 * misc/error.c: Likewise.
29251 * misc/syslog.c: Likewise.
29252 * stdio-common/asprintf.c: Likewise.
29253 * stdio-common/fxprintf.c: Likewise.
29254 * stdio-common/getw.c: Likewise.
29255 * stdio-common/isoc99_fscanf.c: Likewise.
29256 * stdio-common/isoc99_scanf.c: Likewise.
29257 * stdio-common/isoc99_vfscanf.c: Likewise.
29258 * stdio-common/isoc99_vscanf.c: Likewise.
29259 * stdio-common/isoc99_vsscanf.c: Likewise.
29260 * stdio-common/printf-prs.c: Likewise.
29261 * stdio-common/printf_fp.c: Likewise.
29262 * stdio-common/printf_fphex.c: Likewise.
29263 * stdio-common/printf_size.c: Likewise.
29264 * stdio-common/putw.c: Likewise.
29265 * stdio-common/scanf.c: Likewise.
29266 * stdio-common/sprintf.c: Likewise.
29267 * stdio-common/tmpfile.c: Likewise.
29268 * stdio-common/vfprintf.c: Likewise.
29269 * stdio-common/vfscanf.c: Likewise.
29270 * stdlib/strfmon_l.c: Likewise.
29271 * sunrpc/openchild.c: Likewise.
29272 * sunrpc/xdr_stdio.c: Likewise.
29273 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29274 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29275
d6c33fda
RM
292762012-05-24 Roland McGrath <roland@hack.frob.com>
29277
c1487492
RM
29278 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29279
29280 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29281 in the third column, to generate for the shared library an IFUNC
29282 that uses _dl_vdso_vsym.
29283 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29284 * Makeconfig (object-suffixes-noshared): New variable.
29285
29286 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29287 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29288 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29289 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29290
d6c33fda
RM
29291 [BZ #14132]
29292 * include/sys/time.h (__gettimeofday): Remove macro.
29293 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29294 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29295 Remove INTDEF.
29296 (__gettimeofday): Add libc_hidden_def.
29297 (gettimeofday): Add libc_hidden_weak.
29298 * sysdeps/mach/gettimeofday.c: Likewise.
29299 * sysdeps/posix/gettimeofday.c: Likewise.
29300 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29301 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29303 (__gettimeofday_internal): Remove strong_alias.
29304 (__gettimeofday): Add libc_hidden_def.
29305 (gettimeofday): Add libc_hidden_weak.
29306 * sysdeps/unix/syscalls.list (gettimeofday):
29307 Remove __gettimeofday_internal alias.
29308
b5a2bbe6
L
293092012-05-24 Daniel Jacobowitz <drow@false.org>
29310 H.J. Lu <hongjiu.lu@intel.com>
29311
29312 [BZ #12495]
29313 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29314 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29315 (largebin_index_32_big): New.
29316 (largebin_index): Use it for 16-byte alignment.
29317 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29318 correction with front_misalign.
29319
cfba4fda
L
293202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29321
7f907421
L
29322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29324 Likewise.
29325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29326 Likewise.
29327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29328 Likewise.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29330 Likewise.
29331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29332 Likewise.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29334 Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29336 Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29338 Likewise.
29339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29340 Likewise.
29341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29342 Likewise.
29343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29344 Likewise.
29345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29346 Likewise.
29347
cfba4fda
L
29348 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29349 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29350
80bad0cc
JM
293512012-05-24 Joseph Myers <joseph@codesourcery.com>
29352
7a25eb06
JM
29353 [BZ #10846]
29354 [BZ #14036]
29355 * math/libm-test.inc (exp_test): Add test from bug 14036.
29356 (pow_test): Add test from bug 10846.
29357
795405f9
JM
29358 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29359 and other flags.
29360 (special_function): Do not include flags in test name.
29361 (parse_args): Likewise.
29362 * sysdeps/i386/fpu/libm-test-ulps: Update.
29363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29365 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29367
80bad0cc
JM
29368 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29369 exceptions.
29370 * math/libm-test.inc ("Philosophy"): Update comment about
29371 exception testing.
29372 (UNDERFLOW_EXCEPTION): New macro.
29373 (UNDERFLOW_EXCEPTION_OK): Likewise.
29374 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29375 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29376 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29377 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29378 (INVALID_EXCEPTION_OK): Update value.
29379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29380 (OVERFLOW_EXCEPTION_OK): Likewise.
29381 (IGNORE_ZERO_INF_SIGN): Likewise.
29382 (test_exceptions): Handle underflow exceptions.
29383 (acos_test): Update for underflow exception expectations.
29384 (cexp_test): Likewise.
29385 (clog_test): Likewise.
29386 (clog10_test): Likewise.
29387 (csqrt_test): Likewise.
29388 (ctan_test): Likewise.
29389 (ctanh_test): Likewise.
29390 (exp_test): Likewise.
29391 (exp10_test): Likewise.
29392 (exp2_test): Likewise.
29393 (expm1_test): Likewise.
29394 (fma_test): Likewise.
29395 (j0_test): Likewise.
29396 (jn_test): Likewise.
29397 (nexttoward_test): Likewise.
29398 (pow_test): Likewise.
29399 (scalbn_test): Likewise.
29400 (scalbln_test): Likewise.
29401 (tan_test): Likewise.
29402 (y1_test): Likewise.
29403 * sysdeps/i386/fpu/libm-test-ulps: Update.
29404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29405
9e0e3d0b
DM
294062012-05-23 David S. Miller <davem@davemloft.net>
29407
29408 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29409 (__libc_sigaction): Remove unused local variables.
29410
ccd0a08f
L
294112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29412
29413 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29414
62bdf9a6
PE
294152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29416
f8591f80
PE
29417 mktime: avoid signed integer overflow
29418 * time/mktime.c (__mktime_internal): Do not mishandle the case
29419 where diff == INT_MIN.
29420
94c7d826
PE
29421 mktime: simplify computation of average
29422 * time/mktime.c (ranged_convert): Use new time_t_avg function
29423 instead of rolling our own (probably-slower) code.
29424
ce73d683
PE
29425 mktime: do not assume signed right shift propagates sign bit
29426 * time/mktime.c (isdst_differ): New static function.
29427 (__mktime_internal): No need to normalize tm_isdst now.
29428 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29429 tm_isdst values.
29430
72a22e59
PE
29431 mktime: merge another wrapv change from gnulib
29432 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29433 from some compilers.
29434
68605433
PE
29435 mktime: remove incorrect attempt at unusual arithmetics
29436 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29437 The code didn't really work on such machines anyway.
29438 (TYPE_MINIMUM): Assume two's complement.
29439 (twos_complement_arithmetic): Verify that long_int and time_t
29440 are two's complement (or unsigned, in the latter case).
29441
03cf7fe3
PE
29442 mktime: check signed shifts on long_int and time_t, too
29443 * time/mktime.c (SHR): Check that shifts work as desired
29444 on the types long_int and time_t too, as SHR is used on
29445 such types.
29446
f04dfbc2
PE
29447 mktime: do not assume 'long' is wide enough
29448 * time/mktime.c (verify): Move decl up.
29449 (long_int): New type.
29450 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29451 to remove assumption in the code that 'long' is wide enough to
29452 store year values. This assumption is not true on x32 and on
29453 some non-glibc platforms.
29454
62bdf9a6
PE
29455 mktime: merge wrapv change from gnulib
29456 * time/mktime.c (WRAPV): New macro.
29457 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29458 (guess_time_tm, __mktime_internal): Do not assume that signed
29459 integer overflow wraps around; modern compilers generate code
29460 where this assumption is no longer valid.
29461
5e292e4f
L
294622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29463
29464 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29465 Replace "jmp L(pseudo_end)" with "ret".
29466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29467 Likewise.
29468
8caf8c87
AJ
294692012-05-23 Andreas Jaeger <aj@suse.de>
29470
29471 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29472 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29473
1a09dc56
AJ
294742012-05-23 Andreas Jaeger <aj@suse.de>
29475 Maximilian Attems <max@stro.at>
29476
29477 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29478 New macros.
29479
1c87aba0
L
294802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29481
29482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29483 code so that pseudo_end is just ret and the stack pointer is
29484 correct also for static library in error case.
29485
40e45bd5
JM
294862012-05-23 Joseph Myers <joseph@codesourcery.com>
29487
c2670533
JM
29488 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29489 move to syscalls.list.
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29494
40e45bd5
JM
29495 * manual/install.texi (Running make install): Do not mention Linux
29496 kernel version for which pt_chown is not needed.
29497 (Linux): Do not mention problems with nscd with 2.0 kernels.
29498 * INSTALL: Regenerated.
29499
be08eda5
AJ
295002012-05-23 Andreas Jaeger <aj@suse.de>
29501
29502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29503 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29504 macro.
29505 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29506 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29507 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29508 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29509 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29515 * sysdeps/unix/sysv/linux/bits/in.h
29516 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29517
a6a056bb
RM
295182012-05-22 Roland McGrath <roland@hack.frob.com>
29519
29520 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29521 (PREPARE_VERSION): Just use assert instead, it will be elided
29522 under [NDEBUG] anyway.
29523
c9009328
L
295242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29525
29526 * sysdeps/unix/sysv/linux/Makefile: Include
29527 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29528 (sysdep_routines): Remove sysctl.
c9009328
L
29529 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29530 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29532 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29533 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29534
73338355
AJ
295352012-05-22 Andreas Jaeger <aj@suse.de>
29536
29537 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29538 that pseudo_end is just ret and the stack pointer is correct also
29539 for static library in error case.
29540
d44638b0
PP
295412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29542
29543 [BZ #14122]
29544 * nss/nsswitch.c (defconfig_entries): New variable.
29545 (__nss_database_lookup): Don't leak defconfig entries.
29546 (nss_parse_service_list): Don't leak on error paths.
29547 (free_database_entries): New function.
29548 (free_defconfig): New function.
29549 (free_mem): Move common code to free_database_entries.
29550
31a39bd8
L
295512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29552
da0331a8
L
29553 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29554 Add arch_prctl.
29555 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29556
31a39bd8
L
29557 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29558 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29560 New macro.
29561 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29562 (INTERNAL_SYSCALL_TYPES): Likewise.
29563 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29564 (LOAD_REGS_TYPES_[1-6]): Likewise.
29565 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29566 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29567
45470df3
AZ
295682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29569
29570 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29571 copysignl for GLIBC_2_0.
29572 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29573 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29575 logbl for GLIBC_2_0.
29576 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29577 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29578
98a61bcb
L
295792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29580
a4f6e481
L
29581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29582 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29583
f63d5db6
L
29584 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29585 Use "neg %eax".
29586
98a61bcb
L
29587 * time/mktime.c: Update copyright years.
29588
95770f14
PE
295892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29590
6226efbd
PE
29591 mktime: merge comment-quoting-style change from gnulib
29592 * time/mktime.c: Quote 'like this' in comments.
29593 The GNU coding standards suggest that we no longer quote `like this',
29594 as "`" and "'" are typically rendered asymmetrically nowadays.
29595 The typical gnulib style is to quote 'like this' when quoting
29596 code, and "like this" when quoting English.
29597
b99e4f78
PE
29598 * time/mktime.c (compile-command): Add "-I.".
29599
643e01e6
PE
29600 mktime: merge mktime-internal.h change from gnulib
29601 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29602
2554247d
PE
29603 mktime: merge time_r change from gnulib
29604 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29605
826dd0ab
PE
29606 mktime: merge DEBUG change from gnulib
29607 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29608 case system <time.h> has a #define.
29609
bd83aabe
PE
29610 mktime: merge <sys/types.h> change from gnulib
29611 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29612 since <time.t> is now guaranteed to define time_t.
29613
95770f14
PE
29614 mktime: merge HAVE_CONFIG_H change from gnulib
29615 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29616
5e1a27a9
L
296172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29618
0e44a77e
L
29619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29620 Use "neg %eax".
29621
5e1a27a9
L
29622 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29623 __rlim_t cast.
29624 (struct rusage): Use anonymous union to pad each field to
29625 __syscall_slong_t.
29626
46259bec
DM
296272012-05-21 David S. Miller <davem@davemloft.net>
29628
29629 * Makefules (o-iterator): Remove .s cases.
29630 (compile-command.s): Delete.
29631 (COMPILE.s): Delete.
29632 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29633
59f0c22e
JM
296342012-05-21 Joseph Myers <joseph@codesourcery.com>
29635
29636 * configure.in (libc_cv_predef_stack_protector): Only consider
29637 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29638 * configure: Regenerated.
29639
20c07380
L
296402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29641
bbb3154b
L
29642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29643 New macro. Use R*LP on int and pointer.
29644 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29645 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29646 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29647 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29648
20c07380
L
29649 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29650 [__WORDSIZE_TIME64_COMPAT32] instead of
29651 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29652 (struct utmp): Likewise.
29653 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29654 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29655 Renamed to ...
29656 (__WORDSIZE_TIME64_COMPAT32): This.
29657 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29658 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29659 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29660 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29661 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29662 (__WORDSIZE_TIME64_COMPAT32): New macro.
29663
d8d1017e
AJ
296642012-05-21 Andreas Jaeger <aj@suse.de>
29665
29666 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29667 only if [SHARED]. Add prototype for __wcschr_ia32.
29668
6c7fb145
RM
296692012-05-21 Roland McGrath <roland@hack.frob.com>
29670
29671 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29672 of %rbp unmolested in the jmp_buf while mangling the low bits.
29673 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29674 unmolested high bits of %rbp while demangling the low bits.
29675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29676
66274218
AJ
296772012-05-21 Andreas Jaeger <aj@suse.de>
29678
07c58f8f
AJ
29679 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29680 * sunrpc/svc_simple.c: Use it for registerrpc.
29681 * sunrpc/xcrypt.c: Use it for passwd2des.
29682
66274218
AJ
29683 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29684
61f65140
L
296852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29686
29687 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29688 Don't define if [__SYSCALL_WORDSIZE != 32].
29689 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29690 New macro.
29691
5fefb436
AJ
296922012-05-21 Bruno Haible <bruno@clisp.org>
29693 Andreas Jaeger <aj@suse.de>
29694
29695 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29696 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29697 inptr and inend for must_buffer_ch.
29698 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29699 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29700 * stdio-common/Makefile (tests): Remove bug15.
29701 (bug15-ENV): Remove macro.
29702 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29703 anymore.
29704
d8e272ab
AJ
297052012-05-19 Andreas Jaeger <aj@suse.de>
29706 Roland McGrath <roland@hack.frob.com>
29707
29708 * manual/contrib.texi: Completely rewritten. It contains now an
29709 alphabetical list of contributors and their contributions.
29710
4a56a162
RH
297112012-05-21 Richard Henderson <rth@twiddle.net>
29712
29713 * misc/getauxval.c (__getauxval): Use unsigned long int.
29714 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29715 (getauxval): Use unsigned long int.
29716
d024d23c
L
297172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29718
29719 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29720
cbc00a03
RM
297212012-05-21 Roland McGrath <roland@hack.frob.com>
29722
29723 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29724 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29725 __alignof__ (long double).
29726
478143fa
AZ
297272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29728
29729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29730
c7683a6d
RH
297312012-05-20 Richard Henderson <rth@twiddle.net>
29732
29733 * misc/getauxval.c: New file.
29734 * misc/sys/auxv.h: New file.
29735 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29736 (routines): Add getauxval.
29737 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29739 * elf/dl-sysdep.c (_dl_auxv): Remove.
29740 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29741 * elf/dl-support.c (_dl_auxv): New variable.
29742 (_dl_aux_init): Initialize it.
29743 * manual/startup.texi (Auxiliary Vector): New node.
29744 * sysdeps/generic/bits/hwcap.h: New file.
29745 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29746 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29747 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29748 * sysdeps/sparc/sysdep.h: ... here. Include it.
29749 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29750 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29752 Update.
c7683a6d
RH
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29761
a6f1845d
AZ
297622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29763
29764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29765
cbcbe830
DM
297662012-05-19 David S. Miller <davem@davemloft.net>
29767
29768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29769
e0b16cc2
JM
297702012-05-19 Joseph Myers <joseph@codesourcery.com>
29771
29772 [BZ #14123]
29773 * math/s_ccosh.c: Include <float.h>
29774 (__ccosh): Avoid internal overflow calculating sinh and cosh
29775 values before multiplying by sin and cos values.
29776 * math/s_ccoshf.c: Likewise.
29777 * math/s_ccoshl.c: Likewise.
29778 * math/s_csin.c: Likewise.
29779 * math/s_csinf.c: Likewise.
29780 * math/s_csinl.c: Likewise.
29781 * math/s_csinh.c: Likewise.
29782 * math/s_csinhf.c: Likewise.
29783 * math/s_csinhl.c: Likewise.
29784 * math/libm-test.inc (ccos_test): Add more tests.
29785 (ccosh_test): Likewise.
29786 (csin_test): Likewise.
29787 (csinh_test): Likewise.
29788 * sysdeps/i386/fpu/libm-test-ulps: Update.
29789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29790
6ad13e08
L
297912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29792
f66f0ce8
L
29793 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29794 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29795
6ad13e08
L
29796 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29797
b1d072a7
JM
297982012-05-19 Joseph Myers <joseph@codesourcery.com>
29799
29800 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29801 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29802 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29803 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29804 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29805 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29806 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29807 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29808 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29809 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29810 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29811 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29812 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29813 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29814 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29815 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29816 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29817 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29818 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29819 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29820 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29821 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29822 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29823 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29824 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29825 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29826 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29827 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29828 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29829 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29830 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29831
9eae47cb
AJ
298322012-05-18 Andreas Jaeger <aj@suse.de>
29833
29834 * csu/.gitignore: Delete.
29835
bb07f69f
L
298362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29837
29838 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29839 (timex): Use __syscall_slong_t.
29840
e6bdb741
AJ
298412012-05-18 Andreas Jaeger <aj@suse.de>
29842 Carlos O'Donell <carlos_odonell@mentor.com>
29843
29844 * manual/install.texi (Configuring and compiling): Update
29845 description about files modified in the source directory.
d6c33fda 29846 * INSTALL: Regenerated.
e6bdb741 29847
1b74487e
L
298482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29849
29850 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29851 value. Use "or" to set return value to -1.
29852 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29853 negate return value.
29854
a88b64b9
TMQMF
298552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29856
57f41c40
AS
29857 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29858 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29859 failure if the compiler has Graphite support disabled.
29860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29861 Likewise.
57f41c40
AS
29862 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29863 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29865 Likewise.
29866
3707636e
L
298672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29868
610b8622
L
29869 * sysdeps/x86_64/x32/_itoa.h: New file.
29870
7cd195df
L
29871 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29872 getdents system call only if kernel and user dirents have the
29873 same d_ino and d_off.
29874
94b07d20
L
29875 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29876 LLONG_MAX != LONG_MAX.
29877 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29878 (_fitoa_word): Likewise.
29879
18298070
L
29880 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29881 years.
29882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29884 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29885
553c7ea4
L
29886 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29887 include <bits/wordsize.h>. Check __x86_64__ instead of
29888 __WORDSIZE.
29889 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29890 if __x86_64__ is defined. Use anonymous union on fpstate.
29891
3707636e
L
29892 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29893 anonymous union.
29894
b53ef01a
AS
298952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29896
37fb1dc0
AS
29897 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29898 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29899 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29900 Refer to _rtld_local_ro instead of _rtld_global_ro.
29901 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29902 Likewise.
29903 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29904 Likewise.
29905 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29906 Likewise.
29907 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29908 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29909 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29910
b53ef01a
AS
29911 * sysdeps/powerpc/powerpc32/dl-machine.c
29912 (__elf_machine_runtime_setup) [PROF]: Don't reference
29913 _dl_prof_resolve.
29914
7a185db2
AJ
299152012-05-18 Andreas Jaeger <aj@suse.de>
29916
29917 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29918 function only available for GCCs before 3.4 since GCC 3.4
29919 introduced a builtin.
29920 (lrint): Likewise.
29921 (llrintf): Likewise.
29922 (llrint): Likewise.
29923 (fmaxf): Likewise.
29924 (fmax): Likewise.
29925 (fminf): Likewise.
29926 (fmin): Likewise.
29927 (rint): Likewise.
29928 (rintf): Likewise.
29929 (nearbyint): Likewise.
29930 (nearbyintf): Likewise.
29931 (ceil): Likewise.
29932 (ceilf): Likewise.
29933 (floor): Likewise.
29934 (floorf): Likewise.
29935
3e5aef87
L
299362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29937
428bd707
L
29938 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29939 on both fields and cast pointer to __syscall_ulong_t.
29940
3e5aef87
L
29941 * bits/types.h (__fsword_t): New type.
29942 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29943 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29945 (__FSWORD_T_TYPE): Likewise.
29946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29947 (__FSWORD_T_TYPE): Likewise.
29948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29949 (__FSWORD_T_TYPE): Likewise.
29950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29951 (__FSWORD_T_TYPE): Likewise.
29952 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29953 __SWORD_TYPE with __fsword_t.
29954 (statfs64): Likewise.
29955
1ba7c3dc
DM
299562012-05-17 David S. Miller <davem@davemloft.net>
29957
29958 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29959
59910343
AJ
299602012-05-17 Andreas Jaeger <aj@suse.de>
29961
29962 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29963 warning.
29964
2e4c1e9e
L
299652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29966
29967 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29968
de7f5ce7
AJ
299692012-05-17 Andreas Jaeger <aj@suse.de>
29970
29971 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29972 when it is used.
29973
286abc3d
CM
299742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29975
29976 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29977
477cc68e
L
299782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29979
29980 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29981 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29982
1a0994f5
CD
299832012-05-17 Andreas Jaeger <aj@suse.de>
29984 Carlos O'Donell <carlos_odonell@mentor.com>
29985
29986 [BZ #14059]
29987 * sysdeps/x86_64/multiarch/init-arch.h
29988 (bit_YMM_Usable): Rename to...
29989 (bit_AVX_Usable): ... this.
29990 (bit_FMA4_Usable): New macro.
29991 (bit_XMM_state): New macro.
29992 (bit_YMM_state): New macro.
29993 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29994 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29995 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29996 (CPUID_OSXSAVE): New macro.
29997 (CPUID_AVX): New macro.
29998 (CPUID_FMA4): New macro.
29999 (index_YMM_Usable): Rename to...
30000 (index_AVX_Usable): ... this.
30001 (HAS_AVX): Use HAS_ARCH_FEATURE.
30002 (HAS_FMA4): Likewise.
30003 (HAS_YMM_USABLE): Remove.
30004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30005 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30006 are present.
30007 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30008 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30009 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30010 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30011 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30012
0af797de
CM
300132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30014
30015 * math/libm-test.c: Support platforms without multiple rounding modes.
30016 * math/bug-nextafter.c: Support platforms without FP exceptions.
30017 * math/bug-nexttoward.c: Likewise.
30018 * math/test-fenv.c: Likewise.
30019 * math/test-misc.c: Likewise.
30020 * stdlib/bug-getcontext.c: Likewise.
30021
e39745ff
AJ
300222012-05-17 Andreas Jaeger <aj@suse.de>
30023
30024 * manual/examples/search.c (critter_cmp): Change signature to
30025 avoid warnings.
30026 * manual/string.texi (Collation Functions): Likewise.
30027
48970aba
L
300282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30029
30030 * bits/types.h: Fold copyright years.
30031 * bits/typesizes.h: Likewise.
30032 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30036 * time/time.h: Likewise.
30037
bedee953
PP
300382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30039
30040 [BZ #208]
30041 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30042 in instead of returning them. Return void.
30043 (__libc_mallinfo): Accumulate over all arenas.
30044 (__malloc_stats): Adjust for change in int_mallinfo interface.
30045
61653dfb
RM
300462012-05-16 Roland McGrath <roland@hack.frob.com>
30047
30b99d79
RM
30048 [BZ #10375]
30049 * configure.in (NM): Add AC_CHECK_TOOL for it.
30050 (libc_extra_cflags): New substituted variable.
30051 Check for -fstack-protector being used implicitly.
30052 * configure: Regenerated.
30053 * config.make.in (config-extra-cflags): New variable,
30054 gets @libc_extra_cflags@.
30055 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30056
61653dfb
RM
30057 [BZ #10375]
30058 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30059 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30060 * configure: Regenerated.
30061 * config.make.in (CPPUNDEFS): New substituted variable.
30062 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30063 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30064 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30065
661768bb
L
300662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30067
30068 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30069 (mq_attr): Use __syscall_slong_t.
30070
d4261567
L
300712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30072
30073 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30074 Check __x86_64__ instead of __WORDSIZE.
30075 (_STAT_VER_LINUX): Likewise.
30076 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30077 __syscall_ulong_t and __syscall_slong_t.
30078 (stat64): Likewise.
30079
cf3ff365
L
300802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30083
76cf3e4d
L
300842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30087
a637753a
L
300882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30089
30090 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30091 __syscall_ulong_t.
30092
d5e05119
L
30093 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30094 include <bits/wordsize.h>. Check __x86_64__ instead of
30095 __WORDSIZE.
30096 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30097 defined.
30098 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30099
f62ee380
L
30100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30101 include <bits/wordsize.h>. Check __x86_64__ instead of
30102 __WORDSIZE.
30103 (user_regs_struct): Use "__extension__ unsigned long long"
30104 instead of "unsigned long" if __x86_64__ is defined.
30105 (user): Likewise. Pad after pointer field if __ILP32__ is
30106 defined.
30107
4e124ced
JM
301082012-05-16 Joseph Myers <joseph@codesourcery.com>
30109
6a3951a0
JM
30110 * configure.in (makeinfo): Require version 4.5 or later. Allow
30111 versions 5 to 9.
30112 * configure: Regenerated.
30113 * manual/install.texi (texinfo): Increase version requirement to
30114 4.5 or later.
30115 * INSTALL: Regenerated.
30116
4e124ced
JM
30117 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30118
953ca31a
L
301192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30120
30121 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30122
617aca05
L
30123 * sysdeps/x86_64/x32/ffs.c: New file.
30124
5762f7ae
L
30125 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30126 __syscall_ulong_t.
30127 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30128 defined. Use __syscall_ulong_t.
30129 (shminfo): Use __syscall_ulong_t.
30130 (shm_info): Likewise.
30131
a26b6856
L
30132 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30133 __syscall_ulong_t.
30134
cb2b9ef7
L
30135 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30136 <bits/wordsize.h>.
30137 (msgqnum_t): Use __syscall_ulong_t.
30138 (msglen_t): Likewise.
30139 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30140 __syscall_ulong_t.
30141
34683bb0
L
30142 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30143 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30144
84a68786
L
30145 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30146
48baa5f1
L
30147 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30148 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30149
180be88b
L
30150 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30151 __syscall_slong_t.
30152
5e90c8ad
L
30153 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30154 include <bits/wordsize.h>. Check __x86_64__ instead of
30155 __WORDSIZE.
30156
23dfb58b
L
30157 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30158 "unsigned long long int" if __x86_64__ is defined.
30159 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30160
ce5d54b0
L
30161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30163 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30164
13dc9eac
L
30165 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30166 <stdint.h>.
30167 (GET_PC): Cast to uintptr_t first.
30168 (GET_FRAME): Likewise.
30169 (GET_STACK): Likewise.
30170
a7895d15
L
30171 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30172 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30173 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30175 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30177 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30178 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30179 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30180 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30181 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30184 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30185 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30186 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30187 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30188 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30189 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30190 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30191 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30192 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30193 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30194 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30195 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30196 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30197 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30200
656416c9
AS
302012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30202
5bd66283
AS
30203 * Makerules (+depfiles): Also collect depfiles from .oS in
30204 $(extra-objs).
30205 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30206 .oS, $(libnldbl-routines)).
30207
656416c9
AS
30208 * Makerules (native-compile-mkdep-flags): Define.
30209 * sunrpc/Makefile (extra-objs): Add $(addprefix
30210 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30211 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30212 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30213 calling $(make-target-directory).
30214
a46f2169
L
302152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30216
30217 * bits/types.h (__snseconds_t): Removed.
30218 * time/time.h (struct timespec): Replace __snseconds_t with
30219 __syscall_slong_t.
30220 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30221 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30222 Likewise.
30223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30224 (__SNSECONDS_T_TYPE): Likewise.
30225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30226 (__SNSECONDS_T_TYPE): Likewise.
30227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30228 (__SNSECONDS_T_TYPE): Likewise.
30229
6af6528b
L
302302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30231
30232 * sysdeps/mach/hurd/bits/typesizes.h
30233 (__SYSCALL_SLONG_TYPE): New macro.
30234 (__SYSCALL_ULONG_TYPE): Likewise.
30235
de986b56
L
302362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30237
30238 * bits/types.h (__syscall_slong_t): New type.
30239 (__syscall_ulong_t): Likewise.
30240
30241 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30242 (__SYSCALL_ULONG_TYPE): Likewise.
30243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30244 (__SYSCALL_SLONG_TYPE): Likewise.
30245 (__SYSCALL_ULONG_TYPE): Likewise.
30246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30247 (__SYSCALL_SLONG_TYPE): Likewise.
30248 (__SYSCALL_ULONG_TYPE): Likewise.
30249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30250 (__SYSCALL_SLONG_TYPE): Likewise.
30251 (__SYSCALL_ULONG_TYPE): Likewise.
30252
85736dc7
L
302532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30256 Add sigaltstack-offsets.sym.
30257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30258 <sigaltstack-offsets.h>.
30259 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30260 longjmp_msg pointer.
30261 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30262 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30263 signal stack.
30264 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30265
cc03b296
JM
302662012-05-15 Joseph Myers <joseph@codesourcery.com>
30267
a9538892
JM
30268 * elf/stackguard-macros.h: Remove file.
30269 * sysdeps/generic/stackguard-macros.h: New file.
30270 * sysdeps/i386/stackguard-macros.h: Likewise.
30271 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30272 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30273 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30274 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30275 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30276 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30277 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30278 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30279 <elf/stackguard-macros.h>.
30280
cc03b296
JM
30281 [BZ #14109]
30282 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30283 __aligned__ in attribute.
30284 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30285 (gregset_t): Likewise.
30286
93171016
L
302872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30290 * sysdeps/x86_64/64/Implies-after: Here. New file.
30291 * sysdeps/x86_64/x32/Implies-after: New file.
30292
d86813a0
L
302932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30294
30295 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30296 and access return value for _dl_profile_fixup. Use R10_LP to
30297 load frame size.
30298
2953ec75
L
302992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30300
30301 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30302
3b550e9e
L
303032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30304
30305 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30306 * sysdeps/x86_64/x32/sysdep.h: New file.
30307
eda41706
L
303082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30309
30310 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30311 * sysdeps/x86_64/setjmp.S: Likewise.
30312
9ea01d93
AZ
303132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30314
30315 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30317 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30318 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30319 remove unused global constant.
30320
02a91938
CM
303212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30322
30323 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30324 include of <not-cancel.h>.
30325
6540185f
RM
303262012-05-15 Roland McGrath <roland@hack.frob.com>
30327
30328 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30329
509072a0
AJ
303302012-05-15 Jeff Law <law@redhat.com>
30331 Andreas Jaeger <aj@suse.de>
30332
30333 [BZ #13594]
30334 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30335 out from...
30336 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30337 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30338 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30339 code changing __hst_map_handle.map.
30340
ba75122d
RM
303412012-05-15 Roland McGrath <roland@hack.frob.com>
30342
30343 * configure.in (sysnames): Look for Implies-before and Implies-after
30344 files.
30345 * configure: Regenerated.
30346
890d8bd8
L
303472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30350 8-byte data alignment with LP_SIZE alignment.
30351
f6ee6623
L
303522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30353
30354 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30355 into R10_LP.
30356
ea2626f6
L
303572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30358
30359 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30360
085f715e
L
303612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30362
30363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30364 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30365 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30366 Likewise.
30367 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30368
be8498fc
L
303692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30370
30371 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30372 (stackinfo_sub_sp): Likewise.
30373
70bc83b9
L
303742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30375
30376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30377 RAX_LP.
30378
9bc0b730
L
303792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30380
30381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30382 into R*_LP.
30383
6d2850e7
L
303842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30385
30386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30387 sizes into R*_LP.
30388
3cb84561
L
303892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30390
30391 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30392
54e2ed81
L
303932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30394
30395 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30396 into R11_LP and load __x86_64_shared_cache_size_half into
30397 R8_LP.
30398
8a17f349
L
303992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30400
30401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30402 R8_LP.
30403
777b1eea
AZ
304042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30405
30406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30407 logb for POWER7.
30408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30409 logbf for POWER7.
30410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30411 logbl for POWER7.
30412 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30413 powerpc32/power7/fpu/s_logb.c via #include.
30414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30415 powerpc32/power7/fpu/s_logbf.c via #include.
30416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30417 powerpc32/power7/fpu/s_logbl.c via #include.
30418
d20d4ac2
JM
304192012-05-15 Joseph Myers <joseph@codesourcery.com>
30420
30421 * README.libm: Remove file.
30422
6cdef1ab
L
304232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30424
30425 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30426 count for x32. Use R*_LP and omit operand-size suffix.
30427
0b254d8f
L
304282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30429
30430 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30431 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30432 * sysdeps/x86_64/x32/shlib-versions: New file.
30433
ceb809dc
RM
304342012-05-14 Roland McGrath <roland@hack.frob.com>
30435
30436 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30437 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30438 Use _dl_fatal_printf instead.
30439
37f1abd4
JM
304402012-05-14 Joseph Myers <joseph@codesourcery.com>
30441
30442 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30443 set if not set by the user. Do not allow for being unset.
30444 * sysdeps/unix/sysv/linux/configure: Regenerated.
30445
11de3a33
L
304462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30447
30448 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30449 the `q' suffix from lea and replace .quad with ASM_ADDR.
30450
e02f153a
L
304512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30452
30453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30454 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30455 instead of $17.
30456 (PTR_DEMANGLE): Likewise.
30457
520ae0fd
L
304582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30461 (LP_OP): Likewise.
30462 (ASM_ADDR): Likewise.
30463 (RAX_LP): Likewise.
30464 (RBP_LP): Likewise.
30465 (RBX_LP): Likewise.
30466 (RCX_LP): Likewise.
30467 (RDI_LP): Likewise.
30468 (RSI_LP): Likewise.
30469 (RSP_LP): Likewise.
30470 (R8_LP): Likewise.
30471 (R9_LP): Likewise.
30472 (R10_LP): Likewise.
30473 (R10_LP): Likewise.
30474 (R11_LP): Likewise.
30475 (R12_LP): Likewise.
30476 (R13_LP): Likewise.
30477 (R14_LP): Likewise.
30478 (R15_LP): Likewise.
30479
b985be81
L
304802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30481
30482 * sysdeps/x86_64/x32/dl-machine.h: New file.
30483
6a4888ff
AJ
304842012-05-14 Andreas Jaeger <aj@suse.de>
30485
30486 * manual/Makefile (subdir): Remove export of subdir.
30487 (all): Remove target.
30488 (.PHONY): Remove all from list.
30489 (mkinstalldirs): Remove.
30490 (.PHONY): Remove installdirs from list.
30491 ($(inst_infodir)/libc.info): Use make-target-directory.
30492 (installdirs): Remove.
30493 (subdir_%): Remove.
30494 (glibc-targets): Remove.
30495 (lib): Remove.
30496 (stubs): Remove.
30497 ($(objpfx)stubs ../po/manual.pot): Remove.
30498 ($(objpfx)stamp%): Remove.
30499 (make-target-directory): Remove.
30500 (subdir_install): Remove.
30501 (routines): Remove.
30502 (aux): Remove.
30503 (sources): Remove.
30504 (objects): Remove.
30505 (headers): Remove.
30506
30507 [BZ #13750]
30508 * manual/.gitignore: Remove, it's not needed anymore.
30509 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30510 all files in it.
30511 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30512 directory.
30513 (texis): Renamed to $(objpfx)texis.
30514 (texis-path): New, contains path to generated files.
30515 (chapters.%): Use texis-path for complete path, add extra argument
30516 libc-texinfo.sh.
30517 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30518 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30519 (summary,texi, stamp-summary): Use complete path of
30520 files. Generate files in build dir.
30521 (dir-add.texi): Build in build dir.
30522 (libm-err.texi,stamp-libm-err): Likewise.
30523 (version.texi, stamp-version): Likewise.
30524 (.%c.texi): Likewise.
30525 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30526 (mostlyclean): Remove target.
30527 (realclean): Remove target.
30528 (generated): Add new variable with contents from mostlyclean and
30529 realclean, remove entries duplicated in common-mostlyclean, add
30530 stamp-libm-err and stamp-version.
30531 (generated-dirs): Add libc directory.
30532 ($(inst_infodir)/libc.info): Install files from build dir.
30533
30534 * manual/install.texi (Configuring and compiling): Adjust since
30535 the info files are not part of the tar ball anymore.
30536
7ac77294
AJ
305372012-05-14 Andreas Jaeger <aj@suse.de>
30538
30539 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30540 variable.
30541
ffb7875d
JM
305422012-05-14 Joseph Myers <joseph@codesourcery.com>
30543
30544 [BZ #13717]
30545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30546 to 2.2.0 where earlier.
30547 * sysdeps/unix/sysv/linux/configure: Regenerated.
30548 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30549 Remove conditional code.
30550 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30551 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30552 Remove conditional code.
30553 [!__NR_lchown]: Likewise.
30554 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30555 [__NR_lchown]: Likewise.
30556 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30557 comment referencing __ASSUME_LCHOWN_SYSCALL.
30558 * sysdeps/unix/sysv/linux/i386/sigaction.c
30559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30561 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30562 Remove conditional code.
30563 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30564 (__protocol_available): Remove #if 0 code.
30565 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30566 conditional code.
30567 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30568 * sysdeps/unix/sysv/linux/kernel-features.h
30569 (__ASSUME_GETCWD_SYSCALL): Don't define.
30570 (__ASSUME_REALTIME_SIGNALS): Likewise.
30571 (__ASSUME_PREAD_SYSCALL): Likewise.
30572 (__ASSUME_PWRITE_SYSCALL): Likewise.
30573 (__ASSUME_POLL_SYSCALL): Likewise.
30574 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30575 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30576 non-SPARC.
30577 (__ASSUME_SIOCGIFNAME): Don't define.
30578 (__ASSUME_MSG_NOSIGNAL): Likewise.
30579 (__ASSUME_SENDFILE): Define unconditionally.
30580 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30581 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30582 conditional code.
30583 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30584 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30585 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30586 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30587 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30588 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30589 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30591 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30594 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30603 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30606 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30609 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30615 Remove conditional code.
30616 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30618 Remove conditional code.
30619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30621 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30622 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30623 Remove conditional code.
30624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30625 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30626 Remove conditional code.
30627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30628 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30629 Remove conditional code.
30630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30631 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30632 Remove conditional code.
30633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30634 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30635 Remove conditional code.
30636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30637 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30640 * sysdeps/unix/sysv/linux/sigaction.c
30641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/sigpending.c
30644 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30645 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30646 * sysdeps/unix/sysv/linux/sigprocmask.c
30647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30649 * sysdeps/unix/sysv/linux/sigsuspend.c
30650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30652 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30653 (__libc_missing_rt_sigs): Remove.
30654 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30655 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30656 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30657 Remove conditional code.
30658 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30659 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30660 return 1.
30661 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30662 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30663 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30664 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30665
1bfb7291
AJ
306662012-05-14 Andreas Jaeger <aj@suse.de>
30667
caae5a81
AJ
30668 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30669 it's not used in glibc.
30670 (__coshm1): Likewise.
30671 (__acosh1p): Likewise.
30672 (__sgn): Likewise.
30673
1bfb7291
AJ
30674 * manual/string.texi (Copying and Concatenation): Add missing
30675 variable in concat example.
30676 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30677
c044d724
L
306782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30679
144c5467 30680 [BZ #14103]
c044d724
L
30681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30682 __builtin_clzl with __builtin_clzll.
30683
2523c62b
L
306842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30685
30686 [BZ #14104]
30687 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30688 libc_freeres_ptr.
30689
d7bb4c42
LD
306902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30691
30692 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30693 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30694 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30695 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30696
9dc4e1fb
MF
306972012-05-14 Mike Frysinger <vapier@gentoo.org>
30698
30699 * NEWS: Update ia64 info.
30700
c7df0112
AS
307012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30702
30703 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30704 used as bcopy.
30705
dc70356c
TS
307062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30707
30708 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30709 * sysdeps/unix/syscalls.list (dup3): Likewise.
30710 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30711 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30712
9fb1a21f
L
307132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30714
30715 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30716 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30717
4822a2a5
L
307182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30719
30720 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30721 thread pointer.
30722 (TLS_IE): Use mov/add instead of movq/addq to load thread
30723 pointer.
30724 (TLS_GD_PREFIX): New.
30725 (TLS_GD): Use it.
30726
842b81d6
DM
307272012-05-11 David S. Miller <davem@davemloft.net>
30728
30729 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30730 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30731 (_FPU_SETCW): Likewise.
30732
1cf463cd
L
307332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30734
30735 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30736 is 32-byte aligned.
30737
60cc4a18
AS
307382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30739
30740 [BZ #11837]
30741 * iconvdata/gb18030.c: Update tables.
30742 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30743 characters specially.
30744 (BODY for TO_LOOP): Add encoding of missing ranges.
30745
febb44a4
TS
307462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30747
30748 [BZ #13673]
30749 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30750 * sysdeps/mach/hurd/dup3.c: Likewise.
30751 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30752 * sysdeps/powerpc/memmove.c:: Likewise.
30753
0a10fb9e
L
307542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30755
30756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30757 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30758
df8a552f
L
307592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30760
30761 * elf/elf.h (R_X86_64_RELATIVE64): New.
30762 (R_X86_64_NUM): Updated.
30763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30764 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30765 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30766 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30767 tst-quad1pie tst-quad2pie
30768 (modules-names): Add tst-quadmod1 tst-quadmod2.
30769 ($(objpfx)tst-quad1): New dependency.
30770 ($(objpfx)tst-quad2): Likewise.
30771 ($(objpfx)tst-quad1pie): Likewise.
30772 ($(objpfx)tst-quad2pie): Likewise.
30773 * sysdeps/x86_64/tst-quad1.c: New file.
30774 * sysdeps/x86_64/tst-quad1pie.c: New file.
30775 * sysdeps/x86_64/tst-quad2.c: Likewise.
30776 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30777 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30778 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30779 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30780 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30781
f34d6f84
ST
307822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30783
f42d41d1
ST
30784 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30785 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30786 * streams/stropts.h (t_scalar_t): Define type.
30787
3c3571fc
ST
30788 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30789 (_PATH_PRESERVE): Set to "/var/lib".
30790 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30791
61f06bd3
ST
30792 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30793 instead of int.
30794
918d4d71
ST
30795 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30796 if __dir_mkfile succeeded.
30797
f34d6f84
ST
30798 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30799 checking for _hurd_dtablesize. Unlock it right after having
30800 finished _hurd_dtable allocation.
30801
10589b4a
TS
308022012-05-10 Thomas Schwinge <thomas@schwinge.name>
30803
674cdbc7
TS
30804 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30805 * sysdeps/mach/hurd/configure: Regenerated.
30806 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30807 special-casing to...
30808 * sysdeps/gnu/configure.in: ... this new file.
30809 * sysdeps/unix/sysv/linux/configure: Regenerated.
30810 * sysdeps/gnu/configure: New generated file.
30811
8e41b99f
TS
30812 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30813 for Linux: use nsec instead of usec, as well as:
30814 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30815 members of type struct timespec.
30816 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30817 New macros.
30818 (struct stat64): Likewise.
30819 (_STATBUF_ST_NSEC): New macro.
30820 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30821
10589b4a
TS
30822 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30823 __strtoul_internal rather than strtoul.
30824
63643c85
PT
308252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30826
30827 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30828 and reject them.
30829
3faebe6a
ST
308302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30831
30832 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30833 which preserves existing values.
30834 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30835
c6474b07
PT
308362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30837
30838 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30839 TIMEOUT values. Return EINVAL for NFDS values either negative or
30840 greater than FD_SETSIZE.
30841
1043890b
ST
308422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30843
30844 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30845 allocated, call __vm_protect to finish enabling the existing space, and
30846 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30847 allocate the remainder.
30848
37ed8b9b
PT
308492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30850
30851 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30852 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30853
db653660
ST
308542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30855
37ed8b9b
PT
30856 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30857 sysdeps/mach/hurd/readlink.c.
b29d4053 30858
db653660
ST
30859 * posix/tst-sysconf.c (posix_options): Only use
30860 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30861 _POSIX_SYNCHRONIZED_IO when they are defined
30862 * sysdeps/mach/hurd/bits/posix_opt.h:
30863 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30864 (_XOPEN_REALTIME): Undefine macro.
30865 (_XOPEN_REALTIME_THREADS): Undefine macro.
30866 (_XOPEN_SHM): Undefine macro.
30867 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30868 macro to -1.
30869 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30870 macro to -1.
30871 (_POSIX_ASYNC_IO): Undefine macro.
30872 (_POSIX_PRIORITIZED_IO): Undefine macro.
30873 (_POSIX_SPIN_LOCKS): Define macro to -1.
30874
ee16e894
ST
30875 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30876 SA_NODEFER, SA_RESETHAND.
30877 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30878 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30879 F_DUPFD_CLOEXEC.
30880
6103ae3b
TS
308812012-05-10 Thomas Schwinge <thomas@schwinge.name>
30882
30883 * elf/Makefile (pldd-modules): Define unconditionally.
30884
80b4e5f3
TS
308852012-05-10 Thomas Schwinge <thomas@schwinge.name>
30886
30887 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30888
edadcbd6
ST
308892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30890
30891 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30892 Return ENOENT when name is empty.
30893 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30894
80694780
TS
308952012-05-10 Thomas Schwinge <thomas@schwinge.name>
30896
1792c087
TS
30897 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30898
80694780
TS
30899 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30900
6b645f0d
ST
309012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30902
80694780
TS
30903 Fix mlock in all cases except non-readable pages.
30904 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30905 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30906
6b645f0d
ST
30907 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30908 (__mkdir): When path is `/', just fail with EEXIST.
30909 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30910
e468f8a3
TS
309112012-05-10 Thomas Schwinge <thomas@schwinge.name>
30912
30913 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30914 <sys/uio.h> (for writev).
30915 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30916 and <sys/param.h> (for MIN).
30917
a4186cff
PT
309182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30919
30920 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30921 REQUESTED_TIME. Properly set the remaining time and return EINTR
30922 if interrupted.
30923
510bbf14
TS
309242012-05-10 Thomas Schwinge <thomas@schwinge.name>
30925
30926 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30927 Depend on against $(link-rpcuserlibs).
30928
5d5722e8
ST
309292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30930
a4186cff
PT
30931 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30932 (__libc_stack_end): Do not use attribute_relro.
30933 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30934 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30935 to libthread-provided value.
a4186cff
PT
30936 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30937 attribute_relro.
5d5722e8 30938
37233df9
TS
309392012-05-10 Thomas Schwinge <thomas@schwinge.name>
30940
be971a2b
TS
30941 [BZ #3748]
30942 * bits/libc-lock.h (__libc_once_get): New macro.
30943 * sysdeps/mach/bits/libc-lock.h: Likewise.
30944 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30946 instead of using implementation details.
30947
37233df9
TS
30948 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30949 * libio/freopen.c: Likewise.
30950 * libio/freopen64.c: Likewise.
30951 * misc/syslog.c: Likewise.
30952 * nscd/connections.c: Likewise.
30953 * nscd/netgroupcache.c: Likewise.
30954 * sysdeps/posix/getcwd.c: Likewise.
30955
38de94a5
RM
309562012-05-10 Roland McGrath <roland@hack.frob.com>
30957
30958 * math/w_ilogbf.c: Add #include <limits.h>.
30959
67530489
ST
309602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30961
a4186cff 30962 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30963 path instead of returning without unlocking.
30964
67530489
ST
30965 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30966 immediate-write ioctls.
30967 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30968
5aa3a74a
TS
309692012-05-10 Thomas Schwinge <thomas@schwinge.name>
30970
18bad2ae
TS
30971 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30972 __builtin_frame_address instead of making assumptions about the
30973 location of the return address relative to DATA. Force early load of
30974 the return address.
30975 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30976 __builtin_frame_address.
30977
5aa3a74a
TS
30978 dup3 for GNU Hurd.
30979 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30980 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30981 implement dup3 and do some further code clean-ups.
30982 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30983 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30984
ecd0de9a
ST
309852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30986
cd9fa985
ST
30987 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30988
a4186cff
PT
30989 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30990 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30991 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30992 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30993 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30994 d->port.lock.
802ca5a5 30995
a4186cff
PT
30996 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30997 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30998 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30999
bcf55240
TS
310002012-05-10 Thomas Schwinge <thomas@schwinge.name>
31001
6960eb42
TS
31002 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31003 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31004 definitions.
31005
eb43375f
TS
31006 accept4 for GNU Hurd.
31007 * include/sys/socket.h (__libc_accept4): New prototype.
31008 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31009 to implement __libc_accept4.
31010 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31011 __libc_accept4.
31012 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31013
bcf55240
TS
31014 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31015 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31016 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31017 signal-defines.sym.
31018
6178c55b
ST
310192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31020
a4186cff 31021 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31022
6f080c2f
TS
310232012-05-10 Thomas Schwinge <thomas@schwinge.name>
31024
31025 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31026 assertion on O_CLOEXEC flag.
31027 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31028 * hurd/intern-fd.c: Likewise.
31029 * hurd/port2fd.c: Likewise.
31030
bcfe3a54
ST
310312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31032
31033 [BZ #3906]
31034 * bits/in.h (IPV6_PKTINFO): Define new macro.
31035 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31036
89c9aa49
AZ
310372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31038
31039 [BZ #13954]
31040 [BZ #13955]
31041 [BZ #13956]
31042 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31044 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31045 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31047 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31048 * math/libm-test.inc (logb_test) : Additional logb tests.
31049
021db4be
AJ
310502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31051 Andreas Jaeger <aj@suse.de>
31052
31053 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31054 * configure: Regenerated.
31055 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31056 * config.make.in (link-obsolete-rpc): New substituted variable.
31057 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31058 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31059 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31060 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31061 so that libc.a contains the symbols.
31062 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31063 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31064 * sunrpc/auth_none.c: Likewise.
31065 * sunrpc/auth_unix.c: Likewise.
31066 * sunrpc/authdes_prot.c: Likewise.
31067 * sunrpc/authuxprot.c: Likewise.
31068 * sunrpc/clnt_gen.c: Likewise.
31069 * sunrpc/clnt_perr.c: Likewise.
31070 * sunrpc/clnt_raw.c: Likewise.
31071 * sunrpc/clnt_simp.c: Likewise.
31072 * sunrpc/clnt_tcp.c: Likewise.
31073 * sunrpc/clnt_udp.c: Likewise.
31074 * sunrpc/clnt_unix.c: Likewise.
31075 * sunrpc/des_crypt.c: Likewise.
31076 * sunrpc/des_soft.c: Likewise.
31077 * sunrpc/get_myaddr.c: Likewise.
31078 * sunrpc/key_call.c: Likewise.
31079 * sunrpc/key_prot.c: Likewise.
31080 * sunrpc/netname.c: Likewise.
31081 * sunrpc/pm_getmaps.c: Likewise.
31082 * sunrpc/pm_getport.c: Likewise.
31083 * sunrpc/pmap_clnt.c: Likewise.
31084 * sunrpc/pmap_prot.c: Likewise.
31085 * sunrpc/pmap_prot2.c: Likewise.
31086 * sunrpc/pmap_rmt.c: Likewise.
31087 * sunrpc/publickey.c: Likewise.
31088 * sunrpc/rpc_cmsg.c: Likewise.
31089 * sunrpc/rpc_common.c: Likewise.
31090 * sunrpc/rpc_dtable.c: Likewise.
31091 * sunrpc/rpc_prot.c: Likewise.
31092 * sunrpc/rpc_thread.c: Likewise.
31093 * sunrpc/rtime.c: Likewise.
31094 * sunrpc/svc.c: Likewise.
31095 * sunrpc/svc_auth.c: Likewise.
31096 * sunrpc/svc_raw.c: Likewise.
31097 * sunrpc/svc_run.c: Likewise.
31098 * sunrpc/svc_tcp.c: Likewise.
31099 * sunrpc/svc_udp.c: Likewise.
31100 * sunrpc/svc_unix.c: Likewise.
31101 * sunrpc/svcauth_des.c: Likewise.
31102 * sunrpc/xcrypt.c: Likewise.
31103 * sunrpc/xdr.c: Likewise.
31104 * sunrpc/xdr_array.c: Likewise.
31105 * sunrpc/xdr_float.c: Likewise.
31106 * sunrpc/xdr_intXX_t.c: Likewise.
31107 * sunrpc/xdr_mem.c: Likewise.
31108 * sunrpc/xdr_rec.c: Likewise.
31109 * sunrpc/xdr_ref.c: Likewise.
31110 * sunrpc/xdr_sizeof.c: Likewise.
31111 * sunrpc/xdr_stdio.c: Likewise.
31112
b5c086a2
RM
311132012-05-10 Roland McGrath <roland@hack.frob.com>
31114
31115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31116 change. Update copyright years.
31117
6d74dd09
JM
311182012-05-10 Joseph Myers <joseph@codesourcery.com>
31119
31120 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31121
28e72501
MK
311222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31123 Joseph Myers <joseph@codesourcery.com>
31124 Paul Pluzhnikov <ppluzhnikov@google.com>
31125
31126 [BZ #14012]
31127 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31128 requiring rpcgen.
31129 [cross-compiling] (extra-libs): Likewise.
31130 [cross-compiling] (extra-libs-others): Likewise.
31131 [cross-compiling] (librpcsvc-routines): Likewise.
31132 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31133 [cross-compiling] (omit-deps): Likewise.
31134 (sunrpc-CPPFLAGS): New variable.
31135 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31136 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31137 (cross-rpcgen-objs): New variable.
31138 (extra-objs): Append $(cross-rpcgen-objs).
31139 ($(cross-rpcgen-objs)): New rule.
31140 ($(objpfx)cross-rpcgen): Likewise.
31141 (rpcgen-cmd): Define to use $(built-program-file). Expand
31142 comment.
31143 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31144 ($(objpfx)x%.stmp): Likewise.
31145 * sunrpc/proto.h [IS_IN_build] (_): Define.
31146 [IS_IN_build] (_libc_intl_domainname): Likewise.
31147
c8c59454
L
311482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31149
31150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31151 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31152 and R_X86_64_TPOFF64.
31153
6f27cd16
JM
311542012-05-10 Joseph Myers <joseph@codesourcery.com>
31155
31156 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31157 sysdeps/unix/sysv/syscalls.list.
31158 (stime): Likewise.
31159 (utime): Likewise.
31160 * sysdeps/unix/sysv/syscalls.list: Remove file.
31161
02467e1c
PE
311622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31163
31164 [BZ #3440]
31165 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31166 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31167 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31168 (__LC_IDENTIFICATION): Make these macros useful in #if
31169 expressions, as required by C99.
31170
da392631
AS
311712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31172
31173 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31174 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31175 after this.
31176
8115f29b
L
311772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31178
31179 * stdlib/longlong.h: Updated from GCC.
31180
bdd74070
AJ
311812012-05-09 Andreas Jaeger <aj@suse.de>
31182
edfe0dbe
AJ
31183 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31184 default is first entry.
31185 (run_mode): Set type.
31186 (main): Remove informal message about syslog.
31187 (options): Fix typo.
31188
bcfe3a54
ST
31189 [BZ #14053]
31190 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31191 to asm.
bcfe3a54
ST
31192 (lrint): Likewise.
31193 (llrintf): Likewise.
31194 (llrint): Likewise.
31195 (rint): Likewise.
31196 (rintf): Likewise.
31197 (nearbyint): Likewise.
31198 (nearbyintf): Likewise.
bdd74070 31199
91d8d69e
AJ
312002012-05-09 Andreas Jaeger <aj@suse.de>
31201 Pedro Alves <palves@redhat.com>
31202
31203 * nscd/nscd.c (run_mode): Use enum.
31204 (main): Cleanup coding style issue.
31205
bb90b80b
AJ
312062012-05-09 Alexandre Oliva <aoliva@redhat.com>
31207 Andreas Jaeger <aj@suse.de>
31208
bcfe3a54
ST
31209 * nscd/nscd.c (go_background): Replaced with...
31210 (run_mode): ... this.
bb90b80b 31211 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31212 (options): Add -F --foreground.
31213 (main): Implement it.
31214 (parse_opt): Parse it.
bb90b80b 31215
1a4b75a1
AJ
312162012-05-09 Andreas Jaeger <aj@suse.de>
31217
31218 [BZ #14083]
31219 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31220 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31221 -Wconversion warning.
31222 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31223 Likewise.
31224
b1cc2472
JM
312252012-05-09 Joseph Myers <joseph@codesourcery.com>
31226
31227 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31228 == 0.
31229 (LC_ALL): Use macro-int-constant.
31230 (LC_COLLATE): Likewise.
31231 (LC_CTYPE): Likewise.
31232 (LC_MESSAGES): Likewise.
31233 (LC_MONETARY): Likewise.
31234 (LC_NUMERIC): Likewise.
31235 (LC_TIME): Likewise.
31236 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31237 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31239 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31240 Specify type.
31241 [C99-based standards] (float_t): Expect type.
31242 [C99-based standards] (double_t): Expect type.
31243 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31244 type.
31245 [C99-based standards] (HUGE_VALL): Likewise.
31246 [C99-based standards] (INFINITY): Likewise.
31247 [C99-based standards] (NAN): Likewise.
31248 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31249 [C99-based standards] (FP_NAN): Likewise.
31250 [C99-based standards] (FP_NORMAL): Likewise.
31251 [C99-based standards] (FP_SUBNORMAL): Likewise.
31252 [C99-based standards] (FP_ZERO): Likewise.
31253 [C99-based standards] (FP_FAST_FMA): Use
31254 optional-macro-int-constant. Specify type. Require == 1.
31255 [C99-based standards] (FP_FAST_FMAF): Likewise.
31256 [C99-based standards] (FP_FAST_FMAL): Likewise.
31257 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31258 [C99-based standards] (FP_ILOGBNAN): Likewise.
31259 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31260 Specify type.
31261 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31262 [C99-based standards] (math_errhandling): Specify type.
31263 [ISO99 || ISO11] (signgam): Do not allow.
31264 [non-C99-based standards] (copysignf): Do not allow.
31265 [non-C99-based standards] (exp2f): Likewise.
31266 [non-C99-based standards] (log2f): Likewise.
31267 [non-C99-based standards] (modff): Allow.
31268 [non-C99-based standards] (erff): Do not allow.
31269 [non-C99-based standards] (erfcf): Likewise.
31270 [non-C99-based standards] (gammaf): Likewise.
31271 [non-C99-based standards] (hypotf): Likewise.
31272 [non-C99-based standards] (j0f): Likewise.
31273 [non-C99-based standards] (j1f): Likewise.
31274 [non-C99-based standards] (jnf): Likewise.
31275 [non-C99-based standards] (lgammaf): Likewise.
31276 [non-C99-based standards] (tgammaf): Likewise.
31277 [non-C99-based standards] (y0f): Likewise.
31278 [non-C99-based standards] (y1f): Likewise.
31279 [non-C99-based standards] (ynf): Likewise.
31280 [non-C99-based standards] (isnanf): Likewise.
31281 [non-C99-based standards] (acoshf): Likewise.
31282 [non-C99-based standards] (asinhf): Likewise.
31283 [non-C99-based standards] (atanhf): Likewise.
31284 [non-C99-based standards] (cbrtf): Likewise.
31285 [non-C99-based standards] (expm1f): Likewise.
31286 [non-C99-based standards] (ilogbf): Likewise.
31287 [non-C99-based standards] (log1pf): Likewise.
31288 [non-C99-based standards] (logbf): Likewise.
31289 [non-C99-based standards] (nextafterf): Likewise.
31290 [non-C99-based standards] (remainderf): Likewise.
31291 [non-C99-based standards] (rintf): Likewise.
31292 [non-C99-based standards] (scalbf): Likewise.
31293 [non-C99-based standards] (copysignl): Likewise.
31294 [non-C99-based standards] (exp2l): Likewise.
31295 [non-C99-based standards] (log2l): Likewise.
31296 [non-C99-based standards] (modfl): Allow.
31297 [non-C99-based standards] (erfl): Do not allow.
31298 [non-C99-based standards] (erfcl): Likewise.
31299 [non-C99-based standards] (gammal): Likewise.
31300 [non-C99-based standards] (hypotl): Likewise.
31301 [non-C99-based standards] (j0l): Likewise.
31302 [non-C99-based standards] (j1l): Likewise.
31303 [non-C99-based standards] (jnl): Likewise.
31304 [non-C99-based standards] (lgammal): Likewise.
31305 [non-C99-based standards] (tgammal): Likewise.
31306 [non-C99-based standards] (y0l): Likewise.
31307 [non-C99-based standards] (y1l): Likewise.
31308 [non-C99-based standards] (ynl): Likewise.
31309 [non-C99-based standards] (isnanl): Likewise.
31310 [non-C99-based standards] (acoshl): Likewise.
31311 [non-C99-based standards] (asinhl): Likewise.
31312 [non-C99-based standards] (atanhl): Likewise.
31313 [non-C99-based standards] (cbrtl): Likewise.
31314 [non-C99-based standards] (expm1l): Likewise.
31315 [non-C99-based standards] (ilogbl): Likewise.
31316 [non-C99-based standards] (log1pl): Likewise.
31317 [non-C99-based standards] (logbl): Likewise.
31318 [non-C99-based standards] (nextafterl): Likewise.
31319 [non-C99-based standards] (remainderl): Likewise.
31320 [non-C99-based standards] (rintl): Likewise.
31321 [non-C99-based standards] (scalbl): Likewise.
31322 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31323 [non-C99-based standards] (FP_*): Do not allow.
31324 [C99-based standards] (FP_*): Change to
31325 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31326 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31327 allow.
31328 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31329 (SIG_ERR): Likewise.
31330 [X/Open-based standards] (SIG_HOLD): Likewise.
31331 (SIG_IGN): Likewise.
31332 (SIGABRT): Use macro-int-constant. Specify type. Require
31333 positive value.
31334 (SIGFPE): Likewise.
31335 (SIGILL): Likewise.
31336 (SIGINT): Likewise.
31337 (SIGSEGV): Likewise.
31338 (SIGTER): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31341 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31343 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31344 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31345 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31346 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31347 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31348 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31349 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31350 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31351 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31352 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31353 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31354 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31355 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31356 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31357 [X/Open-based standards] (SIGTRAP): Likewise.
31358 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31359 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31360 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31361 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31362 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31363 allow.
31364
b9f1922d
IW
313652012-05-08 Ian Wienand <ianw@vmware.com>
31366
31367 [BZ #14080]
31368 * time/tzset.c (__tzset_parse_tz): Update default rules for
31369 daylight time changes in the Energy Policy Act of 2005.
31370
1db86e88
AJ
313712012-05-09 Andreas Jaeger <aj@suse.de>
31372
31373 [BZ #13983]
31374 * elf/ldconfig.c (parse_conf): Change string to make clear that
31375 ldconfig only issued a warning if ld.so.conf does not exist.
31376
dee4a4e3
DM
313772012-05-08 David S. Miller <davem@davemloft.net>
31378
ee0db190
DM
31379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31380 movxtod instead of popping the value on the stack.
31381
dee4a4e3
DM
31382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31383
6a43ec98
CD
313842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31385
31386 * config.h.in: Add HAVE_ARM_PCS_VFP.
31387
05c2c961
RMG
313882012-05-08 Roland Mc Grath <roland@hack.frob.com>
31389
bcfe3a54
ST
31390 [BZ #13979]
31391 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31392 checking but the checks are disabled for any reason.
05c2c961 31393
4b30f61a
L
313942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31395
31396 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31397 and ELF64_R_TYPE with ELFW(R_TYPE).
31398
eee2bc67
JM
313992012-05-08 Joseph Myers <joseph@codesourcery.com>
31400
7ea5391a
JM
31401 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31402 (ulimit): Likewise.
31403
eee2bc67
JM
31404 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31405 (settimeofday): Likewise.
31406
abb66a67
MF
314072012-05-08 Mike Frysinger <vapier@gentoo.org>
31408
31409 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31410 a struct th_u2 inside the union, and move tu_block/tu_code into
31411 a new th_u3 union of tu_block/tu_code inside of that. Move
31412 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31413 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31414 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31415 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31416 (th_stuff): Change to th_u1.tu_stuff.
31417 (th_data): Define.
31418 (th_msg): Change to th_u1.th_u2.tu_data.
31419
7f18b530
DM
314202012-05-07 David S. Miller <davem@davemloft.net>
31421
05760585
DM
31422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31423
7f18b530
DM
31424 [BZ #14074]
31425 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31426 (SETUP_PIC_REG): Use it.
31427 (SETUP_PIC_REG_LEAF): Use it.
31428
495fd99f
JM
314292012-05-07 Joseph Myers <joseph@codesourcery.com>
31430
31431 [BZ #13885]
31432 [BZ #13923]
31433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31434 USE_AS_EXPM1L.
31435 (EXPL_FINITE): Likewise.
31436 (FLDLOG): Likewise.
31437 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31438 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31439 e_expl.S.
31440 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31441 USE_AS_EXPM1L.
31442 (EXPL_FINITE): Likewise.
31443 (FLDLOG): Likewise.
31444 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31445 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31446 e_expl.S.
31447 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31448 test of -max_value argument for long double.
31449 * sysdeps/i386/fpu/libm-test-ulps: Update.
31450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31451
6693d694
DM
314522012-05-06 David S. Miller <davem@davemloft.net>
31453
31454 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31455 quad soft-float symbols whose references which are compiler
31456 generated.
31457 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31458
6c23e11c
JM
314592012-05-06 Joseph Myers <joseph@codesourcery.com>
31460
d8b82cad
JM
31461 [BZ #13884]
31462 [BZ #13914]
31463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31464 USE_AS_EXP10L.
31465 (EXPL_FINITE): Likewise.
31466 (FLDLOG): Likewise.
31467 (c0): Likewise.
31468 (c1): Likewise.
31469 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31470 Adjust comments for base varying.
31471 (__expl_finite): Change alias to EXPL_FINITE.
31472 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31473 e_expl.S.
31474 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31475 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31476 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31477 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31479 USE_AS_EXP10L.
31480 (EXPL_FINITE): Likewise.
31481 (FLDLOG): Likewise.
31482 (c0): Likewise.
31483 (c1): Likewise.
31484 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31485 Adjust comments for base varying.
31486 (__expl_finite): Change alias to EXPL_FINITE.
31487 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31488 tests for bugs.
31489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31490
6c23e11c
JM
31491 [BZ #14064]
31492 * math/libm-test.inc (check_float_internal): Correct ulp
31493 calculation for subnormal expected results.
31494
29ba805c
AJ
314952012-05-06 Andreas Jaeger <aj@suse.de>
31496
31497 * Makeconfig (+math-flags): New, set to -frounding-math.
31498 (+cflags): Add +math-flags so that all of glibc gets compiled with
31499 it.
31500
31501 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31502
7b17aeda
JM
315032012-05-05 Joseph Myers <joseph@codesourcery.com>
31504
5779f134
JM
31505 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31506 Disable one test.
31507
41498f4d
JM
31508 [BZ #13787]
31509 [BZ #13922]
31510 [BZ #14036]
31511 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31512 (__ieee754_expl): Allow for and saturate large arguments.
31513 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31514 (u_threshold): Likewise.
31515 (__exp): Call __ieee754_exp before checking for overflow and
31516 underflow.
31517 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31518 (u_threshold): Likewise.
31519 (__expf): Call __ieee754_expf before checking for overflow and
31520 underflow.
31521 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31522 (u_threshold): Likewise.
31523 (__expl): Call __ieee754_expl before checking for overflow and
31524 underflow.
31525 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31526 (__ieee754_expl): Allow for and saturate large arguments.
31527 * math/libm-test.inc (exp_test): Add another test. Do not allow
31528 missing overflow exception on overflow.
31529 (expm1_test): Do not allow missing overflow exception on overflow.
31530
6698b8bf
JM
31531 * sysdeps/i386/fpu/e_expl.c: Move to ...
31532 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31533 rather than using inline asm.
31534 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31535 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31536 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31537
7b17aeda
JM
31538 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31539 (nice): Likewise.
31540 (poll): Likewise.
31541 (signal): Likewise.
31542 (time): Likewise.
31543 (times): Likewise.
31544
f7c85819
JM
315452012-05-04 Joseph Myers <joseph@codesourcery.com>
31546
31547 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31548 sysdeps/unix/common/syscalls.list.
31549 (fchmod): Likewise.
31550 (fchown): Likewise.
31551 (ftruncate): Likewise.
31552 (getrusage): Likewise.
31553 (gettimeofday): Likewise.
31554 (setpgid): Likewise.
31555 (setregid): Likewise.
31556 (setreuid): Likewise.
31557 (sigaction): Likewise.
31558 (truncate): Likewise.
31559 (vhangup): Likewise.
31560 * sysdeps/unix/common/syscalls.list: Remove file.
31561 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31562 * sysdeps/unix/sysv/linux/Implies: Likewise.
31563
336270d0
L
315642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31565
31566 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31568 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31569 Moved to ...
31570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31571 Here.
31572 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31573 to ...
31574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31575 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31576 to ...
31577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31579 to ...
31580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31581 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31582 to ...
31583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31584 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31585 to ...
31586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31588 to ...
31589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31590 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31591 to ...
31592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31593 Here.
31594 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31595 to ...
31596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31597 Here.
31598 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31599 to ...
31600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31601 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31602 Moved to ...
31603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31604 Here.
31605 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31606 to ...
31607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31608
d128e450
JM
316092012-05-04 Joseph Myers <joseph@codesourcery.com>
31610
fa8ee516
JM
31611 * sysdeps/unix/common/bits/dirent.h: Remove file.
31612 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31613
d128e450
JM
31614 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31615 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31616 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31617 * sysdeps/unix/bsd/isatty.c: Likewise.
31618 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31619 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31620 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31621
ff8faaf0 316222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31623
62881be4 31624 [BZ #13563]
31dc8730
AZ
31625 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31626 long double comparison inaccuracies.
31627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31629
6fef930c
AS
316302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31631
31632 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31634
8f203e6c
JM
316352012-05-04 Joseph Myers <joseph@codesourcery.com>
31636
31637 [BZ #14049]
31638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31639 nonzero digits before rounding a hex value.
31640 * stdlib/tst-strtod.c (tests): Add another test.
31641
5197d9c2
AK
316422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31643
31644 * sysdeps/s390/fpu/libm-test-ulps: Update.
31645
f0c1dedf
AJ
316462012-05-03 Andreas Jaeger <aj@suse.de>
31647
31648 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31649 does not get optimized out.
31650 (malloc_opt_barrier): New.
31651
a65ef2ae 316522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31653 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31654
2b942cb7 31655 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31656 intermediate file deletion.
2b942cb7 31657 (generated): Add .symlist files.
a65ef2ae 31658
54b71e02
JM
316592012-05-03 Joseph Myers <joseph@codesourcery.com>
31660
31661 [BZ #13775]
31662 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31663 Redirect under this condition.
31664 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31665 [__USE_GNU] (__dprintf_chk): Not under this condition.
31666 [__USE_GNU] (__vdprintf_chk): Likewise.
31667 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31668 under this condition.
31669 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31670 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31671 [__USE_XOPEN2K8] (vdprintf): Likewise.
31672 [__USE_GNU] (__dprintf_chk): Not under this condition.
31673 [__USE_GNU] (__vdprintf_chk): Likewise.
31674 [__USE_GNU] (dprintf): Likewise.
31675 [__USE_GNU] (vdprintf): Likewise.
31676
d3dfcc41
RM
316772012-05-03 Roland McGrath <roland@hack.frob.com>
31678
31679 * elf/Makefile (common-generated): Set this instead of generated for
31680 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31681 $(all-built-dso)-derived lists.
31682
7ac30cc5
AJ
316832012-05-03 Andreas Jaeger <aj@suse.de>
31684
0c51e550
AJ
31685 * sysdeps/i386/fpu/libm-test-ulps: Update.
31686
7ac30cc5
AJ
31687 * FAQ: Removed.
31688 * FAQ.in: Likewise.
31689 * scripts/gen-FAQ.pl: Likewise.
31690 * manual/install.texi (Installation): Point to online location of
31691 FAQ.
31692 * Makefile (files-for-dist): Remove FAQ.
31693 (FAQ): Remove.
31694
d4c2917f
AM
316952012-05-02 Allan McRae <allan@archlinux.org>
31696
31697 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31698 (LDFLAGS-reldepmod5.so): Likewise.
31699 (LDFLAGS-reldep6mod1.so): Likewise.
31700 (LDFLAGS-reldep6mod4.so): Likewise.
31701 (LDFLAGS-reldep8mod3.so): Likewise.
31702 (LDFLAGS-unload4mod1.so): Likewise.
31703 (LDFLAGS-unload4mod2.so): Likewise.
31704 (LDFLAGS-tst-initorder): Likewise.
31705 (LDFLAGS-tst-initordera2.so): Likewise.
31706 (LDFLAGS-tst-initordera3.so): Likewise.
31707 (LDFLAGS-tst-initordera4.so): Likewise.
31708 (LDFLAGS-tst-initorderb2.so): Likewise.
31709 (LDFLAGS-noload): Likewise.
31710 (LDFLAGS-next): Likewise.
31711 (LDFLAGS-order2mod1.so): Likewise.
31712 (LDFLAGS-order2mod2.so): Likewise.
31713 (LDFLAGS-tst-initorder2): Likewise.
31714 (LDFLAGS-tst-initorder2a.so): Likewise.
31715 (LDFLAGS-tst-initorder2b.so): Likewise.
31716 (LDFLAGS-tst-initorder2c.so): Likewise.
31717 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31718
d77f993f
DM
317192012-05-02 David S. Miller <davem@davemloft.net>
31720
31721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31722
171a70b4
PP
317232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31724
31725 [BZ #14055]
31726 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31727
0be196ad
AJ
317282012-05-02 Andreas Jaeger <aj@suse.de>
31729
31730 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31731 since we manipulate rounding mode.
31732 (CPPFLAGS-test-idouble.c): Likewise.
31733 (CPPFLAGS-test-ifloat.c): Likewise.
31734 (CFLAGS-test-ldouble.c): Likewise.
31735 (CFLAGS-test-double.c): Likewise.
31736 (CFLAGS-test-float.c): Likewise.
31737 (CFLAGS-test-misc.c): Likewise.
31738 (CFLAGS-test-test-fenv.c): Likewise.
31739
4f9d04aa
AZ
317402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31741
2b942cb7
RM
31742 [BZ #2550]
31743 [BZ #2570]
31744 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31745 comparisons to determine direction to adjust input.
4f9d04aa 31746
82a79e7d
RM
317472012-05-01 Roland McGrath <roland@hack.frob.com>
31748
f5a01ca9
RM
31749 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31750 output to the target.
31751
90fe4186
RM
31752 * scripts/localplt.awk: New file.
31753 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31754 (check-localplt-CFLAGS): Variable removed.
31755 ($(all-built-dso:=.jmprel)): New static pattern rule.
31756 (generated): Add those targets.
31757 (localplt-built-dso): New variable.
31758 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31759
31760 * elf/check-localplt.c: File removed.
31761
82397ed6
RM
31762 * scripts/check-execstack.awk: New file.
31763 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31764 (check-execstack-CFLAGS): Variable removed.
31765 ($(objpfx)check-execstack.h): Target removed.
31766 ($(objpfx)execstack-default): New target.
31767 (generated): Add that instead of check-execstack.h.
31768 ($(all-built-dso:=.phdr)): New static pattern rule.
31769 (generated): Add those targets.
31770 * elf/check-execstack.c: File removed.
31771
82a79e7d
RM
31772 * scripts/check-textrel.awk: New file.
31773 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31774 (check-textrel-CFLAGS): Variable removed.
31775 (all-built-dso): Use := to define.o
31776 ($(all-built-dso:=.dyn)): New static pattern rule.
31777 (generated): Add those targets.
31778 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31779 * config.make.in (READELF): New substituted variable.
31780 * elf/check-textrel.c: File removed.
31781
62fde54f 317822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31783
615605c9
JM
31784 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31785 allow.
31786 * conform/data/ctype.h-data [C99-based standards] (isblank):
31787 Expect function.
31788 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31789 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31791 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31792 Specify type. Require positive value.
31793 (EILSEQ): Likewise.
31794 (ERANGE): Likewise.
31795 [ISO || POSIX] (EILSEQ): Do not expect.
31796 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31797 Specify type. Require positive value.
31798 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31849 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31858 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31859 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31864 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31865 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31866 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31867 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31868 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31872 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31873 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31874 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31875 Require >= 2.
31876 (FLT_ROUNDS): Expect as macro, not constant.
31877 (FLT_MANT_DIG): Use macro-int-constant.
31878 (DBL_MANT_DIG): Likewise.
31879 (LDBL_MANT_DIG): Likewise.
31880 (FLT_DIG): Likewise.
31881 (DBL_DIG): Likewise.
31882 (LDBL_DIG): Likewise.
31883 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31884 (DBL_MIN_EXP): Likewise.
31885 (LDBL_MIN_EXP): Likewise.
31886 (FLT_MAX_EXP): Use macro-int-constant.
31887 (DBL_MAX_EXP): Likewise.
31888 (LDBL_MAX_EXP): Likewise.
31889 (FLT_MAX_10_EXP): Likewise.
31890 (DBL_MAX_10_EXP): Likewise.
31891 (LDBL_MAX_10_EXP): Likewise.
31892 (FLT_MAX): Use macro-constant.
31893 (DBL_MAX): Likewise.
31894 (LDBL_MAX): Likewise.
31895 (FLT_EPSILON): Use macro-constant. Give upper bound.
31896 (DBL_EPSILON): Likewise.
31897 (LDBL_EPSILON): Likewise.
31898 (FLT_MIN): Likewise.
31899 (DBL_MIN): Likewise.
31900 (LDBL_MIN): Likewise.
31901 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31902 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31903 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31904 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31905 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31906 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31907 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31908 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31909 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31910 [ISO11] (FLT_TRUE_MIN): Likewise.
31911 [ISO11] (LDBL_TRUE_MIN): Likewise.
31912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31913 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31914 (SCHAR_MIN): Use macro-int-constant. Specify type.
31915 (SCHAR_MAX): Likewise.
31916 (UCHAR_MAX): Likewise.
31917 (CHAR_MIN): Likewise.
31918 (CHAR_MAX): Likewise.
31919 (MB_LEN_MAX): Use macro-int-constant.
31920 (SHRT_MIN): Use macro-int-constant. Specify type.
31921 (SHRT_MAX): Likewise.
31922 (USHRT_MAX): Likewise.
31923 (INT_MAX): Likewise.
31924 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31925 bound negative.
31926 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31927 bound with "U".
31928 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31929 bound with "L".
31930 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31931 bound negative. Suffix upper bound with "L".
31932 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31933 bound with "UL".
31934 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31935 Specify type.
31936 [C99-based standards] (LLONG_MAX): Likewise.
31937 [C99-based standards] (ULLONG_MAX): Likewise.
31938 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31939 == 0.
31940 [ISO11] (max_align_t): Require type.
31941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31942
c9140a62
JM
31943 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31944 from $CFLAGS, without defining away __attribute__ calls.
31945 (checknamespace): Use $CFLAGS_namespace.
31946
9af0bf29
JM
31947 * conform/conformtest.pl (@keywords): Only include C99 keywords
31948 for standards based on C99 or C11.
31949
343222a2
JM
31950 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31951 Disable tests.
31952 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31953 UNIX98]: Likewise.
31954
661f8cf0
JM
31955 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31956 usability of symbols in #if.
31957
ee74b9cb
JM
31958 * conform/conformtest.pl: If macro or constant types start
31959 "promoted:", expect the symbol to be of the following type
31960 promoted by the integer promotions.
62fde54f 31961
aafc49b3
JM
31962 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31963 in one place. Also handle "macro-constant".
31964
fefdf574
JM
31965 * conform/conformtest.pl: Only accept expected macro values with
31966 "==". Parse all "macro" lines in one place.
31967 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31968
f2d922fe
JM
31969 * conform/conformtest.pl: Handle braced types on "constant" lines
31970 instead of handling "typed-constant".
31971 * conform/data/signal.h-data: Use "constant" instead of
31972 "typed-constant".
31973
d22956c9
JM
31974 * conform/conformtest.pl: Handle "optional-" at start of lines in
31975 one place rather than duplicating several cases. Handle each
31976 format of "macro" line with initial "optional-".
31977
028e2e38
JM
31978 * conform/conformtest.pl: Only accept expected constant or
31979 optional-constant values with "==". Parse all "constant" lines in
31980 one place. Parse all "optional-constant" lines in one place.
31981 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31982 * conform/data/fmtmsg.h-data: Likewise.
31983 * conform/data/netinet/in.h-data: Likewise.
31984 * conform/data/tar.h-data: Likewise.
31985 * conform/data/limits.h-data: Use "==" form on "constant" and
31986 "optional-constant" lines.
31987
1b8f2850
JM
31988 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31989 Use -std=c99 for XOPEN2K.
31990 (@knownproblems): Remove.
31991 (newtoken): Don't check %isknown.
31992
a05a144b
JM
31993 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31994 Do not expect macro.
31995 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32007 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32008 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32025 [XPG3] (acosh): Likewise.
32026 [XPG3] (asinh): Likewise.
32027 [XPG3] (atanh): Likewise.
32028 [XPG3] (cbrt): Likewise.
32029 [XPG3] (expm1): Likewise.
32030 [XPG3] (ilogb): Likewise.
32031 [XPG3] (log1p): Likewise.
32032 [XPG3] (logb): Likewise.
32033 [XPG3] (nextafter): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32036 [XPG3] (remainder): Likewise.
32037 [XPG3] (rint): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32045 [UNIX98 || XOPEN2K] (scalb): Expect.
32046 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32047 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32167 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32168 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32169 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32170 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32171 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32172 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32173 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32174 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32175 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32176 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32177 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32178 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32179 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32180 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32181 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32182 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32183
73c5ebe3
JM
32184 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32185 _XOPEN_SOURCE_EXTENDED for XPG4.
32186
39c33b6c
JM
32187 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32188
62fde54f
JM
32189 * Makeconfig (localtime): Remove variable.
32190 (inst_localtime-file): Likewise.
32191
0741d64c
AS
321922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32193
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32195 Update.
32196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32197 Update.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32199 Update.
32200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32201 Update.
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32203 Update.
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32205 Update.
32206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32207 Update.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32209 Update.
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32211 Update.
32212
7cb029ee
JM
322132012-05-01 Joseph Myers <joseph@codesourcery.com>
32214
32215 [BZ #2550]
32216 [BZ #2570]
32217 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32218 comparisons to determine direction to adjust input.
32219 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32220 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32221 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32222 Likewise.
32223 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32224 Likewise.
32225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32226 Likewise.
32227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32229 Likewise.
32230 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32231 Likewise.
32232 * math/libm-test.inc (nexttoward_test): Add more tests.
32233
412bd966
AS
322342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32235
32236 [BZ #14040]
32237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32238 in version GLIBC_2.1, not GLIBC_2.0.
32239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32240 Likewise.
32241
9568c0c2
JM
322422012-04-30 Joseph Myers <joseph@codesourcery.com>
32243
adfbc8ac
JM
32244 [BZ #13942]
32245 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32246 (1 - x) * (1 + x).
32247 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32248 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32249 * math/libm-test.inc (acos_test): Add more tests.
32250 (asin_test): Likewise.
32251 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32253
5ba3cc69
JM
32254 [BZ #14034]
32255 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32256 of square root.
32257 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32258 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32259 * math/libm-test.inc (acos_test_tonearest): New function.
32260 (acos_test_towardzero): Likewise.
32261 (acos_test_downward): Likewise.
32262 (acos_test_upward): Likewise.
32263 (asin_test_tonearest): Likewise.
32264 (asin_test_towardzero): Likewise.
32265 (asin_test_downward): Likewise.
32266 (asin_test_upward): Likewise.
32267 (main): Call the new functions.
32268 * sysdeps/i386/fpu/libm-test-ulps: Update.
32269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32270
9568c0c2
JM
32271 [BZ #13884]
32272 [BZ #13924]
32273 * math/e_exp10.c: Include <float.h>.
32274 (__ieee754_exp10): Handle underflow here rather than multiplying
32275 large negative argument by M_LN10.
32276 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32277 of __ieee754_expf.
32278 * math/e_exp10l.c: Include <float.h>.
32279 (__ieee754_exp10l): Handle underflow here rather than multiplying
32280 large negative argument by M_LN10l.
32281 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32282 spurious overflow exception on underflow.
32283
5ac3ea17
MP
322842012-04-29 Marek Polacek <polacek@redhat.com>
32285
32286 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32287 (__fortify_function): New macro.
32288 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32289 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32290 __extern_always_inline.
32291 * libio/bits/stdio2.h: Likewise.
32292 * libio/bits/stdio.h: Likewise.
32293 * string/string.h: Likewise.
32294 * string/bits/string3.h: Likewise.
32295 * include/stdio.h: Likewise.
32296 * stdlib/bits/stdlib.h: Likewise.
32297 * stdlib/stdlib.h: Likewise.
32298 * rt/bits/mqueue2.h: Likewise.
32299 * rt/mqueue.h: Likewise.
32300 * posix/bits/unistd.h: Likewise.
32301 * posix/unistd.h: Likewise.
32302 * io/bits/poll2.h: Likewise.
32303 * io/bits/fcntl2.h: Likewise.
32304 * io/fcntl.h: Likewise.
32305 * io/sys/poll.h: Likewise.
32306 * misc/bits/syslog.h: Likewise.
32307 * misc/bits/syslog-ldbl.h: Likewise.
32308 * misc/sys/syslog.h: Likewise.
32309 * socket/bits/socket2.h: Likewise.
32310 * socket/sys/socket.h: Likewise.
32311 * debug/tst-chk1.c: Likewise.
32312 * wcsmbs/bits/wchar2.h: Likewise.
32313 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32314 * wcsmbs/wchar.h: Likewise.
32315
ecf0ebfb
AJ
323162012-04-29 Andreas Jaeger <aj@suse.de>
32317
32318 * Makerules (tests): Remove enable-check-abi protection.
32319 (check-abi-warn): Remove.
32320 (check-abi-%): Remove check-abi-warn usage.
32321
32322 * configure.in: Remove check-abi configure option.
32323 * configure: Regenerated.
32324 * config.make.in (enable-check-abi): Remove.
32325
6d5c57fa
AS
323262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32327
24c5d07e 32328 [BZ #14033]
ded5180a
AS
32329 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32330 double functions to double *_finite functions.
32331
7e0d315d
AS
32332 [BZ #13941]
32333 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32334 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32335 LDBL_MIN_EXP.
32336 * stdio-common/Makefile (tests): Add tst-sprintf3.
32337 * stdio-common/tst-sprintf3.c: New file.
32338
6d5c57fa
AS
32339 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32340 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32341
0749ff8b
JM
323422012-04-28 Joseph Myers <joseph@codesourcery.com>
32343
32344 * conform/conformtest.pl: Remove duplicate typed-constant
32345 handling.
32346
8dbd5d7b
DM
323472012-04-28 David S. Miller <davem@davemloft.net>
32348
32349 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32350 (check-abi-%): Remove AWK script prerequisite and explicit
32351 abilist directory.
32352 (check-abi): Rewrite to just diff the symlist with the abilist.
32353 (config-tls, config-abi-config): Delete, no longer used.
32354 (update-abi-%): Remove AWK script and explicit abilist directory.
32355 (update-abi): Rewrite to simply compare and conditionally copy the
32356 symlist and the sysdep abilist file. Remove update-abi-config
32357 checks.
32358 * abilist/ld.abilist: Remove.
32359 * abilist/libBrokenLocale.abilist: Remove.
32360 * abilist/libanl.abilist: Remove.
32361 * abilist/libcrypt.abilist: Remove.
32362 * abilist/libdl.abilist: Remove.
32363 * abilist/librt.abilist: Remove.
32364 * abilist/libthread_db.abilist: Remove.
32365 * abilist/libutil.abilist: Remove.
32366 * scripts/extract-abilist.awk: Remove.
32367 * scripts/merge-abilist.awk: Remove.
32368 * sysdeps/generic/libcidn.abilist: New file.
32369 * sysdeps/generic/libnss_compat.abilist: New file.
32370 * sysdeps/generic/libnss_db.abilist: New file.
32371 * sysdeps/generic/libnss_dns.abilist: New file.
32372 * sysdeps/generic/libnss_files.abilist: New file.
32373 * sysdeps/generic/libnss_hesiod.abilist: New file.
32374 * sysdeps/generic/libnss_nis.abilist: New file.
32375 * sysdeps/generic/libnss_nisplus.abilist: New file.
32376 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32377 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32378 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32379 file.
32380 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32381 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32382 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32383 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32384 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32385 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32386 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32387 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32388 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32389 file.
32390 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32391 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32392 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32393 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32394 file.
32395 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32396 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32397 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32398 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32399 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32400 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32401 file.
32402 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32403 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32404 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32405 file.
32406 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32408 New file.
32409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32410 New file.
32411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32412 New file.
32413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32414 New file.
32415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32416 New file.
32417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32418 New file.
32419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32420 New file.
32421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32422 New file.
32423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32424 New file.
32425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32426 New file.
32427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32428 New file.
32429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32430 New file.
32431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32432 New file.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32434 file.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32436 New file.
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32438 New file.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32440 file.
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32442 New file.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32444 New file.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32446 file.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32448 New file.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32450 New file.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32452 New file.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32454 New file.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32456 New file.
32457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32458 New file.
32459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32461 file.
32462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32463 New file.
32464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32465 file.
32466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32467 file.
32468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32469 file.
32470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32471 file.
32472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32473 file.
32474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32475 New file.
32476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32477 file.
32478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32479 file.
32480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32481 New file.
32482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32483 file.
32484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32486 file.
32487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32488 New file.
32489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32490 file.
32491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32492 file.
32493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32494 file.
32495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32496 file.
32497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32498 file.
32499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32500 New file.
32501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32502 file.
32503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32504 file.
32505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32506 New file.
32507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32508 file.
32509 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32510 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32511 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32512 file.
32513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32514 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32515 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32516 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32517 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32518 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32519 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32520 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32521 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32522 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32525 file.
32526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32527 New file.
32528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32529 file.
32530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32531 file.
32532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32533 file.
32534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32535 file.
32536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32537 file.
32538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32539 New file.
32540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32541 New file.
32542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32543 file.
32544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32545 New file.
32546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32547 file.
32548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32550 file.
32551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32552 New file.
32553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32554 file.
32555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32556 file.
32557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32558 file.
32559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32560 file.
32561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32562 file.
32563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32564 New file.
32565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32566 New file.
32567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32568 file.
32569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32570 New file.
32571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32572 file.
32573
41d73a1b
JM
325742012-04-28 Joseph Myers <joseph@codesourcery.com>
32575
32576 * conform/conformtest.pl: Fix typo in handling typed-constant from
32577 allow-header.
32578
28aeeda4
JM
325792012-04-27 Joseph Myers <joseph@codesourcery.com>
32580
adae8f5e
JM
32581 * README: Cut down references to pre-2.6 Linux kernels and
32582 Linuxthreads. Update lists of configurations in libc and ports
32583 and sort alphabetically. Say "or newer" with Linux kernel version
32584 requirements.
32585
28aeeda4
JM
32586 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32587
a462cb63
RA
325882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32589
32590 [BZ #887]
32591 * math/libm-test.inc (logb_test_downward): New test to expose
32592 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32593 rounding mode.
32594
6ad3493e
JM
325952012-04-27 Joseph Myers <joseph@codesourcery.com>
32596
32597 [BZ #14027]
32598 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32599 to be done.
32600 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32601 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32602
2ce4f015
JM
326032012-04-26 Joseph Myers <joseph@codesourcery.com>
32604
5aeb141a
JM
32605 * sysdeps/unix/i386/brk.S: Remove file.
32606 * sysdeps/unix/i386/dl-brk.S: Likewise.
32607 * sysdeps/unix/i386/pipe.S: Likewise.
32608 * sysdeps/unix/i386/sigreturn.S: Likewise.
32609 * sysdeps/unix/i386/syscall.S: Likewise.
32610 * sysdeps/unix/i386/vfork.S: Likewise.
32611 * sysdeps/unix/i386/wait.S: Likewise.
32612
7143acae
JM
32613 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32614 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32615
2ce4f015
JM
32616 * configure.in (arm*-none*): Do not allow without
32617 --enable-hacker-mode.
32618 (netbsd*): Remove case setting base_os.
32619 (386bsd*): Likewise.
32620 (freebsd*): Likewise.
32621 (bsdi*): Likewise.
32622 (osf*): Likewise.
32623 (sunos*): Likewise.
32624 (ultrix*): Likewise.
32625 (newsos*): Likewise.
32626 (dynix*): Likewise.
32627 (*bsd*): Likewise.
32628 (sysv*): Likewise.
32629 (isc*): Likewise.
32630 (esix*): Likewise.
32631 (sco*): Likewise.
32632 (minix*): Likewise.
32633 (irix4*): Likewise.
32634 (irix6*): Likewise.
32635 (solaris[2-9]*): Likewise.
32636 (none): Likewise.
32637 * configure: Regenerated.
32638
0ac229c8
AZ
326392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32640
32641 [BZ #11521]
32642 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32643 overflow or cancellation in calculating denominator.
32644 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32646 down expression to avoid unexpected rounding in newer GCCs.
32647 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32648
33f244f4
DM
326492012-04-26 David S. Miller <davem@davemloft.net>
32650
32651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32652 long-double compat symbols.
32653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32666
cfa1f3e8
DM
326672012-04-25 David S. Miller <davem@davemloft.net>
32668
32669 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32670 HWCAP_* values only after the memory barriers have been defined.
32671 (atomic_full_barrier): Define.
32672 (atomic_read_barrier): Define.
32673 (atomic_write_barrier): Define.
32674
6e236b92
SP
326752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32676
32677 * shlib-versions: Add libgcc_s version information.
32678 * sysdeps/generic/libgcc_s.h: Remove.
32679 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32680 libgcc_s.h.
32681 * sysdeps/gnu/unwind-resume.c: Likewise.
32682 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32683
aab39a09
DM
326842012-04-25 David S. Miller <davem@davemloft.net>
32685
32686 * sysdeps/unix/sparc/brk.S: Delete.
32687 * sysdeps/unix/sparc/dl-brk.S: Delete.
32688 * sysdeps/unix/sparc/pipe.S: Delete.
32689 * sysdeps/unix/sparc/sysdep.S: Delete.
32690 * sysdeps/unix/sparc/sysdep.h: Delete.
32691 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32692 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32693 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32694 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32695 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32696 (JUMPTARGET): Remove.
32697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32698 sysdeps/unix/sparc/sysdep.h
32699 (ENTRY, END): Remove.
32700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32701
a3cc4f48
JM
327022012-04-25 Joseph Myers <joseph@codesourcery.com>
32703
2ed8cda2
JM
32704 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32705 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32706 -DIS_IN_build.
32707
35d76d59
JM
32708 * timezone/README: Update upstream location and email address for
32709 tzcode and tzdata.
32710 * timezone/zdump.c: Update from tzcode 2012b.
32711 * timezone/zic.c: Likewise.
32712
a3cc4f48
JM
32713 * configure.in (libc_cv_as_needed): Remove test.
32714 * configure: Regenerated.
32715 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32716 conditional definition.
32717 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32718 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32719 * config.make.in (have-as-needed): Remove variable.
32720
ceab42c3
SP
327212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32722 Paul Pluzhnikov <ppluzhnikov@google.com>
32723
32724 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32725 strings correctly.
32726
3ce2865f
CLT
327272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32728
32729 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32730 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32731 * sysdeps/sh/strlen.S: Likewise.
32732
f37e0d68
JM
327332012-04-24 Joseph Myers <joseph@codesourcery.com>
32734
ae186e9a
JM
32735 * sysdeps/unix/fork.S: Remove file.
32736 * sysdeps/unix/i386/fork.S: Likewise.
32737 * sysdeps/unix/sparc/fork.S: Likewise.
32738
b96914af
JM
32739 * sysdeps/unix/system.c: Remove file.
32740 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32741
f37e0d68
JM
32742 * sysdeps/unix/getegid.S: Remove file.
32743 * sysdeps/unix/geteuid.S: Likewise.
32744
87ef29ca
RM
327452012-04-24 Roland McGrath <roland@hack.frob.com>
32746
83bcd236
RM
32747 * scripts/check-localplt.awk: New file.
32748 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32749 of diff.
32750 * scripts/data/localplt-generic.data: Add a comment.
32751
87ef29ca
RM
32752 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32753 NODE when __dir_mkfile failed.
32754 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32755 Reported by Ludovic Courtès <ludo@gnu.org>.
32756
e5a6e567
AJ
327572012-04-24 Andreas Jaeger <aj@suse.de>
32758
32759 * Makerules (common-clean): Also remove gen-as-const-headers
32760 files.
32761
c1820385
JM
327622012-04-24 Joseph Myers <joseph@codesourcery.com>
32763
32764 * Makerules (native-compile): Do not change working directory for
32765 build. Use $(OUTPUT_OPTION) in command.
32766 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32767
94e02fc4
AZ
327682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32769
32770 [BZ #13886]
32771 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32772 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32773 * math/libm-test.inc (floor_test): Add more tests.
32774 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32775
3a533ca3
JM
327762012-04-24 Joseph Myers <joseph@codesourcery.com>
32777
940ab4b3
JM
32778 * sysdeps/unix/getdents.c: Remove file.
32779 * sysdeps/unix/sysv/getdents.c: Likewise.
32780 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32781
90e037bd
JM
32782 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32783 sysdeps/unix/mman/syscalls.list.
32784 (mmap): Likewise.
32785 (mprotect): Likewise.
32786 (msync): Likewise.
32787 (munmap): Likewise.
32788 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32789 * sysdeps/unix/mman/syscalls.list: Remove.
32790 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32791
3a533ca3
JM
32792 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32793 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32794 * configure: Regenerated.
32795 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32796 $(libgcc_s_suffix).
32797 * config.make.in (libgcc_s_suffix): Remove variable.
32798
1ad743de
JM
327992012-04-23 Joseph Myers <joseph@codesourcery.com>
32800
4ad451e2
JM
32801 * sysdeps/unix/sysv/gethostname.c: Move to ...
32802 * sysdeps/posix/gethostname.c: ... here.
32803
5e37ce39
JM
32804 * sysdeps/unix/execve.S: Remove file.
32805
1ad743de
JM
32806 * sysdeps/unix/_exit.S: Remove file.
32807
4e681b5b
AJ
328082012-04-23 Andreas Jaeger <aj@suse.de>
32809
32810 [BZ #13739]
32811 * manual/Makefile: Remove make dist support, there's no
32812 need for a stand-alone documentation tar ball.
32813 (TEXI2DVI): Define always, it's not in Makeconfig.
32814 (dist): Removed.
32815 (tar-it): Removed.
32816 (edition): Removed.
32817 (glibc-doc-$(edition).tar): Removed
32818 (%.Z): Removed.
32819 (%.gz): Removed.
32820 (%.uu): Removed.
32821 (ETAGS): Remove, it's in Makeconfig.
32822 (move-if-change): Remove, it's in Makeconfig.
32823
38686a03 328242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32825
32826 [BZ #13970]
32827 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32828 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32829 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32830 (strtod_l, strtof_l, strtold_l): Remove __wur.
32831 It is not necessarily an error to ignore strtol's return value.
32832 One can reliably look at the stored endptr to decide whether
32833 the number had valid syntax.
32834
7c0616fa
AJ
328352012-04-21 Andreas Jaeger <aj@suse.de>
32836
803cb6b7 32837 [BZ #13739]
7c0616fa
AJ
32838 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32839
b0fe253f
JM
328402012-04-21 Joseph Myers <joseph@codesourcery.com>
32841
32842 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32843 * sysdeps/unix/sysv/Versions: Remove file.
32844
8280f22d
MT
328452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32846
32847 [BZ #13927]
32848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32849
75ce411f 328502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32851
32852 [BZ #7064]
32853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32854 version from __vm86.
32855
097d59fa
JM
328562012-04-20 Joseph Myers <joseph@codesourcery.com>
32857
a90f3bcb
JM
32858 * sysdeps/unix/common/lxstat.c: Remove file.
32859 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32860
edc7ea78
JM
32861 * sysdeps/unix/sysv/Makefile: Remove file.
32862
cb78c221
JM
32863 * sysdeps/unix/sysv/direct.h: Remove file.
32864
efa6a45f
JM
32865 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32866 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32867 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32868 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32869 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32870 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32871 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32872
9c9f2d0c
JM
32873 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32874
4541c83b
JM
32875 * sysdeps/unix/xmknod.c: Remove file.
32876 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32877
f5d153a0
JM
32878 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32879
aa746595
JM
32880 * sysdeps/unix/sysv/i386/time.S: Remove file.
32881
cce5905e
JM
32882 * sysdeps/unix/fxstat.c: Remove file.
32883 * sysdeps/unix/xstat.c: Likewise.
32884 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32885
37fa3841
JM
32886 * sysdeps/unix/sysv/sigaction.c: Remove file.
32887
ff1962a3
JM
32888 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32889 (sysdep_headers): Remove variable.
32890 [termio.h not in sysdep_headers] (generated): Likewise.
32891 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32892 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32893 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32894 * sysdeps/unix/sysv/tcflow.c: Likewise.
32895 * sysdeps/unix/sysv/tcflush.c: Likewise.
32896 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32897 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32898 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32899 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32900 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32901
e7740d31
JM
32902 * sysdeps/unix/siglist.c: Remove file.
32903
ee06f18b
JM
32904 * sysdeps/unix/getppid.S: Remove file.
32905
097d59fa
JM
32906 * sysdeps/unix/mkdir.c: Remove file.
32907 * sysdeps/unix/rmdir.c: Likewise.
32908
ff3d51ec
AS
329092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32910
32911 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32912 ERR_MAX value.
32913 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32914 errlist-compat value.
32915
50f81fd7
DM
329162012-04-18 David S. Miller <davem@davemloft.net>
32917
32918 * sysdeps/generic/memcopy.h (reg_char): Delete.
32919 * debug/strcat_chk.c: Use char, not reg_char.
32920 * debug/strcpy_chk.c: Likewise.
32921 * debug/strncat_chk.c: Likewise.
32922 * debug/strncpy_chk.c: Likewise.
32923 * string/memchr.c: Likewise.
32924 * string/memrchr.c: Likewise.
32925 * string/rawmemchr.c: Likewise.
32926 * string/strcat.c: Likewise.
32927 * string/strchr.c: Likewise.
32928 * string/strchrnul.c: Likewise.
32929 * string/strcmp.c: Likewise.
32930 * string/strcpy.c: Likewise.
32931 * string/strncat.c: Likewise.
32932 * string/strncmp.c: Likewise.
32933 * string/strncpy.c: Likewise.
32934
8ff41c46
WS
329352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32936
32937 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32938 __builtin_memcopy is called when src and dest ranges are known to not
32939 overlap.
32940
6b652f46
WS
329412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32942
32943 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32944 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32945 fwd_align_merge macro call.
32946 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32947 bwd_align_merge macro call.
32948 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32949
b282631e
WS
329502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32951
32952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32953 bwd_align_merge macros.
32954 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32955 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32957
95aa737c
DM
329582012-04-18 David S. Miller <davem@davemloft.net>
32959
32960 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32961
7a99a614
AJ
329622012-04-18 Andreas Jaeger <aj@suse.de>
32963
32964 [BZ# 6794]
32965 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32966 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32968
32969 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32970 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32971 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32972
32973 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32974 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32975 Adjust for changed ldbl-128 files.
32976
32977 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32978 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32979 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32980
e5270c23
DM
329812012-04-17 David S. Miller <davem@davemloft.net>
32982
32983 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32984
fb5e92c9
AS
329852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32986
32987 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32988 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32989 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32990 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32992 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32993
76da7265
AZ
329942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32995
32996 [BZ #6794]
32997 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32998 * math/libm-test.inc: Add ilogb errno and exception tests.
32999 * math/w_ilogb.c: New file: ilogb wrapper.
33000 * math/w_ilogbf.c: New file: ilogbf wrapper.
33001 * math/w_ilogbl.c: New file: ilogbl wrapper.
33002 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33003 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33004 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33005 exception being thrown with 0.0 as argument.
33006 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33007 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33008 exception being thrown with 0.0 as argument.
33009 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33010 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33011 exception being thrown with 0.0 as argument.
33012 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33013 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33014 exception being thrown with 0.0 as argument.
33015 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33016 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33017 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33018 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33019 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33020 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33021 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33022 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33023 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33024
0396e69d
PB
330252012-04-17 Petr Baudis <pasky@ucw.cz>
33026
33027 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33028 with altivec.
33029
750b5926
MP
330302012-04-16 Marek Polacek <polacek@redhat.com>
33031
33032 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33033
751728a1
MP
330342012-04-16 Marek Polacek <polacek@redhat.com>
33035
33036 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33037 operands of fdivp instruction.
33038
34a27407
L
330392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33042 * elf/tst-auditmod3b.c: Likewise.
33043 * elf/tst-auditmod4b.c: Likewise.
33044 * elf/tst-auditmod5b.c: Likewise.
33045 * elf/tst-auditmod6b.c: Likewise.
33046 * elf/tst-auditmod6c.c: Likewise.
33047 * elf/tst-auditmod7b.c: Likewise.
33048 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33049 * sysdeps/x86_64/preconfigure.in: Likewise.
33050 * sysdeps/x86_64/preconfigure: Regenerated.
33051
7e73e17d
L
330522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33053
33054 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33055 __ILP32__.
33056
c7a6ab72
AB
330572012-04-13 Antoine Balestrat <merkil33@gmail.com>
33058
33059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33060 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33061
a9e8e0e0
CL
330622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33063
33064 [BZ #13973]
33065 * locale/iso-639.def: Fix gl language name. Spotted by
33066 Yaron Shahrabani.
33067
ec98af7d
RM
330682012-04-12 Roland McGrath <roland@hack.frob.com>
33069
33070 [BZ #2074]
33071 * libio/libio.h (__io_write_fn): Update comment.
33072
247c3ede
PB
330732012-04-12 Petr Baudis <pasky@ucw.cz>
33074
33075 [BZ #2074]
33076 * stdio.texi (Hook Functions): The user provided writer function
33077 is not allowed to return -1.
33078
55939d6d
DM
330792012-04-11 David S. Miller <davem@davemloft.net>
33080
33081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33082
90020f5a
MF
330832012-04-11 Mike Frysinger <vapier@gentoo.org>
33084
33085 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33086 Add a leading slash to rtkaio.
33087
288f9098
JM
330882012-04-11 Jim Meyering <meyering@redhat.com>
33089
90020f5a
MF
33090 [BZ #11959]
33091 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33092 It is not necessarily an error to ignore fwrite's return
33093 value. One can reliably use ferror to test for errors after
33094 the fact.
288f9098 33095
4be2b570
L
330962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33097
33098 * bits/types.h (__snseconds_t): New type.
33099 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33100
33101 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33103 (__SNSECONDS_T_TYPE): Likewise.
33104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33105 (__SNSECONDS_T_TYPE): Likewise.
33106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33107 (__SNSECONDS_T_TYPE): Likewise.
33108
288f9098 331092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33110
33111 [BZ #2636]
33112 * manual/time.texi (Processor Time): Return type of times is
33113 elapsed real time since an arbitrary point in the past.
33114 (CPU Time): Move CLK_TCK from here...
33115 (Processor Time): ...to here. Correct description.
33116 * manual/conf.texi (Constants for Sysconf): Correct description of
33117 _SC_CLK_TCK.
33118
d7dd4413
DM
331192012-04-10 David S. Miller <davem@davemloft.net>
33120
33121 [BZ #13967]
33122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33123 where the is a gap between DT_REL(A) and DT_JMPREL.
33124
b46068fc
L
331252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33126
33127 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33128 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33129 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33130
73d65cc3
SP
331312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33132
33133 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33134 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33135 (dl_main): Handle --inhibit-cache.
33136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33137 _dl_inhibit_cache.
33138 * elf/dl-load.c (_dl_map_object): Use it.
33139 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33140
bcc8d661
JM
331412012-04-09 Joseph Myers <joseph@codesourcery.com>
33142
8f9a2fae
JM
33143 [BZ #13872]
33144 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33145 (__ieee754_powl): Saturate large exponents rather than testing for
33146 overflow of y*log2(x).
33147 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33148 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33149 exceptions.
33150
bcc8d661
JM
33151 [BZ #11521]
33152 * math/s_ctan.c: Include <float.h>.
33153 (__ctan): Avoid internal overflow or cancellation in calculating
33154 denominator.
33155 * math/s_ctanf.c: Likewise.
33156 * math/s_ctanl.c: Likewise.
33157 * math/s_ctanh.c: Likewise.
33158 * math/s_ctanhf.c: Likewise.
33159 * math/s_ctanhl.c: Likewise.
33160 * math/libm-test.inc (ctan_test): Add more tests.
33161 (ctanh_test): Likewise.
33162 * sysdeps/i386/fpu/libm-test-ulps: Update.
33163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33164
823fbbb4
AJ
331652012-04-09 Andreas Jaeger <aj@suse.de>
33166
03879793
AJ
33167 [BZ #6894]
33168 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33169 is an optional BSD extension.
33170
823fbbb4
AJ
33171 [BZ #10254]
33172 * manual/stdio.texi (Opening Streams): Document additional fopen
33173 parameters.
33174
8de131cb
RM
331752012-04-09 Roland McGrath <roland@hack.frob.com>
33176
33177 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33178 %eax without telling the compiler.
33179
c0ed9d7d
CD
331802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33181
33182 [BZ # 13963]
33183 * manual/install.texi: Use sourceware.org.
33184
c483f6b4
JM
331852012-04-09 Joseph Myers <joseph@codesourcery.com>
33186
d7dd9453
JM
33187 [BZ #13873]
33188 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33189 (__ieee754_pow): Generate overflow and underflow using huge*huge
33190 and tiny*tiny rather than just returning constant infinity or zero
33191 for large exponents.
33192 * math/libm-test.inc (pow_test): Require overflow exceptions for
33193 applicable cases of large exponents.
33194
c483f6b4
JM
33195 [BZ #706]
33196 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33197 (__ieee754_pow): Use iterative multiplication algorithm only for
33198 integer exponents with absolute value below 1024. Check for odd
33199 integer exponents when using algorithm for real exponents.
33200 * math/libm-test.inc (pow_test): Add more tests.
33201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33202
d2de7579
JM
332032012-04-08 Joseph Myers <joseph@codesourcery.com>
33204
33205 [BZ #13705]
33206 * math/libm-test.inc (exp_test): Do not allow overflow exception
33207 on underflow test.
33208
f77f1232
AJ
332092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33210
33211 [BZ #13705]
33212 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33213 instead of __kernel_standard_f.
33214
3884932b
MF
332152012-04-08 Mike Frysinger <vapier@gentoo.org>
33216
33217 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33218 * sysdeps/x86_64/memset_chk.S: Likewise.
33219
54472e9c
AJ
332202012-04-08 Andreas Jaeger <aj@suse.de>
33221
6ab0fbfc
AJ
33222 [BZ #10153]
33223 * manual/startup.texi (Environment Access): Describe return value
33224 for putenv and setenv.
33225
61efba8c
AJ
33226 [BZ #6895]
33227 * manual/filesys.texi (Directory Entries): Add description for
33228 DT_LNK.
33229
95c3f29a
AJ
33230 [BZ #6890]
33231 * manual/filesys.texi (Directory Entries): Clarify that it's file
33232 system not operating system in the description of DT_UNKNOWN.
33233
54472e9c
AJ
33234 [BZ #6578]
33235 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33236
624254b1
SC
332372012-04-08 Stephen Compall <s11@member.fsf.org>
33238
33239 [BZ #6649]
33240 * manual/llio.texi (Opening and Closing Files): Add cross
33241 reference to explain mode argument.
33242
1e4920e0
MF
332432012-04-07 Mike Frysinger <vapier@gentoo.org>
33244
33245 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33246 * sysdeps/x86_64/memset_chk.S: Likewise.
33247
5ed848f3
DM
332482012-04-07 David S. Miller <davem@davemloft.net>
33249
33250 * elf/elf.h (R_SPARC_WDISP10): Define.
33251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33252 R_SPARC_SIZE32.
33253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33254 R_SPARC_SIZE64 and R_SPARC_H34.
33255
96154cd8
CD
332562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33257
33258 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33259 conditions and remove no longer applicable assertion.
33260
9904dc47
L
332612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33262
33263 * bits/byteswap.h: Include <features.h>.
33264 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33265 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33266
f8887d0a
L
332672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 * bits/byteswap.h (__bswap_16): Removed.
33270 Include <bits/byteswap-16.h> to get __bswap_16.
33271 * sysdeps/i386/bits/byteswap.h: Likewise.
33272 * sysdeps/s390/bits/byteswap.h: Likewise.
33273 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33274 * bits/byteswap-16.h: New file.
33275 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33276 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33277 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33278 * string/Makefile (headers): Add bits/byteswap-16.h.
33279
62470f60
PP
332802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33281
33282 [BZ #13895]
33283 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33284 extra indirection.
33285 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33286 * nss/tst-nss-static.c: New.
33287
4dad7bab
RM
332882012-04-06 Robert Millan <rmh@gnu.org>
33289
33290 [BZ #6486]
33291 * manual/llio.texi (File Position Primitive): lseek
33292 refers to WHENCE when it really means OFFSET.
33293
e9142a17
AJ
332942012-04-06 Andreas Jaeger <aj@suse.de>
33295
2c040eff
AJ
33296 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33297 strncmp declarations.
33298
e9142a17
AJ
33299 * abilist/libc.abilist: Add __poll and __ppoll.
33300
ff9f1c5f
DM
333012012-04-05 David S. Miller <davem@davemloft.net>
33302
dcd2ae90
DM
33303 * scripts/check-local-headers.sh: Accept a host triplet in the
33304 path matched by the exclude regexp.
33305
993eb054
DM
33306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33307 definition.
33308 * sysdeps/powerpc/powerpc32/dl-machine.h
33309 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33310 * sysdeps/s390/s390-32/dl-machine.h
33311 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33312 * sysdeps/sparc/sparc32/dl-machine.h
33313 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33314 * sysdeps/sparc/sparc64/dl-machine.h
33315 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33316
ff9f1c5f
DM
33317 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33318 lazy binding.
48e2e132 33319 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33320 undefined symbol errors.
33321
48e2e132 33322 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33323 DT_NEEDED entries.
33324
e80d6f94
MM
333252012-04-05 Michael Matz <matz@suse.de>
33326
33327 [BZ #13592]
33328 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33329
349fa79f
AJ
333302012-04-05 Andreas Jaeger <aj@suse.de>
33331
33332 [BZ #13908]
33333 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33334 comment.
33335
f402708f
KK
333362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33337
33338 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33339 which ROUND is no valid rounding mode.
33340
2ecccfc9
KK
333412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33342
33343 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33344 read again.
33345 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33346
8a53f50f
KK
333472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33348
33349 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33350 an exception using FPU order intentionally.
33351
333522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33353
33354 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33355 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33356 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33357 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33358
d653abb7
SJ
333592012-04-05 Simon Josefsson <simon@josefsson.org>
33360
33361 [BZ #12340]
33362 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33363 EINVAL when BUFLEN is too smal.
33364
c3b1bf7d
TS
333652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33366
33367 [BZ #13553]
33368 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33369 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33370
b1aa60f3
AJ
333712012-04-03 Andreas Jaeger <aj@suse.de>
33372
c3b1bf7d 33373 [BZ #13938]
67f60a26
AJ
33374 * manual/setjmp.texi (System V contexts): Fix sentence.
33375
b1aa60f3
AJ
33376 [BZ #13926]
33377 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33378 New macro for this case.
33379 [!__GNUC__] (__bswap_64): New inline function for this case.
33380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33381 * bits/byteswap.h: Likewise.
33382 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33383 ull, guard with __GLIBC_HAVE_LONG_LONG.
33384
33385 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33386 __GLIBC_HAVE_LONG_LONG.
33387
33388 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33389 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33390
39c59c35
TMQMF
333912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33392
33393 [BZ #13691]
33394 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33395 inptr and inend, rather than using last_ch.
33396
135ffda8
DM
333972012-04-02 David S. Miller <davem@davemloft.net>
33398
33399 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33400 * stdio-common/printf-parse.h (read_int): Change return type to
33401 'int', return -1 on INT_MAX overflow.
33402 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33403 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33404 overflows INT_MAX. Check for overflow of in-format-string precision
33405 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33406 SIZE_MAX not INT_MAX for integer overflow test.
33407 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33408 skip the construct in the format string but do not record anything.
33409 * stdio-common/bug22.c: Adjust to test both width/prevision
33410 INT_MAX overflow as well as total length INT_MAX overflow. Check
33411 explicitly for proper errno values.
33412
228c019e
TS
334132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33414
302cadd3
TS
33415 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33416 CHAR_MAX.
33417 * string/test-strcmp.c [! WIDE]: Likewise.
33418 * time/tst-mktime2.c: Likewise for INT_MAX.
33419 * string/test-string.h: #include <sys/param.h> for MIN.
33420
228c019e
TS
33421 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33422 * sysdeps/i386/init-first.c (init): Likewise.
33423 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33424 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33425 * sysdeps/sh/init-first.c (init): Likewise.
33426
cfa633f5
UD
334272012-04-01 Ulrich Drepper <drepper@gmail.com>
33428
33429 * po/ru.po: Update from translation team.
d1635ef8 33430 * po/vi.po: Likewise.
cfa633f5 33431
6cd0a5ea
SP
334322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33433
33434 * resolv/nss_dns/dns-host.c: Merge copyright years.
33435
4b43400f
LD
334362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33437
33438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33439 Optimize memcpy with prefetch if
33440 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33441 src, dst pointers have unequal 16 byte alignments.
33442
48c41d04
SP
334432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33444
33445 [BZ #13928]
33446 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33447 from a CNAME entry and return the minimum ttl for the query.
33448 (gaih_getanswer_slice): Likewise.
33449
b8dc394d
JL
334502012-03-30 Jeff Law <law@redhat.com>
33451
33452 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33453 due to long keys.
33454 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33455 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33456
2f5a5ed0
JL
33457 * resolv/nss_dns/dns-host.c: Update copyright year.
33458
1d39e359
UD
334592012-03-30 Ulrich Drepper <drepper@gmail.com>
33460
c030f70c 33461 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33462 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33463
1d39e359
UD
33464 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33465 comments for sendmmsg.
33466
334672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33468
33469 [BZ #13691]
33470 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33471 with only 1 character between 0x0041 and 0x01b0.
33472 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33473 * wcsmbs/tst-mbsnrtowcs.c: New file.
33474
20fde227
DM
334752012-03-29 David S. Miller <davem@davemloft.net>
33476
33477 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33478 small copies by hand.
33479
984a4237
JL
334802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33481
33482 [BZ #13761]
57f41c40
AS
33483 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33484 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33485 group memberships.
984a4237 33486
18c9d62b
DM
334872012-03-28 David S. Miller <davem@davemloft.net>
33488
88d85d4f
DM
33489 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33490 that branches into memcpy.
33491 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33494 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33496 bits.
33497 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33498 implementation too.
33499 * sysdeps/sparc/mempcpy.S: New file.
33500
e5aa83e1
DM
33501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33502 the IFUNC routine in the libc case.
33503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33504
88570753
DM
33505 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33506 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33507 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33508 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33509 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33510 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33511 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33512 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33513
249d7567
DM
33514 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33515 loop to 256 bytes instead of 64 bytes and fix test signedness.
33516
18c9d62b
DM
33517 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33518 * sysdeps/sparc/sparc32/Makefile: rather than here...
33519 * sysdeps/sparc/sparc64/Makefile: and here.
33520
05f3d1f6
UD
335212012-03-28 Ulrich Drepper <drepper@gmail.com>
33522
33523 * malloc/mallocbug.c: Avoid warnings about unused variables.
33524
86ae07a8
JL
335252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33526
33527 [BZ #13760]
33528 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33529 in the right place. Discard and retry query if response is
33530 larger than input buffer size.
33531
41bf21a1
JM
335322012-03-28 Joseph Myers <joseph@codesourcery.com>
33533
d6270972
JM
33534 [BZ #369]
33535 [BZ #2678]
33536 [BZ #3866]
33537 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33538 x for large integer exponent.
33539 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33540 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33541 sign of result as needed afterwards.
33542 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33543 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33544 result for underflowing pow the same as for overflow.
33545 (__kernel_standard_l): Handle powl overflow and underflow here
33546 rather than calling __kernel_standard.
33547 * math/libm-test.inc (pow_test): Add more tests.
33548
414fca03 33549 [BZ #3868]
41bf21a1
JM
33550 [BZ #13879]
33551 [BZ #13910]
33552 [BZ #13911]
33553 [BZ #13912]
33554 [BZ #13913]
33555 [BZ #13915]
33556 [BZ #13916]
33557 [BZ #13917]
33558 [BZ #13918]
33559 [BZ #13919]
33560 [BZ #13920]
33561 [BZ #13921]
33562 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33563 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33564 (__kernel_standard_l): New function.
33565 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33566 __kernel_standard.
33567 * math/w_acosl.c (__acosl): Likewise.
33568 * math/w_asinl.c (__asinl): Likewise.
33569 * math/w_atan2l.c (__atan2l): Likewise.
33570 * math/w_atanhl.c (__atanhl): Likewise.
33571 * math/w_coshl.c (__coshl): Likewise.
33572 * math/w_exp10l.c (__exp10l): Likewise.
33573 * math/w_exp2l.c (__exp2l): Likewise.
33574 * math/w_fmodl.c (__fmodl): Likewise.
33575 * math/w_hypotl.c (__hypotl): Likewise.
33576 * math/w_j0l.c (__j0l, __y0l): Likewise.
33577 * math/w_j1l.c (__j1l, __y1l): Likewise.
33578 * math/w_jnl.c (__jnl, __ynl): Likewise.
33579 * math/w_lgammal.c (__lgammal): Likewise.
33580 * math/w_log10l.c (__log10l): Likewise.
33581 * math/w_log2l.c (__log2l): Likewise.
33582 * math/w_logl.c (__logl): Likewise.
33583 * math/w_powl.c (__powl): Likewise.
33584 * math/w_remainderl.c (__remainderl): Likewise.
33585 * math/w_scalbl.c (sysv_scalbl): Likewise.
33586 * math/w_sinhl.c (__sinhl): Likewise.
33587 * math/w_sqrtl.c (__sqrtl): Likewise.
33588 * math/w_tgammal.c (__tgammal): Likewise.
33589 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33590 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33591 * math/libm-test.inc (acos_test): Add more tests.
33592 (acosh_test): Likewise.
33593 (asin_test): Likewise.
33594 (atanh_test): Likewise.
33595 (exp_test): Likewise.
33596 (exp10_test): Likewise.
33597 (exp2_test): Likewise.
33598 (expm1_test): Likewise.
33599 (lgamma_test): Likewise.
33600 (log_test): Likewise.
33601 (log10_test): Likewise.
33602 (log1p_test): Likewise.
33603 (log2_test): Likewise.
33604 (pow_test): Do not allow some spurious overflow exceptions.
33605 (sqrt_test): Add more tests.
33606 (tgamma_test): Likewise.
33607 (y0_test): Likewise.
33608 (y1_test): Likewise.
33609 (yn_test): Likewise.
33610
dd62fda6
AB
336112012-03-27 Anton Blanchard <anton@samba.org>
33612
33613 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33614 MAP_HUGETLB.
33615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33618
1e3cdfda
AJ
336192012-03-27 David S. Miller <davem@davemloft.net>
33620
b855ab85
DM
33621 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33622
1e3cdfda
AJ
33623 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33624 have-as-vis3 check.
33625
336262012-03-27 Andreas Jaeger <aj@suse.de>
33627
33628 * sysdeps/x86_64/elf/configure.in: Moved to ...
33629 * sysdeps/x86_64/configure.in: ... here.
33630 * sysdeps/x86_64/elf/start.S: Moved to ...
33631 * sysdeps/x86_64/start.S: ... here.
33632 * sysdeps/x86_64/elf/configure: Delete.
33633
33634 * sysdeps/x86_64/configure.in: Merge contents from
33635 sysdeps/i386/configure.in (without i686 check).
33636
33637 * sysdeps/i386/elf/Versions: Merge into ...
33638 * sysdeps/i386/Versions: ... this.
33639 * sysdeps/i386/elf/Versions: Delete file.
33640 * sysdeps/i386/elf/start.S: Moved to ...
33641 * sysdeps/i386/start.S: ...here.
33642 * sysdeps/i386/elf/configure.in: Merge into...
33643 * sysdeps/i386/configure.in: ...here.
33644 * sysdeps/i386/elf/configure.in: Delete file.
33645 * sysdeps/i386/elf/configure: Delete file.
33646
33647 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33648 * debug/backtracesyms.c: ... here.
33649 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33650 * debug/backtracesymsfd.c: ... here.
33651 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33652 * sysdeps/generic/ifunc-sel.h: ... here.
33653
33654 * sysdeps/unix/i386/start.c: Delete file.
33655 * sysdeps/unix/sparc/start.c: Delete file.
33656 * sysdeps/unix/start.c: Delete file.
33657
33658 * sysdeps/sh/elf/configure.in: Moved to ...
33659 * sysdeps/sh/configure.in: ... here.
33660 * sysdeps/sh/elf/start.S: Moved to ...
33661 * sysdeps/sh/start.S: ... here.
33662 * sysdeps/sh/elf/configure: Delete file.
33663
33664 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33665 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33666 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33667 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33668 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33669 * sysdeps/powerpc/powerpc64/start.S: here.
33670 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33671 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33672 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33673 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33674 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33675
33676 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33677 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33678 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33679 * sysdeps/powerpc/powerpc32/start.S: ... here.
33680 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33681 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33682 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33683
33684 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33685 * sysdeps/powerpc/ifunc-sel.h: ... here.
33686 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33687 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33688
33689 * sysdeps/sparc/elf/configure.in: Moved to ...
33690 * sysdeps/sparc/configure.in: ... here.
33691 * sysdeps/sparc/elf/configure: Delete file.
33692 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33693 * sysdeps/sparc/sparc32/start.S: ... here.
33694 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33695 * sysdeps/sparc/sparc64/start.S: ... here.
33696 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33697 * sysdeps/sparc/sparc32/Makefile: ... this.
33698 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33699 * sysdeps/sparc/sparc64/Makefile: ... this.
33700
33701 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33702 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33703 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33704 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33705 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33706 * sysdeps/s390/s390-32/setjmp.S: ... here.
33707 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33708 * sysdeps/s390/s390-32/configure.in: ... here.
33709 * sysdeps/s390/s390-32/elf/configure: Delete file.
33710 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33711 * sysdeps/s390/s390-32/start.S: ... here.
33712
33713 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33714 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33715 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33716 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33717 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33718 * sysdeps/s390/s390-64/setjmp.S: ... here.
33719 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33720 * sysdeps/s390/s390-64/configure.in: ... here
33721 * sysdeps/s390/s390-64/elf/configure: Delete file.
33722 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33723 * sysdeps/s390/s390-64/start.S: ... here.
33724 * sysdeps/s390/s390-64/elf/configure: Delete.
33725
33726 * configure.in: Remove support for elf directories in sysdeps.
33727
33728 * configure: Regenerated.
33729 * sysdeps/i386/configure: Regenerated.
33730 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33731 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33732 * sysdeps/s390/s390-32/configure: Regenerated.
33733 * sysdeps/s390/s390-64/configure: Regenerated.
33734 * sysdeps/sh/configure: Regenerated.
33735 * sysdeps/sparc/configure: Regenerated.
33736 * sysdeps/x86_64/configure: Regenerated.
33737
a3f61311
AS
337382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33739
c876e002
AS
33740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33741
a3f61311
AS
33742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33743 denormal result into account.
33744
ac4c54f0
RM
337452012-03-25 Roland McGrath <roland@hack.frob.com>
33746
33747 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33748 Reported by Allan McRae <allan@archlinux.org>.
33749
6a9b9c02
JL
337502012-03-23 Jeff Law <law@redhat.com>
33751
33752 * nss/getnssent.c (__nss_getent): Fix typo.
33753
4c42a0c1
DM
337542012-03-23 David S. Miller <davem@davemloft.net>
33755
33756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33757
1532c7ac
L
337582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33761 to pad to uint64_t for each field.
33762 (dl_tls_index): Replace unsigned long with uint64_t.
33763
3ff42526
PP
337642012-03-23 Daniel Jacobowitz <dmj@google.com>
33765 Paul Pluzhnikov <ppluzhnikov@google.com>
33766
33767 [BZ #6528]
33768 * grp/Makefile (otherlibs): Don't set it.
33769 * inet/Makefile (otherlibs): Likewise.
33770 * login/Makefile (otherlibs): Likewise.
33771 * nscd/Makefile (otherlibs): Likewise.
33772 * posix/Makefile (otherlibs): Likewise.
33773 * pwd/Makefile (otherlibs): Likewise.
33774 * rt/Makefile (otherlibs): Likewise.
33775 * sunrpc/Makefile (otherlibs): Likewise.
33776 * nss/Makefile (otherlibs): Likewise.
33777 Add libnss_files to routines and static-only-routines.
33778 ($(objpfx)getent): Remove rule.
33779 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33780 static-only-routines.
33781
7c69cd14
JM
337822012-03-22 Joseph Myers <joseph@codesourcery.com>
33783
33784 [BZ #13892]
33785 * math/s_cexp.c: Include <float.h>.
33786 (__cexp): Handle exp result overflowing not necessarily
33787 overflowing both real and imaginary parts of result.
33788 * math/s_cexpf.c: Likewise.
33789 * math/s_cexpl.c: Likewise.
33790 * math/libm-test.inc (cexp_test): Add more tests.
33791 * sysdeps/i386/fpu/libm-test-ulps: Update.
33792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33793
81b035fe
L
337942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33795
33796 * include/link.h (ELFW): New macro.
33797 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33798 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33799
1da7940c
L
338002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33801
33802 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33803 with uint64_t.
33804
b749dbb9
L
338052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33806
33807 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33808 declaration.
33809 (struct La_x32_retval): Likewise.
33810
2ff87f3f
L
338112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33812
33813 * sysdeps/x86_64/preconfigure.in: New file.
33814 * sysdeps/x86_64/preconfigure: New generated file.
33815
c0df8e69
JM
338162012-03-22 Joseph Myers <joseph@codesourcery.com>
33817
48e44791
JM
33818 [BZ #13824]
33819 * math/e_exp2l.c: Include <float.h>.
33820 (__ieee754_exp2l): Handle overflow and underflow cases
33821 separately. Only pass fractional part of argument to
33822 __ieee754_expl.
33823 * math/libm-test.inc (exp2_test): Add more tests.
33824
c0df8e69
JM
33825 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33826 negating x to take absolute value.
33827 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33828 Likewise.
33829 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33831 Likewise.
33832 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33833 computing low part if x was negated.
33834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33835
c8e43ba7
L
338362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33837
33838 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33839 la_x32_gnu_pltexit.
33840 (pltexit): Cast int_retval to ptrdiff_t.
33841 * elf/tst-auditmod3b.c: Likewise.
33842 * elf/tst-auditmod4b.c: Likewise.
33843 * elf/tst-auditmod5b.c: Likewise.
33844 * elf/tst-auditmod6b.c: Likewise.
33845 * elf/tst-auditmod6c.c: Likewise.
33846 * elf/tst-auditmod7b.c: Likewise.
33847
33848 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33849 and x32_gnu_pltexit.
33850
33851 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33852 __ELF_NATIVE_CLASS.
33853 (La_x32_regs): New macro.
33854 (La_x32_retval): Likewise.
33855 (la_x32_gnu_pltenter): New function prototype.
33856 (la_x32_gnu_pltexit): Likewise.
33857
7998fa78
AS
338582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33859
dcb33988
AS
33860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33861 exponent.
33862
233fc563
AS
33863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33864
7998fa78
AS
33865 * configure.in (libc_cv_cc_nofma): Check for option to disable
33866 generation of FMA instructions.
33867 * configure: Regenerate.
33868 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33869 * sysdeps/ieee754/dbl-64/Makefile: New file.
33870 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33871 Remove brandred-fma4.
33872 (CFLAGS-brandred-fma4.c): Remove.
33873 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33874 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33875 define.
33876 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33877 define.
33878
8e95c99a
L
338792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33880
33881 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33882 LLONG_MAX != LONG_MAX.
33883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33884 (_fitoa_word): Likewise.
33885 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33886 LLONG_MAX != LONG_MAX.
33887 * stdio-common/_itowa.h: Include <_itoa.h>.
33888 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33889 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33890 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33891 only if not defined.
33892 (_ITOA_WORD_TYPE): Likewise.
33893 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33894 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33895
6f4db457
DM
338962012-03-21 David S. Miller <davem@davemloft.net>
33897
33898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33899
7785fe5a
L
339002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33901
33902 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33903 of x86_64 when setting libc_cv_slibdir, libdir and
33904 libc_cv_localedir.
33905 * sysdeps/unix/sysv/linux/configure: Regenerated.
33906
4535cd55
JM
339072012-03-21 Joseph Myers <joseph@codesourcery.com>
33908
33909 * manual/lang.texi (Old Varargs): Remove section.
33910 (How Variadic): Update menu.
33911 (va_start): Do not mention varargs.h.
33912
17228132
TS
339132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33914 Joseph Myers <joseph@codesourcery.com>
33915
33916 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33917 link test.
33918 * configure: Regenerated.
33919
8149f976
TS
339202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33921
05f3d1f6
UD
33922 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33923 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33924 conformtest.pl
8149f976 33925
1a4ac776
JM
339262012-03-21 Joseph Myers <joseph@codesourcery.com>
33927
be22ce65
JM
33928 * NOTES: Remove.
33929 * Makefile (files-for-dist): Remove NOTES.
33930 (NOTES): Remove rule.
33931 * README: Don't refer to NOTES.
33932 * manual/creature.texi: Don't include macros.texi.
33933 * manual/intro.texi (creature.texi): Remove comment referring to
33934 NOTES.
33935
40b601fb
JM
33936 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33937 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33938 * configure: Regenerated.
33939 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33940 LIBC_TRY_CC_OPTION.
33941 (libc_cv_as_i686): Likewise.
33942 (libc_cv_cc_avx): Likewise.
33943 (libc_cv_cc_sse2avx): Likewise.
33944 (libc_cv_cc_fma4): Likewise.
33945 (libc_cv_cc_novzeroupper): Likewise.
33946 * sysdeps/i386/configure: Regenerated.
33947
1a4ac776
JM
33948 [BZ #13883]
33949 * sysdeps/i386/fpu/s_cexp.S: Remove.
33950 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33951 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33952 * math/libm-test.inc (cexp_test): Add more tests.
33953 * sysdeps/i386/fpu/libm-test-ulps: Update.
33954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33955
a458e7fe
AM
339562012-03-21 Allan McRae <allan@archlinux.org>
33957
33958 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33959
0cb7efc5
JM
339602012-03-21 Joseph Myers <joseph@codesourcery.com>
33961
33962 [BZ #13871]
33963 * math/w_exp2.c: Do not include <float.h>.
33964 (o_threshold, u_threshold): Remove.
33965 (__exp2): Calculate result before checking finiteness and calling
33966 __kernel_standard.
33967 * math/w_exp2f.c: Likewise.
33968 * math/w_exp2l.c: Likewise.
33969 * math/libm-test.inc (exp2_test): Require overflow exception for
33970 1e6 input.
2460d3aa
JM
33971
33972 [BZ #3866]
33973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33974 range of signed 64-bit integers before using fistpll. Remove
33975 checks for whether integers fit in mantissa bits.
33976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33977 the range of signed 32-bit integers before using fistpl. Remove
33978 checks for whether integers fit in mantissa bits.
33979 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33980 (__ieee754_powl): Test for y outside the range of signed 64-bit
33981 integers before using fistpll. Reduce 64-bit values to 63-bit
33982 ones as needed.
33983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33984 divide-by-zero is raised for zero to large negative powers.
33985 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33986 (__ieee754_powl): Test for y outside the range of signed 64-bit
33987 integers before using fistpll. Reduce 64-bit values to 63-bit
33988 ones as needed.
33989 * math/libm-test.inc (pow_test): Add more tests.
33990
eb96ffb0
L
339912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33992
33993 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33994 <stdio-common/_itoa.h>.
33995 * debug/segfault.c: Likewise.
33996 * elf/dl-cache.c: Likewise.
33997 * elf/dl-minimal.c: Likewise.
33998 * elf/dl-misc.c: Likewise.
33999 * elf/dl-sysdep.c: Likewise.
34000 * elf/dl-version.c: Likewise.
34001 * elf/rtld.c: Likewise.
34002 * hurd/hurdsock.c: Likewise.
34003 * hurd/lookup-retry.c: Likewise.
34004 * malloc/malloc.c: Likewise.
34005 * malloc/mtrace.c: Likewise.
34006 * nscd/nscd_getgr_r.c: Likewise.
34007 * nscd/nscd_getpw_r.c: Likewise.
34008 * nscd/nscd_getserv_r.c: Likewise.
34009 * posix/getopt_init.c: Likewise.
34010 * posix/wordexp.c: Likewise.
34011 * stdio-common/_itoa.c: Likewise.
34012 * stdio-common/printf_fphex.c: Likewise.
34013 * stdio-common/vfprintf.c: Likewise.
34014 * string/_strerror.c: Likewise.
34015 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34016 * sysdeps/i386/i686/hp-timing.h: Likewise.
34017 * sysdeps/mach/_strerror.c: Likewise.
34018 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34019 * sysdeps/mach/hurd/sethostid.c: Likewise.
34020 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34021 * sysdeps/mach/xpg-strerror.c: Likewise.
34022 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34024 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34025 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34026 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34027 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34028 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34029 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34030 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34031 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34032 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34033 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34034 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34035 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34036 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34037 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34038 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34039 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34040 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34041 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34042 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34043
34044 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34045
34046 * stdio-common/_itoa.h: Moved to ...
34047 * sysdeps/generic/_itoa.h: Here.
34048
34049 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34050
34051 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34052 instead of "_itoa.h" and "_itowa.h".
34053 * stdio-common/vfprintf.: Likewise.
34054
d1af992d
L
340552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34056
34057 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34058 <bits/wordsize.h>.
34059 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34060 (__signbit): Likwise.
34061 (llrintf): Likwise.
34062 (llrint): Likwise.
34063
114883e0
L
340642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34067 __WORDSIZE != 64.
34068
c135cc1b
JM
340692012-03-20 Joseph Myers <joseph@codesourcery.com>
34070
34071 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34072 OVERFLOW_EXCEPTION_OK.
34073 * math/libm-test.inc ("Philosophy"): Update comment about
34074 exception testing.
34075 (OVERFLOW_EXCEPTION): Define.
34076 (OVERFLOW_EXCEPTION_OK): Likewise.
34077 (INVALID_EXCEPTION_OK): Renumber.
34078 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34079 (IGNORE_ZERO_INF_SIGN): Likewise.
34080 (test_exceptions): Handle FE_OVERFLOW.
34081 (exp10_test): Expect overflow exceptions.
34082 (exp2_test): Likewise.
34083 (expm1_test): Likewise.
34084 (nextafter_test): Likewise.
34085 (pow_test): Likewise.
34086 (scalbn_test): Likewise.
34087 (scalbln_test): Likewise.
34088
95443d88
L
340892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34090
34091 * sysdeps/x86_64/bits/atomic.h
34092 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34093 64bit integer.
34094 (atomic_exchange_acq): Likewise.
34095 (__arch_exchange_and_add_body): Likewise.
34096 (__arch_add_body): Likewise.
34097 (atomic_add_negative): Likewise.
34098 (atomic_add_zero): Likewise.
34099
490df6c4
L
341002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34101
c2722551 34102 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34103 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34104
5e52b189
L
341052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34106
34107 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34108 Check __x86_64__ instead of __WORDSIZE.
34109
a9879d4c
L
341102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34111
34112 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34113
5df98260
DM
341142012-03-19 David S. Miller <davem@davemloft.net>
34115
e1497744
DM
34116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34117
5df98260
DM
34118 * sysdeps/sparc/fpu/fenv_private.h: New file.
34119 * sysdeps/sparc/fpu/math_private.h: Use it.
34120 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34121 Remove.
57f41c40 34122 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34123 (libc_feholdexcept_setroundl): Remove.
34124 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34125 Remove.
34126 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34127 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34128
b4c35121
L
341292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34130
34131 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34132 int64_t instead of long int.
34133 (INSERT_WORDS64): Likwise.
34134
56965fd7
L
341352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34136
34137 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34138 _Unwind_GetCFA return to _Unwind_Ptr first.
34139
83d1aec8
JM
341402012-03-19 Joseph Myers <joseph@codesourcery.com>
34141
1897ad44
JM
34142 [BZ #13629]
34143 * math/s_clog.c: Include <float.h>.
34144 (__clog): Scale large or subnormal inputs.
34145 * math/s_clogf.c: Likewise.
34146 * math/s_clogl.c: Likewise.
34147 * math/s_clog10.c: Include <float.h>.
34148 (M_LOG10_2): Define.
34149 (__clog10): Scale large or subnormal inputs.
34150 * math/s_clog10f.c: Likewise.
34151 * math/s_clog10l.c: Likewise.
34152 * math/libm-test.inc (clog_test): Add more tests.
34153 (clog10_test): Likewise.
34154 * sysdeps/i386/fpu/libm-test-ulps: Update.
34155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156
7726d6a9
JM
34157 [BZ #11451]
34158 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34159 x and y.
34160 * math/libm-test.inc (atan2_test): Add another test.
34161
83d1aec8
JM
34162 * Makerules (common-objdir-compile): Remove.
34163 * sysdeps/unix/Makefile (config-generated): Do not add
34164 $(unix-generated) to variable.
34165 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34166 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34167 Remove rule.
34168 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34169 Likewise.
34170 [generic bits/local_lim.h] (before-compile): Do not append to
34171 variable.
34172 [generic bits/local_lim.h] (common-generated): Likewise.
34173 [generic sys/param.h] (before-compile): Do not append to variable.
34174 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34175 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34176 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34177 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34178 include.
34179 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34180 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34181 [generic sys/param.h] ($(addprefix
34182 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34183 [generic sys/param.h] (common-generated): Do not append to
34184 variable.
34185 [generic sys/param.h] (sysdep_headers): Likewise.
34186 [generic bits/errno.h] (before-compile): Do not append to
34187 variable.
34188 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34189 rule.
34190 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34191 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34192 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34193 [generic bits/errno.h] (common-generated): Do not append to
34194 variable.
34195 [generic bits/ioctls.h] (before-compile): Do not append to
34196 variable.
34197 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34198 rule.
34199 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34200 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34201 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34202 rule.
34203 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34204 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34205 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34206 [generic bits/ioctls.h] (common-generated): Do not append to
34207 variable.
34208 [generic sys/syscall.h] (syscall.h): Remove variable.
34209 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34210 rule.
34211 [generic sys/syscall.h] (before-compile): Do not append to
34212 variable.
34213 [generic sys/syscall.h] (common-generated): Likewise.
34214 * sysdeps/unix/errnos-tmpl.c: Remove file.
34215 * sysdeps/unix/errnos.awk: Likewise.
34216 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34217 * sysdeps/unix/ioctls.awk: Likewise.
34218 * sysdeps/unix/mk-local_lim.c: Likewise.
34219 * sysdeps/unix/snarf-ioctls: Likewise.
34220
4851a949
RH
342212012-03-19 Richard Henderson <rth@twiddle.net>
34222
bd37f2ee
RH
34223 * sysdeps/i386/fpu/fenv_private.h: New file.
34224 * sysdeps/i386/fpu/math_private.h: Use it.
34225 (math_opt_barrier, math_force_eval): Remove.
34226 (libc_feholdexcept_setround_53bit): Remove.
34227 (libc_feupdateenv_53bit): Remove.
34228 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34229 (math_opt_barrier, math_force_eval): Remove.
34230 (libc_feholdexcept): Remove.
34231 (libc_feholdexcept_setround): Remove.
34232 (libc_fetestexcept, libc_fesetenv): Remove.
34233 (libc_feupdateenv_test): Remove.
34234 (libc_feupdateenv, libc_feholdsetround): Remove.
34235 (libc_feresetround): Remove.
34236
d0adc922
RH
34237 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34238 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34239
0fe0f1f8
RH
34240 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34241 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34242 (libc_feupdateenv_testl): New.
34243 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34244 (libc_feupdateenv_testf): New.
34245 (libc_feupdateenv): Use libc_feupdateenv_test.
34246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34248
eb92c487
RH
34249 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34250 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34251 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34252 (libc_feresetround_noex): New.
34253 (libc_feresetround_noexf): New.
34254 (libc_feresetround_noexl): New.
34255 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34256 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34257 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34258 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34259 SET_RESTORE_ROUND.
34260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34262 (__cos): Likewise.
34263 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34264 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34265 SET_RESTORE_ROUND_NOEX.
34266 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34267 SET_RESTORE_ROUND_NOEXF.
34268 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34269 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34270 (libc_feholdsetroundf): New.
34271 (libc_feresetround, libc_feresetroundf): New.
34272
7d2e8012
RH
34273 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34274 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34275 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34276
b4dabbb4
RH
34277 * sysdeps/generic/math_private.h: Include <fenv.h>.
34278 (default_libc_feholdexcept): New.
34279 (default_libc_feholdexcept_setround): New.
34280 (default_libc_fesetenv, default_libc_feupdateenv): New.
34281 (libc_feholdexcept): Only define if undefined.
34282 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34283 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34284 (libc_feholdexcept_setroundl): Likewise.
34285 (libc_feholdexcept_setround_53bit): Likewise.
34286 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34287 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34288 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34289 (libc_feupdateenv_53bit): Likewise.
34290 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34291 (libc_feholdexcept): Convert from macro to inline function.
34292 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34293 (libc_fesetenv, libc_feupdateenv): Likewise.
34294
4851a949
RH
34295 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34296 not previously defined.
34297 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34298 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34299 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34300 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34301 * sysdeps/ieee754/flt-32/math_private.h: New file.
34302 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34303 math_private.h below SET_FLOAT_WORD.
34304 (__isnan, __isinf_ns, __finite): Remove.
34305 (__isnanf, __isinf_nsf, __finitef): Remove.
34306
e79d442e
AS
343072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34308
34309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34310
90b80344
DM
343112012-03-17 David S. Miller <davem@davemloft.net>
34312
34313 [BZ #6471]
34314 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34315 for 2.16.
34316
edc21804
DM
343172012-03-16 David S. Miller <davem@davemloft.net>
34318
77e927af
DM
34319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34320 warnings.
34321
374976dd
DM
34322 [BZ #6471]
34323 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34324 properly.
34325 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34326 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34327 sysdep_routines when subdir is sysvipc.
34328 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34329 __getshmlba helper.
34330
edc21804
DM
34331 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34332
473c3ef3
L
343332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34336 [__LP64__].
34337
eb0f39b6
L
343382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34339
34340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34341 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34342 (__lround): Renamed to ...
34343 (__llround): This. Replace long int with long long int.
34344 Define lround functions as aliases of llround functions.
34345 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34346
6b6cd74b
L
343472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34348
34349 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34350 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34351 adresses to uintptr_t. Replace "long int" and "unsigned long
34352 int" with "greg_t" on va_arg.
34353
f1a77b01
L
343542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34355
34356 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34357 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34358
34359 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34360 Move e_machine check before EI_CLASS check. Handle x32
34361 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34362 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34363 SKIP_EM_IA_64 and include
34364 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34365
34366 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34367 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34368 (add_system_dir): New macro.
34369
34370 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34371 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34372
11b90b9f
JM
343732012-03-16 Joseph Myers <joseph@codesourcery.com>
34374
c36e1d23
JM
34375 [BZ #2551]
34376 [BZ #2552]
34377 [BZ #2553]
34378 [BZ #2554]
34379 [BZ #2562]
34380 [BZ #2563]
34381 [BZ #2565]
34382 [BZ #2566]
34383 [BZ #2576]
34384 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34385 (y0): Likewise.
34386 * math/w_j0f.c (j0f): Likewise.
34387 (y0f): Likewise.
34388 * math/w_j0l.c (__j0l): Likewise.
34389 (__y0l): Likewise.
34390 * math/w_j1.c (j1): Likewise.
34391 (y1): Likewise.
34392 * math/w_j1f.c (j1f): Likewise.
34393 (y1f): Likewise.
34394 * math/w_j1l.c (__j1l): Likewise.
34395 (__y1l): Likewise.
34396 * math/w_jn.c (jn): Likewise.
34397 (yn): Likewise.
34398 * math/w_jnf.c (jnf): Likewise.
34399 (ynf): Likewise.
34400 * math/w_jnl.c (__jnl): Likewise.
34401 (__ynl): Likewise.
34402 * math/libm-test.inc (j0_test): Add more tests.
34403 (j1_test): Likewise.
34404 (jn_test): Likewise. Add trailing semicolon to existing test.
34405 (y0_test): Likewise.
34406 (y1_test): Likewise.
34407 * sysdeps/i386/fpu/libm-test-ulps: Update.
34408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34409
11b90b9f
JM
34410 [BZ #13851]
34411 [BZ #13854]
34412 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34413 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34414 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34415 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34416 (__tanl): Set errno for infinite argument.
34417 * sysdeps/i386/fpu/mptan.c: Remove.
34418 * sysdeps/i386/fpu/s_tan.S: Likewise.
34419 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34420 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34421 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34422 * math/libm-test.inc (tan_test): Add more tests and enable more
34423 tests for double and long double.
34424 * sysdeps/i386/fpu/libm-test-ulps: Update.
34425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34426
6a1bd2a1
JK
344272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34428
34429 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34430 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34431
10a803e0
RM
344322012-03-16 Roland McGrath <roland@hack.frob.com>
34433
34434 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34435 * configure.in: Use it for both main tree and add-ons.
34436 * configure: Regenerated.
34437
f196c7f7
L
344382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34439
34440 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34441
8848d99d
JM
344422012-03-16 Joseph Myers <joseph@codesourcery.com>
34443
96cbe7f4
JM
34444 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34445 in comment.
34446
8848d99d
JM
34447 [BZ #13851]
34448 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34449 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34453 infinite argument.
34454 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34455 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34456 != 0 for prec == 2.
34457 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34458 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34459 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34460 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34461 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34462 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34463 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34464 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34465 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34466 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34467 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34468 * math/libm-test.inc (cos_test): Add more tests and enable more
34469 tests for long double.
34470 (sin_test): Likewise.
34471 (sincos_test): Likewise.
34472 * sysdeps/i386/fpu/libm-test-ulps: Update.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34474
dd7f4703
DM
344752012-03-16 David S. Miller <davem@davemloft.net>
34476
34477 * sysdeps/sparc/fpu/math_private.h: New file.
34478
006f1daa
DM
344792012-03-15 David S. Miller <davem@davemloft.net>
34480
c0c83bc8
DM
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34482 file.
e6a62e18 34483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34485 file.
e6a62e18
DM
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34492 sysdep routines.
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34494
88cb87d9
DM
34495 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34496 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34497
006f1daa 34498 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34500 sparc-ifunc.h
006f1daa 34501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34503 Likewise.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34505 Likewise.
006f1daa
DM
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34510 Likewise.
006f1daa
DM
34511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34516 Likewise.
34517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34518 Likewise.
006f1daa
DM
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34543
11e0098e
AS
345442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34545
34546 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34547 scaling.
34548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34549
e85b09d0
AJ
345502012-03-15 Andreas Jaeger <aj@suse.de>
34551
34552 [BZ #13852]
34553 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34554 ieee754/flt-32 implementation for sin, cos and sincos.
34555 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34556 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34557 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34558 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34559 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34560 ieee754/flt-32 implementation for tan.
34561
34562 * math/libm-test.inc (cos_test): Enable some large input tests for
34563 float as well
34564 (sin_test): Likewise.
34565 (sincos_test): Likewise.
34566 (tan_test): Add tests for large input.
34567
34568 * sysdeps/i386/fpu/libm-test-ulps: Update.
34569
81c64153
AJ
345702012-03-15 Andreas Jaeger <aj@suse.de>
34571
34572 [BZ #13658]
34573 * math/libm-test.inc (cos_test): Add more test cases.
34574 (sin_test): Likewise.
34575 (sincos_test): Likewise.
34576
7bbfa5c6
AJ
345772012-03-15 Andreas Jaeger <aj@suse.de>
34578
34579 [BZ #13837]
34580 * math/libm-test.inc (cos_test): Add a test case for large input
34581 value.
34582 (sin_test): Likewise.
34583 (sincos_test): Likewise.
34584
57f41c40
AS
345852012-03-15 Andreas Jaeger <aj@suse.de>
34586 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34587
34588 [BZ #13658]
0671f479 34589 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34590 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34591 * sysdeps/i386/fpu/branred.c: Likewise.
34592 * sysdeps/i386/fpu/dosincos.c: Likewise.
34593 * sysdeps/i386/fpu/mpa.c: Likewise.
34594 * sysdeps/i386/fpu/s_cos.S: Likewise.
34595 * sysdeps/i386/fpu/s_sin.S: Likewise.
34596 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34597 * sysdeps/i386/fpu/sincos32.c: Likewise.
34598
34599 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34600 Define.
34601 (libc_feupdateenv_53bit): Define.
34602 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34603 Define.
34604 (libc_feupdateenv_53bit): Define.
34605
34606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34607 53 bit (without extend i386 double precision).
34608
34609 * math/libm-test.inc (sincos_test): Add tests for large input.
34610 (sin): Likewise.
34611 (cos): Likewise.
34612
34613 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34614
9cad04ea
AS
346152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34616
34617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34618
f7062b9a
DM
346192012-03-15 David S. Miller <davem@davemloft.net>
34620
34621 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34622 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34623 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34624 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34637 file.
f7062b9a 34638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34640 file.
f7062b9a 34641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34643 file.
f7062b9a 34644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34646 file.
f7062b9a
DM
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34649 fmin/fmax sysdep routines.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34651
7bd951ff
DM
346522012-03-14 David S. Miller <davem@davemloft.net>
34653
559398ab
DM
34654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34683 routines.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34685 file.
559398ab 34686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34688 file.
559398ab 34689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34691 file.
559398ab 34692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34694 file.
559398ab 34695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34697 file.
559398ab 34698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34700 file.
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34702 file.
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34704 file.
34705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34706 file.
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34708 New file.
34709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34710 file.
34711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34712 file.
559398ab 34713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34715 file.
559398ab 34716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34718 file.
559398ab 34719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34721 file.
559398ab 34722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34724 VIS3 routines.
559398ab
DM
34725
34726 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34727 New file.
34728
5a1c1e32
DM
34729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34730
eae47a36
DM
34731 * sysdeps/sparc/configure.in: New file.
34732 * sysdeps/sparc/configure: Generate.
34733 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34734 * configure: Regenerate.
34735 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34736 * config.make.in (have-as-vis3): New.
34737 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34738 available use -Av9d instead of -Av9a.
34739 * sysdeps/sparc/sparc64/Makefile: Likewise.
34740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34742 New file.
34743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34744 file.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34746 New file.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34748 file.
eae47a36
DM
34749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34750 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34754
c0c83bc8
DM
34755 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34756 fzeros/fnegs to load 0x80000000 into a float register instead of
34757 using the stack.
7bd951ff
DM
34758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34759
bd951ccb
JM
347602012-03-14 Joseph Myers <joseph@codesourcery.com>
34761
34762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34763 bits/syscall.h.
34764 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34765 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34766 ($(inst_includedir)/bits/syscall.h): Remove rule.
34767 ($(objpfx)bits/syscall.d): Include instead of
34768 $(objpfx)syscall-list.d.
34769 (generated): Change syscall-list.h and syscall-list.d to
34770 bits/syscall.h and bits/syscall.d.
34771
bb4e6db2
RM
347722012-03-14 Roland McGrath <roland@hack.frob.com>
34773
34774 [BZ #13846]
34775 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34776
aa4a2ae1
JM
347772012-03-14 Joseph Myers <joseph@codesourcery.com>
34778
e456826d
JM
34779 [BZ #13841]
34780 * math/s_csqrt.c: Include <float.h>.
34781 (__csqrt): Scale large or subnormal inputs.
34782 * math/s_csqrtf.c: Likewise.
34783 * math/s_csqrtl.c: Likewise.
34784 * math/libm-test.inc (csqrt_test): Add more tests.
34785 * sysdeps/i386/fpu/libm-test-ulps: Update.
34786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34787
aa4a2ae1
JM
34788 [BZ #13840]
34789 * math/libm-test.inc (hypot_test): Add more tests.
34790
7c10fd35
DM
347912012-03-13 David S. Miller <davem@davemloft.net>
34792
34793 [BZ #13840]
34794 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34795 double-precision for the calculation instead of scaling.
34796
f453b98b
JM
347972012-03-13 Joseph Myers <joseph@codesourcery.com>
34798
34799 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34800 manipulate bits before adding and subtracting TWO52[sx].
34801 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34803 Likewise.
34804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34805
09a3453f
DM
348062012-03-13 David S. Miller <davem@davemloft.net>
34807
8e59da90
DM
34808 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34809 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34811 rtld-global-offsets.h
34812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34813
2a8ab7f2
DM
34814 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34815 large parameters.
34816
10f62770
DM
34817 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34818
5f0bdb18
DM
34819 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34820 'err' in the ifdef scope in which it is actually used.
34821
09a3453f
DM
34822 * nss/nss_db/db-init.c: Include string.h
34823
b4b2eb5e
DM
348242012-03-12 David S. Miller <davem@davemloft.net>
34825
98bb2f1c
DM
34826 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34827 masking out of the most significant byte of random value used.
34828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34829 Fix coding style in previous change.
34830
b4b2eb5e
DM
34831 * sysdeps/unix/sysv/linux/kernel-features.h
34832 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34833 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34834 expression.
34835 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34836 later.
34837
6e226b09
DM
348382012-03-11 David S. Miller <davem@davemloft.net>
34839
a1bcbd40
DM
34840 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34841 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34842 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34843 for 'resultvar' otherwise things get truncated on 64-bit.
34844
cb9d6174
DM
34845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34846 Fix masking out of the most significant byte of random value used.
34847
6e226b09
DM
34848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34849
058c132d
AS
348502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34851
34852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34853
2d2cd515
DM
348542012-03-09 David S. Miller <davem@davemloft.net>
34855
34856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34857 variables with appropriate CPP guards.
57f41c40
AS
34858 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34859 from the frame pointer, not the stack pointer. Correct layout
34860 comments. Fix test on resulting framesize and the management of
34861 the outregs buffer for pltexit. Preserve floating point return
34862 values across _dl_call_pltexit call.
2d2cd515
DM
34863 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34864 framesize and the management of the outregs buffer for pltexit.
34865 Preserve floating point return values across _dl_call_pltexit
34866 call.
57f41c40
AS
34867 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34868 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34869 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34870 (print_exit): Fix format string for return register value.
34871
9a07f9d0
JM
348722012-03-10 Joseph Myers <joseph@codesourcery.com>
34873
34874 * sunrpc/Makefile (others): Add rpcgen.
34875 ($(objpfx)rpcgen): Remove special build rule and dependency on
34876 libc.
34877 * sunrpc/rpcgen.c: New file.
34878
547b5e30
PE
348792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34880
c524201a
PE
34881 [BZ #13673]
34882 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34883 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34884 * sysdeps/i386/crti.S: Likewise.
34885 * sysdeps/i386/crtn.S: Likewise.
34886 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34887 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34888 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34889 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34890 * sysdeps/sh/crti.S: Likewise.
34891 * sysdeps/sh/crtn.S: Likewise.
34892 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34893
7b6235f2
PE
34894 [BZ #13673]
34895 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34896 with URL.
34897 * locale/programs/locfile-kw.gperf: Likewise.
34898 * locale/programs/charmap-kw.h: Regenerated.
34899 * locale/programs/locfile-kw.h: Likewise.
34900
547b5e30
PE
34901 [BZ #13673]
34902 * intl/plural.y: Replace FSF snail mail address with URL.
34903 * intl/plural.c: Regenerated.
34904
5f0a5dae
RH
349052012-03-09 Richard Henderson <rth@twiddle.net>
34906
34907 * include/math_private.h: Remove file.
34908 * math/math_private.h: Move file ...
34909 * sysdeps/generic/math_private.h: ... here.
34910
b8c03620
RH
34911 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34912 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34913 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34914
4e234f5d 34915 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34916 and <math_private.h>.
34917 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34918 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34919 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34920 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34921 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34980 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34981 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34982 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34983 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34987 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34988 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34991 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34996 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34998 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35000 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35004 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35005 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35006 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35007 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35010 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35011 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35013 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35014 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35015 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35017 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35018 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35019 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35020 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35021 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35022 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35023 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35024 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35025 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35027 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35028 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35029 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35030 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35031 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35032 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35033 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35034 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35035 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35036 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35038 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35040 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35041 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35044 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35045 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35046 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35047 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35048 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35050 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35051 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35052 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35053 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35055 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35056 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35057 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35058 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35059 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35060 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35061 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35062 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35063 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35064 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35065 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35066 * sysdeps/ieee754/k_standard.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35187 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35189 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35194 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35227 * sysdeps/ieee754/s_lib_version.c: Likewise.
35228 * sysdeps/ieee754/s_matherr.c: Likewise.
35229 * sysdeps/ieee754/s_signgam.c: Likewise.
35230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35231 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35232 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35233 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35234 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35235 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35236 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35237 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35238 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35239 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35240 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35241 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35242 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35243 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35244 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35245 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35246 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35251
1991fa03
JM
352522012-03-09 Joseph Myers <joseph@codesourcery.com>
35253
35254 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35255 * sunrpc/rpc_main.c: Likewise.
35256 * sunrpc/rpc_svcout.c: Likewise.
35257
60d6f5a6
DM
352582012-03-09 David S. Miller <davem@davemloft.net>
35259
35260 * include/math_private.h: New file.
35261
4962050e
JM
352622012-03-09 Joseph Myers <joseph@codesourcery.com>
35263
02a6f887
JM
35264 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35265 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35266 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35267 from <bits/socket_type.h>.
35268 (enum __socket_type): Don't define here.
35269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35271 bits/socket_type.h.
35272
c6e013c1
JM
35273 [BZ #13566]
35274 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35275 checking __USE_GNU.
35276
4962050e
JM
35277 * Makerules ($(inst_includedir)/%.h): New rule.
35278 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35279 (install-others): Remove variable setting.
35280 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35281
38842f45
RH
352822012-03-08 Richard Henderson <rth@twiddle.net>
35283
67bb6da6
RH
35284 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35285 from macro to inline function; merge with the
35286 !__LIBC_INTERNAL_MATH_INLINES version.
35287 (__ieee754_sqrtf): Likewise.
35288
15194b4b
RH
35289 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35290 to inline function.
35291 (__rintf, __floor, __floorf): Likewise.
35292
64e21ede
RH
35293 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35294 macro to inline function.
35295 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35296
38842f45
RH
35297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35298 not <math/math_private.h>.
35299
c64bf5fe
DM
353002012-03-08 David S. Miller <davem@davemloft.net>
35301
35302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35303 copyright year.
35304 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35305
82d86f28
TS
353062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35307
35308 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35309 normalization.
35310 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35311 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35312
aea5d727
UD
353132012-03-08 Ulrich Drepper <drepper@gmail.com>
35314
35315 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35316 be defined individually, they must be defined as a block. Define
35317 S for printing a string instead of hidint the different by using a
35318 macro for adding the 'l'.
35319 * stdio-common/tst-fphex-wide.c: Adjust.
35320
70bca0a3
MP
353212012-03-07 Marek Polacek <polacek@redhat.com>
35322
35323 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35324
65b81130
MP
353252012-03-08 Marek Polacek <polacek@redhat.com>
35326
35327 [BZ #13806]
35328 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35329 * stdio-common/tst-fphex.c: Define a few macros to make the
35330 test reusable. Use them.
35331 * stdio-common/tst-fphex-wide.c: New file.
35332
07037eeb
JM
353332012-03-08 Joseph Myers <joseph@codesourcery.com>
35334
a7a93d50
JM
35335 [BZ #6911]
35336 * manual/macros.texi (gnusystems): New macro.
35337 (nongnusystems): Likewise.
35338 (gnulinuxhurdsystems): Likewise.
35339 (gnuhurdsystems): Likewise..
35340 (gnulinuxsystems): Likewise.
35341 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35342 variants of the GNU system, not "GNU system".
35343 * manual/conf.texi: Likewise.
35344 * manual/errno.texi: Likewise. Update example of errno macro
35345 expansion.
35346 * manual/filesys.texi: Likewise.
35347 (getumask): Document as specific to GNU/Hurd.
35348 * manual/install.texi: Likewise. Reword some references to
35349 GNU/Linux.
35350 * manual/intro.texi: Likewise.
35351 * manual/io.texi: Likewise.
35352 (File Name Portability): Detail which constraints are inapplicable
35353 to all GNU systems and which are only inapplicable to GNU/Hurd.
35354 * manual/job.texi: Likewise.
35355 * manual/llio.texi: Likewise.
35356 (O_NOCTTY): Document as present on GNU/Linux.
35357 * manual/maint.texi: Likewise.
35358 * manual/memory.texi: Likewise.
35359 * manual/pattern.texi: Likewise.
35360 * manual/pipe.texi: Likewise.
35361 * manual/process.texi: Likewise.
35362 * manual/resource.texi: Likewise.
35363 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35364 child on GNU/Hurd.
35365 * manual/setjmp.texi: Likewise.
35366 * manual/signal.texi: Likewise.
35367 * manual/startup.texi: Likewise.
35368 * manual/stdio.texi: Likewise.
35369 * manual/terminal.texi: Likewise.
35370 (ONLCR): Document as POSIX.
35371 (OXTABS): Document availability on GNU/Linux as XTABS.
35372 (ONOEOT): Document availability separately from other bits.
35373 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35374 * manual/time.texi: Likewise.
35375 * manual/users.texi: Likewise.
35376 * INSTALL: Regenerated.
35377 * sysdeps/gnu/errlist.c: Regenerated.
35378
07037eeb
JM
35379 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35380 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35381 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35382 puts.
35383 * configure: Regenerated.
35384
d1d3431a
JM
353852012-03-07 Joseph Myers <joseph@codesourcery.com>
35386
af6a1e37
JM
35387 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35388 default includes instead of AC_HEADER_CHECK.
35389 * sysdeps/i386/configure: Regenerated.
35390
d1d3431a
JM
35391 [BZ #10716]
35392 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35393 * math/s_cacoshf.c (__cacoshf): Likewise.
35394 * math/s_cacoshl.c (__cacoshl): Likewise.
35395 * math/s_casinh.c (__casinh): Set signs of result from argument.
35396 * math/s_casinhf.c (__casinhf): Likewise.
35397 * math/s_casinhl.c (__casinhl): Likewise.
35398 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35399 (casinh_test): Add more tests.
35400 * sysdeps/i386/fpu/libm-test-ulps: Update.
35401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35402
482ff4da
UD
354032012-03-07 Ulrich Drepper <drepper@gmail.com>
35404
872fda05
UD
35405 * po/zh_TW.po: Update from translation team.
35406
a4300c7a
UD
35407 * login/Makefile (distribute): Remove variable.
35408 * catgets/Makefile: Likewise.
35409 * mach/Makefile: Likewise.
35410 * malloc/Makefile: Likewise.
35411 * misc/Makefile: Likewise.
35412 * iconv/Makefile: Likewise.
35413 * nscd/Makefile: Likewise.
35414 * hurd/Makefile: Likewise.
35415 * manual/Makefile: Likewise.
35416 * locale/Makefile: Likewise.
35417 * intl/Makefile: Likewise.
35418 * conform/Makefile: Likewise.
35419 * nss/Makefile: Likewise.
35420 * time/Makefile: Likewise.
35421 * soft-fp/Makefile: Likewise.
35422 * dirent/Makefile: Likewise.
35423 * gmon/Makefile: Likewise.
35424 * po/Makefile: Likewise.
35425 * rt/Makefile: Likewise.
35426 * socket/Makefile: Likewise.
35427 * math/Makefile: Likewise.
35428 * signal/Makefile: Likewise.
35429 * debug/Makefile: Likewise.
35430 * elf/Makefile: Likewise.
35431 * timezone/Makefile: Likewise.
35432 * stdlib/Makefile: Likewise.
35433 * iconvdata/Makefile: Likewise.
35434 * sunrpc/Makefile: Likewise.
35435 * io/Makefile: Likewise.
35436 * argp/Makefile: Likewise.
35437 * inet/Makefile: Likewise.
35438 * hesiod/Makefile: Likewise.
35439 * grp/Makefile: Likewise.
35440 * csu/Makefile: Likewise.
35441 * wctype/Makefile: Likewise.
35442 * crypt/Makefile: Likewise.
35443 * libio/Makefile: Likewise.
35444 * string/Makefile: Likewise.
35445 * nis/Makefile: Likewise.
35446 * resolv/Makefile: Likewise.
35447 * stdio-common/Makefile: Likewise.
35448 * wcsmbs/Makefile: Likewise.
35449 * dlfcn/Makefile: Likewise.
35450 * posix/Makefile: Likewise.
35451
3b7c4e74 35452 [BZ #6959]
482ff4da
UD
35453 * timezone/Makefile: Don't install timezone files, just the programs
35454 and scripts.
35455
f72ed77d
UD
354562012-03-06 Ulrich Drepper <drepper@gmail.com>
35457
a000466f
UD
35458 * nss/databases.def: Add missing gshadow entry.
35459
f72ed77d
UD
35460 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35461
a53b7a4e
MP
354622012-03-06 Marek Polacek <polacek@redhat.com>
35463
35464 [BZ #13726]
35465 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35466 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35467 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35468 * stdio-common/tst-long-dbl-fphex.c: New file.
35469
e9258400
DM
354702012-03-06 David S. Miller <davem@davemloft.net>
35471
35472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35473 (set_obp_int): New function.
35474 (get_obp_int): New function.
35475 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35476 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35477 Avoid unused variable warnings on 'val' and use builtin_expect.
35478 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35479 __builtin_expect.
e9258400
DM
35480 (INLINE_CLONE_SYSCALL): Likewise.
35481
3bd2c723
DM
354822012-03-05 David S. Miller <davem@davemloft.net>
35483
35484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35485
bbb78d03
AS
354862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35487
884c5db4
AS
35488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35489
bbb78d03
AS
35490 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35491 only for |x| >= 40.
35492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35493
1c9f702a 354942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35495
35496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35497 Replace gettimeofday with __vdso_gettimeofday.
35498
7be16f82
RM
35499 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35500 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35501 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35502
35503 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35504 time with __vdso_time.
35505
ed58a00f
JM
355062012-03-05 Joseph Myers <joseph@codesourcery.com>
35507
35508 * manual/lang.texi (size_t): Note types to which size_t may be
35509 equivalent with the GNU C Library, but do not describe when
35510 differences between them are significant.
35511
30ee4ced
AJ
355122012-03-05 Andreas Jaeger <aj@suse.de>
35513
35514 * sysdeps/i386/fpu/libm-test-ulps: Update.
35515
b7cd39e8
JM
355162012-03-05 Joseph Myers <joseph@codesourcery.com>
35517
35518 [BZ #3976]
35519 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35520 (__ieee754_pow): Save and restore rounding mode and use
35521 round-to-nearest for main computations.
35522 * math/libm-test.inc (pow_test_tonearest): New function.
35523 (pow_test_towardzero): Likewise.
35524 (pow_test_downward): Likewise.
35525 (pow_test_upward): Likewise.
35526 (main): Call the new functions.
35527 * sysdeps/i386/fpu/libm-test-ulps: Update.
35528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35529
35530 [BZ #3976]
35531 * math/libm-test.inc (cosh_test_tonearest): New function.
35532 (cosh_test_towardzero): Likewise.
35533 (cosh_test_downward): Likewise.
35534 (cosh_test_upward): Likewise.
35535 (sinh_test_tonearest): Likewise.
35536 (sinh_test_towardzero): Likewise.
35537 (sinh_test_downward): Likewise.
35538 (sinh_test_upward): Likewise.
35539 (main): Call the new functions.
35540 * sysdeps/i386/fpu/libm-test-ulps: Update.
35541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35542
6c6a98c9
TV
355432012-03-05 Tom de Vries <tom@codesourcery.com>
35544
35545 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35546 default stack guard is set in last bytes.
35547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35548
21bb2d2e 355492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35550
21bb2d2e 35551 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35552
21bb2d2e
AJ
35553 [BZ #13656]
35554 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35555 possibly allocate from heap instead of stack.
35556 * stdio-common/bug-vfprintf-nargs.c: New file.
35557 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35558
c6922934
AS
355592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35560
35561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35562
bc957d53
MP
355632012-03-03 Marek Polacek <polacek@redhat.com>
35564
35565 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35566 * math/math_private.h: Likewise.
35567 * stdlib/tst-strtod.c: Likewise.
35568 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35569 * sysdeps/x86_64/bits/atomic.h: Likewise.
35570
6358490d
DM
355712012-03-02 David S. Miller <davem@davemloft.net>
35572
35573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35577 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35578 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35579 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35580 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35581
01ae168d
RM
355822012-03-02 Roland McGrath <roland@hack.frob.com>
35583
d9a17c07
RM
35584 [BZ #13792]
35585 * manual/examples/README: New file, says the example source files
35586 can be used under GPL>=2.
35587 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35588 line containing just "*/".
35589 * manual/examples/add.c: Add copyright header (GPL>=2).
35590 * manual/examples/argp-ex1.c: Likewise.
35591 * manual/examples/argp-ex2.c: Likewise.
35592 * manual/examples/argp-ex3.c: Likewise.
35593 * manual/examples/argp-ex4.c: Likewise.
35594 * manual/examples/atexit.c: Likewise.
35595 * manual/examples/db.c: Likewise.
35596 * manual/examples/dir.c: Likewise.
35597 * manual/examples/dir2.c: Likewise.
35598 * manual/examples/execinfo.c: Likewise.
35599 * manual/examples/filecli.c: Likewise.
35600 * manual/examples/filesrv.c: Likewise.
35601 * manual/examples/fmtmsgexpl.c: Likewise.
35602 * manual/examples/genpass.c: Likewise.
35603 * manual/examples/inetcli.c: Likewise.
35604 * manual/examples/inetsrv.c: Likewise.
35605 * manual/examples/isockad.c: Likewise.
35606 * manual/examples/longopt.c: Likewise.
35607 * manual/examples/memopen.c: Likewise.
35608 * manual/examples/memstrm.c: Likewise.
35609 * manual/examples/mkfsock.c: Likewise.
35610 * manual/examples/mkisock.c: Likewise.
35611 * manual/examples/mygetpass.c: Likewise.
35612 * manual/examples/pipe.c: Likewise.
35613 * manual/examples/popen.c: Likewise.
35614 * manual/examples/rprintf.c: Likewise.
35615 * manual/examples/search.c: Likewise.
35616 * manual/examples/select.c: Likewise.
35617 * manual/examples/setjmp.c: Likewise.
35618 * manual/examples/sigh1.c: Likewise.
35619 * manual/examples/sigusr.c: Likewise.
35620 * manual/examples/stpcpy.c: Likewise.
35621 * manual/examples/strdupa.c: Likewise.
35622 * manual/examples/strftim.c: Likewise.
35623 * manual/examples/strncat.c: Likewise.
35624 * manual/examples/subopt.c: Likewise.
35625 * manual/examples/swapcontext.c: Likewise.
35626 * manual/examples/termios.c: Likewise.
35627 * manual/examples/testopt.c: Likewise.
35628 * manual/examples/testpass.c: Likewise.
35629 * manual/examples/timeval_subtract.c: Likewise.
35630
01ae168d
RM
35631 [BZ #13792]
35632 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35633 function to ...
35634 * manual/timeval_subtract.c.texi: ... here, new file.
35635
49efa33d
DM
356362012-03-02 David S. Miller <davem@davemloft.net>
35637
35638 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35639
28afd92d
JM
356402012-03-02 Joseph Myers <joseph@codesourcery.com>
35641
804360ed
JM
35642 [BZ #3976]
35643 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35644 (__sin): Save and restore rounding mode and use round-to-nearest
35645 for all computations.
35646 (__cos): Save and restore rounding mode and use round-to-nearest
35647 for all computations.
35648 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35649 <fenv.h>.
35650 (tan): Save and restore rounding mode and use round-to-nearest for
35651 all computations.
35652 * math/libm-test.inc (cos_test_tonearest): New function.
35653 (cos_test_towardzero): Likewise.
35654 (cos_test_downward): Likewise.
35655 (cos_test_upward): Likewise.
35656 (sin_test_tonearest): Likewise.
35657 (sin_test_towardzero): Likewise.
35658 (sin_test_downward): Likewise.
35659 (sin_test_upward): Likewise.
35660 (tan_test_tonearest): Likewise.
35661 (tan_test_towardzero): Likewise.
35662 (tan_test_downward): Likewise.
35663 (tan_test_upward): Likewise.
35664 (main): Call the new functions.
35665 * sysdeps/i386/fpu/libm-test-ulps: Update.
35666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35667
a6d06d7b
JM
35668 [BZ #10135]
35669 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35670 small n, then large n, before computing and testing k+n.
35671 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35673 Likewise.
35674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35675 Likewise.
35676 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35677 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35682 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35684 * math/libm-test.inc (scalbn_test): Add more tests.
35685 (scalbln_test): Likewise.
35686
07e12bb3
JM
35687 * manual/filesys.texi (mode_t): Describe constraints on size and
35688 signedness, not exact equivalence to a particular type.
35689 (ino_t): Likewise.
35690 (ino64_t): Likewise.
35691 (dev_t): Likewise.
35692 (nlink_t): Likewise.
35693 (blkcnt_t): Likewise.
35694 (blkcnt64_t): Likewise.
35695 * manual/llio.texi (off_t): Likewise.
35696
28afd92d
JM
35697 [BZ #3976]
35698 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35699 (__ieee754_exp): Save and restore rounding mode and use
35700 round-to-nearest for all computations.
35701 * math/libm-test.inc (exp_test_tonearest): New function.
35702 (exp_test_towardzero): Likewise.
35703 (exp_test_downward): Likewise.
35704 (exp_test_upward): Likewise.
35705 (main): Call the new functions.
35706 * sysdeps/i386/fpu/libm-test-ulps: Update.
35707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35708
b1eeb65d
CD
357092012-03-01 Chris Demetriou <cgd@google.com>
35710
35711 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35712 have predictable order.
35713
53362a4b
DM
357142012-03-01 David S. Miller <davem@davemloft.net>
35715
3c969083
DM
35716 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35717
759707de
DM
35718 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35719 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35720 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35721 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35722
dfdb8ff2
DM
35723 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35724 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35725 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35727 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35728 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35729 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35730 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35731 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35732
ead89f96
DM
35733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35734
7f66bd07
DM
35735 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35736 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35737 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35738
53362a4b
DM
35739 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35741 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35742 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35743 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35746 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35747 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35748 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35749 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35753 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35755 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35756 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35757 * sysdeps/sparc/elf/configure: Regenerated.
35758
7b1902cb
JM
357592012-03-01 Joseph Myers <joseph@codesourcery.com>
35760
bec039bc
JM
35761 * configure.in (AS, LD): Require binutils 2.20 or later.
35762 * configure: Regenerated.
35763 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35764 as required minimum version.
35765 * INSTALL: Regenerated.
35766
7b1902cb
JM
35767 [BZ #2541]
35768 [BZ #4108]
35769 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35770 before squaring exponent.
35771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35772 bottom long double and 27 bits of top long double before squaring
35773 exponent.
35774 * math/libm-test.inc (erfc_test): Add more tests.
35775 * sysdeps/i386/fpu/libm-test-ulps: Update.
35776 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35778
f775c276
KT
357792012-03-01 Kai Tietz <ktietz@redhat.com>
35780
35781 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35782 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35783 containing bit-fields.
35784 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35785 * soft-fp/single.h (_FP_UNION_S): Likewise.
35786 * soft-fp/double.h (_FP_UNION_D): Likewise.
35787
5b8a4d4a
JM
357882012-02-29 Joseph Myers <joseph@codesourcery.com>
35789
0bab47b6
JM
35790 [BZ #13786]
35791 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35792 not include ../strcmp.S.
35793 [USE_AS_STRNCASECMP_L]: Likewise.
35794 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35795 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35796 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35797 (__strncasecmp_l_ia32): Define as alias to
35798 __strncasecmp_l_nonascii.
35799
0fcad3e2
JM
35800 [BZ #5794]
35801 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35802 * sysdeps/i386/fpu/libm-test-ulps: Update.
35803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35804
5b8a4d4a
JM
35805 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807
8fdceb2e
JL
358082012-02-29 Jeff Law <law@redhat.com>
35809
35810 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35811 out of bounds read.
35812
1f393a11
MP
358132012-02-29 Marek Polacek <polacek@redhat.com>
35814
35815 [BZ #13706]
35816 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35817 * elf/Makefile: Add rules to run tst-unused-dep.out.
35818
8847f037
DM
358192012-02-28 David S. Miller <davem@davemloft.net>
35820
35821 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35822 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35825 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35826 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35827
169d7f11
JM
358282012-02-29 Joseph Myers <joseph@codesourcery.com>
35829
35830 * math/libm-test.inc (llround_test): Move one test from
35831 lround_test. Use TEST_f_L in moved test.
35832 (lround_test): Move misplaced test to llround_test. Add testcase
35833 from bug 2561.
35834
39adf059
UD
358352012-02-28 Ulrich Drepper <drepper@gmail.com>
35836
35837 * sysdeps/x86_64/fpu/e_expf.S: New file.
35838 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35839
71b5d1c5
SB
358402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35841
35842 [BZ #13637]
35843 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35844 of remain_len that may cause incomplete multi-byte character and
35845 false match.
35846 * posix/bug-regex33.c: New file.
35847 * posix/Makefile (tests): Add bug-regex33.
35848
1f77f049
JM
358492012-02-28 Joseph Myers <joseph@codesourcery.com>
35850
35851 * manual/macros.texi: New file.
35852 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35853 * manual/libc.texinfo: Include macros.texi.
35854 * manual/creatute.texi: Likewise.
35855 * manual/install.texi: Likewise.
35856 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35857 @glibcadj{} in references to the GNU C Library.
35858 * manual/charset.texi: Likewise.
35859 * manual/conf.texi: Likewise.
35860 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35861 when not using those macros.
35862 * manual/creature.texi: Likewise.
35863 * manual/crypt.texi: Likewise.
35864 * manual/errno.texi: Likewise.
35865 * manual/filesys.texi: Likewise.
35866 * manual/header.texi: Likewise.
35867 * manual/install.texi: Likewise.
35868 * manual/intro.texi: Likewise.
35869 * manual/io.texi: Likewise.
35870 * manual/job.texi: Likewise.
35871 * manual/lang.texi: Likewise.
35872 * manual/libc.texiinfo: Likewise.
35873 * manual/llio.texi: Likewise.
35874 * manual/locale.texi: Likewise.
35875 * manual/maint.texi: Likewise.
35876 * manual/math.texi: Likewise.
35877 * manual/memory.texi: Likewise.
35878 * manual/message.texi: Likewise.
35879 * manual/nss.texi: Likewise.
35880 * manual/pattern.texi: Likewise.
35881 * manual/process.texi: Likewise.
35882 * manual/resource.texi: Likewise.
35883 * manual/search.texi: Likewise.
35884 * manual/setjmp.texi: Likewise.
35885 * manual/signal.texi: Likewise.
35886 * manual/socket.texi: Likewise.
35887 * manual/startup.texi: Likewise.
35888 * manual/stdio.texi: Likewise.
35889 * manual/string.texi: Likewise.
35890 * manual/sysinfo.texi: Likewise.
35891 * manual/syslog.texi: Likewise.
35892 * manual/terminal.texi: Likewise.
35893 * manual/time.texi: Likewise.
35894 * manual/users.texi: Likewise.
35895 * INSTALL: Regenerated.
35896 * NOTES: Regenerated.
d40c5d54 35897 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35898
450bf206
AS
358992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35900
35901 * include/dirent.h: Include <dirstream.h> before
35902 <dirent/dirent.h>.
35903
741a235b
DM
359042012-02-28 David S. Miller <davem@davemloft.net>
35905
35906 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35907 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35908 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35909 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35910
d6b5aa58
DM
359112012-02-27 David S. Miller <davem@davemloft.net>
35912
1aff59a3
DM
35913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35915 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35916 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35917
d6b5aa58
DM
35918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35919 frame pointer instead of stack pointer relative arg slot.
35920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35921 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35922 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35923
433f48bf
CD
359242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35925
35926 [BZ #3992]
35927 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35928
d674b76d
DM
359292012-02-27 David S. Miller <davem@davemloft.net>
35930
35931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35935 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35936 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35937 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35938 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35939
0e7727f7
JM
359402012-02-27 Joseph Myers <joseph@codesourcery.com>
35941
35942 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35943 later. Allow versions 5-9.
43be4ca2 35944 * configure: Regenerated.
0e7727f7
JM
35945 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35946 required minimum version and 4.6 as recommended version. Do not
35947 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35948 * INSTALL: Regenerated.
0e7727f7 35949
a78bc654
DM
359502012-02-27 David S. Miller <davem@davemloft.net>
35951
428d5830
DM
35952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35958 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35959 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35960
a78bc654
DM
35961 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35962 manipulate bits before adding and subtracting TWO112[sx].
35963 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35964
4579f81c
RM
359652012-02-27 Roland McGrath <roland@hack.frob.com>
35966
36c8acb4
RM
35967 [BZ #13775]
35968 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35969 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35970 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35971 being in POSIX, because they are in 1003.1-2008.
35972
84ad622b
RM
35973 * rt/tst-aio.c: Include <fcntl.h>.
35974 * rt/tst-aio7.c: Likewise.
35975 * rt/tst-aio64.c: Likewise.
35976
4579f81c
RM
35977 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35978
abd923db
JM
359792012-02-27 Joseph Myers <joseph@codesourcery.com>
35980
35981 * manual/install.texi (--with-headers): Describe headers as
35982 interface headers, not private headers.
35983 (Specific advice for GNU/Linux systems): Describe use of headers
35984 from "make headers_install", not private headers from older
35985 kernels.
43be4ca2 35986 * INSTALL: Regenerated.
abd923db
JM
35987 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35988 Change to 2.6.19.
35989 * sysdeps/unix/sysv/linux/configure: Regenerated.
35990
6664049b
JM
35991 * manual/llio.texi (fclean): Remove documentation.
35992
bb8b6697
JM
35993 * manual/Makefile (libc-texi-generated): New variable. Include
35994 version.texi.
35995 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35996 $(libc-texi-generated), not duplicated list of files.
35997 (version.texi, stamp-version): New rules.
35998 (realclean): Remove $(libc-texi-generated), not individual files
35999 from that list. Do not remove dir-add.texinfo.
36000 * manual/libc.texinfo: Comment out uses of edition numbers and
36001 references to printed manual. Remove last-updated dates.
36002 (EDITION): Comment out.
36003 (ISBN): Likewise.
36004 (VERSION, UPDATED): Remove.
36005 (version.texi): Include.
36006
12e5c3b9
AS
360072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36008
36009 * sysdeps/posix/spawni.c: Include <signal.h>.
36010 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36011 * sysdeps/pthread/aio_fsync.c: Likewise.
36012
4efeffc1 360132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36014
ba63ba08
UD
36015 * conform/Makefile (tests): Run only when not cross-compiling and
36016 when fast-check is not defined.
36017
d94a4670
UD
36018 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36019 * conform/data/limits.h-data: Fixes for POSIX2008.
36020 * conform/run-conformtest.sh: Run all tests.
36021 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36022 headers.
36023 * include/bits/dlfcn.h: Likewise.
36024 * include/langinfo.h: Likewise.
36025 * include/monetary.h: Likewise.
36026 * include/sys/poll.h: Likewise.
36027
36028 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36029 for __USE_GNU.
36030 * posix/spawn.h: Define __need_sigset_t.
36031 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36032 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36033 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36034 to get sigevent_t only.
36035 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36036 only for __USE_GNU.
36037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36039 process_vm_writev only for __USE_GNU.
36040 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36041
36042 * conform/Makefile: For now ignore errors from run-conformtest.
36043 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36044 POSIX to avoid namespace pollution. Don't prepend headers.
36045 * conform/data/aio.h-data: Fixes for POSIX testing.
36046 * conform/data/fcntl.h-data: Likewise.
36047 * conform/data/glob.h-data: Likewise.
36048 * conform/data/grp.h-data: Likewise.
36049 * conform/data/pthread.h-data: Likewise.
36050 * conform/data/pwd.h-data: Likewise.
36051 * conform/data/signal.h-data: Likewise.
36052 * conform/data/spawn.h-data: Likewise.
36053 * conform/data/stdio.h-data: Likewise.
36054 * conform/data/stdlib.h-data: Likewise.
36055 * conform/data/stropts.h-data: Likewise.
36056 * conform/data/sys/mman.h-data: Likewise.
36057 * conform/data/sys/stat.h-data: Likewise.
36058 * conform/data/sys/types.h-data: Likewise.
36059 * conform/data/sys/wait.h-data: Likewise.
36060 * conform/data/time.h-data: Likewise.
36061 * conform/data/unistd.h-data: Likewise.
36062 * conform/data/utime.h-data: Likewise.
36063
36064 * io/sys/stat.h: fchmod was always in POSIX.
36065 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36066 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36067 * rt/aio.h: Define __need_timespec before including <time.h>.
36068 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36069 struct. Add forward declaration of pthread_attr_t and use it in
36070 sigevent.
36071 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36072 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36073 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36074 always remove CLK_TCK definition.
36075
c20105c3
AS
360762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36077
36078 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36079
7a270350
UD
360802012-02-25 Ulrich Drepper <drepper@gmail.com>
36081
31341567
UD
36082 * conform/run-conformtest.sh: New file.
36083 * conform/Makefile: Run run-conformtest for tests.
36084 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36085 support.
36086
36087 * conform/data/uchar.h-data: New file.
36088 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36089 * conform/data/arpa/inet.h-data: Likewise.
36090 * conform/data/assert.h-data: Likewise.
36091 * conform/data/complex.h-data: Likewise.
36092 * conform/data/cpio.h-data: Likewise.
36093 * conform/data/ctype.h-data: Likewise.
36094 * conform/data/dirent.h-data: Likewise.
36095 * conform/data/dlfcn.h-data: Likewise.
36096 * conform/data/errno.h-data: Likewise.
36097 * conform/data/fcntl.h-data: Likewise.
36098 * conform/data/float.h-data: Likewise.
36099 * conform/data/fmtmsg.h-data: Likewise.
36100 * conform/data/fnmatch.h-data: Likewise.
36101 * conform/data/ftw.h-data: Likewise.
36102 * conform/data/glob.h-data: Likewise.
36103 * conform/data/grp.h-data: Likewise.
36104 * conform/data/iconv.h-data: Likewise.
36105 * conform/data/inttypes.h-data: Likewise.
36106 * conform/data/langinfo.h-data: Likewise.
36107 * conform/data/libgen.h-data: Likewise.
36108 * conform/data/limits.h-data: Likewise.
36109 * conform/data/locale.h-data: Likewise.
36110 * conform/data/math.h-data: Likewise.
36111 * conform/data/monetary.h-data: Likewise.
36112 * conform/data/mqueue.h-data: Likewise.
36113 * conform/data/ndbm.h-data: Likewise.
36114 * conform/data/net/if.h-data: Likewise.
36115 * conform/data/netdb.h-data: Likewise.
36116 * conform/data/netinet/in.h-data: Likewise.
36117 * conform/data/nl_types.h-data: Likewise.
36118 * conform/data/poll.h-data: Likewise.
36119 * conform/data/pthread.h-data: Likewise.
36120 * conform/data/pwd.h-data: Likewise.
36121 * conform/data/regex.h-data: Likewise.
36122 * conform/data/sched.h-data: Likewise.
36123 * conform/data/search.h-data: Likewise.
36124 * conform/data/semaphore.h-data: Likewise.
36125 * conform/data/setjmp.h-data: Likewise.
36126 * conform/data/signal.h-data: Likewise.
36127 * conform/data/spawn.h-data: Likewise.
36128 * conform/data/stdarg.h-data: Likewise.
36129 * conform/data/stdio.h-data: Likewise.
36130 * conform/data/stdlib.h-data: Likewise.
36131 * conform/data/string.h-data: Likewise.
36132 * conform/data/strings.h-data: Likewise.
36133 * conform/data/stropts.h-data: Likewise.
36134 * conform/data/sys/ipc.h-data: Likewise.
36135 * conform/data/sys/mman.h-data: Likewise.
36136 * conform/data/sys/msg.h-data: Likewise.
36137 * conform/data/sys/resource.h-data: Likewise.
36138 * conform/data/sys/select.h-data: Likewise.
36139 * conform/data/sys/sem.h-data: Likewise.
36140 * conform/data/sys/shm.h-data: Likewise.
36141 * conform/data/sys/socket.h-data: Likewise.
36142 * conform/data/sys/stat.h-data: Likewise.
36143 * conform/data/sys/statvfs.h-data: Likewise.
36144 * conform/data/sys/time.h-data: Likewise.
36145 * conform/data/sys/timeb.h-data: Likewise.
36146 * conform/data/sys/times.h-data: Likewise.
36147 * conform/data/sys/types.h-data: Likewise.
36148 * conform/data/sys/uio.h-data: Likewise.
36149 * conform/data/sys/un.h-data: Likewise.
36150 * conform/data/sys/utsname.h-data: Likewise.
36151 * conform/data/sys/wait.h-data: Likewise.
36152 * conform/data/syslog.h-data: Likewise.
36153 * conform/data/tar.h-data: Likewise.
36154 * conform/data/termios.h-data: Likewise.
36155 * conform/data/utime.h-data: Likewise.
36156 * conform/data/utmpx.h-data: Likewise.
36157 * conform/data/varargs.h-data: Likewise.
36158 * conform/data/wchar.h-data: Likewise.
36159 * conform/data/wctype.h-data: Likewise.
36160 * conform/data/wordexp.h-data: Likewise.
36161
36162 * include/stropts.h: New file.
36163 * include/uchar.h: New file.
36164 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36165 * include/assert.h: Likewise.
36166 * include/ctype.h: Likewise.
36167 * include/dirent.h: Likewise.
36168 * include/dlfcn.h: Likewise.
36169 * include/fcntl.h: Likewise.
36170 * include/fnmatch.h: Likewise.
36171 * include/glob.h: Likewise.
36172 * include/grp.h: Likewise.
36173 * include/libio.h: Likewise.
36174 * include/locale.h: Likewise.
36175 * include/math.h: Likewise.
36176 * include/net/if.h: Likewise.
36177 * include/netdb.h: Likewise.
36178 * include/netinet/in.h: Likewise.
36179 * include/pthread.h: Likewise.
36180 * include/pwd.h: Likewise.
36181 * include/regex.h: Likewise.
36182 * include/sched.h: Likewise.
36183 * include/search.h: Likewise.
36184 * include/setjmp.h: Likewise.
36185 * include/signal.h: Likewise.
36186 * include/stdio.h: Likewise.
36187 * include/stdlib.h: Likewise.
36188 * include/string.h: Likewise.
36189 * include/sys/cdefs.h: Likewise.
36190 * include/sys/mman.h: Likewise.
36191 * include/sys/msg.h: Likewise.
36192 * include/sys/resource.h: Likewise.
36193 * include/sys/select.h: Likewise.
36194 * include/sys/socket.h: Likewise.
36195 * include/sys/stat.h: Likewise.
36196 * include/sys/statvfs.h: Likewise.
36197 * include/sys/time.h: Likewise.
36198 * include/sys/times.h: Likewise.
36199 * include/sys/uio.h: Likewise.
36200 * include/sys/utsname.h: Likewise.
36201 * include/sys/wait.h: Likewise.
36202 * include/termios.h: Likewise.
36203 * include/time.h: Likewise.
36204 * include/ulimit.h: Likewise.
36205 * include/unistd.h: Likewise.
36206 * include/utime.h: Likewise.
36207 * include/wchar.h: Likewise.
36208 * include/wctype.h: Likewise.
36209 * include/wordexp.h: Likewise.
36210
36211 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36212
7a270350
UD
36213 * time/time.h: TIME_UTC must be a macro.
36214 Make timespec_get available for ISO C11 only as well.
36215
7724defc
UD
362162012-02-24 Ulrich Drepper <drepper@gmail.com>
36217
36218 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36219 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36220
6b1d1d46
JM
362212012-02-24 Joseph Myers <joseph@codesourcery.com>
36222
36223 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36224
0f8bbd69
JM
362252012-02-24 Joseph Myers <joseph@codesourcery.com>
36226
36227 * manual/texinfo.tex: Update to version 2012-01-19.16.
36228
66ab80bc
JM
362292012-02-24 Joseph Myers <joseph@codesourcery.com>
36230
36231 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36232
74981cc5
RM
362332012-02-24 Roland McGrath <roland@hack.frob.com>
36234
ee968201
RM
36235 [BZ #13738]
36236 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36237 * manual/fdl-1.3.texi: New file.
36238 * manual/fdl-1.1.texi: File removed.
36239
74981cc5
RM
36240 [BZ #13738]
36241 * manual/libc.texinfo (FDL_VERSION): New @set.
36242 Use it for mention of FDL in cover text.
36243 (Documentation License): Use it in @include file name.
36244
7bb764bc
JM
362452012-02-22 Joseph Myers <joseph@codesourcery.com>
36246 Roland McGrath <roland@hack.frob.com>
36247
36248 [BZ #5461]
57f41c40
AS
36249 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36250 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36251 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36252 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36253 name.
36254 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36255
6cbeae47
JM
362562012-02-22 Joseph Myers <joseph@codesourcery.com>
36257
36258 [BZ #2547]
36259 [BZ #11365]
36260 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36261 manipulate bits before adding and subtracting TWO23[sx].
36262 * math/libm-test.inc (nearbyint_test): Add more tests.
36263
fe45ce09
JM
362642012-02-22 Joseph Myers <joseph@codesourcery.com>
36265
36266 [BZ #2548]
36267 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36268 bits before adding and subtracting TWO23[sx].
36269 * math/libm-test.inc (rint_test): Add more tests.
36270 (rint_test_tonearest): Likewise.
36271 (rint_test_towardzero): Likewise.
36272 (rint_test_downward): Likewise.
36273 (rint_test_upward: Likewise.
36274
ff3b3d82
JM
362752012-02-22 Joseph Myers <joseph@codesourcery.com>
36276
36277 [BZ #10110]
36278 * include/stdc-predef.h: New file. Extracted from features.h.
36279 * include/features.h: Include stdc-predef.h.
36280 * Makefile (headers): Add stdc-predef.h.
36281 * CONFORMANCE (Compiler limitations): Update.
36282
ef0aab35
JM
362832012-02-22 Joseph Myers <joseph@codesourcery.com>
36284
36285 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36286
58639409
DM
362872012-02-21 David S. Miller <davem@davemloft.net>
36288
36289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36291
c0e70b25
DM
362922012-02-20 David S. Miller <davem@davemloft.net>
36293
36294 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36295 using a normal save/restore sequence, rather than allocating a
36296 dummy stack frame just to store a frame pointer and restore.
36297 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36298
fb06851d
JM
362992012-02-21 Joseph Myers <joseph@codesourcery.com>
36300
36301 * manual/install.texi: Fix stray word in line-wrapped comment.
36302
7a8b71c3
DM
363032012-02-20 David S. Miller <davem@davemloft.net>
36304
d510c123
DM
36305 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36306 both binutils and gcc support GOTDATA.
36307
0722d7c2
DM
36308 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36309 "rd %pc" in the PIC register setup sequences.
36310
3d2b3019
DM
36311 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36312 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36313 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36314 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36315 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36317 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36320 (SYSCALL_ERROR_HANDLER): Likewise.
36321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36324 (SYSCALL_ERROR_HANDLER): Likewise.
36325
c80098a9
DM
36326 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36327 (HAVE_GCC_GOTDATA): New.
36328 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36329 relocation support in both binutils and gcc.
36330 * sysdeps/sparc/elf/configure: Regenerate.
36331
3a2545a0
DM
36332 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36333 * sysdeps/sparc/sparc32/elf/configure: Delete.
36334 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36335 * sysdeps/sparc/sparc64/elf/configure: Delete.
36336 * sysdeps/sparc/elf/configure.in: New file.
36337 * sysdeps/sparc/elf/configure: Generate.
36338
7a8b71c3
DM
36339 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36340 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36341 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36342 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36343 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36344
f1e86fca
JM
363452012-02-21 Joseph Myers <joseph@codesourcery.com>
36346
36347 * manual/install.texi: Do not mention specific glibc version
36348 numbers.
36349 * manual/libc.texinfo (VERSION, UPDATED): Update.
36350 (@copying): Use @copyright{} and range of years.
36351
0e7dfaef
JM
363522012-02-21 Joseph Myers <joseph@codesourcery.com>
36353
36354 [BZ #13695]
36355 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36356 [crti.S not in sysdirs] (generated): Do not append.
36357 [crti.S not in sysdirs] (omit-deps): Likewise.
36358 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36359 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36360 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36361 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36362 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36363 Likewise.
36364 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36365 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36366 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36367 * csu/defs.awk: Remove file.
36368 * sysdeps/generic/initfini.c: Likewise.
36369 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36370 variable.
36371 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36372 Likewise.
36373
599af3ca
JM
363742012-02-20 Joseph Myers <joseph@codesourcery.com>
36375
36376 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36377 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36378 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36379 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36381 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36382 <bits/epoll.h>.
36383 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36384 (__EPOLL_PACKED): Define to empty if not defined by
36385 <bits/epoll.h>.
36386 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36388 bits/epoll.h.
36389
0e499750
JM
363902012-02-20 Joseph Myers <joseph@codesourcery.com>
36391
36392 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36393 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36394 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36395 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36396 <bits/timerfd.h>.
36397 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36399 bits/timerfd.h.
36400
5ad91f6e
JM
364012012-02-20 Joseph Myers <joseph@codesourcery.com>
36402
36403 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36404 in C locale.
36405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409
06b99b02
AJ
364102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36411
36412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36414
7638c0fd
AS
364152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36416
36417 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36418 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36419 defined.
36420 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36421 Likewise.
36422 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36423 entry for 2.16.
36424
92221550
AJ
364252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36426
36427 * math/w_acos.c: Use non-signaling floating-point comparisons.
36428 * math/w_acosf.c: Likewise.
36429 * math/w_acosh.c: Likewise.
36430 * math/w_acoshf.c: Likewise.
36431 * math/w_acoshl.c: Likewise.
36432 * math/w_acosl.c: Likewise.
36433 * math/w_asin.c: Likewise.
36434 * math/w_asinf.c: Likewise.
36435 * math/w_asinl.c: Likewise.
36436 * math/w_atanh.c: Likewise.
36437 * math/w_atanhf.c: Likewise.
36438 * math/w_atanhl.c: Likewise.
36439 * math/w_exp2.c: Likewise.
36440 * math/w_exp2f.c: Likewise.
36441 * math/w_exp2l.c: Likewise.
36442 * math/w_j0.c: Likewise.
36443 * math/w_j0f.c: Likewise.
36444 * math/w_j0l.c: Likewise.
36445 * math/w_j1.c: Likewise.
36446 * math/w_j1f.c: Likewise.
36447 * math/w_j1l.c: Likewise.
36448 * math/w_jn.c: Likewise.
36449 * math/w_jnf.c: Likewise.
36450 * math/w_log.c: Likewise.
36451 * math/w_log10.c: Likewise.
36452 * math/w_log10f.c: Likewise.
36453 * math/w_log10l.c: Likewise.
36454 * math/w_log2.c: Likewise.
36455 * math/w_log2f.c: Likewise.
36456 * math/w_log2l.c: Likewise.
36457 * math/w_logf.c: Likewise.
36458 * math/w_logl.c: Likewise.
36459 * math/w_sqrt.c: Likewise.
36460 * math/w_sqrtf.c: Likewise.
36461 * math/w_sqrtl.c: Likewise.
36462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36463 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36464 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36465 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36466 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36467
ebaf36eb
JM
364682012-02-19 Joseph Myers <joseph@codesourcery.com>
36469
36470 [BZ #9739]
36471 * manual/string.texi (strnlen): Use correct parameter name in
36472 equivalent expression.
36473
71c254a6
JM
364742012-02-19 Joseph Myers <joseph@codesourcery.com>
36475
36476 [BZ #11174]
36477 * manual/users.texi (seteuid): Consistently use neweuid for
36478 argument name.
36479
16d2c631
JM
364802012-02-19 Joseph Myers <joseph@codesourcery.com>
36481
36482 [BZ #13704]
36483 * manual/nss.texi (Services in the NSS configuration): Correct
36484 list of services in example configuration file.
36485
cd837b09
NB
364862012-02-19 Nick Bowler <nbowler@draconx.ca>
36487
36488 [BZ #11322]
36489 * manual/arith.texi: Remove statements about negative zero
36490 behaving identically to zero.
36491
02c4bbad
JM
364922012-02-18 Joseph Myers <joseph@codesourcery.com>
36493
36494 [BZ #5993]
36495 * manual/install.texi: Do not document upgrading from libc5.
36496
366842e7
JM
364972012-02-18 Joseph Myers <joseph@codesourcery.com>
36498
36499 [BZ #4596]
36500 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36501
dd54084d
DM
365022012-02-18 David S. Miller <davem@davemloft.net>
36503
36504 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36505 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36506 %o7 across the call.
36507 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36508 instead.
36509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36510 SETUP_PIC_REG_LEAF.
36511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36512 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36513 * sysdeps/sparc/crtn.S: Likewise.
36514
2bcc53a3
UD
365152012-02-17 Ulrich Drepper <drepper@gmail.com>
36516
36517 * aout/Makefile: Remove.
36518
09c093b5
RK
365192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36520
36521 [BZ #13058]
36522 * manual/examples/argp-ex1.c (main): Format definition in GNU
36523 style.
36524 * manual/examples/argp-ex2.c (main): Likewise.
36525 * manual/examples/argp-ex3.c (main): Likewise.
36526 * manual/examples/argp-ex4.c (main): Likewise.
36527 * manual/examples/longopt.c (main): Use new-style prototype
36528 definition.
36529 * manual/examples/strncat.c (main): Specify return type and use
36530 (void) for arguments.
36531 * manual/examples/subopt.c (main): Use char **argv argument.
36532
2ee633a2
JM
365332012-02-17 Joseph Myers <joseph@codesourcery.com>
36534
36535 [BZ #5077]
36536 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36537 rounding modes.
36538
0520adde
FB
365392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36540
36541 [BZ #6907]
36542 * manual/string.texi (strchr): Change when strchrnul is
36543 recommended.
36544
3f4081cd
DGM
365452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36546
36547 [BZ #174]
36548 * manual/locale.texi (setlocale): Document LOCPATH.
36549
d1b10e78
JM
365502012-02-17 Joseph Myers <joseph@codesourcery.com>
36551
36552 [BZ #10210]
36553 * manual/process.texi (execle): Move @dots{} before last argument.
36554
79c6869c
PB
365552012-02-17 Paul Bolle <pebolle@tiscali.nl>
36556
36557 [BZ #12047]
36558 * manual/charset.texi (Generic Charset Conversion): Fix typo
36559 (LC_TYPE -> LC_CTYPE).
36560
cc6e48bc
NB
365612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36562
36563 [BZ #5805]
36564 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36565 (scalbnf): Likewise.
36566 (scalbnl): Likewise.
36567 (scalbln): Likewise.
36568 (scalblnf): Likewise.
36569 (scalblnl): Likewise.
36570 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36571 (vwarnx): Likewise.
36572 (verr): Likewise.
36573 (verrx): Likewise.
36574 * manual/filesys.texi (telldir): Use braces around return type.
36575 * manual/llio.texi (mmap): Add space after comma.
36576 (mmap64): Likewise.
36577 * manual/math.texi (jn): Use @var{} on parameter names.
36578 (jnf): Likewise.
36579 (jnl): Likewise.
36580 (yn): Likewise.
36581 (ynf): Likewise.
36582 (ynl): Likewise.
36583 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36584 line.
36585 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36586 "...".
36587 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36588 (sched_get_priority_max): Likewise.
36589 * manual/signal.texi (sigvec): Add space after comma.
36590 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36591 names.
36592 (if_indextoname): Likewise.
36593 (if_freenameindex): Likewise.
36594 (sendto): Use ',' instead of '.' in prototype.
36595 * manual/startup.texi (syscall): Use @dots{} instead of literal
36596 "...".
36597 * manual/stdio.texi (__fpending): Separate initial words of
36598 paragraph from @deftypefun line.
36599 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36600 "...".
36601 (vsyslog): Use @var{} on parameter names.
36602 * manual/terminal.texi (stty): Use @var{} on parameter names.
36603 * manual/users.texi (getutmp): Use @var{} on parameter names.
36604 (getutmpx): Likewise.
36605
5b23062f
JM
366062012-02-17 Joseph Myers <joseph@codesourcery.com>
36607
36608 [BZ #6884]
36609 * manual/stdio.texi (fopen): Fix typos in description of
36610 ",ccs=STRING".
36611
8dee4833
AJ
366122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36613
36614 [BZ #4026]
36615 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36616 get clock_id definition.
36617
9078ce93
TS
366182012-02-17 Thomas Schwinge <thomas@schwinge.name>
36619
36620 [BZ #4822]
36621 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36622 (madvise): Cast every argument to void on its own.
36623
3835c55f
JM
366242012-02-17 Joseph Myers <joseph@codesourcery.com>
36625
36626 [BZ #9902]
36627 * manual/startup.texi (Exit Status): Fix typo.
36628
35c47e37
JM
366292012-02-17 Joseph Myers <joseph@codesourcery.com>
36630
36631 [BZ #10140]
36632 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36633 * manual/examples/argp-ex2.c: Likewise.
36634 * manual/examples/argp-ex3.c: Likewise.
36635
e3b69ca7
RH
366362012-02-16 Richard Henderson <rth@redhat.com>
36637
36638 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36639 * sysdeps/s390/s390-32/initfini.c: Remove.
36640 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36641 * sysdeps/s390/s390-64/initfini.c: Remove.
36642
df83af67
KK
366432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36644
36645 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36646 compiler output for sysdeps/generic/initfini.c.
36647 * sysdeps/sh/elf/initfini.c: Remove file.
36648
f63f3380
DM
366492012-02-16 David S. Miller <davem@davemloft.net>
36650
fb59b3a4
DM
36651 [BZ #11494]
36652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36653
f63f3380
DM
36654 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36655 * sysdeps/sparc/crti.S: New file.
36656 * sysdeps/sparc/crtn.S: New file.
36657 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36658 * sysdeps/sparc/sparc64/Makefile: Likewise.
36659
df6a4a4a
MF
366602012-02-15 Mike Frysinger <vapier@gentoo.org>
36661
6dd8f3dc 36662 [BZ #3335]
df6a4a4a
MF
36663 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36664
1cac7236
RM
366652012-02-15 Roland McGrath <roland@hack.frob.com>
36666
d2c736f8
RM
36667 [BZ #4822]
36668 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36669
1cac7236
RM
36670 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36671 (write, read, close): Likewise.
36672 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36673
8e475601
JM
366742012-02-15 Joseph Myers <joseph@codesourcery.com>
36675
36676 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36677 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36678 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36679 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36680 <bits/signalfd.h>.
36681 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36683 bits/signalfd.h.
36684
ed656b40
MP
366852012-02-14 Marek Polacek <polacek@redhat.com>
36686
36687 * sysdeps/x86_64/crti.S: New file.
36688 * sysdeps/x86_64/crtn.S: New file.
36689 * sysdeps/x86_64/elf/initfini.c: Remove file.
36690
2a979d3a
JM
366912012-02-13 Joseph Myers <joseph@codesourcery.com>
36692
36693 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36694 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36695 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36696 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36697 <bits/inotify.h>.
36698 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36700 bits/inotify.h.
36701
2a418ac3
JM
367022012-02-13 Joseph Myers <joseph@codesourcery.com>
36703
36704 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36705 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36706 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36707 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36708 <bits/eventfd.h>.
36709 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36711 bits/eventfd.h.
36712
fb779be7
TS
367132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36714
e19e83c5
RM
36715 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36716 __feraiseexcept instead of feraiseexcept.
7c35ffed 36717
fb779be7
TS
36718 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36719 nanosleep invocations.
36720 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36721 strings, and add error checking for a nanosleep invocations.
36722
59ba27a6
PE
367232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36724
36725 Replace FSF snail mail address with URLs, as per GNU coding standards.
36726 Most of the snail mail addresses were wrong anyway, and omitting
36727 them makes the source code easier to maintain. Almost all of the
36728 changes are to license notices and to locale LC_IDENTIFICATION
36729 addresses, except for this one:
36730 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36731 not its snail mail address.
36732
57b957eb
RH
367332012-02-09 Richard Henderson <rth@twiddle.net>
36734
af850b1c
RH
36735 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36736 of kernel-features.h.
36737
57b957eb
RH
36738 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36739
6b73181a
MP
367402012-02-08 Marek Polacek <polacek@redhat.com>
36741
36742 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36743 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36744 * sysdeps/gnu/_G_config.h: Likewise.
36745 * sysdeps/generic/_G_config.h: Likewise.
36746
26ecc33a
AS
367472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36748
6c6dbc63
AS
36749 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36750 tests.
36751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36752
e216c012
AS
36753 * sysdeps/powerpc/powerpc32/crti.S: New file.
36754 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36755 * sysdeps/powerpc/powerpc64/crti.S: New file.
36756 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36757
26ecc33a
AS
36758 * Makeconfig (have-initfini): Don't set.
36759 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36760 * configure.in (nopic_initfini): Don't substitute.
36761 * config.h.in (HAVE_INITFINI): Don't #undef.
36762 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36763 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36764
3add8e13
JM
367652012-02-08 Joseph Myers <joseph@codesourcery.com>
36766
36767 Support crti.S and crtn.S provided directly by architectures.
36768 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36769 [crti.S in sysdirs] (omit-deps): Likewise.
36770 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36771 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36772 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36773 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36774 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36775 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36776 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36777 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36778 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36779 compiler output for sysdeps/generic/initfini.c.
36780 * sysdeps/i386/elf/Makefile: Remove file.
36781 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36782
a22f12b4
MP
367832012-02-07 Marek Polacek <polacek@redhat.com>
36784
36785 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36786 * sysdeps/gnu/_G_config.h: Likewise.
36787 * sysdeps/mach/hurd/_G_config.h: Likewise.
36788
148cf100
MP
367892012-02-07 Marek Polacek <polacek@redhat.com>
36790
36791 * math/Makefile (tests): Add tst-CMPLX2.
36792 * math/tst-CMPLX2.c: New file.
36793
cfdc0dd7
AS
367942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36795
84ba42c4
AS
36796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36797
cfdc0dd7
AS
36798 * math/libm-test.inc (jn_test): Add missing L suffix.
36799
622c86f4
MP
368002012-02-06 Marek Polacek <polacek@redhat.com>
36801
36802 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36803 * sysdeps/i386/fpu/e_powf.S: Likewise.
36804 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36805 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36806 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36807 * sysdeps/i386/fpu/e_pow.S: Likewise.
36808 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36809 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36810 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36811 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36812 * sysdeps/i386/fpu/e_log2.S: Likewise.
36813 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36814 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36815 * sysdeps/i386/fpu/e_powl.S: Likewise.
36816 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36817 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36818 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36819 * sysdeps/i386/fpu/e_logl.S: Likewise.
36820 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36821 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36822 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36823 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36826 * sysdeps/i386/fpu/e_log.S: Likewise.
36827 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36828 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36829 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36830 * sysdeps/i386/fpu/e_logf.S: Likewise.
36831 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36833 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36834 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36835 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36836 * sysdeps/i386/fpu/e_log10.S: Likewise.
36837 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36838 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36839 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36840 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36842 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36843 * sysdeps/i386/asm-syntax.h: Likewise.
36844 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36845 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36846 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36847 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36848 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36849 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36850 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36851 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36853 * sysdeps/powerpc/sysdep.h: Likewise.
36854 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36855 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36856
d4a54ac6
JM
368572012-02-06 Joseph Myers <joseph@codesourcery.com>
36858
36859 [BZ #411]
36860 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36861
314054ea
JM
368622012-02-06 Joseph Myers <joseph@codesourcery.com>
36863
36864 * sysdeps/i386/sysdep.h: Include <features.h>.
36865 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36866 version.
36867
d8e0ca50
JM
368682012-02-05 Joseph Myers <joseph@codesourcery.com>
36869
36870 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36871 Define.
36872 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36873 LOAD_PIC_REG_STR.
36874
b1da7dd9
JM
368752012-02-03 Joseph Myers <joseph@codesourcery.com>
36876
36877 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36878 (SETUP_PIC_REG): Use GET_PC_THUNK.
36879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36880 macro.
36881
9a1d9254
JM
368822012-02-03 Joseph Myers <joseph@codesourcery.com>
36883
36884 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36885 for non-PIC compilation.
36886 (SETUP_PIC_REG): Add .p2align directive.
36887 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36888 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36889 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36891 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36902 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36903 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36904 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36905 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36906 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36910 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36911 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36913 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36914 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36915 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36916 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36917 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36920 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36921 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36922 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36923 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36924 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36925 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36926 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36927 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36928
65dc3b75
JM
369292012-02-03 Joseph Myers <joseph@codesourcery.com>
36930
36931 * math/tst-CMPLX.c: Include <stdio.h>.
36932
d55bf177
JM
369332012-01-31 Joseph Myers <joseph@codesourcery.com>
36934
36935 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36936 float.
36937 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36938 * sysdeps/sparc/bits/mathdef.h: Likewise.
36939
69db4f8f
MP
369402012-01-31 Marek Polacek <polacek@redhat.com>
36941
36942 * libio/libio.h: Don't define _PARAMS.
36943 * locale/programs/config.h: Don't define PARAMS.
36944 * stdlib/strtol_l.c: Likewise.
36945 (__strtol_l): Remove PARAMS from the prototype.
36946
41b81892
UD
369472012-01-31 Ulrich Drepper <drepper@gmail.com>
36948
3b49edc0
UD
36949 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36950 names. Just use the correct names. Remove unnecessary wrapper
36951 functions.
36952 * malloc/arena.c: Likewise.
36953 * malloc/hooks.c: Likewise.
36954
41b81892
UD
36955 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36956 ARENA_TEST says not to. Simplify test for creation of a new arena.
36957 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36958
27a25b6e
UD
369592012-01-30 Ulrich Drepper <drepper@gmail.com>
36960
36961 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36962 into tail calls.
36963 (update_get_addr): New function.
36964 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36965 GET_ADDR_MODULE parameter.
36966
c8a89e7d
JM
369672012-01-30 Joseph Myers <joseph@codesourcery.com>
36968
36969 * crypt/cert.c: Remove __STDC__ conditionals.
36970 * crypt/crypt-entry.c: Likewise.
36971 * crypt/crypt_util.c: Likewise.
36972 * libio/filedoalloc.c: Likewise.
36973 * libio/fileops.c: Likewise.
36974 * libio/genops.c: Likewise.
36975 * libio/iofclose.c: Likewise.
36976 * libio/iofdopen.c: Likewise.
36977 * libio/iofopen.c: Likewise.
36978 * libio/iofopen64.c: Likewise.
36979 * libio/iogetdelim.c: Likewise.
36980 * libio/iopopen.c: Likewise.
36981 * libio/obprintf.c: Likewise.
36982 * libio/oldfileops.c: Likewise.
36983 * libio/oldiofclose.c: Likewise.
36984 * libio/oldiofdopen.c: Likewise.
36985 * libio/oldiofopen.c: Likewise.
36986 * libio/oldiopopen.c: Likewise.
36987 * libio/wfiledoalloc.c: Likewise.
36988 * libio/wgenops.c: Likewise.
36989 * locale/programs/xmalloc.c: Likewise.
36990 * misc/syslog.c: Likewise.
36991 * stdio-common/xbug.c: Likewise.
36992 * string/memchr.c: Likewise.
36993 * string/memcmp.c: Likewise.
36994 * string/memrchr.c: Likewise.
36995 * string/rawmemchr.c: Likewise.
36996 * sysdeps/posix/getcwd.c: Likewise.
36997 * time/strftime_l.c: Likewise.
36998
3b100462
JM
369992012-01-30 Joseph Myers <joseph@codesourcery.com>
37000
37001 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37002 * config.make.in (config-cflags-sse2avx): Define.
37003 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37004 Fix typo.
37005
607998af
CM
370062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37007
37008 * scripts/config.guess: Update from upstream config git repository.
37009 * scripts/config.sub: Likewise.
37010
3601428f
CM
370112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37012
3ac8b282
CM
37013 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37014 (EM_NUM): Update.
37015 (R_TILEPRO_*, R_TILEGX_*): New macros.
37016
e034841e
CM
37017 * scripts/firstversions.awk: Fix bug in version range handling.
37018
540d7568
CM
37019 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37020
3601428f
CM
37021 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37022
463de862
CM
37023 * include/sys/epoll.h: New file.
37024 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37025 libc_hidden_def.
37026
73139a76
UD
370272012-01-28 Ulrich Drepper <drepper@gmail.com>
37028
96bc5b45
UD
37029 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37030 Avoid unnecessary __WORDSIZE == 64 test.
37031 (fmaxf): Use VEX format if possible.
37032 (fmax): Likewise.
37033 (fminf): Likewise.
37034 (fmin): Likewise.
37035
56f6f6a2
UD
37036 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37037 * math/math_private.h: Remove libc_fegetround* and
37038 libc_fesetround*.
37039 * sysdeps/i386/configure.in: Check for -msse2avx.
37040 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37041 also if SSE2AVX is defined.
37042 Remove libc_fegetround* and libc_fesetround*.
37043 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37044 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37045 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37046 of HAS_YMM_USABLE.
37047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37048 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37052
73139a76
UD
37053 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37054
d73f93a4
AZ
370552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37056
37057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37058 size is not set.
37059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37060
6ee65ed6
UD
370612012-01-27 Ulrich Drepper <drepper@gmail.com>
37062
37063 [BZ #13618]
37064 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37065 relocation.
37066 * Makeconfig (libm): Define.
37067 * elf/Makefile: Add rules to build and run tst-relsort1.
37068 * elf/tst-relsort1.c: New file.
37069 * elf/tst-relsort1mod1.c: New file.
37070 * elf/tst-relsort1mod2.c: New file.
37071
8db21882
JM
370722012-01-27 Joseph Myers <joseph@codesourcery.com>
37073
37074 * math/s_ldexp.c: Remove __STDC__ conditionals.
37075 * math/s_ldexpf.c: Likewise.
37076 * math/s_ldexpl.c: Likewise.
37077 * math/s_nextafter.c: Likewise.
37078 * math/s_nexttowardf.c: Likewise.
37079 * math/s_significand.c: Likewise.
37080 * math/s_significandf.c: Likewise.
37081 * math/s_significandl.c: Likewise.
37082 * math/w_jnl.c: Likewise.
37083 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37084 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37085 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37086 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37087 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37105 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37107 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37108 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37109 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37110 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37111 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37112 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37113 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37114 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37115 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37117 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37119 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37123 * sysdeps/ieee754/k_standard.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37183 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37185 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37189 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37190 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37199 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37203 * sysdeps/ieee754/s_matherr.c: Likewise.
37204 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37205 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37208
965a54a4
JM
372092012-01-26 Joseph Myers <joseph@codesourcery.com>
37210
37211 * crypt/md5.h: Remove __STDC__ conditionals.
37212 * libio/libioP.h: Likewise.
37213 * locale/programs/config.h: Likewise.
37214 * sysdeps/generic/sysdep.h: Likewise.
37215 * sysdeps/i386/asm-syntax.h: Likewise.
37216 * sysdeps/s390/asm-syntax.h: Likewise.
37217 * sysdeps/unix/sysdep.h: Likewise.
37218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37220
7071ad79
JM
372212012-01-26 Joseph Myers <joseph@codesourcery.com>
37222
37223 * libio/libio.h: Remove __STDC__ conditionals.
37224 * malloc/obstack.h: Likewise.
37225 * math/complex.h: Likewise.
37226 * math/math.h: Likewise.
37227 * sysdeps/generic/_G_config.h: Likewise.
37228 * sysdeps/gnu/_G_config.h: Likewise.
37229 * sysdeps/mach/hurd/_G_config.h: Likewise.
37230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37231 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37232 * sysdeps/sparc/bits/mathdef.h: Likewise.
37233
afc5ed09
UD
372342012-01-26 Ulrich Drepper <drepper@gmail.com>
37235
37236 [BZ #13583]
37237 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37238 Clean up HAS_* macros.
afc5ed09 37239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37240 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37241 possible.
37242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37243 HAS_AVX.
37244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37249
bdb6de1d
JM
372502012-01-25 Joseph Myers <joseph@codesourcery.com>
37251
37252 * elf/tst-unique3.cc (gets): Remove declaration.
37253 * elf/tst-unique3lib.cc (gets): Likewise.
37254 * elf/tst-unique3lib2.cc (gets): Likewise.
37255 * elf/tst-unique4.cc (gets): Likewise.
37256
b15549e6
UD
372572012-01-24 Ulrich Drepper <drepper@gmail.com>
37258
37259 * include/stdio.h: Add C++ protection. Add gets declarations and
37260 definitions.
37261 * debug/tst-chk1.c: Don't declare gets here.
37262 * stdio-common/tst-gets.c: Likewise.
37263
a037381f
JM
372642012-01-24 Joseph Myers <joseph@codesourcery.com>
37265
37266 * posix/glob: Remove directory.
37267
f1d4aa75
JM
372682012-01-24 Joseph Myers <joseph@codesourcery.com>
37269
37270 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37271
81c0c964
PT
372722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37273
37274 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37275 of the non-standard EPFNOSUPPORT.
37276
0ea698ae
ST
372772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37278
37279 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37280 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37281 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37282
d220b117
UD
372832012-01-21 Ulrich Drepper <drepper@gmail.com>
37284
37285 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37286
3e1aa84e
UD
372872012-01-20 Ulrich Drepper <drepper@gmail.com>
37288
37289 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37290 transient errors.
37291 * nscd/grpcache.c (cache_addgr): Likewise.
37292 * nscd/hstcache.c (cache_addhst): Likewise.
37293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37294 * nscd/pwdcache.c (cache_addpw): Likewise.
37295 * nscd/servicescache.c (cache_addserv): Likewise.
37296
400aa020
UD
372972012-01-16 Ulrich Drepper <drepper@gmail.com>
37298
d77e7869
UD
37299 * malloc/malloc.c: Various cleanups.
37300 * malloc/hooks.c: Likewise.
37301
400aa020
UD
37302 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37303 * stdlib/bug-fmtmsg1.c: New file.
37304
37305 * stdlib/fmtmsg.c (init): Add missing unlock.
37306 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37307
e0a309cf
MP
373082012-01-12 Marek Polacek <polacek@redhat.com>
37309
37310 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37311 and _GNU_SOURCE.
37312
929d11c7
WS
373132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37314
37315 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37316 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37317 macro to ensure uniqueness of label name.
37318 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37319 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37320
41d0e869
UD
373212012-01-11 Ulrich Drepper <drepper@gmail.com>
37322
0cc5ed3b
UD
37323 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37324
41d0e869
UD
37325 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37326 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37329
a47a831a
UD
373302012-01-10 Ulrich Drepper <drepper@gmail.com>
37331
daa891c0
UD
37332 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37333
37334 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37335 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37336 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37337
e58ef0f2
UD
37338 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37339
a47a831a 37340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37341 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37344
37345 * math/bits/math-finite.h: Add ldexp support.
37346
a0bfc9c7
MP
373472012-01-10 Marek Polacek <polacek@redhat.com>
37348
37349 * locale/programs/localedef.h (show_archive_content): Add noreturn
37350 attribute.
37351
d6e97a1d
UD
373522012-01-09 Ulrich Drepper <drepper@gmail.com>
37353
37354 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37355
d5835c26
UD
373562012-01-08 Ulrich Drepper <drepper@gmail.com>
37357
e5f484c6
UD
37358 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37359
d5835c26
UD
37360 * io/Makefile (headers): Add bits/poll2.h.
37361
d1f741e9
WS
373622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37363
37364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37365 typo #include statement.
37366
ec09c1c4
UD
373672012-01-08 Ulrich Drepper <drepper@gmail.com>
37368
37369 * include/sys/cdefs.h: Define __attribute_alloc_size.
37370 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37371 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37372 * elf/pldd.c: Likewise.
37373 * iconv/iconv_charmap.c: Likewise.
37374 * iconv/iconvconfig.c: Likewise.
37375 * iconv/strtab.c: Likewise.
37376 * locale/programs/locale.c: Likewise.
37377 * locale/programs/localedef.h: Likewise.
37378 * locale/programs/simple-hash.c: Likewise.
37379 * nscd/nscd.h: Likewise.
37380 * nss/makedb.c: Likewise.
37381 * sysdeps/generic/ldconfig.h: Likewise.
37382 * locale/programs/localedef.c: Remove xmalloc prototype.
37383 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37384
20b38e03
PP
373852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37386
37387 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37388 appropriate.
37389
a0da5fe1
UD
373902012-01-08 Ulrich Drepper <drepper@gmail.com>
37391
1d5a644a 37392 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37393 * math/tst-CMPLX.c: New file.
1d5a644a 37394
8784a6db
UD
37395 * math/complex.h (CMPLXL): Fix typo.
37396
d9a216c0
UD
37397 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37398 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37399 GLIBC_2.16.
37400 * debug/tst-chk1.c: Add poll and ppoll tests.
37401 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37402 * include/sys/poll.h: Add hidden proto for ppoll.
37403 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37404 * sysdeps/mach/hurd/ppoll.c: Likewise.
37405 * io/ppoll.c: Likewise.
37406 * debug/poll_chk.c: New file.
37407 * debug/ppoll_chk.c: New file.
37408 * include/bits/poll2.h: New file.
37409 * io/bits/poll2.h: New file.
37410
ac097f5c
UD
37411 [BZ #1350]
37412 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37413
2119dcfa
UD
37414 * configure.in: static is always set to yes. Remove.
37415 * config.make.in: Don't set build-static.
37416 * Makeconfig: Remove use of build-static.
37417 * dlfcn/Makefile: Likewise.
37418 * elf/Makefile: Likewise.
37419 * math/Makefile: Likewise.
37420 * misc/Makefile: Likewise.
37421 * nptl/Makefile: Likewise.
37422 * sysdeps/mach/hurd/Makefile: Likewise.
37423
121766a9
UD
37424 * configure.in: PWD_P is not used anymore.
37425 * config.make.in: Remove PWD_P entry.
37426
51a1d39c 37427 * configure.in: Remove last remnants of RANLIB.
8720d066 37428 No need to check for signed size_t anymore.
215f4bdc
UD
37429 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37430 and IA-64.
3857022a 37431 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37432 * aclocal.m4: Likewise.
37433
d3ed7225
UD
37434 * wcsmbs/mbrtoc16.c: Implement using towc function.
37435 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37436 * wcsmbs/wcsmbsload.c: Likewise.
37437 * iconv/gconv_simple.c: Likewise.
37438 * iconv/gconv_int.h: Likewise.
37439 * iconv/gconv_builtin.h: Likewise.
37440 * iconv/iconv_prog.c: Remove CHAR16 handling.
37441
37442 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37443
37444 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37445
a0da5fe1
UD
37446 * configure.in: Remove --with-elf and --enable-bounded options.
37447 Dont set base_machine for ia64. More non-ELF conditions removed.
37448 Remove testing and setting of leading underscore information.
37449 * config.make.in (build-bounded): Set to no.
37450 * config.h.in: Remove NO_UNDERSCORES entry.
37451 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37452 them.
37453 * csu/start.c: Remove !NO_UNDERSCORE code.
37454 * locale/localeinfo.h: Likewise.
37455 * sysdeps/generic/machine-gmon.h: Likewise.
37456 * sysdeps/generic/sysdep.h: Likewise.
37457 * sysdeps/i386/sysdep.h: Likewise.
37458 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37459 * sysdeps/mach/sysdep.h: Likewise.
37460 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37462 * sysdeps/sh/sysdep.h: Likewise.
37463 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37464 * sysdeps/unix/i386/sysdep.S: Likewise.
37465 * sysdeps/unix/sparc/start.c: Likewise.
37466 * sysdeps/unix/sparc/sysdep.S: Likewise.
37467 * sysdeps/unix/sparc/sysdep.h: Likewise.
37468 * sysdeps/unix/start.c: Likewise.
37469 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37470 * sysdeps/x86_64/sysdep.h: Likewise.
37471
df78418a
UD
374722012-01-07 Ulrich Drepper <drepper@gmail.com>
37473
a784e502
UD
37474 [BZ #13553]
37475 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37476 for non-gcc.
37477 * argp/argp-fmtstream.h: Use const instead __const.
37478 * argp/argp.h: Likewise.
37479 * assert/assert.h: Likewise.
37480 * bits/fenv.h: Likewise.
37481 * bits/sched.h: Likewise.
37482 * bits/sigset.h: Likewise.
37483 * bits/sigthread.h: Likewise.
37484 * catgets/nl_types.h: Likewise.
37485 * conform/data/pthread.h-data: Likewise.
37486 * crypt/crypt-private.h: Likewise.
37487 * crypt/crypt.h: Likewise.
37488 * crypt/crypt_util.c: Likewise.
37489 * ctype/ctype.h: Likewise.
37490 * debug/execinfo.h: Likewise.
37491 * debug/mbsnrtowcs_chk.c: Likewise.
37492 * debug/mbsrtowcs_chk.c: Likewise.
37493 * debug/wcsnrtombs_chk.c: Likewise.
37494 * debug/wcsrtombs_chk.c: Likewise.
37495 * debug/wcstombs_chk.c: Likewise.
37496 * dirent/dirent.h: Likewise.
37497 * dlfcn/dlfcn.h: Likewise.
37498 * elf/neededtest4.c: Likewise.
37499 * grp/grp.h: Likewise.
37500 * gshadow/gshadow.h: Likewise.
37501 * iconv/gconv.h: Likewise.
37502 * iconv/gconv_int.h: Likewise.
37503 * iconv/gconv_simple.c: Likewise.
37504 * iconv/iconv.h: Likewise.
37505 * iconv/loop.c: Likewise.
37506 * iconv/skeleton.c: Likewise.
37507 * include/aio.h: Likewise.
37508 * include/aliases.h: Likewise.
37509 * include/argz.h: Likewise.
37510 * include/arpa/inet.h: Likewise.
37511 * include/assert.h: Likewise.
37512 * include/dirent.h: Likewise.
37513 * include/dlfcn.h: Likewise.
37514 * include/execinfo.h: Likewise.
37515 * include/fcntl.h: Likewise.
37516 * include/fenv.h: Likewise.
37517 * include/glob.h: Likewise.
37518 * include/grp.h: Likewise.
37519 * include/libintl.h: Likewise.
37520 * include/mntent.h: Likewise.
37521 * include/netdb.h: Likewise.
37522 * include/pwd.h: Likewise.
37523 * include/rpc/netdb.h: Likewise.
37524 * include/sched.h: Likewise.
37525 * include/search.h: Likewise.
37526 * include/shadow.h: Likewise.
37527 * include/signal.h: Likewise.
37528 * include/stdio.h: Likewise.
37529 * include/stdlib.h: Likewise.
37530 * include/string.h: Likewise.
37531 * include/sys/socket.h: Likewise.
37532 * include/sys/stat.h: Likewise.
37533 * include/sys/statfs.h: Likewise.
37534 * include/sys/statvfs.h: Likewise.
37535 * include/sys/syslog.h: Likewise.
37536 * include/sys/time.h: Likewise.
37537 * include/sys/uio.h: Likewise.
37538 * include/time.h: Likewise.
37539 * include/unistd.h: Likewise.
37540 * include/utmp.h: Likewise.
37541 * include/wchar.h: Likewise.
37542 * include/wctype.h: Likewise.
37543 * inet/aliases.h: Likewise.
37544 * inet/arpa/inet.h: Likewise.
37545 * inet/netinet/ether.h: Likewise.
37546 * inet/netinet/in.h: Likewise.
37547 * intl/libintl.h: Likewise.
37548 * io/bits/fcntl2.h: Likewise.
37549 * io/fcntl.h: Likewise.
37550 * io/ftw.h: Likewise.
37551 * io/sys/poll.h: Likewise.
37552 * io/sys/stat.h: Likewise.
37553 * io/sys/statfs.h: Likewise.
37554 * io/sys/statvfs.h: Likewise.
37555 * io/utime.h: Likewise.
37556 * libio/bits/stdio.h: Likewise.
37557 * libio/bits/stdio2.h: Likewise.
37558 * libio/libio.h: Likewise.
37559 * libio/libioP.h: Likewise.
37560 * libio/stdio.h: Likewise.
37561 * locale/lc-ctype.c: Likewise.
37562 * locale/locale.h: Likewise.
37563 * login/utmp.h: Likewise.
37564 * malloc/arena.c: Likewise.
37565 * malloc/malloc.c: Likewise.
37566 * malloc/malloc.h: Likewise.
37567 * malloc/mcheck.c: Likewise.
37568 * malloc/mtrace.c: Likewise.
37569 * math/bits/mathcalls.h: Likewise.
37570 * math/fenv.h: Likewise.
37571 * math/math_private.h: Likewise.
37572 * misc/bits/error.h: Likewise.
37573 * misc/bits/syslog.h: Likewise.
37574 * misc/err.h: Likewise.
37575 * misc/error.h: Likewise.
37576 * misc/fstab.h: Likewise.
37577 * misc/mntent.h: Likewise.
37578 * misc/regexp.h: Likewise.
37579 * misc/search.h: Likewise.
37580 * misc/sgtty.h: Likewise.
37581 * misc/sys/mman.h: Likewise.
37582 * misc/sys/syslog.h: Likewise.
37583 * misc/sys/uio.h: Likewise.
37584 * misc/sys/xattr.h: Likewise.
37585 * misc/ttyent.h: Likewise.
37586 * nis/rpcsvc/ypclnt.h: Likewise.
37587 * nss/nss.h: Likewise.
37588 * posix/bits/unistd.h: Likewise.
37589 * posix/fnmatch.h: Likewise.
37590 * posix/glob.h: Likewise.
37591 * posix/sched.h: Likewise.
37592 * posix/spawn.h: Likewise.
37593 * posix/sys/wait.h: Likewise.
37594 * posix/unistd.h: Likewise.
37595 * posix/wordexp.h: Likewise.
37596 * pwd/pwd.h: Likewise.
37597 * resolv/netdb.h: Likewise.
37598 * resource/sys/resource.h: Likewise.
37599 * rt/aio.h: Likewise.
37600 * rt/bits/mqueue2.h: Likewise.
37601 * rt/mqueue.h: Likewise.
37602 * shadow/shadow.h: Likewise.
37603 * signal/signal.h: Likewise.
37604 * socket/send.c: Likewise.
37605 * socket/sendto.c: Likewise.
37606 * socket/sys/socket.h: Likewise.
37607 * stdio-common/printf.h: Likewise.
37608 * stdlib/bits/stdlib.h: Likewise.
37609 * stdlib/fmtmsg.h: Likewise.
37610 * stdlib/monetary.h: Likewise.
37611 * stdlib/stdlib.h: Likewise.
37612 * stdlib/ucontext.h: Likewise.
37613 * streams/stropts.h: Likewise.
37614 * string/argz.h: Likewise.
37615 * string/bits/string2.h: Likewise.
37616 * string/string.h: Likewise.
37617 * string/strings.h: Likewise.
37618 * sunrpc/rpc/auth.h: Likewise.
37619 * sunrpc/rpc/auth_des.h: Likewise.
37620 * sunrpc/rpc/clnt.h: Likewise.
37621 * sunrpc/rpc/netdb.h: Likewise.
37622 * sunrpc/rpc/pmap_clnt.h: Likewise.
37623 * sunrpc/rpc/xdr.h: Likewise.
37624 * sysdeps/generic/inttypes.h: Likewise.
37625 * sysdeps/generic/net/if.h: Likewise.
37626 * sysdeps/generic/sys/swap.h: Likewise.
37627 * sysdeps/gnu/net/if.h: Likewise.
37628 * sysdeps/gnu/utmpx.h: Likewise.
37629 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37630 * sysdeps/i386/i486/bits/string.h: Likewise.
37631 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37632 * sysdeps/s390/bits/string.h: Likewise.
37633 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37634 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37635 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37636 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37637 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37638 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37639 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37640 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37641 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37642 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37643 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37644 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37645 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37646 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37647 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37648 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37649 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37651 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37654 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37655 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37656 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37657 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37658 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37659 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37661 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37663 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37664 * sysvipc/sys/ipc.h: Likewise.
37665 * sysvipc/sys/msg.h: Likewise.
37666 * sysvipc/sys/sem.h: Likewise.
37667 * sysvipc/sys/shm.h: Likewise.
37668 * termios/termios.h: Likewise.
37669 * time/sys/time.h: Likewise.
37670 * time/time.h: Likewise.
37671 * wcsmbs/bits/wchar2.h: Likewise.
37672 * wcsmbs/uchar.h: Likewise.
37673 * wcsmbs/wchar.h: Likewise.
37674 * wctype/wctype.h: Likewise.
37675
0269750c
UD
37676 [BZ #13551]
37677 * Makeconfig: Remove all but ELF support including AIX support.
37678 * Makerules: Likewise.
37679 * config.h.in: Likewise.
37680 * config.make.in: Likewise.
37681 * configure: Likewise.
37682 * configure.in: Likewise.
37683 * csu/Makefile: Likewise.
37684 * csu/version.c: Likewise.
37685 * debug/Makefile: Likewise.
37686 * dlfcn/Makefile: Likewise.
37687 * elf/Makefile: Likewise.
37688 * extra-lib.mk: Likewise.
37689 * iconv/Makefile: Likewise.
37690 * include/libc-symbols.h: Likewise.
37691 * include/shlib-compat.h: Likewise.
37692 * resolv/Makefile: Likewise.
37693 * resolv/res_libc.c: Likewise.
37694 * rt/Makefile: Likewise.
37695 * sysdeps/i386/asm-syntax.h: Likewise.
37696 * sysdeps/i386/sysdep.h: Likewise.
37697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37698 * sysdeps/mach/sysdep.h: Likewise.
37699 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37700 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37701 * sysdeps/s390/asm-syntax.h: Likewise.
37702 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37704 * sysdeps/sh/sysdep.h: Likewise.
37705 * sysdeps/unix/sparc/sysdep.h: Likewise.
37706 * sysdeps/wordsize-32/divdi3.c: Likewise.
37707 * sysdeps/x86_64/sysdep.h: Likewise.
37708
00bbd29b
UD
37709 * argp/Versions: Remove _argp_unlock_xxx.
37710
37711 [BZ #13559]
37712 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37713 * abilist/libBrokenLocale.abilist: Likewise.
37714 * abilist/libanl.abilist: Likewise.
37715 * abilist/libc.abilist: Likewise.
37716 * abilist/libcrypt.abilist: Likewise.
37717 * abilist/libdl.abilist: Likewise.
37718 * abilist/libm.abilist: Likewise.
37719 * abilist/libnsl.abilist: Likewise.
37720 * abilist/libpthread.abilist: Likewise.
37721 * abilist/libresolv.abilist: Likewise.
37722 * abilist/librt.abilist: Likewise.
37723 * abilist/libthread_db.abilist: Likewise.
37724 * abilist/libutil.abilist: Likewise.
37725 * abilist/libnss_db.abilist: New file.
37726
37727 * scripts/abilist.awk: Add support for indirect functions.
37728
a2693a0e
UD
37729 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37730
3f05895f
UD
37731 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37732
ecb6fb48
UD
37733 * shlib-versions: Remove entries for ports architectures.
37734
664f8cb9
UD
37735 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37736 files in ports.
37737 * elf/stackguard-macros.h: Remove support for IA-64.
37738 * elf/tst-auditmod1.c: Likewise.
37739 * sysdeps/generic/ldsodefs.h: Likewise.
37740
7ae81d88
UD
37741 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37742 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37743 configure files.
37744
bdeba135
UD
37745 [BZ #13552]
37746 * configure.in: Remove --enable-omitfp support.
37747 * FAQ.in: Adjust.
37748 * config.make.in: Likewise.
37749 * Makeconfig: Likewise.
37750 * manual/install.texi: Likewise.
37751
d75a0a62
UD
37752 In case anyone cares, the IA-64 architecture could move to ports.
37753 * sysdeps/ia64/*: Removed.
37754 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37755 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37756
dcc9756b
UD
37757 [BZ #13555]
37758 * configure.in: Remove entries for unsupported architectures.
37759
d3761ebc 37760 [BZ #13533]
9954432e
UD
37761 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37762 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37763 routines.
37764 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37765 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37766 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37767 fall back to using wcrtomb.
37768 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37769 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37770 renaming.
37771 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37772 * wcsmbs/tst-c16c32-1.c: New file.
37773
37774 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37775 local variable.
37776
c3a87236
UD
37777 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37778
28926a1b
UD
37779 * elf/tst-unique3.cc: Add explicit declaration of gets.
37780 * elf/tst-unique3lib.cc: Likewise.
37781 * elf/tst-unique3lib2.cc: Likewise.
37782 * elf/tst-unique4.cc: Likewise.
37783
df78418a
UD
37784 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37785
8ecd6b2a
JM
377862012-01-06 Joseph Myers <joseph@codesourcery.com>
37787
37788 [BZ #13566]
37789 * assert/assert.h (static_assert): Don't define for C++.
37790 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37791 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37792
9f115170
UD
377932012-01-03 Ulrich Drepper <drepper@gmail.com>
37794
5e0d0300
UD
37795 * iconv/loop.c (single loop): Fix assertion in storing of
37796 remaining bytes.
37797
9f115170
UD
37798 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37799
81fb02b0
UD
378002012-01-01 Ulrich Drepper <drepper@gmail.com>
37801
37802 * posix/getconf.c: Update copyright year.
37803 * nss/getent.c: Likewise.
a316c1f6 37804 * nss/makedb.c: Likewise.
81fb02b0
UD
37805 * iconv/iconvconfig.c: Likewise.
37806 * iconv/iconv_prog.c: Likewise.
37807 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37808 * elf/pldd.c: Likewise.
37809 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37810 * catgets/gencat.c: Likewise.
37811 * csu/version.c: Likewise.
37812 * elf/ldd.bash.in: Likewise.
37813 * elf/sprof.c (print_version): Likewise.
37814 * locale/programs/locale.c: Likewise.
37815 * locale/programs/localedef.c: Likewise.
a316c1f6 37816 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37817 * nscd/nscd.c (print_version): Likewise.
37818 * debug/xtrace.sh: Likewise.
37819 * malloc/memusage.sh: Likewise.
37820 * malloc/mtrace.pl: Likewise.
37821 * debug/catchsegv.sh: Likewise.
37822
2ba92745
JJ
378232011-12-30 Jakub Jelinek <jakub@redhat.com>
37824
37825 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37826 pure attribute.
37827
dadebdae
UD
378282011-12-24 Ulrich Drepper <drepper@gmail.com>
37829
d3761ebc 37830 [BZ #13533]
db6af3eb
UD
37831 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37832 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37833 transformations.
37834 * iconv/gconv_int.h: Likewise.
37835 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37836 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37837 from libc for GLIBC_2.16.
37838 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37839 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37840 * wcsmbs/uchar.h: Really define mbstate_t.
37841 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37842 * wcsmbs/c16rtomb.c: New file.
37843 * wcsmbs/mbrtoc16.c: New file.
37844 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37845 for C/POSIX locale.
37846 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37847 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37848
dadebdae
UD
37849 * wcsmbs/wchar.h: Add missing __restrict.
37850
67371b56
UD
378512011-12-23 Ulrich Drepper <drepper@gmail.com>
37852
74033a25
UD
37853 [BZ #13532]
37854 * time/Makefile (routines): Add timespec_get.
37855 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37856 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37857 timespec for ISO C11.
37858 * time/timespec_get.c: New file.
37859 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37860 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37861
380d7e87
UD
37862 [BZ #13531]
37863 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37864 * stdlib/stdlib.h: Declare aligned_alloc.
37865 * Versions.def: Add GLIBC_2.16 for libc.
37866 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37867
4e9e7a35
UD
37868 [BZ 13527]
37869 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37870 ISO C11.
37871
380d7e87 37872 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37873 code.
37874
03a71829
UD
37875 [BZ #13528]
37876 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37877
839e283e
UD
37878 [BZ #13529]
37879 * assert/assert.h (static_assert): Define.
37880
ce5294e2 37881 * version.h: Update for 2.16 development version.
90fa7312 37882
8d44e150 37883 [BZ #13526]
d7809905
UD
37884 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37885 _ISOC11_SOURCE.
37886
c0da14cd
UD
37887 * version.h (RELEASE): Bump for 2.15 release.
37888 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37889
530a3249
MP
37890 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37891 Patch by Marek Polacek <mpolacek@redhat.com>.
37892
67371b56
UD
37893 * bits/byteswap.h: Protect long long constants with __extension__.
37894 * sysdeps/i386/bits/byteswap.h: Likewise.
37895 * sysdeps/ia64/bits/byteswap.h: Likewise.
37896 * sysdeps/s390/bits/byteswap.h: Likewise.
37897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37898
15db4de1
LD
378992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37900
37901 [BZ #13540]
bbe315ea
LD
37902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37903 destination buffer.
15db4de1
LD
37904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37905
2b2596b1
MP
379062011-12-23 Marek Polacek <polacek@redhat.com>
37907
37908 * elf/dl-addr.c (determine_info): Add inline keyword.
37909 * elf/tst-auditmod4b.c (check_avx): Likewise.
37910 * elf/tst-auditmod6b.c (check_avx): Likewise.
37911 * elf/tst-auditmod6c.c (check_avx): Likewise.
37912 * elf/tst-auditmod7b.c (check_avx): Likewise.
37913
70c6c246
UD
379142011-12-23 Ulrich Drepper <drepper@gmail.com>
37915
37916 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37917 !__SSE_MATH__.
37918
c044cf14
LD
379192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37920
15db4de1 37921 [BZ #13540]
c044cf14
LD
37922 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37923 processing for last bytes.
37924
6b13d9d9
BH
379252011-08-06 Bruno Haible <bruno@clisp.org>
37926
d455f537
BH
37927 [BZ #13061]
37928 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37929 U+0385, not to U+1FEE.
37930
6b13d9d9
BH
37931 [BZ #13062]
37932 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37933 entry for U+00A5 U+0301.
37934
db910efd
UD
379352011-12-22 Ulrich Drepper <drepper@gmail.com>
37936
27deeafc
UD
37937 [BZ #13166]
37938 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37939 buffer for the output is too small.
37940
aed9d171
UD
37941 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37942 optimization.
37943
db910efd
UD
37944 [BZ #13185]
37945 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37946 SSE flags if possible.
37947
2bd779ae
LD
379482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37949
e7f9dac3 37950 [BZ #13540]
2bd779ae
LD
37951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37952 processing for last bytes.
37953
154bfc16
JM
379542011-12-22 Joseph Myers <joseph@codesourcery.com>
37955
37956 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37957 (syscall-list-default-options, syscall-list-default-condition)
37958 (syscall-list-includes): Define.
37959 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37960 list of ABIs and options and #if conditions for each ABI. Do not
37961 handle common syscalls between ABIs specially.
37962 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37963 Remove.
37964 (syscall-list-variants, syscall-list-32bit-options)
37965 (syscall-list-32bit-condition, syscall-list-64bit-options)
37966 (syscall-list-64bit-condition): Define.
37967 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37968 (syscall-list-variants, syscall-list-32bit-options)
37969 (syscall-list-32bit-condition, syscall-list-64bit-options)
37970 (syscall-list-64bit-condition): Define.
37971 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37972 Remove.
37973 (syscall-list-variants, syscall-list-32bit-options)
37974 (syscall-list-32bit-condition, syscall-list-64bit-options)
37975 (syscall-list-64bit-condition): Define.
37976 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37977 Remove.
37978 (syscall-list-variants, syscall-list-32bit-options)
37979 (syscall-list-32bit-condition, syscall-list-64bit-options)
37980 (syscall-list-64bit-condition): Define.
37981
21eaf3a5
UD
379822011-12-22 Ulrich Drepper <drepper@gmail.com>
37983
16c6f992
UD
37984 * locale/iso-639.def: Add brx entry.
37985
41043168
UD
37986 [BZ #13328]
37987 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37988 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37989
21eaf3a5
UD
37990 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37991 __feraiseexcept_renamed.
37992
e3a851a2
UD
379932011-12-21 Ulrich Drepper <drepper@gmail.com>
37994
4920765e
UD
37995 [BZ #13538]
37996 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37997 EPOLLET with unsigned values.
37998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38000
e3a851a2
UD
38001 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38002 to large cancellation.
38003 * math/s_cacoshf.c: Likewise.
38004 * math/s_cacoshl.c: Likewise.
38005
b27e24b8
RK
380062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38007
38008 [BZ #13305]
aebefeee 38009 [BZ #12786]
b27e24b8
RK
38010 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38011 * math/s_cacoshf.c: Likewise.
38012 * math/s_cacoshl.c: Likewise.
38013
ee190f67
UD
380142011-12-21 Ulrich Drepper <drepper@gmail.com>
38015
38016 [BZ #13439]
38017 * iconv/gconv.h: Define __GCONV_SWAP.
38018 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38019 * iconvdata/utf-16.c: Likewise.
38020 * iconvdata/utf-32.c: Likewise.
38021
707f25df
AS
380222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38023
38024 [BZ #13524]
38025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38026 numerator after shifting it by one limb.
38027
d2daaa1e
RÁE
380282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38029
38030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38031 under [__USE_EXTERN_INLINES].
38032
a4647e72
UD
380332011-12-17 Ulrich Drepper <drepper@gmail.com>
38034
38035 [BZ #13446]
38036 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38037
f0b264f1
AZ
380382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38039
38040 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38041 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38042 optimized code.
38043 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38045 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38046 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38047 for strncasecmp/strncasecmp_l compilation.
38048 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38049 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38050
8ef4f244
MP
380512011-12-08 Marek Polacek <mpolacek@redhat.com>
38052
38053 [BZ #13484]
38054 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38055 of __asm__.
38056
97ac2654
UD
380572011-12-17 Ulrich Drepper <drepper@gmail.com>
38058
38059 [BZ #13506]
38060 * time/tzfile.c (__tzfile_read): Check values from file header.
38061
91d2a845
WS
380622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38063
38064 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38065 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38066 * powerpc/powerpc32/dl-start.S: Likewise.
38067 * powerpc/powerpc32/elf/start.S: Likewise.
38068 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38069 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38070 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38071 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38072 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38073 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38074 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38075 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38076 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38077 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38078 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38079 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38080 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38081 * powerpc/powerpc32/memset.S: Likewise.
38082 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38083 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38084 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38085 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38086 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38087 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38088 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38089 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38090 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38091 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38092 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38093 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38094 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38095
a1267ba1
AZ
380962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38097
38098 * math/libm-test.inc: Added more nearbyint tests.
38099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38100 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38103
ad8ac1bd
RL
381042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38105
38106 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38107 FD_CLOEXEC.
38108
1d3e4b61
UD
381092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38110
38111 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38112 Add wcscpy-ssse3 wcscpy-c.
38113 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38114 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38115 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38116 * sysdeps/x86_64/wcschr.S: New file.
38117 * sysdeps/x86_64/wcsrchr.S: New file.
38118 * string/test-strcmp.c: Remove checking of wcscmp function for
38119 wrong alignments.
38120 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38121 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38122 wcsrchr-sse2 wcsrchr-c.
38123 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38124 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38125 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38126 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38127 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38128 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38129 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38130 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38131 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38132 * wcsmbc/wcschr.c (WCSCHR): New macro.
38133
5b330a2d
UD
381342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38135
38136 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38137 * wcsmbs/test-wcsrchr.c: New file.
38138 * string/test-strrchr.c: Add wcsrchr support.
38139 (WIDE): New macro.
38140 * wcsmbs/test-wcscpy.c: New file.
38141 * string/test-strcpy.c: Add wcscpy support.
38142 (WIDE): New macro.
26428b7c 38143
f039c043
UD
381442011-12-10 Ulrich Drepper <drepper@gmail.com>
38145
38146 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38147 the inner loop.
38148
850fb039
AS
381492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38150
38151 [BZ #13472]
38152 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38153
4efbd5cb
UD
381542011-12-04 Ulrich Drepper <drepper@gmail.com>
38155
52ff5dd0 38156 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38157 Minor optimizations.
52ff5dd0 38158
4efbd5cb
UD
38159 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38160 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38161 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38162
8a426e12
UD
381632011-12-03 Ulrich Drepper <drepper@gmail.com>
38164
aff2453d
UD
38165 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38166 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38167 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38168 for gcc to avoid warnings.
38169 * inet/Makefile (tests): Add tst-checks.
38170 * inet/tst-checks.c: New file.
38171
38172 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38173 warning.
38174
38175 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38176 __wmemcmp_sse2.
38177
38178 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38179 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38180
8a426e12
UD
38181 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38182
9bea3473
UD
381832011-12-02 Ulrich Drepper <drepper@gmail.com>
38184
3a965496
UD
38185 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38186 problem.
38187
9bea3473
UD
38188 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38189
f101631b
UD
381902011-11-29 Joseph Myers <joseph@codesourcery.com>
38191
38192 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38193 conditional on GCC version.
38194 (__arch_compare_and_exchange_val_8_acq)
38195 (__arch_compare_and_exchange_val_16_acq)
38196 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38197 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38198 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38199
a98275aa
UD
382002011-12-02 Joseph Myers <joseph@codesourcery.com>
38201
38202 * sysdeps/sh/backtrace.c: New file.
38203
d4cc29a2
AS
382042011-12-02 Andreas Schwab <schwab@redhat.com>
38205
38206 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38207 parenthesis.
38208
6257af2d
AS
382092011-12-01 Andreas Schwab <schwab@redhat.com>
38210
38211 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38212 falling back to utime.
38213
b5f44c1a
AS
382142011-11-30 Andreas Schwab <schwab@redhat.com>
38215
38216 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38217 expectations for float.
38218
f3a6cc0a
AS
382192011-11-29 Andreas Schwab <schwab@redhat.com>
38220
38221 * locale/weight.h (findidx): Add parameter len.
38222 * locale/weightwc.h (findidx): Likewise.
38223 * posix/fnmatch_loop.c (FCT): Adjust caller.
38224 * posix/regcomp.c (build_equiv_class): Likewise.
38225 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38226 * posix/regexec.c (check_node_accept_bytes): Likewise.
38227 * string/strcoll_l.c (STRCOLL): Likewise.
38228 * string/strxfrm_l.c (STRXFRM): Likewise.
38229
9d65ea3a
UD
382302011-11-17 Ulrich Drepper <drepper@gmail.com>
38231
38232 * Makefile.in: Remove CVSOPT handling.
38233 * configure.in: Remove use of AC_REVISION.
38234 * iconvdata/Makefile (distribute): No need to filter out CVS.
38235 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38236 handling.
38237
5583a086
AS
382382011-11-16 Andreas Schwab <schwab@redhat.com>
38239
38240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38241 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38242 [USE_AS_STRNCASECMP_L]: Likewise.
38243 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38244 NO_TLS_DIRECT_SEG_REFS.
38245 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38246 Fix argument offsets for non-PIC.
38247 [USE_AS_STRNCASECMP_L]: Likewise.
38248 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38249 NO_TLS_DIRECT_SEG_REFS.
38250
d62a8200
UD
382512011-11-15 Ulrich Drepper <drepper@gmail.com>
38252
9d65ea3a 38253 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38254 O_CLOEXEC.
38255 * locale/loadlocale.c (_nl_load_locale): Likewise.
38256
09f93bd3
AS
382572011-11-15 Andreas Schwab <schwab@redhat.com>
38258
446514f9
AS
38259 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38260 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38261 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38262 (SYSCALL_GETTIME): Set errno on error.
38263
09f93bd3
AS
38264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38265 count references to noai6ai_cached.
38266
312be3f9
UD
382672011-11-15 Ulrich Drepper <drepper@gmail.com>
38268
38269 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38270
38271 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38272 FD_CLOEXEC for /proc/self/maps.
38273
38274 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38275 FD_CLOEXEC for /proc/meminfo.
38276
38277 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38278 gai.conf.
38279
38280 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38281 FD_CLOEXEC for given file.
38282
38283 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38284
38285 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38286 FD_CLOEXEC for /etc/hosts.
38287 (_gethtent): Likewise.
38288
38289 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38290
38291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38292 cancellation and set FD_CLOEXEC for /etc/netgroup.
38293
38294 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38295 reading /etc/publickey.
38296
38297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38298 allow cancellation when reading /etc/group.
38299
38300 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38301 cancellation.
38302 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38303
38304 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38305 when using data file.
38306
38307 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38308
38309 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38310 (write_nis_obj): Use "c" and "e" in fopen.
38311
38312 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38313
38314 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38315
38316 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38317
38318 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38319
38320 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38321 locale.alias.
38322
38323 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38324
38325 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38326
38327 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38328
38329 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38330 file parsing and set FD_CLOEXEC.
38331
82af0fa8
UD
383322011-11-14 Ulrich Drepper <drepper@gmail.com>
38333
38334 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38335
a5fb313c
AS
383362011-11-14 Andreas Schwab <schwab@redhat.com>
38337
38338 * malloc/arena.c (arena_get2): Don't call reused_arena when
38339 _int_new_arena failed.
38340
6abf3465
UD
383412011-11-14 Ulrich Drepper <drepper@gmail.com>
38342
38343 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38344 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38347 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38348 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38349 to compile strcasecmp and strncasecmp.
38350 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38351 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38352
38353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38354
76e3966e
UD
383552011-11-13 Ulrich Drepper <drepper@gmail.com>
38356
38357 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38358 locale-defines.sym to gen-as-const-headers.
38359 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38360 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38362 to compile strcasecmp and strncasecmp.
38363 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38364 strcasecmp_l and strncasecmp_l.
38365 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38366 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38367 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38368 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38369 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38370 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38371 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38372 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38373 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38374 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38375 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38376
ab26144e
UD
383772011-11-12 Ulrich Drepper <drepper@gmail.com>
38378
7edb22ef
UD
38379 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38380 result of SYSDEP_GETTIME_CPU to retval.
38381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38382 parameter list to macro. Remove trailing semicolon. Adjust users.
38383
9694fc44
UD
38384 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38385 variable.
38386
8ad89ef8
UD
38387 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38388 mantissa words.
38389 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38390
0c822ef9
UD
38391 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38392 from unused variable.
38393
874e0564
UD
38394 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38395 DWARF definitions.
38396 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38397 for assembling.
38398
3a2edc79
UD
38399 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38400 over namespaces.
38401
f3c2577f
UD
38402 * sunrpc/rpc_prot.c (rejected): Fix case value.
38403
294ce126
UD
38404 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38405 unsigned long long int to avoid warnings in shift.
38406
5e2b63c6
UD
38407 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38408 of use of trans.
38409 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38410 variable tmp.
38411
e7f4b08e
UD
38412 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38413 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38414 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38415
ab26144e
UD
38416 * nis/nis_table.c (nis_list): Use variable of correct type for
38417 result of __follow_path call.
38418
8a6d5255
AZ
384192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38420
38421 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38422 of math functions ceil, trunc, floor, round, and sqrt, when
38423 avaliable on the platform.
38424 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38425 name clash.
38426 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38427 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38428 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38429
aaddc98c
MP
384302011-10-30 Marek Polacek <mpolacek@redhat.com>
38431
38432 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38433 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38434
95b7042b
RM
384352011-11-11 Roland McGrath <roland@hack.frob.com>
38436
38437 * include/unistd.h: Fix __readlink return type.
38438 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38439
57769839
UD
384402011-11-11 Ulrich Drepper <drepper@gmail.com>
38441
38442 * stdlib/ucontext.h: Undo last change for makecontext.
38443
edc5984d
AS
384442011-11-11 Andreas Schwab <schwab@redhat.com>
38445
98591e58
AS
38446 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38447
edc5984d
AS
38448 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38449 * setjmp/setjmp.h: Mark functions as non-leaf.
38450 * setjmp/bits/setjmp2.h: Likewise.
38451 * stdlib/ucontext.h: Likewise.
38452
77cdc054
AS
384532011-11-10 Andreas Schwab <schwab@redhat.com>
38454
38455 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38456 (reused_arena): Don't check arena limit.
38457 (arena_get2): Atomically check arena limit.
38458
fe72eebd
UD
384592011-11-08 Ulrich Drepper <drepper@gmail.com>
38460
5f078c32
UD
38461 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38462 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38463
fe72eebd
UD
38464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38465 instructions.
38466
ae1bc2fa
AS
384672011-11-07 Andreas Schwab <schwab@redhat.com>
38468
7583a88d
AS
38469 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38470 handler when locking.
38471
ae1bc2fa
AS
38472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38473 Fix size of allocated buffer.
38474
10fb0bfa
AS
384752011-11-04 Andreas Schwab <schwab@redhat.com>
38476
998832a4
AS
38477 [BZ #10103]
38478 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38479 declarations for long double functions.
38480 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38481
10fb0bfa
AS
38482 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38483
3d7ba52b
AS
384842011-11-03 Andreas Schwab <schwab@redhat.com>
38485
a9ae54a1
AS
38486 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38487 installed.
38488
3d7ba52b
AS
38489 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38490 is disabled.
38491
bc8db248
ST
384922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38493
38494 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38495
45b96dd6
AS
384962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38497
647776f6
AS
38498 * include/alloca.h (stackinfo_alloca_round): Define.
38499 (extend_alloca): Use it.
38500 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38501 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38502 here.
38503
d91a8b93
AS
38504 * scripts/check-local-headers.sh: Ignore libaudit.h.
38505
45b96dd6
AS
38506 * nscd/Makefile (extra-objs): Make recursively expanded.
38507
432d41ce
UD
385082011-11-01 Ulrich Drepper <drepper@gmail.com>
38509
34372fc6
UD
38510 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38511 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38512
fadb59f8
UD
38513 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38514 * posix/tst-rfc3484-2.c: Likewise.
38515 * posix/tst-rfc3484-3.c: Likewise.
38516
78239589
UD
38517 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38518 process_vm_writev.
38519 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38520 process_vm_writev.
38521 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38522 process_vm_writev from libc using GLIBC_2.15 version.
38523
432d41ce
UD
38524 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38525
02f9c6cf
PP
385262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38527
38528 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38529 stack usage.
38530
3a2c0242
UD
385312011-10-31 Ulrich Drepper <drepper@gmail.com>
38532
f4ec4833
UD
38533 [BZ #13367]
38534 * nss/getent.c (initgroups_keys): Show error message in case no group
38535 names are given.
38536
3a2c0242
UD
38537 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38538 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38539 __bump_nl_timestamp.
38540 * nscd/connections (nscd_init): When host database is served open
38541 netlink socket and request notification about configuration changes.
38542 (main_loop_poll): Track netlink file descriptor and bump timestamp
38543 in case data becomes available.
38544 (main_loop_epoll): Likewise.
38545 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38546 (database_pers_head): Add extra_data fileds.
38547 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38548 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38549 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38550 Adjust caller.
38551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38552 in6ai data, call __free_in6ai.
38553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38554 Add -DHAVE_NETLINK.
38555 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38556 interface information. Reuse previous data if netlink timestamp
38557 is not changed.
38558 (__bump_nl_timestamp): New function.
38559 (__free_in6ai): New function.
38560
636064eb
UD
385612011-10-30 Ulrich Drepper <drepper@gmail.com>
38562
38563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38564 close_not_cancel_no_status here.
38565 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38566
9beb2334
UD
385672011-10-29 Ulrich Drepper <drepper@gmail.com>
38568
6ef76f3b
UD
38569 [BZ #13276]
38570 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38571 return value.
38572
0ffc4f3e 38573 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38574 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38575 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38576
cb95113e
UD
385772011-07-03 Andreas Jaeger <aj@suse.de>
38578
38579 [BZ #10709]
38580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38581 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38582 * math/libm-test.inc (sin_test): Add test case.
38583
a1b560ff
UD
385842011-10-29 Ulrich Drepper <drepper@gmail.com>
38585
c9aaface
UD
38586 [BZ #13337]
38587 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38588 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38589
d272e7f1
UD
38590 * elf/chroot_canon.c (chroot_canon): Cleanups.
38591
1bc33071
UD
38592 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38593
1760874d
TJ
38594 [BZ #13335]
38595 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38596 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38597
51d91b18
UD
38598 * string/test-strchr.c: Make usable for strchrnul testing.
38599 * string/test-strchrnul.c: New file.
38600 * string/Makefile (strop-tests): Add strchrnul.
38601
a1b560ff 38602 * po/it.po: Update from translation team.
b611fb81 38603 * po/es.po: Likewise.
a1b560ff 38604
a5b81e1f
UD
386052011-10-28 Ulrich Drepper <drepper@gmail.com>
38606
fd52bc6d
UD
38607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38608 the three constants needed as parameters. Drop the others.
38609 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38610 __m128i_strloadu_tolower.
52e4b9eb
UD
38611 Create and initialize variable zero and use it in all the places
38612 where _mm_setzero_si128 was used.
fd52bc6d 38613
a5b81e1f
UD
38614 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38615 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38616 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38618 anymore.
38619 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38620 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38621 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38622 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38623 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38624 __mpranred, __mptan.
38625 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38626 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38627 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38628 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38629 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38630 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38632 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38633 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38634
b4343346
AS
386352011-10-28 Andreas Schwab <schwab@redhat.com>
38636
0c92d8a8
AS
38637 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38638 redefine if SHARED.
38639 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38640
b4343346
AS
38641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38642 wide char related routines to wcsmbs subdir.
38643
3871f58f
AS
386442011-10-27 Andreas Schwab <schwab@redhat.com>
38645
38646 [BZ #13344]
38647 * misc/sys/cdefs.h (__THROWNL): Define.
38648 * posix/unistd.h: Use __THREADNL instead of __THREAD
38649 for memory synchronization functions.
38650
94d44d9f
RM
386512011-10-26 Roland McGrath <roland@hack.frob.com>
38652
21b64b15 38653 [BZ #13349]
94d44d9f
RM
38654 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38655 doesn't exist.
38656 * manual/stdio.texi (Obstack Streams): Node removed.
38657
f6ce9294
AS
386582011-10-26 Andreas Schwab <schwab@redhat.com>
38659
80479147
AS
38660 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38663
f6ce9294
AS
38664 * math/math_private.h (math_force_eval): Allow non-addressable
38665 arguments.
38666 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38667
618280a1
UD
386682011-10-25 Ulrich Drepper <drepper@gmail.com>
38669
e0016b11
UD
38670 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38671 file is not needed.
38672
38673 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38677 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38680 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38681 Add AVX variants.
38682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38686 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38687 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38688 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38690 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38691 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38692 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38693 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38695 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38696 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38697 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38698 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38699 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38700 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38701
38702 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38703 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38704
618280a1
UD
38705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38706 place. Use VEX encoding when compiling for AVX.
38707
37822576
AS
387082011-10-25 Andreas Schwab <schwab@redhat.com>
38709
1f1e1947
AS
38710 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38711 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38712
37822576
AS
38713 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38714
31ea014d
UD
387152011-10-25 Ulrich Drepper <drepper@gmail.com>
38716
d7826aa1 38717 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38718 useless if() expression.
d7826aa1
UD
38719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38730 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38731 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38732 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38737 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38738
31ea014d
UD
38739 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38740
16437fec
AS
387412011-10-25 Andreas Schwab <schwab@redhat.com>
38742
38743 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38744 condition.
38745 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38746
31d3cc00
UD
387472011-10-25 Ulrich Drepper <drepper@gmail.com>
38748
38749 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38750 .text section. Avoid duplicate constants.
38751 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38763 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38764 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38765 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38766 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38767 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38769 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38775 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38780 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38781 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38783 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38787 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38789 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38791 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38793 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38794 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38795 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38796
58985aa9
UD
387972011-10-24 Ulrich Drepper <drepper@gmail.com>
38798
202c9deb
UD
38799 * sysdeps/x86_64/dla.h: Move to ...
38800 * sysdeps/x86_64/fpu/dla.h: ...here.
38801 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38802 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38803
af968f62
UD
38804 * config.make.in: Add have-mfma4 entry.
38805 * configure.in: Substitute libc_cv_cc_fma4.
38806 * math/Makefile (dbl-only-routines): Add sincostab.
38807 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38808 Use __sincostab not sincos.
38809 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38810 name is a macro.
38811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38815 using __copysign.
38816 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38817 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38818 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38819 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38820 and __inv.
38821 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38822 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38823 __copysign.
38824 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38825 define aliases when function name is a macro.
38826 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38827 sysdeps/ieee754/dbl-64/sincos.tbl.
38828 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38829 fma4-enabled routines.
38830 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38831 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38832 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38833 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38840 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38841 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38842 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38843 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38844 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38845 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38846 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38847 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38848 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38849 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38850 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38851 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38852 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38853 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38855 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38857 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38858 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38859 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38860
58985aa9
UD
38861 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38862 rename.
38863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38871
a201fbcf
AS
388722011-10-24 Andreas Schwab <schwab@redhat.com>
38873
38874 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38875
fc2ee42a
LD
388762011-10-23 Ulrich Drepper <drepper@gmail.com>
38877
bb3129bd
UD
38878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38879
0275fff8
UD
38880 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38881 prediction.
38882 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38883
2fa2ae85
UD
38884 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38885 Remove unused variable magic_bits.
38886 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38887
fc2ee42a
LD
38888 * string/strnlen.c: Define and use STRNLEN macro.
38889 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38890 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38892 * wcsmbs/wcslen.c: Define and use WCSLEN.
38893 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38894 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38895 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38896 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38897 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38898 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38899 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38900
ce7dd29f
LD
389012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38902
38903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38904 strnlen-sse2-no-bsf.
38905 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38907 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38908 Add strnlen support.
38909 (USE_AS_STRNLEN): New macro.
38910 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38912 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38913 * sysdeps/x86_64/wcslen.S: New file.
38914
979c70a3
MZ
389152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38916
38917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38918 XMM-moves are used for copying on small sizes.
38919
2d09f82f
LD
389202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38921
38922 * wcsmbs/Makefile (strop-tests): Add wcschr.
38923 * wcsmbs/test-wcschr.c: New file.
38924 * string/test-strchr.c: Update.
38925 Add wcschr support.
38926 (WIDE): New macro.
38927
619fccca
LD
389282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38929
2d09f82f 38930 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38931 * wcsmbs/test-wcslen.c: New file.
38932 * string/test-strlen.c: Update.
38933 Add wcslen support.
38934 (WIDE): New macro.
38935
09f699ea
UD
389362011-10-23 Ulrich Drepper <drepper@gmail.com>
38937
38938 * po/it.po: Update from translation team.
38939
95584d3b
LD
389402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38941
38942 * sysdeps/x86_64/wcscmp.S: Update.
38943 Fix wrong comparison semantics.
38944 wcscmp shall use signed comparison not unsigned.
38945 Don't use substraction to avoid overflow bug.
38946 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38947 * wcsmbc/wcscmp.c: Likewise.
38948 * string/test-strcmp.c: Likewise.
38949 Add new tests to check cases with negative values.
38950
c8b3296b
UD
389512011-10-23 Ulrich Drepper <drepper@gmail.com>
38952
38953 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38954 * sysdeps/x86_64/dla.h: ...here. New file.
38955 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
389652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38966
38967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38968 __ynl_finite aliases.
38969
a1a87169
UD
389702011-10-22 Ulrich Drepper <drepper@gmail.com>
38971
0d355eb7
UD
38972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38973
a1a87169
UD
38974 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38975 define DLA_FMA.
38976 [DLA_FMA] (EMULV): Use DLA_FMA.
38977 [DLA_FMA] (MUL12): Use EMULV.
38978 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38979 that are not needed.
38980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38987
ee2aafe0
AS
389882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38989
38990 * math/s_nan.c: Undef __nan.
38991 * math/s_nanf.c: Undef __nanf.
38992 * math/s_nanl.c: Undef __nanl.
38993 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38994 "math_private.h".
38995
bc62c2fb
UD
389962011-10-22 Ulrich Drepper <drepper@gmail.com>
38997
77425c63
UD
38998 * math/s_catan.c: Add branch predictions.
38999 * math/s_catanf.c: Likewise.
39000 * math/s_catanh.c: Likewise.
39001 * math/s_catanhf.c: Likewise.
39002 * math/s_catanhl.c: Likewise.
39003 * math/s_catanl.c: Likewise.
39004 * math/s_cexp.c: Likewise.
39005 * math/s_cexpf.c: Likewise.
39006 * math/s_cexpl.c: Likewise.
39007 * math/s_clog.c: Likewise.
39008 * math/s_clog10.c: Likewise.
39009 * math/s_clog10f.c: Likewise.
39010 * math/s_clog10l.c: Likewise.
39011 * math/s_clogf.c: Likewise.
39012 * math/s_clogl.c: Likewise.
39013 * math/s_csqrt.c: Likewise.
39014 * math/s_csqrtf.c: Likewise.
39015 * math/s_csqrtl.c: Likewise.
39016 * math/s_ctanf.c: Likewise.
39017 * math/s_ctanh.c: Likewise.
39018 * math/s_ctanhf.c: Likewise.
39019 * math/s_ctanhl.c: Likewise.
39020 * math/s_ctanl.c: Likewise.
39021
bc62c2fb
UD
39022 * math/math_private.h: Define __nan, __nanf, __nanl.
39023 * math/s_cacosh.c: Include <math_private.h>.
39024 * math/s_cacoshl.c: Likewise.
39025 * math/s_casinh.c: Likewise.
39026 * math/s_casinhf.c: Likewise.
39027 * math/s_casinhl.c: Likewise.
39028 * math/s_ccos.c: Rely entire on ccosh.
39029 * math/s_ccosf.c: Rely entire on ccoshf.
39030 * math/s_ccosl.c: Rely entirely on ccoshl.
39031 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39032 Remove tests for FE_INVALID.
39033 * math/s_ccoshf.c: Likewise.
39034 * math/s_ccoshl.c: Likewise.
39035 * math/s_csin.c: Likewise.
39036 * math/s_csinf.c: Likewise.
39037 * math/s_csinh.c Likewise.
39038 * math/s_csinhf.c: Likewise.
39039 * math/s_csinhl.c: Likewise.
39040 * math/s_csinl.c: Likewise.
39041 * math/s_ctan.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39043 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39044 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39045
8ec250a4
UD
390462011-10-21 Ulrich Drepper <drepper@gmail.com>
39047
c196fed8
UD
39048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39049 compilation problems.
39050
8ec250a4
UD
39051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39052 __builtin_expect.
39053
8d4f46c6
UD
390542011-10-20 Ulrich Drepper <drepper@gmail.com>
39055
ed72b654
UD
39056 * sysdeps/i386/configure.in: Test for -mfma4 option.
39057 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39058 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39059 COMMON_CPUID_INDEX_80000001.
39060 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39061 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39062 use it if FMA3 is not supported.
39063 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39064
8d4f46c6
UD
39065 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39066 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39067
d45c60c2
AS
390682011-10-20 Andreas Schwab <schwab@redhat.com>
39069
39070 [BZ #12892]
39071 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39072 it would create a cycle with a link time dependency.
39073
d9a4d2ab
UD
390742011-10-19 Ulrich Drepper <drepper@gmail.com>
39075
855d1560
UD
39076 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39077 instruction.
39078 * string/Makefile (strop-tests): Add rawmemchr.
39079 * string/test-rawmemchr.c: New file.
39080
d9a4d2ab
UD
39081 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39083 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39084 when compiling str{,n}casecmp and when AVX is available. Hook up
39085 new optimized code in initializers.
39086
8f3b1ffe
AS
390872011-10-19 Andreas Schwab <schwab@redhat.com>
39088
39089 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39090 __feraiseexcept instead of feraiseexcept.
39091
d38f1dba
UD
390922011-10-18 Ulrich Drepper <drepper@gmail.com>
39093
d9a8d0ab
UD
39094 * math/math_private.h: Define defaults for libc_fetestexcept and
39095 libc_feupdateenv.
39096 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39097 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39099 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39101 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39102 libc_fetestexcept and libc_feupdateenv.
39103
4855e3dd
UD
39104 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39105 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39106 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39107 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39108 libc_feholdexcept_setround.
39109
581d30e3
UD
39110 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39111 Add s_nearbyint-c and s_nearbyintf-c.
39112 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39113 nearbyintf inlines.
39114 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39115 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39116 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39117 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39118
d38f1dba
UD
39119 * math/math_private.h: Define defaults for libc_fegetround,
39120 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39121 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39122 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39123 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39124 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39125 standard functions.
39126 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39127 Remove comments and hacks for old compiler versions.
39128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39129 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39130 libc_feholdexceptl.
39131
caa6c9d8
AS
391322011-10-18 Andreas Schwab <schwab@redhat.com>
39133
39134 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39135 (__feraiseexcept_renamed): Add __NTH.
39136 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39137 namespace violations.
39138
97c066e6
UD
391392011-10-17 Ulrich Drepper <drepper@gmail.com>
39140
99ce7b04
UD
39141 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39142
1004d182
UD
39143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39144
228a984d
UD
39145 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39146 recently added interfaces.
39147 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39148
c8553a6a
UD
39149 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39150 about macro parameter expansion.
39151
ed22dcf6
UD
39152 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39153 __NO_MATH_INLINES is defined. Cleanups.
39154
39155 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39156 and __floorf is target has SSE4.1.
39157 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39158 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39159 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39160 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39161
b171c137
UD
39162 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39163 name.
39164 (floorf): Likewise.
39165
97c066e6
UD
39166 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39167
629f62ef
AS
391682011-10-17 Andreas Schwab <schwab@redhat.com>
39169
49a43d80
AS
39170 * misc/sys/cdefs.h: Fix last change.
39171
629f62ef
AS
39172 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39173 database lookup.
39174
e453f6cd
UD
391752011-10-16 Ulrich Drepper <drepper@gmail.com>
39176
aa78043a
UD
39177 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39178
ad0f5cad
UD
39179 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39186 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39187 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39188 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39189 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39190 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39191 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39192 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39193 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39194 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39195 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39196 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39197 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39198 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39200 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39201
39202 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39203 ceil, ceilf, floor, floorf.
39204
39205 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39206 Perform IRELATIVE relocations last.
39207
e453f6cd
UD
39208 * elf/do-rel.h: Add another parameter nrelative, replacing the
39209 local variable with the same name. Change name of the function
39210 to end in Rel or Rela (uppercase).
39211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39212 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39213 elf_dynamic_do_##reloc function.
39214
fd5bdc09
UD
392152011-10-15 Ulrich Drepper <drepper@gmail.com>
39216
79b195b5
UD
39217 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39218 is sufficient, at least on modern CPUs.
39219
d4a28569
UD
39220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39221
b61099b5
UD
39222 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39224
bcf01e6d
UD
39225 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39226 __expl_finite.
39227 * math/bits/math-finite.h: Add entries for exp.
39228 * math/e_expl.c: Add __*_finite alias.
39229 * sysdeps/i386/fpu/e_exp.S: Likewise.
39230 * sysdeps/i386/fpu/e_expf.S: Likewise.
39231 * sysdeps/i386/fpu/e_expl.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39233 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39237 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39239
ba1a0d59
UD
39240 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39241 is sufficient, at least on modern CPUs.
39242
fd5bdc09
UD
39243 * ctype/ctype-info.c (__ctype_init): Define.
39244 * include/ctype.h (__ctype_init): Declare.
39245 (__ctype_b_loc): The variable is always initialized.
39246 (__ctype_toupper_loc): Likewise.
39247 (__ctype_tolower_loc): Likewise.
39248 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39249 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39250
7872cfb0
AS
392512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39252
b468825a
AS
39253 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39254
7872cfb0
AS
39255 * configure.in: Also look in $cxxmachine/include for C++ system
39256 headers.
39257
be13f7bf
LD
392582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39259
39260 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39261 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39262 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39263 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39264 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39265 (USE_AS_WMEMCMP): New macro.
39266 Fixing indents.
39267 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39268 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39269 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39270 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39272 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39273 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39274 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39275 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39276 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39277 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39278 (USE_AS_WMEMCMP): New macro.
39279 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39280 * sysdeps/string/test-memcmp.c: Update.
39281 Fix simple_wmemcmp.
39282 Add new tests.
39283 * wcsmbs/wmemcmp.c: Update.
39284 (WMEMCMP): New macro.
39285 Fix overflow bug.
39286
556a2007
AJ
392872011-10-12 Andreas Jaeger <aj@suse.de>
39288
39289 [BZ #13268]
39290 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39291
538faaa7
UD
392922011-10-15 Ulrich Drepper <drepper@gmail.com>
39293
ab6737ff
UD
39294 * libio/iofwide.c (do_length): Avoid warning.
39295
538faaa7
UD
39296 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39297
396a21b1
UD
392982011-10-14 Ulrich Drepper <drepper@gmail.com>
39299
cdf2901f
UD
39300 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39301
38ad40ce
UD
39302 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39303 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39304 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39305 * sysdeps/i386/i686/fpu/e_log.S: New file.
39306 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39307 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39308
396a21b1
UD
39309 * ctype/ctype.h: Add support for inlined isXXX functions when
39310 compiling C++ code.
39311
6b1f68c9
AS
393122011-10-14 Andreas Schwab <schwab@redhat.com>
39313
349290c0
AS
39314 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39315
6b1f68c9
AS
39316 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39317
f2282d42
RM
393182011-10-13 Roland McGrath <roland@hack.frob.com>
39319
39320 [BZ #13291]
39321 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39322
5298ffa8
AS
393232011-10-13 Andreas Schwab <schwab@redhat.com>
39324
714fad23
AS
39325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39326 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39327 feraiseexcept.
39328
81dcc7fb
AS
39329 * sysdeps/x86_64/memrchr.S: Check for zero size.
39330
5298ffa8
AS
39331 * string/stratcliff.c: Add memrchr tests.
39332
951fbcec
LD
393332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39334
39335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39336 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39337 rawmemchr-sse2 rawmemchr-sse2-bsf.
39338 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39339 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39340 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39341 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39342 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39343 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39344 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39345 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39346 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39347 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39348 * string/memrchr.c (MEMRCHR): New macro.
39349
0ac5ae23
UD
393502011-10-12 Ulrich Drepper <drepper@gmail.com>
39351
39352 Add integration with gcc's -ffinite-math-only and optimize wrapper
39353 functions in libm.
39354 * Versions.def: Define GLIBC_2.15 version for libm.
39355 * math/Makefile (headers): Add bits/math-finite.h.
39356 * math/bits/math-finite.h: New file.
39357 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39358 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39359 * math/e_acoshl.c: Add __*_finite alias.
39360 * math/e_acosl.c: Likewise.
39361 * math/e_asinl.c: Likewise.
39362 * math/e_atan2l.c: Likewise.
39363 * math/e_atanhl.c: Likewise.
39364 * math/e_coshl.c: Likewise.
39365 * math/e_exp10.c: Likewise.
39366 * math/e_exp10f.c: Likewise.
39367 * math/e_exp10l.c: Likewise.
39368 * math/e_exp2l.c: Likewise.
39369 * math/e_fmodl.c: Likewise.
39370 * math/e_gammal_r.c: Likewise.
39371 * math/e_hypotl.c: Likewise.
39372 * math/e_j0l.c: Likewise.
39373 * math/e_j1l.c: Likewise.
39374 * math/e_jnl.c: Likewise.
39375 * math/e_lgammal_r.c: Likewise.
39376 * math/e_log10l.c: Likewise.
39377 * math/e_log2l.c: Likewise.
39378 * math/e_logl.c: Likewise.
39379 * math/e_powl.c: Likewise.
39380 * math/e_sinhl.c: Likewise.
39381 * math/e_sqrtl.c: Likewise.
39382 * math/e_scalb.c: Completely rewritten and optimized.
39383 * math/e_scalbf.c: Likewise.
39384 * math/e_scalbl.c: Likewise.
39385 * math/w_acos.c: Likewise.
39386 * math/w_acosf.c: Likewise.
39387 * math/w_acosl.c: Likewise.
39388 * math/w_acosh.c: Likewise.
39389 * math/w_acoshf.c: Likewise.
39390 * math/w_acoshl.c: Likewise.
39391 * math/w_asin.c: Likewise.
39392 * math/w_asinf.c: Likewise.
39393 * math/w_asinl.c: Likewise.
39394 * math/w_atan2.c: Likewise.
39395 * math/w_atan2f.c: Likewise.
39396 * math/w_atan2l.c: Likewise.
39397 * math/w_atanh.c: Likewise.
39398 * math/w_atanhf.c: Likewise.
39399 * math/w_atanhl.c: Likewise.
39400 * math/w_exp10.c: Likewise.
39401 * math/w_exp10f.c: Likewise.
39402 * math/w_exp10l.c: Likewise.
39403 * math/w_fmod.c: Likewise.
39404 * math/w_fmodf.c: Likewise.
39405 * math/w_fmodl.c: Likewise.
39406 * math/w_j0.c: Likewise.
39407 * math/w_j0f.c: Likewise.
39408 * math/w_j0l.c: Likewise.
39409 * math/w_j1.c: Likewise.
39410 * math/w_j1f.c: Likewise.
39411 * math/w_j1l.c: Likewise.
39412 * math/w_jn.c: Likewise.
39413 * math/w_jnf.c: Likewise.
39414 * math/w_log.c: Likewise.
39415 * math/w_logf.c: Likewise.
39416 * math/w_logl.c: Likewise.
39417 * math/w_log10.c: Likewise.
39418 * math/w_log10f.c: Likewise.
39419 * math/w_log10l.c: Likewise.
39420 * math/w_log2.c: Likewise.
39421 * math/w_log2f.c: Likewise.
39422 * math/w_log2l.c: Likewise.
39423 * math/w_pow.c: Likewise.
39424 * math/w_powf.c: Likewise.
39425 * math/w_powl.c: Likewise.
39426 * math/w_remainder.c: Likewise.
39427 * math/w_remainderf.c: Likewise.
39428 * math/w_remainderl.c: Likewise.
39429 * math/w_scalb.c: Likewise.
39430 * math/w_scalbf.c: Likewise.
39431 * math/w_scalbl.c: Likewise.
39432 * math/w_sqrt.c: Likewise.
39433 * math/w_sqrtf.c: Likewise.
39434 * math/w_sqrtl.c: Likewise.
39435 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39436 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39437 used.
39438 * math/math_private.h: Declare __kernel_standard_f.
39439 * math/w_cosh.c: Remove cruft and optimize a bit.
39440 * math/w_coshf.c: Likewise.
39441 * math/w_coshl.c: Likewise.
39442 * math/w_exp2.c: Likewise.
39443 * math/w_exp2f.c: Likewise.
39444 * math/w_exp2l.c: Likewise.
39445 * math/w_hypot.c: Likewise.
39446 * math/w_hypotf.c: Likewise.
39447 * math/w_hypotl.c: Likewise.
39448 * math/w_lgamma.c: Likewise.
39449 * math/w_lgamma_r.c: Likewise.
39450 * math/w_lgammaf.c: Likewise.
39451 * math/w_lgammaf_r.c: Likewise.
39452 * math/w_lgammal.c: Likewise.
39453 * math/w_lgammal_r.c: Likewise.
39454 * math/w_sinh.c: Likewise.
39455 * math/w_sinhf.c: Likewise.
39456 * math/w_sinhl.c: Likewise.
39457 * math/w_tgamma.c: Likewise.
39458 * math/w_tgammaf.c: Likewise.
39459 * math/w_tgammal.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39462 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39463 Minor optimizations. Pretty printing. Remove cruft.
39464 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39468 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39469 * sysdeps/i386/fpu/e_asin.S: Likewise.
39470 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39471 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39472 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39473 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39475 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39476 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39477 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39478 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39479 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39480 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39481 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39482 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39483 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39484 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39485 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39486 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39487 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39488 * sysdeps/i386/fpu/e_log.S: Likewise.
39489 * sysdeps/i386/fpu/e_log10.S: Likewise.
39490 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39491 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39492 * sysdeps/i386/fpu/e_log2.S: Likewise.
39493 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39494 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39495 * sysdeps/i386/fpu/e_logf.S: Likewise.
39496 * sysdeps/i386/fpu/e_logl.S: Likewise.
39497 * sysdeps/i386/fpu/e_pow.S: Likewise.
39498 * sysdeps/i386/fpu/e_powf.S: Likewise.
39499 * sysdeps/i386/fpu/e_powl.S: Likewise.
39500 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39501 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39502 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39503 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39505 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39506 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39507 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39508 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39530 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39534 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39535 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39536 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39537 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39538 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39539 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39540 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39542 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39543 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39544 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39545 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39546 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39547 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39548 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39549 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39589 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39594 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39597 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39600 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39602 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39606 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39607 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39608 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39609 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39610 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39611 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39612 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39614 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39615 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39617 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39618 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39619 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39620 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39621 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39622 (__isnanf): Likewise.
39623 (__isinf_ns): Likewise.
39624 (__isinf_nsf): Likewise.
39625 (__finite): Likewise.
39626 (__finitef): Likewise.
39627 (__ieee754_sqrt): Define as macro.
39628 (__ieee754_sqrtf): Define as macro.
39629 (__ieee754_sqrtl): Define as macro.
39630 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39631 inlined copy.
39632 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39633 __FINITE_MATH_ONLY__ consistent.
39634 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39635
12cc2fcd
AS
396362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39637
a843a204
AS
39638 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39639 of rawmemchr.
39640
12cc2fcd
AS
39641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39642
c853acd5
UD
396432011-10-09 Ulrich Drepper <drepper@gmail.com>
39644
39645 * po/ja.po: Update from translation team.
39646
c658d255
RM
396472011-10-08 Roland McGrath <roland@hack.frob.com>
39648
110946e4
RM
39649 * locale/programs/locarchive.c (prepare_address_space): New function.
39650 (create_archive, enlarge_archive, open_archive): Use it.
39651
50604220
RM
39652 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39653 inside [SHARED], where it is used.
39654
c658d255
RM
39655 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39656
39657 * nss/getent.c (netgroup_keys): Remove unused variable.
39658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39659
6a621eb7
UD
396602011-10-08 Ulrich Drepper <drepper@gmail.com>
39661
7edb55ce
UD
39662 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39665 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39666 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39667 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39668 * math/Makefile (libm-calls): Add s_isinf_ns.
39669 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39670 * math/multc3.c: Likewise.
39671 * math/s_casin.c: Likewise.
39672 * math/s_casinf.c: Likewise.
39673 * math/s_casinl.c: Likewise.
39674 * math/s_ccos.c: Likewise.
39675 * math/s_ccosf.c: Likewise.
39676 * math/s_ccosl.c: Likewise.
39677 * math/s_ctan.c: Likewise.
39678 * math/s_ctanf.c: Likewise.
39679 * math/s_ctanh.c: Likewise.
39680 * math/s_ctanhf.c: Likewise.
39681 * math/s_ctanhl.c: Likewise.
39682 * math/s_ctanl.c: Likewise.
39683 * math/w_fmod.c: Likewise.
39684 * math/w_fmodf.c: Likewise.
39685 * math/w_fmodl.c: Likewise.
39686 * math/w_remainder.c: Likewise.
39687 * math/w_remainderf.c: Likewise.
39688 * math/w_remainderl.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39690 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39693 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39694 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39695 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39696 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39697
187da0ae
UD
39698 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39699 of the number.
39700 * stdio-common/printf_fphex.c: Likewise.
39701 * stdio-common/printf_size.c: Likewise.
39702
9277c064
UD
39703 * math/e_exp10.c: Include math_private.h using <...> not "...".
39704 * math/e_exp10f.c: Likewise.
39705 * math/e_exp10l.c: Likewise.
39706 * math/e_exp2l.c: Likewise.
39707 * math/e_j0l.c: Likewise.
39708 * math/e_j1l.c: Likewise.
39709 * math/e_jnl.c: Likewise.
39710 * math/e_lgammal_r.c: Likewise.
39711 * math/e_rem_pio2l.c: Likewise.
39712 * math/e_scalb.c: Likewise.
39713 * math/e_scalbf.c: Likewise.
39714 * math/e_scalbl.c: Likewise.
39715 * math/k_cosl.c: Likewise.
39716 * math/k_sinl.c: Likewise.
39717 * math/k_tanl.c: Likewise.
39718 * math/s_cacoshf.c: Likewise.
39719 * math/s_catan.c: Likewise.
39720 * math/s_catanf.c: Likewise.
39721 * math/s_catanh.c: Likewise.
39722 * math/s_catanhf.c: Likewise.
39723 * math/s_catanhl.c: Likewise.
39724 * math/s_catanl.c: Likewise.
39725 * math/s_ccosh.c: Likewise.
39726 * math/s_ccoshf.c: Likewise.
39727 * math/s_ccoshl.c: Likewise.
39728 * math/s_cexp.c: Likewise.
39729 * math/s_cexpf.c: Likewise.
39730 * math/s_cexpl.c: Likewise.
39731 * math/s_clog.c: Likewise.
39732 * math/s_clog10.c: Likewise.
39733 * math/s_clog10f.c: Likewise.
39734 * math/s_clog10l.c: Likewise.
39735 * math/s_clogf.c: Likewise.
39736 * math/s_clogl.c: Likewise.
39737 * math/s_csin.c: Likewise.
39738 * math/s_csinf.c: Likewise.
39739 * math/s_csinh.c: Likewise.
39740 * math/s_csinhf.c: Likewise.
39741 * math/s_csinhl.c: Likewise.
39742 * math/s_csinl.c: Likewise.
39743 * math/s_csqrt.c: Likewise.
39744 * math/s_csqrtf.c: Likewise.
39745 * math/s_csqrtl.c: Likewise.
39746 * math/s_ctan.c: Likewise.
39747 * math/s_ctanf.c: Likewise.
39748 * math/s_ctanh.c: Likewise.
39749 * math/s_ctanhf.c: Likewise.
39750 * math/s_ctanhl.c: Likewise.
39751 * math/s_ctanl.c: Likewise.
39752 * math/s_ldexp.c: Likewise.
39753 * math/s_ldexpf.c: Likewise.
39754 * math/s_ldexpl.c: Likewise.
39755 * math/s_significand.c: Likewise.
39756 * math/s_significandf.c: Likewise.
39757 * math/s_significandl.c: Likewise.
39758 * math/w_acos.c: Likewise.
39759 * math/w_acosf.c: Likewise.
39760 * math/w_acosh.c: Likewise.
39761 * math/w_acoshf.c: Likewise.
39762 * math/w_acoshl.c: Likewise.
39763 * math/w_acosl.c: Likewise.
39764 * math/w_asin.c: Likewise.
39765 * math/w_asinf.c: Likewise.
39766 * math/w_asinl.c: Likewise.
39767 * math/w_atan2.c: Likewise.
39768 * math/w_atan2f.c: Likewise.
39769 * math/w_atan2l.c: Likewise.
39770 * math/w_atanh.c: Likewise.
39771 * math/w_atanhf.c: Likewise.
39772 * math/w_atanhl.c: Likewise.
39773 * math/w_cosh.c: Likewise.
39774 * math/w_coshf.c: Likewise.
39775 * math/w_coshl.c: Likewise.
39776 * math/w_dremf.c: Likewise.
39777 * math/w_exp10.c: Likewise.
39778 * math/w_exp10f.c: Likewise.
39779 * math/w_exp10l.c: Likewise.
39780 * math/w_exp2.c: Likewise.
39781 * math/w_exp2f.c: Likewise.
39782 * math/w_fmod.c: Likewise.
39783 * math/w_fmodf.c: Likewise.
39784 * math/w_fmodl.c: Likewise.
39785 * math/w_hypot.c: Likewise.
39786 * math/w_hypotf.c: Likewise.
39787 * math/w_hypotl.c: Likewise.
39788 * math/w_j0.c: Likewise.
39789 * math/w_j0f.c: Likewise.
39790 * math/w_j0l.c: Likewise.
39791 * math/w_j1.c: Likewise.
39792 * math/w_j1f.c: Likewise.
39793 * math/w_j1l.c: Likewise.
39794 * math/w_jn.c: Likewise.
39795 * math/w_jnf.c: Likewise.
39796 * math/w_jnl.c: Likewise.
39797 * math/w_lgamma.c: Likewise.
39798 * math/w_lgamma_r.c: Likewise.
39799 * math/w_lgammaf.c: Likewise.
39800 * math/w_lgammaf_r.c: Likewise.
39801 * math/w_lgammal.c: Likewise.
39802 * math/w_lgammal_r.c: Likewise.
39803 * math/w_log.c: Likewise.
39804 * math/w_log10.c: Likewise.
39805 * math/w_log10f.c: Likewise.
39806 * math/w_log10l.c: Likewise.
39807 * math/w_log2.c: Likewise.
39808 * math/w_log2f.c: Likewise.
39809 * math/w_log2l.c: Likewise.
39810 * math/w_logf.c: Likewise.
39811 * math/w_logl.c: Likewise.
39812 * math/w_pow.c: Likewise.
39813 * math/w_powf.c: Likewise.
39814 * math/w_powl.c: Likewise.
39815 * math/w_remainder.c: Likewise.
39816 * math/w_remainderf.c: Likewise.
39817 * math/w_remainderl.c: Likewise.
39818 * math/w_scalb.c: Likewise.
39819 * math/w_scalbf.c: Likewise.
39820 * math/w_scalbl.c: Likewise.
39821 * math/w_sinh.c: Likewise.
39822 * math/w_sinhf.c: Likewise.
39823 * math/w_sinhl.c: Likewise.
39824 * math/w_sqrt.c: Likewise.
39825 * math/w_sqrtf.c: Likewise.
39826 * math/w_sqrtl.c: Likewise.
39827 * math/w_tgamma.c: Likewise.
39828 * math/w_tgammaf.c: Likewise.
39829 * math/w_tgammal.c: Likewise.
39830
6a621eb7
UD
39831 * po/ja.po: Update from translation team.
39832
bf582445
AJ
398332011-09-29 Andreas Jaeger <aj@suse.de>
39834
f9efbf3a
AJ
39835 [BZ #13179]
39836 * sunrpc/netname.c (netname2host): Fix logic.
39837
bf582445
AJ
39838 [BZ #6779]
39839 [BZ #6783]
39840 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39841 correctly.
39842 * math/w_remainder.c (__remainder): Likewise.
39843 * math/w_remainderf.c (__remainderf): Likewise.
39844 * math/libm-test.inc (remainder_test): Add test cases.
39845
48693bea
AK
398462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39847
39848 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39849 sdiv_qrnnd.
39850
42622229
LD
398512011-10-07 Ulrich Drepper <drepper@gmail.com>
39852
39853 * string/test-memcmp.c: Avoid unncessary #defines.
39854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39855
093ecf92
LD
398562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39857
39858 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39859 Use new sse2 version for core i3 - i7 as it's faster
39860 than sse42 version.
39861 (bit_Prefer_PMINUB_for_stringop): New.
39862 * sysdeps/x86_64/rawmemchr.S: Update.
39863 Replace with faster SSE2 version.
39864 * sysdeps/x86_64/memrchr.S: New file.
39865 * sysdeps/x86_64/memchr.S: Update.
39866 Replace with faster SSE2 version.
39867
fde56e5c
MP
398682011-09-12 Marek Polacek <mpolacek@redhat.com>
39869
39870 * elf/dl-load.c (lose): Add cast to avoid warning.
39871
21fd49a9
UD
398722011-10-07 Ulrich Drepper <drepper@gmail.com>
39873
5a06e643
UD
39874 * po/ca.po: Update from translation team.
39875
684ae515
UD
39876 * inet/getnetgrent_r.c: Hook up nscd.
39877 * nscd/Makefile (routines): Add nscd_netgroup.
39878 (nscd-modules): Add netgroupcache.
39879 (CFLAGS-netgroupcache.c): Define.
39880 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39881 (cache_search): Add const to second parameter.
39882 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39883 INNETGR.
39884 (dbs): Add netgrdb entry.
39885 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39886 (verify_persistent_db): Handle netgrdb.
39887 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39888 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39889 GETFDNETGR.
39890 (netgroup_response_header): Define.
39891 (innetgroup_response_header): Define.
39892 (datahead): Add netgroup_response_header and innetgroup_response_header
39893 elements.
39894 * nscd/nscd.conf: Add entries for netgroup cache.
39895 * nscd/nscd.h (dbtype): Add netgrdb.
39896 (_PATH_NSCD_NETGROUP_DB): Define.
39897 (netgroup_iov_disabled): Declare.
39898 (xmalloc, xcalloc, xrealloc): Move declarations here.
39899 (cache_search): Adjust prototype.
39900 Add netgroup-related prototypes.
39901 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39902 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39903 (__nscd_innetgr): Declare.
39904 * nscd/selinux.c (perms): Use access_vector_t as element type and
39905 add netgroup-related initializers.
39906 * nscd/netgroupcache.c: New file.
39907 * nscd/nscd_netgroup.c: New file.
39908 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39909 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39910 For four parameters use innetgr.
39911 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39912 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39913 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39914 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39915
21fd49a9
UD
39916 * nscd/connections.c (register_traced_file): Don't register file
39917 for disabled databases.
39918
054c0457
UD
399192011-10-06 Ulrich Drepper <drepper@gmail.com>
39920
32b63198
UD
39921 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39922
054c0457
UD
39923 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39924 from tree and freeing node.
39925
64031225
JO
399262011-09-25 Jiri Olsa <jolsa@redhat.com>
39927
39928 * nss/nsswitch.c (__nss_database_lookup): Handle
39929 nss_parse_service_list out of memory case.
39930
0490345c
JO
399312011-09-15 Jiri Olsa <jolsa@redhat.com>
39932
39933 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39934 out of memory case.
39935
3a62d00d
AS
399362011-10-04 Andreas Schwab <schwab@redhat.com>
39937
39938 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39939 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39940 pass it down.
39941 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39942 elf_machine_rela, elf_machine_lazy_rel.
39943 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39944 (ELF_DYNAMIC_DO_REL): Likewise.
39945 (ELF_DYNAMIC_DO_RELA): Likewise.
39946 (ELF_DYNAMIC_RELOCATE): Likewise.
39947 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39948 to ELF_DYNAMIC_DO_REL.
39949 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39950 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39951 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39952 elf_machine_rela.
39953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39954 skip_ifunc, don't call ifunc function if non-zero.
39955 (elf_machine_rela): Likewise.
39956 (elf_machine_lazy_rel): Likewise.
39957 (elf_machine_lazy_rela): Likewise.
39958 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39959 (elf_machine_lazy_rel): Likewise.
39960 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39961 Likewise.
39962 (elf_machine_lazy_rel): Likewise.
39963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39964 Likewise.
39965 (elf_machine_lazy_rel): Likewise.
39966 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39967 (elf_machine_lazy_rel): Likewise.
39968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39969 (elf_machine_lazy_rel): Likewise.
39970 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39971 (elf_machine_lazy_rel): Likewise.
39972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39973 (elf_machine_lazy_rel): Likewise.
39974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39975 (elf_machine_lazy_rel): Likewise.
39976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39977 (elf_machine_lazy_rel): Likewise.
39978
68577918
UD
399792011-09-28 Ulrich Drepper <drepper@gmail.com>
39980
39981 * nss/nss_files/files-init.c (_nss_files_init): Use static
39982 initialization for all the *_traced_file variables.
39983
68822d74
AS
399842011-09-28 Andreas Schwab <schwab@redhat.com>
39985
39986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39987
2056100b
RM
399882011-09-27 Roland McGrath <roland@hack.frob.com>
39989
39990 [BZ #13226]
39991 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39992
32c76b63
AS
399932011-09-27 Andreas Schwab <schwab@redhat.com>
39994
39995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39996 Reread the line before reparsing it.
39997
bf972c9d
AS
399982011-09-26 Andreas Schwab <schwab@redhat.com>
39999
40000 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40001
e057a1b5
JM
400022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40003 Maxim Kuvyrkov <maxim@codesourcery.com>
40004 Joseph Myers <joseph@codesourcery.com>
40005
40006 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40007 if needed for __stack_chk_guard.
40008
bc7e1c36
RM
400092011-09-19 Roland McGrath <roland@hack.frob.com>
40010
ecb1482f
RM
40011 * sysdeps/posix/spawni.c (script_execute): Always define it.
40012 It will be optimized away if unused.
40013 (maybe_script_execute): New function.
40014 (__spawni): Call it.
40015
bc7e1c36
RM
40016 * Makerules: Don't include tls.make.
40017 (config-tls): Always set to thread.
40018 * tls.make.c: File removed.
40019
1c3b002b
MF
400202011-09-19 Mike Frysinger <vapier@gentoo.org>
40021
40022 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40023 * config.make.in (CPPFLAGS-config): New substituted variable.
40024
2840865d
UD
400252011-09-15 Ulrich Drepper <drepper@gmail.com>
40026
88738eb6
UD
40027 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40028
cbf645a6 40029 [BZ #13192]
2840865d
UD
40030 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40031 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40032
b402e91a
RM
400332011-09-15 Roland McGrath <roland@hack.frob.com>
40034
40035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40036 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40038 (CALL_FAIL): Likewise.
40039 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40040 (CALL_FAIL): Macro removed.
40041 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40042
4c1a1f71
UD
400432011-09-15 Ulrich Drepper <drepper@gmail.com>
40044
40045 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40046 for __FINITE_MATH_ONLY__ == 1.
40047
edc121be
AS
400482011-09-15 Andreas Schwab <schwab@redhat.com>
40049
40050 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40051 __ieee754_sqrt instead of sqrt.
40052 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40053 __ieee754_sqrtf instead of sqrtf.
40054 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40055 __floorf instead of floorf.
40056 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40057 __floorf, __truncf instead of floorf, truncf.
40058
cd205654
UD
400592011-09-14 Ulrich Drepper <drepper@gmail.com>
40060
ee4d0315
UD
40061 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40062
cd205654
UD
40063 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40064 __extern_always_inline.
40065 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40066 32-bit.
40067
48b67d71
AS
400682011-09-14 Andreas Schwab <schwab@redhat.com>
40069
40070 * elf/rtld.c (dl_main): Also relocate in dependency order when
40071 doing symbol dependency testing.
40072
1ae12c75
AS
400732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40074
40075 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40076 Always define `refsym'.
40077
995a80df
AS
400782011-09-13 Andreas Schwab <schwab@redhat.com>
40079
e529793b
AS
40080 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40081 (__FD_ELT): Renamed from __FDELT.
40082 * misc/bits/select2.h (__FD_ELT): Likewise.
40083 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40084 __FD_MASK instead of __FDELT, __FDMASK.
40085 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40086 Likewise.
40087 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40088 Likewise.
40089
52d4fef8
AS
40090 * elf/Makefile (gen-ldd): Fix pattern.
40091
995a80df
AS
40092 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40093 (init_tls): Likewise.
40094
8682f8b0
UD
400952011-09-12 Ulrich Drepper <drepper@gmail.com>
40096
40097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40098
de82006d
AS
400992011-09-12 Andreas Schwab <schwab@redhat.com>
40100
a7c8e6a1
AS
40101 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40102 `struct cmsghdr *' instead of `void *'.
40103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40104 Likewise.
40105
0f31fe77
AS
401062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40107
40108 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40109 if non-absolute.
40110 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40111 ldd_rewrite_script.
0f31fe77 40112
32b4c839
UD
401132011-09-11 Ulrich Drepper <drepper@gmail.com>
40114
83cd1420
UD
40115 * configure.in: Remove --with-tls option.
40116 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40117 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40118 out in case it is missing.
40119 * sysdeps/ia64/elf/configure.in: Likewise.
40120 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40121 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40122 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40123 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40124 * sysdeps/sh/elf/configure.in: Likewise.
40125 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40126 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40127 * sysdeps/x86_64/elf/configure.in: Likewise.
40128 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40129 * sysdeps/mach/hurd/tls.h: Likewise.
40130
633f745d
UD
40131 [BZ #13067]
40132 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40133
f318beb8
UD
40134 [BZ #13090]
40135 * configure.in: Fix use of AC_INIT.
40136
32b4c839
UD
40137 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40138
3ce1f295
UD
401392011-09-10 Ulrich Drepper <drepper@gmail.com>
40140
bb016596
UD
40141 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40142 __set_errno.
8e58439c
UD
40143 * malloc/hooks.c: Likewise.
40144
aebae053 40145 [BZ #11929]
02d46fc4
UD
40146 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40147 variables statically.
40148 (narenas): Initialize.
40149 (list_lock): Initialize.
bb016596
UD
40150 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40151 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40152 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40153 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40154 Add initializers to main_arena and mp_.
40155 (malloc_state): Remove pagesize member. Change all users to use
40156 GLRO(dl_pagesize).
40157
40158 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40159 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40160 is always initialized.
40161
22a89187
UD
40162 * malloc/malloc.c: Removed unused configurations and dead code.
40163 * malloc/arena.c: Likewise.
40164 * malloc/hooks.c: Likewise.
02d46fc4 40165 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40166
d063d164
UD
40167 * include/tls.h: Removed. USE___THREAD must always be defined.
40168 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40169 * elf/dl-libc.c: Likewise.
40170 * elf/dl-tsd.c: Likewise.
40171 * include/errno.h: Likewise.
40172 * include/netdb.h: Likewise.
40173 * include/resolv.h: Likewise.
40174 * inet/herrno-loc.c: Likewise.
40175 * inet/herrno.c: Likewise.
40176 * malloc/arena.c: Likewise.
40177 * malloc/hooks.c: Likewise.
40178 * malloc/malloc.c: Likewise.
40179 * resolv/res-state.c: Likewise.
40180 * resolv/res_libc.c: Likewise.
40181 * sysdeps/i386/dl-machine.h: Likewise.
40182 * sysdeps/ia64/dl-machine.h: Likewise.
40183 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40184 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40185 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40186 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40187 * sysdeps/sh/dl-machine.h: Likewise.
40188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40189 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40190 * sysdeps/unix/i386/sysdep.S: Likewise.
40191 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40192 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40197 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40201 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40202 * sysdeps/x86_64/dl-machine.h: Likewise.
40203 * tls.make.c: Likewise.
40204
3ce1f295
UD
40205 * configure.in: Remove --with-__thread option. Make tests for
40206 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40207 tls_model attribute fail if no support is available. Remove
40208 USE_IN_LIBIO.
40209 * Makeconfig: Adjust for dropped configure option. All features are
40210 now mandatory.
40211 * Makerules: Likewise.
40212 * Versions.def: Likewise.
40213 * argp/argp-fmtstream.c: Likewise.
40214 * argp/argp-fmtstream.h: Likewise.
40215 * argp/argp-help.c: Likewise.
40216 * assert/assert.c: Likewise.
40217 * config.h.in: Likewise.
40218 * config.make.in: Likewise.
40219 * configure: Likewise.
40220 * configure.in: Likewise.
40221 * csu/Versions: Likewise.
40222 * csu/init.c: Likewise.
40223 * elf/tst-audit2.c: Likewise.
40224 * elf/tst-tls10.c: Likewise.
40225 * elf/tst-tls10.h: Likewise.
40226 * elf/tst-tls11.c: Likewise.
40227 * elf/tst-tls12.c: Likewise.
40228 * elf/tst-tls14.c: Likewise.
40229 * elf/tst-tlsmod11.c: Likewise.
40230 * elf/tst-tlsmod12.c: Likewise.
40231 * elf/tst-tlsmod13.c: Likewise.
40232 * elf/tst-tlsmod13a.c: Likewise.
40233 * elf/tst-tlsmod14a.c: Likewise.
40234 * elf/tst-tlsmod15b.c: Likewise.
40235 * elf/tst-tlsmod16a.c: Likewise.
40236 * elf/tst-tlsmod16b.c: Likewise.
40237 * elf/tst-tlsmod7.c: Likewise.
40238 * elf/tst-tlsmod8.c: Likewise.
40239 * elf/tst-tlsmod9.c: Likewise.
40240 * gmon/gmon.c: Likewise.
40241 * grp/fgetgrent_r.c: Likewise.
40242 * grp/putgrent.c: Likewise.
40243 * hurd/fopenport.c: Likewise.
40244 * include/libc-symbols.h: Likewise.
40245 * include/tls.h: Likewise.
40246 * intl/gettextP.h: Likewise.
40247 * intl/loadinfo.h: Likewise.
40248 * locale/global-locale.c: Likewise.
40249 * locale/localeinfo.h: Likewise.
40250 * mach/devstream.c: Likewise.
40251 * malloc/arena.c: Likewise.
40252 * malloc/set-freeres.c: Likewise.
40253 * misc/err.c: Likewise.
40254 * misc/getttyent.c: Likewise.
40255 * misc/mntent_r.c: Likewise.
40256 * posix/getopt.c: Likewise.
40257 * posix/wordexp.c: Likewise.
40258 * pwd/fgetpwent_r.c: Likewise.
40259 * resolv/Versions: Likewise.
40260 * resolv/res_hconf.c: Likewise.
40261 * shadow/fgetspent_r.c: Likewise.
40262 * shadow/putspent.c: Likewise.
40263 * stdio-common/printf_fphex.c: Likewise.
40264 * stdio-common/tmpfile.c: Likewise.
40265 * stdlib/abort.c: Likewise.
40266 * stdlib/fmtmsg.c: Likewise.
40267 * sunrpc/auth_unix.c: Likewise.
40268 * sunrpc/clnt_perr.c: Likewise.
40269 * sunrpc/clnt_tcp.c: Likewise.
40270 * sunrpc/clnt_udp.c: Likewise.
40271 * sunrpc/clnt_unix.c: Likewise.
40272 * sunrpc/openchild.c: Likewise.
40273 * sunrpc/svc_simple.c: Likewise.
40274 * sunrpc/svc_tcp.c: Likewise.
40275 * sunrpc/svc_udp.c: Likewise.
40276 * sunrpc/svc_unix.c: Likewise.
40277 * sunrpc/xdr.c: Likewise.
40278 * sunrpc/xdr_array.c: Likewise.
40279 * sunrpc/xdr_rec.c: Likewise.
40280 * sunrpc/xdr_ref.c: Likewise.
40281 * sunrpc/xdr_stdio.c: Likewise.
40282
1248c1c4
PB
402832011-09-09 Ulrich Drepper <drepper@gmail.com>
40284
40285 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40286
402872011-07-03 Andreas Jaeger <aj@suse.de>
40288
40289 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40290 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40291 regenerate with gen-libm-tests.pl.
40292
402932010-05-12 Petr Baudis <pasky@suse.cz>
40294
40295 [BZ #11589]
40296 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40297 around j0() zero points by switching to j1().
40298 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40302
f22e1074
UD
403032011-09-09 Ulrich Drepper <drepper@gmail.com>
40304
f19009c1
UD
40305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40306 instead of 0.
40307 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40308 instead of 0.
f19009c1
UD
40309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40310 Patch in part by Pavel Roskin <proski@gnu.org>.
40311
3f8cc204
UD
40312 [BZ #13138]
40313 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40314 realloc.
40315 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40316 Free memory block if necessary.
40317
f22e1074
UD
40318 [BZ #12847]
40319 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40320 be NULL. Don't lock in this case.
40321
0a2349f9
RM
403222011-09-09 Roland McGrath <roland@hack.frob.com>
40323
40324 * elf/elf.h (ELFOSABI_GNU): New macro.
40325 (ELFOSABI_LINUX): Define to that.
40326
f3cdd467
DZ
403272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40328
40329 * string/strncat.c (strncat): Undef the symbol in case it has been
40330 defined in bits/string.h.
40331
74718d13
UD
403322011-09-09 Ulrich Drepper <drepper@gmail.com>
40333
633e9e0f
UD
40334 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40335
0a2349f9 40336 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40337 link map.
40338
f9924780
AJ
403392011-08-17 Andreas Jaeger <aj@suse.de>
40340
40341 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40342
7f5517aa
PP
403432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40344 Ian Lance Taylor <iant@google.com>
40345
40346 * math/libm-test.inc (lround_test): New testcase.
40347 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40348
762011fe
UD
403492011-09-08 Ulrich Drepper <drepper@gmail.com>
40350
92963737
UD
40351 * Makefile: Remove support for automatic cvs check-ins.
40352 * Makerules: Likewise.
40353 * config.make.in: Likewise.
40354 * configure.in: Likewise.
40355 * intl/Makefile: Likewise.
40356 * locale/Makefile: Likewise.
40357 * po/Makefile: Likewise.
40358 * posix/Makefile: Likewise.
40359 * sysdeps/gnu/Makefile: Likewise.
40360 * sysdeps/mach/hurd/Makefile: Likewise.
40361 * sysdeps/sparc/sparc32/Makefile: Likewise.
40362
b0727fd8
JS
40363 [BZ #13118]
40364 * posix/Makefile (bug-regex32-ENV): Define.
40365 Patch by John Stanley <jpsinthemix@verizon.net>.
40366
a0f33f99
UD
40367 * misc/Makefile (headers): Add bits/select2.h.
40368 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40369 * misc/bits/select2.h: New file.
40370 * include/bits/select2.h: New file.
40371 * debug/Makefile (routines): Add fdelt_chk.
40372 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40373 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40374 FD_ISSET.
40375 * debug/fdelt_chk.c: New file.
40376
762011fe
UD
40377 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40378 * wcsmbs/test-wmemcmp.c: Likewise.
40379 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40380 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40381
403822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40383
40384 * string/Makefile (strop-tests): Add memcmp.
40385 * string/test-wmemcmp.c: New file.
40386 * string/test-memcmp.c: Add wmemcmp support.
40387
7f513ec8
RM
403882011-09-08 Roland McGrath <roland@hack.frob.com>
40389
0442afb4
RM
40390 [BZ #13153]
40391 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40392 2011-07-19 change.
40393
7f513ec8
RM
40394 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40395 garbage value in a __mach_port_mod_refs call in the cases of the
40396 task-self and thread-self ports.
40397
a12b2239
ST
403982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40399
40400 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40401
610f9ab4
AS
404022011-09-08 Andreas Schwab <schwab@redhat.com>
40403
7f513ec8 40404 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40405
48882a1a
LD
404062011-09-07 Ulrich Drepper <drepper@gmail.com>
40407
b49865be
UD
40408 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40409
fdc86bc9
UD
40410 * elf/dl-libc.c (dlerror_run): Pass back error code from
40411 dl_catch_error.
40412
c966526a
UD
40413 [BZ #13123]
40414 * elf/dl-load.c (lose): Free l_origin if it is valid.
40415
48882a1a
LD
40416 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40417 names.
40418 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40421 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40422 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40423 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40424
77a2a8b4
AZ
404252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40426
40427 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40428 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40430 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40431 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40432 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40433 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40434 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40435 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40436 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40437
24f579d8
AM
404382011-08-15 Alan Modra <amodra@gmail.com>
40439
40440 [BZ #13092]
40441 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40442 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40443 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40444 ppc_mcount to static-only-routines.
40445 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40446 __mcount_internal.
40447 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40448 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40449
3d4837df
UD
404502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40451
40452 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40453 for finite and infinity parameters.
40454
22700377
WS
404552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40456
40457 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40458 and add nop instructions for throughput optimization.
40459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40460
5025581e
WS
404612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40462
40463 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40464 aligned copy for power7 with vector-scalar instructions.
40465 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40466
08a300c9
L
404672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40468
40469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40470 AVX check.
40471
59178ef9
AS
404722011-09-07 Andreas Schwab <schwab@redhat.com>
40473
40474 [BZ #13144]
40475 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40476 last change.
40477
e38ba7ab
UD
404782011-09-07 Ulrich Drepper <drepper@gmail.com>
40479
40480 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40481 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40482 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40483 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40484 clock_gettime.
40485
d53a73ac
UD
404862011-09-06 Ulrich Drepper <drepper@gmail.com>
40487
fc8bffcc
UD
40488 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40489 Forgot to demangle the pointer.
40490
ceaa0c5d
UD
40491 * sysdeps/i386/sysdep.h: Define atom_text_section.
40492 * sysdeps/x86_64/sysdep.h: Likewise.
40493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40494 section with atom_text_section.
40495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40496 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40497 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40500
a77d3c17
UD
40501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40503 already be defined. Change to take two parameters and don't assign
40504 result to variable. Adjust all users.
40505 Define INTERNAL_GETTIME if not already defined.
40506 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40507 call.
40508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40509 HAVE_CLOCK_GETTIME_VSYSCALL.
40510 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40511
d53a73ac
UD
40512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40513 gettimeofday vsyscall, just use time.
40514
a8f84144
AS
405152011-09-06 Andreas Schwab <schwab@redhat.com>
40516
40517 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40518 <errno.h>.
40519
ef606249
UD
405202011-09-06 Ulrich Drepper <drepper@gmail.com>
40521
40522 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40523 syscall on x86-64.
40524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40525 syscall.
40526 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40528 syscall if possible.
40529
6585cb60
UD
405302011-09-05 Ulrich Drepper <drepper@gmail.com>
40531
40532 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40533 e_ident. Don't pass to find_mapsXX.
40534 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40535
a5f524e4
LD
405362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40537
40538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40539 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40540 * sysdeps/x86_64/multiarch/strchr.S: Update.
40541 Check bit_slow_BSF bit.
40542 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40543 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40544 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40545
554881ef
UD
405462011-09-05 Ulrich Drepper <drepper@gmail.com>
40547
d96de963
UD
40548 [BZ #13134]
40549 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40550 before glibc 2.15.
40551 (tryshell): Define.
40552 (__spawni): Change last parameter to be flag. Test
40553 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40554 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40555 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40556 * posix/spawni.c: Likewise.
40557 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40558 * posix/spawnp.c: Likewise. Change normal version to use
40559 SPAWN_XFLAGS_USE_PATH.
40560 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40561 SPAWN_XFLAGS_TRY_SHELL.
40562
d48e5868
UD
40563 [BZ #13150]
40564 * posix/glob.h: Remove gcc 1.x support.
40565
554881ef
UD
40566 [BZ #13068]
40567 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40568
693fb948
LD
405692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40570
40571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40572 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40573 strrchr-sse2-bsf
40574 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40575 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40576 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40577 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40578 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40579 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40580
1b48c537
UD
405812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40582
49d42c37
UD
40583 * sysdeps/x86_64/wcscmp.S: New file.
40584
1b48c537
UD
40585 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40586 wcscmp-c wcscmp-sse2
40587 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40588 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40589 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40590 * wcsmbs/wcscmp.c: Allow renaming.
40591
15c95c5d
DM
405922011-09-05 David S. Miller <davem@davemloft.net>
40593
40594 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40595 stack slot, rather than the struct return pointer slot.
40596 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40597 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40599 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40600
2f0ad8f3
UD
406012011-09-05 Ulrich Drepper <drepper@gmail.com>
40602
d88ae418
UD
40603 * po/ja.po: Update from translation team.
40604
2f0ad8f3
UD
40605 [BZ #13144]
40606 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40607 kernel in 64-bit binaries.
40608
5f4318d1
DM
406092011-09-01 David S. Miller <davem@davemloft.net>
40610
40611 * elf/elf.h (HWCAP_SPARC_*): Move to..
40612 * sysdeps/sparc/sysdep.h: this new file and add new values.
40613 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40614 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40615 _DL_HWCAP_COUNT to 24.
40616 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40617 entries.
40618 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40619 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40620 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40622 instead of magic constants.
40623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40624
3ba57516
DM
406252011-08-31 David S. Miller <davem@davemloft.net>
40626
40627 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40629 Reimplement to do errno handling inline.
40630 (SYSCALL_ERROR_HANDLER): New macro.
40631 (__SYSCALL_STRING): Do not do errno handling in asm.
40632 (__CLONE_SYSCALL_STRING): Delete.
40633 (__INTERNAL_SYSCALL_STRING): Delete.
40634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40635 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40636 (PSEUDO): Reimplement to do errno handling inline.
40637 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40638 (SYSCALL_ERROR_HANDLER): New macro.
40639 (__SYSCALL_STRING): Do not do errno handling in asm.
40640 (__CLONE_SYSCALL_STRING): Delete.
40641 (__INTERNAL_SYSCALL_STRING): Delete.
40642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40643 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40644 i386.
40645 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40646 (inline_syscall*): Add 'err' argument.
40647 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40648 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40649 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40650 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40651
40652 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40653 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40654
2bc17433
AS
406552011-08-30 Andreas Schwab <schwab@redhat.com>
40656
40657 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40658
fbeb5f4d
JO
406592011-08-29 Jiri Olsa <jolsa@redhat.com>
40660
40661 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40662 directive.
40663
ad69cc26
DM
406642011-08-24 David S. Miller <davem@davemloft.net>
40665
40666 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40667
39dd69df
AS
406682011-08-24 Andreas Schwab <schwab@redhat.com>
40669
40670 * elf/Makefile: Add rules to build and run unload8 test.
40671 * elf/unload8.c: New file.
40672 * elf/unload8mod1.c: New file.
40673 * elf/unload8mod1x.c: New file.
40674 * elf/unload8mod2.c: New file.
40675 * elf/unload8mod3.c: New file.
40676
40677 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40678 it wasn't used.
40679
2c0b250a
DM
406802011-08-23 David S. Miller <davem@davemloft.net>
40681
40682 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40683 subtract stack bias.
40684 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40685 %sp not %fp in calculations.
40686 (_JMPBUF_UNWINDS_ADJ): Likewise.
40687
22044b48
DM
40688 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40689 (aio_suspend): Call it to force an exception region around the
40690 AIO_MISC_WAIT() invocation.
40691
2cae4995
AS
406922011-08-23 Andreas Schwab <schwab@redhat.com>
40693
40694 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40695 backslash.
40696
873a772e
AJ
406972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40698
40699 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40700 protection macro.
40701 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40702 and <dl-machine.h>.
40703 (Elf64_FuncDesc): Remove.
40704
25ad0df1
DM
407052011-08-22 David S. Miller <davem@davemloft.net>
40706
40707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40708 sigaltstack check, add missing cfi directives.
40709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40710 missing cfi directives, and sigaltstack handling.
40711
e888bcbe
AS
407122011-08-16 Andreas Schwab <schwab@redhat.com>
40713
40714 [BZ #11724]
40715 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40716 object is seen twice.
40717 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40718
40719 * elf/Makefile (distribute): Add tst-initorder2.c.
40720 (tests): Add tst-initorder2.
40721 (modules-names): Add tst-initorder2a tst-initorder2b
40722 tst-initorder2c tst-initorder2d. Add rules to build them.
40723 ($(objpfx)tst-initorder2.out): New rule.
40724 * elf/tst-initorder2.c: New file.
40725 * elf/tst-initorder2.exp: New file.
40726
87162f46
AS
407272011-08-22 Andreas Schwab <schwab@redhat.com>
40728
70538b7f
AS
40729 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40730
f55ffe58
AS
40731 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40732 dependencies back to end of function.
40733
87162f46
AS
40734 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40735 $(elfobjdir)/ld.so.
40736
91b392a4
UD
407372011-08-21 Ulrich Drepper <drepper@gmail.com>
40738
40739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40740 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40742 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40743 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40744 of __vdso_gettimeofday.
40745 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40746 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40747 attribute_hidden.
40748 (_libc_vdso_platform_setup): Remove initialization of
40749 __vdso_gettimeofday and __vdso_time.
40750
5c43483f
UD
407512011-08-20 Ulrich Drepper <drepper@gmail.com>
40752
775a77e7
UD
40753 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40754 and fgetc_unlocked.
40755 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40756 getc_unlocked.
89f447ed 40757
49c74ba9
UD
40758 * elf/dl-open.c (add_to_global): Report additions to the global scope
40759 for LD_DEBUG=scopes.
40760 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40761 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40762
5c43483f
UD
40763 [BZ #13114]
40764 * stdio-common/Makefile (tests): Add bug24.
40765 * stdio-common/bug24.c: New file.
40766
a101b025
AJ
407672011-08-19 Andreas Jaeger <aj@suse.de>
40768
40769 [BZ #13114]
40770 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40771 non-existant file when using close-on-exec mode.
40772
c88f1766
UD
407732011-08-20 Ulrich Drepper <drepper@gmail.com>
40774
0276a718
UD
40775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40776 the very first instruction.
40777
c88f1766
UD
40778 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40779 the CFI state in the end.
40780 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40781 inclusion of dl-trampoline.h.
40782 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40783
51ccffa0
AS
407842011-08-19 Andreas Schwab <schwab@redhat.com>
40785
94d7165f
AS
40786 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40787 expectations for long double.
40788
51ccffa0
AS
40789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40790 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40791
fd708658 407922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40793
40794 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40795 artificual limit depends upon the system page size.
40796
44f0a71e
UD
407972011-08-17 Ulrich Drepper <drepper@gmail.com>
40798
40799 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40800 * resolv/Makefile: Define CFLAGS-libresolv.
40801
8de79a24
AS
408022011-08-17 Andreas Schwab <schwab@redhat.com>
40803
40804 * nss/makedb.c (compute_tables): Make variables used in nested
40805 function static.
40806
27724598
UD
408072011-08-17 Ulrich Drepper <drepper@gmail.com>
40808
c5305d88
UD
40809 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40810 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40811 if buffer was too small.
40812
27724598
UD
40813 * elf/pldd.c (main): Attach to all threads in the process.
40814 Rewrite /proc handling to use *at functions.
40815
076fe015
UD
408162011-08-16 Ulrich Drepper <drepper@gmail.com>
40817
174baab3
UD
40818 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40819 specifies first scope to show.
40820 (dl_open_worker): Update callers. Move printing scope of new
40821 object to before the relocation.
44f0a71e 40822 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40823 * sysdeps/generic/ldsodefs.h: Update declaration.
40824
076fe015
UD
40825 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40826 string for the scope number.
40827
a60df2c3
UD
408282011-08-14 Ulrich Drepper <drepper@gmail.com>
40829
40830 * nscd/servicescache.c (cache_addserv): Make sure written is always
40831 initialized.
40832
5e4287d1
RM
408332011-08-14 Roland McGrath <roland@hack.frob.com>
40834
85ae0589
RM
40835 * sysdeps/i386/i486/bits/atomic.h
40836 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40837 statement expression, so as to suppress "set but not used" warning.
40838 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40839
69f63097
RM
40840 * string/strncat.c (STRNCAT): Use prototype definition.
40841
675456ef
RM
40842 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40843 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40844 -Iprograms here.
40845 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40846 (localedef-modules): Add localedef.
40847 (locale-modules): Add locale.
40848
5e4287d1
RM
40849 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40850 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40851 to avoid a warning.
40852
9c96ff23
DM
408532011-08-14 David S. Miller <davem@davemloft.net>
40854
40855 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40856 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40857
f9ddf089
UD
408582011-08-13 Ulrich Drepper <drepper@gmail.com>
40859
44f0a71e 40860 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40861 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40862 * elf/rtld.c (dl_main): Set l_name of vDSO.
40863 Call _dl_show_scope when DL_DEBUG_SCOPES.
40864 (process_dl_debug): Recognize scopes flag and also set it for all.
40865 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40866 Declare _dl_show_scope.
40867
1dc27704
UD
40868 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40869 (do_dlopen): Pass caller_dlopen to dl_open.
40870 (__libc_dlopen_mode): Initialize caller_dlopen.
40871
f9ddf089
UD
40872 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40873 of libc. Make tolower call locale-independent. Optimize a bit by
40874 using isdigit instead of isalnum.
40875 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40876
9ac533d3
UD
408772011-08-12 Ulrich Drepper <drepper@gmail.com>
40878
40879 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40880 was a dependency or dynamically loaded.
40881
89edf2e9
UD
408822011-08-11 Ulrich Drepper <drepper@gmail.com>
40883
8e999d29
UD
40884 * intl/l10nflist.c: Allow architecture-specific pop function.
40885 * sysdeps/x86_64/l10nflist.c: New file.
40886
89edf2e9
UD
40887 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40888 classification.
40889
14d96785
AS
408902011-08-10 Andreas Schwab <schwab@redhat.com>
40891
40892 * include/dirent.h: Add libc_hidden_proto for scandirat and
40893 scandirat64. Don't declare __scandirat64.
40894 * dirent/scandirat.c: Add libc_hidden_def.
40895 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40896 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40897
6761ac04
DM
408982011-08-10 David S. Miller <davem@davemloft.net>
40899
40900 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40901 enum.
40902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40905
c55fbd1e
UD
409062011-08-09 Ulrich Drepper <drepper@gmail.com>
40907
40908 * Versions.def [libc]: Add GLIBC_2.15.
40909 * dirent/Makefile (routines): Add scandirat and scandirat64.
40910 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40911 GLIBC_2.15.
40912 * dirent/dirent.h: Declare scandirat and scandirat64.
40913 * dirent/scandirat.c: New file.
40914 * dirent/scandirat64.c: New file.
40915 * sysdeps/wordsize-64/scandirat.c: New file.
40916 * sysdeps/wordsize-64/scandirat64.c: New file.
40917 * dirent/opendir.c: Define opendirat.
40918 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40919 using scandirat.
40920 * dirent/scandir64.c: Adjust for scandir.c change.
40921 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40922 __scandirat64, and __scandir_cancel_handler.
40923 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40924 additional parameter and use openat instead of open (outside of ld.so).
40925 Add new __opendir as wrapper around __opendirat.
40926 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40927 here without requiring old scandirat implementation.
40928
879165f2
UD
409292011-08-08 Ulrich Drepper <drepper@gmail.com>
40930
40931 * dirent/scandir.c (cancel_handler): Renamed to
40932 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40933 defined. Adjust users.
40934 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40935 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40936
cb7e923b
UD
409372011-08-04 Ulrich Drepper <drepper@gmail.com>
40938
16292edd
UD
40939 * string/test-string.h (IMPL): Use __STRING to expand name and then
40940 stringify it.
40941
cb7e923b
UD
40942 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40943 of cleanups.
40944
cff82933
LD
409452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40946
40947 * string/Makefile: Update.
40948 (strop-tests): Append strncat.
40949 * string/test-wcscmp.c: New file.
40950 New comprehensive test for wcscmp.
40951 * string/test-strcmp.c: Update.
40952 (WIDE): New define.
40953
9be9bfcc
AS
409542011-07-22 Andreas Schwab <schwab@redhat.com>
40955
40956 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40957 line.
40958
2e96f1c7
AS
409592011-07-26 Andreas Schwab <schwab@redhat.com>
40960
40961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40962 encoding to ACE if AI_IDN.
40963
85188888
JJ
409642011-08-01 Jakub Jelinek <jakub@redhat.com>
40965
40966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40967 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40968
5fa16e9b
LD
409692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40970
40971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40972 Fix overflow bug in strncat.
40973 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40974
40975 * string/test-strncat.c: Update.
40976 Add new tests for checking overflow bugs.
40977
409782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40979
40980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40981 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40982 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40983 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40984 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40985 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40986 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40987 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40988 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40989
40990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40991 (USE_AS_STRCAT): Define.
40992 Add strcat and strncat support.
40993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40994
8c1a459f
AS
409952011-07-25 Andreas Schwab <schwab@redhat.com>
40996
40997 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40998 __n bigger than INT_MAX+1.
40999 (__strncmp_g): Likewise.
41000
bba33c28
UD
410012011-07-23 Ulrich Drepper <drepper@gmail.com>
41002
798be72d
UD
41003 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41004 * libio/stido.h: Likewise.
41005
8accd4dc
UD
41006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41007 (AF_NFC): Define.
41008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41009 (AF_NFC): Define.
41010
cbff0d96
UD
41011 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41016
9191c04a
UD
41017 [BZ #13021]
41018 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41019 installed.
41020
bba33c28
UD
41021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41022 typo.
41023 (_dl_x86_64_save_sse): Likewise.
41024
90f139dd
UD
410252011-07-22 Ulrich Drepper <drepper@gmail.com>
41026
1aae088a
UD
41027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41028 OSXSAVE.
41029 (_dl_x86_64_save_sse): Likewise.
41030
8e2045f5
UD
41031 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41032
90f139dd
UD
41033 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41034
1d002f25
AS
410352011-07-21 Andreas Schwab <schwab@redhat.com>
41036
41037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41038 change.
41039 (_dl_x86_64_save_sse): Use correct AVX check.
41040
21137f89
UD
410412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41042
41043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41044 bug in strncpy/strncat.
41045 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41046
a65c0b7a
UD
410472011-07-21 Ulrich Drepper <drepper@gmail.com>
41048
41049 * string/tester.c (test_strcat): Add tests for different alignments
41050 of source and destination.
41051 (test_strncat): Likewise.
41052
6986b98a
UD
410532011-07-20 Ulrich Drepper <drepper@gmail.com>
41054
90bb2039
UD
41055 [BZ #12852]
41056 * posix/glob.c (glob): Check passed in values before using them in
41057 expressions to avoid some overflows.
41058 (glob_in_dir): Likewise.
41059
5644ef54
UD
41060 [BZ #13007]
41061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41062 check for AVX enablement so that we don't crash with old kernels and
41063 new hardware.
41064 * elf/tst-audit4.c: Add same checks here.
41065 * elf/tst-audit6.c: Likewise.
41066
41067 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41068
bfc9dc9b
AS
410692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41070
41071 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41072
702e64bb
UD
410732011-07-20 Ulrich Drepper <drepper@gmail.com>
41074
41075 * po/cs.po: Update from translation team.
41076 * po/bg.po: Likewise.
41077
295e904f
MP
410782011-07-12 Marek Polacek <mpolacek@redhat.com>
41079
41080 * misc/sys/cdefs.h: Add support for const attribute.
41081 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41082 to gnu_dev_{major,minor,makedev} functions.
41083
3ff94596
MP
410842011-07-20 Marek Polacek <mpolacek@redhat.com>
41085
41086 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41087
28b59fca
AS
410882011-07-20 Andreas Schwab <schwab@redhat.com>
41089
41090 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41091 strlen results.
41092
19df733e
AK
410932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41094
41095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41096 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41097 register in order to avoid conflicts with the soft frame pointer
41098 being held in r11 when necessary.
41099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41100 (INTERNAL_VSYSCALL_NCS): Likewise.
41101
c8835729
MP
411022011-07-14 Marek Polacek <mpolacek@redhat.com>
41103
41104 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41105 * elf/dl-fini.c (_dl_fini): Adjust caller.
41106 * elf/dl-close.c (_dl_close_worker): Likewise.
41107 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41108
b902330c
MP
411092011-07-15 Marek Polacek <mpolacek@redhat.com>
41110
8991e135
MP
41111 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41112 "aux_cache->nlibs < 0".
41113
b902330c
MP
41114 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41115 in the reload-count case.
41116
99710781
LD
411172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41118
41119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41120 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41121 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41122 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41123 * sysdeps/x86_64/multiarch/strcat.S: New file.
41124 * sysdeps/x86_64/multiarch/strncat.S: New file.
41125 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41127 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41128 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41130 (USE_AS_STRCAT): Define.
41131 Add strcat and strncat support.
41132 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41133 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41134 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41135 * string/strncat.c: Update.
41136 (USE_AS_STRNCAT): Define.
41137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41138 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41139 and i7.
41140 * sysdeps/x86_64/multiarch/init-arch.h
41141 (bit_Prefer_PMINUB_for_stringop): New.
41142 (index_Prefer_PMINUB_for_stringop): Likewise.
41143 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41144 bit_Prefer_PMINUB_for_stringop.
41145
7dc6bd90
UD
411462011-07-19 Ulrich Drepper <drepper@gmail.com>
41147
41148 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41149 buffer64.
41150 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41151 of casting of buffer.
41152 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41153 buffer32 and buffer64.
41154 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41155 writes instead of casting of buffer.
41156 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41157 buffer32.
41158 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41159 casting of buffer.
41160
e0e72284
AS
411612011-07-19 Andreas Schwab <schwab@redhat.com>
41162
41163 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41164
feb1eb0b
UD
411652011-07-19 Ulrich Drepper <drepper@gmail.com>
41166
41167 * nscd/nscd.c (termination_handler): Don't do anything for a database
41168 if it has not yet been initialized.
41169
298711ff
UD
411702011-07-18 Ulrich Drepper <drepper@gmail.com>
41171
41172 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41173
411742011-07-15 Marek Polacek <mpolacek@redhat.com>
41175
41176 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41177
f9d68389
UD
411782011-07-18 Ulrich Drepper <drepper@gmail.com>
41179
41180 * po/nl.po: Update from translation team.
41181 * po/sv.po: Likewise.
41182
db290cf5
RM
411832011-07-16 Roland McGrath <roland@hack.frob.com>
41184
41185 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41186 now disallowed by GCC.
5c550700 41187
fd5e21c7
RM
41188 * configure.in (use-default-link): Default to yes if a test -shared
41189 link meets our qualifications.
41190 * configure: Regenerated.
41191
5c550700
RM
41192 * config.make.in (output-format): New variable.
41193 * configure.in: Check for ld --print-output-format support.
41194 * configure: Regenerated.
41195 * Makerules ($(common-objpfx)format.lds)
41196 [$(output-format) != unknown]: Just use $(output-format),
41197 instead of the linker-script munging.
41198
9fa2c032
RM
411992011-07-14 Roland McGrath <roland@hack.frob.com>
41200
a6928d51
RM
41201 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41202 of $(common-objpfx)shlib.lds.
41203 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41204
661607b3
RM
41205 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41206 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41207
9fa2c032
RM
41208 * configure.in (-z relro check): Adjust test code to add a large
41209 writable data section after it.
41210 * configure: Regenerated.
41211
defe9061
RM
412122011-07-11 Roland McGrath <roland@hack.frob.com>
41213
41214 * configure.in (-z relro check): Fix test code to make the variable
41215 truly const.
41216 * configure: Regenerated.
41217
319b9ad4
UD
412182011-07-11 Ulrich Drepper <drepper@gmail.com>
41219
41220 * nscd/nscd.h (struct traced_file): Define.
41221 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41222 elements. Add traced_files.
41223 (inotify_fd): Declare.
41224 (register_traced_file): Declare.
41225 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41226 (inotify_fd): Export.
41227 (resolv_conf_descr): Remove.
41228 (nscd_init): Move inotify descriptor creation to main.
41229 Don't register files for notification here.
41230 (register_traced_file): New function.
41231 (invalidate_cache): Don't use reset_res to determine whether to call
41232 res_init, go through the list of registered files.
41233 (main_loop_poll): The inotify descriptors are now stored in the
41234 structures for the traced files.
41235 (main_loop_epoll): Likewise
41236 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41237 to __nss_disable_nscd.
41238 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41239 for a database anymore. Check the records for all the registered
41240 files instead.
41241 * nss/Makefile (libnss_files-routines): Add files-init.
41242 (libnss_db-routines): Add db-init.
41243 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41244 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41245 * nss/nss_db/db-init.c: New file.
41246 * nss/nss_files/files-init.c: New file.
41247 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41248 __nss_lookup_function.
41249 (__nss_lookup_function): Call nss_load_library.
41250 (nss_load_all_libraries): New function.
41251 (__nss_disable_nscd): Take parameter with callback function for files
41252 to register. Set is_nscd. Load all the DSOs for the NSS modules
41253 used for the cached services.
41254 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41255 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41256 options for features to all the files in nscd.
41257
41258 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41259
23bee3e8
RM
412602011-07-10 Roland McGrath <roland@hack.frob.com>
41261
41262 * csu/elf-init.c (__libc_csu_init): Comment typo.
41263
46a5b7f0
UD
412642011-07-09 Ulrich Drepper <drepper@gmail.com>
41265
41266 * po/pl.po: Update from translation team.
41267 * po/ja.po: Likewise.
41268 * po/ru.po: Likewise.
41269 * po/ko.po: Likewise.
41270 * po/fr.po: Likewise.
41271
d30cf5bb
RM
412722011-07-09 Roland McGrath <roland@hack.frob.com>
41273
113ddea4
RM
41274 * configure.in (.ctors/.dtors header and trailer check):
41275 Use an empirical test on a built program.
41276 * configure: Regenerated.
41277
574920b4
RM
41278 * configure.in (-z relro check): Use an empirical test on a built DSO.
41279 Detect, but do not require, on ia64.
41280 * configure: Regenerated.
41281
d30cf5bb
RM
41282 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41283 Update tests that use readelf to use $READELF instead.
41284 * configure: Regenerated.
41285
8538fdb3
UD
412862011-07-08 Ulrich Drepper <drepper@gmail.com>
41287
41288 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41289 if the result is not used.
41290
04d08991
AJ
412912011-07-05 Andreas Jaeger <aj@suse.de>
41292
41293 [BZ#9696]
41294 * stdlib/tst-strtod.c: Add testcase.
41295
de283087
AD
412962011-07-07 Ulrich Drepper <drepper@gmail.com>
41297
4e5f31c8 41298 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41299 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41300 The latter has a higher limit. Take additional parameter to pass to
41301 the new function.
41302 (__pathconf): Pass file to __statfs_link_max.
41303 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41304 __statfs_link_max.
41305 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41306 __statfs_link_max.
41307
de283087
AD
41308 [BZ #12868]
41309 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41311 Handle Lustre.
41312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41313 (__statfs_filesize_max): Likewise.
41314 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41315
c75fa153
AJ
413162011-07-05 Andreas Jaeger <aj@suse.de>
41317
41318 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41319
1a544854
UD
413202011-07-06 Marek Polacek <mpolacek@redhat.com>
41321
41322 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41323 `status' variable.
41324 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41325 Likewise.
41326
6f0eec67
UD
413272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41328
41329 * Makefile (strop-tests): Add strncat.
41330 * string/test-strncat.c: New file.
41331
aae30307
UD
413322011-06-30 Marek Polacek <mpolacek@redhat.com>
41333
41334 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41335
c0cfb5eb
UD
413362011-06-21 Andreas Jaeger <aj@suse.de>
41337
41338 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41339 Copy rule from iconvdata/Makefile.
41340
01636b21
UD
413412011-07-06 Ulrich Drepper <drepper@gmail.com>
41342
41343 [BZ #12922]
41344 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41345 but no long options are defined, just return 'W'.
41346
9895c8bc
UD
413472011-06-22 Marek Polacek <mpolacek@redhat.com>
41348
41349 [BZ #9696]
41350 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41351
5d4cf042
UD
413522011-07-06 Ulrich Drepper <drepper@gmail.com>
41353
41354 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41355 netgroups to read.
960e5535 41356 (innetgr): Likewise.
5d4cf042 41357
751eb97e
RM
413582011-07-05 Roland McGrath <roland@hack.frob.com>
41359
41360 * config.make.in (install_root): Default to $(DESTDIR).
41361
f15f1e45
UD
413622011-07-05 Ulrich Drepper <drepper@gmail.com>
41363
41364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41365
4e34ac6a
RM
413662011-07-02 Roland McGrath <roland@hack.frob.com>
41367
5e9b6af4
RM
41368 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41369
84f9ea0f
RM
41370 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41371 containing directory rather than embedding absolute directory names.
41372
ea5ee9f7
RM
41373 * scripts/check-local-headers.sh: Rewritten using awk.
41374 Match by word, not by line. Print error messages for matches.
41375 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41376
1b74661a
RM
41377 * Makerules [shlib-lds-flags empty]:
41378 ($(common-objpfx)libc_pic.opts): New target.
41379 ($(common-objpfx)libc_pic.os.clean): New target.
41380 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41381
41382 * config.make.in (OBJCOPY): New variable.
41383 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41384 * configure: Regenerated.
41385
f781ef40
RM
41386 * config.make.in (use-default-link): New variable.
41387 * configure.in (use_default_link): Grok --with-default-link to set it.
41388 * configure: Regenerated.
41389 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41390 (shlib-lds, shlib-lds-flags): Define to empty.
41391
2d4fa81e
RM
41392 * Makerules (shlib-lds): New variable.
41393 (shlib-lds-flags): New variable.
41394 (build-shlib, build-moduile, build-module-asneeded): Use it.
41395 ($(common-objpfx)libc.so): Use $(shlib-lds).
41396 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41397 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41398
31fffa6b
RM
41399 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41400 DT_FLAGS/DT_FLAGS_1 with zero flags.
41401
4e34ac6a
RM
41402 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41403 linker script munging.
41404
fcfc776b
UD
414052011-07-02 Ulrich Drepper <drepper@gmail.com>
41406
41407 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41408 as 128-bit value.
41409 * crypt/sha512.c (sha512_process_block): Perform total addition using
41410 128-bit if possible.
41411 (__sha512_finish_ctx): Likewise.
41412 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41413 as 64-bit value.
41414 * crypt/sha256.c (SWAP64): Define.
41415 (sha256_process_block): Perform total addition using 64-bit if
41416 possible.
41417 (__sha256_finish_ctx): Likewise.
41418
99231d9a
UD
414192011-07-01 Ulrich Drepper <drepper@gmail.com>
41420
41421 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41423 * nscd/hstcache.c (cache_addhst): Likewise.
41424 * nscd/grpcache.c (cache_addgr): Likewise.
41425 * nscd/aicache.c (addhstaiX): Likewise
41426 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41427
445b4a53
TK
414282011-07-01 Thorsten Kukuk <kukuk@suse.de>
41429
41430 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41432 * nscd/hstcache.c (cache_addhst): Likewise.
41433 * nscd/grpcache.c (cache_addgr): Likewise.
41434 * nscd/aicache.c (addhstaiX): Likewise
41435
6d4d8e8e
AS
414362011-07-01 Andreas Schwab <schwab@redhat.com>
41437
41438 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41439 domain only when needed.
41440
89f654c5
AS
414412011-06-30 Andreas Schwab <schwab@redhat.com>
41442
41443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41444 is always restored.
41445
cf3b23ff
UD
414462011-06-29 Ulrich Drepper <drepper@gmail.com>
41447
41448 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41449 are re-adding the entry.
41450 * nscd/servicescache.c (cache_addserv): Likewise.
41451
751626f9
AJ
414522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41453
41454 * sysdeps/generic/dl-irel.h: fix protection against multiple
41455 inclusions.
41456 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41457
9113ea1f
UD
414582011-06-28 Ulrich Drepper <drepper@gmail.com>
41459
5c0b8d90
UD
41460 [BZ #12935]
41461 * malloc/memusage.sh: Fix quoting in message.
41462 * debug/xtrace.sh: Likewise.
41463
9113ea1f
UD
41464 * configure.in: Remove support for --experimental-malloc option, make
41465 it the default.
41466 * config.make.in: Likewise.
41467 * malloc/Makefile: Likewise.
41468
a4172181
AS
414692011-06-27 Andreas Schwab <schwab@redhat.com>
41470
41471 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41472 two-byte characters.
41473
78a7eee7
RM
414742011-06-27 Roland McGrath <roland@hack.frob.com>
41475
62bede13
RM
41476 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41477 AC_CACHE_CHECK invocation.
41478 * configure: Regenerated.
41479
78a7eee7
RM
41480 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41481
5ce33a62
UD
414822011-06-27 Ulrich Drepper <drepper@gmail.com>
41483
034807a9
UD
41484 [BZ #12350]
41485 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41486 bit from old_res_options.
41487
4902da17
UD
41488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41489
5ce33a62
UD
41490 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41491 value type for setfct.
41492
c2344f56
L
414932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41494
41495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41496 __gettimeofday instead of gettimeofday.
41497
68468076
UD
414982011-06-26 Ulrich Drepper <drepper@gmail.com>
41499
41500 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41501
acb0d739
L
415022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41503
41504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41505
41506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41507 info.
41508
8912479f
L
415092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41510
41511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41512 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41513 strcpy-sse2-unaligned strncpy-sse2-unaligned
41514 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41515 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41516 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41517 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41518 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41521 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41522 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41523 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41524 (STRCPY): Support SSE2 and SSSE3 versions.
41525
d5495a11
UD
415262011-06-24 Ulrich Drepper <drepper@gmail.com>
41527
41528 [BZ #12874]
41529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41530 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41531 kernels which artificially limit size of requests.
41532
0b1cbaae
L
415332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41536 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41537 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41538 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41539 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41540 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41541 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41542 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41545 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41546 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41547 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41548 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41549 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41551 Enable unaligned load optimization for Intel Core i3, i5 and i7
41552 processors.
41553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41554 Define.
41555 (index_Fast_Unaligned_Load): Define.
41556 (HAS_FAST_UNALIGNED_LOAD): Define.
41557
07f494a0
MP
415582011-06-23 Marek Polacek <mpolacek@redhat.com>
41559
41560 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41561
fa3fc0fe
UD
415622011-06-22 Ulrich Drepper <drepper@gmail.com>
41563
41564 [BZ #12907]
41565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41566 until it is clear that the information is realy needed.
41567 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41568
e12df166
AS
415692011-06-22 Andreas Schwab <schwab@redhat.com>
41570
41571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41572
852eb34d
UD
415732011-06-22 Ulrich Drepper <drepper@gmail.com>
41574
84e2a551
UD
41575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41576 /sys/devices/system/cpu/online if it is usable.
41577
852eb34d
UD
41578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41579 reading the information from the /proc filesystem to once a second.
41580
6e502e19
UD
415812011-06-21 Andreas Jaeger <aj@suse.de>
41582
41583 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41584 NULL after inclusion of kernel headers.
41585
75d39ff2
UD
415862011-06-21 Ulrich Drepper <drepper@gmail.com>
41587
51f9aa6a
UD
41588 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41589 calls to internal_setent.
41590
c0244a9d
UD
41591 [BZ #12885]
41592 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41593 addresses using gethostbyname4_r ignore IPv4 addresses.
41594
c5e3c2ae
UD
41595 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41596 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41597
75d39ff2
UD
41598 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41599
42675c6f
DM
416002011-06-20 David S. Miller <davem@davemloft.net>
41601
41602 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41603 inclusions.
41604 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41605
41606 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41607 (elf_irel): Use it.
41608 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41609 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41610 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41611 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41612 * sysdeps/x86_64/dl-irel.h: Likewise.
41613
41614 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41615 * elf/dl-sym.c: Likewise.
41616
57912a71
UD
416172011-06-15 Ulrich Drepper <drepper@gmail.com>
41618
41619 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41620 need to dereference resplen2.
41621
ee22793d
AS
416222011-06-14 Andreas Schwab <schwab@redhat.com>
41623
41624 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41625
a9e836b0
UD
416262011-06-15 Ulrich Drepper <drepper@gmail.com>
41627
77fb9117
UD
41628 * Makeconfig: Define vardbdir and inst_vardbdir.
41629 * nss/Makefile: Add rules to install db-Makefile.
41630
40c1b22c
UD
41631 * nss/nss_db/db-XXX.c: Cleanup.
41632
9f2da732
UD
41633 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41634 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41635 GLIBC_PRIVATE.
41636 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41637 * nss/makedb.c: Implement -g option to specify that value strings
41638 are generated and should not be added to table iterated over for
41639 get*ent calls.
41640 * nss/nss_db/db-initgroups.c: New file.
41641
82e9a1f7
UD
41642 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41643 interface.
41644
c41af17e
UD
41645 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41646 (internal_getgrouplist): Adjust to name change.
41647 Update use_initgroups_entry if this is not the first call.
41648 * nss/databases.def: Add initgroups entry.
41649
a9e836b0
UD
41650 * nss/makedb.c (compute_tables): Check result of multiple hash table
41651 sizes to minimize maximum chain length.
41652
2666d441
UD
416532011-06-14 Ulrich Drepper <drepper@gmail.com>
41654
41655 * Versions.def: Add entry for libnss_db.
41656 * shlib-versions: Likewise.
41657 * nss/Makefile: Add rules to build libnss_db.
41658 * nss/Versions: Add libnss_db information. Organize libnss_files
41659 entries better.
41660 * nss/db-Makefile: Add gshadow support. Change rules for the new
41661 makedb progra. Some minor improvements to generate smaller files.
41662 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41663 here from...
41664 * nss/makedb.c: ...here.
41665 Improve database format to be smaller and require less memory at
41666 runtime.
41667 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41668 db anymore.
41669 * nss/nss_db/db-netgrp.c: Likewise.
41670 * nss/nss_db/db-open.c: Likewise.
41671 * nss/nss_files/flies-XXX.x: Adjust comments.
41672 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41673 * nss/nss_files/files-grp.c: Likewise.
41674 * nss/nss_files/files-hosts.c: Likewise.
41675 * nss/nss_files/files-network.c: Likewise.
41676 * nss/nss_files/files-proto.c: Likewise.
41677 * nss/nss_files/files-pwd.c: Likewise.
41678 * nss/nss_files/files-rpc.c: Likewise.
41679 * nss/nss_files/files-service.c: Likewise.
41680 * nss/nss_files/files-sgrp.c: Likewise.
41681 * nss/nss_files/files-spwd.c: Likewise.
41682 * nss/nss_db/db-alias.c: Removed.
41683 * nss/nss_db/dummy-db.h: Removed.
41684
9ee76b5a
UD
416852011-06-02 Ulrich Drepper <drepper@gmail.com>
41686
41687 * nss/makedb.c: Rewritten to not use database library.
41688 * nss/Makefile: Update to build new makedb program.
41689
c71ca1f8
AJ
416902011-06-14 Andreas Jaeger <aj@suse.de>
41691
41692 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41693 memset declaration.
41694
3154bfb8
UD
416952011-06-10 Andreas Schwab <schwab@redhat.com>
41696
41697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41698 tmpbuf.
41699
b350afab
RM
417002011-06-10 Roland McGrath <roland@hack.frob.com>
41701
decd4e50
RM
41702 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41703 * elf/Makefile ($(objpfx)ld.so): Likewise.
41704
5615eaf2
RM
41705 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41706 Don't list ld.so twice in dependencies.
41707
41708 * posix/bug-regex31.c: Include <stdlib.h>.
41709
41710 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41711
41712 * nis/nss_compat/compat-spwd.c
41713 (getspent_next_nss_netgr): Remove unused variable.
41714 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41715
41716 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41717 nonmembers" output to use the right array.
41718
41719 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41720
41721 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41722
41723 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41724 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41725 * catgets/gencat.c (read_input_file): Likewise.
41726 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41727
41728 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41729 variable definition inside #if's controlling its use.
41730
41731 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41732
41733 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41734
41735 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41736
41737 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41738 unreachable code.
41739
41740 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41741
b68e08db
RM
41742 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41743 * configure: Regenerated.
41744
b350afab
RM
41745 * Makerules: Revert last change.
41746 * elf/Makefile: Likewise.
41747
28368601
RM
417482011-06-09 Roland McGrath <roland@hack.frob.com>
41749
41750 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41751 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41752 (reloc-link): Likewise.
41753
11988f8f
UD
417542011-06-09 Ulrich Drepper <drepper@gmail.com>
41755
41756 * elf/Makefile: Add rules to build pldd.
41757 * elf/pldd.c: New file.
41758 * elf/pldd-xx.c: New file.
41759
e80fab37
UD
417602011-06-07 Ulrich Drepper <drepper@gmail.com>
41761
41762 * version.h: Update for 2.15 development version.
41763
9b849836
DM
417642011-06-07 David S. Miller <davem@davemloft.net>
41765
41766 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41767 ifuncs.
41768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41769 elf_machine_lazy_rel): Likewise.
41770 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41772 elf_machine_lazy_rel): Likewise.
41773 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41774 dl_hwcap via passed in argument.
41775 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41776 Likewise.
41777
5a31b283
AK
417782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41779
41780 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41781
069e52f8
RM
417822011-06-06 Roland McGrath <roland@hack.frob.com>
41783
41784 [BZ #12849]
41785 * manual/fdl-1.1.texi: New file, verbatim from:
41786 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41787 * manual/lgpl-2.1.texi: New file, verbatim from:
41788 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41789 * manual/Makefile (licenses): New variable, list those new file names.
41790 (texis): Use it.
41791 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41792
41793 * manual/fdl.texi: File removed.
41794 * manual/lesser.texi: File removed.
41795 * manual/libc.texinfo (Copying, Documentation License):
41796 Use new @include file names, put @appendix directive before @include.
41797
f16846a5
JJ
417982011-06-04 Jakub Jelinek <jakub@redhat.com>
41799
41800 [BZ #12841]
41801 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41802 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41803 (mq_open): Add __NTH.
41804
3d29045b
L
418052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41806
41807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41808 Assume Intel Core i3/i5/i7 processor if AVX is available.
41809
8c297311
UD
418102011-05-31 Ulrich Drepper <drepper@gmail.com>
41811
41812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41813 typo.
41814
c8fc0c91
UD
418152011-05-31 Andreas Schwab <schwab@redhat.com>
41816
41817 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41818 memory. Use alloca_account. Fix memory leak when retrying.
41819
5b27a807
UD
418202011-05-31 Ulrich Drepper <drepper@gmail.com>
41821
356f8bc6
UD
41822 * version.h (RELEASE): Bump for 2.14 release.
41823 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41824
5b27a807
UD
41825 * config.make.in (RANLIB): Remove entry.
41826
01f16ab0
UD
418272011-05-30 Ulrich Drepper <drepper@gmail.com>
41828
41fce8bd
UD
41829 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41830 (libc.pot): Work around missing support for .ksh extension in xgettext.
41831
4769ae77
UD
41832 [BZ #12684]
41833 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41834 if both request failed.
41835 (send_dg): In case of server errors clear resplen or *resplen2.
41836
6b1e7d19
UD
41837 [BZ #12454]
41838 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41839 when there are multiple maps.
41840 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41841 (_dl_fini): Remove test here.
41842
01f16ab0
UD
41843 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41844
b1ebd700
UD
418452011-05-29 Ulrich Drepper <drepper@gmail.com>
41846
7ae22829
UD
41847 [BZ #12350]
41848 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41849 bit from old_res_options.
41850 (gaih_inet): Likewise.
41851
553149f6 41852 [BZ #11099]
18a84741 41853 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41854 as signed.
41855
652ffab1
UD
41856 * resolv/res_init.c (res_setoptions): Make the code more compact.
41857
16985fd0
UD
41858 [BZ #11558]
41859 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41860 set RES_USEVC.
41861
0464f746
UD
41862 [BZ #11634]
41863 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41864
7d17596c
UD
41865 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41866
cf6bbbd7
UD
41867 [BZ #11781]
41868 * malloc/malloc.h: Declare malloc hook variables as volatile.
41869
13f1ab36
UD
41870 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41871 in last patch.
41872
b1ebd700
UD
41873 [BZ #11799]
41874 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41875 raise in the comment.
80e2212d
UD
41876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41878 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41879
ce67228d
UD
418802011-05-28 Ulrich Drepper <drepper@gmail.com>
41881
8887a920
UD
41882 [BZ #12811]
41883 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41884 grow the buffers more if it already has to be sufficient.
41885 (build_wcs_upper_buffer): Likewise.
41886 * posix/regexec.c (check_matching): Likewise.
41887 (clean_state_log_if_needed): Likewise.
41888 (extend_buffers): Don't enlarge buffers beyond size of the input
41889 buffer.
41890 Patches mostly by Emil Wojak <emil@wojak.eu>.
41891 * posix/bug-regex32.c: New file.
41892 * posix/Makefile (tests): Add bug-regex32.
41893
4f031072
UD
41894 * locale/findlocale.c (_nl_find_locale): Return right away if
41895 _nl_explode_name failed.
41896 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41897
d0478f0c
UD
41898 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41899
de81b246
UD
41900 * debug/xtrace.sh: Unify messages.
41901 * malloc/memusage.sh: Likewise.
41902
c738465a
UD
41903 [BZ #12813]
41904 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41905 time symbol from vDSO. Substitute with vsyscall if not available.
41906 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41907 __vdso_time.
41908
f1f929d7
UD
41909 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41910 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41911 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41912 Add sendmmsg and internal_sendmmsg.
41913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41914 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41916
ce67228d
UD
41917 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41918 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41920
e57420c6
UD
419212011-05-27 Ulrich Drepper <drepper@gmail.com>
41922
a8509ca5
UD
41923 [BZ #12813]
41924 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41925 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41926 available.
41927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41928 __vdso_getcpu.
41929
e57420c6
UD
41930 [BZ #12814]
41931 * iconvdata/Makefile (tests): Add bug-iconv9.
41932 * iconvdata/bug-iconv9.c: New file.
41933
4d07db15
AS
419342011-05-27 Andreas Schwab <schwab@redhat.com>
41935
41936 [BZ #12814]
41937 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41938
ea486f69
JJ
419392011-05-25 Jakub Jelinek <jakub@redhat.com>
41940
41941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41942 (struct user_regs_struct): Change intcs field back to cs.
41943
6f038433
UD
419442011-05-25 Ulrich Drepper <drepper@gmail.com>
41945
41946 * po/ja.po: Update from translation team.
41947
67f86a25
UD
419482011-05-23 Ulrich Drepper <drepper@gmail.com>
41949
41950 [BZ #12795]
41951 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41952 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41953
def7fbd6
AS
419542011-05-20 Andreas Schwab <schwab@redhat.com>
41955
41956 * stdlib/longlong.h: Update from GCC.
41957
f50ef8f1
AS
419582011-05-23 Andreas Schwab <schwab@redhat.com>
41959
41960 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41961 parameter name.
41962 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41963 Add parameter name.
41964 (__sysconf): Pass it down.
41965
de7ce8f1
UD
419662011-05-22 Ulrich Drepper <drepper@gmail.com>
41967
f2962a71
UD
41968 [BZ #12671]
41969 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41970 some situations.
41971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41972 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41973 add in in __libc_use_alloca calls. Adjust callers.
41974 (glob): Use malloc in some situations.
41975
de7ce8f1
UD
41976 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41977 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41978 pltexit.
41979
aec84f53
UD
419802011-05-21 Ulrich Drepper <drepper@gmail.com>
41981
05bb4a68
UD
41982 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41983 and CLOCK_BOOTTIME_ALARM.
41984
7ea72f99
UD
41985 [BZ #12782]
41986 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41987 is returned.
41988
7e4afad5
UD
41989 * string/_strerror.c (__strerror_r): Print negative errors as signed
41990 numbers.
41991
8e211fec
UD
41992 [BZ #12777]
41993 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41994 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41995 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41996
f7d82dc9
UD
41997 * configure.in: Fix typo in redirection and correct removal of test
41998 files in two cases.
41999
cc9e536d
UD
42000 [BZ #12788]
42001 * locale/setlocale.c (new_composite_name): Fix test to check for
42002 identical name of all categories.
42003
aec84f53
UD
42004 [BZ #12792]
42005 * libio/filedoalloc.c (local_isatty): New function.
42006 (_IO_file_doallocate): Use local_isatty.
42007 * stdio-common/perror.c (perror): In case a new stream is used
42008 forward the stream error.
42009 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42010 error flag.
42011
78e64fdc
RT
420122011-05-20 Ulrich Drepper <drepper@gmail.com>
42013
34a9094f
UD
42014 [BZ #11869]
42015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42016 alloca.
42017 * include/alloca.h (extend_alloca_account): Define.
42018
78e64fdc
RT
42019 [BZ #11857]
42020 * posix/regex.h: Fix comments with documentation of user-accessible
42021 fields after compilation and describe correct free'ing of pattern
42022 after re_compile_pattern.
42023 Patch by Reuben Thomas <rrt@sc3d.org>.
42024
457bddfc
RA
420252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42026
42027 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42028 and -mno-altivec to prevent the compiler from using Altivec and/or
42029 VSX instructions when the corresponding registers are not available.
42030
a4527b51
AS
420312011-05-19 Andreas Schwab <schwab@redhat.com>
42032
42033 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42034
ed690b2f
UD
420352011-05-19 Ulrich Drepper <drepper@gmail.com>
42036
42037 * libio/freopen.c (freopen): Use __dup2, not dup2.
42038 * libio/freopen64.c (freopen64): Likewise.
42039
8db73634
L
420402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42041
42042 [BZ #12775]
42043 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42044 * math/Makefile (tests): Add test-powl.
42045 (CFLAGS-test-powl.c): Define.
42046 * math/test-powl.c: New file.
42047
0a197a9d
L
420482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42051
ee30c380
UD
420522011-05-17 Ulrich Drepper <drepper@gmail.com>
42053
42054 [BZ #11837]
42055 * iconvdata/gb18030.c: Update to GB18020-2005.
42056
6ce75379
UD
420572011-05-16 Ulrich Drepper <drepper@gmail.com>
42058
a4b89fd8
AR
42059 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42060 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42061 Patch by Aharon Robbins <arnold@skeeve.com>.
42062
ea389b12
UD
42063 [BZ #11892]
42064 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42065 on the stack.
42066
68a3f91f
UD
42067 [BZ #11895]
42068 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42069 through underflows.
42070
15cc7dd1
UD
42071 [BZ #12766]
42072 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42073 point to strings before performing equality test for error_one_per_line
42074 mode.
42075
f3799213
UD
42076 [BZ #11697]
42077 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42078
d79a9c94
UD
42079 [BZ #11820]
42080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42081 (struct user_fpregs_struct): Avoid __uint*_t types.
42082
56e5eb46
UD
42083 [BZ #6420]
42084 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42085 symbol info. Use it instead of calling _dl_addr locally.
42086 (lock_and_info): New function.
42087 (tr_freehook): Call lock_and_info and pass symbol info as additional
42088 parameter to tr_where.
42089 (tr_mallochook): Likewise.
42090 (tr_reallochook): Likewise.
42091 (tr_memalignhook): Likewise.
42092
6ce75379
UD
42093 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42094 used and couldn't be at all thread-safe.
42095
f8a3b5bf
UD
420962011-05-15 Ulrich Drepper <drepper@gmail.com>
42097
94b7cc37
UD
42098 * libio/freopen.c (freopen): Don't close old file descriptor
42099 before the new one is opened. Instead dup the new file descriptor
42100 to the old one after the new stream is created.
42101 * libio/freopen64.c (freopen64): Likewise.
42102 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42103 * libio/fileops.c (_IO_new_file_close_it): Handle new
42104 _IO_FLAGS2_NOCLOSE flag.
42105 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42106 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42107 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42108 _IO_FLAGS2_NOCLOSE flag.
42109 * include/unistd.h: Add hidden_proto for dup3.
42110 Define __have_dup3.
42111 * io/dup3.c: Define hidden symbol.
42112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42113
bd25564e
UD
42114 [BZ #7101]
42115 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42116 when an incomplete long option is used.
42117 * posix/tst-getopt_long1.c: New file.
42118 * posix/Makefile (tests): Add tst-getopt_long1.
42119
c84cfef4
UD
42120 [BZ #10138]
42121 * scripts/config.guess: Update from autoconf-2.68.
42122 * scripts/config.sub: Likewise.
42123
3b85df27
UD
42124 [BZ #10157]
42125 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42126 tests into ...
42127 (has_cpuclock): ...this. New function.
42128 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42129 macro here based on has_cpuclock code.
42130
15a856b1
UD
42131 [BZ #10149]
42132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42133 First byte (not low byte) is now always NUL.
42134 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42135
05f399e6
UD
42136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42137 Use non-cancelable interfaces.
42138
10a52685 42139 [BZ #9809]
94ecc67d
UD
42140 * locale/iso-639.def: Add entry for Sorani.
42141
f8a3b5bf
UD
42142 [BZ #11901]
42143 * include/stdlib.h: Move include protection to the right place.
42144 Define abort_msg_s. Declare __abort_msg with it.
42145 * stdlib/abort.c (__abort_msg): Adjust type.
42146 * assert/assert.c (__assert_fail_base): New function. Majority
42147 of code from __assert_fail. Allocate memory for __abort_msg with
42148 mmap.
42149 (__assert_fail): Now call __assert_fail_base.
42150 * assert/assert-perr.c: Remove bulk of implementation. Use
42151 __assert_fail_base.
42152 * include/assert.hL Declare __assert_fail_base.
42153 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42154 mmap.
42155 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42156
1af4e298
UD
421572011-05-14 Ulrich Drepper <drepper@gmail.com>
42158
f8a3b5bf 42159 [BZ #11952]
d26dfc60
MG
42160 [BZ #12453]
42161 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42162 until all modules are registered in the DTV.
42163 * elf/Makefile: Add rules to build and run tst-tls19.
42164 * elf/tst-tls19.c: New file.
42165 * elf/tst-tls19mod1.c: New file.
42166 * elf/tst-tls19mod2.c: New file.
42167 * elf/tst-tls19mod3.c: New file.
42168 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42169
2fc54d6f
UD
42170 [BZ #12083]
42171 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42172 correctly.
42173
98d76b46
UD
42174 [BZ #12601]
42175 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42176 two-byte sequence errors.
42177 * iconvdata/Makefile (tests): Add bug-iconv8.
42178 * iconvdata/bug-iconv8.c: New file.
42179
da3c19ef
UD
42180 [BZ #12626]
42181 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42182 buf2 definition.
42183
ca408c15
UD
42184 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42185
d6f67f7d
UD
42186 [BZ #12432]
42187 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42188 (dummy_getcfa): New function.
42189 (init): Get _Unwind_GetCFA address, use dummy if not found.
42190 (backtrace_helper): In recursion check, also check whether CFA changes.
42191 (__backtrace): Completely initialize arg.
42192
1af4e298 42193 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42194 storing incomplete byte sequence in state object. Avoid testing for
42195 guaranteed too small input if we know there is enough data available.
1af4e298 42196
da62f81b
AS
421972011-05-11 Andreas Schwab <schwab@redhat.com>
42198
42199 * Makeconfig (+link-pie): Indent.
42200 * Rules (binaries-pie): Define if $(have-fpie) and
42201 $(build-shared).
42202 (binaries-shared): Also filter out $(binaries-pie).
42203 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42204 * nscd/Makefile (others-pie): Add nscd.
42205 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42206 ($(objpfx)nscd): Remove command override.
42207 * login/Makefile (others-pie): Add pt_chown.
42208 ($(objpfx)pt_chown): Remove command override.
42209 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42210 remove command overrides.
42211
fcabc0f8
UD
422122011-05-13 Ulrich Drepper <drepper@gmail.com>
42213
20030ae6
UD
42214 * libio/tst_putwc.c: Fix error messages.
42215
fcabc0f8
UD
42216 [BZ #12724]
42217 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42218 currently writing and seek to current position when not.
42219 * libio/Makefile (tests): Add bug-fclose1.
42220 * libio/bug-fclose1.c: New file.
42221
320a5dc0
PB
422222011-05-12 Ulrich Drepper <drepper@gmail.com>
42223
42224 [BZ #12511]
42225 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42226 don't set DF_1_NODELETE here.
42227 (do_lookup_x): When entering new entry test for copy relocation
42228 and if necessary set DF_1_NODELETE flag.
42229 * elf/tst-unique4.cc: New file.
42230 * elf/tst-unique4.h: New file.
42231 * elf/tst-unique4lib.cc: New file.
42232 * elf/Makefile: Add rules to build and run tst-unique4.
42233 Patch by Piotr Bury <pbury@goahead.com>.
42234
22836f52
UD
422352011-05-11 Ulrich Drepper <drepper@gmail.com>
42236
f574184a
UD
42237 [BZ #12052]
42238 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42239
e1fb097f
UD
42240 [BZ #12625]
42241 * misc/mntent_r.c (addmntent): Flush the stream after the output
42242
22836f52
UD
42243 [BZ #12393]
42244 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42245 (is_trusted_path_normalize): Skip initial colon. Append slash
42246 to empty buffer. Duplicate is_trusted_path code but allow
42247 constructed patch to be prefix.
42248 (is_dst): Allow $ORIGIN followed by /.
42249 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42250 Correct testing of result of is_trusted_path_normalize
42251 (decompose_rpath): Fix warning.
42252
7b3b0b2a
UD
422532011-05-10 Ulrich Drepper <drepper@gmail.com>
42254
42255 [BZ #11257]
42256 * grp/initgroups.c (internal_getgrouplist): When we found the service
42257 list through the initgroups entry in nsswitch.conf do not always
42258 continue on a successful lookup. Don't always use the
eac80ce2 42259 __nss_group_database value if it is set.
7b3b0b2a
UD
42260 * nss/nsswitch.conf (initgroups): Change action for successful db
42261 lookup to continue for compatibility.
42262
2a81eaa5
UD
422632011-05-09 Ulrich Drepper <drepper@gmail.com>
42264
be97a69e
UD
42265 [BZ #11532]
42266 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42267 and CP774 modules.
42268 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42269 and CP774 modules.
42270 * iconvdata/tst-tables.sh: Likewise.
42271 * iconvdata/cp770.c: New file.
42272 * iconvdata/cp771.c: New file.
42273 * iconvdata/cp772.c: New file.
42274 * iconvdata/cp773.c: New file.
42275 * iconvdata/cp774.c: New file.
42276 * iconvdata/testdata/CP770: New file.
42277 * iconvdata/testdata/CP770..UTF8: New file.
42278 * iconvdata/testdata/CP771: New file.
42279 * iconvdata/testdata/CP771..UTF8: New file.
42280 * iconvdata/testdata/CP772: New file.
42281 * iconvdata/testdata/CP772..UTF8: New file.
42282 * iconvdata/testdata/CP773: New file.
42283 * iconvdata/testdata/CP773..UTF8: New file.
42284 * iconvdata/testdata/CP774: New file.
42285 * iconvdata/testdata/CP774..UTF8: New file.
42286
42287 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42288 END CHARMAP line.
42289 * iconvdata/gen-8bit-gap.sh: Likewise.
42290 * iconvdata/gen-8bit.sh: Likewise.
42291
c1e9e399
UD
42292 * locale/iso-639.def: Add ary entry.
42293
24c55fb3 42294 [BZ #11258]
96b4b1b0
UD
42295 * locale/C-translit.h.in: Add U20A1 transliteration.
42296
bdc2f971
KB
42297 [BZ #12178]
42298 * locale/iso-639.def: Add wae entry.
42299 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42300
2952b117
UD
42301 [BZ #12545]
42302 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42303 for n.
42304
2a81eaa5
UD
42305 [BZ #12711]
42306 * locale/C-translit.h.in: Add entry for U20B9.
42307 Patch by pravin.d.s@gmail.com.
42308
28377d1b
UD
423092011-05-08 Ulrich Drepper <drepper@gmail.com>
42310
7fb90fb8
UD
42311 [BZ #12713]
42312 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42313 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42314 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42315 in rtld. Use *stat64.
7fb90fb8 42316 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42317 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42318 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42319 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42320 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42321 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42322 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42323 __fstatat64 macros.
7fb90fb8
UD
42324 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42325 * dirent/rewinddir.c: Add libc_hidden_def.
42326 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42327 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42328
28377d1b
UD
42329 * include/dirent.h (__alloc_dir): Add flags parameter.
42330 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42331 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42332 __alloc_dir.
42333 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42334 from fdopendir if O_CLOEXEC is already set.
42335
66bdbaa4
AM
423362011-03-15 Alan Modra <amodra@gmail.com>
42337
42338 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42339 l_tls_firstbyte_offset non-zero. Save padding offset in
42340 l_tls_firstbyte_offset for later use.
42341 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42342 freeing static tls block.
42343
95721191
JN
423442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42345
42346 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42347 where #ifdef was intended. The intent is to prevent ARG_MAX from
42348 being defined by the kernel headers.
42349
f87dfb1f
UD
423502011-05-07 Ulrich Drepper <drepper@gmail.com>
42351
42352 [BZ #12734]
42353 * resolv/resolv.h: Define RES_NOTLDQUERY.
42354 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42355 no-tld-query and set RES_NOTLDQUERY.
42356 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42357 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42358 modern BIND to search name as TLD unless forbidden.
42359
47c3cd7a
UD
423602011-05-07 Petr Baudis <pasky@suse.cz>
42361 Ulrich Drepper <drepper@gmail.com>
42362
42363 [BZ #12393]
42364 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42365 (is_trusted_path): ...to here.
c1e9ea35 42366 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42367 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42368 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42369
8a35c912
PP
423702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42371
42372 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42373 __BEGIN/__END_DECLS.
42374
acd41f47
UD
423752011-05-06 Ulrich Drepper <drepper@gmail.com>
42376
42377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42378 NSS_STATUS_NOTFOUND if no record was found.
42379
597df647
AS
423802011-05-05 Andreas Schwab <schwab@redhat.com>
42381
42382 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42383 (headers-not-in-tirpc): Remove rpc/netdb.h
42384 * resolv/netdb.h: Revert last change.
42385
b9af1301
PP
423862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42387
42388 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42389 circular dependency between libgcc.a and libc.a.
42390
4e34d5f5
AS
423912011-05-05 Andreas Schwab <schwab@redhat.com>
42392
42393 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42394 * nis/Makefile: Don't install rpcsvc/*.
42395 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42396 instead of <rpc/types.h>.
42397 (MAXHOSTNAMELEN): Define.
42398
00ee369c
AS
423992011-05-03 Andreas Schwab <schwab@redhat.com>
42400
42401 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42402
0b592a30
MB
424032011-04-28 Maciej Babinski <mbabinski@google.com>
42404
42405 [BZ #12714]
42406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42407 gethostbyname4_r when IPv6 results are possible.
42408
6e04cbbe
UD
424092011-05-02 Ulrich Drepper <drepper@gmail.com>
42410
42411 [BZ #12723]
42412 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42413 _PC_PIPE_BUF handling.
42414
e4ecafe0
BH
424152011-04-30 Bruno Haible <bruno@clisp.org>
42416
42417 [BZ #12717]
42418 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42419 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42420 to 'int'.
42421 * inet/getnameinfo.c (getnameinfo): Likewise.
42422
125ee683
UD
424232011-04-29 Ulrich Drepper <drepper@gmail.com>
42424
42425 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42426 to groups setting in database lookup.
42427 * nss/nsswitch.conf: Add initgroups entry.
42428
b722481a
EB
424292011-04-22 Ulrich Drepper <drepper@gmail.com>
42430
42431 [BZ #12685]
42432 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42433 mode string.
42434 Patch by Eric Blake <eblake@redhat.com>.
42435
4df46dbd
L
424362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42437
42438 * sunrpc/Makefile (need-export-routines): Add svc_run.
42439 (routines): Remove svc_run.
42440 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42441 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42442 * sunrpc/svc_run.c (svc_run): Likewise.
42443 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42444
e84142d2
UD
424452011-04-21 Ulrich Drepper <drepper@gmail.com>
42446
42447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42448 problem in reallocation in last patch.
42449
877175d8
UD
424502011-04-20 Ulrich Drepper <drepper@gmail.com>
42451
42452 * sunrpc/Makefile: Move inclusion of Rules.
42453
ab8eed78
UD
424542011-04-19 Ulrich Drepper <drepper@gmail.com>
42455
42456 * nss/nss_files/files-initgroups.c: New file.
42457 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42458 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42459 _nss_files_initgroups_dyn.
42460
e3d8f584
RS
424612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42462
42463 * elf/elf.h (R_ARM_IRELATIVE): Define.
42464
af190f45
UD
424652011-04-19 Ulrich Drepper <drepper@gmail.com>
42466
42467 * po/ru.po: Update from translation team.
42468
53cf59ef
UD
424692011-04-17 Ulrich Drepper <drepper@gmail.com>
42470
42471 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42472 dependencies.
42473
4c559bcd
MF
424742011-02-06 Mike Frysinger <vapier@gentoo.org>
42475
42476 [BZ #12653]
42477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42478 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42480 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42482
4420675c
AS
424832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42484
42485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42486 differing bytes.
42487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42488 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42490
75ea32ab
UD
424912011-04-17 Ulrich Drepper <drepper@gmail.com>
42492
42493 [BZ #12420]
42494 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42495 storing it.
42496 * stdlib/bug-getcontext.c: New file.
42497 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42498
27390476
AK
424992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42500
42501 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42502 instructions into .machine "z9-109".
42503 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42504 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42505
10442705
AK
425062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42507
42508 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42509 between environment variables and auxiliary vector.
42510
7b57bfe5
UD
425112011-04-16 Ulrich Drepper <drepper@gmail.com>
42512
42513 * Makefile: Add rules to build linkobj/libc.so.
42514 * include/libc-symbols.h: Define libc_hidden_nolink.
42515 * include/rpc/auth.h: Mark functions which are to be hidden.
42516 * include/rpc/auth_des.h: Likewise.
42517 * include/rpc/auth_unix.h: Likewise.
42518 * include/rpc/clnt.h: Likewise.
42519 * include/rpc/des_crypt.h: Likewise.
42520 * include/rpc/key_prot.h: Likewise.
42521 * include/rpc/pmap_clnt.h: Likewise.
42522 * include/rpc/pmap_prot.h: Likewise.
42523 * include/rpc/pmap_rmt.h: Likewise.
42524 * include/rpc/rpc_msg.h: Likewise.
42525 * include/rpc/svc.h: Likewise.
42526 * include/rpc/svc_auth.h: Likewise.
42527 * include/rpc/xdr.h: Likewise.
42528 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42529 * nss/Makefile: Likewise.
42530 * sunrpc/Makefile: Don't install headers. Build library with normal
42531 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42532 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42533 for the compat linking library. Remove use of INTDEF/INTUSE.
42534 * sunrpc/auth_none.c: Likewise.
42535 * sunrpc/auth_unix.c: Likewise.
42536 * sunrpc/authdes_prot.c: Likewise.
42537 * sunrpc/authuxprot.c: Likewise.
42538 * sunrpc/clnt_gen.c: Likewise.
42539 * sunrpc/clnt_perr.c: Likewise.
42540 * sunrpc/clnt_raw.c: Likewise.
42541 * sunrpc/clnt_simp.c: Likewise.
42542 * sunrpc/clnt_tcp.c: Likewise.
42543 * sunrpc/clnt_udp.c: Likewise.
42544 * sunrpc/clnt_unix.c: Likewise.
42545 * sunrpc/des_crypt.c: Likewise.
42546 * sunrpc/des_soft.c: Likewise.
42547 * sunrpc/get_myaddr.c: Likewise.
42548 * sunrpc/key_call.c: Likewise.
42549 * sunrpc/key_prot.c: Likewise.
42550 * sunrpc/netname.c: Likewise.
42551 * sunrpc/pm_getmaps.c: Likewise.
42552 * sunrpc/pm_getport.c: Likewise.
42553 * sunrpc/pmap_clnt.c: Likewise.
42554 * sunrpc/pmap_prot.c: Likewise.
42555 * sunrpc/pmap_prot2.c: Likewise.
42556 * sunrpc/pmap_rmt.c: Likewise.
42557 * sunrpc/publickey.c: Likewise.
42558 * sunrpc/rpc_cmsg.c: Likewise.
42559 * sunrpc/rpc_common.c: Likewise.
42560 * sunrpc/rpc_dtable.c: Likewise.
42561 * sunrpc/rpc_prot.c: Likewise.
42562 * sunrpc/rpc_thread.c: Likewise.
42563 * sunrpc/rtime.c: Likewise.
42564 * sunrpc/svc.c: Likewise.
42565 * sunrpc/svc_auth.c: Likewise.
42566 * sunrpc/svc_authux.c: Likewise.
42567 * sunrpc/svc_raw.c: Likewise.
42568 * sunrpc/svc_run.c: Likewise.
42569 * sunrpc/svc_simple.c: Likewise.
42570 * sunrpc/svc_tcp.c: Likewise.
42571 * sunrpc/svc_udp.c: Likewise.
42572 * sunrpc/svc_unix.c: Likewise.
42573 * sunrpc/svcauth_des.c: Likewise.
42574 * sunrpc/xcrypt.c: Likewise.
42575 * sunrpc/xdr.c: Likewise.
42576 * sunrpc/xdr_array.c: Likewise.
42577 * sunrpc/xdr_float.c: Likewise.
42578 * sunrpc/xdr_intXX_t.c: Likewise.
42579 * sunrpc/xdr_mem.c: Likewise.
42580 * sunrpc/xdr_rec.c: Likewise.
42581 * sunrpc/xdr_ref.c: Likewise.
42582 * sunrpc/xdr_sizeof.c: Likewise.
42583 * sunrpc/xdr_stdio.c: Likewise.
42584
e6c61494
UD
425852011-04-10 Ulrich Drepper <drepper@gmail.com>
42586
42587 [BZ #12650]
42588 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42589 * sysdeps/ia64/dl-tls.h: Likewise.
42590 * sysdeps/powerpc/dl-tls.h: Likewise.
42591 * sysdeps/s390/dl-tls.h: Likewise.
42592 * sysdeps/sh/dl-tls.h: Likewise.
42593 * sysdeps/sparc/dl-tls.h: Likewise.
42594 * sysdeps/x86_64/dl-tls.h: Likewise.
42595 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42596
34fe483e
AS
425972011-03-14 Andreas Schwab <schwab@redhat.com>
42598
42599 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42600 rpath element also skip the following colon.
42601 (expand_dynamic_string_token): Add is_path parameter and pass
42602 down to DL_DST_REQUIRED and _dl_dst_substitute.
42603 (decompose_rpath): Call expand_dynamic_string_token with
42604 non-zero is_path. Ignore empty rpaths.
42605 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42606 with zero is_path.
42607
f12a32e6
AS
426082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42609
42610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42611 Make cancelable.
42612
38a7d692
UD
426132011-04-09 Ulrich Drepper <drepper@gmail.com>
42614
42615 [BZ #12655]
42616 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42617 Patch by Filipe David Manana <fdmanana@apache.org>.
42618
e451d22b
AS
426192011-04-07 Andreas Schwab <schwab@redhat.com>
42620
42621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42622 Maintain aligned stack.
42623 (CHECK_RSP): Remove unused macro.
42624
dedc7c7b
UD
426252011-04-03 Ulrich Drepper <drepper@gmail.com>
42626
42627 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42628 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42629
94521213
UD
426302011-04-02 Ulrich Drepper <drepper@gmail.com>
42631
42632 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42633
8cb700c0 42634 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42635
0354e355
L
426362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42637
42638 [BZ #12518]
42639 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42640 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42641 * sysdeps/x86_64/memmove.c: New file.
42642 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42643 (memcpy): Renamed to ...
42644 (__new_memcpy): This.
42645 (memcpy): Provide GLIBC_2_14 memcpy.
42646 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42647 (memcpy): Provide GLIBC_2_2_5 memcpy.
42648
8593482f
UD
426492011-04-01 Ulrich Drepper <drepper@gmail.com>
42650
42651 [BZ #12631]
42652 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42653
81a5726b
AS
426542011-03-30 Andreas Schwab <schwab@redhat.com>
42655
42656 * misc/syncfs.c: New file.
42657 * misc/Makefile (routines): Add syncfs.
42658 * posix/unistd.h: Declare syncfs.
42659 * sysdeps/unix/syscalls.list: Add syncfs.
42660
00e5419f
AS
426612011-04-01 Andreas Schwab <schwab@redhat.com>
42662
42663 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42664 open_by_handle_at.
42665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42666 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42670 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42672
748876bf
UD
426732011-04-01 Ulrich Drepper <drepper@gmail.com>
42674
658e451d
UD
42675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42682
748876bf
UD
42683 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42684 sync_file_range.c with -fexceptions.
42685 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42686 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42687 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42688 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42689 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42690 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42692 sync_file_range as cancellation point
42693 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42694 now a wrapper around __call_sync_file_range with cancellation handling.
42695 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42696 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42697 function name to __call_sync_file_range.
42698 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42699 Add call_sync_file_range.
748876bf 42700
6e63d5e1
AS
427012011-04-01 Andreas Schwab <schwab@redhat.com>
42702
42703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42704 bits/timex.h.
6e63d5e1 42705
46998f74
UD
427062011-04-01 Ulrich Drepper <drepper@gmail.com>
42707
4c1423ed
UD
42708 * iconv/iconv.h: Fix typo in comment.
42709 * io/fcntl.h: Likewise.
42710 * libio/stdio.h: Likewise.
42711 * posix/spawn.h: Likewise.
42712 * posix/unistd.h: Likewise.
42713 * stdlib/stdlib.h: Likewise.
42714 * time/time.h: Likewise.
42715 * wcsmbs/wchar.h: Likewise.
42716
158648c0
UD
42717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42718 open_by_handle): Add.
42719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42720 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42721 Augment a few comments.
42722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42727 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42728 open_by_handle.
42729
46998f74
UD
42730 * io/fcntl.h (AT_EMPTY_PATH): Define.
42731
83fe108b
UD
427322011-03-30 Ulrich Drepper <drepper@gmail.com>
42733
42734 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42735 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42736 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42737 to...
42738 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42739 * Versions.def: Add GLIBC_2.14.
42740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42741 Export.
83fe108b 42742
bb242059
UD
427432011-03-22 Ulrich Drepper <drepper@gmail.com>
42744
42745 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42746 round counter.
42747 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42748
c97a1282
L
427492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42750
42751 [BZ #12597]
42752 * string/test-strncmp.c (do_page_test): New function.
42753 (check2): Likewise.
42754 (test_main): Call check2.
42755 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42756
2a115601
UD
427572011-03-20 Ulrich Drepper <drepper@gmail.com>
42758
42759 [BZ #12587]
42760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42761 Handle cache information in CPU leaf 4.
42762 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42763
8126d904
UD
427642011-03-18 Ulrich Drepper <drepper@gmail.com>
42765
042c49c6 42766 [BZ #12583]
8126d904
UD
42767 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42768 character representation.
42769 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42770
ccfe366e
RA
427712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42772
42773 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42774 END(__isnan) to END(__isnanf) to match function entry point/label
42775 EALIGN(__isnanf,...).
42776
c6e13027
JJ
427772011-03-10 Jakub Jelinek <jakub@redhat.com>
42778
42779 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42780
33f85a3f
UD
427812011-03-10 Ulrich Drepper <drepper@gmail.com>
42782
028478fa
UD
42783 [BZ #12510]
42784 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42785 copy from the symbol referenced in the relocation to initialize the
42786 used variable.
42787 Patch by Piotr Bury <pbury@goahead.com>.
42788 * elf/Makefile: Add rules to build and tst-unique3.
42789 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42790 * elf/tst-unique3.cc: New file.
42791 * elf/tst-unique3.h: New file.
42792 * elf/tst-unique3lib.cc: New file.
42793 * elf/tst-unique3lib2.cc: New file.
42794
33f85a3f
UD
42795 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42796
03592fc7
MF
427972011-03-10 Mike Frysinger <vapier@gentoo.org>
42798
42799 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42800 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42801 to _start.
03592fc7 42802
6a5ee102
UD
428032011-03-06 Ulrich Drepper <drepper@gmail.com>
42804
42805 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42806 to-be-loaded object along a path to loader is ld.so.
42807
7e4ba49c
HJ
428082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42809 Ulrich Drepper <drepper@gmail.com>
42810
42811 * sysdeps/x86_64/memset.S: After aligning destination, code
42812 branches to different locations depending on the value of
42813 misalignment, when multiarch is enabled. Fix this.
42814
428152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42816
42817 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42818 Set _x86_64_preferred_memory_instruction for AMD processsors.
42819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42820 Set bit_Prefer_SSE_for_memop for AMD processors.
42821
13a804de
UD
428222011-03-04 Ulrich Drepper <drepper@gmail.com>
42823
42824 * libio/fmemopen.c (fmemopen): Optimize a bit.
42825
9d25c392
AS
428262011-03-03 Andreas Schwab <schwab@redhat.com>
42827
42828 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42829
a5543c6a
RM
428302011-03-03 Roland McGrath <roland@redhat.com>
42831
42832 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42833
012d35f7
DM
428342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42835
7e4ba49c 42836 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42837 __bzero_ultra1 instead of __memset_ultra1.
42838
4bff6e01
AS
428392011-02-23 Andreas Schwab <schwab@redhat.com>
42840 Ulrich Drepper <drepper@gmail.com>
42841
42842 [BZ #12509]
42843 * include/link.h (struct link_map): Add l_orig_initfini.
42844 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42845 returning unsuccessfully.
42846 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42847 close of a file loaded at startup, restore the original l_initfini
42848 list.
42849 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42850 list, store the pointer.
42851 * elf/Makefile ($(objpfx)noload-mem): New rule.
42852 (noload-ENV): Define.
42853 (tests): Add $(objpfx)noload-mem.
42854 * elf/noload.c: Include <memcheck.h>.
42855 (main): Call mtrace. Close all opened handles.
42856
f2092faf
AS
428572011-02-17 Andreas Schwab <schwab@redhat.com>
42858
42859 [BZ #12454]
42860 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42861 dependencies are missing.
42862
6c8a2e88
ST
428632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42864
f2092faf 42865 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42866 Hurd needs munmap.
42867 * sysdeps/mach/hurd/ifreq.h: New file.
42868
84a42118
PB
428692011-01-27 Petr Baudis <pasky@suse.cz>
42870 Ulrich Drepper <drepper@gmail.com>
42871
071f805e 42872 [BZ 12445]#
84a42118
PB
42873 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42874 to extend_alloca().
42875 * stdio-common/bug23.c: New file.
42876 * stdio-common/Makefile (tests): Add bug23.
42877
e23fe25b
AS
428782010-09-28 Andreas Schwab <schwab@redhat.com>
42879 Ulrich Drepper <drepper@gmail.com>
42880
42881 [BZ #12489]
42882 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42883 before performing relro protection. At old place add assertion
42884 to make sure nothing changed.
42885
d3f02e10
NS
428862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42887 Glauber de Oliveira Costa <glommer@gmail.com>
42888
42889 * elf/elf.h: Add new ARM TLS relocs.
42890
d55fd7a5
RA
428912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42892
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42894 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42895 cast from r3.
42896 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42897 'tests' variable.
42898 * sysdeps/wordsize-64/tst-writev.c: New file.
42899
2206397e
RA
429002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42901
42902 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42903 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42904 insns in _dl_start to prevent a TOC reference before relocs are
42905 resolved.
42906
e9433893
UD
429072011-02-15 Ulrich Drepper <drepper@gmail.com>
42908
42909 [BZ #12469]
42910 * Makeconfig: Remove RANLIB definition.
42911 * Makerules: Don't use RANLIB.
42912 * aclocal.m4: Remove ranlib test.
42913 * configure.in: No need to check for ranlib.
42914 * elf/rtld-Rules: Don't use RANLIB.
42915
f75286c6
ST
429162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42917
8e31c82d
ST
42918 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42919 protection macro.
42920 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42921 inclusion protection macro.
42922
f75286c6
ST
42923 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42924 SIGRTMIN and SIGRTMAX and print information in that case only when
42925 SIGRTMIN is defined.
42926
c1d0e639
JJ
429272011-02-11 Jakub Jelinek <jakub@redhat.com>
42928
42929 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42930 arginfo fn returning -1.
42931
42932 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42933 and thousands string is zero terminated.
42934
edf9294e
AS
429352011-02-03 Andreas Schwab <schwab@redhat.com>
42936
42937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42938 sysdeps/unix/sysv/linux/bits/socket.h.
42939
2b7e92df
ST
429402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42941
edf9294e
AS
42942 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42943 (__CPU_COUNT): Remove old macros.
42944 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42945 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42946 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42947 (__sched_cpualloc, __sched_cpufree): Add declarations.
42948
a4c7ea7b
UD
429492011-02-05 Ulrich Drepper <drepper@gmail.com>
42950
42951 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42952 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42953 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42954 (readdhstai): Return value of addhstaiX call.
42955 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42956 (addgrbyX): Return value returned by cache_addgr.
42957 (readdgrbyname): Return value returned by addgrbyX.
42958 (readdgrbygid): Likewise.
42959 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42960 (addpwbyX): Return value returned by cache_addpw.
42961 (readdpwbyname): Return value returned by addhstbyX.
42962 (readdpwbyuid): Likewise.
42963 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42964 (addservbyX): Return value returned by cache_addserv.
42965 (readdservbyname): Return value returned by addservbyX:
42966 (readdservbyport): Likewise.
42967 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42968 (addhstbyX): Return value returned by cache_addhst.
42969 (readdhstbyname): Return value returned by addhstbyX.
42970 (readdhstbyaddr): Likewise.
42971 (readdhstbynamev6): Likewise.
42972 (readdhstbyaddrv6): Likewise.
42973 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42974 (readdinitgroups): Return value returned by addinitgroupsX.
42975 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42976 (prune_cache): Keep track of timeout value of re-added entries.
42977 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42978 * nscd/nscd.h: Adjust prototypes of readd* functions.
42979
a0bf67cc
RM
429802011-02-04 Roland McGrath <roland@redhat.com>
42981
42982 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42983 (nis_stats): Likewise.
42984 * nis/nis_modify.c (nis_modify): Likewise.
42985 * nis/nis_remove.c (nis_remove): Likewise.
42986 * nis/nis_add.c (nis_add): Likewise.
42987
42988 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42989
42990 * posix/fnmatch_loop.c: Add some consts.
42991
42992 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42993
435b95eb
L
429942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42995
42996 [BZ #12460]
42997 * config.make.in (config-cflags-novzeroupper): Define.
42998 * configure.in: Substitute libc_cv_cc_novzeroupper.
42999 * elf/Makefile (AVX-CFLAGS): Define.
43000 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43001 (CFLAGS-tst-auditmod4a.c): Likewise.
43002 (CFLAGS-tst-auditmod4b.c): Likewise.
43003 (CFLAGS-tst-auditmod6b.c): Likewise.
43004 (CFLAGS-tst-auditmod6c.c): Likewise.
43005 (CFLAGS-tst-auditmod7b.c): Likewise.
43006 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43007
8517b15e
UD
430082011-02-02 Ulrich Drepper <drepper@gmail.com>
43009
43010 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43011 function to the callback.
43012 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43013
10a656fe
AS
430142011-02-02 Andreas Schwab <schwab@redhat.com>
43015
43016 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43017 of errno.
43018
968dad0a
UD
430192011-01-19 Ulrich Drepper <drepper@gmail.com>
43020
9f94d2ea 43021 [BZ #11724]
968dad0a
UD
43022 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43023 of constructors.
43024 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43025 of destructors.
43026 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43027
43028 [BZ #11724]
43029 * elf/Makefile: Add rules to build and run new test.
43030 * elf/tst-initorder.c: New file.
43031 * elf/tst-initorder.exp: New file.
43032 * elf/tst-initordera1.c: New file.
43033 * elf/tst-initordera2.c: New file.
43034 * elf/tst-initordera3.c: New file.
43035 * elf/tst-initordera4.c: New file.
43036 * elf/tst-initorderb1.c: New file.
43037 * elf/tst-initorderb2.c: New file.
43038 * elf/tst-order-a1.c: New file.
43039 * elf/tst-order-a2.c: New file.
43040 * elf/tst-order-a3.c: New file.
43041 * elf/tst-order-a4.c: New file.
43042 * elf/tst-order-b1.c: New file.
43043 * elf/tst-order-b2.c: New file.
43044 * elf/tst-order-main.c: New file.
43045 New test case by George Gensure <werkt0@gmail.com>.
43046
86e92359
UD
430472010-10-01 Andreas Schwab <schwab@redhat.com>
43048
43049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43050 decoding ACE if AI_CANONIDN.
43051
5d5732b0
UD
430522011-01-18 Ulrich Drepper <drepper@gmail.com>
43053
43054 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43055
a77e8cbc
UD
430562011-01-17 Ulrich Drepper <drepper@gmail.com>
43057
6392473f
UD
43058 * version.h (RELEASE): Bump for 2.13 release.
43059 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43060
620a0529
UD
43061 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43062
18ba70a5
UD
43063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43064 MADV_NOHUGEPAGE.
32465c3e
UD
43065 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43067 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43068 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43069 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43071
c0dafcf1
UD
43072 * posix/getconf.c: Update copyright year.
43073 * catgets/gencat.c: Likewise.
43074 * csu/version.c: Likewise.
43075 * debug/catchsegv.sh: Likewise.
43076 * debug/xtrace.sh: Likewise.
43077 * elf/ldconfig.c: Likewise.
43078 * elf/ldd.bash.in: Likewise.
43079 * elf/sprof.c (print_version): Likewise.
43080 * iconv/iconv_prog.c: Likewise.
43081 * iconv/iconvconfig.c: Likewise.
43082 * locale/programs/locale.c: Likewise.
43083 * locale/programs/localedef.c: Likewise.
43084 * malloc/memusage.sh: Likewise.
43085 * malloc/mtrace.pl: Likewise.
43086 * nscd/nscd.c (print_version): Likewise.
43087 * nss/getent.c: Likewise.
43088
a77e8cbc
UD
43089 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43090 PF_CAIF, and PF_ALG.
43091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43092
77e8bddf
AS
430932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43094
1f20b93a
AS
43095 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43096 (modules-names): Use them.
43097 (ifunc-test-modules, ifunc-pie-tests): Define.
43098 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43099 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43100 (test-extras): Likewise.
43101 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43102 $(compile-command.c).
43103 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43104 (all-built-dso): Define.
43105 (check-textrel.out, check-execstack.out): Depend on it.
43106
77e8bddf
AS
43107 * configure.in: Don't override --enable-multi-arch.
43108
bc425b33
UD
431092011-01-15 Ulrich Drepper <drepper@gmail.com>
43110
43111 [BZ #6812]
43112 * nscd/hstcache.c (tryagain): Define.
43113 (cache_addhst): Return tryagain not notfound for temporary errors.
43114 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43115 failed.
43116
794c3ad3
UD
431172011-01-14 Ulrich Drepper <drepper@gmail.com>
43118
70181fdd
UD
43119 [BZ #10563]
43120 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43121 to make the syscall.
43122 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43123
794c3ad3
UD
43124 [BZ #12378]
43125 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43126 and fall back to matching as normal character if the string ends before
43127 the matching ']' is found. This is what POSIX requires.
43128 * posix/testfnm.c: Adjust test result.
43129 * posix/globtest.sh: Adjust test result. Add new test.
43130 * posix/tst-fnmatch.input: Likewise.
43131 * posix/tst-fnmatch2.c: Add new test.
43132
68dc9497
AS
431332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43134
43135 * elf/Makefile (check-execstack): Revert last change. Depend on
43136 check-execstack.h.
43137 (check-execstack.h): New target.
43138 (generated): Add check-execstack.h.
43139 * elf/check-execstack.c: Include "check-execstack.h".
43140 (main): Revert last change.
43141 (handle_file): Return zero if GNU_STACK is absent and
43142 DEFAULT_STACK_PERMS doesn't include PF_X.
43143
451f001b
UD
431442011-01-13 Ulrich Drepper <drepper@gmail.com>
43145
cfa28e56
UD
43146 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43147 in child fails because the descriptor is already closed.
8cf8ce17
UD
43148 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43149 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43150 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43151
1086d70d
UD
43152 [BZ #12397]
43153 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43154 syscall.
43155
451f001b
UD
43156 [BZ #10484]
43157 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43158 temporary buffer used to handle multi lookups locally.
a85b5cb4 43159 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43160
08769175
UD
431612011-01-12 Ulrich Drepper <drepper@gmail.com>
43162
43163 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43164 loader is ld.so.
43165
5e49c52e
UD
431662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43167
43168 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43169 alignment for SSE2.
43170
60522a5f
UD
431712011-01-12 Ulrich Drepper <drepper@gmail.com>
43172
43173 [BZ #12394]
43174 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43175 characters. When rounding increased number of integer digits recompute
43176 number of groups.
43177 * stdio-common/tst-grouping.c: New file.
43178 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43179
f257bbd7
UD
431802011-01-09 Ulrich Drepper <drepper@gmail.com>
43181
43182 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43183 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43184
43185 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43186 void.
43187 * bits/select.h: Likewise.
43188
fa9c15cb
UD
431892011-01-08 Ulrich Drepper <drepper@gmail.com>
43190
43191 * po/ja.po: Update from translation team.
43192
16c2895f
DM
431932011-01-04 David S. Miller <davem@sunset.davemloft.net>
43194
43195 [BZ #11155]
43196 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43197 implementation just like for lxstat, fxstatat, et al.
43198
2543fef2
JM
431992010-12-27 Jim Meyering <meyering@redhat.com>
43200
43201 [BZ #12348]
43202 * posix/regexec.c (build_trtable): Return failure indication upon
43203 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43204
98727dbe
UD
432052010-12-25 Ulrich Drepper <drepper@gmail.com>
43206
5bd6dc5c
UD
43207 [BZ #12201]
43208 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43209 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43210 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43211 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43212
97983464
UD
43213 [BZ #12207]
43214 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43215
98727dbe
UD
43216 [BZ #12204]
43217 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43218 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43219
4a531bb0
L
432202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43221
43222 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43223 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43224 script has SORT_BY_INIT_PRIORITY.
43225 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43226 NO_CTORS_DTORS_SECTIONS is defined.
43227 * elf/soinit.c: Likewise.
43228 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43229 NO_CTORS_DTORS_SECTIONS is defined.
43230 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43231 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43232 * sysdeps/sh/init-first.c: Likewise.
43233 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43234
07eb4b71
UD
432352010-12-24 Ulrich Drepper <drepper@gmail.com>
43236
43237 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43238 always use the slow path.
43239
30950a5f
RA
432402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43241
43242 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43243 similar rule which adds the sysdep directories to the header search in
43244 order to pick up the correct platform stackinfo.h.
43245 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43246 perform test if it is, otherwise return successfully without testing.
43247 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43248 DEFAULT_STACK_PERMS define in stackinfo.h.
43249 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43250 defined in stackinfo.h.
43251 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43252 DEFAULT_STACK_PERMS defined in stackinfo.h.
43253 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43254 * sysdeps/ia64/stackinfo.h: Likewise.
43255 * sysdeps/s390/stackinfo.h: Likewise.
43256 * sysdeps/sh/stackinfo.h: Likewise.
43257 * sysdeps/sparc/stackinfo.h: Likewise.
43258 * sysdeps/x86_64/stackinfo.h: Likewise.
43259 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43260 PF_X for powerpc64. Retain PF_X for powerpc32.
43261
db753e2c
UD
432622010-12-19 Ulrich Drepper <drepper@gmail.com>
43263
14b697f7
UD
43264 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43265 accurately.
db753e2c
UD
43266 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43267 GETDENTS_64BIT_ALIGNED.
43268
28300719
UD
432692010-12-14 Ulrich Drepper <dreper@gmail.com>
43270
14b697f7 43271 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43272
4f197237
AS
432732010-12-10 Andreas Schwab <schwab@redhat.com>
43274
dbb0472f
AS
43275 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43276 _GNU_SOURCE.
43277
4f197237
AS
43278 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43279 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43280 Remove __restrict.
43281 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43282 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43283
fb88ac72
UD
432842010-12-09 Ulrich Drepper <drepper@gmail.com>
43285
43286 [BZ #11655]
43287 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43288 are initialized.
43289
42acbb92
JJ
432902010-12-09 Jakub Jelinek <jakub@redhat.com>
43291
43292 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43293
c038d98d
UD
432942010-12-03 Ulrich Drepper <drepper@gmail.com>
43295
43296 * po/it.po: Update from translation team.
43297
3a4a2499
L
432982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43299
43300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43301 unused codes.
43302
1e24cf6e
UD
433032010-11-30 Ulrich Drepper <drepper@gmail.com>
43304
43305 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43306
a7690819
AS
433072010-11-24 Andreas Schwab <schwab@redhat.com>
43308
43309 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43310 specially.
43311 (gaih_getanswer_slice): Likewise.
43312
3bf8d1b1
JJ
433132010-10-20 Jakub Jelinek <jakub@redhat.com>
43314
43315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43316
6db52fbb
PB
433172010-05-31 Petr Baudis <pasky@suse.cz>
43318
43319 [BZ #11149]
43320 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43321 silently even in the chroot mode.
43322
eaca7569
UD
433232010-11-22 Ulrich Drepper <drepper@gmail.com>
43324
43325 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43326 last patch a bit. Pretty printing
43327
3056dcdb
UD
433282010-05-31 Petr Baudis <pasky@suse.cz>
43329
43330 [BZ #10085]
43331 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43332 initialization of skip_initgroups_dyn.
43333
cf7c9078
UD
433342010-11-19 Ulrich Drepper <drepper@gmail.com>
43335
43336 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43337 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43338
a1fb5e3e
UD
433392010-11-16 Ulrich Drepper <drepper@gmail.com>
43340
43341 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43342
3540d66b
AS
433432010-11-11 Andreas Schwab <schwab@redhat.com>
43344
43345 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43346 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43347 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43348 ($(objpfx)tst-fnmatch-mem): New rule.
43349 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43350 * posix/tst-fnmatch.c (main): Call mtrace.
43351
13b69574
L
433522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43353
43354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43355 Support Intel processor model 6 and model 0x2c.
43356
da93d214
LM
433572010-11-10 Luis Machado <luisgpm@br.ibm.com>
43358
43359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43360 signed comparison.
43361
8ca52c6e
L
433622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43363
43364 [BZ #12205]
43365 * string/test-strncasecmp.c (check_result): New function.
43366 (do_one_test): Use it.
43367 (check1): New function.
43368 (test_main): Use it.
43369 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43370 Support strcasecmp and strncasecmp.
43371
69da074d
UD
433722010-11-08 Ulrich Drepper <drepper@gmail.com>
43373
43374 [BZ #12194]
43375 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43377
ff02d528
L
433782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43379
43380 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43381 IFUNC support.
43382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43383 memset-x86-64.
43384 * sysdeps/x86_64/multiarch/bzero.S: New file.
43385 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43386 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43387 * sysdeps/x86_64/multiarch/memset.S: New file.
43388 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43390 Set bit_Prefer_SSE_for_memop for Intel processors.
43391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43392 Define.
43393 (index_Prefer_SSE_for_memop): Define.
43394 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43395
344d0b54
LM
433962010-11-04 Luis Machado <luisgpm@br.ibm.com>
43397
43398 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43399 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43400
c0dde15b
UD
434012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43402
43403 [BZ #12191]
43404 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43405 (__x86_64_raw_data_cache_size_half): Likewise.
43406 (__x86_64_raw_shared_cache_size): Likewise.
43407 (__x86_64_raw_shared_cache_size_half): Likewise.
43408
43409 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43410 (__x86_64_raw_data_cache_size_half): Likewise.
43411 (__x86_64_raw_shared_cache_size): Likewise.
43412 (__x86_64_raw_shared_cache_size_half): Likewise.
43413 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43414 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43415 and __x86_64_raw_shared_cache_size_half. Round
43416 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43417 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43418 to multiple of 256 bytes.
43419
0e516e0e
MS
434202010-11-03 Ulrich Drepper <drepper@gmail.com>
43421
43422 [BZ #12167]
43423 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43424 of inacessible symlinks. Verify result of symlink before returning it.
43425 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43426 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43427
0e012e87
ER
434282010-10-28 Erich Ritz <erichritz@gmail.com>
43429
43430 * math/math.h (isinf): Fix typo in comment.
43431
de0ff7bc
UD
434322010-11-01 Ulrich Drepper <drepper@gmail.com>
43433
43434 * po/da.po: Update from translation team.
43435
fa41c84d
UD
434362010-10-26 Ulrich Drepper <drepper@gmail.com>
43437
43438 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43439 is added to the list.
43440
f0967738
AK
434412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43442 Ulrich Drepper <drepper@gmail.com>
43443
43444 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43445 the global list here. Move code to...
43446 (_dl_add_to_namespace_list): ...here. New function.
43447 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43448 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43449 * elf/dl-load.c (lose): Don't remove the element from the list.
43450 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43451 (_dl_map_object): Likewise.
43452
434532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43454
43455 [BZ #12159]
43456 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43457 into all bytes of SSE register.
43458 Patch by Richard Li <richardpku@gmail.com>.
43459
f0967738 434602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43461
43462 [BZ #12140]
43463 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43464 perturbing.
43465
d0b9e94f
MB
434662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43467
43468 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43469 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43470 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43471 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43473 submachine.
43474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43475
8e9f92e9
AS
434762010-10-22 Andreas Schwab <schwab@redhat.com>
43477
43478 * include/dlfcn.h (__RTLD_SECURE): Define.
43479 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43480 mode & __RTLD_SECURE instead.
43481 (open_path): Rename preloaded parameter to secure.
43482 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43483 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43484 * elf/dl-deps.c (openaux): Likewise.
43485 * elf/rtld.c (struct map_args): Remove is_preloaded.
43486 (map_doit): Don't use it.
43487 (dl_main): Likewise.
43488 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43489 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43490
bc96fbda
AS
434912010-09-09 Andreas Schwab <schwab@redhat.com>
43492
43493 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43494 (sysd-rules-targets): Remove duplicates.
43495 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43496 rtld-%.$o dependency.
43497
22cd1c9b
AS
434982010-10-18 Andreas Schwab <schwab@redhat.com>
43499
43500 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43501 _dl_map_object do it.
43502
18edac48
UD
435032010-10-19 Ulrich Drepper <drepper@gmail.com>
43504
43505 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43506 fast fma builtins, define the macros in the C99 standard.
43507 (FP_FAST_FMAF): Likewise.
43508 (FP_FAST_FMAL): Likewise.
43509 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43510
43511 * bits/mathdef.h: Update copyright year.
43512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43513
d2050124
MM
435142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43515
43516 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43517 builtins, define the macros in the C99 standard.
43518 (FP_FAST_FMAF): Likewise.
43519 (FP_FAST_FMAL): Likewise.
43520 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43521 multiply/add.
43522 (FP_FAST_FMAF): Likewise.
43523
475facd1
JJ
435242010-10-15 Jakub Jelinek <jakub@redhat.com>
43525
43526 [BZ #3268]
43527 * math/libm-test.inc (fma_test): Some new testcases.
43528 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43530 y and infinite z. Do multiplication by C already in long double.
43531 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43533 y and infinite z. Do bitwise or of inexact bit into u.d.
43534 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43535 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43536 * sysdeps/i386/fpu/s_fma.S: Removed.
43537 * sysdeps/i386/fpu/s_fmal.S: Removed.
43538
7c08a05c
JJ
435392010-10-16 Jakub Jelinek <jakub@redhat.com>
43540
43541 [BZ #3268]
43542 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43544 computation is not scheduled after fetestexcept. Fix value
43545 of minimum denormal long double.
43546
f3f7372d
JJ
435472010-10-14 Jakub Jelinek <jakub@redhat.com>
43548
43549 [BZ #3268]
43550 * math/libm-test.inc (fma_test): Add some more tests.
43551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43552 correctly.
43553
14d43591
AS
435542010-10-15 Andreas Schwab <schwab@redhat.com>
43555
43556 * scripts/data/localplt-s390-linux-gnu.data: New file.
43557 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43558
5e908464
JJ
435592010-10-13 Jakub Jelinek <jakub@redhat.com>
43560
43561 [BZ #3268]
43562 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43563 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43564 instead of dbl-64.
43565 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43566 inlines.
43567 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43569 if one of x and y is very large and the other is subnormal.
43570 * sysdeps/s390/fpu/s_fmaf.c: New file.
43571 * sysdeps/s390/fpu/s_fma.c: New file.
43572 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43573 * sysdeps/powerpc/fpu/s_fma.S: New file.
43574 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43575 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43576 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43577
435782010-10-12 Jakub Jelinek <jakub@redhat.com>
43579
43580 [BZ #3268]
43581 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43582 fma tests.
43583 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43584 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43585 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43586 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43587 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43588 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43589 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43590
b833d51f
UD
435912010-10-12 Ulrich Drepper <drepper@redhat.com>
43592
43593 [BZ #12078]
43594 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43595 * posix/bug-regex31.input: Add test case.
43596
1751705d
UD
435972010-10-11 Ulrich Drepper <drepper@gmail.com>
43598
e9b9cbf5
UD
43599 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43600 * posix/bug-regex31.input: New file.
43601
43602 [BZ #12078]
43603 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43604 (parse_sub_exp): Fix last change, use postorder.
43605
ef06edbe
UD
43606 * posix/bug-regex31.c: New file.
43607 * posix/Makefile: Add rules to build and run bug-regex31.
43608
a129c80d
UD
43609 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43610
43611 [BZ #12078]
43612 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43613
b76b818e
UD
43614 [BZ #12108]
43615 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43616 to have entries in sys_siglist.
43617
1751705d
UD
43618 [BZ #12093]
43619 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43620 be NULL.
43621
9ff8d36f
JJ
436222010-10-07 Jakub Jelinek <jakub@redhat.com>
43623
43624 [BZ #3268]
43625 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43626 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43627 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43628 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43629 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43630 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43631 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43632 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43633 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43634 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43635 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43636 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43637 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43638 * math/ftestexcept.c (fetestexcept): Likewise.
43639 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43640 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43641 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43642 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43643 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43644 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43645 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43646
af325969
UD
436472010-10-11 Ulrich Drepper <drepper@gmail.com>
43648
c579b202 43649 [BZ #12107]
af325969
UD
43650 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43651 newline.
43652
67a67b95
UD
436532010-10-06 Ulrich Drepper <drepper@gmail.com>
43654
43655 * string/bug-strstr1.c: New file.
43656 * string/Makefile: Add rules to build and run bug-strstr1.
43657
5fb308bc
EB
436582010-10-05 Eric Blake <eblake@redhat.com>
43659
43660 [BZ #12092]
43661 * string/str-two-way.h (two_way_long_needle): Always clear memory
43662 when skipping input due to the shift table.
43663
45db99c7
UD
436642010-10-03 Ulrich Drepper <drepper@gmail.com>
43665
3b111893
UD
43666 [BZ #12005]
43667 * malloc/mcheck.c: Handle large requests.
43668
45db99c7
UD
43669 [BZ #12077]
43670 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43671 for strncmp and strncasecmp.
43672 * string/stratcliff.c: Add tests for strcmp and strncmp.
43673 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43674
cf7a1eb8
NI
436752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43676
43677 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43678 __set_fpscr.
43679
6484ba5e
AJ
436802010-09-30 Andreas Jaeger <aj@suse.de>
43681
43682 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43683 (CGROUP_SUPER_MAGIC): Define.
43684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43685 Handle btrfs and cgroup file systems.
43686 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43687 Likewise.
43688
91c42559
LM
436892010-09-27 Luis Machado <luisgpm@br.ibm.com>
43690
43691 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43692 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43693
87a97932
AK
436942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43695
43696 [BZ #12067]
43697 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43698 trying to locate the ELF header.
43699
c21cc9bc
AS
437002010-09-27 Andreas Schwab <schwab@redhat.com>
43701
43702 [BZ #11611]
43703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43704 Mask out sign-bit copies when constructing f_fsid.
43705
315970f6
PB
437062010-09-24 Petr Baudis <pasky@suse.cz>
43707
43708 * debug/stack_chk_fail_local.c: Add missing licence exception.
43709 * debug/warning-nop.c: Likewise.
43710
1ac7a2c7
JM
437112010-09-15 Joseph Myers <joseph@codesourcery.com>
43712
43713 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43714 implementing getdents64 using getdents syscall, set d_type if
43715 __ASSUME_GETDENTS32_D_TYPE.
43716
56801c50
AS
437172010-09-16 Andreas Schwab <schwab@redhat.com>
43718
43719 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43720 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43721
dda51327
UD
437222010-09-21 Ulrich Drepper <drepper@redhat.com>
43723
43724 [BZ #12037]
43725 * posix/unistd.h: Undo change of feature selection for ftruncate from
43726 2010-01-11.
43727
8ffcee4a
UD
437282010-09-20 Ulrich Drepper <drepper@redhat.com>
43729
a545ecd9 43730 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43731 detection.
43732
e24f0a8b
AS
437332010-09-20 Andreas Schwab <schwab@redhat.com>
43734
43735 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43736 fanotify_mark.
43737 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43738
7291c56f
AS
437392010-09-14 Andreas Schwab <schwab@redhat.com>
43740
43741 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43742 variables after CHECK_SP call.
43743 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43744
bc5fb037
AS
437452010-09-13 Andreas Schwab <schwab@redhat.com>
43746 Ulrich Drepper <drepper@redhat.com>
43747
43748 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43749 re-relocationg ld.so.
43750 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43751 _dl_init_paths call.
43752 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43753 here anymore.
43754
e66e7419
UD
437552010-09-14 Ulrich Drepper <drepper@redhat.com>
43756
43757 * resolv/res_init.c (__res_vinit): Count the default server we added.
43758
c044aa75
CLT
437592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43760 Ulrich Drepper <drepper@redhat.com>
43761
43762 [BZ #11968]
43763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43764 (____longjmp_chk): Use %ebx for saving value across system call.
43765 Add unwind info.
43766
32cf4069
AS
437672010-09-06 Andreas Schwab <schwab@redhat.com>
43768
43769 * manual/Makefile: Don't mix pattern rules with normal rules.
43770
817328ee
AS
437712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43772
43773 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43774 operation.
43775 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43776 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43777 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43778 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43780 Likewise.
43781
29fddf61
UD
437822010-09-04 Ulrich Drepper <drepper@redhat.com>
43783
43784 [BZ #11979]
43785 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43786 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43787
0959ffc9
UD
437882010-09-02 Ulrich Drepper <drepper@redhat.com>
43789
43790 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43791 * sysdeps/x86_64/addmul_1.S: Likewise.
43792 * sysdeps/x86_64/lshift.S: Likewise.
43793 * sysdeps/x86_64/mul_1.S: Likewise.
43794 * sysdeps/x86_64/rshift.S: Likewise.
43795 * sysdeps/x86_64/sub_n.S: Likewise.
43796 * sysdeps/x86_64/submul_1.S: Likewise.
43797
ece29840
ST
437982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43799
0959ffc9
UD
43800 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43801 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43802 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43803 * bits/sched.h [__need_schedparam]
ece29840 43804 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43805 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43806 (__defined_schedparam): Define to 1.
ece29840
ST
43807 (__sched_param): New structure, identical to sched_param.
43808 (__need_schedparam): Undefine.
43809
e53a31fe
MF
438102010-08-31 Mike Frysinger <vapier@gentoo.org>
43811
fdc0c10d
MF
43812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43813 (epoll_create1): Declare.
43814
e53a31fe
MF
43815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43816
a726d796
AS
438172010-08-31 Andreas Schwab <schwab@redhat.com>
43818
43819 [BZ #7066]
43820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43821 shifting retval into place.
43822
2f3e3dc7
UD
438232010-09-01 Ulrich Drepper <drepper@redhat.com>
43824
f2933da9
UD
43825 * nis/rpcsvc/nis.h: Update copyright notice.
43826 * nis/rpcsvc/nis.x: Likewise.
43827 * nis/rpcsvc/nis_callback.h: Likewise.
43828 * nis/rpcsvc/nis_callback.x: Likewise.
43829 * nis/rpcsvc/nis_object.x: Likewise.
43830 * nis/rpcsvc/nis_tags.h: Likewise.
43831 * nis/rpcsvc/yp.h: Likewise.
43832 * nis/rpcsvc/yp.x: Likewise.
43833 * nis/rpcsvc/ypupd.h: Likewise.
43834 * nis/yp_xdr.c: Likewise.
43835 * nis/ypupdate_xdr.c: Likewise.
43836
2f3e3dc7
UD
43837 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43838 mainly the body of pmap_getport. Add parameters to specify timeouts.
43839 (pmap_getport): Use __libc_rpc_getport.
43840 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43841 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43842 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43843
f3dcc2f9
AS
438442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43845
43846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43847 fanotify_mark.
43848
6d34eb5b
RM
438492010-08-27 Roland McGrath <roland@redhat.com>
43850
43851 * sysdeps/i386/i686/multiarch/Makefile
43852 (CFLAGS-varshift.c): New variable.
43853
9ea3de11
UD
438542010-08-27 Ulrich Drepper <drepper@redhat.com>
43855
c96d23fc
UD
43856 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43857 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43858
9ea3de11
UD
43859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43860
43861 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43862
623aac7f
L
438632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43864
43865 * sysdeps/x86_64/strlen.S: Unroll the loop.
43866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43867 strlen-sse2 strlen-sse2-bsf.
43868 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43869 __strlen_no_bsf if bit_Slow_BSF is set.
43870 (__strlen_sse42): Removed.
43871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43872 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43873
8b2b7715
RM
438742010-08-25 Roland McGrath <roland@redhat.com>
43875
43876 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43877 * sysdeps/x86_64/multiarch/varshift.c: New file.
43878 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43879 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43880 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43881 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43882
e73015f2
L
438832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43884
43885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43886 strlen-sse2 strlen-sse2-bsf.
43887 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43888 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43889 (__strlen_sse2): Removed.
43890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43893 bit_Slow_BSF for Atom.
43894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43895 (index_Slow_BSF): Define.
43896 (HAS_SLOW_BSF): Define.
43897
df24a73e
UD
438982010-08-25 Ulrich Drepper <drepper@redhat.com>
43899
43900 [BZ #10851]
43901 * resolv/res_init.c (__res_vinit): When no server address at all
43902 is given default to loopback.
43903
f2ac4868
RM
439042010-08-24 Roland McGrath <roland@redhat.com>
43905
09055553
RM
43906 * configure.in: Remove config-name.h generation.
43907 * configure: Regenerated.
43908 * config-name.in: File removed.
43909 * scripts/config-uname.sh: New file.
43910 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43911 ($(objdir)config-name.h): New target.
43912
f2ac4868
RM
43913 * sunrpc/rpc_parse.h: Avoid nested comment.
43914
73f27d5e
RH
439152010-08-24 Richard Henderson <rth@redhat.com>
43916 Ulrich Drepper <drepper@redhat.com>
43917 H.J. Lu <hongjiu.lu@intel.com>
43918
43919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43921 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43922 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43923 _mm_alignr_epi8 with _mm_loadu_si128.
43924 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43925 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43926 (__m128i_shift_right): Removed.
43927 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43928 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43929 * sysdeps/x86_64/multiarch/varshift.h: New file.
43930 * sysdeps/x86_64/multiarch/varshift.S: New file.
43931
84b9230c
MF
439322010-08-21 Mike Frysinger <vapier@gentoo.org>
43933
43934 * configure.in: Move assembler checks to before sysdep dir checking.
43935
9bbd0ddc
PB
439362010-08-20 Petr Baudis <pasky@suse.cz>
43937
43938 * LICENSES: Sync the sunrpc license.
43939
9da4bb31
UD
439402010-08-19 Ulrich Drepper <drepper@redhat.com>
43941
a7ab6ec8
UD
43942 * sunrpc/auth_des.c: Update copyright notice once again.
43943 * sunrpc/auth_none.c: Likewise.
43944 * sunrpc/auth_unix.c: Likewise.
43945 * sunrpc/authdes_prot.c: Likewise.
43946 * sunrpc/authuxprot.c: Likewise.
43947 * sunrpc/bindrsvprt.c: Likewise.
43948 * sunrpc/clnt_gen.c: Likewise.
43949 * sunrpc/clnt_perr.c: Likewise.
43950 * sunrpc/clnt_raw.c: Likewise.
43951 * sunrpc/clnt_simp.c: Likewise.
43952 * sunrpc/clnt_tcp.c: Likewise.
43953 * sunrpc/clnt_udp.c: Likewise.
43954 * sunrpc/clnt_unix.c: Likewise.
43955 * sunrpc/des_crypt.c: Likewise.
43956 * sunrpc/des_soft.c: Likewise.
43957 * sunrpc/get_myaddr.c: Likewise.
43958 * sunrpc/getrpcport.c: Likewise.
43959 * sunrpc/key_call.c: Likewise.
43960 * sunrpc/key_prot.c: Likewise.
43961 * sunrpc/openchild.c: Likewise.
43962 * sunrpc/pm_getmaps.c: Likewise.
43963 * sunrpc/pm_getport.c: Likewise.
43964 * sunrpc/pmap_clnt.c: Likewise.
43965 * sunrpc/pmap_prot.c: Likewise.
43966 * sunrpc/pmap_prot2.c: Likewise.
43967 * sunrpc/pmap_rmt.c: Likewise.
43968 * sunrpc/rpc/auth.h: Likewise.
43969 * sunrpc/rpc/auth_unix.h: Likewise.
43970 * sunrpc/rpc/clnt.h: Likewise.
43971 * sunrpc/rpc/des_crypt.h: Likewise.
43972 * sunrpc/rpc/key_prot.h: Likewise.
43973 * sunrpc/rpc/netdb.h: Likewise.
43974 * sunrpc/rpc/pmap_clnt.h: Likewise.
43975 * sunrpc/rpc/pmap_prot.h: Likewise.
43976 * sunrpc/rpc/pmap_rmt.h: Likewise.
43977 * sunrpc/rpc/rpc.h: Likewise.
43978 * sunrpc/rpc/rpc_des.h: Likewise.
43979 * sunrpc/rpc/rpc_msg.h: Likewise.
43980 * sunrpc/rpc/svc.h: Likewise.
43981 * sunrpc/rpc/svc_auth.h: Likewise.
43982 * sunrpc/rpc/types.h: Likewise.
43983 * sunrpc/rpc/xdr.h: Likewise.
43984 * sunrpc/rpc_clntout.c: Likewise.
43985 * sunrpc/rpc_cmsg.c: Likewise.
43986 * sunrpc/rpc_common.c: Likewise.
43987 * sunrpc/rpc_cout.c: Likewise.
43988 * sunrpc/rpc_dtable.c: Likewise.
43989 * sunrpc/rpc_hout.c: Likewise.
43990 * sunrpc/rpc_main.c: Likewise.
43991 * sunrpc/rpc_parse.c: Likewise.
43992 * sunrpc/rpc_parse.h: Likewise.
43993 * sunrpc/rpc_prot.c: Likewise.
43994 * sunrpc/rpc_sample.c: Likewise.
43995 * sunrpc/rpc_scan.c: Likewise.
43996 * sunrpc/rpc_scan.h: Likewise.
43997 * sunrpc/rpc_svcout.c: Likewise.
43998 * sunrpc/rpc_tblout.c: Likewise.
43999 * sunrpc/rpc_util.c: Likewise.
44000 * sunrpc/rpc_util.h: Likewise.
44001 * sunrpc/rpcinfo.c: Likewise.
44002 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44003 * sunrpc/rpcsvc/key_prot.x: Likewise.
44004 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44005 * sunrpc/rpcsvc/mount.x: Likewise.
44006 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44007 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44008 * sunrpc/rpcsvc/rex.x: Likewise.
44009 * sunrpc/rpcsvc/rstat.x: Likewise.
44010 * sunrpc/rpcsvc/rusers.x: Likewise.
44011 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44012 * sunrpc/rpcsvc/spray.x: Likewise.
44013 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44014 * sunrpc/rtime.c: Likewise.
44015 * sunrpc/svc.c: Likewise.
44016 * sunrpc/svc_auth.c: Likewise.
44017 * sunrpc/svc_authux.c: Likewise.
44018 * sunrpc/svc_raw.c: Likewise.
44019 * sunrpc/svc_run.c: Likewise.
44020 * sunrpc/svc_simple.c: Likewise.
44021 * sunrpc/svc_tcp.c: Likewise.
44022 * sunrpc/svc_udp.c: Likewise.
44023 * sunrpc/svc_unix.c: Likewise.
44024 * sunrpc/svcauth_des.c: Likewise.
44025 * sunrpc/xcrypt.c: Likewise.
44026 * sunrpc/xdr.c: Likewise.
44027 * sunrpc/xdr_array.c: Likewise.
44028 * sunrpc/xdr_float.c: Likewise.
44029 * sunrpc/xdr_mem.c: Likewise.
44030 * sunrpc/xdr_rec.c: Likewise.
44031 * sunrpc/xdr_ref.c: Likewise.
44032 * sunrpc/xdr_sizeof.c: Likewise.
44033 * sunrpc/xdr_stdio.c: Likewise.
44034
9da4bb31
UD
44035 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44036 handling.
44037
bdaa77bc
AS
440382010-08-19 Andreas Schwab <schwab@redhat.com>
44039
44040 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44041
fe2f79db
LM
440422010-08-19 Luis Machado <luisgpm@br.ibm.com>
44043
44044 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44046 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44047 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44048 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44049 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44050 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44051 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44052 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44053 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44054 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44056 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44058
b9b42ee0
AB
440592010-07-26 Anton Blanchard <anton@samba.org>
44060
44061 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44062 * malloc/arena.c (heap_trim): Likewise.
44063
1c06ba31
UD
440642010-08-16 Ulrich Drepper <drepper@redhat.com>
44065
44066 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44067 here. Not...
44068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44069 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44070
f8392f40
L
440712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44072
44073 * sysdeps/i386/elf/Makefile: New file.
44074
3162f12e
AS
440752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44076
44077 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44078 from fanotify_init.
44079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44081
28c90b2c
UD
440822010-08-15 Ulrich Drepper <drepper@redhat.com>
44083
44084 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44085 of strncasecmp_l.
1feccb6c 44086 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44087
ca6bb004
UD
440882010-08-14 Ulrich Drepper <drepper@redhat.com>
44089
e9f82e0d
UD
44090 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44091 strncase_l-nonascii.
44092 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44093 Add strncase_l-ssse3.
44094 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44095 * sysdeps/x86_64/strcmp.S: Likewise.
44096 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44097 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44098 * sysdeps/x86_64/strncase.S: New file.
44099 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44100 * sysdeps/x86_64/strncase_l.S: New file.
44101 * string/Makefile (strop-tests): Add strncasecmp.
44102 * string/test-strncasecmp.c: New file.
44103
44104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44105 warning.
44106
ca6bb004
UD
44107 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44108 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44109
052fa7b3
AS
441102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44111
44112 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44113
962dba78
UD
441142010-08-12 Ulrich Drepper <drepper@redhat.com>
44115
44116 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44117 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44119
bebff237
AM
441202010-05-01 Alan Modra <amodra@gmail.com>
44121
44122 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44123 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44124 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44125 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44126 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44127 tidying. Don't tail-call __sigjmp_save for static lib.
44128 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44129 save location.
44130 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44131 (CALL_MCOUNT): Add eh info, and nop after bl.
44132 (TAIL_CALL_SYSCALL_ERROR): New macro.
44133 (PSEUDO_RET): Use it.
44134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44135 Correct save location of integer regs and cr.
44136 (_dl_profile_resolve): Correct cr save location. Delete nops
44137 after bl when SHARED. Reduce cfi size a little by better
44138 placement of cfi directives.
44139 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44140 make a stack frame. Instead use parm save area as a temp.
44141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44142 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44144 Don't make a stack frame for parent, use parm save area.
44145 Increase child stack frame to 112 bytes. Don't save unused reg,
44146 and adjust reg usage. Set up cfi on error recovery and
44147 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44149 (__makecontext): Add dummy nop after jump to exit.
44150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44151 Use correct parm save area and cr save, reduce stack frame.
44152 Correct cfi for possible PSEUDO_RET frame setup.
44153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44154 Branch to local label emitted by PSEUDO_RET rather than
44155 __syscall_error.
44156
02637374
AS
441572010-08-12 Andreas Schwab <schwab@redhat.com>
44158
44159 [BZ #11904]
44160 * locale/programs/locale.c (print_assignment): New function.
44161 (show_locale_vars): Use it.
44162
c3e2f19b
UD
441632010-08-11 Ulrich Drepper <drepper@redhat.com>
44164
3cdaa6ad
UD
44165 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44166 field.
44167 (struct statfs64): Likewise.
44168 (_STATFS_F_FLAGS): Define.
44169 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44171 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44172 (ST_VALID): Define locally.
44173 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44174 __statvfs_getflags, use the provided value.
44175 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44176 __ASSUME_STATFS_F_FLAGS.
44177
754f7da3
UD
44178 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44179
10b3bedc
UD
44180 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44181 Add sys/fanotify.h.
44182 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44183 fanotify_mask for GLIBC_2.13.
44184 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44185 fanotify_init and fanotify_mark.
44186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44187 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44188
c08fb0d7
UD
44189 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44190 Add prlimit.
44191 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44192 prlimit64 for GLIBC_2.13.
44193 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44194 prlimit64.
44195 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44196 syscall.
44197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44199 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44200 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44202 add prlimit alias.
44203 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44204
15bac72b
UD
44205 [BZ #11903]
44206 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44207 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44208
c3e2f19b
UD
44209 * nss/Makefile: Add rules to build and run tst-nss-test1.
44210 * shlib-versions: Add entry for libnss_test1.
44211 * nss/nss_test1.c: New file.
44212 * nss/tst-nss-test1.c: New file.
44213
44214 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44215 (__nss_configure_lookup): Set appropriate entry in
44216 __nss_configure_lookup to true.
44217 * nss/nsswitch.h: Define enum with indeces of databases in
44218 databases and __nss_database_custom arrays. Declare
44219 __nss_database_custom.
44220 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44221 to avoid using nscd when custom rules are installed.
44222 * nss/getXXbyYY_r.c: Likewise.
44223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44224
44225 * nss/nss_files/files-parse.c: Whitespace fixes.
44226
f15ce4d8
UD
442272010-08-09 Ulrich Drepper <drepper@redhat.com>
44228
44229 [BZ #11883]
44230 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44231 * posix/fnmatch_loop.c: Likewise.
44232
d22e4cc9
AK
442332010-07-17 Andi Kleen <ak@linux.intel.com>
44234
44235 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44236 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44237 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44238 * Versions.def [GLIBC_2.13]: Add.
44239
805bc17d
UD
442402010-08-06 Ulrich Drepper <drepper@redhat.com>
44241
44242 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44243 Also fail if tpwd after pwuid call is NULL.
44244
5a42321d
ST
442452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44246
44247 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44248 when converting to ms.
44249
fd3ebeda
ST
442502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44251
44252 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44253 EOPNOTSUPP errors with ENOTTY.
44254 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44255 EOPNOTSUPP errors with ENOTTY.
44256
73507d3a
UD
442572010-07-31 Ulrich Drepper <drepper@redhat.com>
44258
44259 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44260 Add strcasecmp_l-ssse3.
44261 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44262 strcasecmp.
44263 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44264 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44265 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44266
fe36dd02
UD
442672010-07-30 Ulrich Drepper <drepper@redhat.com>
44268
66f6765a
UD
44269 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44270
42e08a54
UD
44271 * string/Makefile (strop-tests): Add strcasecmp.
44272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44273 strcasecmp_l-nonascii.
44274 (gen-as-const-headers): Add locale-defines.sym.
44275 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44276 * sysdeps/x86_64/strcasecmp.S: New file.
44277 * sysdeps/x86_64/strcasecmp_l.S: New file.
44278 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44279 * sysdeps/x86_64/locale-defines.sym: New file.
44280 * string/test-strcasecmp.c: New file.
44281
fe36dd02
UD
44282 * string/test-strcasestr.c: Test both ends of the range of characters.
44283 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44284
48cbc0d6
RM
442852010-07-29 Roland McGrath <roland@redhat.com>
44286
76e6d6bc 44287 [BZ #11856]
48cbc0d6
RM
44288 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44289
880113d9
UD
442902010-07-27 Ulrich Drepper <drepper@redhat.com>
44291
44292 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44293 for ld.so.
44294
deb9cabb
AS
442952010-07-27 Andreas Schwab <schwab@redhat.com>
44296
44297 * manual/memory.texi (Malloc Tunable Parameters): Document
44298 M_PERTURB.
44299
1c7570ff
RM
443002010-07-26 Roland McGrath <roland@redhat.com>
44301
44302 [BZ #11840]
44303 * configure.in (-fgnu89-inline check): Set and substitute
44304 gnu89_inline, not libc_cv_gnu89_inline.
44305 * configure: Regenerated.
44306 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44307
24fb0f88
UD
443082010-07-26 Ulrich Drepper <drepper@redhat.com>
44309
44310 * string/test-strnlen.c: New file.
44311 * string/Makefile (strop-tests): Add strnlen.
44312 * string/tester.c (test_strnlen): Add a few more test cases.
44313 * string/tst-strlen.c: Better error reporting.
44314
44315 * sysdeps/x86_64/strnlen.S: New file.
44316
8e96b93a
UD
443172010-07-24 Ulrich Drepper <drepper@redhat.com>
44318
44319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44320 lower-latency instructions.
44321
dbc676d4
UD
443222010-07-23 Ulrich Drepper <drepper@redhat.com>
44323
44324 * string/test-strcasestr.c: New file.
44325 * string/test-strstr.c: New file.
44326 * string/Makefile (strop-tests): Add strstr and strcasestr.
44327 * string/str-two-way.h: Don't undefine MAX.
44328 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44329
f6a31e0e
AS
443302010-07-21 Andreas Schwab <schwab@redhat.com>
44331
44332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44333 strcasestr-nonascii.
44334 (CFLAGS-strcasestr-nonascii.c): Define.
44335 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44336 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44337 Remove unused attribute.
44338
5dbc3b6c
RM
443392010-07-20 Roland McGrath <roland@redhat.com>
44340
44341 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44342 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44343 ld.so.cache was broken. With it, there is no way to disable dsocaps
44344 like LD_HWCAP_MASK can disable hwcaps.
44345
23d101d8
EPM
443462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44347
44348 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44349
cc9f2e47
UD
443502010-07-16 Ulrich Drepper <drepper@redhat.com>
44351
44352 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44353 call in strcasestr.
44354 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44355 __strcasestr_sse42_nonascii.
44356 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44357 strcasestr-nonascii.c.
44358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44359
77c1b069
LM
443602010-06-15 Luis Machado <luisgpm@br.ibm.com>
44361
44362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44363 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44365 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44366
440566c3
UD
443672010-07-09 Ulrich Drepper <drepper@redhat.com>
44368
44369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44370 fcntl.
44371
5be9d05d
AS
443722010-07-06 Andreas Schwab <schwab@redhat.com>
44373
c30b7ee2 44374 [BZ #11577]
5be9d05d
AS
44375 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44376 dl_signal_cerror.
44377
8a492a67
UD
443782010-07-06 Ulrich Drepper <drepper@redhat.com>
44379
44380 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44381 _PC_PIPE_BUF using F_GETPIPE_SZ.
44382
713df3d5
RM
443832010-07-05 Roland McGrath <roland@redhat.com>
44384
44385 * manual/arith.texi (Rounding Functions): Fix rint description
44386 implicit in round description.
44387
702e8f14
UD
443882010-07-02 Ulrich Drepper <drepper@redhat.com>
44389
44390 * elf/Makefile: Fix linking for a few tests to make recent linker
44391 happy.
44392
52ed8be9
AS
443932010-06-30 Andreas Schwab <schwab@redhat.com>
44394
44395 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44396 $(common-objpfx)libc_nonshared.a.
44397
f47c9a11
LM
443982010-06-21 Luis Machado <luisgpm@br.ibm.com>
44399
44400 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44401 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44402 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44403 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44404 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44405 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44406 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44407 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44422 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44423 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44424 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44425 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44426 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44427 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44428 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44429 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44430 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44431 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44432 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44433 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44448
6fb8cbcb
L
444492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44450
44451 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44452 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44453 * string/memmove.c (memmove): Renamed to ...
44454 (MEMMOVE): ...this. Default to memmove.
44455 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44456 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44457 (END_CHK): Define.
44458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44459 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44460 mempcpy-ssse3-back memmove-ssse3-back.
44461 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44464 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44465 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44466 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44467 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44468 * sysdeps/x86_64/multiarch/memmove.c: New file.
44469 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44470 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44471 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44472 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44473 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44475 Define.
44476 (index_Fast_Copy_Backward): Define.
44477 (HAS_ARCH_FEATURE): Define.
44478 (HAS_FAST_REP_STRING): Define.
44479 (HAS_FAST_COPY_BACKWARD): Define.
44480
4e733bac 444812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44482
44483 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44484 Restore proper fallback handling.
44485
63c4ed22
UD
444862010-06-19 Ulrich Drepper <drepper@redhat.com>
44487
ac2b484c
UD
44488 [BZ #11701]
44489 * posix/group_member.c (__group_member): Correct checking loop.
44490
63c4ed22
UD
44491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44492 OOM in getpwuid_r correctly. Return error number when the caller
44493 should return, otherwise -1.
44494 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44495 call returning > 0 value.
44496 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44497
765ade4b
AS
444982010-06-07 Andreas Schwab <schwab@redhat.com>
44499
44500 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44501 libc_nonshared.a from targets in modules-names.
44502
80da2e09
KS
445032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44504
44505 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44506 requires it.
44507
158db122
LM
445082010-06-10 Luis Machado <luisgpm@br.ibm.com>
44509
44510 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44514
caa78cf8
AS
445152010-06-02 Andreas Schwab <schwab@redhat.com>
44516
44517 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44518
b2ef2c01
UD
445192010-06-14 Ulrich Drepper <drepper@redhat.com>
44520
44521 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44522 and F_GETPIPE_SZ.
44523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44528 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44529
fbd643b6
RM
445302010-06-14 Roland McGrath <roland@redhat.com>
44531
44532 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44533
f32f2869
JJ
445342010-06-07 Jakub Jelinek <jakub@redhat.com>
44535
44536 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44537 __REDIRECT followed by __THROW.
44538 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44539 * posix/getopt.h (getopt): Likewise.
44540
2a50c078
EPM
445412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44542
44543 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44544 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44545 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44546 in AT_FLAGS.
44547 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44548 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44549
eb5ad2eb
LM
445502010-05-28 Luis Machado <luisgpm@br.ibm.com>
44551
44552 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44553
3c88fe1e
L
445542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44555
44556 [BZ #11640]
44557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44558 Properly check family and model.
44559
d2f73151
TY
445602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44561
44562 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44563
ebd2e13d
LM
445642010-05-24 Luis Machado <luisgpm@br.ibm.com>
44565
44566 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44567
b32b8b45
UD
445682010-05-21 Ulrich Drepper <drepper@redhat.com>
44569
44570 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44571 symbol reference.
44572
9acbe24d
AS
445732010-05-19 Andreas Schwab <schwab@redhat.com>
44574
44575 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44576 symbol reference.
44577
f0ccf6ea
AS
445782010-05-21 Andreas Schwab <schwab@redhat.com>
44579
3d04ff3a
AS
44580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44581 and internal_recvmmsg.
44582 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44583 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44584 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44585 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44586
f0ccf6ea
AS
44587 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44588 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44589 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44590
5b08ac57
AS
445912010-05-20 Andreas Schwab <schwab@redhat.com>
44592
44593 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44594
4828935d
LM
445952010-05-17 Luis Machado <luisgpm@br.ibm.com>
44596
44597 POWER7 optimizations.
44598 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44599 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44600
373d545e
UD
446012010-05-19 Ulrich Drepper <drepper@redhat.com>
44602
44603 * version.h: Update for 2.13 development version.
44604
21a2b1ae
AS
446052010-05-12 Andrew Stubbs <ams@codesourcery.com>
44606
44607 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44608 exceptions. Return 0.
44609
3f7dcb2b
RM
446102010-05-07 Roland McGrath <roland@redhat.com>
44611
44612 * elf/ldconfig.c (main): Add a const.
44613
5f24d53a 446142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44615
a160f8d8
UD
44616 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44617 (args_options): Add no-idn option.
44618 (ahosts_keys_int): Add idn_flags to ai_flags.
44619 (parse_option): Handle 'i' option to clear idn_flags.
44620
5f24d53a
UD
44621 * malloc/malloc.c (_int_free): Possible race in the most recently
44622 added check. Only act on the data if no current modification
44623 happened.
265bb1ce
UD
44624
44625See ChangeLog.17 for earlier changes.