]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Fix copysignf optimization macro
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e13bccd3
AZ
12014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4 optimization when used with float constants.
5
ae75a883
AJ
62014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7
8 [BZ #16915]
9 * locale/nl_langinfo_l.c: Make direct reference to every
10 _nl_current_CATEGORY symbol.
11 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12 (tests-static): Add tst-langinfo-static.
13 (tests-special): Add tst-langinfo-static.out.
14 ($(objpfx)tst-langinfo.out): Redirect output.
15 ($(objpfx)tst-langinfo-static.out): New.
16 * localedata/tst-langinfo.sh: Send output to stdout.
17 * localedata/tst-langinfo-static.c: New file.
18
4406c41c
AJ
19 [BZ #16965]
20 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21 when the shift amount is modulo the limb size.
22
4c0a1e63
RH
232014-05-20 Richard Henderson <rth@redhat.com>
24
de9d8f20
RH
25 [BZ #16967]
26 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27 Change type of sa_flags from unsigned int to int.
28
4c0a1e63
RH
29 [BZ #16966]
30 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
31
32 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33
a60339aa
WN
342014-05-20 Will Newton <will.newton@linaro.org>
35
36 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37 Test the return value of the system call in the nocancel case.
38
7d05a816
YR
392014-05-20 Will Newton <will.newton@linaro.org>
40 Yvan Roux <yvan.roux@linaro.org>
41
42 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43 #include of asm/ptrace.h.
44 (PTRACE_GET_THREAD_AREA): Remove #undef.
45 (PTRACE_GETHBPREGS): Likewise.
46 (PTRACE_SETHBPREGS): Likewise.
47 (struct user_regs_struct): New structure.
48 (struct user_fpsimd_struct): New structure.
49 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50 #include of asm/ptrace.h and second #include of sys/user.h.
51 (PTRACE_GET_THREAD_AREA): Remove #undef.
52 (PTRACE_GETHBPREGS): Likewise.
53 (PTRACE_SETHBPREGS): Likewise.
54 (ELF_NGREG): Use new struct user_regs_struct.
55 (elf_fpregset_t): Use new struct user_fpsimd_struct.
56
af121e37
AZ
572014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
60 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
61
834caf06
JM
622014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
63
64 [BZ #16958]
65 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
66 membar to avoid block loads/stores to overlap previous stores.
67
e184a918
RH
682014-05-17 Richard Henderson <rth@redhat.com>
69
70 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
71 Create the __##syscall_name##_nocancel entry point.
72 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
73 Remove; let the sysdep-cancel.h code create it.
74
f56c7a6a
DM
752014-05-17 David S. Miller <davem@davemloft.net>
76
77 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
78 Protect with __USE_GNU.
79 (TIOCSET_TEMPT): Likewise.
80 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
81 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
82 these are already provided in bits/ioctl-types.h
83
f75616b2
RM
842014-05-16 Roland McGrath <roland@hack.frob.com>
85
3edeca86
RM
86 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
87 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
88
f75616b2
RM
89 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
90 Use wait4 regardless of [__NR_waitpid].
91
deb0f7f6
MR
922014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
93
94 PR libgcc/60166
95 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
96 (_FP_NANSIGN_Q): Set the quiet bit.
97
79520f4b
JM
982014-05-16 Joseph Myers <joseph@codesourcery.com>
99
100 * benchtests/Makefile
101 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
102 not $(common-objpfx)math/libm.so.
103 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
104 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
105 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
106 $(common-objpfx)dlfcn/libdl.so.
107 ($(objpfx)tst-audit8): Depend on $(libm), not
108 $(common-objpfx)math/libm.so.
109 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
110 not $(common-objpfx)dlfcn/libdl.so.
111 * math/Makefile
112 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
113 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
114 [$(build-shared) = yes].
115 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
116 $(common-objpfx)nptl/libpthread.so.
117 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
118 $(common-objpfx)math/libm.so$(libm.so-version) or
119 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
120 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
121 $(common-objpfx)dlfcn/libdl.so.
122 * setjmp/Makefile (link-libm): Remove variable.
123 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
124 * stdio-common/Makefile (link-libm): Remove variable.
125 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
126 * stdlib/Makefile (link-libm): Remove variable.
127 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
128 ($(objpfx)tst-strtod-round): Likewise.
129 ($(objpfx)tst-tininess): Likewise.
130 ($(objpfx)tst-strtod-underflow): Likewise.
131 ($(objpfx)tst-strtod6): Likewise.
132 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
133 $(libdl), not $(common-objpfx)nptl/libpthread.so and
134 $(common-objpfx)dlfcn/libdl.so.
135
026b0fe4
AZ
1362014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
139 BSD terminal modes definitions.
140
def4bcb2
RM
1412014-05-16 Roland McGrath <roland@hack.frob.com>
142
fe39b021
RM
143 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
144 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
145
1d1fc46e 146 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
147 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
148 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
149 Don't do #include_next.
150 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
151 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
152 Don't do #include_next.
153 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
154 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
155 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
156 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
157
c72399fb
AM
1582014-05-16 Allan McRae <allan@archlinux.org>
159
d51d659d
AM
160 * po/sv.po: Update Swedish translation from translation project.
161
c72399fb
AM
162 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
163 in sed expression.
164
d0583c40
AJ
1652014-05-16 Aurelien Jarno <aurelien@aurel32.net>
166
167 [BZ #16917]
168 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
169 errno if the TIOCGPTN ioctl fails with an error different than
170 EINVAL.
171 * login/tst-ptsname.c: New file.
172 * login/Makefile (tests): Add tst-ptsname.
173
d16e6ec7
AJ
174 [BZ #16943]
175 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
176 and prlimit64.
177
cf26a0cb
SP
1782014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
179
180 [BZ #16849]
181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
182 herrno to return EAI_AGAIN.
183
5675da1e
RM
1842014-05-14 Roland McGrath <roland@hack.frob.com>
185
a5d87b3d
RM
186 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
187 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
188 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
190 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
192 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
196 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
198 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
200 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
202 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
206 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
208 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
210 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
212 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
214 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
215 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
217 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
221 Moved ...
222 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
242 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
244 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
246 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
248 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
250 Moved ...
251 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
261 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
271 Moved ...
272 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
274 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
275
039890a6
RM
276 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
277 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
278 (libpthread-sysdep_routines): Add elision-related stuff here instead.
279 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
280 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
282 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
283 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
284 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
285 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
286 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
287 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
288 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
289 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
290 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
291 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
292 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
293 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
294 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
295 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
296 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
297 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
298 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
299 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
300 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
301 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
302 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
303 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
304 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
305 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
306 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
307
65c89320
RM
308 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
309 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
310
348f8e8c
RM
311 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
312 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
313 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
314 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
315 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
317 Moved ...
318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
319 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
320 Moved ...
321 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
323 Moved ...
324 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
325 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
326 Moved ...
327 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
329 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
331 Moved ...
332 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
333 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
334 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
335 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
336 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
338 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
340 Moved ...
341 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
343 Moved ...
344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
345 ... here.
346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
347 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
348 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
349 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
350 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
351 Moved ...
352 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
353 ... here.
354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
355 Moved ...
356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
358 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
359 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
360 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
362 Moved ...
363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
365 Moved ...
366 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
368 Moved ...
369 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
370 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
371 Moved ...
372 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
374 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
376 Moved ...
377 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
378 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
379 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
380 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
381 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
383 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
384 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
385 Moved ...
386 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
388 Moved ...
389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
390 ... here.
391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
392 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
393 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
394 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
395 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
396 Moved ...
397 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
398 ... here.
399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
400 Moved ...
401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
402 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
403 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
404 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
405 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
406 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
407 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
408 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
409 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
410 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
411 Moved ...
412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
414 Moved ...
415 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
416 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
417 Moved ...
418 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
419 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
420 Moved ...
421 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
422 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
423 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
425 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
426 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
427 Moved ...
428 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
429 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
430 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
432 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
433 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
434 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
435 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
436 Moved ...
437 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
439 Moved ...
440 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
441 ... here.
442 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
443 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
444 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
445 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
447 Moved ...
448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
449 ... here.
450 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
451 Moved ...
452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
453 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
454 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
455 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
456 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
457 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
458 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
459 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
460 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
461 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
462 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
463
5085af05
RM
464 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
465 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
466
708f0813
RM
467 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
468 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
469
c96067bc
RM
470 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
471 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
472 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
473 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
474 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
475 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
476 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
477 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
479 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
481 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
483 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
484 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
486 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
487 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
488 Moved ...
489 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
491 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
492 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
493 Moved ...
494 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
496 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
498 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
500 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
502 Moved ...
503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
505 Moved ...
506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
512 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
514 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
515 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
516 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
517 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
518 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
519 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
520 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
521 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
522 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
523
ec136444
RM
524 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
525 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
526 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
527 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
528 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
529
2fbdf533
RM
530 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
531 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
532 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
533 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
534 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
535 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
536 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
537 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
538 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
539 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
540
4c68138b
RM
541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
543
4eaae765
RM
544 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
545 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
546 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
547 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
548 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
549 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
550 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
551 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
552 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
553 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
554 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
555 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
556 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
557 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
559 Update #include.
560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
561 Likewise.
562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
563 Likewise.
564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
565 Likewise.
566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
567 Likewise.
568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
569 Likewise.
570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
571 Likewise.
572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
573 Likewise.
574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
575 Likewise.
576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
577 Likewise.
4ef6befa
RM
578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
583 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 593
941d7dfd
RM
594 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
595 that was previously under [RESET_PID].
596 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
597 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
598 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
599
1b731c35
RM
600 * sysdeps/i386/nptl/Implies: New file.
601 * sysdeps/x86_64/nptl/Implies: New file.
602 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
603 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
604 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
605 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
606
e2787137
RM
607 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
608 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
609 (__libc_vfork): New strong alias.
610 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
611 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
612
613 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
614 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
615 (__libc_vfork): New strong alias.
616 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
617 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
618
5675da1e
RM
619 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
620 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
621 (__libc_vfork): New strong alias.
622 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
623 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
624 * nptl/pt-vfork.c: New file.
625 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
626 (libpthread: GLIBC_2.20): New version set (empty).
627
4f02e2b8
WN
6282014-05-14 Will Newton <will.newton@linaro.org>
629
630 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
631 rather than #if.
632
0bf061d3
JM
6332014-05-14 Joseph Myers <joseph@codesourcery.com>
634
1a84c3d6
JM
635 [BZ #16564]
636 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
637 arguments with exponent 65 or above.
638 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
639 arguments 0x1p113L or above.
640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
641 to arguments 0x1p107L or above.
642 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
643 positive arguments with exponent 65 or above.
644 * math/auto-libm-test-in: Add more tests of log1p.
645 * math/auto-libm-test-out: Regenerated.
646
01dbacd2
JM
647 [BZ #16928]
648 * math/s_cacos.c (__cacos): Ensure zero real part of result from
649 non-finite arguments is +0.
650 * math/s_cacosf.c (__cacosf): Likewise.
651 * math/s_cacosl.c (__cacosl): Likewise.
652 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
653 * sysdeps/i386/fpu/libm-test-ulps: Update.
654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
655
913d03c8
JM
656 [BZ #16927]
657 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
658 value.
659 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
660 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
661 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
662 for explicit high bit of mantissa when testing for argument equal
663 to 1.
664 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
665 * sysdeps/i386/fpu/libm-test-ulps: Update.
666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
667
0bf061d3
JM
668 [BZ #16516]
669 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
670 (__erf): Scale by 16 instead of 8 in potentially underflowing
671 case. Ensure exception if result actually underflows.
672 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
673 (__erff): Scale by 16 instead of 8 in potentially underflowing
674 case. Ensure exception if result actually underflows.
675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
676 (efx8): Remove variable.
677 (__erfl): Scale by 16 instead of 8 in potentially underflowing
678 case. Ensure exception if result actually underflows.
679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
680 (efx8): Remove variable.
681 (__erfl): Scale by 16 instead of 8 in potentially underflowing
682 case. Ensure exception if result actually underflows.
683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
684 (efx8): Remove variable.
685 (__erfl): Scale by 16 instead of 8 in potentially underflowing
686 case. Ensure exception if result actually underflows.
687 * math/auto-libm-test-in: Add more tests of erf.
688 * math/auto-libm-test-out: Regenerated.
689
73ba67cb
AS
6902014-05-14 Andreas Schwab <schwab@suse.de>
691
3d8c8bff
AS
692 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
693 Remove code conditionalized on USE___THREAD.
694
73ba67cb
AS
695 * config.h.in (HAVE_PT_CHOWN): Define as 0.
696 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
697 not definedness.
698
5c521ecd
JM
6992014-05-14 Joseph Myers <joseph@codesourcery.com>
700
5e7698c6
JM
701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
702 Define unconditionally.
703 (__ASSUME_O_CLOEXEC): Likewise.
704 (__ASSUME_SOCK_CLOEXEC): Likewise.
705 (__ASSUME_IN_NONBLOCK): Likewise.
706 (__ASSUME_PIPE2): Likewise.
707 (__ASSUME_EVENTFD2): Likewise.
708 (__ASSUME_SIGNALFD4): Likewise.
709 (__ASSUME_DUP3): Likewise.
710 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
711 (__ASSUME_DUP3): Do not define.
712 (__ASSUME_EVENTFD2): Likewise.
713 (__ASSUME_IN_NONBLOCK): Likewise.
714 (__ASSUME_O_CLOEXEC): Likewise.
715 (__ASSUME_PIPE2): Likewise.
716 (__ASSUME_SIGNALFD4): Likewise.
717 (__ASSUME_SOCK_CLOEXEC): Likewise.
718 (__ASSUME_UTIMES): Undefine.
719 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
720 (__ASSUME_UTIMES): Do not define.
721 (__ASSUME_O_CLOEXEC): Likewise.
722 (__ASSUME_SOCK_CLOEXEC): Likewise.
723 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
724 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
725 0x020621].
726 (__ASSUME_PIPE2): Likewise.
727 (__ASSUME_EVENTFD2): Likewise.
728 (__ASSUME_SIGNALFD4): Likewise.
729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
730 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
731 Do not define.
732 (__ASSUME_EVENTFD2): Likewise.
733 (__ASSUME_SIGNALFD4): Likewise.
734 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
735 (__ASSUME_32BITUIDS): Likewise.
736 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
737 (__ASSUME_IPC64): Likewise.
738 (__ASSUME_ST_INO_64_BIT): Likewise.
739 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
740 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
741 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
742 (__ASSUME_UTIMES): Do not define.
743 (__ASSUME_PSELECT): Likewise.
744 (__ASSUME_PPOLL): Likewise.
745 (__ASSUME_O_CLOEXEC): Likewise.
746 (__ASSUME_SOCK_CLOEXEC): Likewise.
747 (__ASSUME_IN_NONBLOCK): Likewise.
748 (__ASSUME_PIPE2): Likewise.
749 (__ASSUME_EVENTFD2): Likewise.
750 (__ASSUME_SIGNALFD4): Likewise.
751 (__ASSUME_DUP3): Likewise.
752 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
753 (__ASSUME_UTIMES): Likewise.
754 (__ASSUME_O_CLOEXEC): Likewise.
755 (__ASSUME_SOCK_CLOEXEC): Likewise.
756 (__ASSUME_IN_NONBLOCK): Likewise.
757 (__ASSUME_PIPE2): Likewise.
758 (__ASSUME_EVENTFD2): Likewise.
759 (__ASSUME_SIGNALFD4): Likewise.
760 (__ASSUME_DUP3): Likewise.
761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
762 (__ASSUME_UTIMES): Likewise.
763 (__ASSUME_O_CLOEXEC): Likewise.
764 (__ASSUME_SOCK_CLOEXEC): Likewise.
765 (__ASSUME_IN_NONBLOCK): Likewise.
766 (__ASSUME_PIPE2): Likewise.
767 (__ASSUME_EVENTFD2): Likewise.
768 (__ASSUME_SIGNALFD4): Likewise.
769 (__ASSUME_DUP3): Likewise.
770 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
771 Likewise.
772 (__ASSUME_UTIMES): Likewise.
773 (__ASSUME_EVENTFD2): Likewise.
774 (__ASSUME_SIGNALFD4): Likewise.
775 * sysdeps/unix/sysv/linux/tile/kernel-features.h
776 (__ASSUME_O_CLOEXEC): Likewise.
777 (__ASSUME_SOCK_CLOEXEC): Likewise.
778 (__ASSUME_IN_NONBLOCK): Likewise.
779 (__ASSUME_PIPE2): Likewise.
780 (__ASSUME_EVENTFD2): Likewise.
781 (__ASSUME_SIGNALFD4): Likewise.
782 (__ASSUME_DUP3): Likewise.
783 (__ASSUME_UTIMES): Undefine.
784
5c521ecd
JM
785 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
786 feclearexcept. Remove symbol versioning code.
787 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
788 symbol versioning code.
789 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
790 symbol versioning code.
791 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
792 feupdateenv. Remove symbol versioning code.
793 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
794 fegetexceptflag. Remove symbol versioning code.
795 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
796 fesetexceptflag. Remove symbol versioning code.
797 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
798 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
799 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
800 (__posix_fadvise64_l32): Remove prototype.
801 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
802 code.
803
5da9dfad
RM
8042014-05-13 Roland McGrath <roland@hack.frob.com>
805
806 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
807 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
808 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
809 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
810
893b4f37
SK
8112014-05-13 Sami Kerola <kerolasa@iki.fi>
812
813 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
814 current working directory
815
e0db6517
RM
8162014-05-13 Roland McGrath <roland@hack.frob.com>
817
58aa195d
RM
818 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
819 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
820 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
821 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
822 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
823 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
824 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
826 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
828 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
830 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
832 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
834 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
836 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
838 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
840 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
842 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
843 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
844 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
846 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
848 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
850 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
851 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
852 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
853 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
854 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
856 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
857 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
858 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
859 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
860
8c6d01f0
RM
861 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
862 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
863
864 * sysdeps/unix/sysv/linux/arm/Makefile
865 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
866 Add rt-aeabi_unwind_cpp_pr1.
867 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
868 Add nptl-aeabi_unwind_cpp_pr1.
869 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
870 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
871 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
872 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
873 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
874 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
875
876 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
877 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
878 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
879 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
880
bba6da4e
RM
881 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
882 Deconditionalize the code that was previously under [RESET_PID].
883 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
884
e0db6517
RM
885 * sysdeps/generic/exit-thread.h: New file.
886 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
887 * include/unistd.h (__exit_thread): Remove declaration.
888 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
889 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
890 * csu/libc-start.c: Include <exit-thread.h>.
891 (LIBC_START_MAIN): Pass no argument to __exit_thread.
892 * nptl/pthread_create.c: Include <exit-thread.h>.
893 (start_thread): Call __exit_thread in place of __exit_thread_inline.
894 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
895 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
896 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
897 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
898 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
899 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
900 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
901 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
902 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
903 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
904 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
905 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
906 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
907 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
908 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
909 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
910
01eb16fd
AS
9112014-05-13 Andreas Schwab <schwab@suse.de>
912
913 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
914
637461d9
JM
9152014-05-12 Joseph Myers <joseph@codesourcery.com>
916
917 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
918 (__ASSUME_UTIMES): Do not condition on kernel version.
919 (__ASSUME_PSELECT): Define unconditionally.
920 (__ASSUME_PPOLL): Likewise.
921 (__ASSUME_ATFCTS): Likewise.
922 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
923 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
924 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
925 (__ASSUME_UTIMENSAT): Define unconditionally.
926 (__ASSUME_PRIVATE_FUTEX): Likewise.
927 (__ASSUME_FALLOCATE): Likewise.
928 (__ASSUME_O_CLOEXEC): Likewise.
929 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
930 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
931 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
932 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
933 (__ASSUME_IN_NONBLOCK): Likewise.
934 (__ASSUME_PIPE2): Likewise.
935 (__ASSUME_EVENTFD2): Likewise.
936 (__ASSUME_SIGNALFD4): Likewise.
937 (__ASSUME_DUP3): Likewise.
938 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
939 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
940 (__ASSUME_AT_RANDOM): Likewise.
941 (__ASSUME_PREADV): Likewise.
942 (__ASSUME_PWRITEV): Likewise.
943 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
944 (__ASSUME_F_GETOWN_EX): Define unconditionally.
945 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
946 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
947 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
948 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
949 (__ASSUME_O_CLOEXEC): Define unconditionally.
950 (__ASSUME_PSELECT): Do not undefine conditionally.
951 (__ASSUME_PPOLL): Likewise.
952 (__ASSUME_ATFCTS): Likewise.
953 (__ASSUME_SET_ROBUST_LIST): Likewise.
954 (__ASSUME_UTIMENSAT): Likewise.
955 (__ASSUME_FDATASYNC): Define unconditionally.
956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
957 (__ASSUME_SIGFRAME_V2): Likewise.
958 )__ASSUME_EVENTFD2): Likewise.
959 (__ASSUME_SIGNALFD4): Likewise.
960 (__ASSUME_PSELECT): Do not undefine conditionally.
961 (__ASSUME_PPOLL): Likewise.
962 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
963 (__ASSUME_PSELECT): Define unconditionally.
964 (__ASSUME_PPOLL): Likewise.
965 (__ASSUME_O_CLOEXEC): Likewise.
966 (__ASSUME_SOCK_CLOEXEC): Likewise.
967 (__ASSUME_IN_NONBLOCK): Likewise.
968 (__ASSUME_PIPE2): Likewise.
969 (__ASSUME_EVENTFD2): Likewise.
970 (__ASSUME_SIGNALFD4): Likewise.
971 (__ASSUME_DUP3): Likewise.
972 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
973 (__ASSUME_O_CLOEXEC): Likewise.
974 (__ASSUME_SOCK_CLOEXEC): Likewise.
975 (__ASSUME_IN_NONBLOCK): Likewise.
976 (__ASSUME_PIPE2): Likewise.
977 (__ASSUME_EVENTFD2): Likewise.
978 (__ASSUME_SIGNALFD4): Likewise.
979 (__ASSUME_DUP3): Likewise.
980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
981 (__ASSUME_EVENTFD2): Likewise.
982 (__ASSUME_SIGNALFD4): Likewise.
983 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
984
315eb1d8
AS
9852014-05-12 Andreas Schwab <schwab@suse.de>
986
987 [BZ #16932]
988 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
989 (_nss_nis_gethostbyname4_r): Return error if item length is larger
990 than maximum RPC packet size.
991 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
992 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
993 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
994 (_nss_nis_getservbyport_r): Likewise.
995
91df99f7
WN
9962014-05-12 Will Newton <will.newton@linaro.org>
997
998 * malloc/Makefile (tests): Add tst-mallopt.
999 * malloc/tst-mallopt.c: New file.
1000
0a982a29
RM
10012014-05-09 Roland McGrath <roland@hack.frob.com>
1002
1003 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1004 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1005
0ded08a5
AZ
10062014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007
1008 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1009 (tst-tlsmod6.so): Likewise.
1010
55d4d550
RM
10112014-05-09 Roland McGrath <roland@hack.frob.com>
1012
1013 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1014
77d08aca
JM
10152014-05-09 Joseph Myers <joseph@codesourcery.com>
1016
1017 [BZ #16064]
1018 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1019 and <dl-procinfo.h>.
1020 (__fegetenv): Save SSE state in envp->__eip if supported.
1021 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1022 envp->__eip if supported.
1023 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1024 and <dl-procinfo.h>.
1025 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1026 __data_offset and __data_selector in environment to 0. Set SSE
1027 state if supported.
1028 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1029 test-fenv-sse.
1030 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1031 -mfpmath=sse.
1032 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1033
28162f4d
WN
10342014-05-09 Will Newton <will.newton@linaro.org>
1035
1036 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1037 and libc_relro_required for ARM.
1038 * sysdeps/arm/preconfigure: Regenerate.
1039
5a414ff7
DV
10402014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1041 Stefan Liebler <stli@linux.vnet.ibm.com>
1042
1043 * config.make.in (enable-lock-elision): New Makefile variable.
1044 * configure.ac: Likewise.
1045 * configure: Regenerate.
1046 * sysdeps/s390/configure.ac:
1047 Add check for gcc transactions support.
1048 * sysdeps/s390/configure: Regenerate.
1049 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1050 Build elision files if enabled.
1051 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1052 Add lock elision support for s390.
1053 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1054 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1055 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1056 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1057 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1058 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1059 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1060 Likewise.
1061 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1062 Likewise.
1063 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1064 Likewise.
1065 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1066 Likewise.
1067 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1068 (__lll_timedlock_elision, __lll_lock_elision)
1069 (__lll_unlock_elision, __lll_trylock_elision)
1070 (lll_timedlock_elision, lll_lock_elision)
1071 (lll_unlock_elision, lll_trylock_elision): Add.
1072 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1073 (pthread_mutex_t): Add lock elision support for s390.
1074
1a2f40e5
W
10752014-05-14 Wilco <wdijkstr@arm.com>
1076
1077 * sysdeps/arm/fclrexcpt.c: Cleanup.
1078 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1079 * sysdeps/arm/feenablxcpt.c: Cleanup.
1080 * sysdeps/arm/fegetenv.c: Cleanup.
1081 * sysdeps/arm/fegetexcept.c: Cleanup.
1082 * sysdeps/arm/fegetround.c: Cleanup.
1083 * sysdeps/arm/feholdexcpt.c: Cleanup.
1084 * sysdeps/arm/fesetenv.c: Cleanup.
1085 * sysdeps/arm/fesetround.c: Cleanup.
1086 * sysdeps/arm/feupdateenv.c: Cleanup.
1087 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1088 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1089 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1090 * sysdeps/arm/ftestexcept.c: Cleanup.
1091 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1092 * sysdeps/arm/setfpucw.c: Cleanup.
1093
f63c86fe
WN
10942014-05-09 Will Newton <will.newton@linaro.org>
1095
1096 * sysdeps/arm/armv7/strcmp.S: New file.
1097 * NEWS: Mention addition of ARMv7 optimized strcmp.
1098
7a1a51b5
RM
10992014-05-08 Roland McGrath <roland@hack.frob.com>
1100
95afbbe5
RM
1101 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1102 look for %.ac rather than %.in.
1103
1104 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1105 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1106 * sysdeps/mach/hurd/configure: Regenerated.
1107 * sysdeps/unix/sysv/linux/configure: Regenerated.
1108
7a1a51b5
RM
1109 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1110
5057ad3b
SE
11112014-05-07 Steve Ellcey <sellcey@mips.com>
1112
1113 [BZ# 16922]
1114 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1115 (LONG_SUB): Ditto.
1116 (PTR_SUB): Ditto.
1117
8dc97517
AS
11182014-05-07 Andreas Schwab <schwab@suse.de>
1119
1120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1121 when skipping over non-matching result from nscd.
1122
ce0c5b8f
OB
11232014-05-07 Ondřej Bílka <neleai@seznam.cz>
1124
1125 [BZ #16876]
1126 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1127
a1189263
OB
1128 [BZ #16877]
1129 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1130 nscd security class.
ce0c5b8f 1131
0f58d252
RM
11322014-05-06 Roland McGrath <roland@hack.frob.com>
1133
1134 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1135 * sysdeps/arm/unwind.h: ... here.
1136
83df9ad0
AJ
11372014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1138
ce0c5b8f
OB
1139 [BZ# 16916]
1140 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1141 Define.
83df9ad0 1142
f360f94a
VR
11432014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1144
1145 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1146 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1147 multiarch strncpy for PPC64.
1148 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1149 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1151 multiarch optimizations.
1152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1153 (__libc_ifunc_impl_list): Likewise.
1154 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1155 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1156 multiarch stpncpy for PPC64.
1157 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1159
978a41c3
AS
11602014-05-06 Andreas Schwab <schwab@suse.de>
1161
1162 [BZ #16912]
1163 * gmon/mcount.c (_MCOUNT_DECL): Use
1164 atomic_compare_and_exchange_bool_acq instead of
1165 catomic_compare_and_exchange_bool_acq.
1166
eb1ed03d
RM
11672014-05-05 Roland McGrath <roland@hack.frob.com>
1168
fe658845
RM
1169 * elf/Makefile (others, install-bin): Remove pldd.
1170 (pldd-modules): Variable removed.
1171 ($(objpfx)pldd): Target removed.
1172 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1173 (others, install-bin): Append pldd here.
1174 ($(objpfx)pldd): New target.
1175
eb1ed03d
RM
1176 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1177 to 0, so the first #if test emitted later doesn't see it undefined.
1178 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1179 * sysdeps/gnu/errlist.c: Regenerated.
1180
19c4bec0
AZ
11812014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182
1183 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1184 [libc_hidden_builtin_def]: Define to empty value.
1185 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1186 [libc_hidden_builtin_def]: Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1188 [libc_hidden_builtin_def]: Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1190 [libc_hidden_builtin_def]: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1192 __redirect_memcpy and define ifunc as default hidden symbol.
1193 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1194 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1195
7776e669
AC
11962014-05-04 Adam Conrad <adconrad@0c3.net>
1197
1198 * locale/iso-4217.def: Reintroduce XDR currency.
1199
d69aeb12
AM
12002014-05-04 Allan McRae <allan@archlinux.org>
1201
1202 * po/eo.po: Update Esperanto translation from translation project.
1203
8f1df5cf
CD
12042014-05-02 Carlos O'Donell <carlos@redhat.com>
1205
1206 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1207 and FEATURE_INDEX_MAX to 1.
1208 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1209
13e402e7
SE
12102014-05-01 Steve Ellcey <sellcey@mips.com>
1211
1212 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1213 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1214 * iconvdata/big5.c (ONE_DIRECTION): Define.
1215 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1216 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1217 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1218 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1219 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1220 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1221 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1222 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1223 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1224 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1225 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1226 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1227 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1228 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1229 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1230 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1231 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1232 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1233 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1234 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1235 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1236 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1237 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1238 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1239 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1240 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1241 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1242 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1243 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1244 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1245 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1246 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1247 * iconvdata/johab.c (ONE_DIRECTION): Define.
1248 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1249 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1250 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1251 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1252 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1253 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1254 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1255 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1256 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1257 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1258
c727f032
RM
12592014-05-01 Roland McGrath <roland@hack.frob.com>
1260
8f2f08d0
RM
1261 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1262 (_IO_JUMPS_OFFSET): Define to 0.
1263
c727f032
RM
1264 * nptl/sysdeps/pthread/bits/libc-lock.h
1265 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1266 (__libc_lock_define_initialized_recursive): Always define using
1267 initializer. Modern compilers treat uninitialized (implicit zero) and
1268 explicit zero initializers the same (i.e. put the datum in bss).
1269
a849e800
AS
12702014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1271
1272 * nscd/nscd-client.h: Include <string.h>.
1273
5331255b
DM
12742014-05-01 David S. Miller <davem@davemloft.net>
1275
1276 [BZ #16885]
1277 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1278 multiple zero bytes exist at the end of a string.
1279 Reported by Aurelien Jarno <aurelien@aurel32.net>
1280
1281 * string/test-strcmp.c (check): Add explicit test for situations where
1282 there are multiple zero bytes after the first.
1283
4fdfe821
AS
12842014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1285
1286 [BZ #16890]
1287 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1288 when compiling wprintf.
1289 * stdio-common/tstdiomisc.c (t3): New function.
1290 (main): Call it.
1291
0cdddc25
SE
12922014-05-01 Steve Ellcey <sellcey@mips.com>
1293
1294 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1295 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1296 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1297 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1298
6426d77e
SE
12992014-05-01 Steve Ellcey <sellcey@mips.com>
1300
1301 * stdlib/longlong.h: Updated from GCC.
1302
6d96f5e4
WN
13032014-05-01 Will Newton <will.newton@linaro.org>
1304 Bernard Ogden <bernie.ogden@linaro.org>
1305
7470db0c
WN
1306 * NEWS: Update fixed bug list.
1307
6d96f5e4
WN
1308 [BZ #15119]
1309 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1310
211d653c
DM
13112014-04-30 David S. Miller <davem@davemloft.net>
1312
4fa262fa
DM
1313 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1314 (libc_feholdexcept_setround_sparc_ctx): New function.
1315 (libc_fesetenv_sparc_ctx): Likewise.
1316 (libc_feupdateenv_sparc_ctx): Likewise.
1317 (libc_feholdsetround_sparc_ctx): Likewise.
1318 (libc_feholdexcept_setround_ctx): Define.
1319 (libc_feholdexcept_setroundf_ctx): Likewise.
1320 (libc_feholdexcept_setroundl_ctx): Likewise.
1321 (libc_fesetenv_ctx): Likewise.
1322 (libc_fesetenvf_ctx): Likewise.
1323 (libc_fesetenvl_ctx): Likewise.
1324 (libc_feupdateenv_ctx): Likewise.
1325 (libc_feupdateenvf_ctx): Likewise.
1326 (libc_feupdateenvl_ctx): Likewise.
1327 (libc_feresetround_ctx): Likewise.
1328 (libc_feresetroundf_ctx): Likewise.
1329 (libc_feresetroundl_ctx): Likewise.
1330 (libc_feholdsetround_ctx): Likewise.
1331 (libc_feholdsetroundf_ctx): Likewise.
1332 (libc_feholdsetroundl_ctx): Likewise.
1333
1d3d93ef
DM
1334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1335 with __USE_GNU instead of XOPEN cpp guards.
1336
8aa583c3
DM
1337 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1338 0.
1339
211d653c
DM
1340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1341 with XOPEN cpp guards.
1342
60c8f1f6
JB
13432014-04-30 Julian Brown <julian@codesourcery.com>
1344
1345 [BZ #16888]
1346 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1347 handling.
1348
9a461d46
JM
13492014-04-30 Joseph Myers <joseph@codesourcery.com>
1350
d0f5b3f8
JM
1351 [BZ #9894]
1352 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1353 Change to 2.6.32.
1354 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1355 * sysdeps/unix/sysv/linux/configure: Regenerated.
1356 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1357 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1358 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1359 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1360 * README: Update reference to required Linux kernel version.
1361 * manual/install.texi (Linux): Update reference to required Linux
1362 kernel headers version.
1363 * INSTALL: Regenerated.
1364
9a461d46
JM
1365 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1366 header inclusion.
1367 [POSIX] (limits.h): Likewise.
1368 [POSIX] (math.h): Likewise.
1369 [POSIX] (sys/wait.h): Likewise.
1370 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1371 function.
1372 [POSIX] (stddef.h): Do not allow header inclusion.
1373
1775babf
AZ
13742014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
57f41c40 1376 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1377
8f630cca
YY
13782014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1379
1380 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1381 Return immediately after lll_futex_wake.
1382
1cdeb237
SP
13832014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
bc8f194c
SP
1385 [BZ #16791]
1386 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1387 structure.
1388 (datahead_init_pos): Call datahead_init_common early.
1389 (datahead_init_neg): Likewise.
1390
1cdeb237
SP
1391 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1392 datahead_init_neg): New functions.
1393 * nscd/aicache.c (addhstaiX): Use them.
1394 * nscd/grpcache.c (cache_addgr): Likewise.
1395 * nscd/hstcache.c (cache_addhst): Likewise.
1396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1397 * nscd/netgroupcache.c (do_notfound): Likewise.
1398 (addgetnetgrentX): Likewise.
1399 (addinnetgrX): Likewise.
1400 * nscd/pwdcache.c (cache_addpw): Likewise.
1401 * nscd/servicescache.c (cache_addserv): Likewise.
1402
16b293a7
SP
14032014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1404 Atsushi Onoe <atsushi@onoe.org>
1405
1406 [BZ #14308]
1407 [BZ #12994]
1408 [BZ #13651]
1409 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1410 one response is valid.
1411 * resolv/res_send.c (send_dg): Check for validity of other
1412 response if the current response is a referral.
1413
a28a9b94
SE
14142014-04-29 Steve Ellcey <sellcey@mips.com>
1415
1416 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1417
2ca180e9
SL
14182014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1419
1420 [BZ #16823]
1421 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1422 Always divide by positive zero when computing -Inf result.
1423 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1424 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1425
18f2945a
AZ
14262014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1429 FPSCR if value do not change.
1430 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1431 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1432 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1433 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1434 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1435 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1436 function.
1437
5abebba4
CD
14382014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1439
1440 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1441 * sysdeps/unix/sysv/linux/hppa: Move directory from
1442 ports/systeps/unix/sysv/linux/hppa.
1443 * README: Update listing for hppa-*-linux-gnu.
1444
f7ed60c2
OB
14452014-04-28 Ondřej Bílka <neleai@seznam.cz>
1446
fff763a5
OB
1447 [BZ #16754]
1448 * manual/stdio.texi (Hook functions): Fix types of stream hook
1449 functions.
f7ed60c2
OB
1450 [BZ #16854]
1451 * socket/sys/socket.h: Fix typo in comment.
1452
df639d73
WD
14532014-04-28 Wilco <wdijkstr@arm.com>
1454
f7ed60c2 1455 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1456 * sysdeps/arm/math_private.h: New file.
1457 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1458
48332d82
L
14592014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1462 with __int128_t.
1463 (La_x86_64_retval): Likewise.
1464
e5e0d9a4
IB
14652014-04-24 Ian Bolton <ian.bolton@arm.com>
1466
1467 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1468 fpsr if value didn't change.
1469 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1470 to fpcr if value didn't change.
1471 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1472 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1473 fpsr or fpcr if value didn't change.
1474 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1475 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1476 fpcr if value didn't change.
1477 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1478 to fpsr if value didn't change.
1479
bacc75f7
SP
14802014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1481
1482 * nptl/tst-sem3.c: Use test-skeleton.c
1483 (main): Rename to do_test. Use return instead of
1484 exit.
1485 * nptl/tst-sem4.c: Use test-skeleton.c
1486 (main): Rename to do_test.
1487
a059d359
DM
14882014-04-22 David S. Miller <davem@davemloft.net>
1489
1490 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1491 (struct sigaction): New struct member __glibc_reserved0, change
1492 type of sa_flags to int.
1493
ea6c92f3
YZ
14942014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1495
1496 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1497 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1498
766c4a36
SP
14992014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1500
1501 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1502 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1503
140cc7ab
VK
15042014-04-22 Will Newton <will.newton@linaro.org>
1505 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1506
1507 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1508 (__longjmp): Add longjmp and longjmp_target SystemTap
1509 probes.
1510 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1511 (__sigsetjmp): Add setjmp SystemTap probe.
1512
c54e5cf7
CD
15132014-04-17 Carlos O'Donell <carlos@redhat.com>
1514
1515 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1516 match manual order.
1517
75ffb047
AZ
15182014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1519
1520 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1521
2cd925f7
AZ
1522 * sysdeps/powerpc/fpu/fenv_private.h
1523 (libc_feholdexcept_setroundl_ctx): Define to
1524 libc_feholdexcept_setround_ppc_ctx.
1525 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1526 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1527 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1528 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1529
39e6cd8d
IB
15302014-04-17 Ian Bolton <ian.bolton@arm.com>
1531
1532 * sysdeps/aarch64/math-tests.h: New file.
1533
f9281df9
SY
15342014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1535
1536 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1537 New.
1538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1539 Check and set bit_AVX2_Usable.
1540 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1541 macro.
1542 (bit_AVX2): Likewise.
1543 (index_AVX2_Usable): Likewise.
1544 (CPUID_AVX2): Likewise.
1545 (HAS_AVX2): Likewise.
1546
37d35007
WN
15472014-04-17 Will Newton <will.newton@linaro.org>
1548
7c677662
WN
1549 * manual/setjmp.texi (System V contexts): Add note that
1550 calling setcontext on a context created by a call to a
1551 signal handler is undefined. Update text to note that
1552 setcontext from a signal handler is possible but not
1553 recommended.
1554
37d35007 1555 [BZ #16629]
e04a4e9d
WN
1556 * stdlib/tst-setcontext.c: Include signal.h.
1557 (main): Check that the signal stack before and
1558 after swapcontext is the same.
1559
37d35007
WN
1560 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1561 Re-implement to restore registers in user code and avoid
1562 rt_sigreturn system call.
1563
423a7160
W
15642014-04-17 Wilco <wdijkstr@arm.com>
1565
1566 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1567 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1568 * math/test-fenv.c: Skip exception trap tests on targets which only
1569 support non-stop mode.
1570
bc93ab29
IB
15712014-04-17 Ian Bolton <ian.bolton@arm.com>
1572 Wilco Dijkstra <wilco.dijkstra@arm.com>
1573
1574 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1575 (libc_feholdsetround_aarch64_ctx)
1576 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1577 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1578 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1579 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1580 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1581 (libc_feresetround_noexl_ctx): Define.
1582
95fc5fa3
RH
15832014-04-16 Richard Henderson <rth@redhat.com>
1584
ddb04724
RH
1585 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1586
d77c0899
RH
1587 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1588 unwind tables.
1589
a3df56fc
RH
1590 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1591 const from the non-libc, non-ldso copy.
1592
95fc5fa3
RH
1593 * sysdeps/alpha/libm-test-ulps: Regenerate.
1594
7e0b6763
IB
15952014-04-16 Ian Bolton <ian.bolton@arm.com>
1596 Wilco Dijkstra <wilco.dijkstra@arm.com>
1597
1598 * sysdeps/aarch64/fpu/math_private.h: New file.
1599
a9ea2e0c
MS
16002014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1601
1602 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1603
ea8ba7cd
IZ
16042014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1605
1606 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1607 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1609 Intel MPX bound registers before _dl_profile_fixup.
1610 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1611 registers after _dl_profile_fixup. Save and restore bound
1612 registers bnd0/bnd1 when calling _dl_call_pltexit.
1613 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1614 (LR_BND_OFFSET): Likewise.
1615 (LRV_BND0_OFFSET): Likewise.
1616 (LRV_BND1_OFFSET): Likewise.
1617
9f2a4fbc
ST
16182014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1619
1620 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1621 to...
1622 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1623 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1624 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1625 fields.
9f2a4fbc 1626
fd15a59b
ST
16272014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1628
1629 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1630
f19dfa0a
SL
16312014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1632
1633 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1634
4fa8bc3b
SL
16352014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1636
1637 [BZ #14770]
1638 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1639 * sysdeps/s390/configure: Regenerate.
1640
8ea587db
SL
1641 [BZ #16824]
1642 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1643 Set round-to-nearest internally to reduce error accumulation.
1644
aa5f0ff1
AM
16452014-04-16 Alan Modra <amodra@gmail.com>
1646
1647 [BZ #16740]
1648 [BZ #16619]
1649 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1650 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1651 * NEWS: Update fixed bug list.
aa5f0ff1 1652
bb9c256f
SP
16532014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1654
1655 * benchtests/Makefile: Depend on libraries in build directory.
1656 (bench-math): Separate out math tests.
1657 (bench-pthread): Separate out pthread tests.
1658 (bench): Include math and pthread tests.
1659
f737dfd0
CD
16602014-04-14 Carlos O'Donell <carlos@redhat.com>
1661
1662 [BZ #16831]
1663 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1664 _dl_debug_initialize.
1665
0699f766
CD
1666 * configure.ac: Remove SELinux header check.
1667 * configure: Regenerate.
1668 * nscd/selinux.c (perms): Array of const char* to permission names.
1669 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1670 default policy. Call string_to_security_class and string_to_av_perm to
1671 translate strings. Enforce default policy and call avs_has_perm with
1672 results of translated strings.
1673
809bd45f
DM
16742014-04-13 David S. Miller <davem@davemloft.net>
1675
1676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1677
89e691f2
AM
16782014-04-12 Allan McRae <allan@archlinux.org>
1679
1680 [BZ #16838]
1681 * manual/string.texi (Collation Functions): Fix qsort argument
1682 order in example.
1683 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1684
9c9daaeb
CM
16852014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1686
1687 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1688 Make the test a no-op if there are no exceptions defined.
1689
95561fb9
PP
16902014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1691
fe8d072c 1692 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1693 enable-hardcoded-path-in-tests
1694
970c602a
WN
16952014-04-11 Will Newton <will.newton@linaro.org>
1696
1697 * benchtests/Makefile (extra-objs): Add json-lib.o.
1698 (bench-func): Tidy up JSON output.
1699 * benchtests/bench-skeleton.c: Include json-lib.h.
1700 (main): Use JSON library functions to do output of
1701 benchmark results.
1702 * benchtests/bench-timing-type.c (main): Output the
1703 timing type simply, leaving formatting to the user.
1704 * benchtests/json-lib.c: New file.
1705 * benchtests/json-lib.h: Likewise.
1706
36875b06
TR
17072014-04-11 Torvald Riegel <triegel@redhat.com>
1708
1709 [BZ #15215]
1710 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1711 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1712 memory barriers. Add comments.
1713 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1714 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1715 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1716 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1717 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1718 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1719
579db35a
SL
17202014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1721
1722 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1723 * sysdeps/s390/s390-64/configure.ac: ... this ...
1724 * sysdeps/s390/configure.ac: ... to here.
1725 * sysdeps/s390/s390-32/configure: Delete file.
1726 * sysdeps/s390/s390-64/configure: Delete file.
1727 * sysdeps/s390/configure: Regenerate.
1728
c12e9f37
JAPH
17292014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1730
1731 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1732
439bda32
WN
17332014-04-11 Will Newton <will.newton@linaro.org>
1734
1735 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1736 to zero if it is not defined elsewhere. (mtrim): Test
1737 the value of MALLOC_DEBUG with #if rather than #ifdef.
1738
6a5d6ea1
TR
17392014-04-10 Torvald Riegel <triegel@redhat.com>
1740
1741 * benchtests/pthread_once-inputs: New file.
1742 * benchtests/pthread_once-source.c: New file.
1743 * benchtests/README: Update documentation.
1744
a4c75cfd
IZ
17452014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1746 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1749 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1750 * sysdeps/x86_64/configure: Regenerated.
1751 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1752 macro.
1753 (REGISTER_SAVE_RAX): Likewise.
1754 (REGISTER_SAVE_RCX): Likewise.
1755 (REGISTER_SAVE_RDX): Likewise.
1756 (REGISTER_SAVE_RSI): Likewise.
1757 (REGISTER_SAVE_RDI): Likewise.
1758 (REGISTER_SAVE_R8): Likewise.
1759 (REGISTER_SAVE_R9): Likewise.
1760 (REGISTER_SAVE_BND0): Likewise.
1761 (REGISTER_SAVE_BND1): Likewise.
1762 (REGISTER_SAVE_BND2): Likewise.
1763 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1764 bound registers when calling _dl_fixup.
1765
27822ce6
AZ
17662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767
1768 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1769 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1770 of its definition.
27822ce6
AZ
1771 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1772 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1773 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1774 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1775 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1776 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1777 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1778
a88ddc90
PTB
17792014-04-09 Peter Brett <peter@peter-b.co.uk>
1780
1781 [BZ #15514]
1782 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1783 pathconf(_PC_NAME_MAX).
1784
01f8eac2
AZ
17852014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786
1787 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1788 Remove macro usage.
1789 (__PTHREAD_SPINS): Move definition to ...
1790 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1791 (__PTHREAD_SPINS): ... here.
1792 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1793 (__PTHREAD_SPIN): Likewise.
1794 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1795 (__PTHREAD_SPIN): Likewise.
1796 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1797 (__PTHREAD_SPIN): Likewise.
1798 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1799 (__PTHREAD_SPIN): Likewise.
1800 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1801 (__PTHREAD_SPIN): Likewise.
1802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1803 (__PTHREAD_SPIN): Likewise.
1804 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1805 (__PTHREAD_SPIN): Likewise.
1806 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1807 (__PTHREAD_SPIN): Likewise.
1808 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1809 (__PTHREAD_SPIN): Likewise.
1810 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1811 (__PTHREAD_SPIN): Likewise.
1812 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1813 (__PTHREAD_SPIN): Likewise.
1814 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1815 (__PTHREAD_SPIN): Likewise.
1816
de21c33c
AZ
1817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1818 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1819 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1821 imply folder.
1822 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1823 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1824 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1825 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1826 correct imply path.
1827 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1828 strlen symbol for non multi-arch builds.
1829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1830 missing hidden_def and weak_alias.
1831
862c472e
CD
18322014-04-08 Carlos O'Donell <carlos@redhat.com>
1833
1834 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1835
8667f90e
WN
18362014-04-07 Will Newton <will.newton@linaro.org>
1837
1838 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1839 and contents. [!_LIBC] Remove #ifndef and contents.
1840 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1841 * string/memccpy.c (__memccpy): Use ANSI prototype.
1842 * string/memfrob.c (memfrob): Likewise.
1843 * string/strcoll.c (STRCOLL): Likewise.
1844 * string/strlen.c (strlen): Likewise.
1845 * string/strtok.c (STRTOK): Likewise.
1846 * string/strcat.c: Remove unused #include of memcopy.h.
1847 (strcat): Use ANSI prototype.
1848 * string/strchr.c: Remove unused #include of memcopy.h.
1849 (strchr): Use ANSI prototype.
1850 * string/strcmp.c: Remove unused #include of memcopy.h.
1851 (strcmp): Use ANSI prototype.
1852 * string/strcpy.c: Remove unused #include of memcopy.h.
1853 (strcpy): Use ANSI prototype.
1854
7ffa9423
AZ
18552014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856
1857 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1858 * config.make.in (config-extra-cppflags): Set it from
1859 libc_extra_cppflags.
1860 * configure.ac (libc_extra_cflags): Make it accumulate over
1861 configure fragments.
1862 (libc_extra_cppflags): New flag.
1863 * configure. Regenerate.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1865 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1866 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1868
8bd70862
AZ
1869 [BZ #16815]
1870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1871 result for FE_DOWNWARD rounding mode.
1872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1873 Likewise.
1874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1875
d42f3448
CM
18762014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1877
1878 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1879 in function argument name.
1880
1c21d115
DS
18812014-04-03 David Svoboda <svoboda@cert.org>
1882
1883 [BZ #5666]
1884 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1885 explicitly.
1886
fcccd512
RM
18872014-04-03 Roland McGrath <roland@hack.frob.com>
1888
1889 * elf/dl-unmap-segments.h: New file.
1890 * sysdeps/generic/ldsodefs.h
1891 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1892 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1893 * elf/dl-fptr.c: Likewise.
1894 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1895 * sysdeps/aarch64/tlsdesc.c: Likewise.
1896 * sysdeps/arm/tlsdesc.c: Likewise.
1897 * sysdeps/i386/tlsdesc.c: Likewise.
1898 * sysdeps/tile/dl-runtime.c: Likewise.
1899 * sysdeps/x86_64/tlsdesc.c: Likewise.
1900 * elf/dl-load.h: New file.
1901 * elf/dl-load.c: Include it.
1902 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1903 Macros moved to dl-load.h.
1904 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1905 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1906 Use _dl_unmap_segments in place of __munmap.
1907 Break out segment-mapping loop into ...
1908 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1909
f6488e2b
WN
19102014-04-03 Will Newton <will.newton@linaro.org>
1911
1912 * elf/dl-lookup.c (do_lookup_x): Remove comment
1913 referring to nested function and move variable
1914 declarations down to before first use.
1915
6f05bafe
JM
19162014-04-02 Joseph Myers <joseph@codesourcery.com>
1917
a84e78c8
JM
1918 [BZ #16799]
1919 [BZ #16800]
1920 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1921 with 0 numerator.
1922 * math/s_catanf.c (__catanf): Likewise.
1923 * math/s_catanh.c (__catanh): Likewise.
1924 * math/s_catanhf.c (__catanhf): Likewise.
1925 * math/s_catanhl.c (__catanhl): Likewise.
1926 * math/s_catanl.c (__catanl): Likewise.
1927 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1928 by positive zero when computing -Inf result.
1929 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1930 (catanh_test): Likewise.
1931 * sysdeps/i386/fpu/libm-test-ulps: Update.
1932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1933
6f05bafe
JM
1934 [BZ #16789]
1935 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1936 instead of using underflowing value in computing result.
1937 * math/s_clog10.c (__clog10): Likewise.
1938 * math/s_clog10f.c (__clog10f): Likewise.
1939 * math/s_clog10l.c (__clog10l): Likewise.
1940 * math/s_clogf.c (__clogf): Likewise.
1941 * math/s_clogl.c (__clogl): Likewise.
1942 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1943 (clog10_test): Likewise.
1944 * sysdeps/i386/fpu/libm-test-ulps: Update.
1945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1946
b0abbc21
AM
19472014-04-02 Alan Modra <amodra@gmail.com>
1948
1949 [BZ #16739]
1950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1951 output when value is near a power of two. Use int64_t for lx and
1952 remove casts. Use decimal rather than hex exponent constants.
1953 Don't use long double multiplication when double will suffice.
1954 * math/libm-test.inc (nextafter_test_data): Add tests.
1955 * NEWS: Add 16739 and 16786 to bug list.
1956
af6b1797
AM
1957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1958
483818d7
AM
1959 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1960
f6c55796
WN
19612014-04-01 Will Newton <will.newton@linaro.org>
1962
1963 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1964 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1965
13f7fe35
FW
19662014-04-01 Florian Weimer <fweimer@redhat.com>
1967
1968 [BZ #13347]
1969 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1970 * nptl/tst-setuid2.c: New file.
1971 * nptl/Makefile (xtests): Add tst-setuid2.
1972
c859b32e
AM
19732014-04-01 Alan Modra <amodra@gmail.com>
1974
1975 [BZ #16786]
1976 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1977
54fa2475
JM
19782014-03-31 Joseph Myers <joseph@codesourcery.com>
1979
8795b4a4
JM
1980 [BZ #6803]
1981 [BZ #6804]
1982 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1983 set errno as appropriate.
1984 * math/w_scalbf.c (__scalbf): Likewise.
1985 * math/w_scalbl.c (__scalbl): Likewise.
1986 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1987 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1988 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1989 Add more NaN tests.
1990
54fa2475
JM
1991 [BZ #16349]
1992 * math/w_atan2.c: Include <errno.h>.
1993 (__atan2): Set errno for result underflowing to zero.
1994 * math/w_atan2f.c: Include <errno.h>.
1995 (__atan2f): Set errno for result underflowing to zero.
1996 * math/w_atan2l.c: Include <errno.h>.
1997 (__atan2l): Set errno for result underflowing to zero.
1998 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1999 tests.
2000 * math/auto-libm-test-out: Regenerated.
2001
757d9dd5
AZ
20022014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003
2004 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2005 Encode instruction correctly in little endian.
2006 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2007 Likewise.
2008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2009 Likewise.
2010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2011 Likewise.
2012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2013 Likewise.
2014
d7a68734
JM
20152014-03-31 Joseph Myers <joseph@codesourcery.com>
2016
47c5adeb
JM
2017 [BZ #9894]
2018 * sysdeps/unix/sysv/linux/kernel-features.h
2019 [__sparc__ && !__arch64__ && !__sparc_v9__]
2020 (__ASSUME_SET_ROBUST_LIST): Do not define.
2021 [__sparc__ && !__arch64__ && !__sparc_v9__]
2022 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2023 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2026 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2027 (__ASSUME_REQUEUE_PI): Likewise.
2028 (__ASSUME_SET_ROBUST_LIST): Likewise.
2029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2030 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2031 Undefine.
2032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2033 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2034 Likewise.
2035 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2036 Likewise.
2037 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2038 Likewise.
2039 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2040 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2041 Undefine.
2042 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2044 Likewise.
2045
d7a68734
JM
2046 [BZ #16648]
2047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2048 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2049 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2050
c760f5c2
WN
20512014-03-31 Will Newton <will.newton@linaro.org>
2052
2053 * benchtests/Makefile (bench): Add ffs and ffsll to list
2054 of tests.
2055 * benchtests/ffs-inputs: New file.
2056 * benchtests/ffsll-inputs: Likewise.
2057
ea6029b1
JM
20582014-03-29 Joseph Myers <joseph@codesourcery.com>
2059
2060 [BZ #16770]
2061 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2062 too large before casting to int.
2063 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2064 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2065 * math/libm-test.inc (scalb_test_data): Add more tests.
2066
cf806aff
SP
20672014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
56737508
SP
2069 * benchtests/Makefile (DETAILED_OPT): New make option.
2070 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2071 set.
2072 * benchtests/bench-skeleton.c: Include stdbool.h.
2073 (main): Store and print timings per input.
2074 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2075 member to each argument value.
2076 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2077 (_print_arg_data): Initialize per-input timing to 0.
2078
cb5e4aad
SP
2079 * benchtests/Makefile (timing-type): New binary.
2080 (bench-clean): Also remove bench-timing-type.
2081 (bench): New target for timing-type.
2082 (bench-func): Print output in JSON format.
2083 * benchtests/bench-skeleton.c (main): Print output in JSON
2084 format.
2085 * benchtests/bench-timing-type.c: New file.
2086 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2087 (TIMING_PRINT_STATS): Remove.
2088 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2089 name separately.
2090
cf806aff
SP
2091 * benchtests/bench-modf.c: Remove.
2092 * benchtests/modf-inputs: New inputs file.
2093
289e0779
JM
20942014-03-28 Joseph Myers <joseph@codesourcery.com>
2095
2096 [BZ #16362]
2097 * math/s_clog10.c (M_PI_LOG10E): New macro.
2098 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2099 imaginary parts are 0.
2100 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2101 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2102 imaginary parts are 0.
2103 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2104 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2105 imaginary parts are 0.
2106 * math/libm-test.inc (clog10_test_data): Update expected results
2107 for when real and imaginary parts are 0.
2108
277ae3f1
PP
21092014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2110
2111 * elf/dl-load.c: Finish conversion of __builtin_expect into
2112 __glibc_{un}likely.
2113
03a7091f
JM
21142014-03-27 Joseph Myers <joseph@codesourcery.com>
2115
2116 [BZ #16348]
2117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2118 1+x for argument with exponent below -67.
2119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2120 Likewise.
2121 * math/auto-libm-test-in: Add more tests of exp.
2122 * math/auto-libm-test-out: Regenerated.
2123
ea7d8b95
SP
21242014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2125
dd3022d7
SP
2126 [BZ #16759]
2127 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2128 (nscd_getnetgrent): Use it.
2129
ea7d8b95
SP
2130 [BZ #16760]
2131 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2132 of stpcpy.
2133
df5b85da
AK
21342014-03-27 Andi Kleen <ak@linux.intel.com>
2135
57f41c40
AS
2136 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2137 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2138 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2139 (lll_robust_unlock): Remove out of line section. Use cfi
2140 intrinsics.
df5b85da 2141 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2142 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2143 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2144 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2145 (lll_robust_unlock): Remove out of line section. Use cfi
2146 intrinsics.
df5b85da
AK
2147 (LLL_STUB_UNWIND_INFO*): Remove.
2148
fbd6b5a4
SP
21492014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
2151 [BZ #16758]
2152 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2153 blank values.
2154
1b26b855
PP
21552014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2156
2157 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2158
9be36fb8
JM
21592014-03-26 Joseph Myers <joseph@codesourcery.com>
2160
2161 [BZ #16198]
2162 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2163 fnstenv.
2164 * math/test-fenv-preserve.c: New file.
2165 * math/Makefile (tests): Add test-fenv-preserve.
2166
60a2f3c1
WN
21672014-03-26 Will Newton <will.newton@linaro.org>
2168
2169 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2170
a5e5f1e2
RM
21712014-03-25 Roland McGrath <roland@hack.frob.com>
2172
2173 * scripts/versionlist.awk: Partition the version sets and emit all
2174 GLIBC_* (sorted) before all others (sorted).
2175
00f4012a
JM
21762014-03-25 Joseph Myers <joseph@codesourcery.com>
2177
2178 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2179 GLIBC_2.2.5 version.
2180
7bc5a741
AZ
21812014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182
2183 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2184 calls.
2185
7578473b
AZ
2186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2187 previous change.
2188
f3f1dab3
AZ
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2190
6da36183
AS
21912014-03-25 Andreas Schwab <schwab@suse.de>
2192
2193 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2194 label to be used after in6ailist is initialized.
2195
f3f1dab3 21962014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2197
7578473b 2198 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2199 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2200
046651c1
JM
22012014-03-25 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #16357]
2204 [BZ #16599]
2205 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2206 min_plus_half.
2207 (fp_formats): Update initializers.
2208 (init_fp_formats): Initialize new field.
2209 (output_for_one_input_case): Allow underflow for results up to
2210 min_plus_half.
2211 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2212 * math/auto-libm-test-in: Don't mark some underflows from asin and
2213 atanh as spurious.
2214 * math/auto-libm-test-out: Regenerated.
2215 * sysdeps/i386/fpu/libm-test-ulps: Update.
2216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2217
003e49ed
AS
22182014-03-25 Andreas Schwab <schwab@suse.de>
2219
2220 * libio/Makefile (tst-ftell-partial-wide-ENV)
2221 (tst-ftell-active-handler-ENV): Define.
2222
de031874
SL
22232014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2224
2225 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2226
55a81e3b
PP
22272014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2228
2229 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2230
f3426898
JM
22312014-03-24 Joseph Myers <joseph@codesourcery.com>
2232
2233 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2234 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2235 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2236
a42faf59
PP
22372014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2238
2239 [BZ #16634]
a42faf59 2240 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2241 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2242 (open_path): Change from boolean 'secure' to complete flag 'mode'
2243 (_dl_map_object): Adjust.
a42faf59
PP
2244 * elf/Makefile (tests): Add tst-dlopen-aout.
2245 * elf/tst-dlopen-aout.c: New test.
2246
50936127
SL
22472014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2248
2249 [BZ #16714]
2250 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2251 (struct stat): Rename member pad0 to __glibc_reserved0.
2252
26011b5c
SL
2253 [BZ #16712]
2254 * sysdeps/s390/s390-32/bits/wordsize.h
2255 (__WORDSIZE32_SIZE_ULONG): New define.
2256 * sysdeps/s390/s390-64/bits/wordsize.h
2257 (__WORDSIZE32_SIZE_ULONG): Likewise.
2258 * sysdeps/generic/stdint.h (SIZE_MAX):
2259 Define as UL if __WORDSIZE32_SIZE_ULONG.
2260
a2d86bf1
SL
2261 [BZ #16713]
2262 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2263 (__glibc_reserved0): New variable.
2264 (sa_flags): Change type to int.
2265
78b6eebc
SL
2266 * posix/Makefile (before-compile): Use += before-compile instead
2267 of a :=.
2268
f1399b5a
SL
2269 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2270 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2271
a071766e
AS
22722014-03-20 Andreas Schwab <schwab@suse.de>
2273
2274 [BZ #16743]
2275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2276 non-matching result from nscd.
2277
27c673b8
SP
22782014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2279
2280 * scripts/bench.py: Moved to ...
2281 * benchtests/scripts/bench.py: ... here.
2282 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2283
44152e4b
AS
22842014-03-24 Andreas Schwab <schwab@suse.de>
2285
2286 [BZ #16002]
2287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2288 alloca_account and account alloca use for struct in6ailist.
2289
b376a11a
JM
22902014-03-24 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #16284]
2293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2294 rounding mode to recompute results that overflow to infinity or
2295 underflow to zero.
2296 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2297 bug 16284.
2298 * math/auto-libm-test-out: Regenerated.
2299 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2300 (ccosh_test): Likewise.
2301 (csin_test_data): Use plus_oflow.
2302 (csin_test): Use ALL_RM_TEST.
2303 (csinh_test_data): Use plus_oflow.
2304 (csinh_test): Use ALL_RM_TEST.
2305 * sysdeps/i386/fpu/libm-test-ulps: Update.
2306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2307
f7be7376
JM
23082014-03-21 Joseph Myers <joseph@codesourcery.com>
2309
1ca2d03e
JM
2310 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2311 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2312 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2313
f7be7376
JM
2314 [BZ #16731]
2315 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2316 when x - 1 is zero.
2317 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2318 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2319 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2321 argument is 1.
2322 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2323 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2324 zero.
2325 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2326 * sysdeps/i386/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328
fdf4534d
SP
23292014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2330
df26ea53
SP
2331 * scripts/bench.pl: Remove file.
2332 * scripts/bench.py: New benchmark script.
2333 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2334 * benchtests/README: Mention python dependency.
2335 * scripts/pylintrc: New file.
2336 * scripts/pylint: New file.
2337
fdf4534d
SP
2338 * bits/mathdef.h: Use #ifdef instead of #if.
2339 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2340 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2341 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2342 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2343 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2344 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2345
6f23d093
AZ
23462014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2348
2349 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2351 and strpbrk-ppc64 objects.
2352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2353 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2354 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2355 multiarch strpbrk for POWER7.
2356 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2357 multiarch strpbrk for PPC64.
2358 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2359 ifunc selector.
2360 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2361 strpbrk for POWER7.
2362
8c92dfff
JM
23632014-03-20 Joseph Myers <joseph@codesourcery.com>
2364
2365 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2366 (atan_test): Likewise.
2367 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2368 (atanh_test): Use ALL_RM_TEST.
2369 (atan2_test_data): Likewise.
2370 (cabs_test): Likewise.
2371 (cacosh_test): Likewise.
2372 (carg_test): Likewise.
2373 (casin_test): Likewise.
2374 (casinh_test): Likewise.
2375 (cbrt_test): Likewise.
2376 (csqrt_test): Likewise.
2377 (erf_test): Likewise.
2378 (erfc_test): Likewise.
2379 (pow10_test): Likewise.
2380 (exp2_test): Likewise.
2381 (hypot_test): Likewise.
2382 (j0_test): Likewise.
2383 (j1_test): Likewise.
2384 (lgamma_test): Likewise.
2385 (gamma_test): Likewise.
2386 (sincos_test): Likewise.
2387 (tanh_test): Likewise.
2388 (y0_test): Likewise.
2389 (y1_test): Likewise.
2390 * sysdeps/i386/fpu/libm-test-ulps: Update.
2391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2392
6eaf95cb
AZ
23932014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394
a387428c
SP
2395 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2397 and strcspn-ppc64 objects.
2398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2399 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2400 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2401 multiarch strcspn for POWER7.
2402 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2403 multiarch strcspn for PPC64.
2404 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2405 ifunc selector.
2406 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2407 strcspn for POWER7.
2408
ae3a5dff
JM
24092014-03-20 Joseph Myers <joseph@codesourcery.com>
2410
2411 * math/gen-libm-test.pl (generate_testfile): Expect only function
2412 name as argument to AUTO_TESTS_* and pass results for all rounding
2413 modes to parse_args.
2414 (parse_auto_input): Separate inputs of automatic tests from
2415 outputs before storing in %auto_tests.
2416 * math/libm-test.inc (acos_test_data): Update call to
2417 AUTO_TESTS_f_f.
2418 (acos_test): Use ALL_RM_TEST.
2419 (acos_tonearest_test_data): Remove.
2420 (acos_test_tonearest): Likewise.
2421 (acos_towardzero_test_data): Likewise.
2422 (acos_test_towardzero): Likewise.
2423 (acos_downward_test_data): Likewise.
2424 (acos_test_downward): Likewise.
2425 (acos_upward_test_data): Likewise.
2426 (acos_test_upward): Likewise.
2427 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2428 (asin_test_data): Likewise.
2429 (asin_test): Use ALL_RM_TEST.
2430 (asin_tonearest_test_data): Remove.
2431 (asin_test_tonearest): Likewise.
2432 (asin_towardzero_test_data): Likewise.
2433 (asin_test_towardzero): Likewise.
2434 (asin_downward_test_data): Likewise.
2435 (asin_test_downward): Likewise.
2436 (asin_upward_test_data): Likewise.
2437 (asin_test_upward): Likewise.
2438 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2439 (atan_test_data): Likewise.
2440 (atanh_test_data): Likewise.
2441 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2442 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2443 (carg_test_data): Likewise.
2444 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2445 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2446 (ccosh_test_data): Likewise.
2447 (cexp_test_data): Likewise.
2448 (clog_test_data): Likewise.
2449 (clog10_test_data): Likewise.
2450 (cos_test_data): Update call to AUTO_TESTS_f_f.
2451 (cos_test): Use ALL_RM_TEST.
2452 (cos_tonearest_test_data): Remove.
2453 (cos_test_tonearest): Likewise.
2454 (cos_towardzero_test_data): Likewise.
2455 (cos_test_towardzero): Likewise.
2456 (cos_downward_test_data): Likewise.
2457 (cos_test_downward): Likewise.
2458 (cos_upward_test_data): Likewise.
2459 (cos_test_upward): Likewise.
2460 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2461 (cosh_test): Use ALL_RM_TEST.
2462 (cosh_tonearest_test_data): Remove.
2463 (cosh_test_tonearest): Likewise.
2464 (cosh_towardzero_test_data): Likewise.
2465 (cosh_test_towardzero): Likewise.
2466 (cosh_downward_test_data): Likewise.
2467 (cosh_test_downward): Likewise.
2468 (cosh_upward_test_data): Likewise.
2469 (cosh_test_upward): Likewise.
2470 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2471 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2472 (ctan_test_data): Likewise.
2473 (ctan_test): Use ALL_RM_TEST.
2474 (ctan_tonearest_test_data): Remove.
2475 (ctan_test_tonearest): Likewise.
2476 (ctan_towardzero_test_data): Likewise.
2477 (ctan_test_towardzero): Likewise.
2478 (ctan_downward_test_data): Likewise.
2479 (ctan_test_downward): Likewise.
2480 (ctan_upward_test_data): Likewise.
2481 (ctan_test_upward): Likewise.
2482 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2483 (ctanh_test): Use ALL_RM_TEST.
2484 (ctanh_tonearest_test_data): Remove.
2485 (ctanh_test_tonearest): Likewise.
2486 (ctanh_towardzero_test_data): Likewise.
2487 (ctanh_test_towardzero): Likewise.
2488 (ctanh_downward_test_data): Likewise.
2489 (ctanh_test_downward): Likewise.
2490 (ctanh_upward_test_data): Likewise.
2491 (ctanh_test_upward): Likewise.
2492 (erf_test_data): Update call to AUTO_TESTS_f_f.
2493 (erfc_test_data): Likewise.
2494 (exp_test_data): Likewise.
2495 (exp_test): Use ALL_RM_TEST.
2496 (exp_tonearest_test_data): Remove.
2497 (exp_test_tonearest): Likewise.
2498 (exp_towardzero_test_data): Likewise.
2499 (exp_test_towardzero): Likewise.
2500 (exp_downward_test_data): Likewise.
2501 (exp_test_downward): Likewise.
2502 (exp_upward_test_data): Likewise.
2503 (exp_test_upward): Likewise.
2504 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2505 (exp10_test): Use ALL_RM_TEST.
2506 (exp10_tonearest_test_data): Remove.
2507 (exp10_test_tonearest): Likewise.
2508 (exp10_towardzero_test_data): Likewise.
2509 (exp10_test_towardzero): Likewise.
2510 (exp10_downward_test_data): Likewise.
2511 (exp10_test_downward): Likewise.
2512 (exp10_upward_test_data): Likewise.
2513 (exp10_test_upward): Likewise.
2514 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2515 (expm1_test_data): Likewise.
2516 (expm1_test): Use ALL_RM_TEST.
2517 (expm1_tonearest_test_data): Remove.
2518 (expm1_test_tonearest): Likewise.
2519 (expm1_towardzero_test_data): Likewise.
2520 (expm1_test_towardzero): Likewise.
2521 (expm1_downward_test_data): Likewise.
2522 (expm1_test_downward): Likewise.
2523 (expm1_upward_test_data): Likewise.
2524 (expm1_test_upward): Likewise.
2525 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2526 (fma_test): Use ALL_RM_TEST.
2527 (fma_towardzero_test_data): Remove.
2528 (fma_test_towardzero): Likewise.
2529 (fma_downward_test_data): Likewise.
2530 (fma_test_downward): Likewise.
2531 (fma_upward_test_data): Likewise.
2532 (fma_test_upward): Likewise.
2533 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2534 (j0_test_data): Update call to AUTO_TESTS_f_f.
2535 (j1_test_data): Likewise.
2536 (jn_test_data): Update call to AUTO_TESTS_if_f.
2537 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2538 (log_test_data): Update call to AUTO_TESTS_f_f.
2539 (log10_test_data): Likewise.
2540 (log1p_test_data): Likewise.
2541 (log2_test_data): Likewise.
2542 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2543 (pow_tonearest_test_data): Likewise.
2544 (sin_test_data): Update call to AUTO_TESTS_f_f.
2545 (sin_test): Use ALL_RM_TEST.
2546 (sin_tonearest_test_data): Remove.
2547 (sin_test_tonearest): Likewise.
2548 (sin_towardzero_test_data): Likewise.
2549 (sin_test_towardzero): Likewise.
2550 (sin_downward_test_data): Likewise.
2551 (sin_test_downward): Likewise.
2552 (sin_upward_test_data): Likewise.
2553 (sin_test_upward): Likewise.
2554 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2555 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2556 (sinh_test): Use ALL_RM_TEST.
2557 (sinh_tonearest_test_data): Remove.
2558 (sinh_test_tonearest): Likewise.
2559 (sinh_towardzero_test_data): Likewise.
2560 (sinh_test_towardzero): Likewise.
2561 (sinh_downward_test_data): Likewise.
2562 (sinh_test_downward): Likewise.
2563 (sinh_upward_test_data): Likewise.
2564 (sinh_test_upward): Likewise.
2565 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2566 (sqrt_test): Use ALL_RM_TEST.
2567 (sqrt_tonearest_test_data): Remove.
2568 (sqrt_test_tonearest): Likewise.
2569 (sqrt_towardzero_test_data): Likewise.
2570 (sqrt_test_towardzero): Likewise.
2571 (sqrt_downward_test_data): Likewise.
2572 (sqrt_test_downward): Likewise.
2573 (sqrt_upward_test_data): Likewise.
2574 (sqrt_test_upward): Likewise.
2575 (tan_test_data): Update call to AUTO_TESTS_f_f.
2576 (tan_test): Use ALL_RM_TEST.
2577 (tan_tonearest_test_data): Remove.
2578 (tan_test_tonearest): Likewise.
2579 (tan_towardzero_test_data): Likewise.
2580 (tan_test_towardzero): Likewise.
2581 (tan_downward_test_data): Likewise.
2582 (tan_test_downward): Likewise.
2583 (tan_upward_test_data): Likewise.
2584 (tan_test_upward): Likewise.
2585 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2586 (tgamma_test_data): Likewise.
2587 (y0_test_data): Likewise.
2588 (y1_test_data): Likewise.
2589 (yn_test_data): Update call to AUTO_TESTS_if_f.
2590 (main): Do not call removed functions.
2591
d71aeee8
JM
25922014-03-19 Joseph Myers <joseph@codesourcery.com>
2593
2594 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2595 (ldexp_test_data): Remove.
2596 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2597 scalbn_test_data.
2598 (scalb_test): Use ALL_RM_TEST.
2599
baaf1ded
AS
26002014-03-19 Andreas Schwab <schwab@suse.de>
2601
2602 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2603
b1115e91
JM
26042014-03-19 Joseph Myers <joseph@codesourcery.com>
2605
2606 [BZ #16649]
2607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2608 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2611 (__ASSUME_PREADV): Undefine.
2612 (__ASSUME_PWRITEV): Likewise.
2613
0283ecca
RM
26142014-03-18 Roland McGrath <roland@hack.frob.com>
2615
7d375303
RM
2616 * bits/mman-linux.h: Add comment about non-Linux use.
2617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2618 bits/mman-linux.h resting place.
2619
0283ecca
RM
2620 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2621 * bits/mman-linux.h: ... here.
2622
aebe1003
AZ
26232014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624
2625 * conform/conformtest.pl: Add standard definition when calling C
2626 preprocessor on data files.
2627 (checknamespace): Remove unused variable.
2628
b29b6bb8
JM
26292014-03-18 Joseph Myers <joseph@codesourcery.com>
2630
2631 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2632 minus_oflow, plus_uflow and minus_uflow in expected results.
2633 * math/libm-test.inc (scalbn_test_data): Add more tests of
2634 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2635 minus_uflow.
2636 (scalbn_test): Use ALL_RM_TEST.
2637 (scalbln_test_data): Add more tests of negative arguments. Use
2638 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2639 (scalbln_test): Use ALL_RM_TEST.
2640
c8f8fa15
RM
26412014-03-18 Roland McGrath <roland@hack.frob.com>
2642
2643 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2644
fede7a5f
WN
26452014-03-18 Will Newton <will.newton@linaro.org>
2646
2647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2648 inaccurate comment.
2649
80cf0a58
JM
26502014-03-18 Joseph Myers <joseph@codesourcery.com>
2651
2652 * Makerules [!subdir] (check-abi): Exit with error status if a
2653 test failed.
2654
b3620862
JM
26552014-03-17 Joseph Myers <joseph@codesourcery.com>
2656
2657 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2658 for rint. Include results for all rounding modes.
2659 (nearbyint_test): Use ALL_RM_TEST.
2660 (rint_test_data): Include all tests used for nearbyint.
2661
788bba36
WN
26622014-03-17 Will Newton <will.newton@linaro.org>
2663
04ec140a
WN
2664 * nptl/sysdeps/pthread/pthread.h: Revert previous
2665 change.
2666
7579d8d5
WN
2667 * sysdeps/generic/ldsodefs.h: Revert previous
2668 change.
2669
c15cf13a
WN
2670 * libio/genops.c: Revert previous change.
2671 * libio/libioP.h: Likewise.
2672 * stdio-common/vfprintf.c: Likewise.
2673
d0ac1324
WN
2674 * sysdeps/generic/math_private.h: Revert previous
2675 change.
2676
9290130a
WN
2677 * sysdeps/generic/math_private.h: Check whether
2678 HAVE_RM_CTX is defined with #ifdef rather
2679 than #if.
2680
afb466fc
WN
2681 * argp/argp-fmtstream.h: Check whether
2682 __STRICT_ANSI__ is defined with #ifdef rather
2683 than #if.
2684 * argp/argp.h: Likewise.
2685
f7efd7c3
WN
2686 * libio/genops.c: Check whether
2687 _IO_JUMPS_OFFSET is defined with #ifdef rather
2688 than #if.
2689 * libio/libioP.h: Likewise.
2690 * stdio-common/vfprintf.c: Likewise.
2691
53f1bed3
WN
2692 * sysdeps/generic/ldsodefs.h: Check whether
2693 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2694 than #if.
2695
788bba36
WN
2696 * nptl/sysdeps/pthread/pthread.h: Check
2697 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2698 its value.
2699
fcd89ebe
SP
27002014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2701
ae42bbc5
SP
2702 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2703 setting O_APPEND.
2704 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2705 test case.
2706
ea33158c
SP
2707 [BZ #16680]
2708 * libio/fileops.c (_IO_file_open): Seek to end of file but
2709 don't cache the offset.
2710 (get_file_offset): Remove function.
2711 (do_ftell): Use cached offset when available.
2712 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2713 don't cache the offset.
2714 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2715 case.
2716 (do_one_test): Call it.
2717 (do_ftell_test): Fix up expected old offset for a+ mode.
2718 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2719 available.
2720
b1dbb426
SP
2721 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2722 up test status with function return status.
2723 (do_write_test): Likewise.
2724 (do_append_test): Likewise.
2725
fcd89ebe
SP
2726 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2727 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2728 Remove.
2729
9962a2d3
JM
27302014-03-17 Joseph Myers <joseph@codesourcery.com>
2731
2732 * math/gen-libm-test.pl (parse_args): Handle results specified for
2733 each rounding mode separately.
2734 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2735 tests and results from lrint_tonearest_test_data,
2736 lrint_towardzero_test_data, lrint_downward_test_data and
2737 lrint_upward_test_data.
2738 (lrint_test): Use ALL_RM_TEST.
2739 (lrint_tonearest_test_data): Remove.
2740 (lrint_test_tonearest): Likewise.
2741 (lrint_towardzero_test_data): Likewise.
2742 (lrint_test_towardzero): Likewise.
2743 (lrint_downward_test_data): Likewise.
2744 (lrint_test_downward): Likewise.
2745 (lrint_upward_test_data): Likewise.
2746 (lrint_test_upward): Likewise.
2747 (llrint_test_data): Merge in per-rounding-mode tests and results
2748 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2749 llrint_downward_test_data and llrint_upward_test_data.
2750 (llrint_test): Use ALL_RM_TEST.
2751 (llrint_tonearest_test_data): Remove.
2752 (llrint_test_tonearest): Likewise.
2753 (llrint_towardzero_test_data): Likewise.
2754 (llrint_test_towardzero): Likewise.
2755 (llrint_downward_test_data): Likewise.
2756 (llrint_test_downward): Likewise.
2757 (llrint_upward_test_data): Likewise.
2758 (llrint_test_upward): Likewise.
2759 (rint_test_data): Merge in per-rounding-mode tests and results
2760 from rint_tonearest_test_data, rint_towardzero_test_data,
2761 rint_downward_test_data and rint_upward_test_data. Add
2762 per-rounding-mode results for tests not in those arrays.
2763 (rint_test): Use ALL_RM_TEST.
2764 (rint_tonearest_test_data): Remove.
2765 (rint_test_tonearest): Likewise.
2766 (rint_towardzero_test_data): Likewise.
2767 (rint_test_towardzero): Likewise.
2768 (rint_downward_test_data): Likewise.
2769 (rint_test_downward): Likewise.
2770 (rint_upward_test_data): Likewise.
2771 (rint_test_upward): Likewise.
2772 (main): Don't call removed functions.
2773
5006148e
RM
27742014-03-14 Roland McGrath <roland@hack.frob.com>
2775
2776 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2777 "Compiled on ..." crapola. It is anti-useful.
2778
d6fe5e58
JM
27792014-03-14 Joseph Myers <joseph@codesourcery.com>
2780
2781 * scripts/evaluate-test.sh: Handle fourth argument to determine
2782 whether test run should stop on failure.
2783 * Makeconfig (stop-on-test-failure): New variable.
2784 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2785 $(stop-on-test-failure).
2786 * Makefile (tests): Give a summary of results from testing and
2787 exit with failure status if they include an ERROR or FAIL.
2788 (xtests): Likewise.
2789 * manual/install.texi (Configuring and compiling): Mention
2790 stop-on-test-failure=y.
2791 * INSTALL: Regenerated.
2792
498a2233
RM
27932014-03-14 Roland McGrath <roland@hack.frob.com>
2794
22dbc19d
RM
2795 * scripts/versionlist.awk: New file.
2796 * Makerules [$(build-shared) = yes]
2797 (postclean-generated): Add Versions.def, not Versions.def.v and
2798 Versions.def.v.i.
2799 ($(common-objpfx)Versions.def.v.i): Target removed.
2800 ($(common-objpfx)Versions.def): New target.
2801 ($(common-objpfx)Versions.all): Depend on that rather that
2802 $(common-objpfx)Versions.def.v.
2803 * Versions.def: File removed.
2804
498a2233
RM
2805 * Makeconfig (+gccwarn): Add -Wundef.
2806 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2807 a dl-sysdep.h breaking its contract.
2808 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2809 * include/stackinfo.h: New file.
2810 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2811 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2812 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2813 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2814 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2815 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2816 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2817 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2818 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2819 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2820 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2821 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2822 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2823 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2824 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2825
c7de5025
AZ
28262014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827
2828 [BZ #16707]
2829 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2830 implementation.
2831 * math/libm-test.inc (round_test_data): Add more tests.
2832
98fb27a3
AZ
2833 [BZ #16706]
2834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2835 implementation.
2836 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2837
374f7f61
AZ
2838 [BZ #16701]
2839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2840 implementation.
2841 * math/libm-test.inc (ceil_test_data): Add more tests.
2842
4655c291
AZ
2843 * math/libm-test.inc (trunc_test_data): Add more tests related to
2844 BZ#16414.
2845
d7329d4b
RM
28462014-03-14 Roland McGrath <roland@hack.frob.com>
2847
2848 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2849 with #if rather than #ifdef.
2850 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2851
aa4de9ce
L
28522014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2855 first. Disable AVX-512 GCC support if assembler doesn't support
2856 it.
2857 * sysdeps/x86_64/configure: Regenerated.
2858
2e03fae7
CD
28592014-03-13 Carlos O'Donell <carlos@redhat.com>
2860
2861 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2862 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2863 (__old_pthread_attr_setstack): Likewise.
2864 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2865 [!_STACK_GROWS_DOWN]: Likewise.
2866
43ca83ec
MF
28672014-03-13 Mike Frysinger <vapier@gentoo.org>
2868
2869 * config.make.in (have-bash2): Delete.
2870 * configure.ac (libc_cv_have_bash2): Delete.
2871 * configure: Regenerate.
2872 * elf/Makefile (common-ldd-rewrite): Rename to ...
2873 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2874 (sh-ldd-rewrite): Delete.
2875 (bash-ldd-rewrite): Delete.
2876 (have-bash2): Delete checks.
57f41c40
AS
2877 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2878 ldd-rewrite.
c66e48b4
MF
2879
2880 * config.make.in (have-ksh): Delete.
2881 (KSH): Delete.
2882 * configure.ac (libc_cv_have_ksh): Delete.
2883 * configure: Regenerate.
2884
b93834ef
MF
2885 * elf/Makefile: Delete $(have-ksh) check.
2886 ($(objpfx)sotruss): Change KSH to BASH.
2887 * elf/sotruss.ksh: Rename to ...
2888 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2889 function style to match POSIX. Drop ksh vim mode setting.
2890
f3a4632a
MF
2891 * manual/time.texi (Specifying the Time Zone with TZ): Change
2892 Tuesday to Thursday.
2893
5896c8bd
MF
2894 * debug/tst-longjmp_chk2.c: Update header comment.
2895 (stackoverflow_handler): Add comment. Call assert on pass value.
2896
2d63a517
IZ
28972014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2898
2899 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2900 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2901 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2902 (La_x86_64_vector): Add zmm.
2903 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2904 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2905 ($(objpfx)tst-audit10): New target.
2906 ($(objpfx)tst-audit10.out): Likewise.
2907 (tst-audit10-ENV): New.
2908 (AVX512-CFLAGS): Likewise.
2909 (CFLAGS-tst-audit10.c): Likewise.
2910 (CFLAGS-tst-auditmod10a.c): Likewise.
2911 (CFLAGS-tst-auditmod10b.c): Likewise.
2912 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2913 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2914 * sysdeps/x86_64/configure: Regenerated.
2915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2916 AVX-512 zmm register support.
2917 (_dl_x86_64_save_sse): Likewise.
2918 (_dl_x86_64_restore_sse): Likewise.
2919 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2920 size vector registers.
2921 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2922 (ZMM_SIZE): Likewise.
2923 * sysdeps/x86_64/tst-audit10.c: New file.
2924 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2925 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2926
44c4e5d5
RM
29272014-03-13 Roland McGrath <roland@hack.frob.com>
2928
2929 * configure.ac (HAVE_EHDR_START): New check.
2930 * configure: Regenerated.
2931 * config.h.in (HAVE_EHDR_START): New #undef.
2932 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2933 assuming the lowest-addressed segment maps the start of the file.
2934
acd6e389
JM
29352014-03-13 Joseph Myers <joseph@codesourcery.com>
2936
2937 * INSTALL: Regenerated.
2938
6f918f36
WN
29392014-03-13 Will Newton <will.newton@linaro.org>
2940
2941 * manual/setjmp.texi (System V contexts): Improve
2942 clarity and grammar of documentation.
2943
798212a0
PP
29442014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2945
2946 [BZ #16381]
798212a0 2947 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2948 (tests-pie): Add tst-pie2.
798212a0
PP
2949 * elf/tst-pie2.c: New file.
2950 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2951 for ET_EXEC.
2952 * elf/rtld.c (map_doit): Load executable as lt_executable.
2953 (dl_main): Likewise.
2954
abe6d90c
JM
29552014-03-12 Joseph Myers <joseph@codesourcery.com>
2956
2957 [BZ #16642]
2958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2959 (__ASSUME_PSELECT): Undefine.
2960
dd3946c6
AZ
29612014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962
2963 [BZ #16689]
2964 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2965 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2966 static build.
2967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2968 selector for static builds.
2969
c44496df
SP
29702014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2971
2972 [BZ #16695]
2973 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2974 key in the buffer.
2975
27c7220a
AZ
29762014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
57f41c40
AS
2978 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2979 IFUNC selector for static builds.
27c7220a 2980
600fa361
JM
29812014-03-11 Joseph Myers <joseph@codesourcery.com>
2982
76c96cf7
JM
2983 * sysdeps/mips/math_private.h [__mips_hard_float]
2984 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2985 libc_feresetround_mips_ctx.
2986 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2987 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2988 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2989
600fa361
JM
2990 [BZ #16677]
2991 * math/s_nextafter.c (__nextafter): Do not return value from
2992 overflowing computation.
2993 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2994 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2995 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2996 Likewise.
2997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2998 Likewise.
2999 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3000 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3001
d7706c32
RM
30022014-03-11 Roland McGrath <roland@hack.frob.com>
3003
3004 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3005 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3006 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3007 the new mov targetting sp.
3008
4facea47
AZ
30092014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010
3011 [BZ #16683]
3012 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3013 Define it for static builds as well.
3014 (NO_BZERO_IMPL): Likewise.
3015
e65caf1f
VR
30162014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3017
3018 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3019 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3020 multiarch strspn for PPC64.
3021 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3022 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3024 (__libc_ifunc_impl_list): Likewise.
3025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3026 multiarch optimizations
3027 * string/strspn.c (strspn): Using macro to redefine symbol name.
3028
ba9cc071
AZ
30292014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3030 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3031
3032 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3033 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3034 multiarch strncat for PPC64.
3035 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3036 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3038 (__libc_ifunc_impl_list): Likewise.
3039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3040 multiarch optimizations
3041
8b4ff974
SP
30422014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3043
3044 [BZ #16639]
3045 * nscd/nscd.service: Make service type forking.
3046
54b46a4b
AZ
30472014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048
3049 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3050 sign in non default rounding modes.
3051 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3052
e9996ef7
JM
30532014-03-08 Joseph Myers <joseph@codesourcery.com>
3054
3055 * math/libm-test.inc (ALL_RM_TEST): New macro.
3056 (ceil_test): Use ALL_RM_TEST.
3057 (cimag_test): Likewise.
3058 (conj_test): Likewise.
3059 (copysign_test): Likewise.
3060 (cproj_test): Likewise.
3061 (creal_test): Likewise.
3062 (fabs_test): Likewise.
3063 (floor_test): Likewise.
3064 (fmax_test): Likewise.
3065 (fmin_test): Likewise.
3066 (fmod_test): Likewise.
3067 (fpclassify_test): Likewise.
3068 (frexp_test): Likewise.
3069 (ilogb_test): Likewise.
3070 (isfinite_test): Likewise.
3071 (finite_test): Likewise.
3072 (isgreater_test): Likewise.
3073 (isgreaterequal_test): Likewise.
3074 (isinf_test): Likewise.
3075 (isless_test): Likewise.
3076 (islessequal_test): Likewise.
3077 (islessgreater_test): Likewise.
3078 (isnan_test): Likewise.
3079 (isnormal_test): Likewise.
3080 (issignaling_test): Likewise.
3081 (isunordered_test): Likewise.
3082 (logb_test): Likewise.
3083 (logb_downward_test_data): Remove.
3084 (logb_test_downward): Likewise.
3085 (lround_test): Use ALL_RM_TEST.
3086 (llround_test): Likewise.
3087 (modf_test): Likewise.
3088 (nexttoward_test): Likewise.
3089 (remainder_test): Likewise.
3090 (drem_test): Likewise.
3091 (remainder_tonearest_test_data): Likewise.
3092 (remainder_test_tonearest): Likewise.
3093 (drem_test_tonearest): Likewise.
3094 (remainder_towardzero_test_data): Likewise.
3095 (remainder_test_towardzero): Likewise.
3096 (drem_test_towardzero): Likewise.
3097 (remainder_downward_test_data): Likewise.
3098 (remainder_test_downward): Likewise.
3099 (drem_test_downward): Likewise.
3100 (remainder_upward_test_data): Likewise.
3101 (remainder_test_upward): Likewise.
3102 (drem_test_upward): Likewise.
3103 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3104 (round_test): Use ALL_RM_TEST.
3105 (signbit_test): Likewise.
3106 (trunc_test): Likewise.
3107 (significand_test): Likewise.
3108 (main): Don't call removed functions.
3109
bc61d27c
JM
31102014-03-07 Joseph Myers <joseph@codesourcery.com>
3111
5c780849
JM
3112 [BZ #16674]
3113 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3114 || __USE_XOPEN2K8].
3115 (ILL_ILLOPN): Likewise.
3116 (ILL_ILLADR): Likewise.
3117 (ILL_ILLTRP): Likewise.
3118 (ILL_PRVOPC): Likewise.
3119 (ILL_PRVREG): Likewise.
3120 (ILL_COPROC): Likewise.
3121 (ILL_BADSTK): Likewise.
3122 (FPE_INTDIV): Likewise.
3123 (FPE_INTOVF): Likewise.
3124 (FPE_FLTDIV): Likewise.
3125 (FPE_FLTOVF): Likewise.
3126 (FPE_FLTUND): Likewise.
3127 (FPE_FLTRES): Likewise.
3128 (FPE_FLTINV): Likewise.
3129 (FPE_FLTSUB): Likewise.
3130 (SEGV_MAPERR): Likewise.
3131 (SEGV_ACCERR): Likewise.
3132 (BUS_ADRALN): Likewise.
3133 (BUS_ADRERR): Likewise.
3134 (BUS_OBJERR): Likewise.
3135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3136 (TRAP_TRACE): Likewise.
3137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3138 __USE_XOPEN2K8].
3139 (CLD_KILLED): Likewise.
3140 (CLD_DUMPED): Likewise.
3141 (CLD_TRAPPED): Likewise.
3142 (CLD_STOPPED): Likewise.
3143 (CLD_CONTINUED): Likewise.
3144 (POLL_IN): Likewise.
3145 (POLL_OUT): Likewise.
3146 (POLL_MSG): Likewise.
3147 (POLL_ERR): Likewise.
3148 (POLL_PRI): Likewise.
3149 (POLL_HUP): Likewise.
3150 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3151 Likewise.
3152 (ILL_ILLOPN): Likewise.
3153 (ILL_ILLADR): Likewise.
3154 (ILL_ILLTRP): Likewise.
3155 (ILL_PRVOPC): Likewise.
3156 (ILL_PRVREG): Likewise.
3157 (ILL_COPROC): Likewise.
3158 (ILL_BADSTK): Likewise.
3159 (FPE_INTDIV): Likewise.
3160 (FPE_INTOVF): Likewise.
3161 (FPE_FLTDIV): Likewise.
3162 (FPE_FLTOVF): Likewise.
3163 (FPE_FLTUND): Likewise.
3164 (FPE_FLTRES): Likewise.
3165 (FPE_FLTINV): Likewise.
3166 (FPE_FLTSUB): Likewise.
3167 (SEGV_MAPERR): Likewise.
3168 (SEGV_ACCERR): Likewise.
3169 (BUS_ADRALN): Likewise.
3170 (BUS_ADRERR): Likewise.
3171 (BUS_OBJERR): Likewise.
3172 (BUS_MCEERR_AR): Likewise.
3173 (BUS_MCEERR_AO): Likewise.
3174 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3175 (TRAP_TRACE): Likewise.
3176 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3177 __USE_XOPEN2K8].
3178 (CLD_KILLED): Likewise.
3179 (CLD_DUMPED): Likewise.
3180 (CLD_TRAPPED): Likewise.
3181 (CLD_STOPPED): Likewise.
3182 (CLD_CONTINUED): Likewise.
3183 (POLL_IN): Likewise.
3184 (POLL_OUT): Likewise.
3185 (POLL_MSG): Likewise.
3186 (POLL_ERR): Likewise.
3187 (POLL_PRI): Likewise.
3188 (POLL_HUP): Likewise.
3189 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3190 (ILL_ILLOPN): Likewise.
3191 (ILL_ILLADR): Likewise.
3192 (ILL_ILLTRP): Likewise.
3193 (ILL_PRVOPC): Likewise.
3194 (ILL_PRVREG): Likewise.
3195 (ILL_COPROC): Likewise.
3196 (ILL_BADSTK): Likewise.
3197 (FPE_INTDIV): Likewise.
3198 (FPE_INTOVF): Likewise.
3199 (FPE_FLTDIV): Likewise.
3200 (FPE_FLTOVF): Likewise.
3201 (FPE_FLTUND): Likewise.
3202 (FPE_FLTRES): Likewise.
3203 (FPE_FLTINV): Likewise.
3204 (FPE_FLTSUB): Likewise.
3205 (SEGV_MAPERR): Likewise.
3206 (SEGV_ACCERR): Likewise.
3207 (BUS_ADRALN): Likewise.
3208 (BUS_ADRERR): Likewise.
3209 (BUS_OBJERR): Likewise.
3210 (BUS_MCEERR_AR): Likewise.
3211 (BUS_MCEERR_AO): Likewise.
3212 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3213 (TRAP_TRACE): Likewise.
3214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3215 __USE_XOPEN2K8].
3216 (CLD_KILLED): Likewise.
3217 (CLD_DUMPED): Likewise.
3218 (CLD_TRAPPED): Likewise.
3219 (CLD_STOPPED): Likewise.
3220 (CLD_CONTINUED): Likewise.
3221 (POLL_IN): Likewise.
3222 (POLL_OUT): Likewise.
3223 (POLL_MSG): Likewise.
3224 (POLL_ERR): Likewise.
3225 (POLL_PRI): Likewise.
3226 (POLL_HUP): Likewise.
3227 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3228 Likewise.
3229 (ILL_ILLOPN): Likewise.
3230 (ILL_ILLADR): Likewise.
3231 (ILL_ILLTRP): Likewise.
3232 (ILL_PRVOPC): Likewise.
3233 (ILL_PRVREG): Likewise.
3234 (ILL_COPROC): Likewise.
3235 (ILL_BADSTK): Likewise.
3236 (ILL_BADIADDR): Likewise.
3237 (ILL_BREAK): Likewise.
3238 (FPE_INTDIV): Likewise.
3239 (FPE_INTOVF): Likewise.
3240 (FPE_FLTDIV): Likewise.
3241 (FPE_FLTOVF): Likewise.
3242 (FPE_FLTUND): Likewise.
3243 (FPE_FLTRES): Likewise.
3244 (FPE_FLTINV): Likewise.
3245 (FPE_FLTSUB): Likewise.
3246 (FPE_DECOVF): Likewise.
3247 (FPE_DECDIV): Likewise.
3248 (FPE_DECERR): Likewise.
3249 (FPE_INVASC): Likewise.
3250 (FPE_INVDEC): Likewise.
3251 (SEGV_MAPERR): Likewise.
3252 (SEGV_ACCERR): Likewise.
3253 (SEGV_PSTKOVF): Likewise.
3254 (BUS_ADRALN): Likewise.
3255 (BUS_ADRERR): Likewise.
3256 (BUS_OBJERR): Likewise.
3257 (BUS_MCEERR_AR): Likewise.
3258 (BUS_MCEERR_AO): Likewise.
3259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3260 (TRAP_TRACE): Likewise.
3261 (TRAP_BRANCH): Likewise.
3262 (TRAP_HWBKPT): Likewise.
3263 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3264 __USE_XOPEN2K8].
3265 (CLD_KILLED): Likewise.
3266 (CLD_DUMPED): Likewise.
3267 (CLD_TRAPPED): Likewise.
3268 (CLD_STOPPED): Likewise.
3269 (CLD_CONTINUED): Likewise.
3270 (POLL_IN): Likewise.
3271 (POLL_OUT): Likewise.
3272 (POLL_MSG): Likewise.
3273 (POLL_ERR): Likewise.
3274 (POLL_PRI): Likewise.
3275 (POLL_HUP): Likewise.
3276 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3277 (ILL_ILLOPN): Likewise.
3278 (ILL_ILLADR): Likewise.
3279 (ILL_ILLTRP): Likewise.
3280 (ILL_PRVOPC): Likewise.
3281 (ILL_PRVREG): Likewise.
3282 (ILL_COPROC): Likewise.
3283 (ILL_BADSTK): Likewise.
3284 (FPE_INTDIV): Likewise.
3285 (FPE_INTOVF): Likewise.
3286 (FPE_FLTDIV): Likewise.
3287 (FPE_FLTOVF): Likewise.
3288 (FPE_FLTUND): Likewise.
3289 (FPE_FLTRES): Likewise.
3290 (FPE_FLTINV): Likewise.
3291 (FPE_FLTSUB): Likewise.
3292 (SEGV_MAPERR): Likewise.
3293 (SEGV_ACCERR): Likewise.
3294 (BUS_ADRALN): Likewise.
3295 (BUS_ADRERR): Likewise.
3296 (BUS_OBJERR): Likewise.
3297 (BUS_MCEERR_AR): Likewise.
3298 (BUS_MCEERR_AO): Likewise.
3299 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3300 (TRAP_TRACE): Likewise.
3301 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3302 __USE_XOPEN2K8].
3303 (CLD_KILLED): Likewise.
3304 (CLD_DUMPED): Likewise.
3305 (CLD_TRAPPED): Likewise.
3306 (CLD_STOPPED): Likewise.
3307 (CLD_CONTINUED): Likewise.
3308 (POLL_IN): Likewise.
3309 (POLL_OUT): Likewise.
3310 (POLL_MSG): Likewise.
3311 (POLL_ERR): Likewise.
3312 (POLL_PRI): Likewise.
3313 (POLL_HUP): Likewise.
3314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3315 (ILL_ILLOPN): Likewise.
3316 (ILL_ILLADR): Likewise.
3317 (ILL_ILLTRP): Likewise.
3318 (ILL_PRVOPC): Likewise.
3319 (ILL_PRVREG): Likewise.
3320 (ILL_COPROC): Likewise.
3321 (ILL_BADSTK): Likewise.
3322 (FPE_INTDIV): Likewise.
3323 (FPE_INTOVF): Likewise.
3324 (FPE_FLTDIV): Likewise.
3325 (FPE_FLTOVF): Likewise.
3326 (FPE_FLTUND): Likewise.
3327 (FPE_FLTRES): Likewise.
3328 (FPE_FLTINV): Likewise.
3329 (FPE_FLTSUB): Likewise.
3330 (SEGV_MAPERR): Likewise.
3331 (SEGV_ACCERR): Likewise.
3332 (BUS_ADRALN): Likewise.
3333 (BUS_ADRERR): Likewise.
3334 (BUS_OBJERR): Likewise.
3335 (BUS_MCEERR_AR): Likewise.
3336 (BUS_MCEERR_AO): Likewise.
3337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3338 (TRAP_TRACE): Likewise.
3339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3340 __USE_XOPEN2K8].
3341 (CLD_KILLED): Likewise.
3342 (CLD_DUMPED): Likewise.
3343 (CLD_TRAPPED): Likewise.
3344 (CLD_STOPPED): Likewise.
3345 (CLD_CONTINUED): Likewise.
3346 (POLL_IN): Likewise.
3347 (POLL_OUT): Likewise.
3348 (POLL_MSG): Likewise.
3349 (POLL_ERR): Likewise.
3350 (POLL_PRI): Likewise.
3351 (POLL_HUP): Likewise.
3352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3353 (ILL_ILLOPN): Likewise.
3354 (ILL_ILLADR): Likewise.
3355 (ILL_ILLTRP): Likewise.
3356 (ILL_PRVOPC): Likewise.
3357 (ILL_PRVREG): Likewise.
3358 (ILL_COPROC): Likewise.
3359 (ILL_BADSTK): Likewise.
3360 (FPE_INTDIV): Likewise.
3361 (FPE_INTOVF): Likewise.
3362 (FPE_FLTDIV): Likewise.
3363 (FPE_FLTOVF): Likewise.
3364 (FPE_FLTUND): Likewise.
3365 (FPE_FLTRES): Likewise.
3366 (FPE_FLTINV): Likewise.
3367 (FPE_FLTSUB): Likewise.
3368 (SEGV_MAPERR): Likewise.
3369 (SEGV_ACCERR): Likewise.
3370 (BUS_ADRALN): Likewise.
3371 (BUS_ADRERR): Likewise.
3372 (BUS_OBJERR): Likewise.
3373 (BUS_MCEERR_AR): Likewise.
3374 (BUS_MCEERR_AO): Likewise.
3375 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3376 (TRAP_TRACE): Likewise.
3377 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3378 __USE_XOPEN2K8].
3379 (CLD_KILLED): Likewise.
3380 (CLD_DUMPED): Likewise.
3381 (CLD_TRAPPED): Likewise.
3382 (CLD_STOPPED): Likewise.
3383 (CLD_CONTINUED): Likewise.
3384 (POLL_IN): Likewise.
3385 (POLL_OUT): Likewise.
3386 (POLL_MSG): Likewise.
3387 (POLL_ERR): Likewise.
3388 (POLL_PRI): Likewise.
3389 (POLL_HUP): Likewise.
3390 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3391 (ILL_ILLOPN): Likewise.
3392 (ILL_ILLADR): Likewise.
3393 (ILL_ILLTRP): Likewise.
3394 (ILL_PRVOPC): Likewise.
3395 (ILL_PRVREG): Likewise.
3396 (ILL_COPROC): Likewise.
3397 (ILL_BADSTK): Likewise.
3398 (ILL_DBLFLT): Likewise.
3399 (ILL_HARDWALL): Likewise.
3400 (FPE_INTDIV): Likewise.
3401 (FPE_INTOVF): Likewise.
3402 (FPE_FLTDIV): Likewise.
3403 (FPE_FLTOVF): Likewise.
3404 (FPE_FLTUND): Likewise.
3405 (FPE_FLTRES): Likewise.
3406 (FPE_FLTINV): Likewise.
3407 (FPE_FLTSUB): Likewise.
3408 (SEGV_MAPERR): Likewise.
3409 (SEGV_ACCERR): Likewise.
3410 (BUS_ADRALN): Likewise.
3411 (BUS_ADRERR): Likewise.
3412 (BUS_OBJERR): Likewise.
3413 (BUS_MCEERR_AR): Likewise.
3414 (BUS_MCEERR_AO): Likewise.
3415 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3416 (TRAP_TRACE): Likewise.
3417 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3418 __USE_XOPEN2K8].
3419 (CLD_KILLED): Likewise.
3420 (CLD_DUMPED): Likewise.
3421 (CLD_TRAPPED): Likewise.
3422 (CLD_STOPPED): Likewise.
3423 (CLD_CONTINUED): Likewise.
3424 (POLL_IN): Likewise.
3425 (POLL_OUT): Likewise.
3426 (POLL_MSG): Likewise.
3427 (POLL_ERR): Likewise.
3428 (POLL_PRI): Likewise.
3429 (POLL_HUP): Likewise.
3430 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3431 (ILL_ILLOPN): Likewise.
3432 (ILL_ILLADR): Likewise.
3433 (ILL_ILLTRP): Likewise.
3434 (ILL_PRVOPC): Likewise.
3435 (ILL_PRVREG): Likewise.
3436 (ILL_COPROC): Likewise.
3437 (ILL_BADSTK): Likewise.
3438 (FPE_INTDIV): Likewise.
3439 (FPE_INTOVF): Likewise.
3440 (FPE_FLTDIV): Likewise.
3441 (FPE_FLTOVF): Likewise.
3442 (FPE_FLTUND): Likewise.
3443 (FPE_FLTRES): Likewise.
3444 (FPE_FLTINV): Likewise.
3445 (FPE_FLTSUB): Likewise.
3446 (SEGV_MAPERR): Likewise.
3447 (SEGV_ACCERR): Likewise.
3448 (BUS_ADRALN): Likewise.
3449 (BUS_ADRERR): Likewise.
3450 (BUS_OBJERR): Likewise.
3451 (BUS_MCEERR_AR): Likewise.
3452 (BUS_MCEERR_AO): Likewise.
3453 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3454 (TRAP_TRACE): Likewise.
3455 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3456 __USE_XOPEN2K8].
3457 (CLD_KILLED): Likewise.
3458 (CLD_DUMPED): Likewise.
3459 (CLD_TRAPPED): Likewise.
3460 (CLD_STOPPED): Likewise.
3461 (CLD_CONTINUED): Likewise.
3462 (POLL_IN): Likewise.
3463 (POLL_OUT): Likewise.
3464 (POLL_MSG): Likewise.
3465 (POLL_ERR): Likewise.
3466 (POLL_PRI): Likewise.
3467 (POLL_HUP): Likewise.
3468 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3469 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3470
bc61d27c
JM
3471 [BZ #16670]
3472 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3473 before #include of <time.h>.
3474 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3475 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3476 (test-xfail-UNIX98/sched.h/conform): Likewise.
3477
302949e2
MS
34782014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3479
3480 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3481 error absence of trapping exception support.
3482 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3483
a00f522a
JM
34842014-03-07 Joseph Myers <joseph@codesourcery.com>
3485
6f99f280
JM
3486 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3487 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3488 * timezone/Makefile (testdata): Move definition above include of
3489 Rules.
3490 (test-zones): New variable.
3491 (tests-special): Add zone files.
3492 (build-testdata): Use $(evaluate-test).
3493
0b20a9e8
JM
3494 * elf/Makefile (tests-special): Rename tests to end with .out.
3495 ($(objpfx)noload-mem): Likewise.
3496 ($(objpfx)tst-leaks1-mem): Likewise.
3497 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3498 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3499 $(objpfx)test-iconvconfig.out.
3500 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3501 set -e inside subshell and redirect output to file.
3502 * iconvdata/Makefile (generated): Rename tests to end with .out.
3503 Correct type.
3504 (tests-special): Rename tests to end with .out.
3505 ($(objpfx)mtrace-tst-loading): Likewise.
3506 * intl/Makefile (generated): Likewise.
3507 (tests-special): Likewise.
3508 ($(objpfx)mtrace-tst-gettext): Likewise.
3509 * misc/Makefile (generated): Likewise.
3510 (tests-special): Likewise.
3511 ($(objpfx)tst-error1-mem): Likewise.
3512 * nptl/Makefile (tests-special): Likewise.
3513 ($(objpfx)tst-stack3-mem): Likewise.
3514 (generated): Likewise.
3515 * posix/Makefile (generated): Likewise.
3516 (tests-special): Likewise.
3517 (xtests-special): Likewise.
3518 ($(objpfx)tst-fnmatch-mem): Likewise.
3519 ($(objpfx)bug-regex2-mem): Likewise.
3520 ($(objpfx)bug-regex14-mem): Likewise.
3521 ($(objpfx)bug-regex21-mem): Likewise.
3522 ($(objpfx)bug-regex31-mem): Likewise.
3523 ($(objpfx)tst-vfork3-mem): Likewise.
3524 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3525 ($(objpfx)tst-pcre-mem): Likewise.
3526 ($(objpfx)tst-boost-mem): Likewise.
3527 ($(objpfx)bug-ga2-mem): Likewise.
3528 ($(objpfx)bug-glob2-mem): Likewise.
3529 * resolv/Makefile (generate): Likewise.
3530 (tests-special): Likewise.
3531 (xtests-special): Likewise.
3532 (generated): Likewise.
3533 ($(objpfx)mtrace-tst-leaks): Likewise.
3534 ($(objpfx)mtrace-tst-leaks2): Likewise.
3535
265d52ab
JM
3536 * scripts/merge-test-results.sh: New file.
3537 * Makefile (tests-special-notdir): New variable.
3538 (tests): Run merge-test-results.sh.
3539 (xtests): Likewise.
3540 * Rules (tests-special-notdir): New variable.
3541 (xtests-special-notdir): Likewise.
3542 (tests): Run merge-test-results.sh
3543 (xtests): Likewise.
3544
54ee292d
JM
3545 * Makeconfig (test-xfail-name): New variable.
3546 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3547 compute variable name for expected failures.
3548 * conform/Makefile (conformtest-headers-data): New variable.
3549 (conformtest-standards): Likewise.
3550 (conformtest-headers-ISO): Likewise.
3551 (conformtest-headers-ISO99): Likewise.
3552 (conformtest-headers-ISO11): Likewise.
3553 (conformtest-headers-POSIX): Likewise.
3554 (conformtest-headers-XPG3): Likewise.
3555 (conformtest-headers-XPG4): Likewise.
3556 (conformtest-headers-UNIX98): Likewise.
3557 (conformtest-headers-XOPEN2K): Likewise.
3558 (conformtest-headers-POSIX2008): Likewise.
3559 (conformtest-headers-XOPEN2K8): Likewise.
3560 (conformtest-header-list-base): Likewise.
3561 (conformtest-header-list-tests): Likewise.
3562 (conformtest-header-base): Likewise.
3563 (conformtest-header-tests): Likewise.
3564 (tests-special): Add $(conformtest-header-list-tests). If
3565 [$(fast-check) && !$(cross-compiling)], add
3566 $(conformtest-header-tests) instead of
3567 $(objpfx)run-conformtest.out.
3568 (generated): Add $(conformtest-header-list-base). If
3569 [$(fast-check) && !$(cross-compiling)], add
3570 $(conformtest-header-base). Remove previous setting.
3571 ($(conformtest-header-list-tests)): New target.
3572 (test-xfail-run-conformtest): Remove variable.
3573 ($(objpfx)run-conformtest.out): Remove target.
3574 (test-xfail-ISO11/complex.h/conform): New variable.
3575 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3576 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3577 (test-xfail-XPG3/varargs.h/conform): Likewise.
3578 (test-xfail-XPG4/varargs.h/conform): Likewise.
3579 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3580 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3581 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3582 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3583 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3584 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3585 (test-xfail-XPG3/ftw.h/conform): Likewise.
3586 (test-xfail-XPG3/grp.h/conform): Likewise.
3587 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3588 (test-xfail-XPG3/limits.h/conform): Likewise.
3589 (test-xfail-XPG3/pwd.h/conform): Likewise.
3590 (test-xfail-XPG3/search.h/conform): Likewise.
3591 (test-xfail-XPG3/signal.h/conform): Likewise.
3592 (test-xfail-XPG3/stdio.h/conform): Likewise.
3593 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3594 (test-xfail-XPG3/string.h/conform): Likewise.
3595 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3596 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3597 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3598 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3599 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3600 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3601 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3602 (test-xfail-XPG3/termios.h/conform): Likewise.
3603 (test-xfail-XPG3/time.h/conform): Likewise.
3604 (test-xfail-XPG3/unistd.h/conform): Likewise.
3605 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3606 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3607 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3608 (test-xfail-XPG4/netdb.h/conform): Likewise.
3609 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3610 (test-xfail-XPG4/signal.h/conform): Likewise.
3611 (test-xfail-XPG4/stdio.h/conform): Likewise.
3612 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3613 (test-xfail-XPG4/stropts.h/conform): Likewise.
3614 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3615 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3616 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3617 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3618 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3619 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3620 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3621 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3622 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3623 (test-xfail-XPG4/termios.h/conform): Likewise.
3624 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3625 (test-xfail-XPG4/unistd.h/conform): Likewise.
3626 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3627 (test-xfail-POSIX/sched.h/conform): Likewise.
3628 (test-xfail-POSIX/signal.h/conform): Likewise.
3629 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3630 (test-xfail-POSIX/tar.h/conform): Likewise.
3631 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3632 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3633 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3634 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3635 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3636 (test-xfail-UNIX98/sched.h/conform): Likewise.
3637 (test-xfail-UNIX98/signal.h/conform): Likewise.
3638 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3639 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3640 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3641 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3642 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3643 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3644 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3645 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3646 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3647 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3648 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3649 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3650 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3651 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3652 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3653 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3654 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3655 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3656 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3657 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3658 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3659 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3660 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3661 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3662 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3663 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3664 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3665 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3666 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3667 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3668 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3669 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3670 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3671 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3672 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3673 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3674 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3675 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3676 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3677 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3678 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3679 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3680 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3681 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3682 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3683 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3684 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3685 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3686 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3687 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3688 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3689 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3690 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3691 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3692 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3693 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3694 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3695 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3696 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3697 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3698 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3699 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3700 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3701 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3702 (conformtest-cc-flags): Likewise.
3703 ($(conformtest-header-tests): New target.
3704 * conform/check-header-lists.sh: New file.
3705 * conform/run-conformtest.sh: Remove.
3706
a00f522a
JM
3707 * conform/conformtest.pl: Allow ' and \ in values given for
3708 constants.
3709 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3710 inclusion.
3711 [POSIX] (sys/types.h): Likewise.
3712 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3713 inclusion.
3714 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3715 inclusion.
3716 * conform/data/signal.h-data (SIGIO): Remove expectation.
3717 [XPG3] (SIGBUS): Do not expect.
3718 [POSIX || XPG3] (SIGPOLL): Likewise.
3719 [POSIX || XPG3] (SIGPROF): Likewise.
3720 [POSIX || XPG3] (SIGSYS): Likewise.
3721 [XPG3] (SIGTRAP): Likewise.
3722 [POSIX || XPG3] (SIGURG): Likewise.
3723 [POSIX || XPG3] (SIGVTALRM): Likewise.
3724 [POSIX || XPG3] (SIGXCPU): Likewise.
3725 [POSIX || XPG3] (SIGXFSZ): Likewise.
3726 [POSIX] (SA_SIGINFO): Expect.
3727 [XPG3] (siginfo_t): Do not expect type or contents.
3728 [POSIX] (si_pid): Do not expect element.
3729 [POSIX] (si_uid): Likewise.
3730 [POSIX] (si_addr): Likewise.
3731 [POSIX] (si_status): Likewise.
3732 [POSIX] (si_band): Likewise.
3733 [XPG4] (si_value): Likewise.
3734 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3735 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3736 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3737 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3738 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3739 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3740 [POSIX || XPG3] (ILL_COPROC): Likewise.
3741 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3742 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3743 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3744 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3745 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3746 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3747 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3748 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3749 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3750 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3751 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3752 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3753 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3754 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3755 [POSIX || XPG3] (CLD_EXITED): Likewise.
3756 [POSIX || XPG3] (CLD_KILLED): Likewise.
3757 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3758 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3759 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3760 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3761 [POSIX || XPG3] (POLL_IN): Likewise.
3762 [POSIX || XPG3] (POLL_OUT): Likewise.
3763 [POSIX || XPG3] (POLL_MSG): Likewise.
3764 [POSIX || XPG3] (POLL_ERR): Likewise.
3765 [POSIX || XPG3] (POLL_PRI): Likewise.
3766 [POSIX || XPG3] (POLL_HUP): Likewise.
3767 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3768 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3769 (SIG*): Do not allow.
3770 [XPG3] (si_*): Likewise.
3771 [XPG3] (SI_*): Likewise.
3772 [XPG3 || XPG4] (sigev_*): Likewise.
3773 [XPG3 || XPG4] (SIGEV_*): Likewise.
3774 [XPG3 || XPG4] (sival_*): Likewise.
3775 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3776 [POSIX || XPG3] (BUS_*): Likewise.
3777 [POSIX || XPG3] (CLD_*): Likewise.
3778 [POSIX || XPG3] (FPE_*): Likewise.
3779 [POSIX || XPG3] (ILL_*): Likewise.
3780 [POSIX || XPG3] (POLL_*): Likewise.
3781 [POSIX || XPG3] (SEGV_*): Likewise.
3782 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3783 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3784 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3785 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3786 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3787 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3788 Specify type and value.
3789 (TVERSLEN): Likewise.
3790 (REGTYPE): Likewise.
3791 (AREGTYPE): Likewise.
3792 (LNKTYPE): Likewise.
3793 (SYMTYPE): Likewise.
3794 (CHRTYPE): Likewise.
3795 (BLKTYPE): Likewise.
3796 (DIRTYPE): Likewise.
3797 (FIFOTYPE): Likewise.
3798 (CONTTYPE): Likewise.
3799 (TSUID): Likewise.
3800 (TSGID): Likewise.
3801 (TSVTX): Likewise.
3802 (TUREAD): Likewise.
3803 (TUWRITE): Likewise.
3804 (TUEXEC): Likewise.
3805 (TGREAD): Likewise.
3806 (TGWRITE): Likewise.
3807 (TGEXEC): Likewise.
3808 (TOREAD): Likewise.
3809 (TOWRITE): Likewise.
3810 (TOEXEC): Likewise.
3811 [POSIX] (TSVTX): Expect constant.
3812
aa97dee1
JM
38132014-03-06 Joseph Myers <joseph@codesourcery.com>
3814
f214606a
JM
3815 * Makefile (tests): Change dependencies to ....
3816 (tests-special): ... additions to this variable.
3817 (tests): Depend on $(tests-special).
3818 * Makerules (check-abi-list): New variable.
3819 (check-abi): Depend on $(check-abi-list).
3820 [$(subdir) = elf] (tests-special): Add
3821 $(objpfx)check-abi-libc.out.
3822 [$(build-shared) = yes && subdir] (tests-special): Add
3823 $(check-abi-list).
3824 [$(build-shared) = yes && subdir] (tests): Do not depend on
3825 check-abi.
3826 * Rules (tests): Depend on $(tests-special).
3827 (xtests): Depend on $(xtests-special).
3828 * catgets/Makefile (tests): Change dependencies to ....
3829 (tests-special): ... additions to this variable.
3830 * conform/Makefile (tests): Change dependencies to ....
3831 (tests-special): ... additions to this variable.
3832 * elf/Makefile (tests): Change dependencies to ....
3833 (tests-special): ... additions to this variable.
3834 * grp/Makefile (tests): Change dependencies to ....
3835 (tests-special): ... additions to this variable.
3836 * iconv/Makefile (xtests): Change dependencies to ....
3837 (xtests-special): ... additions to this variable.
3838 * iconvdata/Makefile (tests): Change dependencies to ....
3839 (tests-special): ... additions to this variable.
3840 * intl/Makefile (tests): Change dependencies to ....
3841 (tests-special): ... additions to this variable. Also add
3842 $(objpfx)tst-gettext.out.
3843 * io/Makefile (tests): Change dependencies to ....
3844 (tests-special): ... additions to this variable.
3845 * libio/Makefile (tests): Change dependencies to ....
3846 (tests-special): ... additions to this variable.
3847 * malloc/Makefile (tests): Change dependencies to ....
3848 (tests-special): ... additions to this variable.
3849 * misc/Makefile (tests): Change dependencies to ....
3850 (tests-special): ... additions to this variable.
3851 * nptl/Makefile (tests): Change dependencies to ....
3852 (tests-special): ... additions to this variable.
3853 * nptl_db/Makefile (tests): Change dependencies to ....
3854 (tests-special): ... additions to this variable.
3855 * posix/Makefile (tests): Change dependencies to ....
3856 (tests-special): ... additions to this variable.
3857 (xtests): Change dependencies to ....
3858 (xtests-special): ... additions to this variable.
3859 * resolv/Makefile (tests): Change dependencies to ....
3860 (tests-special): ... additions to this variable.
3861 (xtests): Change dependencies to ....
3862 (xtests-special): ... additions to this variable.
3863 * stdio-common/Makefile (tests): Change dependencies to ....
3864 (tests-special): ... additions to this variable.
3865 (do-tst-unbputc): Remove target.
3866 (do-tst-printf): Likewise.
3867 * stdlib/Makefile (tests): Change dependencies to ....
3868 (tests-special): ... additions to this variable.
3869 * string/Makefile (tests): Change dependencies to ....
3870 (tests-special): ... additions to this variable.
3871 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3872 (tests-special): ... additions to this variable.
3873
81700b53
JM
3874 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3875 whole file.
3876 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3877 whole file.
3878 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3879 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3880
2ea18461
JM
3881 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3882 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3883 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3884 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3885 * conform/data/libgen.h-data [XPG3]: Likewise.
3886 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3887 * conform/data/ndbm.h-data [XPG3]: Likewise.
3888 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3889 * conform/data/netdb.h-data [XPG3]: Likewise.
3890 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3891 * conform/data/poll.h-data [XPG3]: Likewise.
3892 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3893 * conform/data/strings.h-data [XPG3]: Likewise.
3894 * conform/data/stropts.h-data [XPG3]: Likewise.
3895 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3896 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3897 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3898 Likewise.
3899 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3900 * conform/data/sys/time.h-data [XPG3]: Likewise.
3901 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3902 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3903 * conform/data/sys/un.h-data [XPG3]: Likewise.
3904 * conform/data/syslog.h-data [XPG3]: Likewise.
3905 * conform/data/ucontext.h-data [XPG3]: Likewise.
3906 * conform/data/utmpx.h-data [XPG3]: Likewise.
3907 * conform/data/varargs.h-data [UNIX98]: Enable file.
3908
355bc986
JM
3909 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3910
215db402
JM
3911 * math/libm-test.inc (struct test_f_f_data): Move expected results
3912 into structure for each rounding mode.
3913 (struct test_ff_f_data): Likewise.
3914 (struct test_ff_f_data_nexttoward): Likewise.
3915 (struct test_fi_f_data): Likewise.
3916 (struct test_fl_f_data): Likewise.
3917 (struct test_if_f_data): Likewise.
3918 (struct test_fff_f_data): Likewise.
3919 (struct test_c_f_data): Likewise.
3920 (struct test_f_f1_data): Likewise.
3921 (struct test_fF_f1_data): Likewise.
3922 (struct test_ffI_f1_data): Likewise.
3923 (struct test_c_c_data): Likewise.
3924 (struct test_cc_c_data): Likewise.
3925 (struct test_f_i_data): Likewise.
3926 (struct test_ff_i_data): Likewise.
3927 (struct test_f_l_data): Likewise.
3928 (struct test_f_L_data): Likewise.
3929 (struct test_fFF_11_data): Likewise.
3930 (RM_): New macro.
3931 (RM_FE_DOWNWARD): Likewise.
3932 (RM_FE_TONEAREST): Likewise.
3933 (RM_FE_TOWARDZERO): Likewise.
3934 (RM_FE_UPWARD): Likewise.
3935 (RUN_TEST_LOOP_f_f): Update references to expected results.
3936 (RUN_TEST_LOOP_2_f): Likewise.
3937 (RUN_TEST_LOOP_fff_f): Likewise.
3938 (RUN_TEST_LOOP_c_f): Likewise.
3939 (RUN_TEST_LOOP_f_f1): Likewise.
3940 (RUN_TEST_LOOP_fF_f1): Likewise.
3941 (RUN_TEST_LOOP_fI_f1): Likewise.
3942 (RUN_TEST_LOOP_ffI_f1): Likewise.
3943 (RUN_TEST_LOOP_c_c): Likewise.
3944 (RUN_TEST_LOOP_cc_c): Likewise.
3945 (RUN_TEST_LOOP_f_i): Likewise.
3946 (RUN_TEST_LOOP_f_i_tg): Likewise.
3947 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3948 (RUN_TEST_LOOP_f_b): Likewise.
3949 (RUN_TEST_LOOP_f_b_tg): Likewise.
3950 (RUN_TEST_LOOP_f_l): Likewise.
3951 (RUN_TEST_LOOP_f_L): Likewise.
3952 (RUN_TEST_LOOP_fFF_11): Likewise.
3953 * math/gen-libm-test.pl (parse_args): Output four copies of
3954 expected results for each test.
3955
67737b8f
JM
3956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3957 (__ASSUME_UTIMES): Remove.
3958 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3959 (__ASSUME_UTIMES): Likewise.
3960
aa97dee1
JM
3961 * math/gen-auto-libm-tests.c: Update comment on output format.
3962 (output_for_one_input_case): Generate before-rounding and
3963 after-rounding information as conditions on output flags not
3964 floating-point format.
3965 * math/auto-libm-test-out: Regenerated.
3966 * math/gen-libm-test.pl (cond_value): New function.
3967 (or_cond_value): Use cond_value.
3968 (generate_testfile): Handle conditional exceptions.
3969
e6b6a857
JM
39702014-03-05 Joseph Myers <joseph@codesourcery.com>
3971
2f0a0f44
JM
3972 * math/libm-test.inc (max_valid_error): New variable.
3973 (init_max_error): Take new argument specifying whether function
3974 results are exactly determined. Set max_valid_error and bound
3975 other variables for errors based on this argument.
3976 (set_max_error): Do not record results above max_valid_error.
3977 (check_float_internal): Only accept errors of up to 0.5ulps if
3978 also at most max_valid_error.
3979 (START): Take new argument EXACT and pass it to init_max_error.
3980 (acos_test): Update call to START.
3981 (acos_test_tonearest): Likewise.
3982 (acos_test_towardzero): Likewise.
3983 (acos_test_downward): Likewise.
3984 (acos_test_upward): Likewise.
3985 (acosh_test): Likewise.
3986 (asin_test): Likewise.
3987 (asin_test_tonearest): Likewise.
3988 (asin_test_towardzero): Likewise.
3989 (asin_test_downward): Likewise.
3990 (asin_test_upward): Likewise.
3991 (asinh_test): Likewise.
3992 (atan_test): Likewise.
3993 (atanh_test): Likewise.
3994 (atan2_test): Likewise.
3995 (cabs_test): Likewise.
3996 (cacos_test): Likewise.
3997 (cacosh_test): Likewise.
3998 (carg_test): Likewise.
3999 (casin_test): Likewise.
4000 (casinh_test): Likewise.
4001 (catan_test): Likewise.
4002 (catanh_test): Likewise.
4003 (cbrt_test): Likewise.
4004 (ccos_test): Likewise.
4005 (ccosh_test): Likewise.
4006 (ceil_test): Likewise.
4007 (cexp_test): Likewise.
4008 (cimag_test): Likewise.
4009 (clog_test): Likewise.
4010 (clog10_test): Likewise.
4011 (conj_test): Likewise.
4012 (copysign_test): Likewise.
4013 (cos_test): Likewise.
4014 (cos_test_tonearest): Likewise.
4015 (cos_test_towardzero): Likewise.
4016 (cos_test_downward): Likewise.
4017 (cos_test_upward): Likewise.
4018 (cosh_test): Likewise.
4019 (cosh_test_tonearest): Likewise.
4020 (cosh_test_towardzero): Likewise.
4021 (cosh_test_downward): Likewise.
4022 (cosh_test_upward): Likewise.
4023 (cpow_test): Likewise.
4024 (cproj_test): Likewise.
4025 (creal_test): Likewise.
4026 (csin_test): Likewise.
4027 (csinh_test): Likewise.
4028 (csqrt_test): Likewise.
4029 (ctan_test): Likewise.
4030 (ctan_test_tonearest): Likewise.
4031 (ctan_test_towardzero): Likewise.
4032 (ctan_test_downward): Likewise.
4033 (ctan_test_upward): Likewise.
4034 (ctanh_test): Likewise.
4035 (ctanh_test_tonearest): Likewise.
4036 (ctanh_test_towardzero): Likewise.
4037 (ctanh_test_downward): Likewise.
4038 (ctanh_test_upward): Likewise.
4039 (erf_test): Likewise.
4040 (erfc_test): Likewise.
4041 (exp_test): Likewise.
4042 (exp_test_tonearest): Likewise.
4043 (exp_test_towardzero): Likewise.
4044 (exp_test_downward): Likewise.
4045 (exp_test_upward): Likewise.
4046 (exp10_test): Likewise.
4047 (exp10_test_tonearest): Likewise.
4048 (exp10_test_towardzero): Likewise.
4049 (exp10_test_downward): Likewise.
4050 (exp10_test_upward): Likewise.
4051 (pow10_test): Likewise.
4052 (exp2_test): Likewise.
4053 (expm1_test): Likewise.
4054 (expm1_test_tonearest): Likewise.
4055 (expm1_test_towardzero): Likewise.
4056 (expm1_test_downward): Likewise.
4057 (expm1_test_upward): Likewise.
4058 (fabs_test): Likewise.
4059 (fdim_test): Likewise.
4060 (floor_test): Likewise.
4061 (fma_test): Likewise.
4062 (fma_test_towardzero): Likewise.
4063 (fma_test_downward): Likewise.
4064 (fma_test_upward): Likewise.
4065 (fmax_test): Likewise.
4066 (fmin_test): Likewise.
4067 (fmod_test): Likewise.
4068 (fpclassify_test): Likewise.
4069 (frexp_test): Likewise.
4070 (hypot_test): Likewise.
4071 (ilogb_test): Likewise.
4072 (isfinite_test): Likewise.
4073 (finite_test): Likewise.
4074 (isgreater_test): Likewise.
4075 (isgreaterequal_test): Likewise.
4076 (isinf_test): Likewise.
4077 (isless_test): Likewise.
4078 (islessequal_test): Likewise.
4079 (islessgreater_test): Likewise.
4080 (isnan_test): Likewise.
4081 (isnormal_test): Likewise.
4082 (issignaling_test): Likewise.
4083 (isunordered_test): Likewise.
4084 (j0_test): Likewise.
4085 (j1_test): Likewise.
4086 (jn_test): Likewise.
4087 (ldexp_test): Likewise.
4088 (lgamma_test): Likewise.
4089 (gamma_test): Likewise.
4090 (lrint_test): Likewise.
4091 (lrint_test_tonearest): Likewise.
4092 (lrint_test_towardzero): Likewise.
4093 (lrint_test_downward): Likewise.
4094 (lrint_test_upward): Likewise.
4095 (llrint_test): Likewise.
4096 (llrint_test_tonearest): Likewise.
4097 (llrint_test_towardzero): Likewise.
4098 (llrint_test_downward): Likewise.
4099 (llrint_test_upward): Likewise.
4100 (log_test): Likewise.
4101 (log10_test): Likewise.
4102 (log1p_test): Likewise.
4103 (log2_test): Likewise.
4104 (logb_test): Likewise.
4105 (logb_test_downward): Likewise.
4106 (lround_test): Likewise.
4107 (llround_test): Likewise.
4108 (modf_test): Likewise.
4109 (nearbyint_test): Likewise.
4110 (nextafter_test): Likewise.
4111 (nexttoward_test): Likewise.
4112 (pow_test): Likewise.
4113 (pow_test_tonearest): Likewise.
4114 (pow_test_towardzero): Likewise.
4115 (pow_test_downward): Likewise.
4116 (pow_test_upward): Likewise.
4117 (remainder_test): Likewise.
4118 (drem_test): Likewise.
4119 (remainder_test_tonearest): Likewise.
4120 (drem_test_tonearest): Likewise.
4121 (remainder_test_towardzero): Likewise.
4122 (drem_test_towardzero): Likewise.
4123 (remainder_test_downward): Likewise.
4124 (drem_test_downward): Likewise.
4125 (remainder_test_upward): Likewise.
4126 (drem_test_upward): Likewise.
4127 (remquo_test): Likewise.
4128 (rint_test): Likewise.
4129 (rint_test_tonearest): Likewise.
4130 (rint_test_towardzero): Likewise.
4131 (rint_test_downward): Likewise.
4132 (rint_test_upward): Likewise.
4133 (round_test): Likewise.
4134 (scalb_test): Likewise.
4135 (scalbn_test): Likewise.
4136 (scalbln_test): Likewise.
4137 (signbit_test): Likewise.
4138 (sin_test): Likewise.
4139 (sin_test_tonearest): Likewise.
4140 (sin_test_towardzero): Likewise.
4141 (sin_test_downward): Likewise.
4142 (sin_test_upward): Likewise.
4143 (sincos_test): Likewise.
4144 (sinh_test): Likewise.
4145 (sinh_test_tonearest): Likewise.
4146 (sinh_test_towardzero): Likewise.
4147 (sinh_test_downward): Likewise.
4148 (sinh_test_upward): Likewise.
4149 (sqrt_test): Likewise.
4150 (sqrt_test_tonearest): Likewise.
4151 (sqrt_test_towardzero): Likewise.
4152 (sqrt_test_downward): Likewise.
4153 (sqrt_test_upward): Likewise.
4154 (tan_test): Likewise.
4155 (tan_test_tonearest): Likewise.
4156 (tan_test_towardzero): Likewise.
4157 (tan_test_downward): Likewise.
4158 (tan_test_upward): Likewise.
4159 (tanh_test): Likewise.
4160 (tgamma_test): Likewise.
4161 (trunc_test): Likewise.
4162 (y0_test): Likewise.
4163 (y1_test): Likewise.
4164 (yn_test): Likewise.
4165 (significand_test): Likewise.
4166
e6b6a857
JM
4167 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4168 individual tests in comment.
4169 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4170 (prev_max_error): New variable.
4171 (prev_real_max_error): Likewise.
4172 (prev_imag_max_error): Likewise.
4173 (compare_ulp_data): Don't refer to test names in comment.
4174 (find_test_ulps): Remove function.
4175 (find_function_ulps): Likewise.
4176 (find_complex_function_ulps): Likewise.
4177 (init_max_error): Take function name as argument. Look up ulps
4178 for that function.
4179 (print_ulps): Remove function.
4180 (print_max_error): Use prev_max_error instead of calling
4181 find_function_ulps.
4182 (print_complex_max_error): Use prev_real_max_error and
4183 prev_imag_max_error instead of calling find_complex_function_ulps.
4184 (check_float_internal): Take max_ulp parameter instead of calling
4185 find_test_ulps. Don't call print_ulps.
4186 (check_float): Update call to check_float_internal.
4187 (check_complex): Update calls to check_float_internal.
4188 (START): Pass argument to init_max_error.
4189 * math/gen-libm-test.pl (%results): Don't include "kind"
4190 information.
4191 (parse_ulps): Don't handle ulps of individual tests.
4192 (print_ulps_file): Likewise.
4193 (output_ulps): Likewise.
4194 * math/README.libm-test: Update.
4195 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4196 individual tests.
4197 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4198 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4199 * sysdeps/arm/libm-test-ulps: Likewise.
4200 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4201 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4202 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4203 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4204 * sysdeps/microblaze/libm-test-ulps: Likewise.
4205 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4206 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4207 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4208 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4209 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4210 * sysdeps/sh/libm-test-ulps: Likewise.
4211 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4212 * sysdeps/tile/libm-test-ulps: Likewise.
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4214
45adef3c
JM
42152014-03-04 Joseph Myers <joseph@codesourcery.com>
4216
4217 * math/libm-test.inc (print_complex_max_error): Check separately
4218 whether real and imaginary errors are within allowed range and
4219 pass 0 to print_complex_function_ulps instead of value within
4220 allowed range.
4221
000232b9
SP
42222014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
d4b17258
SP
4224 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4225 formatting.
4226 (get_handles_fopen): Likewise.
4227 (do_write_test): Likewise.
4228
091eff71
SP
4229 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4230
fa3cd248
SP
4231 * libio/fileops.c (do_ftell): Use cached offset when
4232 available.
4233 * libio/iofwide.c (do_ftell_wide): Likewise.
4234 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4235 _IO_file_attach.
4236 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4237
000232b9
SP
4238 [BZ #16532]
4239 * libio/libioP.h (get_file_offset): New function.
4240 * libio/fileops.c (get_file_offset): Likewise.
4241 (do_ftell): Likewise.
4242 (_IO_new_file_seekoff): Split out ftell logic.
4243 * libio/wfileops.c (do_ftell_wide): Likewise.
4244 (_IO_wfile_seekoff): Split out ftell logic.
4245 * libio/tst-ftell-active-handler.c: New test case.
4246 * libio/Makefile (tests): Add it.
4247
116f4d1a
RM
42482014-03-03 Roland McGrath <roland@hack.frob.com>
4249
4250 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4251 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4252
532a6035
SP
42532014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4254
4255 [BZ #16639]
4256 * nscd/connections.c (nscd_init): Call do_exit.
4257 (start_threads): Call do_exit and notify_parent.
4258 (begin_drop_privileges): Call do_exit.
4259 (finish_drop_privileges): Likewise.
4260 * nscd/selinux.c (preserve_capabilities): Likewise.
4261 (install_real_capabilities): Likewise.
4262 (nscd_selinux_enabled): Likewise.
4263 (avc_create_thread): Likewise.
4264 (avc_alloc_lock): Likewise.
4265 (nscd_avc_init): Likewise.
4266 * nscd/nscd.c (parent_fd): New static variable.
4267 (main): Create a pipe between parent and child processes.
4268 Skip closing parent_fd.
4269 (monitor_child): New function.
4270 (do_exit): Likewise.
4271 (notify_parent): Likewise.
4272 * nscd/nscd.h (notify_parent): Likewise.
4273 (do_exit): Likewise.
4274
d6285c9f
CD
42752014-03-03 Carlos O'Donell <carlos@redhat.com>
4276
4277 * malloc/malloc.c (__libc_calloc): Revert last change.
4278
2b85d2a0
AZ
42792014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4280
4281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4282
c7debbdf
RS
42832014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4284
4285 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4287 implementation.
4288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4289 (__libc_ifunc_impl_list): Likewise.
4290 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4291 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4292 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4293 * string/strrchr.c: Define STRRCHR.
4294
235eed86
OB
42952014-02-28 Ondřej Bílka <neleai@seznam.cz>
4296
4297 * benchtest/bench-strtok.c (simple_strtok): Delete.
4298 (strtok_string): Use as benchmark.
4299 * string/strtok (STRTOK): New macro.
4300
8e25d1e7
CD
43012014-02-28 Carlos O'Donell <carlos@redhat.com>
4302
ef563f92
CD
4303 * manual/threads.texi: Add header and standard comments to all
4304 functions.
4305
8e25d1e7
CD
4306 * elf/dl-lookup.c (check_match): New function.
4307 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4308 (do_lookup_x): Remove nested function check_match. Use non-nested
4309 function check_match.
4310
ff71cc37
RM
43112014-02-28 Roland McGrath <roland@hack.frob.com>
4312
f08e9a26
RM
4313 * csu/Makefile (generated, before-compile): Use += rather than =.
4314 * catgets/Makefile (generated, generated-dirs): Likewise.
4315 * debug/Makefile (generated): Likewise.
4316 * dlfcn/Makefile (generated): Likewise.
4317 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4318 * iconvdata/Makefile (before-compile, generated): Likewise.
4319 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4320 * libio/Makefile (generated): Likewise.
4321 * malloc/Makefile (generated): Likewise.
4322 * manual/Makefile (generated, generated-dirs): Likewise.
4323 * misc/Makefile (generated): Likewise.
4324 * posix/Makefile (generated): Likewise.
4325 * resolv/Makefile (generated): Likewise.
4326 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4327 * timezone/Makefile (generated, generated-dirs): Likewise.
4328
ff71cc37
RM
4329 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4330
fe13a20c
AZ
43312014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4332
57f41c40
AS
4333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4334 power8 implementation.
4335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4336 file: POWER8 llround ifunc implementation.
4337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4338 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4339 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4340 POWER8 llround implementation.
4341
57f41c40
AS
4342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4343 power8 implementation.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4345 file: POWER8 llrint ifunc implementation.
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4347 Add POWER8 implementation.
1ad8950a
AZ
4348 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4349 POWER8 llrint implementation.
4350
57f41c40
AS
4351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4352 power8 implementation.
4353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4354 file: POWER8 finite ifunc implementation.
4355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4356 Add POWER8 implementation.
cac626d6
AZ
4357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4358 Likewise.
4359 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4360 POWER8 finite implementation.
4361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4362
57f41c40
AS
4363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4364 power8 implementation.
4365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4366 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4368 POWER8 implementation.
4369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4370 Likewise.
57f41c40
AS
4371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4372 isinf implementation.
4393fc11
AZ
4373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4374
57f41c40
AS
4375 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4376 (INIT_ARCH): Add hwcap2 initialization.
4377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4378 power8 implementation.
4379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4380 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4382 POWER8 implementation.
4383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4384 Likewise.
57f41c40
AS
4385 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4386 isnan implementation.
487972ae
AZ
4387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4388
7d92b787
JY
43892014-02-27 Joey Ye <joey.ye@arm.com>
4390
4391 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4392 (_FP_NANFRAC_Q): Set to zero.
4393
1cadc858
SP
43942014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4395
4396 [BZ #16623]
4397 * math/auto-libm-test-in: New test inputs.
4398 * math/auto-libm-test-out: Regenerate.
4399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4400 and DA.
4401 (__cos): Likewise.
4402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4403
f8c17e79
JM
44042014-02-27 Joseph Myers <joseph@codesourcery.com>
4405
4406 * scripts/evaluate-test.sh: Take new argument indicating whether
4407 failure is expected.
4408 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4409 indicating whether failure is expected.
4410 * conform/Makefile (test-xfail-run-conformtest): New variable.
4411 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4412 level.
4413 * posix/Makefile (test-xfail-annexc): New variable.
4414 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4415
a5f891ac
JM
44162014-02-26 Joseph Myers <joseph@codesourcery.com>
4417
4418 * argp/Makefile: Include Makeconfig immediately after defining
4419 subdir.
4420 * assert/Makefile: Likewise.
4421 * benchtests/Makefile: Likewise.
4422 * catgets/Makefile: Likewise.
4423 * conform/Makefile: Likewise.
4424 * crypt/Makefile: Likewise.
4425 * csu/Makefile: Likewise.
4426 (all): Remove target.
4427 * ctype/Makefile: Include Makeconfig immediately after defining
4428 subdir.
4429 * debug/Makefile: Likewise.
4430 * dirent/Makefile: Likewise.
4431 * dlfcn/Makefile: Likewise.
4432 * gmon/Makefile: Likewise.
4433 * gnulib/Makefile: Likewise.
4434 * grp/Makefile: Likewise.
4435 * gshadow/Makefile: Likewise.
4436 * hesiod/Makefile: Likewise.
4437 * hurd/Makefile: Likewise.
4438 (all): Remove target.
4439 * iconvdata/Makefile: Include Makeconfig immediately after
4440 defining subdir.
4441 * inet/Makefile: Likewise.
4442 * intl/Makefile: Likewise.
4443 * io/Makefile: Likewise.
4444 * libio/Makefile: Likewise.
4445 (all): Remove target.
4446 * locale/Makefile: Include Makeconfig immediately after defining
4447 subdir.
4448 * login/Makefile: Likewise.
4449 * mach/Makefile: Likewise.
4450 (all): Remove target.
4451 * malloc/Makefile: Include Makeconfig immediately after defining
4452 subdir.
4453 (all): Remove target.
4454 * manual/Makefile: Include Makeconfig immediately after defining
4455 subdir.
4456 * math/Makefile: Likewise.
4457 * misc/Makefile: Likewise.
4458 * nis/Makefile: Likewise.
4459 * nss/Makefile: Likewise.
4460 * po/Makefile: Likewise.
4461 (all): Remove target.
4462 * posix/Makefile: Include Makeconfig immediately after defining
4463 subdir.
4464 * pwd/Makefile: Likewise.
4465 * resolv/Makefile: Likewise.
4466 * resource/Makefile: Likewise.
4467 * rt/Makefile: Likewise.
4468 * setjmp/Makefile: Likewise.
4469 * shadow/Makefile: Likewise.
4470 * signal/Makefile: Likewise.
4471 * socket/Makefile: Likewise.
4472 * soft-fp/Makefile: Likewise.
4473 * stdio-common/Makefile: Likewise.
4474 * stdlib/Makefile: Likewise.
4475 * streams/Makefile: Likewise.
4476 * string/Makefile: Likewise.
4477 * sunrpc/Makefile: Likewise.
4478 (all): Remove target.
4479 * sysvipc/Makefile: Include Makeconfig immediately after defining
4480 subdir.
4481 * termios/Makefile: Likewise.
4482 * time/Makefile: Likewise.
4483 * timezone/Makefile: Likewise.
4484 (all): Remove target.
4485 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4486 subdir.
4487 * wctype/Makefile: Likewise.
4488
5b456e9d
SE
44892014-02-26 Steve Ellcey <sellcey@mips.com>
4490
4491 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4492 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4493 (libc_feholdexcept_setround_mips): Ditto.
4494 (libc_feholdsetround): New.
4495 (libc_feholdsetroundf): New.
4496 (libc_feholdsetroundl): New.
4497 (libc_feupdateenv_test_mips): New.
4498 (libc_feupdateenv_test): New.
4499 (libc_feupdateenv_testf): New.
4500 (libc_feupdateenv_testl): New.
4501 (libc_feresetround): New.
4502 (libc_feresetroundf): New.
4503 (libc_feresetroundl): New.
4504 (libc_fetestexcept_mips): New.
4505 (libc_fetestexcept): New.
4506 (libc_fetestexceptf): New.
4507 (libc_fetestexceptl): New.
4508 (HAVE_RM_CTX): New.
4509 (libc_feholdexcept_setround_mips_ctx): New.
4510 (libc_feholdexcept_setround_ctx): New.
4511 (libc_feholdexcept_setroundf_ctx): New.
4512 (libc_feholdexcept_setroundl_ctx): New.
4513 (libc_fesetenv_mips_ctx): New.
4514 (libc_fesetenv_ctx): New.
4515 (libc_fesetenv_ctxf): New.
4516 (libc_fesetenv_ctxl): New.
4517 (libc_feupdateenv_mips_ctx): New.
4518 (libc_feupdateenv_ctx): New.
4519 (libc_feupdateenvf_ctx): New.
4520 (libc_feupdateenvl_ctx): New.
4521 (libc_feholdsetround_mips_ctx): New.
4522 (libc_feholdsetround_ctx): New.
4523 (libc_feholdsetroundf_ctx): New.
4524 (libc_feholdsetroundl_ctx): New.
4525 (libc_feresetround_mips_ctx): New.
4526 (libc_feresetround_ctx): New.
4527 (libc_feresetroundf_ctx): New.
4528 (libc_feresetroundl_ctx): New.
4529
085d0e35
CD
45302014-02-26 Carlos O'Donell <carlos@redhat.com>
4531
f067bf1f
CD
4532 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4533
085d0e35
CD
4534 * manual/ipc.texi: New file.
4535 * manual/Makefile (chapters): Add ipc.
4536 * manual/job.texi: Add "Inter-Process Communication" to next.
4537 * manual/process.texi: Add "Inter-Process Communication" to prev.
4538
86e58c08
AZ
45392014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4542
4248f0da
OB
45432014-02-26 Ondřej Bílka <neleai@seznam.cz>
4544
4545 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4546
cf822e3c
OB
4547 * manual/arith.texi: Fix spaces after sentences.
4548 * manual/charset.texi: Likewise.
4549 * manual/errno.texi: Likewise.
4550 * manual/install.texi: Likewise.
4551 * manual/llio.texi: Likewise.
4552 * manual/locale.texi: Likewise.
4553 * manual/maint.texi: Likewise.
4554 * manual/math.texi: Likewise.
4555 * manual/memory.texi: Likewise.
4556 * manual/message.texi: Likewise.
4557 * manual/probes.texi: Likewise.
4558 * manual/resource.texi: Likewise.
4559 * manual/signal.texi: Likewise.
4560 * manual/socket.texi: Likewise.
4561 * manual/stdio.texi: Likewise.
4562 * manual/string.texi: Likewise.
4563 * manual/time.texi: Likewise.
4564 * manual/users.texi: Likewise.
4565
ade40b10
CD
45662014-02-25 Carlos O'Donell <carlos@redhat.com>
4567
4568 [BZ #16632]
4569 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4570 _DEFAULT_SOURCE is defined.
4571
d0503676
CD
45722014-02-25 Ulrich Drepper <drepper@gmail.com>
4573 Carlos O'Donell <carlos@redhat.com>
4574
4575 [BZ #16613]
4576 * elf/dl-tls.c (_dl_count_modids): New function.
4577 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4578 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4579 audit library and increment generation counter.
4580 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4581 * elf/tst-audit9.c: New file.
4582 * elf/tst-auditmod9a.c: New file.
4583 * elf/tst-auditmod9b.c: New file.
4584 * elf/Makefile: Add rules to build and run tst-audit9.
4585
4cbf380c
FW
45862014-02-25 Florian Weimer <fweimer@redhat.com>
4587
4588 [BZ #15347]
4589 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4590
80a56cc3
WN
45912014-02-25 Will Newton <will.newton@linaro.org>
4592
4593 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4594 (__longjmp): Restore sp and lr before restoring callee
4595 saved registers. Add longjmp and longjmp_target
4596 SystemTap probe point.
4597 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4598 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4599 Define to zero to match jmpbuf layout.
4600 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4601 (__sigsetjmp): Save sp and lr before saving callee
4602 saved registers. Add setjmp SystemTap probe point.
4603
3ea0f74e
SL
46042014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4605
4606 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4607
b04acb26
AS
46082014-02-24 Andreas Schwab <schwab@suse.de>
4609
4610 [BZ #15804]
4611 * elf/pldd.c (wait_for_ptrace_stop): New function.
4612 (main): Call it after attaching.
4613
098ad55c
RM
46142014-02-22 Roland McGrath <roland@hack.frob.com>
4615
d4ec6ae1
RM
4616 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4617 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4618 Versions files is now verboten.
4619 * hurd/Versions (libc: GLIBC_2.0):
4620 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4621 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4622 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4623 * mach/Versions: Likewise.
4624
098ad55c
RM
4625 * csu/Versions: Remove unused %include.
4626 * resolv/Versions: Likewise.
4627
acd7f096
JM
46282014-02-21 Joseph Myers <joseph@codesourcery.com>
4629
f0881698
JM
4630 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4631 ($(objpfx)check-local-headers.out): Likewise.
4632 ($(objpfx)begin-end-check.out): Likewise.
4633 * Makerules (check-abi-%.out): Likewise.
4634 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4635 ($(objpfx)test2.cat): Likewise.
4636 ($(objpfx)de/libc.cat): Likewise.
4637 ($(objpfx)test-gencat.out): Likewise.
4638 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4639 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4640 ($(objpfx)noload-mem): Likewise.
4641 ($(objpfx)tst-pathopt.out): Likewise.
4642 ($(objpfx)tst-rtld-load-self.out): Likewise.
4643 ($(objpfx)tst-array1-cmp.out): Likewise.
4644 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4645 ($(objpfx)tst-array2-cmp.out): Likewise.
4646 ($(objpfx)tst-array3-cmp.out): Likewise.
4647 ($(objpfx)tst-array4-cmp.out): Likewise.
4648 ($(objpfx)tst-array5-cmp.out): Likewise.
4649 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4650 ($(objpfx)check-textrel.out): Likewise.
4651 ($(objpfx)check-execstack.out): Likewise.
4652 ($(objpfx)check-localplt.out): Likewise.
4653 ($(objpfx)order2-cmp.out): Likewise.
4654 ($(objpfx)tst-leaks1-mem): Likewise.
4655 ($(objpfx)tst-leaks1-static-mem): Likewise.
4656 ($(objpfx)tst-initorder-cmp.out): Likewise.
4657 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4658 ($(objpfx)tst-unused-dep.out): Likewise.
4659 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4660 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4661 * iconv/Makefile (test-iconvconfig): Likewise.
4662 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4663 ($(objpfx)iconv-test.out): Likewise.
4664 ($(objpfx)tst-tables.out): Likewise.
4665 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4666 ($(objpfx)tst-gettext.out): Likewise.
4667 ($(objpfx)tst-translit.out): Likewise.
4668 ($(objpfx)tst-gettext2.out): Likewise.
4669 ($(objpfx)tst-gettext4.out): Likewise.
4670 ($(objpfx)tst-gettext6.out): Likewise.
4671 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4672 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4673 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4674 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4675 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4676 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4677 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4678 ($(objpfx)wordexp-tst.out): Likewise.
4679 ($(objpfx)annexc.out): Likewise.
4680 ($(objpfx)tst-fnmatch-mem): Likewise.
4681 ($(objpfx)bug-regex2-mem): Likewise.
4682 ($(objpfx)bug-regex14-mem): Likewise.
4683 ($(objpfx)bug-regex21-mem): Likewise.
4684 ($(objpfx)bug-regex31-mem): Likewise.
4685 ($(objpfx)tst-vfork3-mem): Likewise.
4686 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4687 ($(objpfx)tst-pcre-mem): Likewise.
4688 ($(objpfx)tst-boost-mem): Likewise.
4689 ($(objpfx)tst-getconf.out): Likewise.
4690 ($(objpfx)bug-ga2-mem): Likewise.
4691 ($(objpfx)bug-glob2-mem): Likewise.
4692 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4693 ($(objpfx)mtrace-tst-leaks2): Likewise.
4694 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4695 ($(objpfx)tst-printf.out): Likewise.
4696 ($(objpfx)tst-setvbuf1.out): Likewise.
4697 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4698 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4699 ($(objpfx)tst-fmtmsg.out): Likewise.
4700 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4701 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4702
acd7f096
JM
4703 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4704 * bits/sigaction.h [__USE_MISC]: Likewise.
4705 * bits/waitstatus.h: Update #endif comments.
4706 * ctype/ctype.h: Likewise.
4707 * dirent/dirent.h: Likewise.
4708 [__USE_MISC]: Remove redundant conditionals.
4709 * grp/grp.h: Update #endif comments.
4710 [__USE_GNU]: Remove redundant conditionals.
4711 [__USE_MISC]: Likewise.
4712 * inet/netinet/in.h [__USE_GNU]: Likewise.
4713 * io/sys/stat.h [__USE_MISC]: Likewise.
4714 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4715 * libio/bits/stdio.h: Update #endif comments.
4716 [__USE_MISC]: Remove redundant conditionals.
4717 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4718 * libio/stdio.h: Update #endif comments.
4719 [__USE_MISC]: Remove redundant conditionals.
4720 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4721 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4722 * math/math.h: Update #else and #endif comments.
4723 [__USE_MISC]: Remove redundant conditionals.
4724 * misc/sys/uio.h: Update #endif comments.
4725 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4726 * posix/glob.h [__USE_MISC]: Likewise.
4727 * posix/sys/types.h: Update #endif comments.
4728 [__USE_MISC]: Remove redundant conditionals.
4729 * posix/sys/wait.h: Update #endif comments.
4730 [__USE_MISC]: Remove redundant conditionals.
4731 * posix/unistd.h: Update #endif comments.
4732 [__USE_MISC]: Remove redundant conditionals.
4733 * pwd/pwd.h [__USE_GNU]: Likewise.
4734 [__USE_MISC]: Likewise.
4735 * resolv/netdb.h [__USE_GNU]: Likewise.
4736 * signal/signal.h: Update #endif comments.
4737 [__USE_MISC]: Remove redundant conditionals.
4738 * stdlib/stdlib.h: Update #else and #endif comments.
4739 [__USE_MISC]: Remove redundant conditionals.
4740 [__USE_GNU]: Likewise.
4741 * string/bits/string2.h [__USE_MISC]: Likewise.
4742 * string/string.h: Update #endif comments.
4743 [__USE_MISC]: Remove redundant conditionals.
4744 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4745 Likewise.
4746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4747 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4748 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4749 Likewise.
4750 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4751 Likewise.
4752 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4753 comments.
4754 [__USE_MISC]: Remove redundant conditionals.
4755 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4756 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4757 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4758 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4759 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4760 Likewise.
4761 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4762 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4763 Likewise.
4764 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4765 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4766 Likewise.
4767 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4768 Likewise.
4769 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4770 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4771 Likewise.
4772 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4773 Likewise.
4774 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4775 * sysdeps/x86/bits/string.h: Update #endif comments.
4776 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4777 conditionals.
4778 * time/sys/time.h: Update #endif comments.
4779 * time/time.h: Likewise.
4780 [__USE_MISC]: Remove redundant conditionals.
4781
a5d82e4e
YG
47822014-02-21 Yury Gribov <y.gribov@samsung.com>
4783
4784 [BZ #16600]
4785 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4786
9a80491d
AS
47872014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4788
4789 * Versions.def (librt): Add GLIBC_2.17.
4790
105fa381
AC
47912014-02-21 Adam Conrad <adconrad@0c3.net>
4792
4793 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4794 synonym for _SYS_AUXV_H to allow direct inclusion.
4795 * sysdeps/sparc/bits/hwcap.h: Likewise.
4796 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4797 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4798 * sysdeps/sparc/sysdep.h: Likewise.
4799
b8cd1c4e
SP
48002014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4801
4802 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4803
bd939d23
RS
48042014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4805
4806 * benchtests/bench-strrchr.c: Print length instead of position.
4807
5d7b57ca
JM
48082014-02-20 Joseph Myers <joseph@codesourcery.com>
4809
bc688c10
JM
4810 [BZ #16611]
4811 * sysdeps/unix/sysv/linux/kernel-features.h
4812 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4813 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4814 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4815 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4816 Likewise.
4817 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4818 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4819 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4820 (__ASSUME_SENDMMSG): Define instead of using previous
4821 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4822 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4823 (__ASSUME_SENDMMSG_SYSCALL): Define.
4824 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4825 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4826 Likewise.
4827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4828 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4829 Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4831 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4832 Likewise.
4833 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4834 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4835 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4836 [__ASSUME_SENDMMSG]: Change conditionals to
4837 [__ASSUME_SENDMMSG_SOCKETCALL].
4838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4839 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4840 Define.
4841 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4842 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4843 Likewise.
4844 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4845 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4846 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4847 [!__ASSUME_SENDMMSG]: Change conditional to
4848 [!__ASSUME_SENDMMSG_SOCKETCALL].
4849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4850 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4851 Define.
4852
0e31b18c
JM
4853 [BZ #16610]
4854 * sysdeps/unix/sysv/linux/kernel-features.h
4855 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4856 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4857 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4858 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4859 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4860 [__i386__ || __sparc__]
4861 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4862 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4863 (__ASSUME_RECVMMSG): Define instead of using previous
4864 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4865 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4866 (__ASSUME_RECVMMSG_SYSCALL): Define.
4867 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4869 Likewise.
4870 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4872 Likewise.
4873 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4875 Likewise.
4876 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4877 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4878 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4879 [__ASSUME_RECVMMSG]: Change condition to
4880 [__ASSUME_RECVMMSG_SOCKETCALL].
4881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4883 Define.
4884 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4887 Likewise.
4888 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4889 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4890 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4891 [!__ASSUME_RECVMMSG]: Change condition to
4892 [!__ASSUME_RECVMMSG_SOCKETCALL].
4893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4894 (__ASSUME_RECVMMSG_SYSCALL): Define.
4895
dd481ccf
JM
4896 [BZ #16609]
4897 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4898 __powerpc__ || __s390__ || __sh__ || __sparc__]
4899 (__ASSUME_SOCKETCALL): Define.
4900 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4901 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4902 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4903 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4904 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4905 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4906 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4907 (__ASSUME_ACCEPT4): Define instead of using previous
4908 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4909 __powerpc__ || __sparc__ || __s390__)] condition.
4910 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4911 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4912 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4913 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4914 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4915 [!__ASSUME_ACCEPT4]: Change condition to
4916 [!__ASSUME_ACCEPT4_SOCKETCALL].
4917 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4918 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4919 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4920 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4921 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4922 __ASSUME_ACCEPT4_SYSCALL.
4923 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4924 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4925 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4926 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4927 __ASSUME_ACCEPT4_SYSCALL.
4928 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4929 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4930 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4931 [__ASSUME_ACCEPT4]: Change condition to
4932 [__ASSUME_ACCEPT4_SOCKETCALL].
4933 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4934 (__ASSUME_SOCKETCALL): Define.
4935 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4937 (__ASSUME_SOCKETCALL): Define.
4938 (__ASSUME_ACCEPT4): Remove.
4939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4940 Define.
4941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4942 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4943 Likewise.
4944 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4945 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4946
5d7b57ca
JM
4947 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4948 macro.
4949 (HWCAP_ARM_LPAE): Likewise.
4950 (HWCAP_ARM_EVTSTRM): Likewise.
4951 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4952 Add vpfd32, lpae and evtstrm.
4953 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4954 Increase to 22.
4955
63689d61
JM
49562014-02-19 Joseph Myers <joseph@codesourcery.com>
4957
4958 * math/auto-libm-test-in: Add tests of clog10.
4959 * math/auto-libm-test-out: Regenerated.
4960 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4963
ab09bf61
AS
49642014-02-18 Andreas Schwab <schwab@suse.de>
4965
4966 [BZ #16574]
4967 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4968 Store non-zero if the second buffer was newly allocated.
4969 (send_dg): Likewise.
4970 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4971 to send_vc and send_dg.
4972 (res_nsend): Pass NULL for ansp2_malloced.
4973 * resolv/res_query.c (__libc_res_nquery): Add parameter
4974 answerp2_malloced and pass it down to __libc_res_nsend.
4975 (res_nquery): Pass additional NULL to __libc_res_nquery.
4976 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4977 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4978 second answer buffer if answerp2_malloced was set.
4979 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4980 (__libc_res_nquerydomain): Add parameter
4981 answerp2_malloced and pass it down to __libc_res_nquery.
4982 (res_nquerydomain): Pass additional NULL to
4983 __libc_res_nquerydomain.
4984 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4985 additional NULL to __libc_res_nsend and __libc_res_nquery.
4986 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4987 additional NULL to __libc_res_nsearch.
4988 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4989 parameter of __libc_res_nsearch to check for separately allocated
4990 second buffer.
4991 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4992 __libc_res_nquery.
4993 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4994 additional NULL to __libc_res_nquery.
4995 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4996 __libc_res_nsearch.
4997 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4998 * include/resolv.h: Update prototypes of __libc_res_nquery,
4999 __libc_res_nsearch, __libc_res_nsend.
5000
a4fb7861
JM
50012014-02-18 Joseph Myers <joseph@codesourcery.com>
5002
c6af2d89
JM
5003 * math/auto-libm-test-in: Add tests of fma.
5004 * math/auto-libm-test-out: Regenerated.
5005 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5006 (fma_towardzero_test_data): Likewise.
5007 (fma_downward_test_data): Likewise.
5008 (fma_upward_test_data): Likewise.
5009 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5010 mpc_mode.
5011 (rounding_modes): Add values for new field.
5012 (func_calc_method): Add value mpfr_fff_f.
5013 (func_calc_desc): Add mpfr_fff_f union field.
5014 (test_function): Add field exact_args.
5015 (FUNC): Add macro argument EXACT_ARGS.
5016 (FUNC_mpfr_f_f): Update call to FUNC.
5017 (FUNC_mpfr_f_f): Likewise.
5018 (FUNC_mpfr_ff_f): Likewise.
5019 (FUNC_mpfr_if_f): Likewise.
5020 (FUNC_mpc_c_f): Likewise.
5021 (FUNC_mpc_c_c): Likewise.
5022 (test_functions): Add fma. Update calls to FUNC.
5023 (handle_input_arg): Add argument exact_args.
5024 (add_test): Update call to handle_input_arg.
5025 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5026 (output_for_one_input_case): Update call to calc_generic_results.
5027 Recalculate exact zero results in each rounding mode.
5028
a4fb7861
JM
5029 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5030 non-negative before setting low bit.
5031 * math/auto-libm-test-in: Mark one asin test possibly having
5032 spurious underflow.
5033 * math/auto-libm-test-out: Regenerated.
5034 * sysdeps/i386/fpu/libm-test-ulps: Update.
5035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5036
ef114eaf
DH
50372014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5038
2b7f4f2c
SP
5039 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5040 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5041 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5042 * README: Add missing listing for microblaze*-*-linux-gnu.
5043
c70a4b1d
MF
50442014-02-16 Mike Frysinger <vapier@gentoo.org>
5045
5046 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5047 * sysdeps/unix/sysv/linux/ia64: Move directory from
5048 ports/sysdeps/unix/sysv/linux/ia64.
5049 * README: Update listing for ia64-*-linux-gnu.
5050
591aeaf7
TD
50512014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5052 Joseph Myers <joseph@codesourcery.com>
5053
5054 * Makeconfig (test-name): New variable.
5055 (evaluate-test): Likewise.
5056 * Makerules (do-test-clean): Remove .test-result files.
5057 (common-mostlyclean): Likewise.
5058 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5059 * scripts/evaluate-test.sh: New file.
5060
6e89caf1
JM
50612014-02-14 Joseph Myers <joseph@codesourcery.com>
5062
7f98f180
JM
5063 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5064 separate $(objpfx)tst-fopenloc-cmp.out and
5065 $(objpfx)tst-fopenloc-mem.out targets.
5066 (tests): Update dependencies.
5067 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5068 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5069 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5070 (tst-rxspencer-no-utf8-ARGS): New variable.
5071 (tst-rxspencer-no-utf8-ENV): Likewise.
5072 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5073 instead of $(objpfx)tst-rxspencer-mem.
5074 ($(objpfx)tst-rxspencer-mem): Change target to
5075 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5076 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5077 * posix/tst-rxspencer-no-utf8.c: New file.
5078
6e89caf1
JM
5079 * elf/Makefile ($(objpfx)order.out): Remove rule.
5080 [$(run-built-tests) = yes] (tests): Depend on
5081 $(objpfx)order-cmp.out.
5082 ($(objpfx)order-cmp.out): New rule.
5083 [$(run-built-tests) = yes] (tests): Depend on
5084 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5085 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5086 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5087 $(objpfx)tst-array5-static-cmp.out.
5088 ($(objpfx)tst-array1.out): Remove rule.
5089 ($(objpfx)tst-array1-cmp.out): New rule.
5090 ($(objpfx)tst-array1-static.out): Remove rule.
5091 ($(objpfx)tst-array1-static-cmp.out): New rule.
5092 ($(objpfx)tst-array2.out): Remove rule.
5093 ($(objpfx)tst-array2-cmp.out): New rule.
5094 ($(objpfx)tst-array3.out): Remove rule.
5095 ($(objpfx)tst-array3-cmp.out): New rule.
5096 ($(objpfx)tst-array4.out): Remove rule.
5097 ($(objpfx)tst-array4-cmp.out): New rule.
5098 ($(objpfx)tst-array5.out): Remove rule.
5099 ($(objpfx)tst-array5-cmp.out): New rule.
5100 ($(objpfx)tst-array5-static.out): Remove rule.
5101 ($(objpfx)tst-array5-static-cmp.out): New rule.
5102 [$(run-built-tests) = yes] (tests): Depend on
5103 $(objpfx)order2-cmp.out.
5104 ($(objpfx)order2.out): Remove rule.
5105 ($(objpfx)order2-cmp.out): New rule.
5106 ($(objpfx)tst-initorder.out): Remove rule.
5107 [$(run-built-tests) = yes] (tests): Depend on
5108 $(objpfx)tst-initorder-cmp.out.
5109 ($(objpfx)tst-initorder-cmp.out): New rule.
5110 ($(objpfx)tst-initorder2.out): Remove rule.
5111 [$(run-built-tests) = yes] (tests): Depend on
5112 $(objpfx)tst-initorder2-cmp.out.
5113 ($(objpfx)tst-initorder2-cmp.out): New rule.
5114 [$(run-built-tests) = yes] (tests): Depend on
5115 $(objpfx)tst-unused-dep-cmp.out.
5116 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5117 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5118 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5119 on $(objpfx)tst-setvbuf1-cmp.out.
5120 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5121 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5122 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5123 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5124 ($(objpfx)tst-svc.out): Remove rule.
5125 ($(objpfx)tst-svc-cmp.out): New rule.
5126
ed9a38e2
JM
51272014-02-13 Joseph Myers <joseph@codesourcery.com>
5128
5129 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5130 * ctype/ctype.h [__USE_MISC]: Likewise.
5131 * dirent/dirent.h [__USE_MISC]: Likewise.
5132 * grp/grp.h [__USE_MISC]: Likewise.
5133 * io/fcntl.h [__USE_MISC]: Likewise.
5134 * io/sys/stat.h [__USE_MISC]: Likewise.
5135 * libio/stdio.h [__USE_MISC]: Likewise.
5136 * posix/unistd.h [__USE_MISC]: Likewise.
5137 * pwd/pwd.h [__USE_MISC]: Likewise.
5138 * stdlib.h [__USE_MISC]: Likewise.
5139 * string/bits/string2.h [__USE_MISC]: Likewise.
5140 * string/string.h [__USE_MISC]: Likewise.
5141 * time/time.h [__USE_MISC]: Likewise.
5142
d6680619
AS
51432014-02-13 Andreas Schwab <schwab@suse.de>
5144
5145 [BZ #16574]
5146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5147 second answer buffer if it was separately allocated.
5148
ace614b8
JM
51492014-02-12 Joseph Myers <joseph@codesourcery.com>
5150
743151ae
JM
5151 * sysdeps/mips/math-tests.h: Include <features.h>.
5152 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5153 (ROUNDING_TESTS_long_double): Do not define.
5154 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5155 (EXCEPTION_TESTS_long_double): Likewise.
5156 * sysdeps/mips/mips64/libm-test-ulps: Update.
5157
498afc54
JM
5158 * include/features.h (__USE_BSD): Remove macro definitions.
5159 (__USE_SVID): Likewise.
5160 (_BSD_SOURCE): Likewise.
5161 (_SVID_SOURCE): Likewise.
5162 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5163 from definition of _DEFAULT_SOURCE.
5164 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5165 [_DEFAULT_SOURCE].
5166 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5167 * bits/mman.h [__USE_BSD]: Likewise.
5168 * bits/termios.h [__USE_BSD]: Likewise.
5169 * bits/waitstatus.h [__USE_BSD]: Likewise.
5170 * ctype/ctype.h [__USE_SVID]: Likewise.
5171 * dirent/dirent.h [__USE_BSD]: Likewise.
5172 * grp/grp.h [__USE_SVID]: Likewise.
5173 [__USE_BSD]: Likewise.
5174 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5175 * io/fcntl.h [__USE_BSD]: Likewise.
5176 * io/ftw.h [__USE_BSD]: Likewise.
5177 * io/sys/stat.h [__USE_BSD]: Likewise.
5178 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5179 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5180 * libio/stdio.h [__USE_SVID]: Likewise.
5181 [__USE_BSD]: Likewise.
5182 * math/math.h [__USE_SVID]: Likewise.
5183 [__USE_BSD]: Likewise.
5184 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5185 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5186 * misc/search.h [__USE_SVID]: Likewise.
5187 * misc/sys/mman.h [__USE_BSD]: Likewise.
5188 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5189 * misc/sys/uio.h [__USE_BSD]: Likewise.
5190 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5191 * posix/glob.h [__USE_BSD]: Likewise.
5192 * posix/regex.h [__USE_BSD]: Likewise.
5193 * posix/sys/types.h [__USE_BSD]: Likewise.
5194 [__USE_SVID]: Likewise.
5195 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5196 * posix/sys/wait.h [__USE_BSD]: Likewise.
5197 [__USE_SVID]: Likewise.
5198 * posix/unistd.h [__USE_BSD]: Likewise.
5199 [__USE_SVID]: Likewise.
5200 * pwd/pwd.h [__USE_SVID]: Likewise.
5201 * resolv/netdb.h [__USE_BSD]: Likewise.
5202 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5203 * signal/signal.h [__USE_BSD]: Likewise.
5204 [__USE_SVID]: Likewise.
5205 * socket/sys/socket.h [__USE_BSD]: Likewise.
5206 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5207 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5208 [__USE_SVID]: Likewise.
5209 * string/bits/string2.h [__USE_BSD]: Likewise.
5210 [__USE_SVID]: Likewise.
5211 * string/bits/string3.h [__USE_BSD]: Likewise.
5212 * string/endian.h [__USE_BSD]: Likewise.
5213 * string/string.h [__USE_SVID]: Likewise.
5214 [__USE_BSD]: Likewise.
5215 * string/strings.h [__USE_BSD]: Likewise.
5216 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5217 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5218 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5219 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5220 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5221 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5226 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5227 Likewise.
5228 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5229 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5230 Likewise.
5231 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5232 Likewise.
5233 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5234 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5236 Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5238 Likewise.
5239 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5240 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5241 * termios/termios.h [__USE_BSD]: Likewise.
5242 * time/sys/time.h [__USE_BSD]: Likewise.
5243 * time/time.h [__USE_BSD]: Likewise.
5244 [__USE_SVID]: Likewise.
5245
dd7b064c
JM
5246 * Makefile (subdir_targets): Remove subdir_lint.out.
5247
a2c4c199
JM
5248 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5249 (do-tst-printf): Likewise.
5250 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5251 $(objpfx)tst-printf.out.
5252
8756f740
JM
5253 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5254
1b6dd3f1
JM
5255 * Makerules (check-abi-%): Change target to
5256 $(objpfx)check-abi-%.out.
5257 (check-abi target): Update dependencies.
5258 (check-abi-pattern variable): Redirect output of diff to $@.
5259 (check-abi variable): Likewise.
5260 * elf/Makefile (check-abi): Update dependencies.
5261
ace614b8
JM
5262 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5263 unused.
5264 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5265 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5266 subnormal range.
5267 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5268 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5269 value has largest subnormal exponent.
5270 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5271 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5272 * sysdeps/aarch64/soft-fp/sfp-machine.h
5273 (_FP_TININESS_AFTER_ROUNDING): New macro.
5274 * sysdeps/alpha/soft-fp/sfp-machine.h
5275 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5276 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5277 Likewise.
5278 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5279 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5280 * sysdeps/mips/soft-fp/sfp-machine.h
5281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5282 * sysdeps/powerpc/soft-fp/sfp-machine.h
5283 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5284 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5285 Likewise.
5286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5290 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5291 Likewise.
5292
fbfdf9cb
DAS
52932014-02-12 Dylan Alex Simon <dylan@dylex.net>
5294
5295 [BZ #16545]
5296 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5297 model 1.
5298
68b7efaa
RH
52992014-02-12 Richard Henderson <rth@redhat.com>
5300
c70a4b1d 5301 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5302 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5303 * sysdeps/unix/sysv/linux/alpha: Move directory from
5304 ports/sysdeps/unix/sysv/linux/alpha.
5305 * README: Update listing for alpha-*-linux-gnu.
5306
cb4a2928
JM
53072014-02-11 Joseph Myers <joseph@codesourcery.com>
5308
c941736c
JM
5309 * include/features.h: Update comment documenting feature test
5310 macros.
5311 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5312 _DEFAULT_SOURCE.
5313 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5314 (_SVID_SOURCE): Likewise.
5315 (_DEFAULT_SOURCE): Update description of default features.
5316 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5317 with _GNU_SOURCE.
5318 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5319 (S_ISVTX): Likewise.
5320 * manual/math.texi (Mathematical Constants): Likewise.
5321 * manual/signal.texi (Interrupted Primitives): Likewise.
5322 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5323 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5324 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5325 Don't refer to _SVID_SOURCE in warning text.
5326
e8d8d7ec
JM
5327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5328
cb4a2928
JM
5329 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5330 already defined.
5331 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5332 * sysdeps/mips/dl-lookup.c: Remove.
5333 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5334
7e6424e3
AK
53352014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5336
5337 [BZ #16447]
5338 * math/auto-libm-test-in: Add testcase for expl.
5339 * math/auto-libm-test-out: Regenerate.
5340 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5341 calculation of unsafe.
5342 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5343
75eff3fe
MS
53442014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5345
5346 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5347 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5348 ports/sysdeps/unix/sysv/linux/aarch64.
5349 * README: Update listing for aarch64*-*-linux-gnu.
5350
d35f1e80
WN
53512014-02-11 Will Newton <will.newton@linaro.org>
5352
5353 * manual/probes.texi (Mathematical Function Probes): Use
5354 "triggered" instead of "hit".
5355
7b3436d4
WN
5356 * manual/probes.texi (Internal Probes): Add documentation
5357 of setjmp, longjmp and longjmp_target probes.
5358
b4f12ca3
WN
5359 * include/stap-probe.h: Add comment about probe argument
5360 format.
5361
c13a72b7
WN
5362 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5363 definition. (tr_where, tr_freehook, tr_mallochook,
5364 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5365
195b8165
DM
53662014-02-11 David S. Miller <davem@davemloft.net>
5367
5368 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5369 processing int_tests.
5370
2ad7600b
JM
53712014-02-10 Joseph Myers <joseph@codesourcery.com>
5372
5373 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5374 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5375 * sysdeps/unix/sysv/linux/mips: Move directory from
5376 ports/sysdeps/unix/sysv/linux/mips.
5377 * README: Update listing for mips-*-linux-gnu and
5378 mips64-*-linux-gnu.
5379
73588a72
AS
53802014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5381
5382 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5383 * sysdeps/unix/sysv/linux/m68k: Move directory from
5384 ports/sysdeps/unix/sysv/linux/m68k.
5385 * README: Update listing for m68k-*-linux-gnu.
5386
4372980f
CM
53872014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5388
5389 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5390 * sysdeps/unix/sysv/linux/generic: Move directory from
5391 ports/sysdeps/unix/sysv/linux/generic.
5392 * sysdeps/unix/sysv/linux/tile: Move directory from
5393 ports/sysdeps/unix/sysv/linux/tile.
5394 * README: Update listing for tile*-*-linux-gnu.
5395
a1ffb40e
OB
53962014-02-10 Ondřej Bílka <neleai@seznam.cz>
5397
57f41c40
AS
5398 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5399 __builtin_expect.
a1ffb40e
OB
5400 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5401 * catgets/open_catalog.c (__open_catalog): Likewise.
5402 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5403 * debug/confstr_chk.c: Likewise.
5404 * debug/fread_chk.c (__fread_chk): Likewise.
5405 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5406 * debug/getgroups_chk.c: Likewise.
5407 * debug/mbsnrtowcs_chk.c: Likewise.
5408 * debug/mbsrtowcs_chk.c: Likewise.
5409 * debug/mbstowcs_chk.c: Likewise.
5410 * debug/memcpy_chk.c: Likewise.
5411 * debug/memmove_chk.c: Likewise.
5412 * debug/mempcpy_chk.c: Likewise.
5413 * debug/memset_chk.c: Likewise.
5414 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5415 * debug/strcat_chk.c (__strcat_chk): Likewise.
5416 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5417 * debug/strncat_chk.c (__strncat_chk): Likewise.
5418 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5419 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5420 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5421 * debug/wcpncpy_chk.c: Likewise.
5422 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5423 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5424 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5425 * debug/wcsncpy_chk.c: Likewise.
5426 * debug/wcsnrtombs_chk.c: Likewise.
5427 * debug/wcsrtombs_chk.c: Likewise.
5428 * debug/wcstombs_chk.c: Likewise.
5429 * debug/wmemcpy_chk.c: Likewise.
5430 * debug/wmemmove_chk.c: Likewise.
5431 * debug/wmempcpy_chk.c: Likewise.
5432 * debug/wmemset_chk.c: Likewise.
5433 * dirent/scandirat.c (SCANDIRAT): Likewise.
5434 * dlfcn/dladdr1.c (dladdr1): Likewise.
5435 * dlfcn/dladdr.c (dladdr): Likewise.
5436 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5437 * dlfcn/dlerror.c (__dlerror): Likewise.
5438 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5439 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5440 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5441 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5442 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5443 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5444 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5445 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5446 Likewise.
5447 * elf/dl-conflict.c: Likewise.
5448 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5449 * elf/dl-dst.h: Likewise.
5450 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5451 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5452 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5453 * elf/dl-init.c (call_init, _dl_init): Likewise.
5454 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5455 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5456 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5457 Likewise.
a1ffb40e
OB
5458 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5459 Likewise.
5460 * elf/dl-minimal.c (__libc_memalign): Likewise.
5461 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5462 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5463 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5464 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5465 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5466 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5467 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5468 * elf/dl-writev.h (_dl_writev): Likewise.
5469 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5470 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5471 (dl_main): Likewise.
a1ffb40e
OB
5472 * elf/setup-vdso.h (setup_vdso): Likewise.
5473 * grp/compat-initgroups.c (compat_call): Likewise.
5474 * grp/fgetgrent.c (fgetgrent): Likewise.
5475 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5476 * grp/putgrent.c (putgrent): Likewise.
5477 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5478 Likewise.
5479 * hurd/hurdinit.c: Likewise.
5480 * iconvdata/8bit-gap.c (struct): Likewise.
5481 * iconvdata/ansi_x3.110.c : Likewise.
5482 * iconvdata/big5.c : Likewise.
5483 * iconvdata/big5hkscs.c : Likewise.
5484 * iconvdata/cp1255.c: Likewise.
5485 * iconvdata/cp1258.c : Likewise.
5486 * iconvdata/cp932.c : Likewise.
5487 * iconvdata/euc-cn.c: Likewise.
5488 * iconvdata/euc-jisx0213.c : Likewise.
5489 * iconvdata/euc-jp.c: Likewise.
5490 * iconvdata/euc-jp-ms.c : Likewise.
5491 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5492 * iconvdata/gb18030.c : Likewise.
5493 * iconvdata/gbbig5.c (const): Likewise.
5494 * iconvdata/gbgbk.c: Likewise.
5495 * iconvdata/gbk.c : Likewise.
5496 * iconvdata/ibm1364.c : Likewise.
5497 * iconvdata/ibm930.c : Likewise.
5498 * iconvdata/ibm932.c: Likewise.
5499 * iconvdata/ibm933.c : Likewise.
5500 * iconvdata/ibm935.c : Likewise.
5501 * iconvdata/ibm937.c : Likewise.
5502 * iconvdata/ibm939.c : Likewise.
5503 * iconvdata/ibm943.c: Likewise.
5504 * iconvdata/iso_11548-1.c: Likewise.
5505 * iconvdata/iso-2022-cn.c : Likewise.
5506 * iconvdata/iso-2022-cn-ext.c : Likewise.
5507 * iconvdata/iso-2022-jp-3.c: Likewise.
5508 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5509 * iconvdata/iso-2022-kr.c : Likewise.
5510 * iconvdata/iso646.c (gconv_end): Likewise.
5511 * iconvdata/iso_6937-2.c : Likewise.
5512 * iconvdata/iso_6937.c : Likewise.
5513 * iconvdata/iso8859-1.c: Likewise.
5514 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5515 * iconvdata/shift_jisx0213.c : Likewise.
5516 * iconvdata/sjis.c : Likewise.
5517 * iconvdata/t.61.c : Likewise.
5518 * iconvdata/tcvn5712-1.c : Likewise.
5519 * iconvdata/tscii.c: Likewise.
5520 * iconvdata/uhc.c : Likewise.
5521 * iconvdata/unicode.c (gconv_end): Likewise.
5522 * iconvdata/utf-16.c (gconv_end): Likewise.
5523 * iconvdata/utf-32.c (gconv_end): Likewise.
5524 * iconvdata/utf-7.c (base64): Likewise.
5525 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5526 * iconv/gconv_close.c (__gconv_close): Likewise.
5527 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5528 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5529 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5530 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5531 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5532 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5533 * iconv/iconv.c (iconv): Likewise.
5534 * iconv/iconv_close.c: Likewise.
5535 * iconv/loop.c (SINGLE): Likewise.
5536 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5537 * include/atomic.h: Likewise.
5538 * inet/inet6_option.c (option_alloc): Likewise.
5539 * intl/bindtextdom.c (set_binding_values): Likewise.
5540 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5541 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5542 * intl/localealias.c (read_alias_file): Likewise.
5543 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5544 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5545 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5546 * libio/fmemopen.c (fmemopen): Likewise.
5547 * libio/iofgets.c (_IO_fgets): Likewise.
5548 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5549 * libio/iofgetws.c (fgetws): Likewise.
5550 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5551 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5552 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5553 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5554 * locale/findlocale.c (_nl_find_locale): Likewise.
5555 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5556 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5557 Likewise.
5558 * locale/setlocale.c (setlocale): Likewise.
5559 * login/programs/pt_chown.c (main): Likewise.
5560 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5561 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5562 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5563 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5564 * math/e_exp2l.c: Likewise.
5565 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5566 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5567 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5568 * math/s_catan.c (__catan): Likewise.
5569 * math/s_catanf.c (__catanf): Likewise.
5570 * math/s_catanh.c (__catanh): Likewise.
5571 * math/s_catanhf.c (__catanhf): Likewise.
5572 * math/s_catanhl.c (__catanhl): Likewise.
5573 * math/s_catanl.c (__catanl): Likewise.
5574 * math/s_ccosh.c (__ccosh): Likewise.
5575 * math/s_ccoshf.c (__ccoshf): Likewise.
5576 * math/s_ccoshl.c (__ccoshl): Likewise.
5577 * math/s_cexp.c (__cexp): Likewise.
5578 * math/s_cexpf.c (__cexpf): Likewise.
5579 * math/s_cexpl.c (__cexpl): Likewise.
5580 * math/s_clog10.c (__clog10): Likewise.
5581 * math/s_clog10f.c (__clog10f): Likewise.
5582 * math/s_clog10l.c (__clog10l): Likewise.
5583 * math/s_clog.c (__clog): Likewise.
5584 * math/s_clogf.c (__clogf): Likewise.
5585 * math/s_clogl.c (__clogl): Likewise.
5586 * math/s_csin.c (__csin): Likewise.
5587 * math/s_csinf.c (__csinf): Likewise.
5588 * math/s_csinh.c (__csinh): Likewise.
5589 * math/s_csinhf.c (__csinhf): Likewise.
5590 * math/s_csinhl.c (__csinhl): Likewise.
5591 * math/s_csinl.c (__csinl): Likewise.
5592 * math/s_csqrt.c (__csqrt): Likewise.
5593 * math/s_csqrtf.c (__csqrtf): Likewise.
5594 * math/s_csqrtl.c (__csqrtl): Likewise.
5595 * math/s_ctan.c (__ctan): Likewise.
5596 * math/s_ctanf.c (__ctanf): Likewise.
5597 * math/s_ctanh.c (__ctanh): Likewise.
5598 * math/s_ctanhf.c (__ctanhf): Likewise.
5599 * math/s_ctanhl.c (__ctanhl): Likewise.
5600 * math/s_ctanl.c (__ctanl): Likewise.
5601 * math/w_pow.c: Likewise.
5602 * math/w_powf.c: Likewise.
5603 * math/w_powl.c: Likewise.
5604 * math/w_scalb.c (sysv_scalb): Likewise.
5605 * math/w_scalbf.c (sysv_scalbf): Likewise.
5606 * math/w_scalbl.c (sysv_scalbl): Likewise.
5607 * misc/error.c (error_tail): Likewise.
5608 * misc/pselect.c (__pselect): Likewise.
5609 * nis/nis_callback.c (__nis_create_callback): Likewise.
5610 * nis/nis_call.c (__nisfind_server): Likewise.
5611 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5612 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5613 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5614 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5615 * nis/nis_lookup.c (nis_lookup): Likewise.
5616 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5617 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5618 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5619 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5620 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5621 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5622 * nis/nss_compat/compat-initgroups.c (add_group)
5623 (internal_getgrent_r): Likewise.
5624 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5625 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5626 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5627 (internal_getspnam_r): Likewise.
5628 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5629 (_nss_nis_getaliasbyname_r): Likewise.
5630 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5631 (_nss_nis_getntohost_r): Likewise.
5632 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5633 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5634 (_nss_nis_getgrgid_r): Likewise.
5635 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5636 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5637 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5638 (_nss_nis_gethostbyname4_r): Likewise.
5639 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5640 (initgroups_netid): Likewise.
a1ffb40e 5641 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5642 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5643 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5644 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5645 (_nss_nis_getprotobynumber_r): Likewise.
5646 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5647 (_nss_nis_getsecretkey): Likewise.
5648 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5649 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5650 (_nss_nis_getpwuid_r): Likewise.
5651 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5652 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5653 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5654 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5655 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5656 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5657 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5658 Likewise.
57f41c40
AS
5659 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5660 (_nss_nisplus_getntohost_r): Likewise.
5661 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5662 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5663 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5664 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5665 Likewise.
57f41c40
AS
5666 * nis/nss_nisplus/nisplus-initgroups.c
5667 (_nss_nisplus_initgroups_dyn): Likewise.
5668 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5669 (_nss_nisplus_getnetbyaddr_r): Likewise.
5670 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5671 (_nss_nisplus_getprotobynumber_r): Likewise.
5672 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5673 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5674 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5675 Likewise.
57f41c40
AS
5676 * nis/nss_nisplus/nisplus-service.c
5677 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5678 (_nss_nisplus_getservbyport_r): Likewise.
5679 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5680 (_nss_nisplus_getspnam_r): Likewise.
5681 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5682 Likewise.
a1ffb40e
OB
5683 * nscd/aicache.c (addhstaiX): Likewise.
5684 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5685 * nscd/connections.c (register_traced_file, send_ro_fd)
5686 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5687 (main_loop_epoll): Likewise.
a1ffb40e
OB
5688 * nscd/grpcache.c (addgrbyX): Likewise.
5689 * nscd/hstcache.c (addhstbyX): Likewise.
5690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5691 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5692 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5693 (addinnetgrX): Likewise.
5694 * nscd/nscd-client.h (__nscd_acquire_maplock)
5695 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5696 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5697 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5699 Likewise.
5700 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5702 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5703 (__nscd_get_map_ref): Likewise.
a1ffb40e 5704 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5705 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5706 Likewise.
a1ffb40e
OB
5707 * nscd/pwdcache.c (addpwbyX): Likewise.
5708 * nscd/selinux.c (preserve_capabilities): Likewise.
5709 * nscd/servicescache.c (addservbyX): Likewise.
5710 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5711 * posix/fnmatch.c (fnmatch): Likewise.
5712 * posix/getopt.c (_getopt_internal_r): Likewise.
5713 * posix/glob.c (glob, glob_in_dir): Likewise.
5714 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5715 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5716 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5717 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5718 * resolv/res_init.c: Likewise.
5719 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5720 * resolv/res_query.c (__libc_res_nquery): Likewise.
5721 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5722 Likewise.
5723 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5724 * stdio-common/perror.c (perror): Likewise.
5725 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5726 * stdio-common/tmpnam.c (tmpnam): Likewise.
5727 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5728 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5729 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5730 Likewise.
a1ffb40e
OB
5731 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5732 * stdlib/putenv.c (putenv): Likewise.
5733 * stdlib/setenv.c (__add_to_environ): Likewise.
5734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5735 * stdlib/strtol_l.c (INTERNAL): Likewise.
5736 * string/memmem.c (memmem): Likewise.
5737 * string/strerror.c (strerror): Likewise.
5738 * string/strnlen.c (__strnlen): Likewise.
5739 * string/test-memmem.c (simple_memmem): Likewise.
5740 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5741 * sunrpc/pm_getport.c (__get_socket): Likewise.
5742 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5743 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5744 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5745 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5746 Likewise.
5747 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5748 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5749 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5750 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5751 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5752 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5753 Likewise.
5754 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5755 Likewise.
a1ffb40e
OB
5756 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5757 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5759 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5760 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5762 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5763 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5764 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5765 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5768 Likewise.
5769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5770 Likewise.
5771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5772 Likewise.
5773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5775 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5777 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5778 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5779 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5789 Likewise.
a1ffb40e
OB
5790 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5791 Likewise.
5792 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5793 Likewise.
5794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5795 Likewise.
5796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5798 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5799 Likewise.
5800 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5801 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5802 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5803 * sysdeps/posix/sleep.c: Likewise.
5804 * sysdeps/posix/tempname.c: Likewise.
5805 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5806 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5807 Likewise.
57f41c40
AS
5808 * sysdeps/powerpc/powerpc32/dl-machine.h
5809 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5810 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5812 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5813 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5814 Likewise.
5815 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5817 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5819 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5820 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5821 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5822 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5826 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5829 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5830 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5831 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5832 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5833 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5834 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5835 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5836 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5838 Likewise.
5839 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5840 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5841 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5842 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5843 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5844 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5845 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5846 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5847 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5848 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5849 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5852 (__posix_fallocate64_l64): Likewise.
5853 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5854 (posix_fallocate): Likewise.
57f41c40
AS
5855 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5856 Likewise.
a1ffb40e 5857 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5858 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5859 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5860 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5861 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5862 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5863 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5864 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5865 (__posix_fallocate64_l64): Likewise.
5866 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5867 Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5870 (__get_clockfreq): Likewise.
a1ffb40e
OB
5871 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5872 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5873 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5876 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5877 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5878 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5879 Likewise.
5880 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5881 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5882 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5884 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5885 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5886 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5887 Likewise.
5888 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5889 (posix_fallocate): Likewise.
5890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5891 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5892 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5893 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5894 (elf_machine_rela, elf_machine_rela_relative)
5895 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5896 * time/asctime.c (asctime_internal): Likewise.
5897 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5898 * time/tzset.c (__tzset_parse_tz): Likewise.
5899 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5900 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5901 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5902 * wcsmbs/wcsmbsload.h: Likewise.
5903
f3d338c9
OB
5904 [BZ #15894]
5905 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5906
57f41c40
AS
5907 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5908 (arena_get2): Remove THREAD_STATS conditionals.
5909 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5910 (__malloc_stats, int): Likewise.
bdfe308a 5911
d674667c
MF
59122014-02-08 Mike Frysinger <vapier@gentoo.org>
5913
5914 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5915 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5916
6349768c
MF
5917 * manual/setjmp.texi: Fix typos/grammar errors.
5918
0b7c7473
MF
5919 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5920 Only return early when n is <= 0. Delete unused return statement.
5921
ac8cc9e3
MF
5922 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5923 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5924 * debug/tst-longjmp_chk3.c: New file.
5925
c5bb8e23
MF
5926 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5927 (test_main): Replace code with set_fortify_handler call.
5928 * debug/test-strcpy_chk.c: Likewise.
5929 * debug/tst-chk1.c: Likewise.
5930 * debug/tst-longjmp_chk.c: Likewise.
5931 * test-skeleton.c: Include fcntl.h & paths.h
5932 (set_fortify_handler): Define.
5933
10444e42
MF
5934 * debug/tst-longjmp_chk.c: Add header comment and include
5935 ../test-skeleton.c.
5936 (do_test): Mark static.
5937 (TEST_FUNCTION): Define.
5938
1e805e8d
MF
5939 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5940 (IP_PMTUDISC_INTERFACE): Likewise.
5941 (IP_MULTICAST_IF): Likewise.
5942 (IP_MULTICAST_TTL): Likewise.
5943 (IP_MULTICAST_LOOP): Likewise.
5944 (IP_ADD_MEMBERSHIP): Likewise.
5945 (IP_DROP_MEMBERSHIP): Likewise.
5946 (IP_UNBLOCK_SOURCE): Likewise.
5947 (IP_BLOCK_SOURCE): Likewise.
5948 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5949 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5950 (IP_MSFILTER): Likewise.
5951 (MCAST_JOIN_GROUP): Likewise.
5952 (MCAST_BLOCK_SOURCE): Likewise.
5953 (MCAST_UNBLOCK_SOURCE): Likewise.
5954 (MCAST_LEAVE_GROUP): Likewise.
5955 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5956 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5957 (MCAST_MSFILTER): Likewise.
5958 (IP_MULTICAST_ALL): Likewise.
5959 (IP_UNICAST_IF): Likewise.
5960
73f79bb7
MF
5961 * timezone/Makefile: Delete $(have-ksh) check.
5962 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5963 * timezone/tzselect.ksh: Add +x mode bits.
5964
8da79b60
MF
5965 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5966 (ANON_INODE_FS_MAGIC): Likewise.
5967 (BDEVFS_MAGIC): Likewise.
5968 (BINFMTFS_MAGIC): Likewise.
5969 (BTRFS_TEST_MAGIC): Likewise.
5970 (CRAMFS_MAGIC_WEND): Likewise.
5971 (DEBUGFS_MAGIC): Likewise.
5972 (ECRYPTFS_SUPER_MAGIC): Likewise.
5973 (EXT3_SUPER_MAGIC): Likewise.
5974 (EXT4_SUPER_MAGIC): Likewise.
5975 (FUTEXFS_SUPER_MAGIC): Likewise.
5976 (HOSTFS_SUPER_MAGIC): Likewise.
5977 (HUGETLBFS_MAGIC): Likewise.
5978 (MINIX3_SUPER_MAGIC): Likewise.
5979 (MTD_INODE_FS_MAGIC): Likewise.
5980 (NILFS_SUPER_MAGIC): Likewise.
5981 (OPENPROM_SUPER_MAGIC): Likewise.
5982 (PIPEFS_MAGIC): Likewise.
5983 (PSTOREFS_MAGIC): Likewise.
5984 (QNX6_SUPER_MAGIC): Likewise.
5985 (RAMFS_MAGIC): Likewise.
5986 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5987 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5988 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5989 (SECURITYFS_MAGIC): Likewise.
5990 (SELINUX_MAGIC): Likewise.
5991 (SMACK_MAGIC): Likewise.
5992 (SOCKFS_MAGIC): Likewise.
5993 (SQUASHFS_MAGIC): Likewise.
5994 (STACK_END_MAGIC): Likewise.
5995 (TMPFS_MAGIC): Likewise.
5996 (USBDEVICE_SUPER_MAGIC): Likewise.
5997 (V9FS_MAGIC): Likewise.
5998 (XENFS_SUPER_MAGIC): Likewise.
5999 (CRAMFS_MAGIC): Fix typo in comment.
6000 (EXT2_SUPER_MAGIC): Update comment.
6001 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6002
464263cc
JM
60032014-02-08 Joseph Myers <joseph@codesourcery.com>
6004
c6bfe5c4
JM
6005 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6006 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6007 * sysdeps/unix/sysv/linux/arm: Move directory from
6008 ports/sysdeps/unix/sysv/linux/arm.
6009 * README: Update listing for arm-*-linux-gnueabi.
6010
464263cc
JM
6011 * README: Remove mention of am33.
6012
32749f6c
RM
60132014-02-07 Roland McGrath <roland@hack.frob.com>
6014
6015 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6016 than the comma operator, to avoid "rhs of comma has no effect"
6017 compiler warnings.
6018 (__sigfillset, __sigandset, __sigorset): Likewise.
6019 * include/signal.h (__sigemptyset): Likewise.
6020 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6021
d5b396c1
AM
60222014-02-07 Allan McRae <allan@archlinux.org>
6023
6024 * version.h (RELEASE): Set to "development".
6025 (VERSION): Set to "2.19.90"
6026 * NEWS: Add 2.20 section.
6027
3bfff2ed
CD
60282014-02-06 Carlos O'Donell <carlos@redhat.com>
6029
6030 [BZ #16529]
6031 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6032
ee7cc385
SP
60332014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6034
6035 * manual/contrib.texi: Update entry for Carlos O'Donell,
6036 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6037
f877c4f2
CD
60382014-02-05 Carlos O'Donell <carlos@rehdat.com>
6039
27e839f6
CD
6040 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6041
f877c4f2
CD
6042 * sysdeps/unix/sysv/linux/kernel-features.h
6043 [__LINUX_KERNEL_VERSION >= 0x020621]
6044 (__ASSUME_PROC_PID_TASK_COMM): Define.
6045
68159946
SP
60462014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6047
ba17cdbd
SP
6048 [BZ #16398]
6049 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6050 conversion when destination buffer does not have enough space.
6051 * libio/tst-ftell-partial-wide.c: New test case.
6052 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6053
68159946
SP
6054 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6055 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6056 Leonard and Allan McRae.
6057
2b528732
DM
60582014-02-04 David S. Miller <davem@davemloft.net>
6059
6060 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6061 32-bit.
6062
0ff82463
AZ
60632014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6064
57f41c40
AS
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6066 New file
c01603f7
AZ
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6068 New file
57f41c40
AS
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6072 New file.
c01603f7
AZ
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6074 New file.
57f41c40
AS
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6076 New file.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6078 New file.
c01603f7
AZ
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6080 New file.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6082 New file.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6084 New file.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6086 New file.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6088 New file.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6090 New file.
6091
60922014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
0ff82463
AZ
6094 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6095 * shlib-versions: Likewise.
6096
1695c773
AZ
60972014-02-04 Roland McGrath <roland@hack.frob.com>
6098 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6101 (abilist-pattern): New variable, set to %-le.abilist.
6102
6103 * Makerules (abilist-pattern): New variable.
6104 (vpath): Use $(abilist-pattern) in place of %.abilist.
6105 (check-abi-% pattern rule): Likewise.
6106 (check-abi, update-abi): Likewise.
6107
6c0ce4b4
EW
61082014-02-04 Eric Wong <normalperson@yhbt.net>
6109
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6111
481e3524
CD
61122014-02-03 Carlos O'Donell <carlos@redhat.com>
6113
6114 * manual/startup.texi: Add next, previous, and top entries for
6115 the `Program Arguments' and `Environment Variables' nodes.
6116
375592d3
AO
61172014-02-03 Alexandre Oliva <aoliva@redhat.com>
6118
6119 * manual/macros.texi: Add comments before MTASC-safety macros.
6120
f54838ba
AO
6121 * manual/users.texi: Document MTASC-safety properties.
6122
57f41c40
AS
6123 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6124 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6125 @deftypefun, and add @safety note.
6126 * manual/signal.texi: Move comments that analyze the above
6127 functions to their home place.
6128
fd3daba4
AM
61292014-02-03 Allan McRae <allan@archlinux.org>
6130
6131 * po/sl.po: Update Slovenian translation from translation project.
6132
597636d7
AO
61332014-02-02 Alexandre Oliva <aoliva@redhat.com>
6134
6135 * manual/time.texi (timegm): Add missing blank after @c.
6136 Reported by Joseph Myers <joseph@codesourcery.com>.
6137
ee196e3c
AO
61382014-02-01 Alexandre Oliva <aoliva@redhat.com>
6139
6140 * manual/check-safety.sh: New.
6141 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6142
f8d529d5
AO
6143 * manual/terminal.texi: Document MTASC-safety properties.
6144
de55fdf4
AO
6145 * manual/filesys.texi: Document MTASC-safety properties.
6146
c3299c08
AO
6147 * manual/errno.texi: Document MTASC-safety properties.
6148
06e90b14
AO
6149 * manual/intro.texi: Document safety identifiers and
6150 conditionals.
6151
1acd4371
AO
6152 * manual/string.texi (wcstok): Fix prototype.
6153 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6154
23e5b8cb
AO
6155 * manual/time.texi: Document MTASC-safety properties.
6156
11087373
AO
6157 * manual/string.texi: Document MTASC-safety properties.
6158
5da2c93d
AO
6159 * manual/threads.texi: Document MTASC-safety properties.
6160
171e9210
AO
6161 * manual/stdio.texi: Document MTASC-safety properties.
6162
d9e02532
AO
6163 * manual/syslog.texi: Document MTASC-safety properties.
6164
6af8bab7
AO
6165 * manual/sysinfo.texi: Document MTASC-safety properties.
6166
663b02d7
AO
6167 * manual/startup.texi: Document MTASC-safety properties.
6168
973f180b
AO
6169 * manual/socket.texi: Document MTASC-safety properties.
6170
8f3c25c8
AO
6171 * manual/signal.texi: Document MTASC-safety properties.
6172
542210fb
AO
61732014-01-31 Alexandre Oliva <aoliva@redhat.com>
6174
6175 * manual/setjmp.texi: Document MTASC-safety properties.
6176
433c45a2
AO
6177 * manual/search.texi: Document MTASC-safety properties.
6178
c8ce789c
AO
6179 * manual/resource.texi: Document MTASC-safety properties.
6180
19f5d29c
AO
6181 * manual/process.texi: Document MTASC-safety properties.
6182
e2dfb7f4
AO
6183 * manual/platform.texi: Document MTASC-safety properties.
6184
8c1413f5
AO
6185 * manual/pipe.texi: Document MTASC-safety properties.
6186
03483ada
AO
6187 * manual/pattern.texi: Document MTASC-safety properties.
6188
29e7e2df
AO
6189 * manual/message.texi: Document MTASC-safety properties.
6190
9f529d7c
AO
6191 [BZ #12751]
6192 * manual/memory.texi: Document MTASC-safety properties.
6193
27aaa791
AO
6194 * manual/math.texi: Document MTASC-safety properties.
6195
f2d58726
AO
6196 * manual/locale.texi: Document MTASC-safety properties.
6197
2cc3615c
AO
6198 * manual/llio.texi: Document MTASC-safety properties.
6199
d9f0ec97
AO
6200 * manual/libdl.texi: New.
6201
e7c4409a
AO
6202 * manual/lang.texi: Document MTASC-safety properties.
6203
27bdc63c
AO
6204 * manual/job.texi: Document MTASC-safety properties.
6205
a7b90ea9
AO
6206 * manual/getopt.texi: Document MTASC-safety properties.
6207
c49130e3
AO
6208 * manual/ctype.texi: Document MTASC-safety properties.
6209
0d23a5c1
MR
62102014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6211
6212 [BZ #16046]
6213 * csu/libc-tls.c (static_map): Remove variable.
6214 (__libc_setup_tls): Use main executable's link map for TLS data.
6215 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6216 casing for LM_ID_BASE and GL(dl_nns).
6217 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6218 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6219 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6220 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6221 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6222 member.
6223 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6224 l_phnum members.
6225
0037bb60
AO
62262014-01-30 Alexandre Oliva <aoliva@redhat.com>
6227
6228 * manual/debug.texi: Document MTASC-safety properties.
6229
409e00bd
L
62302014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6231
6232 [BZ #16510]
6233 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6234 of __x86_64__ when disabling x87 inline functions.
6235
86e60666
AO
62362014-01-29 Alexandre Oliva <aoliva@redhat.com>
6237
6238 * manual/charset.texi: Document MTASC-safety properties.
6239
76167637
AO
6240 * manual/crypt.texi: Document MTASC-safety properties.
6241
e567f2a0
AO
6242 * manual/conf.texi: Document MTASC-safety properties.
6243
b719dafd
AO
6244 * manual/arith.texi: Document MTASC-safety properties.
6245
4a16c662
AO
6246 * manual/argp.texi: Document MTASC-safety properties.
6247
0a57b83e
AO
6248 * manual/macros.texi: Introduce macros to document multi
6249 thread, asynchronous signal and asynchronous cancellation
6250 safety properties.
6251 * manual/intro.texi: Introduce the properties themselves.
6252
feab2397
KK
62532014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6254
6255 * sysdeps/sh/sh4/Makefile: New file.
6256
1c0d11bc
AS
62572014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6258
6259 * math/gen-libm-test.pl ($srcdir): New variable.
6260 ($auto_input): Use it.
6261
af37a8a3
SP
62622014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6263
d7b00f98
SP
6264 [BZ #16506]
6265 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6266 access beyond array bounds when parsing netgroups file.
6267
af37a8a3
SP
6268 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6269 the old buffer before realloc.
6270
0c00f062
AM
62712014-01-27 Allan McRae <allan@archlinux.org>
6272
6273 * po/fr.po: Update French translation from translation project.
6274
7d69a1b0
KK
62752014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6276
6277 * sysdeps/sh/libm-test-ulps: Regenerate.
6278
6e697ff7
DM
62792014-01-24 David S. Miller <davem@davemloft.net>
6280
6281 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6282
9cadb35c
KK
62832014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6284
6285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6286 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6287
5d41dadf
SP
62882013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6289
6290 [BZ #16474]
6291 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6292 string pointers after reallocation.
6293
0bad441c
KK
62942014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6295
6296 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6297 __SH4A__ instead of __SH_FPU_ANY__.
6298
7007c661
KK
62992014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6300
6301 * sysdeps/sh/fpu_control.h: New file.
6302 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6303 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6304 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6305 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6306 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6307 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6308 * sysdeps/sh/sys/ucontext.h: Remove.
6309 * sysdeps/sh/sys: Remove directory.
6310
0f0c35e4
AK
63112014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6312
6313 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6314 s390/sys/ucontext.h.
6315 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6317
4959e284
L
63182014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6319
6320 [BZ #15605]
6321 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6322
d98720e0
AZ
63232014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324
6325 [BZ#16431]
6326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6327 Adjust the vDSO correctly for internal calls.
6328 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6329
91cbd0bc
AM
63302014-01-20 Allan McRae <allan@archlinux.org>
6331
6332 * po/ca.po: Update Catalan translation from translation project.
6333
7a02cfad
MF
63342014-01-16 Mike Frysinger <vapier@gentoo.org>
6335
6336 * sysdeps/s390/sotruss-lib.c: New file.
6337
736c304a
AZ
63382014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 [BZ#16430]
6e077ee5 6341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6342 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6343 local calls issues by not having a PLT stub required for IFUNC calls.
6344 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6345
94d0cea0
JM
63462014-01-16 Joseph Myers <joseph@codesourcery.com>
6347
6348 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6349 * math/test-fpucw-static.c: Likewise.
6350
980cb518
SP
63512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6352
6353 [BZ #16453]
6354 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6355
2393fc01
AZ
63562014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6359 implementation for powerpc.
6360
d359bcc2
OB
63612014-01-15 Ondřej Bílka <neleai@seznam.cz>
6362
6363 [BZ #14782]
6364 * sysdeps/posix/system.c (__libc_system): Do not enable
6365 asynchronous cancellation.
6366
7beb48cb
AK
63672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6368
6369 [BZ #16427]
6370 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6371 handling only for numbers special also in the IEEE case.
6372
c20d5bf5
AK
63732014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6374
6375 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6376
e83bd4ee
AM
63772014-01-11 Allan McRae <allan@archlinux.org>
6378
76d0ea69
AM
6379 * po/bg.po: Update Bulgarian translation from translation project.
6380
e83bd4ee
AM
6381 * po/de.po: Update German translation from translation project.
6382
bc2ba20a
RM
63832014-01-10 Roland McGrath <roland@hack.frob.com>
6384
6385 * sysdeps/generic/gcc-compat.h: New file.
6386
649ecea2
SP
63872014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6388
6389 * benchtests/asin-inputs: Correct slow inputs.
6390 * benchtests/acos-inputs: Likewise.
6391
1b19c006
AM
63922014-01-10 Allan McRae <allan@archlinux.org>
6393
a46dab08
AM
6394 * po:sv.po: Update Swedish translation from translation project.
6395
421df74a
AM
6396 * po/vi.po: Update Vietnamese translation from translation project.
6397
d61c51a7
AM
6398 * po/eo.po: Update Esperanto translation from translation project.
6399
0339a319
AM
6400 * po/cs.po: Update Czech translation from translation project.
6401
94ad3e99
AM
6402 * po/nl.po: Update Dutch translation from translation project.
6403
e349ca71
AM
6404 * po/pl.po: Update Polish translation from translation project.
6405
ddf930c1
AM
6406 * po/ru.po: Update Russian translation from translation project.
6407
1b19c006
AM
6408 * po/uk.po: Update Ukrainian translation from translation project.
6409
9f236c49
BM
64102014-01-08 Brooks Moses <bmoses@google.com>
6411
6412 * elf/dl-load.c: Fix comment typo.
6413
cd6701cf
CD
64142014-01-08 Carlos O'Donell <carlos@redhat.com>
6415
6416 * po/header.pot: Rename to...
6417 * po/pot.header: ... this.
6418 * po/Makefile: Use pot.header.
6419
66671c84
YK
64202014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6421 Maxim Kuvyrkov <maxim@kugelworks.com>
6422
6423 [BZ #16394]
cd6701cf
CD
6424 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6425 SRC and DEST against LEN.
66671c84 6426
38f34581
AZ
64272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6428
6429 [BZ #16414]
6430 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6431 implementation.
6432 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6433
64342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6435
6436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6437
4c327f2a
JM
64382014-01-08 Joseph Myers <joseph@codesourcery.com>
6439
6440 [BZ #16408]
6441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6442 for large positive arguments.
6443
b821f414
JM
64442014-01-07 Joseph Myers <joseph@codesourcery.com>
6445
1f0f2067
JM
6446 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6447
a5a326f6
JM
6448 * math/auto-libm-test-in: Mark various tests with
6449 xfail-rounding:ldbl-128ibm.
6450 * math/auto-libm-test-out: Regenerated.
6451
b821f414
JM
6452 [BZ #16407]
6453 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6454 Increase overflow threshold.
6455
94c8a4bc
OB
64562014-01-07 Ondřej Bílka <neleai@seznam.cz>
6457
6458 [BZ #14286]
6459 * stdio-common/vfprintf.c: Check for integer overflow.
6460
87ded0c3
AK
64612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6462
6463 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6464 the first argument and return value of __tls_get_addr_internal.
6465
c5eebdd0
AK
64662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6467
6468 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6469 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6470
05d138ef
AK
64712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6472
6473 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6474 * sysdeps/s390/rtld-global-offsets.sym: New file.
6475 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6476 GLIBC_2.19 symbol.
6477 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6480 ... this.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6482 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6483 ... this.
6484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6485 Regenerate.
6486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6487 Regenerate.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6489 halfs of GPRs for high_gprs contexts.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6491 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6492 field.
6493 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6494 uc_flags field.
6495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6496 64 bit versions:
6497 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6498 for high GPRs (uc_high_gprs) and for future extensions
6499 (__reserved).
6500 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6501 for future extensions (__reserved).
6502 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6503 64 bit versions:
6504 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6505 SC_HIGHGPRS offset definition.
6506 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6507 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6508
93a45ff1
AK
6509 * Versions.def: Add GLIBC_2.19 for libpthread.
6510 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6511 siglongjmp for libpthread with GLIBC_2.19 symver.
6512 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6513 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6514 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6515 * sysdeps/s390/__longjmp.c: New file.
6516 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6517 * sysdeps/s390/longjmp.c: New file.
6518 * sysdeps/s390/setjmp.S: New file.
6519 * sysdeps/s390/sigjmp.S: New file.
6520 * sysdeps/s390/v1-longjmp.c: New file.
6521 * sysdeps/s390/v1-setjmp.h: New file.
6522 * sysdeps/s390/v1-sigjmp.c: New file.
6523 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6524 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6525 GLIBC_2.19 version.
6526 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6527 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6528 versioned symbols for ____longjmp_chk.
6529 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6530 Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6532 Regenerate.
6533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6534 Regenerate.
6535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6536 Regenerate.
6537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6538 Regenerate.
6539 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6540 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6541 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6542 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6543 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6544 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6545 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6546 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6547 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6548 * sysdeps/s390/rtld-__longjmp.c: New file.
6549 * sysdeps/s390/rtld-setjmp.S: New file.
6550
eb3fc44b
JM
65512014-01-06 Joseph Myers <joseph@codesourcery.com>
6552
6553 [BZ #16400]
6554 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6555 Return -__logl (x) for small positive arguments without evaluating
6556 a polynomial.
6557
9341dde4
MF
65582014-01-06 Mike Frysinger <vapier@gentoo.org>
6559
6560 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6561 Rename to ...
6562 (__ptrace_peeksiginfo_args): ... this.
6563 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6566
4cff0293
AM
65672014-01-06 Allan McRae <allan@archlinux.org>
6568
6569 * inet/netinet/in.h: Fix typo in comment.
6570
75595dcf
AJ
65712014-01-05 Andreas Jaeger <aj@suse.de>
6572
6573 * sysdeps/i386/fpu/libm-test-ulps: Update.
6574
79c1e109
AM
65752014-01-05 Allan McRae <allan@archlinux.org>
6576
dd804818
AM
6577 * po/libc.pot: Regenerated.
6578
79c1e109
AM
6579 * malloc/memusagestat.c: Fix gettext call formatting.
6580
0c813d1f
SK
65812014-01-04 Sami Kerola <kerolasa@iki.fi>
6582
6583 * nscd/nscd.c: Improve usage() output.
6584
20f4a8d9
MF
65852014-01-04 Mike Frysinger <vapier@gentoo.org>
6586
6587 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6588 * sysdeps/unix/sysv/linux/configure: Regenerated.
6589 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6590 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6591
22562bb2
JM
65922014-01-03 Joseph Myers <joseph@codesourcery.com>
6593
6594 [BZ #16390]
6595 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6596 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6597
d7ad2d9b
AZ
65982014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599
6600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6601 extra tokens at end of #undef directive.
6602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6604 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6605
7dd009d8
JM
66062014-01-03 Joseph Myers <joseph@codesourcery.com>
6607
24db925a
JM
6608 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6609
7dd009d8
JM
6610 * math/auto-libm-test-in: Mark various tests with
6611 xfail-rounding:ldbl-128ibm.
6612 * math/auto-libm-test-out: Regenerated.
6613
396e3ecf
JM
66142014-01-02 Joseph Myers <joseph@codesourcery.com>
6615
819e5d50
JM
6616 [BZ #16386]
6617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6618 numbers with subnormal high part when calculating exponent.
6619
90b6a1e5
JM
6620 [BZ #16385]
6621 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6622 fabs.
6623
396e3ecf
JM
6624 [BZ #16384]
6625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6626 M_LN2l.
6627 (__ieee754_acoshl): Use __log1pl not __log1p.
6628
6c8dbf00
OB
66292013-01-02 Ondřej Bílka <neleai@seznam.cz>
6630
57f41c40
AS
6631 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6632 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6633 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6634 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6635 (reused_arena, arena_get2): Convert to GNU style.
6636 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6637 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6638 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6639 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6640 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6641 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6642 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6643 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6644 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6645 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6646 * malloc/malloc.h: Likewise.
57f41c40
AS
6647 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6648 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6649 * malloc/mcheck.h: Likewise.
57f41c40
AS
6650 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6651 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6652 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6653 * malloc/morecore.c (__default_morecore): Likewise.
6654 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6655 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6656 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6657 (print_and_abort): Likewise.
6c8dbf00
OB
6658 * malloc/obstack.h: Likewise.
6659 * malloc/set-freeres.c (__libc_freeres): Likewise.
6660 * malloc/tst-mallocstate.c (main): Likewise.
6661 * malloc/tst-mtrace.c (main): Likewise.
6662 * malloc/tst-realloc.c (do_test): Likewise.
6663
d4124212
SP
66642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6665
9a3c6a6f
SP
6666 [BZ #16366]
6667 * nscd/netgroupcache.c (do_notfound): New function.
6668 (addgetnetgrentX): Use it.
6669
d4124212
SP
6670 [BZ # 16365]
6671 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6672 NSS_STATUS_NOTFOUND.
6673
97b9a009
JM
66742014-01-01 Joseph Myers <joseph@codesourcery.com>
6675
6676 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6678
d4697bc9
AM
66792014-01-01 Allan McRae <allan@archlinux.org>
6680
ddb3687f
AM
6681 * scripts/update-copyrights: Update configure input file suffix.
6682
88726d48
AM
6683 * NEWS: Update copyright year.
6684 * catgets/gencat.c: Likewise.
6685 * csu/version.c: Likewise.
6686 * debug/catchsegv.sh: Likewise.
6687 * debug/pcprofiledump.c: Likewise.
6688 * debug/xtrace.sh: Likewise.
6689 * elf/ldconfig.c: Likewise.
6690 * elf/ldd.bash.in: Likewise.
6691 * elf/pldd.c: Likewise.
6692 * elf/sotruss.ksh: Likewise.
6693 * elf/sprof.c: Likewise.
6694 * iconv/iconv_prog.c: Likewise.
6695 * iconv/iconvconfig.c: Likewise.
6696 * locale/programs/locale.c: Likewise.
6697 * locale/programs/localedef.c: Likewise.
6698 * login/programs/pt_chown.c: Likewise.
6699 * malloc/memusage.sh: Likewise.
6700 * malloc/memusagestat.c: Likewise.
6701 * malloc/mtrace.pl: Likewise.
6702 * manual/libc.texinfo: Likewise.
6703 * nscd/nscd.c: Likewise.
6704 * nss/getent.c: Likewise.
6705 * nss/makedb.c: Likewise.
6706 * posix/getconf.c: Likewise.
6707 * scripts/test-installation.pl: Likewise.
6708
d4697bc9
AM
6709 * All files with FSF copyright notices: Update copyright dates
6710 using scripts/update-copyrights.
6711 * intl/plural.c: Regenerated.
6712 * locale/programs/charmap-kw.h: Likewise.
6713 * locale/programs/locfile-kw.h: Likewise.
6714
c8590f9d
MF
67152013-12-31 Mike Frysinger <vapier@gentoo.org>
6716
6717 * sysdeps/unix/sysv/linux/configure: Regenerated.
6718 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6719 the linux/fanotify.h header.
6720 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6721 HAVE_LINUX_FANOTIFY_H is defined.
6722
b19221b9
SP
67232013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6724
dd1d85e5
SP
6725 * benchtests/cos-inputs: New inputs.
6726 * benchtests/sin-inputs: Likewise.
6727
1acbb90f
SP
6728 * benchtests/atan-inputs: New inputs. Fix name of multiple
6729 precision fallback inputs.
6730
4c012ed3
SP
6731 * benchtests/atanh-inputs: New inputs.
6732 * benchtests/tanh-inputs: Likewise.
6733
eff98324
SP
6734 * benchtests/acosh-inputs: New inputs.
6735 * benchtests/asinh-inputs: Likewise.
6736
ce641152
SP
6737 * benchtests/cosh-inputs: New inputs.
6738 * benchtests/sinh-inputs: Likewise.
6739
b19221b9
SP
6740 * benchtests/acos-inputs: Add more inputs.
6741 * benchtests/asin-inputs: Likewise.
6742
030a4976 67432013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6744
030a4976 6745 [BZ #16375]
9dcc8f11
VS
6746 * manual/arith.texi: Fix spelling.
6747 * manual/charset.texi: Likewise.
6748 * manual/errno.texi: Likewise.
6749 * manual/filesys.texi: Likewise.
6750 * manual/lang.texi: Likewise.
6751 * manual/llio.texi: Likewise.
6752 * manual/locale.texi: Likewise.
6753 * manual/message.texi: Likewise.
6754 * manual/resource.texi: Likewise.
6755 * manual/search.texi: Likewise.
6756 * manual/setjmp.texi: Likewise.
6757 * manual/stdio.texi: Likewise.
6758 * manual/string.texi: Likewise.
6759 * manual/sysinfo.texi: Likewise.
6760 * manual/time.texi: Likewise.
6761
11520a57
CD
67622013-12-27 Carlos O'Donell <carlos@redhat.com>
6763
6764 * po/sl.po: New file.
6765
471103ae
MF
67662013-12-27 Mike Frysinger <vapier@gentoo.org>
6767
6768 * .gitignore: Add core/.gdbinit/.gdb_history.
6769
6c9642ed
AM
67702013-12-27 Allan McRae <allan@archlinux.org>
6771
6772 [BZ #16369]
6773 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6774 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6775
3f637079
BM
67762013-12-24 Brooks Moses <bmoses@google.com>
6777
6778 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6779 all compilers that claim C++98 compliance, not just GCC.
6780 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6781 Likewise.
6782
abc26e99
MK
67832013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6784
6785 * NEWS: Restore accidentally deleted bug-fix entries.
6786
362b47fe
MK
67872013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6788 Ondřej Bílka <neleai@seznam.cz>
6789
6790 [BZ #15073]
6791 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6792 have_lock.
362b47fe 6793
b9bcbbcb
OB
67942013-12-23 Ondřej Bílka <neleai@seznam.cz>
6795
6796 [BZ #12986]
6797 * manual/stdio.texi (String Input Conversions): Clarify that character
6798 classes are not supported.
6799
fb55fcd2
AZ
68002013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6801
6802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6803
ef7344f0
JM
68042013-12-22 Joseph Myers <joseph@codesourcery.com>
6805
4f40e4b3
JM
6806 [BZ #16337]
6807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6808 Calculate results for small negative arguments directly rather
6809 than using reflection formula with special underflow handling.
6810
ef7344f0
JM
6811 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6812 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6813 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6814 (fchflags): Likewise.
6815 (revoke): Likewise.
6816 (setlogin): Likewise.
6817 (sigaltstack): Likewise.
6818 (wait4): Likewise.
6819 (sigblock): Remove.
6820 (sigsetmask): Likewise.
6821 (wait3): Likewise.
6822 (waitpid): Likewise.
6823 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6824 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6825 file.
6826 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6827 * sysdeps/unix/bsd/Makefile: ... here.
6828 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6829 * sysdeps/unix/bsd/Versions: ... here.
6830 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6831 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6832 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6833 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6834 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6835 * sysdeps/unix/bsd/sigblock.c: ... here.
6836 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6837 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6838 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6839 * sysdeps/unix/bsd/sigvec.c: ... here.
6840 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6841 * sysdeps/unix/bsd/tcdrain.c: ... here.
6842 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6843 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6844 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6845 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6846 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6847 * sysdeps/unix/bsd/wait.c: ... here.
6848 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6849 * sysdeps/unix/bsd/wait3.c: ... here.
6850 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6851 * sysdeps/unix/bsd/waitpid.c: ... here.
6852
5b0626b9
JM
68532013-12-21 Joseph Myers <joseph@codesourcery.com>
6854
6855 [BZ #16356]
6856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6857 round-to-nearest for [!USE_AS_EXPM1L].
6858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6859 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6860 more tests of exp and exp10. Expect some exp10 tests to miss
6861 exceptions or fail in directed rounding modes.
6862 * math/auto-libm-test-out: Regenerated.
6863 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6864 (exp10_test_tonearest): New function.
6865 (exp10_towardzero_test_data): New array.
6866 (exp10_test_towardzero): New function.
6867 (exp10_downward_test_data): New array.
6868 (exp10_test_downward): New function.
6869 (exp10_upward_test_data): New array.
6870 (exp10_test_upward): New function.
6871 (main): Call the new functions.
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6874
7fda5682
JM
68752013-12-20 Joseph Myers <joseph@codesourcery.com>
6876
31e3a405
JM
6877 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6878 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6879 * math/auto-libm-test-out: Regenerated.
6880 * math/libm-test.inc (acosh_test_data): Add more tests.
6881 (atanh_test_data): Likewise.
6882 (ceil_test_data): Likewise.
6883 (copysign_test_data): Likewise.
6884 * sysdeps/i386/fpu/libm-test-ulps: Update.
6885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6886
85bff96a
JM
6887 * timezone/checktab.awk: Update from tzcode 2013i.
6888 * timezone/private.h: Likewise.
6889 * timezone/scheck.c: Likewise.
6890 * timezone/tzfile.h: Likewise.
6891 * timezone/tzselect.ksh: Likewise.
6892 * timezone/zdump.c: Likewise.
6893 * timezone/zic.c: Likewise.
6894
b7867a3b
JM
6895 * math/auto-libm-test-in: Add tests of cpow.
6896 * math/auto-libm-test-out: Regenerated.
6897 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6899 mpc_cc_c.
6900 (func_calc_desc): Add mpc_cc_c union field.
6901 (test_functions): Add cpow.
6902 (special_fill_2pi): New function.
6903 (special_real_inputs): Add 2pi.
6904 (calc_generic_results): Handle mpc_cc_c.
6905 * sysdeps/i386/fpu/libm-test-ulps: Update.
6906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907
7fda5682
JM
6908 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6909 csqrt, ctan and ctanh.
6910 * math/auto-libm-test-out: Regenerated.
6911 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6912 (TEST_COND_x86): Likewise.
6913 (ccos_test_data): Use AUTO_TESTS_c_c.
6914 (ccosh_test_data): Likewise.
6915 (cexp_test_data): Likewise.
6916 (clog_test_data): Likewise.
6917 (csqrt_test_data): Likewise.
6918 (ctan_test_data): Likewise.
6919 (ctan_tonearest_test_data): Likewise.
6920 (ctan_towardzero_test_data): Likewise.
6921 (ctan_downward_test_data): Likewise.
6922 (ctan_upward_test_data): Likewise.
6923 (ctanh_test_data): Likewise.
6924 (ctanh_tonearest_test_data): Likewise.
6925 (ctanh_towardzero_test_data): Likewise.
6926 (ctanh_downward_test_data): Likewise.
6927 (ctanh_upward_test_data): Likewise.
6928 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6929 mpc_c_c.
6930 (func_calc_desc): Add mpc_c_c union field.
6931 (FUNC_mpc_c_c): New macro.
6932 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6933 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6934 ctanh.
6935 (special_fill_min_subnorm_p120): New function.
6936 (special_real_inputs): Add min_subnorm_p120.
6937 (calc_generic_results): Handle mpc_c_c.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6940
5ff8d60e
SP
69412013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
57f41c40
AS
6943 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6944 (do_sin_slow): New functions.
6945 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6946 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6947
84ba214c
SP
6948 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6949 Use M to change sign of result instead of X. Assume X is
6950 positive.
6951 (csloww1): Likewise.
6952 (__sin): Adjust.
6953 (__cos): Adjust.
6954
975195e4
SP
6955 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6956 arguments A and DA.
6957 (__sin): Adjust.
6958 (__cos): Likewise.
6959
5ff8d60e
SP
6960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6961 (__cos): Likewise.
6962 (sloww1): Don't adjust sign of DX.
6963 (csloww1): Likewise.
6964 (sloww2): Use X directly and don't adjust sign of DX.
6965 (csloww2): Likewise.
6966
eb983568
JM
69672013-12-19 Joseph Myers <joseph@codesourcery.com>
6968
64a17f1a
JM
6969 * math/auto-libm-test-in: Add tests of cabs and carg.
6970 * math/auto-libm-test-out: Regenerated.
6971 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6972 (carg_test_data): Likewise.
6973 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6974 mpc_c_f.
6975 (func_calc_desc): Add mpc_c_f union field.
6976 (test_functions): Add cabs and carg.
6977 (calc_generic_results): Handle mpc_c_f.
6978
eb983568
JM
6979 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6980 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6981 as a macro and a compat symbol.
6982 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6983 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6984 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6985 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6986 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6987 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6988 not use .hidden.
6989 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6990 Likewise.
6991 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6992 Likewise.
6993 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6994 Likewise.
6995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6996 Likewise.
6997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6998 Likewise.
6999 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7000 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7001 from GLIBC_2.3.2.
7002
6eeb678a
AZ
70032013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004
7005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7006
6f6fc482
JM
70072013-12-19 Joseph Myers <joseph@codesourcery.com>
7008
21fea2e2
JM
7009 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7010 trailing whitespace removed.
7011 * scripts/config.guess: Update to version 2013-11-29.
7012 * scripts/config.sub: Update to version 2013-10-01.
7013
6f6fc482
JM
7014 * math/auto-libm-test-in: Add tests of sincos.
7015 * math/auto-libm-test-out: Regenerated.
7016 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7018 mpfr_f_11.
7019 (func_calc_desc): Add mpfr_f_11 union field.
7020 (test_functions): Add sincos.
7021 (calc_generic_results): Handle mpfr_f_11.
7022 * sysdeps/i386/fpu/libm-test-ulps: Update.
7023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024
83f5c32d
AS
70252013-12-19 Andreas Schwab <schwab@suse.de>
7026
7027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7028 CALL_MCOUNT.
7029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7031 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7032
c688b419
JM
70332013-12-19 Joseph Myers <joseph@codesourcery.com>
7034
335ee092
JM
7035 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7038
f88acd39
JM
7039 [BZ #16293]
7040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7041 round-to-nearest mode when using frndint.
7042 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7043 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7044 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7045 Likewise.
7046 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7047 sinh test to fail.
7048 * math/auto-libm-test-out: Regenerated.
7049 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7050 (TEST_COND_x86): Likewise.
7051 (expm1_tonearest_test_data): New array.
7052 (expm1_test_tonearest): New function.
7053 (expm1_towardzero_test_data): New array.
7054 (expm1_test_towardzero): New function.
7055 (expm1_downward_test_data): New array.
7056 (expm1_test_downward): New function.
7057 (expm1_upward_test_data): New array.
7058 (expm1_test_upward): New function.
7059 (main): Run the new test functions.
7060 * sysdeps/i386/fpu/libm-test-ulps: Update.
7061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062
c688b419
JM
7063 * include/features.h: Update comment documenting feature test
7064 macros. Mention _DEFAULT_SOURCE in comment.
7065 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7066 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7067 _BSD_SOURCE and _SVID_SOURCE.
7068 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7069 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7070 !_SVID_SOURCE]: Likewise.
7071 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7072 (__USE_POSIX_IMPLICITLY): Define.
7073 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7074 (_POSIX_SOURCE): Undefine and redefine.
7075 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7076 (_POSIX_C_SOURCE): Likewise.
7077 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7078 (Feature Test Macros): Update documentation of default features.
7079
9f6e964c
RS
70802013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7081
7082 * benchtests/Makefile: Add bench-strtok.
7083 * benchtests/bench-strtok.c: New file: strtok benchtest.
7084
ee0a148a
AM
70852013-12-19 Allan McRae <allan@archlinux.org>
7086
7087 * manual/install.texi: Suppress menu for plain text output.
7088 * INSTALL: Regenerated.
7089
b9ab448f
BM
70902013-12-18 Brooks Moses <bmoses@google.com>
7091
7092 [BZ #15846]
7093 * misc/getauxval.c: Include errno.h.
7094 (__getauxval): Set errno to ENOENT if the requested type is not
7095 found.
7096 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7097 don't declare with __attribute_const__.
7098 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7099 * manual/startup.texi: Document that getauxval sets errno.
7100
23776487
JM
71012013-12-18 Joseph Myers <joseph@codesourcery.com>
7102
f889953b
JM
7103 * math/auto-libm-test-in: Add tests of jn and yn.
7104 * math/auto-libm-test-out: Regenerated.
7105 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7106 (yn_test_data): Likewise.
7107 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7108 mpfr_if_f.
7109 (func_calc_desc): Add mpfr_if_f union field.
7110 (FUNC_mpfr_if_f): New macro.
7111 (test_functions): Add jn and yn.
7112 (calc_generic_results): Assert type of second input for
7113 mpfr_ff_f. Handle mpfr_if_f.
7114 (output_for_one_input_case): Disable all checking for arguments
7115 fitting floating-point types in case of an integer argument.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
23776487
JM
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7120 Don't expect fegetround reference in libm.so.
7121
cb756c6d
MS
71222013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7123
7124 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7125 $(config-cflags-nofma).
7126
2dec468f
JM
71272013-12-18 Joseph Myers <joseph@codesourcery.com>
7128
5953eb3a
JM
7129 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7130 * math/auto-libm-test-out: Regenerated.
7131
2dec468f
JM
7132 [BZ #16338]
7133 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7134 to determine exponent and adjust argument to have exponent of -1.
7135 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7136 log2.
7137 * math/auto-libm-test-out: Regenerated.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140
4d84e6ad
OB
71412013-12-18 Ondřej Bílka <neleai@seznam.cz>
7142
7143 * manual/probes.texi: Remove cases when per-thread arenas are
7144 disabled.
7145
1818483b
AS
71462013-12-18 Andreas Schwab <schwab@suse.de>
7147
7148 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7149 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7150 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7151 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7152 * sysdeps/i386/i686/multiarch/Makefile: Update.
7153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7154
25de95bf
JM
71552013-12-17 Joseph Myers <joseph@codesourcery.com>
7156
7157 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7158 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7159
674762d9
PE
71602013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7161
ed27ed83 7162 [BZ #15968]
0748546f
PE
7163 Support TZ transition times < 00:00:00.
7164 This is needed for version-3 tz-format files; it supports time
7165 stamps past 2037 for America/Godthab (the only entry in the tz
7166 database for which this change is relevant).
7167 * manual/time.texi (TZ Variable): Document transition times
7168 from -167:59:59 through -00:00:01.
7169 * time/tzset.c (tz_rule): Time of day is now signed.
7170 (__tzset_parse_tz): Parse negative time of day.
7171
4480e934
PE
7172 Document TZ transition times >= 25:00:00.
7173 * manual/time.texi (TZ Variable): Document transition times from
7174 25:00:00 through 167:59:59. These are already supported, and this
7175 support will help with version-3 tz-format files.
7176
69947401
PE
7177 * manual/time.texi (TZ Variable): Modernize North America example
7178 to reflect current (i.e., 2007-and-later) daylight saving rules.
7179
674762d9
PE
7180 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7181
7011c262
JM
71822013-12-17 Joseph Myers <joseph@codesourcery.com>
7183
2fc6557e
JM
7184 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7185 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7188 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7189 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7190 * sysdeps/unix/bsd/clock.c: Likewise.
7191 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7192 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7193 * sysdeps/unix/bsd/init-posix.c: Likewise.
7194 * sysdeps/unix/bsd/poll.c: Likewise.
7195 * sysdeps/unix/bsd/ptsname.c: Likewise.
7196 * sysdeps/unix/bsd/seekdir.c: Likewise.
7197 * sysdeps/unix/bsd/setegid.c: Likewise.
7198 * sysdeps/unix/bsd/seteuid.c: Likewise.
7199 * sysdeps/unix/bsd/setgid.c: Likewise.
7200 * sysdeps/unix/bsd/setrgid.c: Likewise.
7201 * sysdeps/unix/bsd/setruid.c: Likewise.
7202 * sysdeps/unix/bsd/setsid.c: Likewise.
7203 * sysdeps/unix/bsd/setuid.c: Likewise.
7204 * sysdeps/unix/bsd/sigaction.c: Likewise.
7205 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7206 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7207 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7208 * sysdeps/unix/bsd/telldir.c: Likewise.
7209 * sysdeps/unix/bsd/times.c: Likewise.
7210 * sysdeps/unix/bsd/usleep.c: Likewise.
7211
029c7b25
JM
7212 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7213 ($(objpfx)libbsd-compat.a): Remove rule.
7214
7011c262
JM
7215 * include/features.h (__FAVOR_BSD): Do not define.
7216 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7217 features conflicting with POSIX.
7218 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7219 (_BSD_SOURCE): Remove description of not being a subset of other
7220 feature test macros.
7221 * manual/job.texi (getpgrp): Do not document BSD version.
7222 (getpgid): Do not document by reference to BSD getpgrp.
7223 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7224 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7225 * signal/signal.h [__FAVOR_BSD]: Likewise.
7226 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7227 instead of making contents conditional on [__FAVOR_BSD].
7228 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7229
affb6f78
AZ
72302013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231
7232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7233
c88769dd
JM
72342013-12-17 Joseph Myers <joseph@codesourcery.com>
7235
6432a540
JM
7236 [BZ #16314]
7237 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7238 values below 2**-450, not 2**-500.
7239 * math/auto-libm-test-in: Don't allow spurious underflow from
7240 hypot.
7241 * math/auto-libm-test-out: Regenerated.
7242
c88769dd
JM
7243 [BZ #16316]
7244 [BZ #16330]
7245 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7246 values of ha and hb and sort them after adjusting subnormal
7247 arguments.
7248 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7249 Likewise.
7250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7251 values of ea and eb and sort them after adjusting subnormal
7252 arguments.
7253 * math/auto-libm-test-in: Do not expect some hypot tests of
7254 subnormals to fail. Add more hypot tests.
7255 * math/auto-libm-test-out: Regenerated.
7256
29618f6b
KK
72572013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7258
7259 [BZ #13304]
7260 * sysdeps/sh/s_fma.c: New file.
7261 * sysdeps/sh/s_fmaf.c: New file.
7262 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7263 version.
7264 * sysdeps/sh/Implies: Add sh/soft-fp.
7265
eacfdfbf
RM
72662013-12-16 Roland McGrath <roland@hack.frob.com>
7267
7268 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7269 level of indirection to members `objname', `errstring', `malloced'.
7270 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7271 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7272 it as the __longjmp argument (just pass 1 instead).
7273 (_dl_catch_error): Initialize C with argument pointers and address of
7274 volatile local ERRCODE rather than copying values out of C at return.
7275
ff362e5b
JM
72762013-12-16 Joseph Myers <joseph@codesourcery.com>
7277
7278 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7279 * math/auto-libm-test-out: Regenerated.
7280 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7281 (hypot_test_data): Likewise.
7282 (pow_test_data): Likewise.
7283 (pow_tonearest_test_data): Likewise.
7284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7285 mpfr_ff_f.
7286 (func_calc_desc): Add mpfr_ff_f union field.
7287 (FUNC_mpfr_ff_f): New macro.
7288 (test_functions): Add atan2, hypot and pow.
7289 (special_fill_min): New function.
7290 (special_fill_minus_min): Likewise.
7291 (special_fill_min_subnorm): Likewise.
7292 (special_fill_minus_min_subnorm): Likewise.
7293 (special_real_inputs): Add min, -min, min_subnorm and
7294 -min_subnorm.
7295 (calc_generic_results): Handle mpfr_ff_f.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
5764c27f
WN
72992013-12-16 Will Newton <will.newton@linaro.org>
7300
7301 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7302 (Aligned Memory Blocks): Add documentation for aligned_alloc
7303 and suggest it as an alternative to posix_memalign.
7304 (Hooks for Malloc): Document __memalign_hook is also called
7305 for aligned_alloc. (Summary of Malloc): Add summary for
7306 aligned alloc. Document __memalign_hook is also called
7307 for aligned_alloc.
7308
0a096e44
WN
73092013-12-16 Will Newton <will.newton@linaro.org>
7310
7311 * manual/memory.texi (Malloc Examples): Clarify default
7312 alignment documentation. Suggest posix_memalign rather
7313 than memalign or valloc.
7314 (Aligned Memory Blocks): Remove suggestion to use memalign
7315 or valloc. Remove obsolete comment about BSD.
7316 Document memalign errno values and mark the function obsolete.
7317 Document posix_memalign returned error codes. Mark valloc
7318 as obsolete. (Hooks for Malloc): __memalign_hook is also
7319 called for posix_memalign and valloc.
7320 (Summary of Malloc): Add posix_memalign to function summary.
7321 __memalign_hook is also called for posix_memalign and valloc.
7322
8d561986
SP
73232013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7324
7325 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7326 TAYLOR_SIN.
7327 (__sin): Adjust.
7328 (__cos): Likewise.
7329 (sloww): Use mynumber union. Expand ternary operator into
7330 if-else statements.
7331 (cslow): use mynumber union.
7332
73616a74
AM
73332013-12-16 Allan McRae <allan@archlinux.org>
7334
9e8ac24b
AM
7335 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7336 * configure: Regenerated.
7337
6f8e37eb
AM
7338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7339
8894bad3
AM
7340 [BZ #14120]
7341 * configure.ac: Added --enable-maintainer-mode. Check for
7342 autoconf when enabled.
7343 * configure: Regenerated.
7344
73616a74
AM
7345 * nscd/nscd.service: New file.
7346 * nscd/nscd.tmpfiles: New file.
7347
584b18eb
OB
73482013-12-14 Ondřej Bílka <neleai@seznam.cz>
7349
7350 [BZ #12100]
7351 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7352 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7353 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7354 (strstr): Add __strstr_sse2_unaligned ifunc.
7355 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7356 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7357 (strcasestr): Remove __strcasestr_sse42 ifunc.
7358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7361
8a5c7897
KK
73622013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7363
7364 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7365 * sysdeps/sh/bits/fenv.h: ... here.
7366 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7367
fd712ef3
AZ
73682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369
7370 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7371
42fcb46c
AZ
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7373 hypotf multiarch implementations.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7377 multiarch hypot for PPC64.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7381 multiarch hypotf for PPC64.
7382
83efded4
AZ
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7384 modff multiarch implementations.
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7388 multiarch modf for PPC64.
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7392 multiarch modff for PPC64.
7393
43e246d2
AZ
7394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7395 and logl multiarch implementations.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7399 multiarch logb for PPC64.
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7403 multiarch logb for PPC64.
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7407 multiarch logb for PPC64.
7408
8fdad123
AZ
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7410 isinff multiarch implementation.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7412 file.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7415 multiarch isinf for PPC64.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7417 file.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7419 multiarch isinff for PPC64.
7420
1481d706
AZ
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7422 finitef multiarch implementation.
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7424 file.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7427 multiarch finite for PPC64.
7428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7429 file.
7430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7431 multiarch finitef for PPC64.
7432
5ccd5fc8
AZ
7433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7434 lrint multiarch implementation.
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7436 file.
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7439 multiarch llrint for PPC64.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7441 multiarch lrint for PPC64.
7442
2568f3fa
AZ
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7444 copysignf multiarch implementation.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7446 file.
7447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7448 file.
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7450 multiarch copysign for PPC64.
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7452 multiarch copysignf for PPC64.
7453
1cb341fd
AZ
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7455 multiarch implementation.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7457 file.
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7459 file.
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7461 file.
7462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7463 file.
7464 multiarch llround for PPC64.
7465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7466 multiarch trunc for PPC64.
7467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7468 multiarch truncf for PPC64.
7469
59a3e194
AZ
7470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7471 multiarch implementation.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7473 file.
7474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7475 file.
7476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7477 file.
7478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7479 file.
7480 multiarch llround for PPC64.
7481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7482 multiarch round for PPC64.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7484 multiarch roundf for PPC64.
7485
357fd3b4
AZ
7486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7487 multiarch implementation.
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7489 file.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7491 file.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7493 file.
7494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7495 file.
7496 multiarch llround for PPC64.
7497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7498 multiarch floor for PPC64.
7499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7500 multiarch floorf for PPC64.
7501
96770f12
AZ
7502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7503 multiarch implementation.
7504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7505 file.
7506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7507 file.
7508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7509 file.
7510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7511 file.
7512 multiarch llround for PPC64.
7513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7514 multiarch ceil for PPC64.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7516 multiarch ceilf for PPC64.
7517
c3627f6e
AZ
7518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7519 multiarch implementation.
7520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7521 file.
7522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7523 file.
7524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7525 file.
7526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7527 multiarch llround for PPC64.
7528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7529 multiarch lround for PPC64.
7530
b2284ad7
AZ
7531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7532 multiarch implementation.
7533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7536 file.
7537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7540 multiarch isnan for PPC64.
7541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7542 multiarch isnanf for PPC64.
7543
69bbc63d
AZ
7544 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7545 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7546 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7547 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7548 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7550
c24517c9
AZ
7551 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7552 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7555
a52374e8
AZ
7556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7557 multiarch implementations.
7558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7559 (__libc_ifunc_impl_list): Likewise.
7560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7562 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7563 multiarch stpcpy for PPC64.
7564
7f5ec113
AZ
7565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7566 multiarch implementations.
7567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7568 (__libc_ifunc_impl_list): Likewise.
7569 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7570 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7571 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7572 multiarch strcpy for PPC64.
7573
e28bcd42
AZ
7574 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7575 redefine function name.
7576 (_wordcopy_fwd_dest_aligned): Likewise.
7577 (_wordcopy_bwd_aligned): Likewise.
7578 (_wordcopy_bwd_dest_aligned): Likewise.
7579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7580 multiarch implementations.
7581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7582 (__libc_ifunc_impl_list): Likewise.
7583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7587 multiarch wcscpy for PPC64.
7588
92cacfce
AZ
7589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7590 multiarch implementations.
7591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7592 (__libc_ifunc_impl_list): Likewise.
7593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7594 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7597 multiarch wcscpy for PPC64.
7598
7b714620
AZ
7599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7600 multiarch implementations.
7601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7602 (__libc_ifunc_impl_list): Likewise.
7603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7604 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7607 multiarch wcsrchr for PPC64.
7608
16fd2ae3
AZ
7609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7610 multiarch implementations.
7611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7612 (__libc_ifunc_impl_list): Likewise.
7613 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7614 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7616 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7617 multiarch wcschr for PPC64.
7618
9ee2969b
AZ
7619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7620 multiarch implementations.
7621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7622 (__libc_ifunc_impl_list): Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7624 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7625 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7626 multiarch strchrnul for PPC64.
7627
372dc060
AZ
7628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7629 implementations.
7630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7631 (__libc_ifunc_impl_list): Likewise.
7632 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7633 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7634 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7635 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7636 strchr for PPC64.
7637
24c2c3b9
AZ
7638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7639 implementations.
7640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7641 (__libc_ifunc_impl_list): Likewise.
7642 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7646 strncmp for PPC64.
7647
1c92d9a0
AZ
7648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7649 multiarch implementations.
7650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7651 (__libc_ifunc_impl_list): Likewise.
7652 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7653 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7654 strncasecmp for PPC64.
7655 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7656 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7657 multiarch strncasecmp_l for PPC64.
7658
17de3ee3
AZ
7659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7660 multiarch implementations.
7661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7662 (__libc_ifunc_impl_list): Likewise.
7663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7664 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7665 multiarch strcasecmp for PPC64.
7666 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7667 file.
7668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7669 multiarch strcasecmp_l for PPC64.
7670
62982bf9
AZ
7671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7672 implementations.
7673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7674 (__libc_ifunc_impl_list): Likewise.
7675 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7676 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7677 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7678 strnlen for PPC64.
7679
a65f4904
AZ
7680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7681 implementations.
7682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7683 (__libc_ifunc_impl_list): Likewise.
7684 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7685 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7686 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7687 strlen for PPC64.
7688
1fd005ad
AZ
7689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7690 implementations.
7691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7692 (__libc_ifunc_impl_list): Likewise.
7693 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7694 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7695 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7696 rawmemrchr for PPC64.
7697
cd05ba91
AZ
7698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7699 implementation.
7700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7701 (__libc_ifunc_impl_list): Likewise.
7702 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7703 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7704 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7705 memrchr for PPC64.
7706
870f8676
AZ
7707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7708 implementation.
7709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7710 (__libc_ifunc_impl_list): Likewise.
7711 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7712 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7713 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7714 memchr for PPC64.
7715
f00be62b
AZ
7716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7717 implementation.
7718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7719 (__libc_ifunc_impl_list): Likewise.
7720 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7723 mempcpy for PPC64.
7724
8a29a3d0
AZ
7725 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7726 avoid cretion of __bzero symbol.
7727 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7728 Likewise.
7729 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7730 Likewise.
7731 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7732 Likewise.
7733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7734 multiarch implementations.
7735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7736 (__libc_ifunc_impl_list): Likewise.
7737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7738 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7739 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7740 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7741 bzero for PPC32.
7742 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7743 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7744 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7745 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7746 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7747 memset for PPC64.
7748 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7749
07253fcf
AZ
7750 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7752 implementations.
7753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7754 (__libc_ifunc_impl_list): Likewise.
7755 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7756 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7757 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7758 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7759 memcmp for PPC64.
7760
b5beafbc
AZ
7761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7762 multiarch for POWER/PPC64.
7763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7764 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7771 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7772 memcpy for PPC64.
7773
5e6a4d4b
AZ
7774 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7775 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7776 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7777 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7778 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7779 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7780 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7781 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7782 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7783 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7784 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7785 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7786 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7787 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7788 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7796
ddfab6dc
KK
77972013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7798
7799 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7800
19b5525e
SP
78012013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
7803 * benchtests/Makefile (bench): Add exp2 and log2.
7804 (LDLIBS-bench-exp2): Add -lm.
7805 (LDLIBS-bench-log2): Likewise.
7806 * benchtests/exp2-inputs: New inputs file.
7807 * benchtests/log2-inputs: New inputs file.
7808 * benchtests/log-inputs: Add new inputs.
7809 * benchtests/tan-inputs: Likewise.
7810
196f7f5d
SP
78112013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7812
7a74607f
SP
7813 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7814 definition...
57f41c40
AS
7815 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7816 (csloww2): ... from here.
7a74607f 7817
196f7f5d
SP
7818 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7819 instead of structures.
7820 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7821 (POLYNOMIAL): Likewise.
7822 (TAYLOR_SLOW): Likewise.
7823 (__sin): Likewise.
7824 (__cos): Likewise.
7825 (slow1): Likewise.
7826 (slow2): Likewise.
7827 (sloww): Likewise.
7828 (sloww1); Likewise.
7829 (sloww2): Likewise.
7830 (bsloww1): Likewise.
7831 (bsloww2): Likewise.
7832 (cslow2): Likewise.
7833 (csloww): Likewise.
7834 (csloww1): Likewise.
7835 (csloww2): Likewise.
7836
0dfa665c
OB
78372013-12-10 Ondřej Bílka <neleai@seznam.cz>
7838
7839 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7840 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7841 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7842 * malloc/hooks.c (realloc_check): Likewise.
7843
5782a80f
OB
7844 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7845 * malloc/arena.c: Remove PER_THREAD conditional.
7846 [!PER_THREAD]: Remove code.
7847 (ptmalloc_unlock_all2): Likewise.
7848 (ptmalloc_init): Likewise.
7849 (_int_new_arena): Likewise.
7850 (arena_get2): Likewise.
7851 * malloc/hooks.c (__malloc_get_state): Likewise.
7852 (__malloc_set_state): Likewise.
7853 * malloc/malloc.c: Likewise.
7854 (struct malloc_state): Likewise.
7855 (struct malloc_par): Likewise.
7856 (__libc_realloc): Likewise.
7857 (__libc_mallopt): Likewise.
7858
aeb95445
AZ
78592013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7860
7861 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7862
e8349efd
OB
78632013-12-09 Ondřej Bílka <neleai@seznam.cz>
7864
7865 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7866 macro to a function. Check for zero perturb_byte.
7867 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7868
f3eeb3fc 7869 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7870 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7871 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7872 force_reg by atomic_forced_read.
7873 * malloc/arena.c (ptmalloc_init): Likewise.
7874 * malloc/hooks.c (top_check): Likewise.
7875
be2f9009
AZ
78762013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7877
7878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7879
e7b914bd
MT
78802013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7881
7882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7883
9f0be4f8
JM
78842013-12-08 Joseph Myers <joseph@codesourcery.com>
7885
7886 * math/auto-libm-test-in: Add tests of lgamma.
7887 * math/auto-libm-test-out: Regenerated.
7888 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7889 (M_LOG_2_SQRT_PIl): Likewise.
7890 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7892 mpfr_f_f1.
7893 (func_calc_desc): Add mpfr_f_f1 union field.
7894 (ARGS1): New macro.
7895 (ARGS2): Likewise.
7896 (ARGS3): Likewise.
7897 (ARGS4): Likewise.
7898 (RET1): Likewise.
7899 (RET2): Likewise.
7900 (CALC): Likewise.
7901 (FUNC): Likewise.
7902 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7903 (test_functions): Add lgamma.
7904 (calc_generic_results): Handle mpfr_f_f1.
7905 * sysdeps/i386/fpu/libm-test-ulps: Update.
7906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7907
24eeafdb
AZ
79082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7909
7910 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7911 __mpn_add_n for PowerPC64/POWER7.
7912 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7913 __mpn_sub_n for PowerPC64/POWER7.
7914
4a2c0fd4
AZ
7915 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7916 __mpn_addmul_1 for PowerPC64.
7917 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7918 __mpn_submul_1 for PowerPC64.
7919 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7920 for PowerPC64.
7921 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7922 for PowerPC64.
7923
4b5b548c
FS
79242013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7925
7926 [BZ #15089]
7927 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7928
0a3ac0aa
AZ
79292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7930
7931 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7932
ccdc8438
AZ
7933 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7934 add multiarch folders.
7935 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7936 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7937 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7938 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7939 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7940 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7941 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7942 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7943 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7944 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7945 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7952
2e973d99
AZ
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7954 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7956 New file.
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7958 New file.
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7960 multiarch __ieee754_hypot for PowerPC32.
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7962 New file.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7964 New file.
7965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7966 multiarch __ieee754_hypotf for PowerPC32.
7967
2d9470b2
AZ
7968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7969 long_double_symbol only if __logbl is defined.
7970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7971 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7973 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7975 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7977 path for implementation.
7978 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7981 logb, and logbl multiarch implementations for PowerPC32.
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7983 file.
7984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7985 file.
7986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7987 multiarch logb for PowerPC32.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7989 file.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7991 file.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7993 multiarch logbf for PowerPC32.
7994 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7996 file.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7998 multiarch logbl implementation for PowerPC32.
7999
5212ffce
AZ
8000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8001 and modff multiarch implementations.
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8003 New file.
8004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8005 New file.
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8007 multiarch modf for PowerPC32.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8009 New file.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8011 New file.
8012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8013 multiarch modff for PowerPC32.
8014
79dccf31
AZ
8015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8016 and lrintf multiarch implementations.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8018 New file.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8020 New file.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8022 multiarch lrint for PowerPC32.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8024 file: multiarch lrintf for PowerPC32.
8025
deb66480
AZ
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8027 and lroundf multiarch implementations.
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8029 New file.
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8031 New file.
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8033 New file.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8035 multiarch lround for PowerPC32.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8037 file: multiarch lroundf for PowerPC32.
8038
264b036b
AZ
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8040 copysign and copysignf multiarch implementations.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8042 New file.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8044 New file.
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8046 file: multiarch copysign for PowerPC32.
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8048 file: multiarch copysignf for PowerPC32.
8049
d47db6c9
AZ
8050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8051 and truncf multiarch implementations.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8053 New file.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8055 file.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8057 multiarch trunc for PowerPC32.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8059 New file.
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8061 New file.
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8063 multiarch truncf for PowerPC32.
8064
ddb60b5a
AZ
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8066 and roundf multiarch implementations.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8068 New file.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8070 file.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8072 multiarch round for PowerPC32.
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8074 New file.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8076 New file.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8078 multiarch roundf for PowerPC32.
8079
bedcf49b
AZ
8080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8081 and floorf multiarch implementations.
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8083 New file.
8084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8085 file.
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8087 multiarch floor for PowerPC32.
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8089 New file.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8091 New file.
8092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8093 multiarch floorf for PowerPC32.
8094
35ae5b40
AZ
8095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8096 and ceilf multiarch implementations.
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8098 New file.
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8100 file.
8101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8102 multiarch ceil for PowerPC32.
8103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8104 New file.
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8106 file.
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8108 multiarch ceilf for PowerPC32.
8109
ae1a4cd9
AZ
8110 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8111 is defined.
8112 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8113 FINITEF is defined.
8114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8115 and finitef multiarch implementations.
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8117 New file.
8118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8119 file.
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8121 multiarch finite for PowerPC32.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8123 New file.
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8125 file: multiarch finitef for PowerPC32.
8126
64fffd65
AZ
8127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8128 and isinff multiarch implementations.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8130 file.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8132 file.
8133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8134 multiarch isinf for PowerPC32.
8135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8136 New file.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8138 multiarch isinff for PowerPC32.
8139
8e4e7ba2
AZ
8140 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8141 alias when __isnan is defined.
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8143 and isnanf multiarch implementations.
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8145 file.
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8147 file.
8148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8149 file.
8150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8151 file.
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8153 multiarch isnan for PowerPC32.
8154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8155 New file.
8156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8157 New file.
8158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8159 multiarch isnanf for PowerPC32.
8160
ddba588e
AZ
8161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8162 and sqrtf multiarch implementations.
8163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8164 file.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8166 file.
8167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8168 multiarch sqrt for PowerPC32.
8169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8170 file.
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8172 file.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8174 multiarch sqrtf for PowerPC32.
8175
0f96a2f0
AZ
8176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8177 and llroundf multiarch implementations.
8178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8179 New file.
8180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8181 New file.
8182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8183 New file.
8184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8185 file: multiarch llround for PowerPC32.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8187 file: multiarch llroundf for PowerPC32.
8188
c9b5d79e
AZ
8189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8190 multiarch PowerPC32 fpu implementations.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8192 New file.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8194 New file.
8195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8196 multiarch llrint for PowerPC32.
8197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8198 New file.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8200 New file.
8201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8202 file.
8203
9cbb3aab
AZ
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8205
ea5a72f8
AZ
8206 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8207 file.
8208 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8209 file.
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8211 file.
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8213 multiarch wordcopy for PPC32.
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8215 wordcopy objects.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8217 (__libc_ifunc_impl_list): Likewise.
8218 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8219 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8220 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8221 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8222 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8223 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8224
93be09e7
AZ
8225 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8227 file.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8229 file.
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8231 file.
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8233 multiarch wcscpy for PPC32.
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8235 multiarch objects.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8237 (__libc_ifunc_impl_list): Likewise.
8238 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8239 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8240 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8241 sysdeps/powerpc/power6/wcscpy.c.
8242
bb04e529
AZ
8243 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8245 file.
8246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8247 file.
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8249 file.
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8251 multiarch wcsrchr for PPC32.
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8253 multiarch objects.
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8255 (__libc_ifunc_impl_list): Likewise.
8256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8257 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8258 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8259 sysdeps/powerpc/power6/wcsrchr.c.
8260
05b5cd1c
AZ
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8262 file.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8264 file.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8267 multiarch wcschr for PPc32.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8269 multiarch objects.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8271 (__libc_ifunc_impl_list): Likewise.
8272 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8273 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8274 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8275 sysdeps/powerpc/power6/wcschr.c.
8276
ba964147
AZ
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8279 file.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8281 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8282 file: multiarch strchr for PPC32.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8284 multiarch objects.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8286 (__libc_ifunc_impl_list): Likewise.
8287
31c81aaa
AZ
8288 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8289 name.
8290 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8291 file.
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8293 file.
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8295 multiarch strchrnul for PPC32.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8297 multiarch objects.
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8299 (__libc_ifunc_impl_list): Likewise.
8300
0d0607d9
AZ
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8302 file.
8303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8304 multiarch strncasecmp for PPC32.
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8306 file.
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8308 multiarch strncasecmp_l for PPC32.
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8310 strncasecmp multiarch objects.
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8312 (__libc_ifunc_impl_list): Likewise.
8313
4dfd5c86
AZ
8314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8315 file.
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8317 multiarch strncasecmp for PPC32.
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8319 New file.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8321 multiarch strcasecmp_l for PPC32.
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8323 multiarch objects.
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8325 (__libc_ifunc_impl_list): Likewise.
8326
a19e01a3
AZ
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8328 file.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8330 file.
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8332 multiarch strncmp for PPC32.
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8334 multiarch objects.
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8336 (__libc_ifunc_impl_list): Likewise.
8337
ae9cf7a2
AZ
8338 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8339 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8340 file.
8341 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8342 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8344 multiarch objects.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8346 (__libc_ifunc_impl_list): Likewise.
8347
3148bb7d
AZ
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8349 file.
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8351 file.
8352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8354 multiarch objects.
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8356 (__libc_ifunc_impl_list): Likewise.
8357
7af8b946
AZ
8358 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8359 file.
8360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8361 file.
8362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8363 multiarch rawmemchr for PPC32.
8364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8365 multiarch objects.
8366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8367 (__libc_ifunc_impl_list): Likewise.
8368
03a6aa6a
AZ
8369 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8370 file.
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8372 file.
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8374 file: memrchr multiarch for PPC32.
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8376 multiarch objects.
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8378 (__libc_ifunc_impl_list): Likewise.
8379
1c62e6d9
AZ
8380 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8382 file.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8384 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8385 multiarch memchr for PPC32.
8386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8387 multiarch objects.
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8389 (__libc_ifunc_impl_list): Likewise.
8390
87da8bdb
AZ
8391 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8392 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8393 file.
8394 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8395 file.
8396 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8397 file: multiarch mempcpy for PPC32.
8398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8399 multiarch objects.
8400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8401 (__libc_ifunc_impl_list): Likewise.
8402
20ed4714
AZ
8403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8407 multiarch bzero for PPC32.
8408 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8409 file.
8410 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8411 file.
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8413 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8414 file: multiarch memset for PPC32.
8415 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8417 memset multiarch objects.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8419 (__libc_ifunc_impl_list): Likewise.
8420
ab3e3a46
AZ
8421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8422 file.
8423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8424 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8425 memcmp for PPC32.
8426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8428 multiarch objects.
8429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8430 (__libc_ifunc_impl_list): Likewise.
8431
930de6f0
AZ
8432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8435 file.
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8437 file.
8438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8439 file.
8440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8441 multiarch memcpy for PPC32.
8442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8443 multiarch objects.
8444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8445 (__libc_ifunc_impl_list): Likewise.
8446
4c628e00
AZ
8447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8448 support multiarch for POWER/PPC32.
8449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8450 Likewise.
8451 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8453 Implies file to make multiarch folder appers before the fpu and
8454 default folder for power4 configuration.
8455
f4479220
SP
84562013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8457
8458 * scripts/bench.pl: Append volatile keyword to type.
8459
8517800f
KK
84602013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8461
8462 * sysdeps/sh/sotruss-lib.c: New file.
8463 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8464
180138f1
AZ
84652013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8466
8467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8468
bbf37bdc
JM
84692013-12-05 Joseph Myers <joseph@codesourcery.com>
8470
e47cc4e0
JM
8471 [BZ #6810]
8472 * math/w_tgamma.c: Include <errno.h>.
8473 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8474 * math/w_tgammaf.c: Include <errno.h>.
8475 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8476 * math/w_tgammal.c: Include <errno.h>.
8477 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8478 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8479 underflow. Add more tgamma tests.
8480 * math/auto-libm-test-out: Regenerated.
8481 * sysdeps/i386/fpu/libm-test-ulps: Update.
8482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8483
bbf37bdc
JM
8484 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8485 sin, sinh, tan, tanh, tgamma, y0 and y1.
8486 * math/auto-libm-test-out: Regenerated.
8487 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8488 (TEST_COND_x86): Likewise.
8489 (M_E2l): Remove macro.
8490 (M_E3l): Likewise.
8491 (M_2_SQRT_PIl): Likewise.
8492 (M_SQRT_PIl): Likewise.
8493 (M_1_DIV_El): Likewise.
8494 (log_test_data): Use AUTO_TESTS_f_f.
8495 (log10_test_data): Likewise.
8496 (log1p_test_data): Likewise.
8497 (log2_test_data): Likewise.
8498 (sin_test_data): Likewise.
8499 (sin_tonearest_test_data): Likewise.
8500 (sin_towardzero_test_data): Likewise.
8501 (sin_downward_test_data): Likewise.
8502 (sin_upward_test_data): Likewise.
8503 (sinh_test_data): Likewise.
8504 (sinh_tonearest_test_data): Likewise.
8505 (sinh_towardzero_test_data): Likewise.
8506 (sinh_downward_test_data): Likewise.
8507 (sinh_upward_test_data): Likewise.
8508 (tan_test_data): Likewise.
8509 (tan_tonearest_test_data): Likewise.
8510 (tan_towardzero_test_data): Likewise.
8511 (tan_downward_test_data): Likewise.
8512 (tan_upward_test_data): Likewise.
8513 (tanh_test_data): Likewise.
8514 (tgamma_test_data): Likewise.
8515 (y0_test_data): Likewise.
8516 (y1_test_data): Likewise.
8517 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8518 (special_real_inputs): Add pi/4.
8519 * sysdeps/i386/fpu/libm-test-ulps: Update.
8520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8521
eb5ad6b9
AZ
85222013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8523
8524 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8525 "longjmp_target" static probes.
8526 (__longjmp): Rename to __longjmp_symbol.
8527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8528 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8529 on which longjmp to generate.
8530 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8531 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8532 probe.
8533 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8534 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8535 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8536 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8537 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8538 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8540 __longjmp_symbol based on which __longjmp to generate.
8541 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8542 probe.
8543 (setjmp): Rename to setjmp_symbol.
8544 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8545 (_setjmp): Rename to _setjmp_symbol.
8546 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8547 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8548 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8549 which setjmp to generate.
8550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8551 "longjmp_target" static probes.
8552
d136c6dc
SP
85532013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8554
9298ecba
SP
8555 * benchtests/README: Add note about output arguments.
8556 * benchtests/bench-sincos.c: Remove file.
8557 * benchtests/sincos-inputs: New file.
8558 * scripts/bench.pl: Identify output arguments and define
8559 static variables for them.
8560
232983e9
SP
8561 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8562
d136c6dc
SP
8563 [BZ #15941]
8564 * Makefile (INSTALL): Add install-plain.texi as the primary
8565 dependency.
8566 * manual/install-plain.texi: New file.
8567 * manual/install.texi: Include node directive only for
8568 non-plaintext output.
8569
699ff837
JM
85702013-12-04 Joseph Myers <joseph@codesourcery.com>
8571
ab07cea8
JM
8572 * stdlib/longlong.h: Update from GCC.
8573
699ff837
JM
8574 [BZ #6807]
8575 [BZ #15901]
8576 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8577 * math/w_j0f.c (y0f): Likewise.
8578 * math/w_j0l.c (__y0l): Likewise.
8579 * math/w_j1.c (y1): Likewise.
8580 * math/w_j1f.c (y1f): Likewise.
8581 * math/w_j1l.c (__y1l): Likewise
8582 * math/w_jn.c (yn): Likewise.
8583 * math/w_jnf.c (ynf): Likewise.
8584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8585 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8586 value for Bessel function domain errors outside _SVID_ mode.
8587 Adjust sign of return value for yn (negative integer, 0).
8588 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8589 by zero in return for negative x and set sign appropriately for
8590 negative n.
8591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8593 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8594 expectations in error cases.
8595 (y1_test_data): Likewise.
8596 (yn_test_data): Likewise.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599
5b118558
UW
86002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8601
8602 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8603 "64" to "64-v1". Add "64-v2".
8604 (abi-64-options): Rename to ...
8605 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8606 (abi-64-condition): Rename to ...
8607 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8608 (abi-64-ld-soname): Rename to ...
8609 (abi-64-v1-ld-soname): ... this.
8610 (abi-64-v2-options): Define.
8611 (abi-64-v2-condition): Likewise.
8612 (abi-64-v2-ld-soname): Likewise.
8613 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8614 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8618
61cd8fe4
UW
86192013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8620 Alan Modra <amodra@gmail.com>
8621
8622 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8623 New versions for use with the ELFv2 ABI.
8624 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8625 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8626 declaration.
8627 (struct La_ppc64v2_retval): Likewise.
8628 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8629 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8630 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8631 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8632 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8634 Do not save or restore CR.
8635 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8636 (_dl_profile_resolve): Do no save or restore CR. Support extended
8637 return values for ELFv2 ABI. Fix location of FPR return registers.
8638 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8639 updated values for _CALL_ELF == 2.
8640 (La_regs, La_retval, int_retval): Likewise.
8641
8b8a692c
UW
86422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8643
8644 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8645 (FRAME_MIN_SIZE_PARM): Likewise.
8646 (FRAME_BACKCHAIN): Likewise.
8647 (FRAME_CR_SAVE): Likewise.
8648 (FRAME_LR_SAVE): Likewise.
8649 (FRAME_TOC_SAVE): Likewise.
8650 (FRAME_PARM_SAVE): Likewise.
8651 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8652 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8653 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8654 (call_mcount_parm_offset): New macro.
8655 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8656 (PROF): Use symbolic stack frame offsets.
8657 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8659 Redefine in terms of FRAME_MIN_SIZE.
8660 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8661 (_dl_profile_resolve): Likewise. Update comment.
8662 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8663 symbols stack frame offsets.
8664 (__sigsetjmp): Likewise.
8665 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8666 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8667 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8668 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8669
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8671 (FRAME_BACKCHAIN): Remove.
8672 (FRAME_CR_SAVE): Likewise.
8673 (FRAME_LR_SAVE): Likewise.
8674 (FRAME_COMPILER_DW): Likewise.
8675 (FRAME_LINKER_DW): Likewise.
8676 (FRAME_TOC_SAVE): Likewise.
8677 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8678 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8679 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8680 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8682 (CHECK_SP): Use symbolic stack frame offsets.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8684 zone" instead of caller's parameter save area for temp storage.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8686 Likewise. Also, use symbolic stack frame offsets.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8688 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8689 our own stack frame instead of the caller's.
8690 (__socket): Use symbolic stack frame offsets.
8691
122b66de
UW
86922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8693 Alan Modra <amodra@gmail.com>
8694
8695 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8696 Define.
57f41c40
AS
8697 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8698 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8699 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8700 New function.
8701 (elf_machine_fixup_plt): Call it.
8702 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8703 reloc arguments.
8704 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8706 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8707 r2 before calling target.
8708
696caf1d
UW
87092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8710 Alan Modra <amodra@gmail.com>
8711
8712 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8713 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8714 versions of macros to support ELFv2 ABI.
8715 (LOCALENTRY): New macro.
8716 (ENTRY, EALIGN): Use it.
8717 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8718 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8719 fall through into ENTRY entry point.
8720 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8721 Only define if _CALL_ELF != 2.
8722
8723 (elf_machine_matches_host): Verify ABI version matches.
8724 (RTLD_START): Use LOCALENTRY.
8725 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8726 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8727 (PLT_ENTRY_WORDS): New macro.
8728 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8729 (elf_machine_runtime_setup): Support ELFv2 ABI.
8730 (elf_machine_fixup_plt): Likewise.
8731 (elf_machine_plt_conflict): Likewise.
8732 (resolve_ifunc): Likewise.
8733 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8735 Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8737 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8739 (makecontext): Support ELFv2 ABI.
8740 * elf/elf.h (EF_PPC64_ABI): Define.
8741
d31beafa
UW
87422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8743
57f41c40
AS
8744 * sysdeps/powerpc/powerpc64/sysdep.h
8745 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8746 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8747 (ENTRY) [ASSEMBLER]: ... but instead here ...
8748 (EALIGN) [ASSEMBLER]: ... and here.
8749 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8750 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8751 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8752 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8753 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8755 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8756 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8758 Use PPC64_LOAD_FUNCPTR.
8759
b525166b
UW
8760 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8761
7ec07d9a
AM
87622013-12-04 Alan Modra <amodra@gmail.com>
8763
8764 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8765 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8766 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8767 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8768
8769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8770 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8771 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8772 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8773 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8774 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8775
5162e7dd
UW
87762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8777
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8779 (__makecontext): Fix incorrect CFI when backtracing out of
8780 context created via makecontext.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8782 (__setcontext): Fix incorrect CFI during switch to new context.
8783 (__novec_setcontext): Likewise.
8784
19e3372b
OB
87852013-12-04 Ondřej Bílka <neleai@seznam.cz>
8786
8787 [BZ #4772]
8788 * time/strptime_l.c (__strptime_internal): Allow modifiers
8789 in strptime.
8790 * time/tst-strptime.c (day_tests): Add testcase.
8791
ecaf142d
SP
87922013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8793
8794 * scripts/bench.pl: Skip over blank lines.
8795
fbf964ae
PE
87962013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8797
8798 [BZ #926]
8799 * manual/time.texi (Calendar Time): Clarify what timezone functions
8800 use.
8801
fa60a674
AZ
88022013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8803
8804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8805
d674f0ef
OB
88062013-12-04 Ondřej Bílka <neleai@seznam.cz>
8807
8808 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8809 implementation.
8810 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8811 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8812 * debug/memset_chk.c (__memset_chk): Likewise.
8813 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8814 * debug/strncpy_chk.c: Likewise.
8815
17dea188
JM
88162013-12-03 Joseph Myers <joseph@codesourcery.com>
8817
749008ff
JM
8818 [BZ #15268]
8819 [BZ #15425]
8820 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8821 (__ieee754_exp): For possibly underflowing results, check size of
8822 result and force underflow exception if required.
8823 * math/auto-libm-test-in: Add more tests of exp.
8824 * math/auto-libm-test-out: Regenerated.
8825 * sysdeps/i386/fpu/libm-test-ulps: Update.
8826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8827
17dea188
JM
8828 [BZ #16283]
8829 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8830 * math/w_exp2f.c (__exp2f): Likewise.
8831 * math/w_exp2l.c (__exp2l): Likewise.
8832 * math/auto-libm-test-in: Do not allow missing errno on exp2
8833 underflow.
8834 * math/auto-libm-test-out: Regenerated.
8835
b20de2c3
OB
88362013-12-03 Ondřej Bílka <neleai@seznam.cz>
8837
8838 [BZ #16274]
8839 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8840 handle filename validation.
8841 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8842 (do_open): Delete.
8843
d8e2dbe3
JM
88442013-12-03 Joseph Myers <joseph@codesourcery.com>
8845
34e16df5
JM
8846 [BZ #6786]
8847 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8848 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8849 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8850 <float.h>.
8851 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8853 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8855 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8856 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8857 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8858 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8859 Add more erfc tests.
8860 * math/auto-libm-test-out: Regenerated.
8861 * sysdeps/i386/fpu/libm-test-ulps: Update.
8862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8863
d8e2dbe3
JM
8864 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8865 exp2, expm1, j0 and j1.
8866 * math/auto-libm-test-out: Regenerated.
8867 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8868 (erfc_test_data): Likewise.
8869 (exp_test_data): Likewise.
8870 (exp_tonearest_test_data): Likewise.
8871 (exp_towardzero_test_data): Likewise.
8872 (exp_downward_test_data): Likewise.
8873 (exp_upward_test_data): Likewise.
8874 (exp10_test_data): Likewise.
8875 (exp2_test_data): Likewise.
8876 (expm1_test_data): Likewise.
8877 (j0_test_data): Likewise.
8878 (j1_test_data): Likewise.
8879 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8880 (input_flag_type): Add flag_xfail_rounding.
8881 (input_flags): Add xfail-rounding.
8882 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8883 (output_for_one_input_case): Handle flag_xfail_rounding.
8884 * sysdeps/i386/fpu/libm-test-ulps: Update.
8885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8886
18d14251
AJ
88872013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8888
3d2e6075 8889 [BZ #16289]
18d14251
AJ
8890 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8891 division by 0.
8892
520d437b
SP
88932013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8894
8895 [BZ #16195]
8896 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8897 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8898 (STAP_PROBE0): New macro.
8899 (STAP_PROBE1): Likewise.
8900 (STAP_PROBE2): Likewise.
8901 (STAP_PROBE3): Likewise.
8902 (STAP_PROBE4): Likewise.
8903
416e0145
OB
89042013-12-02 Ondřej Bílka <neleai@seznam.cz>
8905
8906 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8907
9d17796a
SE
89082013-12-02 Steve Ellcey <sellcey@mips.com>
8909
8910 * benchtests/Makefile (bench): Add sqrt.
8911 (LDLIBS-bench-sqrt): New.
8912 * benchtests/sqrt-input: New.
8913
f524d6a8
PS
89142013-12-02 Pavel Simerda <psimerda@redhat.com>
8915
639a0ef8
PS
8916 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8917 (GAIH_EAI): Likewise.
8918 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8919 (gaih_inet): Likewise.
8920 (getaddrinfo): Don't use GAIH_EAI.
8921
f524d6a8
PS
8922 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8923 (struct gaih): Remove definition.
8924
df3aedaf
SP
89252013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8926
8927 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8928 Use HERRNOP directly.
8929
1ab19dec
AZ
89302013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931
b42ad38d 8932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8933
176b0c79
JM
89342013-11-30 Joseph Myers <joseph@codesourcery.com>
8935
8936 * math/gen-auto-libm-tests.c (test_functions): Add more
8937 single-argument functions.
8938 (special_fill_pi_2): New function.
8939 (special_fill_minus_pi_2): Likewise.
8940 (special_fill_pi_6): Likewise.
8941 (special_fill_minus_pi_6): Likewise.
8942 (special_fill_pi_3): Likewise.
8943 (special_fill_2pi_3): Likewise.
8944 (special_fill_e): Likewise.
8945 (special_fill_1_e): Likewise.
8946 (special_fill_e_minus_1): Likewise.
8947 (special_real_inputs): Add more special inputs.
8948 (output_for_one_input_case): Do not require ERANGE on underflow to
8949 zero if round-to-nearest result does not underflow to zero, unless
8950 exact results required.
8951 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8952 atan, atanh, cbrt, cos and cosh.
8953 * math/auto-libm-test-out: Regenerated.
8954 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8955 (acos_tonearest_test_data): Likewise.
8956 (acos_towardzero_test_data): Likewise.
8957 (acos_downward_test_data): Likewise.
8958 (acos_upward_test_data): Likewise.
8959 (acosh_test_data): Likewise.
8960 (asin_test_data): Likewise.
8961 (asin_tonearest_test_data): Likewise.
8962 (asin_towardzero_test_data): Likewise.
8963 (asin_upward_test_data): Likewise.
8964 (asinh_test_data): Likewise.
8965 (atan_test_data): Likewise.
8966 (atanh_test_data): Likewise.
8967 (cbrt_test_data): Likewise.
8968 (cos_test_data): Likewise.
8969 (cos_tonearest_test_data): Likewise.
8970 (cos_towardzero_test_data): Likewise.
8971 (cos_downward_test_data): Likewise.
8972 (cos_upward_test_data): Likewise.
8973 (cosh_test_data): Likewise.
8974 (cosh_tonearest_test_data): Likewise.
8975 (cosh_towardzero_test_data): Likewise.
8976 (cosh_downward_test_data): Likewise.
8977 (cosh_upward_test_data): Likewise.
8978 * sysdeps/i386/fpu/libm-test-ulps: Update.
8979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8980
ffb536d0
JM
89812013-11-29 Joseph Myers <joseph@codesourcery.com>
8982
2a77a467
JM
8983 [BZ #6787]
8984 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8985 * math/w_exp10f.c (__exp10f): Likewise.
8986 * math/w_exp10l.c (__exp10l): Likewise.
8987 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8988 errno settings in existing tests.
8989
ea3bc4e8
JM
8990 [BZ #14032]
8991 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8992 precision control set to double precision.
8993 * sysdeps/i386/fpu/w_sqrt.c: New file.
8994 * math/auto-libm-test-in: Add more tests.
8995 * math/auto-libm-test-out: Update.
8996
0712c9d8
JM
8997 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8998 (sqrt_test_tonearest): New function.
8999 (sqrt_towardzero_test_data): New variable.
9000 (sqrt_test_towardzero): New function.
9001 (sqrt_downward_test_data): New variable.
9002 (sqrt_test_downward): New function.
9003 (sqrt_upward_test_data): New variable.
9004 (sqrt_test_upward): New function.
9005 (main): Call the new functions.
9006
ffb536d0
JM
9007 * math/gen-auto-libm-tests.c: New file.
9008 * math/auto-libm-test-in: Likewise.
9009 * math/auto-libm-test-out: New generated file.
9010 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9011 variables.
9012 (%beautify): Add generated representations of zero.
9013 (top level): Set $auto_input and call parse_auto_input.
9014 (beautify): Remove trailing "f" from hex float constants.
9015 (parse_args): Handle XFAIL_TEST.
9016 (convert_condition): New function.
9017 (or_value): Likewise.
9018 (or_cond_value): Likewise.
9019 (generate_testfile): Handle AUTO_TESTS_* lines.
9020 (parse_auto_input): New function.
9021 * math/libm-test.inc (XFAIL_TEST): New macro.
9022 (ERRNO_UNCHANGED): Update value.
9023 (ERRNO_EDOM): Likewise.
9024 (ERRNO_ERANGE): Likewise.
9025 (IGNORE_RESULT): Likewise.
9026 (TEST_COND_flt_32): New macro.
9027 (TEST_COND_dbl_64): Likewise.
9028 (TEST_COND_ldbl_96_intel): Likewise.
9029 (TEST_COND_ldbl_96_m68k): Likewise.
9030 (TEST_COND_ldbl_128): Likewise.
9031 (TEST_COND_ldbl_128ibm): Likewise.
9032 (TEST_COND_long32): Likewise.
9033 (TEST_COND_long64): Likewise.
9034 (TEST_COND_before_rounding): Likewise.
9035 (TEST_COND_after_rounding): Likewise.
9036 (enable_test): Handle XFAIL_TEST flag.
9037 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9038 with finite results.
9039 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9040 auto-libm-test-out.
9041
acd98a8e
AK
90422013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9043 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9044
9045 [BZ #16214]
9046 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9047 __tls_get_addr_internal instead of __tls_get_offset in order to
9048 avoid GOT pointer dependency. Make rtld export
9049 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9050 __tls_get_addr since we are a __tls_get_offset platform.
9051 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9052 GOT pointer being set up before.
9053 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9054
3c1c46a6
JM
90552013-11-28 Joseph Myers <joseph@codesourcery.com>
9056
7475aef5
JM
9057 * manual/math.texi (Errors in Math Functions): Document accuracy
9058 goals.
9059
8bca7cd8
JM
9060 [BZ #15004]
9061 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9062 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9077
91a1f3fe
JM
9078 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9079 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9080 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9081 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9083 Likewise.
9084 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9085 Likewise.
9086 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9087 Likewise.
9088 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9089 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9090 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9091 atomic-feupdateenv and flt-rounds.
9092 * sysdeps/powerpc/nofpu/Versions (libc): Add
9093 __atomic_feholdexcept, __atomic_feclearexcept,
9094 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9095 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9096 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9098 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9099 here.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9101 Update.
9102
c5df7609
JM
9103 * manual/arith.texi (FP Exceptions): Document that exceptions may
9104 not be raised when matherr is used.
9105 (Math Error Reporting): Document overflow in directed rounding
9106 modes. Document that errno may not be set when finite values are
9107 returned on overflow. Document intent to set errno on underflow
9108 only for underflow to zero.
9109
3c1c46a6
JM
9110 [BZ #16271]
9111 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9112 round-to-nearest then adjust result for other rounding modes.
9113 * include/fenv.h (fegetround): Use libm_hidden_proto.
9114 * math/fegetround.c (fegetround): Use libm_hidden_def.
9115 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9116 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9117 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9118 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9119 Likewise.
9120 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9121 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9122 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9123 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9124
5a4c6d53
SP
91252013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9126
9127 [BZ #16077]
9128 * nss/Versions (libnss_files): Add
9129 _nss_files_gethostbyname3_r.
9130 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9131 New function.
9132 (HOST_DB_LOOKUP): Remove macro.
9133 (_nss_files_gethostbyname_r): Implement function without the
9134 HOST_DB_LOOKUP macro.
9135 (_nss_files_gethostbyname2_r): Likewise.
9136
897b98ba
OB
91372013-11-28 Ondřej Bílka <neleai@seznam.cz>
9138
9139 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9140
6f476861
UB
91412013-11-26 Uros Bizjak <ubizjak@gmail.com>
9142
9143 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9144 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9145 warning.
9146
bd12ab55
AZ
91472013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9148
9149 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9150 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9151 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9152 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9153 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9154 __fe_nomask_env_priv and attribute_hidden.
9155 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9156 (libc_feupdateenv_test_ppc): Likewise.
9157 (libc_feresetround_ppc): Likewise.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9159 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9160 compat_symbol macro.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9162 (__fe_nomask_env): Likewise.
9163 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9164
52bb6543
OB
91652013-11-26 Ondřej Bílka <neleai@seznam.cz>
9166
9167 * string/Makefile: Remove ifunc tests.
9168 * string/test-string.h: Define TEST_IFUNC.
9169 * string/test-bcopy-ifunc.c: Remove.
9170 * string/test-bzero-ifunc.c: Likewise.
9171 * string/test-memccpy-ifunc.c: Likewise.
9172 * string/test-memchr-ifunc.c: Likewise.
9173 * string/test-memcmp-ifunc.c: Likewise.
9174 * string/test-memcpy-ifunc.c: Likewise.
9175 * string/test-memmem-ifunc.c: Likewise.
9176 * string/test-memmove-ifunc.c: Likewise.
9177 * string/test-mempcpy-ifunc.c: Likewise.
9178 * string/test-memrchr-ifunc.c: Likewise.
9179 * string/test-memset-ifunc.c: Likewise.
9180 * string/test-rawmemchr-ifunc.c: Likewise.
9181 * string/test-stpcpy-ifunc.c: Likewise.
9182 * string/test-stpncpy-ifunc.c: Likewise.
9183 * string/test-strcasecmp-ifunc.c: Likewise.
9184 * string/test-strcasestr-ifunc.c: Likewise.
9185 * string/test-strcat-ifunc.c: Likewise.
9186 * string/test-strchr-ifunc.c: Likewise.
9187 * string/test-strchrnul-ifunc.c: Likewise.
9188 * string/test-strcmp-ifunc.c: Likewise.
9189 * string/test-strcpy-ifunc.c: Likewise.
9190 * string/test-strcspn-ifunc.c: Likewise.
9191 * string/test-strlen-ifunc.c: Likewise.
9192 * string/test-strncasecmp-ifunc.c: Likewise.
9193 * string/test-strncat-ifunc.c: Likewise.
9194 * string/test-strncmp-ifunc.c: Likewise.
9195 * string/test-strncpy-ifunc.c: Likewise.
9196 * string/test-strnlen-ifunc.c: Likewise.
9197 * string/test-strpbrk-ifunc.c: Likewise.
9198 * string/test-strrchr-ifunc.c: Likewise.
9199 * string/test-strspn-ifunc.c: Likewise.
9200 * string/test-strstr-ifunc.c: Likewise.
9201
ab260039 92022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9203
9204 * benchtests/Makefile: Remove ifunc tests.
9205 * benchtests/bench-string.h: Define TEST_IFUNC.
9206 * benchtests/bench-bcopy-ifunc.c: Remove.
9207 * benchtests/bench-bzero-ifunc.c: Likewise.
9208 * benchtests/bench-memccpy-ifunc.c: Likewise.
9209 * benchtests/bench-memchr-ifunc.c: Likewise.
9210 * benchtests/bench-memcmp-ifunc.c: Likewise.
9211 * benchtests/bench-memcpy-ifunc.c: Likewise.
9212 * benchtests/bench-memmem-ifunc.c: Likewise.
9213 * benchtests/bench-memmove-ifunc.c: Likewise.
9214 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9215 * benchtests/bench-memrchr-ifunc.c: Likewise.
9216 * benchtests/bench-memset-ifunc.c: Likewise.
9217 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9218 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9219 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9220 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9221 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9222 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9223 * benchtests/bench-strcat-ifunc.c: Likewise.
9224 * benchtests/bench-strchr-ifunc.c: Likewise.
9225 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9226 * benchtests/bench-strcmp-ifunc.c: Likewise.
9227 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9228 * benchtests/bench-strcpy-ifunc.c: Likewise.
9229 * benchtests/bench-strcspn-ifunc.c: Likewise.
9230 * benchtests/bench-strlen-ifunc.c: Likewise.
9231 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9232 * benchtests/bench-strncat-ifunc.c: Likewise.
9233 * benchtests/bench-strncmp-ifunc.c: Likewise.
9234 * benchtests/bench-strncpy-ifunc.c: Likewise.
9235 * benchtests/bench-strnlen-ifunc.c: Likewise.
9236 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9237 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9238 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9239 * benchtests/bench-strspn-ifunc.c: Likewise.
9240 * benchtests/bench-strstr-ifunc.c: Likewise.
9241
92422013-11-26 Ondřej Bílka <neleai@seznam.cz>
9243
ab260039
OB
9244 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9245
d1d9eaf4 92462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9247
d1d9eaf4
OB
9248 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9249 * rt/aio.h: Likewise.
9250 * sysdeps/gnu/bits/utmp.h: Likewise.
9251 * sysdeps/gnu/bits/utmpx.h: Likewise.
9252 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9253 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9254 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9255 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9256 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9257 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9258 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9259 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9260 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9266 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9267 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9268 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9270 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9272 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9273 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9276 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9278 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9279 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9280 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9281 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9282 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9283 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9286 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9288 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9289 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9290 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9291 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9292 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9293 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9294
a7624ed9
CD
92952013-11-25 Carlos O'Donell <carlos@redhat.com>
9296
9297 [BZ #16245]
9298 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9299 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9300
63cfe52b
JM
93012013-11-25 Joseph Myers <joseph@codesourcery.com>
9302
9303 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9304 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9305 Likewise.
9306
41e8926a
AZ
93072013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9308
9309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9310 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9311 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9312 (__fesetround): Remove define.
9313 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9314 rounding and exceptions handling.
9315 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9316 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9317 (__fe_nomask_env): Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9319 __fegetround instead of fegetround.
9320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9322
6851bd4d
RM
93232013-11-21 Roland McGrath <roland@hack.frob.com>
9324
070906ff
RM
9325 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9326 it's there.
9327
6851bd4d
RM
9328 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9329
84ae135d
MI
93302013-11-21 Meador Inge <meadori@codesourcery.com>
9331
9332 [BZ #11157]
9333 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9334 (encrypt_r): Likewise.
9335 * malloc/obstack.h (obstack_free): Likewise.
9336 * posix/unistd.h (encrypt): Likewise.
9337
daf75146
GM
93382013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9339
9340 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9341 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9342 DL_CALL_DT_FINI() that call the functions directly.
9343 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9344 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9345 * elf/dl-fini.c: Likewise.
9346
10ad46bc
OB
93472013-11-20 Ondřej Bílka <neleai@seznam.cz>
9348
9349 * malloc/hooks.c (memalign_check): Add alignment rounding.
9350 * malloc/malloc.c (_mid_memalign): New function.
9351 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9352 Implement by calling _mid_memalign.
9353 * manual/probes.texi (Memory Allocation Probes): Remove
9354 memory_valloc_retry and memory_pvalloc_retry.
9355
f3fd2628
SP
93562013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9357
4712799f
SP
9358 * locale/programs/locarchive.c (open_archive): Add const
9359 qualifier to ARCHIVEFNAME and copy default fname to
9360 DEFAULT_FNAME.
9361
0417b20f
SP
9362 [BZ #15601]
9363 * libio/tst-widetext.input: Rename Oriya to Odia.
9364 * locale/iso-639.def: Likewise.
9365
f3fd2628
SP
9366 * manual/probes.texi (Mathematical Function Probes): Add
9367 documentation for sin, cos, asin and acos probes.
9368 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9369 (__sin32): Add slowasin probe.
9370 (__cos32): Add slowacos probe.
9371 (__mpsin): Add slowsin probe.
9372 (__mpcos): Add slowcos probe.
9373
73c1ce4f
JM
93742013-11-19 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #15483]
9377 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9378 thread-local __sim_exceptions_thread and global
9379 __sim_exceptions_global.
9380 (__sim_disabled_exceptions): Change to thread-local
9381 __sim_disabled_exceptions_thread and global
9382 __sim_disabled_exceptions_global.
9383 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9384 and global __sim_round_mode_global.
9385 (__simulate_exceptions): Use thread-local floating-point state and
9386 set global state from it as needed.
9387 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9388 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9389 __sim_round_mode_thread.
9390 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9391 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9392 and global __sim_exceptions_global.
9393 (__sim_disabled_exceptions): Change to thread-local
9394 __sim_disabled_exceptions_thread and global
9395 __sim_disabled_exceptions_global.
9396 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9397 and global __sim_round_mode_global.
9398 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9399 (SIM_SET_GLOBAL): Likewise.
9400 * sysdeps/powerpc/soft-fp/sfp-machine.h
9401 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9402 __sim_round_mode_thread.
9403 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9404 __sim_disabled_exceptions_thread.
9405 (__sim_exceptions): Change to __sim_exceptions_thread.
9406 (__sim_disabled_exceptions): Change to
9407 __sim_disabled_exceptions_thread.
9408 (__sim_round_mode): Change to __sim_round_mode_thread.
9409 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9410 thread-local floating-point state and set global state from it as
9411 needed.
9412 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9413 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9414 (__sim_disabled_exceptions): Remove extern declaration.
9415 (feenableexcept): Use thread-local floating-point state and set
9416 global state from it as needed.
9417 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9418 extern declaration.
9419 (__sim_disabled_exceptions): Likewise.
9420 (__sim_round_mode): Likewise.
9421 (__fegetenv): Use thread-local floating-point state.
9422 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9423 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9424 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9425 floating-point state and set global state from it as needed.
9426 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9427 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9428 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9429 Likewise.
9430 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9431 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9432 Likewise.
9433 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9434 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9435 Use __sim_round_mode_thread.
9436 * math/test-fenv-tls.c: New file.
9437 * math/Makefile (tests): Add test-fenv-tls.
9438 ($(objpfx)test-fenv-tls): Depend on
9439 $(common-objpfx)nptl/libpthread.so.
9440
b5449b12
AS
94412013-11-19 Andreas Schwab <schwab@suse.de>
9442
9443 * locale/programs/locale.c (show_info): Decode wordarray elements.
9444 * locale/categories.def (LC_MONETARY): Add element for
9445 _NL_MONETARY_CRNCYSTR.
9446 * locale/C-monetary.c (conversion_rate): New variable.
9447 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9448 element.
9449
e186536b
CM
94502013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9451
9452 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9453 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9454
5c349950
PP
94552013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9456
9457 * elf/Makefile (tst-auxv): New test.
9458 * elf/tst-auxv.c: New
9459 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9460
699df45b
JM
94612013-11-18 Joseph Myers <joseph@codesourcery.com>
9462
9463 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9464 (hidden_proto): Caller changed.
9465 (hidden_tls_proto): New macro.
9466 (libc_hidden_tls_proto): Likewise.
9467 (rtld_hidden_tls_proto): Likewise.
9468 (libm_hidden_tls_proto): Likewise.
9469 (libresolv_hidden_tls_proto): Likewise.
9470 (librt_hidden_tls_proto): Likewise.
9471 (libdl_hidden_tls_proto): Likewise.
9472 (libnss_files_hidden_tls_proto): Likewise.
9473 (libnsl_hidden_tls_proto): Likewise.
9474 (libnss_nisplus_hidden_tls_proto): Likewise.
9475 (libutil_hidden_tls_proto): Likewise.
9476
b7589107
OB
94772013-11-18 Ondřej Bílka <neleai@seznam.cz>
9478
9479 [BZ #10253]
9480 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9481 (decompose_rpath): Defer expansion to fillin_rpath.
9482 (_dl_init_paths): Pass linkmap to fillin_rpath.
9483
250c23bd
RS
94842013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9485
9486 * benchtests/Makefile: Add strsep.
9487 * benchtests/bench-strsep.c: New file: strsep benchtest.
9488 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9489
a7931fcf
AS
94902013-11-18 Andreas Schwab <schwab@suse.de>
9491
9492 * locale/programs/locale.c (show_info) [case byte]: Check for
9493 '\377' instead of '\177'.
9494 * locale/C-monetary.c (not_available): Always use "\377".
9495 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9496 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9497 detect unavailable sign_posn locale elements.
9498 * locale/localeconv.c (__localeconv): For grouping and
9499 mon_grouping handle "\177" and "\377" like no grouping.
9500 (INT_ELEM): New macro. Use it to set all numeric members.
9501 * locale/programs/ld-monetary.c (monetary_read)
9502 <tok_mon_grouping>: Normalize single -1 to the empty string.
9503 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9504 Likewise.
9505
728dab0e
OB
95062013-11-07 Ondřej Bílka <neleai@seznam.cz>
9507
9508 [BZ #16055]
9509 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9510 when we match (nil).
9511 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9512
66294491
JM
95132013-11-16 Joseph Myers <joseph@codesourcery.com>
9514
ce665817
JM
9515 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9516 (NO_TEST_INLINE): Update value.
9517 (ERRNO_UNCHANGED): Likewise.
9518 (ERRNO_EDOM): Likewise.
9519 (ERRNO_ERANGE): Likewise.
9520 (IGNORE_RESULT): Likewise.
9521 (check_float_internal): Check signs of NaN results if
9522 TEST_NAN_SIGN used.
9523 (check_complex): Pass TEST_NAN_SIGN flag through to second
9524 check_float_internal call.
9525 (copysign_test_data): Add tests with quiet NaNs as second
9526 argument. Use TEST_NAN_SIGN.
9527 (fabs_test_data): Add test of negative quiet NaN argument. Use
9528 TEST_NAN_SIGN.
9529 (signbit_test_data): Add tests of quiet NaN argument.
9530 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9531
ee1466a9
JM
9532 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9533 $ignore_result.
9534 (parse_args): Handle function results specified as IGNORE.
9535 * math/libm-test.inc (IGNORE_RESULT): New macro.
9536 (check_float_internal): Do not check numerical result if flag
9537 IGNORE_RESULT set.
9538 (check_complex): Pass through IGNORE_RESULT to second
9539 check_float_internal call.
9540 (check_int): Do not check numerical result if flag IGNORE_RESULT
9541 set.
9542 (check_long): Likewise.
9543 (check_bool): Likewise.
9544 (check_longlong): Likewise.
9545 (lrint_test_data): Add tests of infinite and NaN arguments.
9546 (lrint_tonearest_test_data): Likewise.
9547 (lrint_towardzero_test_data): Likewise.
9548 (lrint_downward_test_data): Likewise.
9549 (lrint_upward_test_data): Likewise.
9550 (llrint_test_data): Likewise.
9551 (llrint_tonearest_test_data): Likewise.
9552 (llrint_towardzero_test_data): Likewise.
9553 (llrint_downward_test_data): Likewise.
9554 (llrint_upward_test_data): Likewise.
9555 (lround_test_data): Likewise.
9556 (llround_test_data): Likewise.
9557
14407b7e
JM
9558 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9559 (ERRNO_UNCHANGED): Update value.
9560 (ERRNO_EDOM): Likewise.
9561 (ERRNO_ERANGE): Likewise.
9562 (NO_TEST_INLINE_FLOAT): New macro.
9563 (NO_TEST_INLINE_DOUBLE): Likewise.
9564 (enable_test): New function.
9565 (RUN_TEST_f_f): Check enable_test before running test.
9566 (RUN_TEST_2_f): Likewise.
9567 (RUN_TEST_fff_f): Likewise.
9568 (RUN_TEST_c_f): Likewise.
9569 (RUN_TEST_f_f1): Likewise.
9570 (RUN_TEST_fF_f1): Likewise.
9571 (RUN_TEST_fI_f1): Likewise.
9572 (RUN_TEST_ffI_f1): Likewise.
9573 (RUN_TEST_c_c): Likewise.
9574 (RUN_TEST_cc_c): Likewise.
9575 (RUN_TEST_f_i): Likewise.
9576 (RUN_TEST_f_i_tg): Likewise.
9577 (RUN_TEST_ff_i_tg): Likewise.
9578 (RUN_TEST_f_b): Likewise.
9579 (RUN_TEST_f_b_tg): Likewise.
9580 (RUN_TEST_f_l): Likewise.
9581 (RUN_TEST_f_L): Likewise.
9582 (RUN_TEST_fFF_11): Likewise.
9583 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9584 conditionals.
9585 (cosh_test_data): Likewise.
9586 (exp_test_data): Likewise.
9587 (expm1_test_data): Likewise.
9588 (hypot_test_data): Likewise.
9589 (pow_test_data): Likewise.
9590 (sinh_test_data): Likewise.
9591 (tanh_test_data): Likewise.
9592 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9593 flags argument.
9594
ca07f197
JM
9595 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9596 tests with quiet NaN input and output.
9597 (acosh_test_data): Likewise.
9598 (asin_test_data): Likewise.
9599 (asinh_test_data): Likewise.
9600 (atan_test_data): Likewise.
9601 (atanh_test_data): Likewise.
9602 (atan2_test_data): Likewise.
9603 (cbrt_test_data): Likewise.
9604 (cos_test_data): Likewise.
9605 (cosh_test_data): Likewise.
9606 (erf_test_data): Likewise.
9607 (erfc_test_data): Likewise.
9608 (exp_test_data): Likewise.
9609 (exp10_test_data): Likewise.
9610 (exp2_test_data): Likewise.
9611 (expm1_test_data): Likewise.
9612 (hypot_test_data): Likewise.
9613 (j0_test_data): Likewise.
9614 (j1_test_data): Likewise.
9615 (jn_test_data): Likewise.
9616 (lgamma_test_data): Likewise.
9617 (log_test_data): Likewise.
9618 (log10_test_data): Likewise.
9619 (log1p_test_data): Likewise.
9620 (log2_test_data): Likewise.
9621 (pow_test_data): Likewise.
9622 (scalb_test_data): Likewise.
9623 (sin_test_data): Likewise.
9624 (sincos_test_data): Likewise.
9625 (sinh_test_data): Likewise.
9626 (tan_test_data): Likewise.
9627 (tanh_test_data): Likewise.
9628 (tgamma_test_data): Likewise.
9629 (y0_test_data): Likewise.
9630 (y1_test_data): Likewise.
9631 (yn_test_data): Likewise.
9632
66294491
JM
9633 [BZ #16167]
9634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9635 argument being NaN and avoid computations with second argument in
9636 that case.
9637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9638 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9639 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9640
1820b143
CL
96412013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9642
9643 * locale/iso-639.def: Add Chitwani Tharu (the).
9644
714bd261
AS
96452013-11-14 Andreas Schwab <schwab@suse.de>
9646
9647 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9648 word instead of empty string.
9649
7ab44563
AZ
96502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9651
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9653 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9655 (__fe_nomask_env): Likewise.
9656
e8470ea2
SE
96572013-11-13 Steve Ellcey <sellcey@mips.com>
9658
9659 * benchtests/bench-timing.h: Include time.h.
9660
17c1d9f0
L
96612013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9662
9663 [BZ #15997]
9664 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9665 to 3.4.0 for x32.
9666 * sysdeps/unix/sysv/linux/configure: Regenerated.
9667
9310c284
JM
96682013-11-13 Joseph Myers <joseph@codesourcery.com>
9669
9670 [BZ #16151]
9671 * stdlib/strtod_l.c (round_and_return): Do not consider
9672 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9673 exponent one less than half the least subnormal exponent.
9674 * stdlib/test-strtod-round-data: Add more tests.
9675 * stdlib/tst-strtod-round.c (tests): Regenerated.
9676
7a2ad8cf
AZ
96772013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9678
9679 [BZ #14143]
9680 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9681 (__fe_mask_env): Likewise.
9682 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9683 libm_hidden_proto and add function prototype.
9684 (__fe_mask_env): Add function prototype.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9686 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9688 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9690 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9691
50727aa7
MS
96922013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9693
b2f386c1 9694 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9695 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9696
a615be46
MS
96972013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9698
9699 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9700 of htab_find_slot().
9701
7ddace62
DM
97022013-11-11 David S. Miller <davem@davemloft.net>
9703
9704 [BZ #16150]
9705 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9706 symbol in the non-vis3 case in static builds.
9707 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9708 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9709 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9710 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9711
9182aa67
JK
97122013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9713
9714 [BZ #387]
9715 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9716 it is empty.
9717
450a2e2d
AZ
97182013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9719
b2f386c1
SP
9720 * benchtests/Makefile: Add bench-strtod.
9721 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9722
8ec3f656
AS
97232013-11-11 Andreas Schwab <schwab@suse.de>
9724
9725 [BZ #16153]
9726 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9727 terminating NUL in key length.
9728
76a9b998
AZ
97292013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9730
9731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9732 Add artificial ODP entry for vDSO symbol for PPC64.
9733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9734 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9735
e4368156
OB
97362013-11-07 Ondřej Bílka <neleai@seznam.cz>
9737
9738 [BZ #15374]
9739 * nss/getent.c (services_keys): Recognize services starting with digit.
9740
8d6bb57c
DM
97412013-11-06 David S. Miller <davem@davemloft.net>
9742
9743 [BZ #15985]
9744 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9745 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9746
e256c421
WN
97472013-11-06 Will Newton <will.newton@linaro.org>
9748
9749 * manual/memory.texi (Malloc Examples): Remove register
9750 keyword from examples.
9751
f6e12daa 97522013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9753
f6e12daa 9754 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9755
9d880655
AS
97562013-11-04 Joseph Myers <joseph@codesourcery.com>
9757
fd2f9486 9758 [BZ #6981]
9d880655
AS
9759 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9760 depending on [__GCC_IEC_559 > 0].
9761 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9762 depending on [__GCC_IEC_559_COMPLEX > 0].
9763
ae129d3c
CL
97642013-11-03 Chris Leonard <cjl@sugarlabs.org>
9765
9766 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9767 to iso-639.def.
9768
4a15c2a4 97692013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9770
9771 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9772
8b35e35d
OB
97732013-11-01 Ondřej Bílka <neleai@seznam.cz>
9774
9775 [BZ #16112]
9776 * malloc/malloc (malloc_info): Do not handle first bin as
9777 special case.
9778
1d70fd6c
CL
97792013-11-01 Chris Leonard <cjl@sugarlabs.org>
9780
9781 * locale/iso-639.def: Add Central Nahuatl (nhn).
9782
8c5c2600
BH
97832013-11-01 Bruno Haible <bruno@clisp.org>
9784
9785 [BZ #7003]
9786 * manual/math.texi (BSD Random): Specify range upper bound as
9787 in POSIX.
9788
da5579c2
CL
97892013-10-31 Chris Leonard <cjl@sugarlabs.org>
9790
9791 * locale/iso-639.def: Add Meadow Mari (mhr).
9792
5d30d853
OB
97932013-10-31 Ondřej Bílka <neleai@seznam.cz>
9794
9795 [BZ #14752], [BZ #15763]
9796 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9797 Validate name.
9798 * rt/tst_shm.c: Add test for escaping directory.
9799
a4966c61
AS
98002013-10-31 Andreas Schwab <schwab@suse.de>
9801
8a43e768 9802 [BZ #15917]
a4966c61
AS
9803 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9804 followed by 'x' as part of digit sequence.
9805 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9806
28d708c4
MAP
98072013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9808
9809 [BZ #16037]
9810 * configure.ac: allow GNU Make 4.0 and greater.
9811 * configure: Regenerated.
9812
a56ee40b
WN
98132013-10-30 Will Newton <will.newton@linaro.org>
9814
9815 [BZ #16038]
9816 * malloc/hooks.c (memalign_check): Limit alignment to the
9817 maximum representable power of two.
9818 * malloc/malloc.c (__libc_memalign): Likewise.
9819 * malloc/tst-memalign.c (do_test): Add test for very
9820 large alignment values.
9821 * malloc/tst-posix_memalign.c (do_test): Likewise.
9822
c6e4925d
OB
98232013-10-30 Ondřej Bílka <neleai@seznam.cz>
9824
9825 [BZ #11087]
9826 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9827 (munmap_chunk): Likewise.
9828 (mremap_chunk): Likewise.
9829
98302013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9831
8a43e768 9832 [BZ #15799]
bbea82f7
OB
9833 * stdlib/div.c (div): Remove obsolete code.
9834 * stdlib/ldiv.c (ldiv): Likewise.
9835 * stdlib/lldiv.c (lldiv): Likewise.
9836
977f4b31
SP
98372013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9838
9839 [BZ #16071]
9840 * nss/nss_files/files-XXX.c (get_contents_ret): New
9841 enumerator.
9842 (get_contents): New function.
9843 (internal_getent): Use it. Expand size of LINEBUFLEN.
9844
cb8a6dbd
MF
98452013-10-30 Mike Frysinger <vapier@gentoo.org>
9846
9847 * configure.in: Moved to ...
9848 * configure.ac: ... here. Change reference to configure.in
9849 to configure.ac.
9850 * sysdeps/arm/preconfigure.ac: ... here.
9851 configure.in to configure.ac.
9852 * sysdeps/gnu/configure.in: Moved to ...
9853 * sysdeps/gnu/configure.ac: ... here.
9854 * sysdeps/i386/configure.in: Moved to ...
9855 * sysdeps/i386/configure.ac: ... here.
9856 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9857 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9858 * sysdeps/mach/configure.in: Moved to ...
9859 * sysdeps/mach/configure.ac: ... here.
9860 * sysdeps/mach/hurd/configure.in: Moved to ...
9861 * sysdeps/mach/hurd/configure.ac: ... here.
9862 * sysdeps/powerpc/configure.in: Moved to ...
9863 * sysdeps/powerpc/configure.ac: ... here.
9864 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9865 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9866 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9867 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9868 * sysdeps/s390/s390-32/configure.in: Moved to ...
9869 * sysdeps/s390/s390-32/configure.ac: ... here.
9870 * sysdeps/s390/s390-64/configure.in: Moved to ...
9871 * sysdeps/s390/s390-64/configure.ac: ... here.
9872 * sysdeps/sh/configure.in: Moved to ...
9873 * sysdeps/sh/configure.ac: ... here.
9874 * sysdeps/sparc/configure.in: Moved to ...
9875 * sysdeps/sparc/configure.ac: ... here.
9876 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9877 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9878 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9879 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9880 * sysdeps/x86_64/configure.in: Moved to ...
9881 * sysdeps/x86_64/configure.ac: ... here.
9882 * sysdeps/x86_64/preconfigure.in: Moved to ...
9883 * sysdeps/x86_64/preconfigure.ac: ... here.
9884 * aclocal.m4: Change reference to configure.in to configure.ac.
9885 * config.h.in: Likewise.
9886 * manual/install.texi: Likewise.
9887 * manual/maint.texi: Likewise.
9888 * Makefile: Likewise.
9889 * malloc/Makefile: Likewise.
9890 * nscd/Makefile: Likewise.
9891 * Makeconfig: Change reference to configure.in and
9892 preconfigure.in to configure.ac and preconfigure.ac
9893 respectively.
9894 * INSTALL: Regenerated.
9895 * configure: Likewise.
9896 * sysdeps/gnu/configure: Likewise.
9897 * sysdeps/i386/configure: Likewise.
9898 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9899 * sysdeps/mach/configure: Likewise.
9900 * sysdeps/mach/hurd/configure: Likewise.
9901 * sysdeps/powerpc/configure: Likewise.
9902 * sysdeps/powerpc/powerpc32/configure: Likewise.
9903 * sysdeps/powerpc/powerpc64/configure: Likewise.
9904 * sysdeps/s390/s390-32/configure: Likewise.
9905 * sysdeps/s390/s390-64/configure: Likewise.
9906 * sysdeps/sh/configure: Likewise.
9907 * sysdeps/sparc/configure: Likewise.
9908 * sysdeps/unix/sysv/linux/configure: Likewise.
9909 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9910 * sysdeps/x86_64/configure: Likewise.
9911 * sysdeps/x86_64/preconfigure: Likewise.
9912
36a4953a
AS
99132013-10-29 Andreas Schwab <schwab@suse.de>
9914
9915 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9916
c79a1204
SP
99172013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9918
dfa1b402
SP
9919 * benchtests/pow-inputs: Add new inputs.
9920
54f73d9c
SP
9921 * benchtests/exp-inputs: Add new inputs.
9922
c79a1204
SP
9923 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9924 conditional check for return value.
9925 (__cos32): Likewise.
9926
67beb545 99272013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9928
9929 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9930 to provide a boost for large inputs with word alignment.
9931 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9932 implementation based on optimized PPC64 strcpy.
9933 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9934 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9935 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9936 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9937
151659f6
OB
99382013-10-25 Ondřej Bílka <neleai@seznam.cz>
9939
482a077e 9940 [BZ #2801]
151659f6
OB
9941 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9942
10b0f26b
OB
99432013-10-25 Ondřej Bílka <neleai@seznam.cz>
9944
9945 [BZ #14876]
9946 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9947 * time/tst-strptime.c (day_tests): Add testcase.
9948
ca42d35e
OB
99492013-10-25 Ondřej Bílka <neleai@seznam.cz>
9950
482a077e 9951 [BZ #14029]
ca42d35e
OB
9952 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9953
52e6d801
FB
99542013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9955
9956 [BZ #16074]
9957 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9958 MAP_FAILED on error.
9959
7cbcdb36
SP
99602013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
9962 [BZ #16072]
9963 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9964 heap for large requests.
9965
894f3f10
AM
99662013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9967
9968 [BZ #9954]
9969 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9970 result if the result has no associated interface.
9971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9972 interface for all 127.X.Y.Z addresses.
9973
b85545a6
CL
99742013-10-24 Chris Leonard <cjl@sugarlabs.org>
9975
9976 * locale/iso-639.def: Add Ligurian (lij)
9977
d1f23d46
OB
99782013-10-21 Ondřej Bílka <neleai@seznam.cz>
9979
9980 [BZ #15825]
9981 * sunrpc/rpc_main.c: Document rpcgen -5.
9982
4db5b08f
MS
99832013-10-19 Michael Stahl <mstahl@redhat.com>
9984
9985 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9986
a471e96a
OB
99872013-10-19 Ondřej Bílka <neleai@seznam.cz>
9988
d1f23d46 9989 [BZ #10278]
a471e96a
OB
9990 * posix/glob.c: Match only directories when trailing slash is present.
9991 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9992 (main): Add testcase.
9993
45c30c61
OB
99942013-10-19 Ondřej Bílka <neleai@seznam.cz>
9995
9996 [BZ #15670]
9997 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9998
484c12fb
CD
99992013-10-18 Carlos O'Donell <carlos@redhat.com>
10000
3d7dc513
CD
10001 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10002 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10003 AUTH_DES and cindex for FIPS 140-2.
10004 (DES Encryption): Add cindex FIPS 46-3.
10005
484c12fb
CD
10006 * locale/locarchive.h (struct locarhandle): Add fname.
10007 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10008 if an optional argument was specified to --list-archive,
10009 otherwise NULL.
10010 * locale/programs/locarchive.c (show_archive_content): Take new
10011 argument fname and pass it via ah.fname to open_archive.
10012 * locale/programs/localedef.h: Update decl.
10013 (open_archive): If AH->fname is non-null, open that file
10014 rather than the default file name, and don't ignore ENOENT.
10015 (create_archive): Set AH.fname to NULL.
10016 (delete_locales_from_archive): Likewise.
10017 (add_locales_to_archive): Likewise.
10018 * locale/programs/locfile.c (write_all_categories): Likewise.
10019
3c8325fb
JM
100202013-10-18 Joseph Myers <joseph@codesourcery.com>
10021 Aldy Hernandez <aldyh@redhat.com>
10022
10023 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10024 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10025 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10026 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10027 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10029 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10030 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10031 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10033 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10034 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10035 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10036 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10037 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10038 Likewise.
10039 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10040 Likewise.
10041 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10042 Likewise.
10043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10044 Likewise.
10045 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10046 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10047 Likewise.
10048 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10049 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10050 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10051 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10052 Likewise.
10053 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10054 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10055 * sysdeps/powerpc/preconfigure: Likewise.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10057 Likewise.
10058 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10059 Replace contents of file by #include of <fenv_libc.h>.
10060 * sysdeps/powerpc/soft-fp/sfp-machine.h
10061 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10062 and <sys/prctl.h>.
10063 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10076 Allow copysignl PLT reference to be missing.
10077
5abe0682
RS
100782013-10-18 Richard Sandiford <richard@codesourcery.com>
10079 Joseph Myers <joseph@codesourcery.com
10080
10081 [BZ #15948]
10082 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10083 single character.
10084 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10085
c7738d08
SP
100862013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10087
10088 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10089 * elf/tst-tls1.c: Likewise.
10090 * elf/tst-tls10.h: Likewise.
10091 * elf/tst-tls14.c: Likewise.
10092 * elf/tst-tls2.c: Likewise.
10093 * elf/tst-tls3.c: Likewise.
10094 * elf/tst-tls4.c: Likewise.
10095 * elf/tst-tls5.c: Likewise.
10096 * elf/tst-tls6.c: Likewise.
10097 * elf/tst-tls7.c: Likewise.
10098 * elf/tst-tls8.c: Likewise.
10099 * elf/tst-tls9.c: Likewise.
10100 * elf/tst-tlsmod1.c: Likewise.
10101 * elf/tst-tlsmod13.c: Likewise.
10102 * elf/tst-tlsmod13a.c: Likewise.
10103 * elf/tst-tlsmod14a.c: Likewise.
10104 * elf/tst-tlsmod16a.c: Likewise.
10105 * elf/tst-tlsmod16b.c: Likewise.
10106 * elf/tst-tlsmod2.c: Likewise.
10107 * elf/tst-tlsmod3.c: Likewise.
10108 * elf/tst-tlsmod4.c: Likewise.
10109 * elf/tst-tlsmod5.c: Likewise.
10110 * elf/tst-tlsmod6.c: Likewise.
10111
0bfcf2c7
OB
101122013-10-18 Ondřej Bílka <neleai@seznam.cz>
10113
10114 [BZ #12486]
10115 * malloc/malloc.c: remove checks for statistics.
10116
264aad1e
OB
101172013-10-17 Ondřej Bílka <neleai@seznam.cz>
10118
10119 [BZ #15277]
10120 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10121 * inet/tst-network.c: Add testcase.
10122
b957ced8
AS
101232013-10-17 Andreas Schwab <schwab@suse.de>
10124
10125 [BZ #15218]
10126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10127 to determine canonical name.
10128
c5d5d574
OB
101292013-10-17 Ondřej Bílka <neleai@seznam.cz>
10130
10131 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10132 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10155 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10161 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10189
e5c2c2d0
JM
101902013-10-17 Joseph Myers <joseph@codesourcery.com>
10191
10192 [BZ #16041]
10193 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10194 make result into a quiet NaN.
10195
51ca9e29
JM
101962013-10-16 Joseph Myers <joseph@codesourcery.com>
10197
10198 * soft-fp/adddf3.c: Fix horizontal whitespace.
10199 * soft-fp/addsf3.c: Likewise.
10200 * soft-fp/addtf3.c: Likewise.
10201 * soft-fp/divdf3.c: Likewise.
10202 * soft-fp/divsf3.c: Likewise.
10203 * soft-fp/divtf3.c: Likewise.
10204 * soft-fp/double.h: Likewise.
10205 * soft-fp/eqdf2.c: Likewise.
10206 * soft-fp/eqsf2.c: Likewise.
10207 * soft-fp/eqtf2.c: Likewise.
10208 * soft-fp/extenddftf2.c: Likewise.
10209 * soft-fp/extended.h: Likewise.
10210 * soft-fp/extendsfdf2.c: Likewise.
10211 * soft-fp/extendsftf2.c: Likewise.
10212 * soft-fp/extendxftf2.c: Likewise.
10213 * soft-fp/fixdfdi.c: Likewise.
10214 * soft-fp/fixdfsi.c: Likewise.
10215 * soft-fp/fixdfti.c: Likewise.
10216 * soft-fp/fixsfdi.c: Likewise.
10217 * soft-fp/fixsfsi.c: Likewise.
10218 * soft-fp/fixsfti.c: Likewise.
10219 * soft-fp/fixtfdi.c: Likewise.
10220 * soft-fp/fixtfsi.c: Likewise.
10221 * soft-fp/fixtfti.c: Likewise.
10222 * soft-fp/fixunsdfdi.c: Likewise.
10223 * soft-fp/fixunsdfsi.c: Likewise.
10224 * soft-fp/fixunsdfti.c: Likewise.
10225 * soft-fp/fixunssfdi.c: Likewise.
10226 * soft-fp/fixunssfsi.c: Likewise.
10227 * soft-fp/fixunssfti.c: Likewise.
10228 * soft-fp/fixunstfdi.c: Likewise.
10229 * soft-fp/fixunstfsi.c: Likewise.
10230 * soft-fp/fixunstfti.c: Likewise.
10231 * soft-fp/floatdidf.c: Likewise.
10232 * soft-fp/floatdisf.c: Likewise.
10233 * soft-fp/floatditf.c: Likewise.
10234 * soft-fp/floatsidf.c: Likewise.
10235 * soft-fp/floatsisf.c: Likewise.
10236 * soft-fp/floatsitf.c: Likewise.
10237 * soft-fp/floattidf.c: Likewise.
10238 * soft-fp/floattisf.c: Likewise.
10239 * soft-fp/floattitf.c: Likewise.
10240 * soft-fp/floatundidf.c: Likewise.
10241 * soft-fp/floatundisf.c: Likewise.
10242 * soft-fp/floatunditf.c: Likewise.
10243 * soft-fp/floatunsidf.c: Likewise.
10244 * soft-fp/floatunsisf.c: Likewise.
10245 * soft-fp/floatunsitf.c: Likewise.
10246 * soft-fp/floatuntidf.c: Likewise.
10247 * soft-fp/floatuntisf.c: Likewise.
10248 * soft-fp/floatuntitf.c: Likewise.
10249 * soft-fp/fmadf4.c: Likewise.
10250 * soft-fp/fmasf4.c: Likewise.
10251 * soft-fp/fmatf4.c: Likewise.
10252 * soft-fp/gedf2.c: Likewise.
10253 * soft-fp/gesf2.c: Likewise.
10254 * soft-fp/getf2.c: Likewise.
10255 * soft-fp/ledf2.c: Likewise.
10256 * soft-fp/lesf2.c: Likewise.
10257 * soft-fp/letf2.c: Likewise.
10258 * soft-fp/muldf3.c: Likewise.
10259 * soft-fp/mulsf3.c: Likewise.
10260 * soft-fp/multf3.c: Likewise.
10261 * soft-fp/negdf2.c: Likewise.
10262 * soft-fp/negsf2.c: Likewise.
10263 * soft-fp/negtf2.c: Likewise.
10264 * soft-fp/op-1.h: Likewise.
10265 * soft-fp/op-2.h: Likewise.
10266 * soft-fp/op-4.h: Likewise.
10267 * soft-fp/op-8.h: Likewise.
10268 * soft-fp/op-common.h: Likewise.
10269 * soft-fp/quad.h: Likewise.
10270 * soft-fp/single.h: Likewise.
10271 * soft-fp/soft-fp.h: Likewise.
10272 * soft-fp/sqrtdf2.c: Likewise.
10273 * soft-fp/sqrtsf2.c: Likewise.
10274 * soft-fp/sqrttf2.c: Likewise.
10275 * soft-fp/subdf3.c: Likewise.
10276 * soft-fp/subsf3.c: Likewise.
10277 * soft-fp/subtf3.c: Likewise.
10278 * soft-fp/truncdfsf2.c: Likewise.
10279 * soft-fp/trunctfdf2.c: Likewise.
10280 * soft-fp/trunctfsf2.c: Likewise.
10281 * soft-fp/trunctfxf2.c: Likewise.
10282 * soft-fp/unorddf2.c: Likewise.
10283 * soft-fp/unordsf2.c: Likewise.
10284 * soft-fp/unordtf2.c: Likewise.
10285
9ebb0332
JM
102862013-10-15 Joseph Myers <joseph@codesourcery.com>
10287
10288 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10289 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10290
4b1a6d8b
OB
102912013-10-15 Ondřej Bílka <neleai@seznam.cz>
10292
10293 * elf/dl-libc.c: Clear initfini list after freeing.
10294
1e145589
JM
102952013-10-14 Joseph Myers <joseph@codesourcery.com>
10296
10297 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10298 * soft-fp/addsf3.c: Likewise.
10299 * soft-fp/addtf3.c: Likewise.
10300 * soft-fp/divdf3.c: Likewise.
10301 * soft-fp/divsf3.c: Likewise.
10302 * soft-fp/divtf3.c: Likewise.
10303 * soft-fp/double.h: Likewise.
10304 * soft-fp/eqdf2.c: Likewise.
10305 * soft-fp/eqsf2.c: Likewise.
10306 * soft-fp/eqtf2.c: Likewise.
10307 * soft-fp/extenddftf2.c: Likewise.
10308 * soft-fp/extended.h: Likewise.
10309 * soft-fp/extendsfdf2.c: Likewise.
10310 * soft-fp/extendsftf2.c: Likewise.
10311 * soft-fp/extendxftf2.c: Likewise.
10312 * soft-fp/fixdfdi.c: Likewise.
10313 * soft-fp/fixdfsi.c: Likewise.
10314 * soft-fp/fixdfti.c: Likewise.
10315 * soft-fp/fixsfdi.c: Likewise.
10316 * soft-fp/fixsfsi.c: Likewise.
10317 * soft-fp/fixsfti.c: Likewise.
10318 * soft-fp/fixtfdi.c: Likewise.
10319 * soft-fp/fixtfsi.c: Likewise.
10320 * soft-fp/fixtfti.c: Likewise.
10321 * soft-fp/fixunsdfdi.c: Likewise.
10322 * soft-fp/fixunsdfsi.c: Likewise.
10323 * soft-fp/fixunsdfti.c: Likewise.
10324 * soft-fp/fixunssfdi.c: Likewise.
10325 * soft-fp/fixunssfsi.c: Likewise.
10326 * soft-fp/fixunssfti.c: Likewise.
10327 * soft-fp/fixunstfdi.c: Likewise.
10328 * soft-fp/fixunstfsi.c: Likewise.
10329 * soft-fp/fixunstfti.c: Likewise.
10330 * soft-fp/floatdidf.c: Likewise.
10331 * soft-fp/floatdisf.c: Likewise.
10332 * soft-fp/floatditf.c: Likewise.
10333 * soft-fp/floatsidf.c: Likewise.
10334 * soft-fp/floatsisf.c: Likewise.
10335 * soft-fp/floatsitf.c: Likewise.
10336 * soft-fp/floattidf.c: Likewise.
10337 * soft-fp/floattisf.c: Likewise.
10338 * soft-fp/floattitf.c: Likewise.
10339 * soft-fp/floatundidf.c: Likewise.
10340 * soft-fp/floatundisf.c: Likewise.
10341 * soft-fp/floatunsidf.c: Likewise.
10342 * soft-fp/floatunsisf.c: Likewise.
10343 * soft-fp/floatuntidf.c: Likewise.
10344 * soft-fp/floatuntisf.c: Likewise.
10345 * soft-fp/floatuntitf.c: Likewise.
10346 * soft-fp/fmadf4.c: Likewise.
10347 * soft-fp/fmasf4.c: Likewise.
10348 * soft-fp/fmatf4.c: Likewise.
10349 * soft-fp/gedf2.c: Likewise.
10350 * soft-fp/gesf2.c: Likewise.
10351 * soft-fp/getf2.c: Likewise.
10352 * soft-fp/ledf2.c: Likewise.
10353 * soft-fp/lesf2.c: Likewise.
10354 * soft-fp/letf2.c: Likewise.
10355 * soft-fp/muldf3.c: Likewise.
10356 * soft-fp/mulsf3.c: Likewise.
10357 * soft-fp/multf3.c: Likewise.
10358 * soft-fp/negdf2.c: Likewise.
10359 * soft-fp/negsf2.c: Likewise.
10360 * soft-fp/negtf2.c: Likewise.
10361 * soft-fp/op-1.h: Likewise.
10362 * soft-fp/op-2.h: Likewise.
10363 * soft-fp/op-4.h: Likewise.
10364 * soft-fp/op-8.h: Likewise.
10365 * soft-fp/op-common.h: Likewise.
10366 * soft-fp/quad.h: Likewise.
10367 * soft-fp/single.h: Likewise.
10368 * soft-fp/soft-fp.h: Likewise.
10369 * soft-fp/sqrtdf2.c: Likewise.
10370 * soft-fp/sqrtsf2.c: Likewise.
10371 * soft-fp/sqrttf2.c: Likewise.
10372 * soft-fp/subdf3.c: Likewise.
10373 * soft-fp/subsf3.c: Likewise.
10374 * soft-fp/subtf3.c: Likewise.
10375 * soft-fp/truncdfsf2.c: Likewise.
10376 * soft-fp/trunctfdf2.c: Likewise.
10377 * soft-fp/trunctfsf2.c: Likewise.
10378 * soft-fp/trunctfxf2.c: Likewise.
10379 * soft-fp/unorddf2.c: Likewise.
10380 * soft-fp/unordsf2.c: Likewise.
10381 * soft-fp/unordtf2.c: Likewise.
10382
17c48a60
OB
103832013-10-14 Ondřej Bílka <neleai@seznam.cz>
10384
10385 [BZ #15672]
10386 * misc/error.c (error_tail): Fix possible buffer overflow.
10387
cabba934
OB
103882013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10389
10390 [BZ #13028]
10391 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10392 address.
10393
94bf958a
PM
103942013-10-14 P. J. McDermott <pj@pehjota.net>
10395
10396 [BZ #832]
10397 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10398 testing pipefail option.
10399
71b4dea7
JM
104002013-10-12 Joseph Myers <joseph@codesourcery.com>
10401
10402 * soft-fp/double.h: Indent preprocessor directives inside #if.
10403 * soft-fp/extended.h: Likewise.
10404 * soft-fp/op-2.h: Likewise.
10405 * soft-fp/op-4.h: Likewise.
10406 * soft-fp/op-common.h: Likewise.
10407 * soft-fp/quad.h: Likewise.
10408 * soft-fp/single.h: Likewise.
10409 * soft-fp/soft-fp.h: Likewise.
10410
55602758
YC
104112013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10412
10413 * iconv/iconv_prog.c: Fix typos.
10414 * stdio-common/psiginfo-data.h: Likewise.
10415
9cd83302
RT
104162013-10-12 Reuben Thomas <rrt@sc3d.org>
10417
10418 [BZ #15764]
10419 * locale/setlocale.c: Fix typo.
10420
99fd9f47
JM
104212013-10-12 Joseph Myers <joseph@codesourcery.com>
10422
b7ea74f0
JM
10423 [BZ #16036]
10424 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10425 signaling NaN arguments.
10426 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10427 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10428
8a509447
JM
10429 [BZ #14910]
10430 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10431 unordered operands.
10432 * soft-fp/gesf2.c (__gesf2): Likewise.
10433 * soft-fp/getf2.c (__getf2): Likewise.
10434 * soft-fp/ledf2.c (__ledf2): Likewise.
10435 * soft-fp/lesf2.c (__lesf2): Likewise.
10436 * soft-fp/letf2.c (__letf2): Likewise.
10437
98998e9f
JM
10438 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10439 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10440 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10441 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10442 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10443 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10444 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10445 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10446 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10447 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10448 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10449 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10450 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10451 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10452 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10453 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10454 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10455 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10456 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10457 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10458 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10459 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10460 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10461 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10462 * soft-fp/floattidf.c (__floattidf): Likewise.
10463 * soft-fp/floattisf.c (__floattisf): Likewise.
10464 * soft-fp/floattitf.c (__floattitf): Likewise.
10465 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10466 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10467 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10468 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10469 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10470 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10471 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10472 * soft-fp/gesf2.c (__gesf2): Likewise.
10473 * soft-fp/getf2.c (__getf2): Likewise.
10474 * soft-fp/ledf2.c (__ledf2): Likewise.
10475 * soft-fp/lesf2.c (__lesf2): Likewise.
10476 * soft-fp/letf2.c (__letf2): Likewise.
10477
8edc4a11
JM
10478 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10479 Undefine and redefine.
10480 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10481 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10482 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10483 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10484 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10485 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10486 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10487 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10488 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10489 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10490 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10491 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10492 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10493 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10494 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10495
8399acaf
JM
10496 [BZ #16032]
10497 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10498 without decrementing exponent if mantissa >= that for the
10499 denominator, not >.
10500 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10501 denominator, not >. Decrement exponent in < case instead of
10502 incrementing in >= case.
10503 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10504 without decrementing exponent if mantissa >= that for the
10505 denominator, not >.
10506
99fd9f47
JM
10507 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10508 computing saturated result for unsigned overflow.
10509
10e1cf6b
SP
105102013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10511 Jeff Law <law@redhat.com>
10512
10513 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10514 (atan2Mp): Add systemtap probe marker.
10515 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10516 (__ieee754_log): Add systemtap probe marker.
10517 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10518 (atanMp): Add systemtap probe marker.
10519 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10520 (tanMp): Add systemtap probe marker.
10521 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10522 (__slowexp): Add systemtap probe marker.
10523 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10524 (__slowpow): Add systemtap probe marker.
10525 * manual/probes.texi: Document probes.
10526
3d110c7c
EB
105272013-10-11 Eric Biggers <ebiggers3@gmail.com>
10528
10529 [BZ #15362]
10530 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10531 written.
10532 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10533 written.
10534 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10535 written to buffer but not flushed.
10536 * libio/iofwrite_u.c: Likewise.
10537 * libio/iopadn.c: Return bytes returned even if EOF was
10538 encountered.
10539 * libio/iowpadn.c: Likewise.
10540 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10541 if _IO_padn does not write the whole buffer.
10542 [!COMPILE_WPRINTF] (PAD): Likewise.
10543
75b4202a
DM
105442013-10-10 David S. Miller <davem@davemloft.net>
10545
10546 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10547 directory block.
10548
6c6352e6
JM
105492013-10-10 Joseph Myers <joseph@codesourcery.com>
10550
33b853c3
JM
10551 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10552 instead of FSF address.
10553 * soft-fp/fixdfti.c: Likewise.
10554 * soft-fp/fixsfti.c: Likewise.
10555 * soft-fp/fixtfti.c: Likewise.
10556 * soft-fp/fixunsdfti.c: Likewise.
10557 * soft-fp/fixunssfti.c: Likewise.
10558 * soft-fp/fixunstfti.c: Likewise.
10559 * soft-fp/floattidf.c: Likewise.
10560 * soft-fp/floattisf.c: Likewise.
10561 * soft-fp/floattitf.c: Likewise.
10562 * soft-fp/floatuntidf.c: Likewise.
10563 * soft-fp/floatuntisf.c: Likewise.
10564 * soft-fp/floatuntitf.c: Likewise.
10565 * soft-fp/trunctfxf2.c: Likewise.
10566
6c6352e6
JM
10567 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10568 * soft-fp/fixdfti.c: Likewise.
10569 * soft-fp/fixsfti.c: Likewise.
10570 * soft-fp/fixtfti.c: Likewise.
10571 * soft-fp/fixunsdfti.c: Likewise.
10572 * soft-fp/fixunssfti.c: Likewise.
10573 * soft-fp/fixunstfti.c: Likewise.
10574 * soft-fp/floattidf.c: Likewise.
10575 * soft-fp/floattisf.c: Likewise.
10576 * soft-fp/floattitf.c: Likewise.
10577 * soft-fp/floatuntidf.c: Likewise.
10578 * soft-fp/floatuntisf.c: Likewise.
10579 * soft-fp/floatuntitf.c: Likewise.
10580 * soft-fp/trunctfxf2.c: Likewise.
10581
3bf78b71
DM
105822013-10-10 David S. Miller <davem@davemloft.net>
10583
10584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10585
6f10289e
JM
105862013-10-10 Joseph Myers <joseph@codsourcery.com>
10587
bd878fc0
JM
10588 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10589 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10590 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10591 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10592 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10593 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10594 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10595
6f10289e
JM
10596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10597 for NaNs before doing comparisons on argument.
10598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10599 Likewise.
10600
321e2684
WN
106012013-10-10 Will Newton <will.newton@linaro.org>
10602
10603 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10604 passed to _int_memalign does not overflow.
10605
40fefba1
TR
106062013-10-10 Torvald Riegel <triegel@redhat.com>
10607
10608 * scripts/bench.pl: Add include-sources directive.
10609 * benchtests/README: Update documentation.
10610
2ae21ed2
JM
106112013-10-10 Joseph Myers <joseph@codesourcery.com>
10612
dcc2dd3f
JM
10613 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10614 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10615 instead of FP_INIT_ROUNDMODE.
10616 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10617 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10618
2ae21ed2
JM
10619 [BZ #16034]
10620 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10621 copy class of input value.
10622 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10623 not handle exceptions.
10624 * soft-fp/negsf2.c (__negsf2): Likewise.
10625 * soft-fp/negtf2.c (__negtf2): Likewise.
10626 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10627
cb8f9562
JM
106282013-10-09 Joseph Myers <joseph@codesourcery.com>
10629
10630 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10631 semicolon. From Linux kernel.
10632
5b60c59d
AB
106332013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10634
10635 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10636
b86835ca
YC
106372013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10638
10639 [BZ #156]
10640 * manual/socket.texi: Added statement about buffer
10641 for gethostbyname2_r.
10642
e7044ea7
OB
106432013-10-08 Ondřej Bílka <neleai@seznam.cz>
10644
10645 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10646 Use .p2align directive instead, throughout.
10647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10648 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10649 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10652 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10653 * sysdeps/x86_64/strchr.S: Likewise.
10654 * sysdeps/x86_64/strrchr.S: Likewise.
10655
09544cbc
SP
106562013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10657
88576635
SP
10658 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10659
e7b2d1dd
SP
10660 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10661
09544cbc
SP
10662 * sysdeps/generic/math_private.h (__mpsin1): Remove
10663 declaration.
10664 (__mpcos1): Likewise.
10665 (__mpsin): New argument __range_reduce.
10666 (__mpcos): Likewise.
10667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10668 (slow): Use __mpsin and __mpcos.
10669 (slow1): Likewise.
10670 (slow2): Likewise.
10671 (sloww): Likewise.
10672 (sloww1): Likewise.
10673 (sloww2): Likewise.
10674 (bsloww): Likewise.
10675 (bsloww1): Likewise.
10676 (bsloww2): Likewise.
10677 (cslow2): Likewise.
10678 (csloww): Likewise.
10679 (csloww1): Likewise.
10680 (csloww2): Likewise.
10681 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10682 range_reduce. Merge in __mpsin1.
10683 (__mpcos): Likewise.
10684 (__mpsin1): Remove.
10685 (__mpcos1): Likewise.
10686
7602d070
JM
106872013-10-07 Joseph Myers <joseph@codesourcery.com>
10688
10689 * locale/loadlocale.c (_nl_intern_locale_data): Use
10690 LOCFILE_ALIGNED_P.
10691 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10692 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10693 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10694 obstack data is appropriately aligned.
10695 (obstack_int32_grow_fast): Likewise.
10696 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10697 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10698 (add_locale_uint32_array): Likewise.
10699
a357259b
SP
107002013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10701
10702 * benchtests/Makefile: Remove ARGLIST and RET variables.
10703 ($(objpfx)bench-%.c): Pass only function name to the script.
10704 * benchtests/README: Update documentation.
10705 * benchtests/acos-inputs: Add new directives.
10706 * benchtests/acosh-inputs: Likewise.
10707 * benchtests/asin-inputs: Likewise.
10708 * benchtests/asinh-inputs: Likewise.
10709 * benchtests/atan-inputs: Likewise.
10710 * benchtests/atanh-inputs: Likewise.
10711 * benchtests/cos-inputs: Likewise.
10712 * benchtests/cosh-inputs: Likewise.
10713 * benchtests/exp-inputs: Likewise.
10714 * benchtests/log-inputs: Likewise.
10715 * benchtests/pow-inputs: Likewise.
10716 * benchtests/rint-inputs: Likewise.
10717 * benchtests/sin-inputs: Likewise.
10718 * benchtests/sinh-inputs: Likewise.
10719 * benchtests/tan-inputs: Likewise.
10720 * benchtests/tanh-inputs: Likewise.
10721 * scripts/bench.pl: Add support for new directives.
10722
9ec1b13d
AM
107232013-10-07 Alan Modra <amodra@gmail.com>
10724
10725 * README: Fix careless merge.
10726
8b7d57cd
AM
107272013-10-05 Alan Modra <amodra@gmail.com>
10728
10729 * NEWS: Mention powerpc64le support and bugs fixed.
10730 * README: Both big-endian and little-endian powerpc64 supported.
10731
7b7bab13
ST
107322013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10733
57f41c40
AS
10734 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10735 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10736 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10737 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10738
d39baad1
RA
107392013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10740
10741 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10742 match prototype.
10743
cd78f7e7
JM
107442013-10-04 Joseph Myers <joseph@codesourcery.com>
10745
29d73d86
JM
10746 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10747 Move -mhard-float appending from
10748 ports/sysdeps/powerpc/powerpc32/Makefile.
10749 [$(with-fp) = yes] (ASFLAGS): Likewise.
10750 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10751 * sysdeps/powerpc/nofpu: Move directory from
10752 ports/sysdeps/powerpc/nofpu.
10753 * sysdeps/powerpc/soft-fp: Move directory from
10754 ports/sysdeps/powerpc/soft-fp.
10755 * sysdeps/powerpc/powerpc32/405: Move directory from
10756 ports/sysdeps/powerpc/powerpc32/405.
10757 * sysdeps/powerpc/powerpc32/440: Move directory from
10758 ports/sysdeps/powerpc/powerpc32/440.
10759 * sysdeps/powerpc/powerpc32/464: Move directory from
10760 ports/sysdeps/powerpc/powerpc32/464.
10761 * sysdeps/powerpc/powerpc32/476: Move directory from
10762 ports/sysdeps/powerpc/powerpc32/476.
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10764 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10766 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10768 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10773 * README: Update for powerpc-*-linux-gnu software floating point
10774 support in libc.
10775
e246b347
JM
10776 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10777 case to powerpc/powerpc32*.
10778 * sysdeps/unix/sysv/linux/configure: Regenerated.
10779
89c2003e
JM
10780 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10781 (_FPU_MASK_OM): Define as 0x04.
10782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10784 0x00c10080.
10785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10786 0x0000003c.
10787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10788
cd78f7e7
JM
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10791 getcontext_e500.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10794 setcontext_e500.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10796 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10797 and setcontext_e500.
10798
c755294d
CL
107992013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10800
10801 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10802
e16d221c
SP
108032013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10804
10805 * manual/threads.texi (Default Thread Attributes): Fix typo.
10806
215c7d43
WN
108072013-10-04 Will Newton <will.newton@linaro.org>
10808
10809 * malloc/Makefile: Add tst-memalign.
10810 * malloc/tst-memalign.c: New file.
10811
27d0461b
WN
10812 * malloc/tst-posix_memalign.c: Add comments.
10813 (do_test): Add comments and call free on all potentially
10814 allocated pointers. Add space after cast.
10815
1bc92709
WN
10816 * malloc/tst-pvalloc.c: Add comments.
10817 (do_test): Add comments and call free on all potentially
10818 allocated pointers. Remove duplicate check for NULL pointer.
10819 Add space after cast.
10820
66a9be9d
WN
10821 * malloc/tst-valloc.c: Add comments.
10822 (do_test): Add comments and call free on all potentially
10823 allocated pointers. Remove duplicate check for NULL pointer.
10824 Add space after cast.
10825
4cb81307
AM
108262013-10-04 Alan Modra <amodra@gmail.com>
10827
10828 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10829 Use stdint types in rather than __attribute__((mode())).
10830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10831
f8e3e9f3
AM
108322013-10-04 Alan Modra <amodra@gmail.com>
10833
10834 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10835 Correct handling of unaligned relocs for little-endian.
10836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10837
8f9ebb08
AM
108382013-10-04 Alan Modra <amodra@gmail.com>
10839
10840 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10841 * configure: Regenerate.
10842 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10843 * shlib-versions: Likewise.
10844
0edf96c2
AM
108452013-10-04 Alan Modra <amodra@gmail.com>
10846
10847 * string/tester.c (test_memrchr): Increment reported test cycle.
10848
e0f7a380
AM
108492013-10-04 Alan Modra <amodra@gmail.com>
10850
10851 * string/test-memcpy.c (do_one_test): When reporting errors, print
10852 string address and don't overrun end of string.
10853
466b0393
AM
108542013-10-04 Alan Modra <amodra@gmail.com>
10855
10856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10857 insrdi. Make better use of reg selection to speed exit slightly.
10858 Schedule entry path a little better. Remove useless "are we done"
10859 checks on entry to main loop. Handle wrapping around zero address.
10860 Correct main loop count. Handle single left-over word from main
10861 loop inline rather than by using loop_small. Remove extra word
10862 case in loop_small caused by wrong loop count. Add little-endian
10863 support.
10864 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10866 cache hint.
10867 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10868 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10869 support. Avoid rlwimi.
10870 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10871
3be87c77
AM
108722013-10-04 Alan Modra <amodra@gmail.com>
10873
10874 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10875 insrdi. Formatting.
3be87c77
AM
10876 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10877 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10878 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10879 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10880 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10882
759cfef3
AM
108832013-10-04 Alan Modra <amodra@gmail.com>
10884
10885 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10889 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10890 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10892 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10894 use of regs. Use power7 mtocrf. Tidy function tails.
10895
fe6e95d7
AM
108962013-10-04 Alan Modra <amodra@gmail.com>
10897
10898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10899 Formatting. Consistently use rXXX register defines or rN defines.
10900 Use early exit labels that avoid restoring unused non-volatile regs.
10901 Make cr field use more consistent with rWORDn compares. Rename
10902 regs used as shift registers for unaligned loop, using rN defines
10903 for short lifetime/multiple use regs.
10904 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10906 addi 1,1,64 to pop stack frame. Simplify return value code.
10907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10908
664318c3
AM
109092013-10-04 Alan Modra <amodra@gmail.com>
10910
10911 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10912 support. Correct typos, formatting. Optimize tail. Use insrdi
10913 rather than rlwimi.
10914 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10915 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10916 little-endian support. Correct typos.
10917 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10918 rather than rlwimi.
10919 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10920 in loop and entry code to keep "and." results.
10921 (strchr): Add little-endian support. Comment. Move cntlzd
10922 earlier in tail.
10923 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10924
43b84013
AM
109252013-10-04 Alan Modra <amodra@gmail.com>
10926
10927 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10928 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10931
8a7413f9
AM
109322013-10-04 Alan Modra <amodra@gmail.com>
10933
10934 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10935 (rTMP): Define as r11.
10936 (strcmp): Add little-endian support. Optimise tail.
10937 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10939 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10940 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10941 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10944
33ee81de
AM
109452013-10-04 Alan Modra <amodra@gmail.com>
10946
10947 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10948 little-endian support. Remove unnecessary "are we done" tests.
10949 Handle "s" wrapping around zero and extremely large "size".
10950 Correct main loop count. Handle single left-over word from main
10951 loop inline rather than by using small_loop. Correct comments.
10952 Delete "zero" tail, use "end_max" instead.
10953 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10954
db9b4570
AM
109552013-10-04 Alan Modra <amodra@gmail.com>
10956
10957 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10958 support. Don't branch over align.
10959 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10960 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10961 support. Rearrange tmp reg use to suit. Comment.
10962 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10963
f7c399cf
AM
109642013-10-04 Alan Modra <amodra@gmail.com>
10965
10966 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10967
0b2c2ace
AM
109682013-10-04 Alan Modra <amodra@gmail.com>
10969
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10971 conditional form of branch and link when obtaining pc.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10973
02f04a6c
AM
109742013-10-04 Alan Modra <amodra@gmail.com>
10975
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10977 HIWORD/LOWORD.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10980
9b874b2f
AM
109812013-10-04 Alan Modra <amodra@gmail.com>
10982
10983 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10984 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10985 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10986 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10987 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10988 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10990 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10991 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10992 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10993
be1e5d31
AB
109942013-10-04 Anton Blanchard <anton@au1.ibm.com>
10995 Alistair Popple <alistair@ozlabs.au.ibm.com>
10996 Alan Modra <amodra@gmail.com>
10997
10998 [BZ #15723]
10999 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11000 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11001 _dl_hwcap access for little-endian.
11002 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11003 destroy vmx regs when saving unaligned.
11004 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11005 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11006 destroy vmx regs when saving unaligned.
11007
fef13a78
AM
110082013-10-04 Alan Modra <amodra@gmail.com>
11009
11010 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11011 Don't use a union to pack hi/low value.
11012
76a66d51
AB
110132013-10-04 Anton Blanchard <anton@au1.ibm.com>
11014
11015 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11016 for little-endian.
11017 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11019 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11020 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11021 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11022
6a31fe7f
AM
110232013-10-04 Alan Modra <amodra@gmail.com>
11024
11025 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11026 constants to usual value for .cst8 section, and remove redundant
11027 high address load.
11028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11029 constant for 0x1p52. Load little-endian words of double from
11030 correct stack offsets.
11031
7b88401f
AM
110322013-10-04 Alan Modra <amodra@gmail.com>
11033
11034 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11035 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11036 words of double from correct stack offsets.
11037 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11038 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11039 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11044 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11045 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11050 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11051 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11052 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11053 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11054
9c008155
AM
110552013-10-04 Alan Modra <amodra@gmail.com>
11056
11057 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11058 64-bit int/double union.
11059 (_FPU_SETCW): Likewise.
11060 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11061 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11062
da13146d
AM
110632013-10-04 Alan Modra <amodra@gmail.com>
11064
11065 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11066 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11067
603e8410
AM
110682013-10-04 Alan Modra <amodra@gmail.com>
11069
11070 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11071 use vector int constants.
11072 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11073
4a28b3ca
AB
110742013-10-04 Anton Blanchard <anton@au1.ibm.com>
11075
11076 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11077 array with long long.
11078 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11079 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11080 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11081 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11082 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11083 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11084 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11085 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11086 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11087 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11088 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11089 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11090 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11091
2ca85d2b
AB
110922013-10-04 Anton Blanchard <anton@au1.ibm.com>
11093
11094 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11095 (__signbit): Likewise. Correct for little-endian.
11096 (__signbitl): Call __signbit.
11097 (lrint): Correct for little-endian.
11098 (lrintf): Call lrint.
11099
62a728ae
AM
111002013-10-04 Alan Modra <amodra@gmail.com>
11101
11102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11103 union 32-bit int array member with 64-bit int array.
11104 (t515, tm256): Double rather than long double.
11105 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11106
32c301df
AM
111072013-10-04 Alan Modra <amodra@gmail.com>
11108
11109 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11110 Delete.
11111 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11113 version of math_ldbl.h.
11114
650ef4bd
AM
111152013-10-04 Alan Modra <amodra@gmail.com>
11116
11117 [BZ #15734], [BZ #15735]
11118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11119 all uses of ieee875 long double macros and unions. Simplify test
11120 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11121 ldbl_extract_mantissa value for ix,iy exponents. Properly
11122 normalize after ldbl_extract_mantissa, and don't add hidden bit
11123 already handled. Don't treat low word of ieee854 mantissa like
11124 low word of IBM long double and mask off bit when testing for
11125 zero.
11126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11127 all uses of ieee875 long double macros and unions. Simplify tests
11128 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11129 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11130 two1022, instead use their values. Recognise that tests for large
11131 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11133 Rewrite all uses of ieee875 long double macros and unions. Simplify
11134 test for 0.0L and nan. Correct negation.
11135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11136 ieee875 long double macros and unions. Correct output for large
11137 magnitude x. Correct absolute value calculation.
11138 (__erfcl): Likewise.
11139 * math/libm-test.inc: Add tests for errors discovered in IBM long
11140 double versions of fmodl, remainderl, erfl and erfcl.
11141
765714ca
AM
111422013-10-04 Alan Modra <amodra@gmail.com>
11143
11144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11145 all uses of ieee854 long double macros and unions. Simplify tests
11146 for long doubles that are fully specified by the high double.
11147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11148 Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11150 Remove dead code too.
11151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11152 (__ieee754_ynl): Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11156 Remove dead code too.
11157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11161 Simplify.
11162 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11163 Simplify.
11164 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11167 Comment on variable precision.
11168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11170 Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11176
4ebd120c
AM
111772013-10-04 Alan Modra <amodra@gmail.com>
11178
11179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11181 all uses of ieee854 long double macros and unions.
11182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11188 Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11195 Simplify sign and nan test too.
11196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11200 Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11203 Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11210
1b6adf88
AM
112112013-10-04 Alan Modra <amodra@gmail.com>
11212
11213 * stdio-common/printf_size.c (__printf_size): Don't use
11214 union ieee854_long_double in fpnum union.
11215 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11216 signbit macro to retrieve sign from long double.
11217 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11218 retrieve sign from long double.
11219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11220 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11222 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11223 * math/test-misc.c (main): Don't use union ieee854_long_double.
11224
4cf69995
AM
112252013-10-04 Alan Modra <amodra@gmail.com>
11226
11227 [BZ #15680]
11228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11229 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11230 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11231 calculation. Remove unnecessary test for denormal exponent.
11232 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11233 Correct handling of denormals. Avoid undefined shift behaviour.
11234 Correct normalisation of low mantissa when low double is denormal.
11235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11236 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11237 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11238 Correct normalisation of low mantissa. Test for overflow of high
11239 mantissa and normalise.
11240 (ldbl_nearbyint): Use more readable constant for two52.
11241 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11242 (__mpn_construct_long_double): Fix test for overflow of high
11243 mantissa and correct normalisation. Avoid undefined shift.
11244
9605ca6c
AM
112452013-10-04 Alan Modra <amodra@gmail.com>
11246
11247 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11248 (union ibm_extended_long_double): Define as an array of ieee754_double.
11249 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11251 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11252 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11260
975569d0
JM
112612013-10-03 Joseph Myers <joseph@codesourcery.com>
11262
d3d23756
JM
11263 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11264 page size instead of calling getpagesize.
11265
975569d0
JM
11266 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11267 (LOCFILE_ALIGN_MASK): Likewise.
11268 (LOCFILE_ALIGN_UP): Likewise.
11269 (LOCFILE_ALIGNED_P): Likewise.
11270 * locale/programs/ld-collate.c (collate_output): Use the new
11271 macros instead of __alignof__ (int32_t).
11272 * locale/weight.h (findidx): Likewise.
11273
b1fe1f2b
OB
112742013-10-03 Ondřej Bílka <neleai@seznam.cz>
11275
11276 [BZ #431]
11277 * manual/string.texi: Fix strncat and wcsncat.
11278
5f855e35
BM
112792013-10-03 Brooks Moses <bmoses@google.com>
11280
11281 [BZ #15915]
11282 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11283 * Makerules: ...here, and adjust associated comments.
11284
3cef6009
WN
112852013-10-02 Will Newton <will.newton@linaro.org>
11286
11287 * malloc/Makefile: Add tst-pvalloc.
11288 * malloc/tst-pvalloc.c: New file.
11289
7815420b
WN
112902013-10-02 Will Newton <will.newton@linaro.org>
11291
11292 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11293 improve test coverage.
11294
4868b204
WN
112952013-10-02 Will Newton <will.newton@linaro.org>
11296
11297 * malloc/Makefile: Add tst-posix_memalign.
11298 * malloc/tst-posix_memalign.c: New file.
11299
29c793b3
EB
113002013-10-01 Eric Blake <eblake@redhat.com>
11301
11302 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11303 Use __THROWNL rather than __THROW on static functions.
11304
fd967522
PM
113052013-09-30 Petr Machata <pmachata@redhat.com>
11306
11307 * elf/elf.h (R_AARCH64_ABS16): New macro.
11308 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11309 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11310 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11311 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11312 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11313 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11314 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11315 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11316 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11317 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11318 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11319 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11320 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11321 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11322 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11323 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11324 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11325 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11326 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11327 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11328 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11329 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11330 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11331 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11332 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11333 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11334 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11335 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11336 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11337 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11338 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11339 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11340 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11341 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11342 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11343 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11344 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11345 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11346 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11347 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11348 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11349 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11350 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11351 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11352 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11353 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11354 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11355 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11356 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11357 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11358 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11359 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11360 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11361 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11362 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11363 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11364 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11365 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11366 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11367 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11368 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11369 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11370 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11371 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11372 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11373 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11374 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11375 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11376 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11377 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11378 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11379 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11380 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11381 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11382 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11383 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11384 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11385 (R_AARCH64_TLSDESC_LDR): Likewise.
11386 (R_AARCH64_TLSDESC_ADD): Likewise.
11387 (R_AARCH64_TLSDESC_CALL): Likewise.
11388
b2179107
AS
113892013-09-30 Andreas Schwab <schwab@suse.de>
11390
11391 [BZ #15048]
11392 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11393 the nss database lookup.
11394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11396
47f28d0a
MF
113972013-09-28 Mike Frysinger <vapier@gentoo.org>
11398
11399 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11400
114012013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11402
11403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11404 ${Bash-specific parameter/pattern/string} parameter expansion.
11405 * sysdeps/unix/make-syscalls.sh: Likewise.
11406
f4518a17
KK
114072013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11408
11409 * sysdeps/sh/stackguard-macros.h: New file.
11410
dc1a95c7
OB
114112013-09-26 Ondřej Bílka <neleai@seznam.cz>
11412
11413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11415 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11416 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11417 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11418 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11419
5ebbff8f
AZ
114202013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11421
11422 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11423 Fix thread ID register.
11424
4fd2cf9f
JM
114252013-09-25 Joseph Myers <joseph@codesourcery.com>
11426
11427 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11428 [POSIX || UNIX98]: Require rather than permitting all symbols from
11429 <time.h>.
11430 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11431 element of struct sched_param.
11432 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11433 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11434 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11435 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11436 constant.
11437
12c22bc4
OL
114382013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11439
11440 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11441 argument calculation.
11442
a03d8ea7
JM
114432013-09-24 Joseph Myers <joseph@codesourcery.com>
11444
11445 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11446 Expect macro.
11447 [POSIX] (pthread_attr_t): Do not require type.
11448 [POSIX] (pthread_cond_t): Likewise.
11449 [POSIX] (pthread_condattr_t): Likewise.
11450 [POSIX] (pthread_key_t): Likewise.
11451 [POSIX] (pthread_mutex_t): Likewise.
11452 [POSIX] (pthread_mutexattr_t): Likewise.
11453 [POSIX] (pthread_once_t): Likewise.
11454 [POSIX] (pthread_t): Likewise.
11455 [POSIX-based standards] (pthread_atfork): Expect function.
11456
6055173a
JM
114572013-09-24 Joseph Myers <joseph@codesourcery.com>
11458 Richard Sandiford <richard@codesourcery.com>
11459
11460 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11461 (swap_endianness_p): New extern variable.
11462 (set_big_endian): New inline function.
11463 (maybe_swap_uint32): Likewise.
11464 (maybe_swap_uint32_array): Likewise.
11465 (maybe_swap_uint32_obstack): Likewise.
11466 * locale/programs/locfile.c: Include <stdbool.h>.
11467 (swap_endianness_p): New variable.
11468 (add_locale_uint32): Call maybe_swap_uint32.
11469 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11470 (write_locale_data): Call maybe_swap_uint32_array.
11471 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11472 maybe_swap_uint32.
11473 (obstack_int32_grow_fast): Likewise.
11474 (output_weightwc): Call maybe_swap_uint32_obstack.
11475 (collate_output): Likewise.
11476 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11477 (OPT_LITTLE_ENDIAN): Likewise.
11478 (options): Add --little-endian and --big-endian options.
11479 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11480 * locale/programs/locarchive.c: Include "locfile.h".
11481 (GET): New macro.
11482 (SET): Likewise.
11483 (INC): Likewise.
11484 (create_archive): Use the new macros to access fields of
11485 structures directly mapped from or written to locale archives.
11486 (oldlocrecentcmp): Likewise.
11487 (enlarge_archive): Likewise.
11488 (insert_name): Likewise.
11489 (add_alias): Likewise.
11490 (add_locale): Likewise.
11491 (delete_locales_from_archive): Likewise.
11492 (show_archive_content): Likewise.
11493 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11494 locale data.
11495
39bf0bb4
RM
114962013-09-24 Roland McGrath <roland@hack.frob.com>
11497
11498 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11499 http://www.gnu.org/doc/freemanuals.texi.
11500 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11501
f02eed10
WN
115022013-09-24 Will Newton <will.newton@linaro.org>
11503
11504 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11505 macro.
11506
a3a6c312
JM
115072013-09-23 Joseph Myers <joseph@codesourcery.com>
11508
11509 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11510 unsigned char.
11511
107375ac
MR
115122013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11513
11514 * manual/threads.texi (POSIX Threads): Fix a typo.
11515
141f3a77
SP
115162013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11517
303e567a
SP
11518 [BZ #14547]
11519 * string/tst-strcoll-overflow.c: New test case.
11520 * string/Makefile (xtests): Add tst-strcoll-overflow.
11521 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11522 cache if string sizes may cause integer overflow.
11523
141f3a77
SP
11524 [BZ #14547]
11525 * string/strcoll_l.c (coll_seq): New members rule, idx,
11526 save_idx and back_us.
11527 (get_next_seq_nocache): New function.
11528 (do_compare_nocache): New function.
11529 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11530 when malloc fails.
11531
c61b4d41
CD
115322013-09-23 Carlos O'Donell <carlos@redhat.com>
11533
0b1f8e35
CD
11534 [BZ #15754]
11535 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11536 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11537 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11538
c61b4d41
CD
11539 [BZ #15754]
11540 * elf/Makefile (tests): Add tst-ptrguard1.
11541 (tests-static): Add tst-ptrguard1-static.
11542 (tst-ptrguard1-ARGS): Define.
11543 (tst-ptrguard1-static-ARGS): Define.
11544 * elf/tst-ptrguard1.c: New file.
11545 * elf/tst-ptrguard1-static.c: New file.
11546 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11547 * sysdeps/i386/stackguard-macros.h: Likewise.
11548 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11549 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11550 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11551 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11552 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11553 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11554
115552013-09-23 Hector Marco <hecmargi@upv.es>
11556 Ismael Ripoll <iripoll@disca.upv.es>
11557 Carlos O'Donell <carlos@redhat.com>
11558
11559 [BZ #15754]
11560 * sysdeps/generic/stackguard-macros.h: Define
11561 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11562 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11563 Define __pointer_chk_guard_local.
11564 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11565 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11566
f5f4e7b4
VV
115672013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11568
11569 [BZ #15859]
11570 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11571
5bb43a43
AS
115722013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11573
11574 * include/string.h (__ffs): Declare as hidden.
11575 * string/ffs.c (__ffs): Define as hidden.
11576 * sysdeps/i386/ffs.c (__ffs): Likewise.
11577 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11578 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11579 * sysdeps/s390/ffs.c (__ffs): Likewise.
11580 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11581
3ea5be54
AO
115822013-09-20 Alexandre Oliva <aoliva@redhat.com>
11583
ffb89e53
AO
11584 * NEWS: Mention malloc probes.
11585
322dea08
AO
11586 * malloc/arena.c (new_heap): New memory_heap_new probe.
11587 (grow_heap): New memory_heap_more probe.
11588 (shrink_heap): New memory_heap_less probe.
11589 (heap_trim): New memory_heap_free probe.
11590 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11591 (systrim): New memory_sbrk_less probe.
11592 * manual/probes.texi: Document them.
11593
655673f3
AO
11594 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11595 * manual/probes.texi: Document it.
11596
35fed6f1
AO
11597 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11598 (__libc_realloc): Add memory_realloc_retry probe.
11599 (__libc_memalign): Add memory_memalign_retry probe.
11600 (__libc_valloc): Add memory_valloc_retry probe.
11601 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11602 (__libc_calloc): Add memory_calloc_retry probe.
11603 * manual/probes.texi: Document them.
11604
6999d38c
AO
11605 * malloc/arena.c (get_free_list): Add probe
11606 memory_arena_reuse_free_list.
11607 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11608 and memory_arena_reuse.
11609 (arena_get2) [!PER_THREAD]: Likewise.
11610 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11611 memory_arena_reuse_realloc.
11612 * manual/probes.texi: Document them.
11613
0653427f
AO
11614 * malloc/malloc.c (__libc_free): Add
11615 memory_mallopt_free_dyn_thresholds probe.
11616 (__libc_mallopt): Add multiple memory_mallopt probes.
11617 * manual/probes.texi: Document them.
11618
3ea5be54
AO
11619 * malloc/malloc.c: Include stap-probe.h.
11620 (__libc_mallopt): Add memory_mallopt probe.
11621 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11622 * manual/probes.texi: New.
11623 * manual/Makefile (chapters): Add probes.
11624 * manual/threads.texi: Set next node.
11625
e35696c3 116262013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11627
e35696c3
CL
11628 [BZ #15963, #13985]
11629 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11630 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11631 Add `Chinese' to `nan' entry name.
11632
4aafb73c
SP
116332013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
11635 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11636 (POLYNOMIAL): Likewise.
11637 (TAYLOR_SINCOS): Likewise.
11638 (TAYLOR_SLOW): Likewise.
11639 (__sin): Use TAYLOR_SINCOS.
11640 (__cos): Likewise.
11641 (slow): Use TAYLOR_SLOW.
11642 (sloww): Likewise.
11643 (bsloww): Likewise.
11644 (csloww): Likewise.
11645
d84f25c7
LD
116462013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11647
11648 * stdlib/strtod_l.c: Fix buffer overrun.
11649
5eea0404
SP
116502013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11651
7849ff93
SP
11652 * benchtests/Makefile (bench): Add sincos.
11653 * benchtests/bench-sincos.c: New file.
11654
cfa3c886
SP
11655 * math/libm-test.inc (cos_test_data): New test inputs.
11656 (sin_test_data): Likewise.
11657
b348e1e3
SP
11658 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11659 macro.
11660 (__sin): Use it.
11661 (__cos): Likewise.
11662 (slow1): Likewise.
11663 (slow2): Likewise.
11664 (sloww1): Likewise.
11665 (sloww2): Likewise.
11666 (bsloww1): Likewise.
11667 (bsloww2): Likewise.
11668 (cslow2): Likewise.
11669 (csloww1): Likewise.
11670 (csloww2): Likewise.
11671
6cce25f8
SP
11672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11673 function.
11674 (__sin): Use it.
11675 (__cos): Likewise.
11676
5eea0404
SP
11677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11678 gotos.
11679 (__cos): Likewise.
11680
9c21573c
MR
116812013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11682
11683 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11684 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11685 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11686 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11687 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11688 * elf/cache.c (print_entry): Handle the new cache flags.
11689
24d22e65
JM
116902013-09-18 Joseph Myers <joseph@codesourcery.com>
11691 Aldy Hernandez <aldyh@redhat.com>
11692
11693 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11694 Change condition to [_SOFT_FLOAT].
11695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11707 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11710 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11711 declaration.
11712
d13ef066
JM
117132013-09-18 Joseph Myers <joseph@codesourcery.com>
11714
2e071de0
JM
11715 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11716 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11717 (__longjmp): Use LOAD_GP to load saved GPRs.
11718 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11719 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11720 (__sigsetjmp): Use SAVE_GP to save GPRs.
11721
d13ef066
JM
11722 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11723 Do not append -msoft-float.
11724 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11725
97a0650b
SP
117262013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11727
11728 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11729
11ca09e9
JM
117302013-09-17 Joseph Myers <joseph@codesourcery.com>
11731
11732 [BZ #15966]
11733 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11734 (_FPU_GETCW): Use initial "__" on variable and field names but not
11735 on macro parameter name.
11736 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11737 parentheses around reference to macro parameter.
11738
08ffcf34
RS
117392013-09-13 Richard Sandiford <richard@codesourcery.com>
11740
11741 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11742 prototype.
11743 (ctype_startup): Use uint32_t in cast and sizeof for
11744 ctype->charnames.
11745
ae7080d3
JL
117462013-09-11 Jia Liu <proljc@gmail.com>
11747
11748 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11749 __daddr_t_defined.
11750 [__FreeBSD__]: Likewise.
11751
5905e7b3
OB
117522013-09-11 Ondřej Bílka <neleai@seznam.cz>
11753
11754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11755 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11756 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11757 (strchr): Remove __strchr_sse42 ifunc selection.
11758 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11759 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11760
b987c776
WN
117612013-09-11 Will Newton <will.newton@linaro.org>
11762
11763 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11764 parameter to RES. Remove hardcoded 1000 value.
11765 * benchtests/bench-skeleton.c (main): Pass RES parameter
11766 to TIMING_INIT and multiply result by 1000.
11767
ddf985af
AZ
117682013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11771
ffdd3181
AS
117722013-09-11 Andreas Schwab <schwab@suse.de>
11773
11774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11775 if not defined.
11776 (O_TMPFILE) [__USE_GNU]: Define.
11777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11778 Define.
11779
b73ed247
WN
117802013-09-11 Will Newton <will.newton@linaro.org>
11781
11782 [BZ #15857]
11783 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11784 does not overflow.
11785
55e17aad
WN
117862013-09-11 Will Newton <will.newton@linaro.org>
11787
11788 [BZ #15856]
11789 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11790 does not overflow.
11791
1159a193
WN
117922013-09-11 Will Newton <will.newton@linaro.org>
11793
11794 [BZ #15855]
11795 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11796 does not overflow.
11797
5905e7b3 117982013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11799
11800 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11805
cdfc721b
AM
118062013-09-10 Allan McRae <allan@archlinux.org>
11807
aa04af00
AM
11808 [BZ #15748]
11809 * manual/arith.texi (Parsing of Floats): Clarify
11810 cross-reference.
11811
cdfc721b
AM
11812 [BZ #15849]
11813 * manual/install.texi (Running make install): Mention
11814 --enable-pt-chown.
11815 * INSTALL: Regenerated.
11816
95e7cf29
MR
118172013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11818
11819 * csu/init-first.c (_init): Remove the !SHARED condition around
11820 FPU control word initialization.
11821 * elf/dl-support.c (_dl_fpu_control): New variable.
11822 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11823 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11824 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11825 * math/test-fpucw-static.c: New file.
11826 * math/test-fpucw-ieee.c: New file.
11827 * math/test-fpucw-ieee-static.c: New file.
11828 * math/Makefile (tests): Add `test-fpucw-ieee' and
11829 `$(tests-static)'.
11830 (tests-static): New variable.
11831 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11832 dependency to...
11833 [($(build-shared),yes)]
11834 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11835 ... this.
11836 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11837 New dependency.
11838
83e43bf0
AM
118392013-09-09 Allan McRae <allan@archlinux.org>
11840
a9f5ce09
AM
11841 [BZ #15939]
11842 * manual/string.texi (Collation Functions): Fix typo in
11843 strcoll example.
11844 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11845
34829bc2
AM
11846 [BZ #15893]
11847 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11848
3932737d
AM
11849 [BZ #15892]
11850 * libio/memstream.c (open_memstream): Fix memory leak.
11851 * libio/wmemstream.c (open_wmemstream): Likewise.
11852
83e43bf0
AM
11853 [BZ #15895]
11854 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11855
0c66b8e9
WN
118562013-09-09 Will Newton <will.newton@linaro.org>
11857
11858 * malloc/Makefile: Add tst-realloc to tests.
11859 * malloc/tst-realloc.c: New file.
11860
f6b00fd1
AM
118612013-09-09 Allan McRae <allan@archlinux.org>
11862
11863 [BZ #15844]
11864 * COPYING: Update from GNU website to fix FSF address.
11865 * COPYING.LIB: Likewise.
11866
eec55e16
DM
118672013-09-06 David S. Miller <davem@davemloft.net>
11868
11869 * po/zh_TW.po: Update Chinese (traditional) translation from
11870 translation project.
11871
1ecbb381
RS
118722013-09-06 Richard Sandiford <richard@codesourcery.com>
11873 Joseph Myers <joseph@codesourcery.com>
11874
11875 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11876 "localeinfo.h".
11877 (obstack_chunk_alloc): New macro.
11878 (obstack_chunk_free): Likewise.
11879 (record_offset): New function.
11880 (init_locale_data): Likewise.
11881 (align_locale_data): Likewise.
11882 (add_locale_empty): Likewise.
11883 (add_locale_raw_data): Likewise.
11884 (add_locale_raw_obstack): Likewise.
11885 (add_locale_string): Likewise.
11886 (add_locale_wstring): Likewise.
11887 (add_locale_uint32): Likewise.
11888 (add_locale_uint32_array): Likewise.
11889 (add_locale_char): Likewise.
11890 (start_locale_structure): Likewise.
11891 (end_locale_structure): Likewise.
11892 (start_locale_prelude): Likewise.
11893 (end_locale_prelude): Likewise.
11894 (write_locale_data): Take locale_file structure rather than an
11895 iovec.
11896 * locale/programs/locfile.h: Include "obstack.h".
11897 (struct locale_file): Change to store locale file contents instead
11898 of header.
11899 (init_locale_data): New prototype.
11900 (align_locale_data): Likewise.
11901 (add_locale_empty): Likewise.
11902 (add_locale_raw_data): Likewise.
11903 (add_locale_raw_obstack): Likewise.
11904 (add_locale_string): Likewise.
11905 (add_locale_wstring): Likewise.
11906 (add_locale_uint32): Likewise.
11907 (add_locale_uint32_array): Likewise.
11908 (add_locale_char): Likewise.
11909 (start_locale_structure): Likewise.
11910 (end_locale_structure): Likewise.
11911 (start_locale_prelude): Likewise.
11912 (end_locale_prelude): Likewise.
11913 (write_locale_data): Update prototype.
11914 * locale/programs/3level.h (struct TABLE): Remove result field.
11915 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11916 Use new locale_file interface.
11917 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11918 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11919 * locale/programs/ld-address.c (address_output): Use new
11920 locale_file interface.
11921 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11922 NO_ADD_LOCALE.
11923 (collate_finish): Don't call collseq_table_finalize.
11924 (collate_output): Use new locale_file interface.
11925 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11926 in file.
11927 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11928 (TABLE): Move defines earlier in file.
11929 (ELEMENT): Likewise.
11930 (DEFAULT): Likewise.
11931 (wctrans_table_add): Move macro and inline function earlier in
11932 file.
11933 (struct wctype_table): Move type earlier in file.
11934 (add_locale_wctype_table): New static prototype.
11935 (struct locale_ctype_t): Use logical types instead of struct iovec
11936 pointers for members.
11937 (ctype_output): Use new locale_file interface.
11938 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11939 new locale_file interface.
11940 (allocate_arrays): Update for use of new locale_file interface.
11941 * locale/programs/ld-identification.c (identification_output): Use
11942 new locale_file interface.
11943 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11944 * locale/programs/ld-messages.c (messages_output): Likewise.
11945 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11946 * locale/programs/ld-name.c (name_output): Likewise.
11947 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11948 * locale/programs/ld-paper.c (paper_output): Likewise.
11949 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11950 * locale/programs/ld-time.c (time_output): Likewise.
11951
e029e2e5
AZ
119522013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953
11954 * benchtests/Makefile: Add memrchr benchmark.
11955 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11956 benchmark as memrchr.
11957 * benchtests/bench-memrchr-ifunc.c: New file.
11958 * benchtests/bench-memrchr.c: New file.
11959
bbf6e8e4
WN
119602013-09-06 Will Newton <will.newton@linaro.org>
11961
11962 * benchtests/Makefile (string-bench): Add memcpy.
11963
6c82a2f8
CD
119642013-09-05 Carlos O'Donell <carlos@redhat.com>
11965 Cong Wang <amwang@redhat.com>
11966
e732c5f0 11967 [BZ #15850]
6c82a2f8
CD
11968 * sysdeps/unix/sysv/linux/bits/in.h
11969 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11970 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11971 before __USE_KERNEL_IPV6_DEFS uses.
11972 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11973 IPPROTO_BEETPH.
11974 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11975 sockaddr_in6, or ipv6_mreq.
11976
5430fc65
AZ
119772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11978
11979 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11980 memory access for final bytes in some large inputs.
11981 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11982
4660856c
AZ
119832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984
11985 * string/test-memrchr.c: New file.
11986 * string/test-memrchr-ifunc.c: New file.
11987 * string/Makefile: Add new memrchr testcase.
11988
bb8ea713
MF
119892013-09-05 Mike Frysinger <vapier@gentoo.org>
11990
11991 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11992 fanotify_init returns EPERM.
11993
b92a20b5
JM
119942013-09-04 Joseph Myers <joseph@codesourcery.com>
11995
11996 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11997 errors.
11998 (top level): Treat second token from macro or constant entries for
11999 allowed headers as allowed.
12000 * include/complex.h: Condition internal declarations on
12001 [!_ISOMAC].
12002 * include/fenv.h: Condition include of <stdbool.h> and internal
12003 declarations on [!_ISOMAC].
7447ccd9
CL
12004
120052013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12006
3e181dda 12007 [BZ #15923]
7447ccd9
CL
12008 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12009
3f2e46a4
JM
120102013-09-04 Joseph Myers <joseph@codesourcery.com>
12011
12012 * configure.in (--enable-versioning): Remove configure option.
12013 (libc_cv_asm_symver_directive): Remove configure test.
12014 (libc_cv_ld_version_script_option): Likewise.
12015 (VERSIONING): Remove variable and AC_SUBST.
12016 (DO_VERSIONING): Remove AC_DEFINE.
12017 * configure: Regenerated.
12018 * config.h.in (DO_VERSIONING): Remove macro.
12019 * Makerules [$(versioning) = yes]: Change conditionals to
12020 [$(build-shared) = yes].
12021 * config.make.in (versioning): Remove variable.
12022 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12023 [$(build-shared) = yes].
12024 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12025 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12026 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12027 [$(build-shared) = yes].
12028 * extra-lib.mk [$(versioning) = yes]: Likewise.
12029 * hurd/Makefile [$(versioning) = yes]: Likewise.
12030 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12031 [SHARED].
12032 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12033 [SHARED].
12034 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12035 [SHARED && !NO_HIDDEN].
12036 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12037 [SHARED].
12038 [SHARED && DO_VERSIONING]: Likewise..
12039 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12040 [$(build-shared) = yes].
12041 * manual/install.texi (--disable-versioning): Remove
12042 documentation.
12043 * INSTALL: Regenerated.
12044 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12045 to [SHARED].
12046 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12047 [$(build-shared) = yes].
12048 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12049 * sysdeps/i386/i686/multiarch/strstr-c.c
12050 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12051 [SHARED && !NO_HIDDEN].
12052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12053 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12054 * sysdeps/powerpc/powerpc32/dl-machine.c
12055 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12056 * sysdeps/powerpc/powerpc32/sysdep.h
12057 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12058 to [SHARED && PIC && !NO_HIDDEN].
12059 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12060 conditional to [SHARED].
12061
44558701
WN
120622013-09-04 Will Newton <will.newton@linaro.org>
12063
12064 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12065 * benchtests/bench-string.h: Include bench-timing.h instead
12066 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12067 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12068 call to HP_TIMING_DIFF_INIT.
12069 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12070 instead of hp-timing.h macros.
12071 * benchtests/bench-memchr.c: Likewise.
12072 * benchtests/bench-memcmp.c: Likewise.
12073 * benchtests/bench-memcpy.c: Likewise.
12074 * benchtests/bench-memmem.c: Likewise.
12075 * benchtests/bench-memmove.c: Likewise.
12076 * benchtests/bench-memset.c: Likewise.
12077 * benchtests/bench-rawmemchr.c: Likewise.
12078 * benchtests/bench-strcasecmp.c: Likewise.
12079 * benchtests/bench-strcasestr.c: Likewise.
12080 * benchtests/bench-strcat.c: Likewise.
12081 * benchtests/bench-strchr.c: Likewise.
12082 * benchtests/bench-strcmp.c: Likewise.
12083 * benchtests/bench-strcpy.c: Likewise.
12084 * benchtests/bench-strcpy_chk.c: Likewise.
12085 * benchtests/bench-strlen.c: Likewise.
12086 * benchtests/bench-strncasecmp.c: Likewise.
12087 * benchtests/bench-strncat.c: Likewise.
12088 * benchtests/bench-strncmp.c: Likewise.
12089 * benchtests/bench-strncpy.c: Likewise.
12090 * benchtests/bench-strnlen.c: Likewise.
12091 * benchtests/bench-strpbrk.c: Likewise.
12092 * benchtests/bench-strrchr.c: Likewise.
12093 * benchtests/bench-strspn.c: Likewise.
12094 * benchtests/bench-strstr.c: Likewise.
12095
cae16d66
WN
120962013-09-04 Will Newton <will.newton@linaro.org>
12097
12098 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12099
ffa3cd7f
JM
121002013-09-03 Joseph Myers <joseph@codesourcery.com>
12101
12102 [BZ #15427]
12103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12104 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12105 * math/libm-test.inc (lgamma_test_data): Add more tests.
12106 * sysdeps/i386/fpu/libm-test-ulps: Update.
12107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
8f02859f
OB
121092013-09-03 Ondřej Bílka <neleai@seznam.cz>
12110
12111 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12113 Add ifunc.
12114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12115 Add strcmp-sse2-unaligned
12116 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12117
18d43716
MF
121182013-09-02 Mike Frysinger <vapier@gentoo.org>
12119
12120 * Versions.def (libc): Add GLIBC_2.19.
12121
ac444012
MF
121222013-09-02 Mike Frysinger <vapier@gentoo.org>
12123
12124 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12125 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12126
b7835e32
JM
121272013-09-02 Joseph Myers <joseph@codesourcery.com>
12128
12129 [BZ #14155]
12130 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12131 intermediate calculations in recurrence.
12132 (__ieee754_ynf): Likewise.
12133 * math/libm-test.inc (jn_test_data): Do not allow spurious
12134 underflow exception. Add more tests.
12135 (yn_test_data): Add more tests.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138
8220f4f0
OB
121392013-09-02 Ondřej Bílka <neleai@seznam.cz>
12140
12141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12142
f24a6d08
OB
121432013-08-30 Ondřej Bílka <neleai@seznam.cz>
12144
12145 * csu/init-first.c: Fix then/than typos.
12146 * locale/programs/ld-collate.c: Likewise.
12147 * locale/programs/linereader.h: Likewise.
12148 * manual/charset.texi: Likewise.
12149 * manual/filesys.texi: Likewise.
12150 * manual/stdio.texi: Likewise.
12151 * manual/string.texi: Likewise.
12152 * stdlib/fmtmsg.c: Likewise.
12153 * sysdeps/i386/stpncpy.S: Likewise.
12154 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12155 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12156 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12157 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12158
382466e0
OB
121592013-08-30 Ondřej Bílka <neleai@seznam.cz>
12160
12161 * elf/dl-open.c: Fix typos.
12162 * iconvdata/gbbig5.c: Likewise.
12163 * iconvdata/iso-2022-jp.c: Likewise.
12164 * iconv/gconv_int.h: Likewise.
12165 * iconv/loop.c: Likewise.
12166 * nis/rpcsvc/nis.h: Likewise.
12167 * resolv/ns_name.c: Likewise.
12168 * stdio-common/vfscanf.c: Likewise.
12169 * streams/stropts.h: Likewise.
12170 * sunrpc/rpc_thread.c: Likewise.
12171 * sysdeps/i386/strpbrk.S: Likewise.
12172 * sysdeps/ieee754/k_standard.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12175 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12176 * sysdeps/mach/hurd/profil.c: Likewise.
12177 * sysdeps/s390/dl-procinfo.h: Likewise.
12178 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12180 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12181 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12183
0186c6e9
OB
121842013-08-30 Ondřej Bílka <neleai@seznam.cz>
12185
12186 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12188
d4e16af1
OB
121892013-08-29 Ondřej Bílka <neleai@seznam.cz>
12190
12191 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12192 aix specific files.
12193 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12194 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12195 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12197 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12198 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12199 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12201
88335980
TS
122022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12203 Roland McGrath <roland@hack.frob.com>
12204
12205 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12206 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12207
ed479b02
ST
122082013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12209
12210 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12211 __executable_start symbol instead of _start.
12212
f1cc4c86
TS
122132013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12214
d821f07c
TS
12215 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12216 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12217 Move macros to...
12218 * sysdeps/gnu/ldsodefs.h: ... this new file.
12219
c54290cf
TS
12220 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12221 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12222 instead of ELFOSABI_LINUX.
12223
0007fc9b 12224 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12225 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12226 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12227 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12228 Likewise.
12229 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12230 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12232 Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12234 (ibm_extended_long_double): Add ieee_nan member.
12235 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12236 (do_test): New function.
12237
f1cc4c86
TS
12238 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12239 TEST_TRUNC.
12240 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12241 functions, renamed from truncdfsf_test, trunctfsf_test,
12242 trunctfdf_test.
12243 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12244 functions.
12245 (do_test): Run all these.
12246
6f65e668
OB
122472013-08-29 Ondřej Bílka <neleai@seznam.cz>
12248
12249 * argp/argp-help.c: Fix typos.
12250 * argp/argp-parse.c: Likewise.
12251 * debug/backtracesyms.c: Likewise.
12252 * elf/elf.h: Likewise.
12253 * malloc/malloc.c: Likewise.
12254 * nis/nis_print.c: Likewise.
12255 * resolv/res_comp.c: Likewise.
12256 * stdlib/stdlib.h: Likewise.
12257 * sunrpc/clnt_tcp.c: Likewise.
12258 * sunrpc/clnt_udp.c: Likewise.
12259 * sunrpc/clnt_unix.c: Likewise.
12260 * sysdeps/unix/bsd/ptsname.c: Likewise.
12261 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12262 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12264 Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12266 Likewise.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12268 Likewise.
6f65e668
OB
12269 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12270
3a309239
SP
122712013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
12273 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12275
3b813b29
MF
122762013-08-27 Mike Frysinger <vapier@gentoo.org>
12277
12278 [BZ #15897]
12279 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12280 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12281 ($(objpfx)bug-dl-leaf): New rule.
12282 ($(objpfx)bug-dl-leaf.so): Likewise.
12283 ($(objpfx)bug-dl-leaf.out): Likewise.
12284 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12285 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12286 * dlfcn/bug-dl-leaf.c: New test.
12287 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12288 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12289 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12290 (dlclose): Likewise.
12291 (dlmopen): Likewise.
12292
8cc3269f
RM
122932013-08-27 Roland McGrath <roland@hack.frob.com>
12294
7f9d0034
RM
12295 * include/netdb.h [!_ISOMAC]:
12296 Don't include <tls.h>.
12297 (h_errno, __libc_h_errno): Move declaration and macros out of
12298 [_LIBC_REENTRANT].
12299
fb431262
RM
12300 * include/resolv.h [_RESOLV_H_]:
12301 Don't include <tls.h>.
12302 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12303 * resolv/res_libc.c: Don't include <tls.h>.
12304 (_res): Use __attribute__ ((nocommon)) in place of
12305 __attribute__ ((section (".bss"))).
12306
bd81123a
RM
12307 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12308 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12309
c4e42566
RM
12310 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12311
f890a59b
RM
12312 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12313 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12314
12315 * resolv/res_mkquery.c: Include <sys/time.h>.
12316
5d1f0a09
RM
12317 * inet/ifreq.c: Moved to ...
12318 * sysdeps/unix/ifreq.c: ... here.
12319 * inet/ifreq.c: New file, true stub version.
12320
6fcf28b3
RM
12321 * socket/sa_len.c: New file.
12322 * socket/Makefile (aux): Add it.
12323 * sysdeps/unix/sysv/linux/Makefile
12324 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12325 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12326 and #include <socket/sa_len.c>.
12327 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12328 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12329
e041fb8b
RM
12330 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12331 * bits/socket.h: ... here.
12332
8cc3269f
RM
12333 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12334 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12335 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12336
5d228a43
AS
123372013-08-27 Andreas Schwab <schwab@suse.de>
12338
45b8accc
AS
12339 [BZ #15736]
12340 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12341 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12342 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12343 * string/test-strcasecmp.c (test_main): Run tests in several
12344 locales.
12345 * string/test-strncasecmp.c (test_main): Likewise.
12346
5d228a43
AS
12347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12348 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12349 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12351 (__strncasecmp_ssse3) [PIC]: Likewise.
12352
59d112a4
RM
123532013-08-26 Roland McGrath <roland@hack.frob.com>
12354
53234cc3
RM
12355 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12356
59d112a4
RM
12357 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12358 instead of explicitly declaring xdecrypt.
12359 * nis/nss_nis/nis-publickey.c: Likewise.
12360
595aba70
SP
123612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12362
12363 [BZ #15890]
12364 * nscd/aicache.c: Include res_hconf.h.
12365 (addhstaiX): Initialize res_hconf.
12366
ffabd393
AS
123672013-08-26 Andreas Schwab <schwab@suse.de>
12368
12369 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12370 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12371
e0a69f5c
SP
123722013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12373
12374 * nscd/aicache.c (addhstaiX): Fix indentation.
12375
8c12f01d
MF
123762013-08-25 Mike Frysinger <vapier@gentoo.org>
12377
12378 * configure.ac: Quote $build_pt_chown test.
12379 * configure: Regenerated.
12380
8fe89494
JM
123812013-08-23 Joseph Myers <joseph@codesourcery.com>
12382
12383 [BZ #15532]
12384 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12385 * math/s_cexpf.c (__cexpf): Likewise.
12386 * math/s_cexpl.c (__cexpl): Likewise.
12387 * math/libm-test.inc (cexp_test_data): Correct expected return
12388 value for NaN + i0. Add another test.
12389
75b181d6
DM
123902013-08-22 David S. Miller <davem@davemloft.net>
12391
12392 * po/ca.po: Update Catalan translation from translation project.
936241e4 12393 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12394
acd06bb1
JM
123952013-08-21 Joseph Myers <joseph@codesourcery.com>
12396
12397 [BZ #15797]
12398 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12399 is infinite, not alongside NaN test.
12400 * math/s_fdimf.c (__fdimf): Likewise.
12401 * math/s_fdiml.c (__fdiml): Likewise.
12402 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12403 errno is unchanged.
12404
c0c3f78a
OB
124052013-08-21 Ondřej Bílka <neleai@seznam.cz>
12406
12407 * argp/argp-help.c: Fix typos.
12408 * crypt/speeds.c: Likewise.
12409 * csu/check_fds.c: Likewise.
12410 * elf/dl-load.c: Likewise.
12411 * elf/dl-open.c: Likewise.
12412 * elf/reldep3.c: Likewise.
12413 * elf/reldep.c: Likewise.
12414 * elf/sprof.c: Likewise.
12415 * iconv/iconv_charmap.c: Likewise.
12416 * iconv/skeleton.c: Likewise.
12417 * iconv/strtab.c: Likewise.
12418 * io/lockf64.c: Likewise.
12419 * libio/libioP.h: Likewise.
12420 * resolv/gai_notify.c: Likewise.
12421 * resolv/ns_name.c: Likewise.
12422 * resolv/ns_samedomain.c: Likewise.
12423 * resolv/res_send.c: Likewise.
12424 * stdlib/random.c: Likewise.
12425 * sunrpc/rpc/xdr.h: Likewise.
12426 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12428 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12429 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12434 * sysdeps/mach/hurd/check_fds.c: Likewise.
12435 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12438 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12441 * sysdeps/pthread/aio_notify.c: Likewise.
12442 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12443 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12446 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12447
46ed1038
LD
124482013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12449
12450 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12451 version if bit_Slow_SSE4_2 is set.
12452 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12454
d400dcac
AZ
124552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12456
12457 [BZ #15867]
12458 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12459 trampoline stack frame information.
12460 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12462 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12463 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12464 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12465 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12466 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12467 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12468 sa_flags value.
12469 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12470 interrupting a syscall and set with option SA_SIGINFO.
12471
42c8fdd8
JM
124722013-08-20 Joseph Myers <joseph@codesourcery.com>
12473
c980f2f4
JM
12474 [BZ #15531]
12475 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12476 argument is infinite.
12477 * math/s_cprojf.c (__cprojf): Likewise.
12478 * math/s_cprojl.c (__cprojl): Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12480 * math/libm-test.inc (cproj_test_data): Add more tests.
12481
0716c4fc
JM
12482 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12483
42c8fdd8
JM
12484 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12485 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12486 size. Use __ffs to determine corresponding shift.
12487
b31469d0
JM
124882013-08-20 Joseph Myers <joseph@codesourcery.com>
12489 Roland McGrath <roland@hack.frob.com>
12490
12491 * Makefile (INSTALL): Remove trailing blank lines from output of
12492 makeinfo.
12493
4e39af6e
AK
124942013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12495
12496 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12497 Align 32 bit compat elf_greg to 8 bytes.
12498
f315524e
AA
124992013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12500
12501 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12502
1326ba1a
SP
125032013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12504
12505 * string/strcoll_l.c (coll_seq): New structure.
12506 (get_next_seq_cached): New function.
12507 (get_next_seq): New function.
12508 (do_compare): New function.
12509 (STRCOLL): Use GNU style definition. Simplify implementation
12510 by using get_next_seq, get_next_seq_cached and do_compare.
12511
91ce4085
FW
125122013-08-16 Florian Weimer <fweimer@redhat.com>
12513
12514 [BZ #14699]
12515 CVE-2013-4237
12516 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12517 member.
12518 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12519 member.
12520 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12521 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12522 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12523 conditional.
12524 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12525 GETDENTS_64BIT_ALIGNED.
12526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12527 * manual/filesys.texi (Reading/Closing Directory): Document
12528 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12529 strongly.
12530 * manual/conf.texi (Limits for Files): Add portability note to
12531 NAME_MAX, PATH_MAX.
12532 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12533
ca0a6bc4
AS
125342013-08-13 Andreas Schwab <schwab@suse.de>
12535
12536 [BZ #15749]
12537 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12538 of fabs.
12539 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12540 LDBL_MAX_EXP >= 16384]: Add tests for it.
12541
6c1fd795
DM
125422013-08-12 David S. Miller <davem@davemloft.net>
12543
12544 * version.h (RELEASE): Set to "development".
12545 (VERSION): Set to "2.18.90".
12546 * NEWS: Add 2.19 section.
12547
31ad488d
DM
125482013-08-03 David S. Miller <davem@davemloft.net>
12549
12550 * po/ko.po: Update Korean translation from translation project.
12551
db24e684
DM
125522013-08-01 David S. Miller <davem@davemloft.net>
12553
12554 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12555 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12556 Bilka.
12557
f723285b
DM
125582013-07-30 David S. Miller <davem@davemloft.net>
12559
12560 * po/fr.po: Update French translation from translation project.
12561
3cbc52db
DM
125622013-07-28 David S. Miller <davem@davemloft.net>
12563
30bbc0cc
DM
12564 * po/cs.po: Update Czech translation from translation project.
12565
3cbc52db
DM
12566 * po/sv.po: Update Swedish translation from translation project.
12567
d492e6d0
DM
125682013-07-27 David S. Miller <davem@davemloft.net>
12569
f1a7f492
DM
12570 * po/eo.po: Update Esperanto translation from translation project.
12571
90e62a4a
DM
12572 * po/vi.po: Update Vietnamese translation from translation project.
12573
d492e6d0
DM
12574 * po/de.po: Update German translation from translation project.
12575
d4baa62d
DM
125762013-07-26 David S. Miller <davem@davemloft.net>
12577
641aa7b4
DM
12578 * po/bg.po: Update Bulgarian translation from translation project.
12579
d4baa62d
DM
12580 * po/nl.po: Update Dutch translation from translation project.
12581 * po/pl.po: Update Polish translation from translation project.
12582 * po/ru.po: Update Russian translation from translation project.
12583
61a9dcb9
DM
125842013-07-24 David S. Miller <davem@davemloft.net>
12585
12586 * po/libc.pot: Update.
12587
7b1f8b58
AZ
125882013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12589
12590 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12591 variable page size.
12592 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12594 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12595
a8fc7a03
AK
125962013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12597
12598 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12599
e4608715
CD
126002013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12601 Andreas Schwab <schwab@suse.de>
12602 Roland McGrath <roland@hack.frob.com>
12603 Joseph Myers <joseph@codesourcery.com>
12604 Carlos O'Donell <carlos@redhat.com>
12605
12606 [BZ #15755]
12607 * config.h.in: Define HAVE_PT_CHOWN.
12608 * config.make.in (build-pt-chown): New variable.
12609 * configure.in (--enable-pt_chown): New configure option.
12610 * configure: Regenerate.
12611 * login/Makefile: Include Makeconfig. Build pt_chown only if
12612 build-pt-chown is enabled.
12613 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12614 pt_chown to fix pty ownership.
12615 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12616 CLOSE_ALL_FDS.
12617 * manual/install.texi (Configuring and compiling): Mention
12618 --enable-pt_chown. Add @findex for grantpt.
12619 * INSTALL: Regenerate.
12620
da2d62df
DM
126212013-07-20 David S. Miller <davem@davemloft.net>
12622
12623 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12624 difference between 32-bit and 64-bit.
12625
d7e06450
CD
126262013-07-15 Carlos O'Donell <carlos@redhat.com>
12627
12628 [BZ #15711]
12629 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12630 Avoid system header dependency with -ffreestanding.
12631 ($(objpfx)bits/syscall%d): Likewise.
12632
f959cfd7
DM
126332013-07-13 David S. Miller <davem@davemloft.net>
12634
12635 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12636 underflows from atanl/atan2l due to bug 15319.
12637 (casinh_test_data): Likewise.
12638
c61f8513
DM
126392013-07-07 David S. Miller <davem@davemloft.net>
12640
12641 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12642
72c90ed0
JA
126432013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12644
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647
52dfbe13
SP
126482013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12649
12650 * configure.in (--enable-lock-elision): Fix message text.
12651 * INSTALL: Regenerate.
12652 * configure: Regenerate.
12653
3f169543
AZ
126542013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12655
12656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12657
521c6785
AJ
126582013-07-03 Andreas Jaeger <aj@suse.de>
12659
12660 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12661 define.
12662 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12663 (ptrace_peeksiginfo_args): Add.
12664 (__ptrace_peeksiginfo_flags): Add.
12665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12668
d2cc15cb
AM
126692013-07-03 Allan McRae <allan@archlinux.org>
12670
12671 * sysdeps/i386/fpu/libm-test-ulps: Update.
12672
3aaeeca7
DM
126732013-07-02 David S. Miller <davem@davemloft.net>
12674
12675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12676
5314ed1a
MT
126772013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12678
12679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12680
67338156
JM
126812013-07-02 Joseph Myers <joseph@codesourcery.com>
12682
12683 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12685
1717da59
AK
126862013-07-02 Andi Kleen <ak@linux.intel.com>
12687
12688 * config.h.in (ENABLE_LOCK_ELISION): Add.
12689 * configure.in (--enable-lock-elision): Add option.
12690 * manual/install.texi: Document --enable lock elision.
12691 * configure: Regenerate
12692 * INSTALL: Regenerate.
12693
1c81621c
L
126942013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12695
12696 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12697 SSE4.2 strcasecmp for libc.a.
12698 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12699
77f01ab5
JM
127002013-07-02 Joseph Myers <joseph@codesourcery.com>
12701
12702 [BZ #13304]
12703 * soft-fp/op-common.h (_FP_FMA): New macro.
12704 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12705 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12706 (_FP_MUL_MEAT_1_imm): ... here.
12707 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12708 (_FP_MUL_MEAT_1_wide): ... here.
12709 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12710 (_FP_MUL_MEAT_1_hard): ... here.
12711 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12712 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12713 (_FP_MUL_MEAT_2_wide): ... here.
12714 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12715 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12716 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12717 (_FP_MUL_MEAT_2_gmp): ... here.
12718 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12719 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12720 (_FP_MUL_MEAT_4_wide): ... here.
12721 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12722 (_FP_MUL_MEAT_4_gmp): ... here.
12723 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12724 (_FP_WFRACBITS_DW_S): Likewise.
12725 (_FP_WFRACXBITS_DW_S): Likewise.
12726 (_FP_HIGHBIT_DW_S): Likewise.
12727 (FP_FMA_S): Likewise.
12728 (_FP_FRAC_HIGH_DW_S): Likewise.
12729 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12730 (_FP_WFRACBITS_DW_D): Likewise.
12731 (_FP_WFRACXBITS_DW_D): Likewise.
12732 (_FP_HIGHBIT_DW_D): Likewise.
12733 (FP_FMA_D): Likewise.
12734 (_FP_FRAC_HIGH_DW_D): Likewise.
12735 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12736 (_FP_WFRACBITS_DW_E): Likewise.
12737 (_FP_WFRACXBITS_DW_E): Likewise.
12738 (_FP_HIGHBIT_DW_E): Likewise.
12739 (FP_FMA_E): Likewise.
12740 (_FP_FRAC_HIGH_DW_E): Likewise.
12741 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12742 (_FP_WFRACBITS_DW_Q): Likewise.
12743 (_FP_WFRACXBITS_DW_Q): Likewise.
12744 (_FP_HIGHBIT_DW_Q): Likewise.
12745 (FP_FMA_Q): Likewise.
12746 (_FP_FRAC_HIGH_DW_Q): Likewise.
12747 * soft-fp/fmasf4.c: New file.
12748 * soft-fp/fmadf4.c: Likewise.
12749 * soft-fp/fmatf4.c: Likewise.
12750
6308fd9a
LD
127512013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12752
12753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12754 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12755 Silvermont.
12756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12757 macro.
12758 (index_Slow_SSE4_2): Likewise.
12759 (index_Prefer_PMINUB_for_stringop): Likewise.
12760 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12761 bit_Slow_SSE4_2 is set.
12762 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12763 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12764
89cd9569
RA
127652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12766
12767 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12768 rtld_global._dl_hwcap2.
12769 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12770 POWER8.
12771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12772 POWER8 feature descriptions defined in _dl_hwcap2.
12773 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12774 string handling for POWER8 feature bits.
12775 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12776 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12777 _dl_powerpc_cap_flags.
12778 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12779 * sysdeps/powerpc/rtld-global-offsets.sym
12780 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12781 _dl_hwcap2 in the rtld_global_ro structure.
12782
1ae8bfe0
RA
127832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12784
12785 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12786 hardware capabilities in support of AT_HWCAP2.
12787 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12788 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12789 GLRO(dl_hwcap2).
12790 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12791 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12792 explicitly the unknown a_type display mechanism is used.
12793 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12794 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12795 struct member.
12796 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12797 to macro prototype for AT_HWCAP2 support.
12798 * sysdeps/i386/dl-procinfo.h: Likewise.
12799 * sysdeps/s390/dl-procinfo.h: Likewise.
12800 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12801 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12802 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12803 return -1 for unknown a_type display fallback.
12804 * sysdeps/sparc/dl-procinfo.h: Likewise.
12805 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12807
8fbec010
JM
128082013-06-28 Joseph Myers <joseph@codesourcery.com>
12809
12810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12811 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12812
0432680e
PY
128132013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12814
12815 [BZ #12492]
12816 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12817 mprotect making __stack_prot writable.
12818
ce61a2ad
NF
128192013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12820 Joseph Myers <joseph@codesourcery.com>
12821
12822 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12823 as being properly aligned.
12824
f91f1c0f
MR
128252013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12826
3d0f5d0c
MR
12827 * dlfcn/modstatic5.c: New file.
12828 * dlfcn/tststatic5.c: New file.
12829 * dlfcn/Makefile (tests): Add tststatic5.
12830 (tests-static): Likewise.
12831 (modules-names): Add modstatic5.
12832 (tststatic5-ENV): New variable.
12833 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12834
f91f1c0f
MR
12835 [BZ #15022]
12836 * elf/dl-support.c (_dl_main_map): New variable.
12837 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12838 (_dl_nns, _dl_load_adds): Set to 1.
12839 (_dl_initial_searchlist): Refer to _dl_main_map.
12840 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12841 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12842 call to _dl_get_origin.
12843 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12844 around call_map.
12845 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12846 * dlfcn/modstatic3.c: New file.
12847 * dlfcn/tststatic3.c: New file.
12848 * dlfcn/tststatic4.c: New file.
12849 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12850 (tests-static): Likewise.
12851 (modules-names): Add modstatic3.
12852 (tststatic3-ENV, tststatic4-ENV): New variables.
12853 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12854 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12855
cbe7d24b
JM
128562013-06-26 Joseph Myers <joseph@codesourcery.com>
12857
12858 * configure.in (CC): Require GCC version 4.4 or later.
12859 * configure: Regenerated.
12860 * manual/install.texi (Tools for Compilation): Update GCC version
12861 requirement.
12862 * INSTALL: Regenerated.
12863
11b8a0e1
LD
128642013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12865
12866 [BZ #15674]
bb5bb87c
L
12867 * string/test-memcmp.c (check2): New.
12868 (main): Call check2.
12869
11b8a0e1
LD
12870 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12871
b0037103
MR
128722013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12873
12874 [BZ #15022]
12875 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12876 over to...
12877 (dl_open_worker) [!SHARED]: ... here.
12878
c18c701d
RA
128792013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12880
12881 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12882
1d17fa5f
RH
128832013-06-25 Richard Henderson <rth@redhat.com>
12884
12885 * locale/programs/locarchive.c: Include <libc-internal.h>
12886
8fcb833a
JM
128872013-06-25 Joseph Myers <joseph@codesourcery.com>
12888
12889 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12890 trailing whitespace removed.
12891
17db6e8d
MF
128922013-06-24 Mike Frysinger <vapier@gentoo.org>
12893
12894 [BZ #10283]
17db6e8d
MF
12895 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12896 * locale/programs/locarchive.c: Include libc-mmap.h.
12897 (prepare_address_space): Take two new outputs (the mmap base and len).
12898 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12899 values.
12900 (create_archive): Declare new mmap base and len values for
12901 prepare_address_space, and store the result in ah.
12902 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12903 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12904 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12905 Declare new mmap base and len values for
12906 prepare_address_space, and store the result in new_ah.
12907 (open_archive): Declare new mmap base and len values for
12908 prepare_address_space, and store the result in ah.
12909 (close_archive): If ah->mmap_base is not NULL, use that and
12910 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12911 * sysdeps/generic/libc-mmap.h: New file.
12912
d605071e
MF
129132013-06-24 Mike Frysinger <vapier@gentoo.org>
12914
12915 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12916 (ALIGN_UP): Likewise.
12917 (PTR_ALIGN_DOWN): Likewise.
12918 (PTR_ALIGN_UP): Likewise.
12919
2f063a6e
RA
129202013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12921
12922 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12923 entry mapped to PPC_PLATFORM_POWER8.
12924 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12925 POWER8.
12926 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12927 (_dl_string_platform): Add case for exporting platform position for
12928 POWER8.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12930 search path to sysdeps/powerpc/powerpc32/power8 directory.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12932 search path to sysdeps/powerpc/powerpc64/power8 directory.
12933 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12934 power7 directories.
12935 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12936 power7 directories.
12937
a31ee4b3
SP
129382013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12939
a74ca98f
SP
12940 * INSTALL: Regenerate.
12941
a31ee4b3
SP
12942 * nscd/connections.c (nscd_init): Fix comment.
12943
695c378f
JM
129442013-06-22 Joseph Myers <joseph@codesourcery.com>
12945
d8412221
JM
12946 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12947
695c378f
JM
12948 [BZ #15667]
12949 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12950 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12951
d1d54715
MR
129522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12953
12954 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12955 DL_DST_REQ_STATIC.
12956 (DL_DST_REQ_STATIC): Remove macro.
12957
8fdda7af
JM
129582013-06-21 Joseph Myers <joseph@codesourcery.com>
12959
12960 [BZ #7006]
12961 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12962 with a shift of 0 bits.
12963
f3bc5e5a
MR
129642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12965
12966 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12967 $(tststatic-ENV).
12968
be09e8c9
KK
129692013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12970
12971 [BZ #15655]
12972 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12973
85c2e611
AZ
129742013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12975
12976 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12977 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12978 accepts -fno-tree-loop-distribute-patterns.
12979 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12980 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12981 recursive call.
12982 * string/memset.c (memset): Likewise.
12983 * string/test-memmove.c (simple_memmove): Disable loop transformation
12984 to library calls.
12985 * string/test-memset.c (simple_memset): Likewise.
12986 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12987 * benchtests/bench-memset.c (simple_memset): Likewise.
12988 * configure: Regenerated.
12989
c91e0825
JM
129902013-06-20 Joseph Myers <joseph@codesourcery.com>
12991
b8c792af
JM
12992 * math/test-misc.c (main): Ignore fesetround failure when failures
12993 of subsequent rounding tests would be ignored.
12994
c91e0825
JM
12995 [BZ #15654]
12996 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12997 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12998 * math/fegetenv.c (__fegetenv): Return 0.
12999 * math/fegetexcept.c (fegetexcept): Return 0.
13000 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13001 FE_TONEAREST.
13002 * math/feholdexcpt.c (feholdexcept): Return 0.
13003 * math/fesetenv.c (__fesetenv): Return 0.
13004 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13005 argument FE_TONEAREST.
13006 * math/feupdateenv.c (__feupdateenv): Return 0.
13007 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13008
bfcacbde
RM
130092013-06-18 Roland McGrath <roland@hack.frob.com>
13010
13011 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13012 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13013 ($(objpfx)rtld-%.os rules): Use them.
13014
e55a9b25
AZ
130152013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13016
13017 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13018 fields.
13019
346d65b3
RM
130202013-06-17 Roland McGrath <roland@hack.frob.com>
13021
12086fb4
RM
13022 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13023 length of target pattern, then descending length of dependency pattern.
13024 * configure.in (AWK): Require gawk 3.1.2 or newer.
13025 * manual/install.texi (Tools for Compilation): Say that we do.
13026 * configure: Regenerated.
13027
346d65b3
RM
13028 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13029 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13030 * scripts/sysd-rules.awk: ... this new script.
13031 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13032 than a glob-style pattern.
13033
1a846317
JM
130342013-06-17 Joseph Myers <joseph@codesourcery.com>
13035
13036 * math/test-misc.c (main): Do not treat incorrectly rounded
13037 conversions as failure unless ROUNDING_TESTS passes.
13038
8fc75e6f
JM
130392013-06-15 Joseph Myers <joseph@codesourcery.com>
13040
3711a167
JM
13041 [BZ #15631]
13042 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13043 restore exception state around main square root computation, then
13044 check for inexactness explicitly.
13045
8fc75e6f
JM
13046 * math/libm-test.inc (fma_test_data): Add another test.
13047
61dd6208
SP
130482013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13049
adf23d2c
SP
13050 * manual/threads.texi (Non-POSIX Extensions): New document
13051 node. Document pthread_getattr_default_np and
13052 pthread_setattr_default_np.
13053
61dd6208
SP
13054 * Versions.def (libpthread): Add GLIBC_2.18.
13055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13057 Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13059 Likewise.
13060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13061 Likewise.
13062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13063 Likewise.
13064 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13065 Likewise.
13066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13067 Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13069 Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13071 Likewise.
13072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13073 Likewise.
13074
d086fc7b
LD
130752013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13076
13077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13078 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13079
747ef469
SP
130802013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13081 H.J. Lu <hjl.tools@gmail.com>
13082
13083 [BZ #15627]
13084 * sysdeps/x86_64/rtld-memset.c: Remove file.
13085 * sysdeps/x86_64/rtld-memset.S: New file.
13086
1b2feed2
JM
130872013-06-14 Joseph Myers <joseph@codesourcery.com>
13088
13089 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13090 (test_in_one_mode): Take arguments for whether the rounding mode
13091 is supported for each floating-point type.
13092 (do_test): Pass new arguments to test_in_one_mode using
13093 ROUNDING_TESTS.
13094
a58ad3f8
RM
130952013-06-13 Roland McGrath <roland@hack.frob.com>
13096
13097 * posix/tst-waitid.c (do_test): Distinguish different instances of
13098 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13099 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13100 before entering the kernel for waitpid.
13101
c204ab28
SP
131022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13103
13104 * NEWS: Fix note on clock function precision. Text by Roland
13105 McGrath.
13106
f4a29fba
RM
131072013-06-13 Roland McGrath <roland@hack.frob.com>
13108
13109 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13110 it into place only when and if the sanity check passes.
13111
1f24b9ad
JM
131122013-06-13 Joseph Myers <joseph@codesourcery.com>
13113
13114 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13115 output for whether conversion result is exact. Take argument
13116 indicating whether type is IBM long double.
13117 (round_for_all): Change need_exact field to ibm_ld.
13118 * stdlib/tst-strtod-round.c (struct exactness): New type.
13119 (struct test): Change bool ld_ok field to struct exactness exact.
13120 (TEST): Update all definitions for change to field.
13121 (tests): Regenerate array contents.
13122 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13123 field value. Check for IBM long double here.
13124 (do_test): Update calls to test_in_one_mode.
13125
58206c68
SP
131262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13127
13128 [BZ #12515]
13129 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13130 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13131
2d6f4c5b 131322013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13133
13134 [BZ #15605]
13135 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13136 generated by the compiler on loop optimizations.
13137 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13138 general definitions.
13139
94f2c076
JM
131402013-06-12 Joseph Myers <joseph@codesourcery.com>
13141
13142 * math/bug-nextafter.c: Include <math-tests.h>.
13143 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13144 the relevant type.
13145 * math/bug-nexttoward.c: Include <math-tests.h>.
13146 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13147 the relevant type.
13148 * math/test-misc.c: Include <math-tests.h>.
13149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13150 the relevant type.
13151
e0e50a0a
AJ
131522013-06-12 Andreas Jaeger <aj@suse.de>
13153
13154 * po/ia.po: Update Interlingua translation from translation
13155 project.
13156
25061094
SP
131572013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13158
13159 * include/fenv.h: Include stdbool.h.
13160 (struct rm_ctx): New structure.
13161 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13162 Define macro.
13163 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13164 (SET_RESTORE_ROUNDF): Likewise.
13165 (SET_RESTORE_ROUNDL): Likewise.
13166 (SET_RESTORE_ROUND_NOEX): Likewise.
13167 (SET_RESTORE_ROUND_NOEXF): Likewise.
13168 (SET_RESTORE_ROUND_NOEXL): Likewise.
13169 (SET_RESTORE_ROUND_53BIT): Likewise.
13170 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13171 (libc_feresetround_noexf_ctx): Likewise.
13172 (libc_feresetround_noexl_ctx): Likewise.
13173 (libc_feholdsetround_53bit_ctx): Likewise.
13174 (libc_feresetround_53bit_ctx): Likewise.
13175 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13176 (libc_feholdexcept_setround_sse_ctx): New function.
13177 (libc_fesetenv_sse_ctx): Likewise.
13178 (libc_feupdateenv_sse_ctx): Likewise.
13179 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13180 (libc_feholdexcept_setround_387_ctx): Likewise.
13181 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13182 (libc_feholdsetround_387_prec_ctx): Likewise.
13183 (libc_feholdsetround_387_ctx): Likewise.
13184 (libc_feholdsetround_387_53bit_ctx): Likewise.
13185 (libc_feholdsetround_sse_ctx): Likewise.
13186 (libc_feresetround_sse_ctx): Likewise.
13187 (libc_feresetround_387_ctx): Likewise.
13188 (libc_feupdateenv_387_ctx): Likewise.
13189 (libc_feholdexcept_setroundf_ctx): Define macro.
13190 (libc_fesetenvf_ctx): Likewise.
13191 (libc_feupdateenvf_ctx): Likewise.
13192 (libc_feholdsetroundf_ctx): Likewise.
13193 (libc_feresetroundf_ctx): Likewise.
13194 (libc_feholdexcept_setround_ctx): Likewise.
13195 (libc_fesetenv_ctx): Likewise.
13196 (libc_feupdateenv_ctx): Likewise.
13197 (libc_feholdsetround_ctx): Likewise.
13198 (libc_feresetround_ctx): Likewise.
13199 (libc_feholdexcept_setroundl_ctx): Likewise.
13200 (libc_feupdateenvl_ctx): Likewise.
13201 (libc_feholdsetroundl_ctx): Likewise.
13202 (libc_feresetroundl_ctx): Likewise.
13203 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13204 (libc_feresetround_53bit_ctx): Likewise.
13205
59b30555
SP
132062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13207
13208 * locale/iso-639.def: Convert to UTF-8.
13209
f1d73d30
JM
132102013-06-11 Joseph Myers <joseph@codesourcery.com>
13211
13212 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13213 (EXCEPTION_TESTS_double): Likewise.
13214 (EXCEPTION_TESTS_long_double): Likewise.
13215 (EXCEPTION_TESTS): Likewise.
13216 * math/libm-test.inc (test_exceptions): Only test exceptions if
13217 EXCEPTION_TESTS (FLOAT).
13218
94aca5e7
SP
132192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13220
13221 * benchtests/Makefile (string-bench): Add strcpy_chk and
13222 stpcpy_chk.
13223 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13224 * benchtests/bench-stpcpy_chk.c: New file.
13225 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13226 * benchtests/bench-strcpy_chk.c: New file.
13227 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13228 code.
13229 (do_test): Likewise.
13230
fac0c5f2
RA
132312013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13232
13233 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13234 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13235 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13236 with tabs where appropriate.
13237 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13238 dl-procinfo.h.
13239 [PPC_PLATFORM_PPC440]: Likewise.
13240 [PPC_PLATFORM_PPC464]: Likewise.
13241 [PPC_PLATFORM_PPC476]: Likewise.
13242 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13243 ppc464, and ppc476 platform strings merging from ports/
13244 dl-procinfo.h.
13245
f22bc486
AS
132462013-06-11 Andreas Schwab <schwab@suse.de>
13247
13248 [BZ #14991]
13249 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13250 (from_ucs4_idx): Regenerate.
13251 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13252 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13253 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13254 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13255 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13256 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13257 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13258 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13259 from FROM_LOOP and TO_LOOP specific macros.
13260 (BODY): Handle combining characters.
13261 * iconvdata/BIG5HKSCS.irreversible: Update.
13262 * iconvdata/BIG5HKSCS.precomposed: New file.
13263 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13264 characters.
13265 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13266
c1f75dc3
SP
132672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13268
4eacded2
SP
13269 * include/sys/time.h: Fix indentation and add copyright header.
13270
fec799f8
SP
13271 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13272 (do_test): Likewise.
13273 * string/test-memchr.c (do_one_test): Likewise.
13274 (do_test): Likewise.
13275 * string/test-memcmp.c (do_one_test): Likewise.
13276 (do_test): Likewise.
13277 * string/test-memcpy.c (do_one_test): Likewise.
13278 (do_test): Likewise.
13279 * string/test-memmem.c (do_one_test): Likewise.
13280 (do_test): Likewise.
13281 (do_random_tests): Likewise.
13282 * string/test-memmove.c (do_one_test): Likewise.
13283 (do_test): Likewise.
13284 * string/test-memset.c (do_one_test): Likewise.
13285 (do_test): Likewise.
13286 * string/test-rawmemchr.c (do_one_test): Likewise.
13287 (do_test): Likewise.
13288 * string/test-strcasecmp.c (do_one_test): Likewise.
13289 (do_test): Likewise.
13290 * string/test-strcasestr.c (do_one_test): Likewise.
13291 (do_test): Likewise.
13292 * string/test-strcat.c (do_one_test): Likewise.
13293 (do_test): Likewise.
13294 * string/test-strchr.c (do_one_test): Likewise.
13295 (do_test): Likewise.
13296 * string/test-strcmp.c (do_one_test): Likewise.
13297 (do_test): Likewise.
13298 * string/test-strcpy.c (do_one_test): Likewise.
13299 (do_test): Likewise.
13300 * string/test-string.h: Likewise.
13301 (test_init): Likewise.
13302 * string/test-strlen.c (do_one_test): Likewise.
13303 (do_test): Likewise.
13304 * string/test-strncasecmp.c (do_one_test): Likewise.
13305 (do_test): Likewise.
13306 * string/test-strncat.c (do_one_test): Likewise.
13307 (do_test): Likewise.
13308 * string/test-strncmp.c (do_one_test): Likewise.
13309 (do_test_limit): Likewise.
13310 (do_test): Likewise.
13311 * string/test-strncpy.c (do_one_test): Likewise.
13312 (do_test): Likewise.
13313 * string/test-strnlen.c (do_one_test): Likewise.
13314 (do_test): Likewise.
13315 * string/test-strpbrk.c (do_one_test): Likewise.
13316 (do_test): Likewise.
13317 * string/test-strrchr.c (do_one_test): Likewise.
13318 (do_test): Likewise.
13319 * string/test-strspn.c (do_one_test): Likewise.
13320 (do_test): Likewise.
13321 * string/test-strstr.c (do_one_test): Likewise.
13322 (do_test): Likewise.
13323
97020474
SP
13324 * benchtests/Makefile (string-bench): Add string benchmarks.
13325 * benchtests/bench-bcopy-ifunc.c: New file.
13326 * benchtests/bench-bcopy.c: New file.
13327 * benchtests/bench-bzero-ifunc.c: New file.
13328 * benchtests/bench-bzero.c: New file.
13329 * benchtests/bench-memccpy-ifunc.c: New file.
13330 * benchtests/bench-memccpy.c: New file.
13331 * benchtests/bench-memchr-ifunc.c: New file.
13332 * benchtests/bench-memchr.c: New file.
13333 * benchtests/bench-memcmp-ifunc.c: New file.
13334 * benchtests/bench-memcmp.c: New file.
13335 * benchtests/bench-memmem-ifunc.c: New file.
13336 * benchtests/bench-memmem.c: New file.
13337 * benchtests/bench-memmove-ifunc.c: New file.
13338 * benchtests/bench-memmove.c: New file.
13339 * benchtests/bench-mempcpy-ifunc.c: New file.
13340 * benchtests/bench-mempcpy.c: New file.
13341 * benchtests/bench-memset-ifunc.c: New file.
13342 * benchtests/bench-memset.c: New file.
13343 * benchtests/bench-rawmemchr-ifunc.c: New file.
13344 * benchtests/bench-rawmemchr.c: New file.
13345 * benchtests/bench-stpcpy-ifunc.c: New file.
13346 * benchtests/bench-stpcpy.c: New file.
13347 * benchtests/bench-stpncpy-ifunc.c: New file.
13348 * benchtests/bench-stpncpy.c: New file.
13349 * benchtests/bench-strcasecmp-ifunc.c: New file.
13350 * benchtests/bench-strcasecmp.c: New file.
13351 * benchtests/bench-strcasestr-ifunc.c: New file.
13352 * benchtests/bench-strcasestr.c: New file.
13353 * benchtests/bench-strcat-ifunc.c: New file.
13354 * benchtests/bench-strcat.c: New file.
13355 * benchtests/bench-strchr-ifunc.c: New file.
13356 * benchtests/bench-strchr.c: New file.
13357 * benchtests/bench-strchrnul-ifunc.c: New file.
13358 * benchtests/bench-strchrnul.c: New file.
13359 * benchtests/bench-strcmp-ifunc.c: New file.
13360 * benchtests/bench-strcmp.c: New file.
13361 * benchtests/bench-strcpy-ifunc.c: New file.
13362 * benchtests/bench-strcpy.c: New file.
13363 * benchtests/bench-strcspn-ifunc.c: New file.
13364 * benchtests/bench-strcspn.c: New file.
13365 * benchtests/bench-strlen-ifunc.c: New file.
13366 * benchtests/bench-strlen.c: New file.
13367 * benchtests/bench-strncasecmp-ifunc.c: New file.
13368 * benchtests/bench-strncasecmp.c: New file.
13369 * benchtests/bench-strncat-ifunc.c: New file.
13370 * benchtests/bench-strncat.c: New file.
13371 * benchtests/bench-strncmp-ifunc.c: New file.
13372 * benchtests/bench-strncmp.c: New file.
13373 * benchtests/bench-strncpy-ifunc.c: New file.
13374 * benchtests/bench-strncpy.c: New file.
13375 * benchtests/bench-strnlen-ifunc.c: New file.
13376 * benchtests/bench-strnlen.c: New file.
13377 * benchtests/bench-strpbrk-ifunc.c: New file.
13378 * benchtests/bench-strpbrk.c: New file.
13379 * benchtests/bench-strrchr-ifunc.c: New file.
13380 * benchtests/bench-strrchr.c: New file.
13381 * benchtests/bench-strspn-ifunc.c: New file.
13382 * benchtests/bench-strspn.c: New file.
13383 * benchtests/bench-strstr-ifunc.c: New file.
13384 * benchtests/bench-strstr.c: New file.
13385
c1f75dc3
SP
13386 * benchtests/Makefile: Disable parallel execution of targets.
13387 (string-bench): Add memcpy.
13388 (benchset): New variable to store a list of benchmark sets.
13389 (bench-func): Renamed from bench.
13390 (bench-set): New target.
13391 (bench): Depend on bench-func and bench-set.
13392 * benchtests/README: Add section on benchmark sets.
13393 * benchtests/bench-memcpy-ifunc.c: New file.
13394 * benchtests/bench-memcpy.c: New file.
13395 * benchtests/bench-string.h: New file.
13396
50fd745b
AS
133972013-06-11 Andreas Schwab <schwab@suse.de>
13398
13399 [BZ #15577]
13400 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13401 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13402 values in the triple.
13403 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13404 terminator in the group key.
13405
3ee7e9fe
AJ
134062013-06-11 Andreas Jaeger <aj@suse.de>
13407
13408 * po/zh_TW.po: Update Chinese (traditional) translation from
13409 translation project.
13410
89fb6835
SP
134112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13414 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13415 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13416 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13417 (clock_getcpuclockid): Likewise.
13418 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13419 Add weak_alias and libc_hidden_def.
13420 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13421 * rt/clock_gettime.c (clock_gettime): Rename to
13422 __clock_gettime. Add weak_alias and libc_hidden_def.
13423 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13424 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13425 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13426 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13427 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13428 Likewise.
13429 * rt/clock_settime.c (clock_settime): Rename to
13430 __clock_settime. Add weak_alias and libc_hidden_def.
13431 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13432
0efa6f8b
JM
134332013-06-10 Joseph Myers <joseph@codesourcery.com>
13434
b8c61b4b
JM
13435 * mach/err_boot.sub: Remove trailing whitespace.
13436 * mach/err_ipc.sub: Likewise.
13437 * mach/err_mach.sub: Likewise.
13438
0efa6f8b
JM
13439 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13440 (ROUNDING_TESTS_double): Likewise.
13441 (ROUNDING_TESTS_long_double): Likewise.
13442 (ROUNDING_TESTS): Likewise.
13443 * math/libm-test.inc: Include <math-tests.h>.
13444 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13448
50b818bf
SP
134492013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13450
13451 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13452 of assigning.
13453
60d2f8f3
JM
134542013-06-08 Joseph Myers <joseph@codesourcery.com>
13455
4902d2c3
JM
13456 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13457 otherwise empty TRANS lines.
13458 * sysdeps/gnu/errlist.c: Regenerated.
13459
60d2f8f3
JM
13460 * catgets/gencat.c (error_print): Use (void) in function
13461 definition.
13462 * crypt/crypt_util.c (__init_des): Likewise.
13463 * crypt/speeds.c (Stop): Likewise.
13464 (main): Likewise.
13465 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13466 * inet/ruserpass.c (token): Likewise.
13467 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13468 * intl/localealias.c (extend_alias_table): Likewise.
13469 * intl/plural-exp.c (init_germanic_plural): Likewise.
13470 * libio/fcloseall.c (__fcloseall): Likewise.
13471 * libio/genops.c (_IO_flush_all): Likewise.
13472 (_IO_flush_all_linebuffered): Likewise.
13473 (_IO_cleanup): Likewise.
13474 (_IO_iter_begin): Likewise.
13475 (_IO_iter_end): Likewise.
13476 (_IO_list_lock): Likewise.
13477 (_IO_list_unlock): Likewise.
13478 (_IO_list_resetlock): Likewise.
13479 * libio/getchar.c (getchar): Likewise.
13480 * libio/getchar_u.c (getchar_unlocked): Likewise.
13481 * libio/getwchar.c (getwchar): Likewise.
13482 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13483 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13484 * login/getpt.c (__getpt): Likewise.
13485 * login/tst-utmp.c (main): Likewise.
13486 * malloc/hooks.c (__malloc_check_init): Likewise.
13487 * malloc/malloc.c (__malloc_stats): Likewise.
13488 * malloc/mtrace.c (tr_break): Likewise.
13489 (mtrace): Likewise.
13490 (muntrace): Likewise.
13491 * misc/fstab.c (endfsent): Likewise.
13492 * misc/getclktck.c (__getclktck): Likewise.
13493 * misc/getdtsz.c (__getdtablesize): Likewise.
13494 * misc/gethostid.c (gethostid): Likewise.
13495 * misc/getpagesize.c (__getpagesize): Likewise.
13496 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13497 (__get_nprocs): Likewise.
13498 (__get_phys_pages): Likewise.
13499 (__get_avphys_pages): Likewise.
13500 * misc/getttyent.c (getttyent): Likewise.
13501 (setttyent): Likewise.
13502 (endttyent): Likewise.
13503 * misc/getusershell.c (getusershell): Likewise.
13504 (endusershell): Likewise.
13505 (setusershell): Likewise.
13506 (initshells): Likewise.
13507 * misc/hsearch.c (__hdestroy): Likewise.
13508 * misc/sync.c (sync): Likewise.
13509 * misc/syslog.c (closelog_internal): Likewise.
13510 (closelog): Likewise.
13511 * misc/ttyslot.c (ttyslot): Likewise.
13512 * misc/vhangup.c (vhangup): Likewise.
13513 * posix/fork.c (__fork): Likewise.
13514 * posix/getegid.c (__getegid): Likewise.
13515 * posix/geteuid.c (__geteuid): Likewise.
13516 * posix/getgid.c (__getgid): Likewise.
13517 * posix/getpid.c (__getpid): Likewise.
13518 * posix/getppid.c (__getppid): Likewise.
13519 * posix/getuid.c (__getuid): Likewise.
13520 * posix/pause.c (pause): Likewise.
13521 * posix/setpgrp.c (setpgrp): Likewise.
13522 * posix/setsid.c (__setsid): Likewise.
13523 * posix/test-vfork.c (noop): Likewise.
13524 * resolv/gethnamaddr.c (_endhtent): Likewise.
13525 (_gethtent): Likewise.
13526 (ht_endhostent): Likewise.
13527 (gethostent): Likewise.
13528 (dns_service): Likewise.
13529 * stdlib/drand48.c (drand48): Likewise.
13530 * stdlib/lrand48.c (lrand48): Likewise.
13531 * stdlib/mrand48.c (mrand48): Likewise.
13532 * stdlib/rand.c (rand): Likewise.
13533 * stdlib/random.c (__random): Likewise.
13534 * stdlib/setenv.c (clearenv): Likewise.
13535 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13536 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13537 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13538 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13539 (__get_nprocs): Likewise.
13540 (__get_phys_pages): Likewise.
13541 (__get_avphys_pages): Likewise.
13542 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13543 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13544 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13545 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13546 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13547 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13548 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13549 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13550 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13551 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13552 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13553 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13554 * sysdeps/posix/clock.c (clock): Likewise.
13555 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13556 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13557 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13558 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13559 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13561 (__get_nprocs_conf): Likewise.
13562 (__get_phys_pages): Likewise.
13563 (__get_avphys_pages): Likewise.
13564 * time/clock.c (clock): Likewise.
13565 * time/tzset.c (__tzname_max): Likewise.
13566
2e09a79a
JM
135672013-06-07 Joseph Myers <joseph@codesourcery.com>
13568
13569 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13570 (__bswap_32): Do not use "register".
13571 * crypt/crypt.c (_ufc_doit_r): Likewise.
13572 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13573 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13574 * gmon/gmon.c (__monstartup): Likewise.
13575 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13576 * hurd/hurdmalloc.c (more_memory): Likewise.
13577 (malloc): Likewise.
13578 (free): Likewise.
13579 (realloc): Likewise.
13580 (malloc_fork_prepare): Likewise.
13581 (malloc_fork_parent): Likewise.
13582 (malloc_fork_child): Likewise.
13583 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13584 (_svcauth_des): Likewise.
13585 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13586 * inet/inet_net.c (inet_network): Likewise.
13587 * inet/inet_netof.c (inet_netof): Likewise.
13588 * inet/rcmd.c (__validuser2_sa): Likewise.
13589 * io/fts.c (fts_open): Likewise.
13590 (fts_load): Likewise.
13591 (fts_close): Likewise.
13592 (fts_read): Likewise.
13593 (fts_children): Likewise.
13594 (fts_build): Likewise.
13595 (fts_stat): Likewise.
13596 (fts_sort): Likewise.
13597 (fts_alloc): Likewise.
13598 (fts_lfree): Likewise.
13599 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13600 (_IO_file_xsgetn): Likewise.
13601 (_IO_file_xsgetn_mmap): Likewise.
13602 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13603 (_IO_cookie_write): Likewise.
13604 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13605 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13606 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13607 * malloc/obstack.c (_obstack_begin): Likewise.
13608 (_obstack_begin_1): Likewise.
13609 (_obstack_newchunk): Likewise.
13610 (_obstack_allocated_p): Likewise.
13611 (obstack_free): Likewise.
13612 (_obstack_memory_used): Likewise.
13613 * misc/getttyent.c (getttynam): Likewise.
13614 (getttyent): Likewise.
13615 (skip): Likewise.
13616 (value): Likewise.
13617 * misc/getusershell.c (initshells): Likewise.
13618 * misc/syslog.c (__vsyslog_chk): Likewise.
13619 * misc/ttyslot.c (ttyslot): Likewise.
13620 * nis/nis_hash.c (__nis_hash): Likewise.
13621 * posix/fnmatch_loop.c (FCT): Likewise.
13622 * posix/getconf.c (print_all): Likewise.
13623 (main): Likewise.
13624 * posix/getopt.c (exchange): Likewise.
13625 * posix/glob.c (globfree): Likewise.
13626 (prefix_array): Likewise.
13627 (__glob_pattern_type): Likewise.
13628 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13629 (NS_GET32): Likewise.
13630 (NS_PUT16): Likewise.
13631 (NS_PUT32): Likewise.
13632 * resolv/gethnamaddr.c (getanswer): Likewise.
13633 (gethostbyname2): Likewise.
13634 (gethostbyaddr): Likewise.
13635 (_gethtent): Likewise.
13636 (_gethtbyname2): Likewise.
13637 (_gethtbyaddr): Likewise.
13638 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13639 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13640 * resolv/res_init.c (__res_vinit): Likewise.
13641 (net_mask): Likewise.
13642 * resolv/res_mkquery.c (outchar): Likewise.
13643 (PRINT): Likewise.
13644 * stdio-common/printf_fp.c (outchar): Likewise.
13645 (PRINT): Likewise.
13646 * stdio-common/printf_fphex.c (outchar): Likewise.
13647 (PRINT): Likewise.
13648 * stdio-common/printf_size.c (outchar): Likewise.
13649 (PRINT): Likewise.
13650 * stdio-common/test_rdwr.c (main): Likewise.
13651 * stdio-common/tfformat.c (matches): Likewise.
13652 * stdio-common/vfprintf.c (outchar): Likewise.
13653 (printf_unknown): Likewise.
13654 (buffered_vfprintf): Likewise.
13655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13656 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13657 (ReadFile): Likewise.
13658 * stdlib/qsort.c (SWAP): Likewise.
13659 (_quicksort): Likewise.
13660 * stdlib/setenv.c (__add_to_environ): Likewise.
13661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13662 * stdlib/strtol_l.c (__strtol_l): Likewise.
13663 * stdlib/tst-strtod.c (main): Likewise.
13664 * stdlib/tst-strtol.c (main): Likewise.
13665 * stdlib/tst-strtoll.c (main): Likewise.
13666 * string/bits/string2.h (__strcmp_cc): Likewise.
13667 (__strcmp_cg): Likewise.
13668 (__strcspn_c1): Likewise.
13669 (__strcspn_c2): Likewise.
13670 (__strcspn_c3): Likewise.
13671 (__strspn_c1): Likewise.
13672 (__strspn_c2): Likewise.
13673 (__strspn_c3): Likewise.
13674 (__strsep_1c): Likewise.
13675 (__strsep_2c): Likewise.
13676 (__strsep_3c): Likewise.
13677 * string/memccpy.c (__memccpy): Likewise.
13678 * string/stpcpy.c (__stpcpy): Likewise.
13679 * string/strcmp.c (strcmp): Likewise.
13680 * string/strrchr.c (strrchr): Likewise.
13681 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13682 Likewise.
13683 * sysdeps/mach/hurd/getcwd.c
13684 (_hurd_canonicalize_directory_name_internal): Likewise.
13685 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13686 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13687 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13688 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13689 Likewise, in both definitions.
13690 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13691 definitions.
13692 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13693 64] (__bswap_64): Likewise.
13694 * time/test_time.c (main): Likewise.
13695 * time/tzfile.c (__tzfile_read): Likewise.
13696 (__tzfile_compute): Likewise.
13697 * time/tzset.c (__tzset_parse_tz): Likewise.
13698 (tzset_internal): Likewise.
13699 (compute_change): Likewise.
13700 * wcsmbs/wcscat.c (__wcscat): Likewise.
13701 * wcsmbs/wcschr.c (wcschr): Likewise.
13702 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13703 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13704 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13705 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13706 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13707 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13708 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13709 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13710 * wcsmbs/wmemset.c (wmemset): Likewise.
13711
9e54314b
JM
137122013-06-06 Joseph Myers <joseph@codesourcery.com>
13713
13714 * scripts/config.guess: Update to version 2013-05-16.
13715 * scripts/config.sub: Update to version 2013-04-24.
13716 * scripts/install-sh: Update to version 2011-11-20.07.
13717 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13718 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13719
350635a5
OB
137202013-06-06 Ondřej Bílka <neleai@seznam.cz>
13721
13722 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13723 * elf/sln.c: Likewise.
13724 * hurd/hurd/ioctl.h: Likewise.
13725 * hurd/hurdmalloc.c: Likewise.
13726 * hurd/xattr.c: Likewise.
13727 * include/shlib-compat.h: Likewise.
13728 * inet/ruserpass.c: Likewise.
13729 * libio/iofgets_u.c: Likewise.
13730 * libio/iofgetws_u.c: Likewise.
13731 * locale/programs/ld-identification.c: Likewise.
13732 * locale/programs/ld-time.c: Likewise.
13733 * mach/msg-destroy.c: Likewise.
13734 * nss/nss_files/files-netgrp.c: Likewise.
13735 * resolv/res_data.c: Likewise.
13736 * soft-fp/op-1.h: Likewise.
13737 * soft-fp/op-2.h: Likewise.
13738 * soft-fp/op-4.h: Likewise.
13739 * soft-fp/op-common.h: Likewise.
13740 * stdio-common/printf_fphex.c: Likewise.
13741 * stdlib/strtod_l.c: Likewise.
13742 * sunrpc/rpc/clnt.h: Likewise.
13743 * sysdeps/generic/framestate.c: Likewise.
13744 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13745 * sysdeps/i386/bsd-setjmp.S: Likewise.
13746 * sysdeps/i386/__longjmp.S: Likewise.
13747 * sysdeps/i386/setjmp.S: Likewise.
13748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13766 * sysdeps/ieee754/support.c: Likewise.
13767 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13768 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13769 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13770 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13771 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13772 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13773 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13774 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13775 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13776 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13777 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13778 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13779 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13780 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13781 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13782 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13783 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13785
44a988af
OB
137862013-06-05 Ondřej Bílka <neleai@seznam.cz>
13787
25506f09 13788 * posix/transbug.c: Remove executable mode.
44a988af 13789
9c84384c
JM
137902013-06-05 Joseph Myers <joseph@codesourcery.com>
13791
13792 * crypt/speeds.c: Remove trailing whitespace.
13793 * dlfcn/default.c: Likewise.
13794 * elf/ifuncdep2.c: Likewise.
13795 * elf/ifuncmain1.c: Likewise.
13796 * elf/ifuncmain1vis.c: Likewise.
13797 * elf/testobj.h: Likewise.
13798 * elf/tst-stackguard1.c: Likewise.
13799 * gmon/sys/gmon.h: Likewise.
13800 * hurd/hurdmsg.c: Likewise.
13801 * hurd/new-fd.c: Likewise.
13802 * hurd/ports-get.c: Likewise.
13803 * iconvdata/ibm1008_420.c: Likewise.
13804 * inet/tst-getni1.c: Likewise.
13805 * inet/tst-getni2.c: Likewise.
13806 * libio/ioungetc.c: Likewise.
13807 * libio/wfiledoalloc.c: Likewise.
13808 * manual/libm-err-tab.pl: Likewise.
13809 * math/w_dremf.c: Likewise.
13810 * misc/ftruncate.c: Likewise.
13811 * posix/bug-glob2.c: Likewise.
13812 * posix/tst-pcre.c: Likewise.
13813 * posix/wait4.c: Likewise.
13814 * resolv/README: Likewise.
13815 * resolv/res_debug.h: Likewise.
13816 * resolv/tst-inet_ntop.c: Likewise.
13817 * setjmp/bug269-setjmp.c: Likewise.
13818 * soft-fp/extended.h: Likewise.
13819 * soft-fp/op-1.h: Likewise.
13820 * soft-fp/op-2.h: Likewise.
13821 * soft-fp/op-4.h: Likewise.
13822 * soft-fp/op-8.h: Likewise.
13823 * soft-fp/testit.c: Likewise.
13824 * stdio-common/bug16.c: Likewise.
13825 * stdlib/random.c: Likewise.
13826 * sunrpc/rpcsvc/rquota.x: Likewise.
13827 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13832 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13856 * sysdeps/ieee754/s_lib_version.c: Likewise.
13857 * sysdeps/mach/hurd/check_fds.c: Likewise.
13858 * sysdeps/mach/hurd/getsockname.c: Likewise.
13859 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13860 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13861 * sysdeps/powerpc/bits/link.h: Likewise.
13862 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13863 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13864 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13865 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13866 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13867 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13868 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13869 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13870 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13871 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13872 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13873 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13874 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13875 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13876 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13877 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13880 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13882 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13886 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13887 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13895 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13896 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13897 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13898 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13899 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13900 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13901 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13902 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13903 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13904 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13905 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13906 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13907 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13908 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13909 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13910 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13911 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13914 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13915 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13916 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13917 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13921 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13922 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13924 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13925 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13926 * sysdeps/powerpc/sysdep.h: Likewise.
13927 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13928 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13929 * sysdeps/sh/dl-trampoline.S: Likewise.
13930 * sysdeps/sh/memset.S: Likewise.
13931 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13932 * sysdeps/sh/strlen.S: Likewise.
13933 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13934 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13935 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13936 * sysdeps/sparc/sparc32/rem.S: Likewise.
13937 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13938 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13939 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13940 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13941 * sysdeps/sparc/sparc32/urem.S: Likewise.
13942 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13943 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13944 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13945 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13946 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13947 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13948 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13949 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13950 * sysdeps/unix/bsd/times.c: Likewise.
13951 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13952 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13958 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13959 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13960 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13963 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13964 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13965 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13966 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13968 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13969 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13970 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13971 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13972 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13973 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13974 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13975 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13976 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13978 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13979 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13980 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13981 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13982 * sysdeps/x86_64/strcspn.S: Likewise.
13983
869378a5
RA
139842013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13985
13986 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13987 generated file. Regenerate properly from gen-translit.pl.
13988 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13989 locale/C-translit.h.
13990
840e2943
AS
139912013-06-05 Andreas Schwab <schwab@suse.de>
13992
13993 [BZ #15100]
13994 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13995 week as 6 instead of -1.
13996 * time/tst-strptime.c (day_tests): Add test case.
13997
4c60cb0c
SP
139982013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13999
14000 * sysdeps/generic/math_private.h
14001 (libc_feholdexcept_setround_53bit): Replace with
14002 libc_feholdsetround_53bit.
14003 (libc_feupdateenv_53bit): Replace with
14004 libc_feresetround_53bit.
14005 (SET_RESTORE_ROUND_53BIT): Adjust.
14006
d180203e
SP
140072013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14008
96df079a
SP
14009 * string/test-strchrnul.c: Add copyright header.
14010
d180203e
SP
14011 * posix/tst-getaddrinfo4.c: Increase test timeout.
14012
8b0ccb2d
CD
140132013-06-03 Carlos O'Donell <carlos@redhat.com>
14014
14015 [BZ #15536]
14016 * math/libm-test.inc (MAX_EXP): Remove
14017 (MIN_EXP): Define.
14018 (ulp): Use MIN_EXP - MANT_DIG.
14019 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14020
3b3c4d40
CD
140212013-05-31 Carlos O'Donell <carlos@redhat.com>
14022
14023 * po/be.po: Revert last change.
14024 * po/zh_CN.po: Likewise.
14025 * po/header.pot: Likewise.
14026
fab7ce3f
JM
140272013-05-31 Joseph Myers <joseph@codesourcery.com>
14028
14029 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14030 link-libc-deps to empty as target-specific variable.
14031 * Makerules (link-libc-args): New variable.
14032 (libc-for-link): Likewise.
14033 (link-libc-deps): Likewise.
14034 (lib%.so): Depend on $(link-libc-deps). Link with
14035 $(link-libc-args).
14036 (build-module): Link with $(link-libc-args).
14037 (build-module-asneeded): Likewise.
14038 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14039 list of objects.
14040 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14041 target-specific variable.
14042 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14043 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14044 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14045 libc.
14046 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14047 libc and ld.so.
14048 ($(objpfx)libpcprofile.so): Likewise.
14049 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14050 libc_nonshared.a.
14051 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14052 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14053 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14054 $(link-libc-deps).
14055 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14056 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14057 * login/Makefile ($(objpfx)libutil.so): Likewise.
14058 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14059 * math/Makefile ($(objpfx)libm.so): Likewise.
14060 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14061 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14062 variable instead of depending directly on libc.
14063 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14064 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14065 $(link-libc-deps).
14066 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14067 libc.
14068 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14069 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14070 ($(objpfx)libanl.so): Likewise.
14071 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14072 ld.so.
14073 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14074 $(link-libc-deps).
14075 * sysdeps/i386/fpu/Makefile: Remove file.
14076 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14077 ($(objpfx)libm.so): Remove dependency on ld.so.
14078
eca5920c
PF
140792013-05-30 Patsy Franklin <pfrankli@redhat.com>
14080
14081 [BZ # 15553]
14082 * nis/yp_xdr.c (XDRMAXNAME): Define.
14083 (XDRMAXRECORD): Define.
14084 (xdr_domainname): Use XDRMAXNAME.
14085 (xdr_mapname): Likewise.
14086 (xdr_peername): Likewise.
14087 (xdr_keydat): Use XDRMAXRECORD.
14088 (xdr_valdat): Likewise.
14089
140902013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14091
14092 [BZ #14256]
14093 * manual/errno.texi (ESTALE): Update to account for more than
14094 just NFS file systems.
14095 * sysdeps/gnu/errlist.c: Regenerated.
14096
b9375348
SP
140972013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14098
14099 [BZ #15465]
14100 * elf/Makefile (tests): Add tst-null-argv.
14101 (modules-names): Add tst-null-argv-lib.
14102 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14103 (tst-null-argv-ENV): Set environment for tst-null-argv.
14104 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14105 (RTLD_PROGNAME): New macro.
14106 * elf/tst-null-argv.c: New test case.
14107 * elf/tst-null-argv-lib.c: Library for test case.
14108 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14109 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14110 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14111 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14112 * elf/dl-init.c (call_init): Likewise.
14113 (_dl_init): Likewise.
14114 * elf/dl-load.c (print_search_path): Likewise.
14115 (_dl_map_object): Likewise.
14116 * elf/dl-lookup.c (do_lookup_x): Likewise.
14117 (add_dependency): Likewise.
14118 (_dl_lookup_symbol_x): Likewise.
14119 (_dl_debug_bindings): Likewise.
14120 * elf/dl-open.c (_dl_show_scope): Likewise.
14121 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14122 * elf/dl-version.c (match_symbol): Likewise.
14123 (_dl_check_map_versions): Likewise.
14124 * elf/rtld.c (dl_main): Likewise.
14125 (print_unresolved): Use RTLD_PROGNAME.
14126 (print_missing_version): Likewise.
14127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14128 (elf_machine_rela): Likewise.
14129 * sysdeps/powerpc/powerpc32/dl-machine.c
14130 (__process_machine_rela): Likewise.
14131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14132 Likewise.
14133 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14134 Likewise.
14135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14136 Likewise.
14137 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14138 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14139 Likewise.
14140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14141 Likewise.
14142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14143
8a9f20c8
CD
141442013-05-28 Carlos O'Donell <carlos@redhat.com>
14145
14146 * po/be.po: Add descriptive title.
14147 * po/zh_CN.po: Likewise.
14148 * po/header.pot: Likewise.
14149
0e60d68e
MF
141502013-05-28 Mike Frysinger <vapier@gentoo.org>
14151
14152 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14153 error message.
14154 (enlarge_archive): Likewise.
14155
56b672e9
BN
141562013-05-28 Ben North <ben@redfrontdoor.org>
14157
14158 * manual/arith.texi (frexp): It is the magnitude of the return
14159 value which lies in [0.5, 1), not the return value itself.
14160
5e056687
AZ
141612013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14162
14163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14164
2b66ef5d
TS
141652013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14166
528c2405
TS
14167 * stdio-common/bug26.c (main): Correct fscanf template.
14168
07b4c13d
TS
14169 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14170 declare _dl_skip_args.
14171
ec9dd97c
TS
14172 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14173 Don't declare.
14174
2b66ef5d
TS
14175 * manual/platform.texi: Add missing @end deftypefun.
14176
4f8dfe27
JM
141772013-05-24 Joseph Myers <joseph@codesourcery.com>
14178
0323d086
JM
14179 [BZ #15529]
14180 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14181 bit of mantissa of 2^16382.
14182 * math/libm-test.inc (hypot_test_data): Add more tests.
14183
dd4259b9
JM
14184 * math/libm-test.inc: Add drem and pow10 to list of tested
14185 functions.
14186 (pow10_test): New function.
14187 (drem_test): Likewise.
14188 (drem_test_tonearest): Likewise.
14189 (drem_test_towardzero): Likewise.
14190 (drem_test_downward): Likewise.
14191 (drem_test_upward): Likewise.
14192 (main): Call the new functions.
14193
4f8dfe27
JM
14194 * math/libm-test.inc (finite_test_data): Remove.
14195 (finite_test): Run tests from isfinite_test_data.
14196 (gamma_test_data): Remove.
14197 (gamma_test): Run tests from lgamma_test_data.
14198 * sysdeps/i386/fpu/libm-test-ulps: Update.
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200
d116b7c4
AZ
142012013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14202
14203 * manual/platform.texi: Add PowerPC PPR function set documentation.
14204 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14205 implementation.
14206
e96e3767
CD
142072013-05-24 Carlos O'Donell <carlos@redhat.com>
14208
14209 * math/libm-test.inc (MAX_EXP): Define.
14210 (ULPDIFF): Define.
14211 (ulp): New function.
14212 (check_float_internal): Use ULPDIFF.
14213 (cpow_test): Disable failing test.
14214 (check_ulp): Test ulp() implemetnation.
14215 (main): Call check_ulp before starting tests.
14216
b679a606
JM
142172013-05-24 Joseph Myers <joseph@codesourcery.com>
14218
e8bdba36
JM
14219 * math/gen-libm-test.pl (generate_testfile): Do not handle
14220 START_DATA and END_DATA.
14221 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14222 END_DATA.
14223 (acos_tonearest_test_data): Likewise.
14224 (acos_towardzero_test_data): Likewise.
14225 (acos_downward_test_data): Likewise.
14226 (acos_upward_test_data): Likewise.
14227 (acosh_test_data): Likewise.
14228 (asin_test_data): Likewise.
14229 (asin_tonearest_test_data): Likewise.
14230 (asin_towardzero_test_data): Likewise.
14231 (asin_downward_test_data): Likewise.
14232 (asin_upward_test_data): Likewise.
14233 (asinh_test_data): Likewise.
14234 (atan_test_data): Likewise.
14235 (atanh_test_data): Likewise.
14236 (atan2_test_data): Likewise.
14237 (cabs_test_data): Likewise.
14238 (cacos_test_data): Likewise.
14239 (cacosh_test_data): Likewise.
14240 (carg_test_data): Likewise.
14241 (casin_test_data): Likewise.
14242 (casinh_test_data): Likewise.
14243 (catan_test_data): Likewise.
14244 (catanh_test_data): Likewise.
14245 (cbrt_test_data): Likewise.
14246 (ccos_test_data): Likewise.
14247 (ccosh_test_data): Likewise.
14248 (ceil_test_data): Likewise.
14249 (cexp_test_data): Likewise.
14250 (cimag_test_data): Likewise.
14251 (clog_test_data): Likewise.
14252 (clog10_test_data): Likewise.
14253 (conj_test_data): Likewise.
14254 (copysign_test_data): Likewise.
14255 (cos_test_data): Likewise.
14256 (cos_tonearest_test_data): Likewise.
14257 (cos_towardzero_test_data): Likewise.
14258 (cos_downward_test_data): Likewise.
14259 (cos_upward_test_data): Likewise.
14260 (cosh_test_data): Likewise.
14261 (cosh_tonearest_test_data): Likewise.
14262 (cosh_towardzero_test_data): Likewise.
14263 (cosh_downward_test_data): Likewise.
14264 (cosh_upward_test_data): Likewise.
14265 (cpow_test_data): Likewise.
14266 (cproj_test_data): Likewise.
14267 (creal_test_data): Likewise.
14268 (csin_test_data): Likewise.
14269 (csinh_test_data): Likewise.
14270 (csqrt_test_data): Likewise.
14271 (ctan_test_data): Likewise.
14272 (ctan_tonearest_test_data): Likewise.
14273 (ctan_towardzero_test_data): Likewise.
14274 (ctan_downward_test_data): Likewise.
14275 (ctan_upward_test_data): Likewise.
14276 (ctanh_test_data): Likewise.
14277 (ctanh_tonearest_test_data): Likewise.
14278 (ctanh_towardzero_test_data): Likewise.
14279 (ctanh_downward_test_data): Likewise.
14280 (ctanh_upward_test_data): Likewise.
14281 (erf_test_data): Likewise.
14282 (erfc_test_data): Likewise.
14283 (exp_test_data): Likewise.
14284 (exp_tonearest_test_data): Likewise.
14285 (exp_towardzero_test_data): Likewise.
14286 (exp_downward_test_data): Likewise.
14287 (exp_upward_test_data): Likewise.
14288 (exp10_test_data): Likewise.
14289 (exp2_test_data): Likewise.
14290 (expm1_test_data): Likewise.
14291 (fabs_test_data): Likewise.
14292 (fdim_test_data): Likewise.
14293 (finite_test_data): Likewise.
14294 (floor_test_data): Likewise.
14295 (fma_test_data): Likewise.
14296 (fma_towardzero_test_data): Likewise.
14297 (fma_downward_test_data): Likewise.
14298 (fma_upward_test_data): Likewise.
14299 (fmax_test_data): Likewise.
14300 (fmin_test_data): Likewise.
14301 (fmod_test_data): Likewise.
14302 (fpclassify_test_data): Likewise.
14303 (frexp_test_data): Likewise.
14304 (gamma_test_data): Likewise.
14305 (hypot_test_data): Likewise.
14306 (ilogb_test_data): Likewise.
14307 (isfinite_test_data): Likewise.
14308 (isgreater_test_data): Likewise.
14309 (isgreaterequal_test_data): Likewise.
14310 (isinf_test_data): Likewise.
14311 (isless_test_data): Likewise.
14312 (islessequal_test_data): Likewise.
14313 (islessgreater_test_data): Likewise.
14314 (isnan_test_data): Likewise.
14315 (isnormal_test_data): Likewise.
14316 (issignaling_test_data): Likewise.
14317 (isunordered_test_data): Likewise.
14318 (j0_test_data): Likewise.
14319 (j1_test_data): Likewise.
14320 (jn_test_data): Likewise.
14321 (ldexp_test_data): Likewise.
14322 (lgamma_test_data): Likewise.
14323 (lrint_test_data): Likewise.
14324 (lrint_tonearest_test_data): Likewise.
14325 (lrint_towardzero_test_data): Likewise.
14326 (lrint_downward_test_data): Likewise.
14327 (lrint_upward_test_data): Likewise.
14328 (llrint_test_data): Likewise.
14329 (llrint_tonearest_test_data): Likewise.
14330 (llrint_towardzero_test_data): Likewise.
14331 (llrint_downward_test_data): Likewise.
14332 (llrint_upward_test_data): Likewise.
14333 (log_test_data): Likewise.
14334 (log10_test_data): Likewise.
14335 (log1p_test_data): Likewise.
14336 (log2_test_data): Likewise.
14337 (logb_test_data): Likewise.
14338 (logb_downward_test_data): Likewise.
14339 (lround_test_data): Likewise.
14340 (llround_test_data): Likewise.
14341 (modf_test_data): Likewise.
14342 (nearbyint_test_data): Likewise.
14343 (nextafter_test_data): Likewise.
14344 (nexttoward_test_data): Likewise.
14345 (pow_test_data): Likewise.
14346 (pow_tonearest_test_data): Likewise.
14347 (pow_towardzero_test_data): Likewise.
14348 (pow_downward_test_data): Likewise.
14349 (pow_upward_test_data): Likewise.
14350 (remainder_test_data): Likewise.
14351 (remainder_tonearest_test_data): Likewise.
14352 (remainder_towardzero_test_data): Likewise.
14353 (remainder_downward_test_data): Likewise.
14354 (remainder_upward_test_data): Likewise.
14355 (remquo_test_data): Likewise.
14356 (rint_test_data): Likewise.
14357 (rint_tonearest_test_data): Likewise.
14358 (rint_towardzero_test_data): Likewise.
14359 (rint_downward_test_data): Likewise.
14360 (rint_upward_test_data): Likewise.
14361 (round_test_data): Likewise.
14362 (scalb_test_data): Likewise.
14363 (scalbn_test_data): Likewise.
14364 (scalbln_test_data): Likewise.
14365 (signbit_test_data): Likewise.
14366 (sin_test_data): Likewise.
14367 (sin_tonearest_test_data): Likewise.
14368 (sin_towardzero_test_data): Likewise.
14369 (sin_downward_test_data): Likewise.
14370 (sin_upward_test_data): Likewise.
14371 (sincos_test_data): Likewise.
14372 (sinh_test_data): Likewise.
14373 (sinh_tonearest_test_data): Likewise.
14374 (sinh_towardzero_test_data): Likewise.
14375 (sinh_downward_test_data): Likewise.
14376 (sinh_upward_test_data): Likewise.
14377 (sqrt_test_data): Likewise.
14378 (tan_test_data): Likewise.
14379 (tan_tonearest_test_data): Likewise.
14380 (tan_towardzero_test_data): Likewise.
14381 (tan_downward_test_data): Likewise.
14382 (tan_upward_test_data): Likewise.
14383 (tanh_test_data): Likewise.
14384 (tgamma_test_data): Likewise.
14385 (trunc_test_data): Likewise.
14386 (y0_test_data): Likewise.
14387 (y1_test_data): Likewise.
14388 (yn_test_data): Likewise.
14389 (significand_test_data): Likewise.
14390
b679a606
JM
14391 * math/gen-libm-test.pl (@functions): Remove variable.
14392 (generate_testfile): Don't handle START and END lines.
14393 * math/libm-test.inc (START): New macro.
14394 (END): Likewise.
14395 (END_COMPLEX): Likewise.
14396 (acos_test): Use END macro without arguments.
14397 (acos_test_tonearest): Likewise.
14398 (acos_test_towardzero): Likewise.
14399 (acos_test_downward): Likewise.
14400 (acos_test_upward): Likewise.
14401 (acosh_test): Likewise.
14402 (asin_test): Likewise.
14403 (asin_test_tonearest): Likewise.
14404 (asin_test_towardzero): Likewise.
14405 (asin_test_downward): Likewise.
14406 (asin_test_upward): Likewise.
14407 (asinh_test): Likewise.
14408 (atan_test): Likewise.
14409 (atanh_test): Likewise.
14410 (atan2_test): Likewise.
14411 (cabs_test): Likewise.
14412 (cacos_test): Use END_COMPLEX macro without arguments.
14413 (cacosh_test): Likewise.
14414 (carg_test): Use END macro without arguments.
14415 (casin_test): Use END_COMPLEX macro without arguments.
14416 (casinh_test): Likewise.
14417 (catan_test): Likewise.
14418 (catanh_test): Likewise.
14419 (cbrt_test): Use END macro without arguments.
14420 (ccos_test): Use END_COMPLEX macro without arguments.
14421 (ccosh_test): Likewise.
14422 (ceil_test): Use END macro without arguments.
14423 (cexp_test): Use END_COMPLEX macro without arguments.
14424 (cimag_test): Use END macro without arguments.
14425 (clog_test): Use END_COMPLEX macro without arguments.
14426 (clog10_test): Likewise.
14427 (conj_test): Likewise.
14428 (copysign_test): Use END macro without arguments.
14429 (cos_test): Likewise.
14430 (cos_test_tonearest): Likewise.
14431 (cos_test_towardzero): Likewise.
14432 (cos_test_downward): Likewise.
14433 (cos_test_upward): Likewise.
14434 (cosh_test): Likewise.
14435 (cosh_test_tonearest): Likewise.
14436 (cosh_test_towardzero): Likewise.
14437 (cosh_test_downward): Likewise.
14438 (cosh_test_upward): Likewise.
14439 (cpow_test): Use END_COMPLEX macro without arguments.
14440 (cproj_test): Likewise.
14441 (creal_test): Use END macro without arguments.
14442 (csin_test): Use END_COMPLEX macro without arguments.
14443 (csinh_test): Likewise.
14444 (csqrt_test): Likewise.
14445 (ctan_test): Likewise.
14446 (ctan_test_tonearest): Likewise.
14447 (ctan_test_towardzero): Likewise.
14448 (ctan_test_downward): Likewise.
14449 (ctan_test_upward): Likewise.
14450 (ctanh_test): Likewise.
14451 (ctanh_test_tonearest): Likewise.
14452 (ctanh_test_towardzero): Likewise.
14453 (ctanh_test_downward): Likewise.
14454 (ctanh_test_upward): Likewise.
14455 (erf_test): Use END macro without arguments.
14456 (erfc_test): Likewise.
14457 (exp_test): Likewise.
14458 (exp_test_tonearest): Likewise.
14459 (exp_test_towardzero): Likewise.
14460 (exp_test_downward): Likewise.
14461 (exp_test_upward): Likewise.
14462 (exp10_test): Likewise.
14463 (exp2_test): Likewise.
14464 (expm1_test): Likewise.
14465 (fabs_test): Likewise.
14466 (fdim_test): Likewise.
14467 (finite_test): Likewise.
14468 (floor_test): Likewise.
14469 (fma_test): Likewise.
14470 (fma_test_towardzero): Likewise.
14471 (fma_test_downward): Likewise.
14472 (fma_test_upward): Likewise.
14473 (fmax_test): Likewise.
14474 (fmin_test): Likewise.
14475 (fmod_test): Likewise.
14476 (fpclassify_test): Likewise.
14477 (frexp_test): Likewise.
14478 (gamma_test): Likewise.
14479 (hypot_test): Likewise.
14480 (ilogb_test): Likewise.
14481 (isfinite_test): Likewise.
14482 (isgreater_test): Likewise.
14483 (isgreaterequal_test): Likewise.
14484 (isinf_test): Likewise.
14485 (isless_test): Likewise.
14486 (islessequal_test): Likewise.
14487 (islessgreater_test): Likewise.
14488 (isnan_test): Likewise.
14489 (isnormal_test): Likewise.
14490 (issignaling_test): Likewise.
14491 (isunordered_test): Likewise.
14492 (j0_test): Likewise.
14493 (j1_test): Likewise.
14494 (jn_test): Likewise.
14495 (ldexp_test): Likewise.
14496 (lgamma_test): Likewise.
14497 (lrint_test): Likewise.
14498 (lrint_test_tonearest): Likewise.
14499 (lrint_test_towardzero): Likewise.
14500 (lrint_test_downward): Likewise.
14501 (lrint_test_upward): Likewise.
14502 (llrint_test): Likewise.
14503 (llrint_test_tonearest): Likewise.
14504 (llrint_test_towardzero): Likewise.
14505 (llrint_test_downward): Likewise.
14506 (llrint_test_upward): Likewise.
14507 (log_test): Likewise.
14508 (log10_test): Likewise.
14509 (log1p_test): Likewise.
14510 (log2_test): Likewise.
14511 (logb_test): Likewise.
14512 (logb_test_downward): Likewise.
14513 (lround_test): Likewise.
14514 (llround_test): Likewise.
14515 (modf_test): Likewise.
14516 (nearbyint_test): Likewise.
14517 (nextafter_test): Likewise.
14518 (nexttoward_test): Likewise.
14519 (pow_test): Likewise.
14520 (pow_test_tonearest): Likewise.
14521 (pow_test_towardzero): Likewise.
14522 (pow_test_downward): Likewise.
14523 (pow_test_upward): Likewise.
14524 (remainder_test): Likewise.
14525 (remainder_test_tonearest): Likewise.
14526 (remainder_test_towardzero): Likewise.
14527 (remainder_test_downward): Likewise.
14528 (remainder_test_upward): Likewise.
14529 (remquo_test): Likewise.
14530 (rint_test): Likewise.
14531 (rint_test_tonearest): Likewise.
14532 (rint_test_towardzero): Likewise.
14533 (rint_test_downward): Likewise.
14534 (rint_test_upward): Likewise.
14535 (round_test): Likewise.
14536 (scalb_test): Likewise.
14537 (scalbn_test): Likewise.
14538 (scalbln_test): Likewise.
14539 (signbit_test): Likewise.
14540 (sin_test): Likewise.
14541 (sin_test_tonearest): Likewise.
14542 (sin_test_towardzero): Likewise.
14543 (sin_test_downward): Likewise.
14544 (sin_test_upward): Likewise.
14545 (sincos_test): Likewise.
14546 (sinh_test): Likewise.
14547 (sinh_test_tonearest): Likewise.
14548 (sinh_test_towardzero): Likewise.
14549 (sinh_test_downward): Likewise.
14550 (sinh_test_upward): Likewise.
14551 (sqrt_test): Likewise.
14552 (tan_test): Likewise.
14553 (tan_test_tonearest): Likewise.
14554 (tan_test_towardzero): Likewise.
14555 (tan_test_downward): Likewise.
14556 (tan_test_upward): Likewise.
14557 (tanh_test): Likewise.
14558 (tgamma_test): Likewise.
14559 (trunc_test): Likewise.
14560 (y0_test): Likewise.
14561 (y1_test): Likewise.
14562 (yn_test): Likewise.
14563 (significand_test): Likewise.
14564
bae143d2
OB
145652013-05-24 Ondřej Bílka <neleai@seznam.cz>
14566
14567 [BZ #15381]
14568 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14569
9323d39b
EM
145702013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14571
d4ea44a0 14572 [BZ #14894]
9323d39b
EM
14573 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14574 __ppc_mdoio and __ppc_mdoom.
14575 * manual/platform.texi: Document new functions __ppc_yield,
14576 __ppc_mdoio and __ppc_mdoom.
14577
13e23af7
CD
145782013-05-22 Carlos O'Donell <carlos@redhat.com>
14579
14580 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14581 (main): Mention "tls" pseudo-hwcap is legacy.
14582 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14583
351fe550
JM
145842013-05-22 Joseph Myers <joseph@codesourcery.com>
14585
14586 * math/gen-libm-test.pl (parse_args): Output only string of
14587 arguments as text for test name, not full call or descriptions of
14588 tests for extra outputs.
14589 (generate_testfile): Do not pass function name to parse_args.
14590 Generate this_func variable from START.
14591 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14592 field to arg_str.
14593 (struct test_ff_f_data): Likewise.
14594 (test_ff_f_data_nexttoward): Likewise.
14595 (struct test_fi_f_data): Likewise.
14596 (struct test_fl_f_data): Likewise.
14597 (struct test_if_f_data): Likewise.
14598 (struct test_fff_f_data): Likewise.
14599 (struct test_c_f_data): Likewise.
14600 (struct test_f_f1_data): Likewise. Remove field extra_name.
14601 (struct test_fF_f1_data): Likewise.
14602 (struct test_ffI_f1_data): Likewise.
14603 (struct test_c_c_data): Rename test_name field to arg_str.
14604 (struct test_cc_c_data): Likewise.
14605 (struct test_f_i_data): Likewise.
14606 (struct test_ff_i_data): Likewise.
14607 (struct test_f_l_data): Likewise.
14608 (struct test_f_L_data): Likewise.
14609 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14610 and extra2_name.
14611 (COMMON_TEST_SETUP): New macro.
14612 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14613 (COMMON_TEST_CLEANUP): Likewise.
14614 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14615 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14616 macros.
14617 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14618 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14619 macros.
14620 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14621 (RUN_TEST_fff_f): Take argument string. Call new setup and
14622 cleanup macros.
14623 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14624 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14625 macros.
14626 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14627 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14628 macros.
14629 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14630 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14631 cleanup macros.
14632 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14633 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14634 cleanup macros.
14635 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14636 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14637 cleanup macros.
14638 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14639 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14640 macros.
14641 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14642 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14643 macros.
14644 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14645 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14646 macros.
14647 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14648 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14649 cleanup macros.
14650 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14651 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14652 cleanup macros.
14653 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14654 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14655 macros.
14656 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14657 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14658 cleanup macros.
14659 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14660 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14661 macros.
14662 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14663 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14664 macros.
14665 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14666 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14667 cleanup macros.
14668 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14669
85118d4d
EBM
146702013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14671
14672 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14673 to _sifields.sigfault.
14674 (si_addr_lsb): Define new macro.
14675 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14677 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14678
7a44c18f
CD
146792013-05-03 Carlos O'Donell <carlos at redhat.com>
14680
14681 [BZ #15441]
14682 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14683 returns -1.
14684 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14685 null return -1.
14686 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14687 loading the domain.
14688
b50a7181
JM
146892013-05-22 Joseph Myers <joseph@codesourcery.com>
14690
14691 * math/gen-libm-test.pl (parse_args): Do not include expected
14692 result in test name.
14693 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14694 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14695 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14696 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14697 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699
051063c8
SP
147002013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14701
3ce9e010
SP
14702 * benchtests/Makefile: Sort function entries.
14703
051063c8
SP
14704 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14705 tanh, asinh, acosh, atanh.
14706 * benchtests/acos-inputs: New file.
14707 * benchtests/acosh-inputs: New file.
14708 * benchtests/asin-inputs: New file.
14709 * benchtests/asinh-inputs: New file.
14710 * benchtests/atanh-inputs: New file.
14711 * benchtests/cosh-inputs: New file.
14712 * benchtests/log-inputs: New file.
14713 * benchtests/sinh-inputs: New file.
14714 * benchtests/tanh-inputs: New file.
14715
47c22455
DL
147162013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14717
14718 [BZ #15339]
14719 * posix/tst-getaddrinfo4.c: New test.
14720 * posix/Makefile (tests): Add it.
14721
3d04f5db
SP
147222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14723
14724 [BZ #15339]
14725 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14726 when no services were used.
14727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14728 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14729
d5dd6189
AS
147302013-05-21 Andreas Schwab <schwab@suse.de>
14731
14732 [BZ #15014]
14733 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14734 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14735 successful.
14736 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14737 redundant variable declarations and reallocation of buffer when
14738 parsing as IPv6 address. Always set NSS status when called from
14739 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14740 buffer too small. Correct computation of needed size.
14741 * nss/Makefile (tests): Add test-digits-dots.
14742 * nss/test-digits-dots.c: New test.
14743
fef94eab
SP
147442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14745
14746 * benchtests/Makefile: Remove instructions for adding
14747 benchmark tests.
14748 * benchtests/README: New file to explain how to execute and
14749 enhance the benchmark tests.
14750
e39adf43
AS
147512013-05-21 Andreas Schwab <schwab@suse.de>
14752
14753 [BZ #15493]
14754 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14755 * setjmp/tst-sigsetjmp.c: New test.
14756
b2b671b6
OB
147572013-05-20 Ondřej Bílka <neleai@seznam.cz>
14758
14759 * sysdeps/x86_64/memset.S (memset): New implementation.
14760 (__bzero): Likewise.
14761 (__memset_tail): New function.
14762
2d48b41c
OB
147632013-05-20 Ondřej Bílka <neleai@seznam.cz>
14764
14765 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14766 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14767 __memcpy_sse2_unaligned ifunc selection.
14768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14769 Add memcpy-sse2-unaligned.S.
14770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14771 Add: __memcpy_sse2_unaligned.
14772
f16cc3eb
JM
147732013-05-19 Joseph Myers <joseph@codesourcery.com>
14774
3e694268
JM
14775 [BZ #15490]
14776 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14777 math_force_eval before restoring floating-point envrionment.
14778 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14780 Likewise.
14781 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14782 <math_private.h>.
14783 (__nearbyintl): Use math_force_eval before restoring
14784 floating-point environment.
14785 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14786
db62a907
JM
14787 * math/gen-libm-test.pl (special_functions): Remove.
14788 (parse_args): Don't handle TEST_extra. Handle functions with no
14789 return value.
14790 * math/libm-test.inc (struct test_sincos_data): Replace with
14791 struct test_fFF_11_data.
14792 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14793 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14794 (sincos_test_data): Change element type to struct
14795 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14796 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14797 RUN_TEST_LOOP_sincos.
14798 * math/README.libm-test: Don't mention special handling of
14799 individual functions.
14800 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14803 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14804 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14806
f16cc3eb
JM
14807 * math/gen-libm-test.pl (get_variable): Remove function.
14808 (parse_args): Don't show pointer parameters to call in test
14809 names. Use "extra output N" in test names for extra outputs
14810 rather than naming variables.
14811
3779b5b6
JM
148122013-05-18 Joseph Myers <joseph@codesourcery.com>
14813
2ee094ff
JM
14814 [BZ #15488]
14815 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14816 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14817 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14818 double tests.
14819 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14820 disable.
14821 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14822 check_long_double.
14823
3779b5b6
JM
14824 * math/gen-libm-test.pl (@tests): Remove variable.
14825 ($count): Likewise.
14826 (new_test): Remove function.
14827 (show_exceptions): New function.
14828 (special_functions): Use show_exceptions instead of new_test.
14829 (parse_args): Likewise.
14830 (generate_testfile): Pass only function name in generated call to
14831 print_max_error or print_complex_max_error.
14832 (get_ulps): Do not handle complex tests specially.
14833 (output_test): Rename to ...
14834 (get_all_ulps_for_test): ... this. Return a string rather than
14835 printing to a file. Require ulps to be present.
14836 (output_ulps): Generate arrays rather than #defines.
14837 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14838 (struct ulp_data): New type.
14839 (BUILD_COMPLEX_ULP): Remove macro.
14840 (compare_ulp_data): New function.
14841 (find_ulps): Likewise.
14842 (find_test_ulps): Likewise.
14843 (find_function_ulps): Likewise.
14844 (find_complex_function_ulps): Likewise.
14845 (print_max_error): Determine allowed ulps using
14846 find_function_ulps.
14847 (print_complex_max_error): Determine allowed ulps using
14848 find_complex_function_ulps.
14849 (check_float_internal): Determine max ulps using find_test_ulps.
14850 (check_float): Do not take max_ulp parameter. Update call to
14851 check_float_internal.
14852 (check_complex): Likewise.
14853 (check_int): Do not take max_ulp parameter.
14854 (check_long): Likewise.
14855 (check_bool): Likewise.
14856 (check_longlong): Likewise.
14857 (struct test_f_f_data): Remove max_ulp field.
14858 (struct test_ff_f_data): Likewise.
14859 (struct test_ff_f_data_nexttoward): Likewise.
14860 (struct test_fi_f_data): Likewise.
14861 (struct test_fl_f_data): Likewise.
14862 (struct test_if_f_data): Likewise.
14863 (struct test_fff_f_data): Likewise.
14864 (struct test_c_f_data): Likewise.
14865 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14866 (struct test_fF_f1_data): Likewise.
14867 (struct test_ffI_f1_data): Likewise.
14868 (struct test_c_c_data): Remove max_ulp field.
14869 (struct test_cc_c_data): Likewise.
14870 (struct test_f_i_data): Likewise.
14871 (struct test_ff_i_data): Likewise.
14872 (struct test_f_l_data): Likewise.
14873 (struct test_f_L_data): Likewise.
14874 (struct test_sincos_data): Likewise.
14875 (RUN_TEST_f_f): Do not handle ulps.
14876 (RUN_TEST_LOOP_f_f): Likewise.
14877 (RUN_TEST_2_f): Likewise.
14878 (RUN_TEST_LOOP_2_f): Likewise.
14879 (RUN_TEST_fff_f): Likewise.
14880 (RUN_TEST_LOOP_fff_f): Likewise.
14881 (RUN_TEST_c_f): Likewise.
14882 (RUN_TEST_LOOP_c_f): Likewise.
14883 (RUN_TEST_f_f1): Likewise.
14884 (RUN_TEST_LOOP_f_f1): Likewise.
14885 (RUN_TEST_fF_f1): Likewise.
14886 (RUN_TEST_LOOP_fF_f1): Likewise.
14887 (RUN_TEST_fI_f1): Likewise.
14888 (RUN_TEST_LOOP_fI_f1): Likewise.
14889 (RUN_TEST_ffI_f1): Likewise.
14890 (RUN_TEST_LOOP_ffI_f1): Likewise.
14891 (RUN_TEST_c_c): Likewise.
14892 (RUN_TEST_LOOP_c_c): Likewise.
14893 (RUN_TEST_cc_c): Likewise.
14894 (RUN_TEST_LOOP_cc_c): Likewise.
14895 (RUN_TEST_f_i): Likewise.
14896 (RUN_TEST_LOOP_f_i): Likewise.
14897 (RUN_TEST_f_i_tg): Likewise.
14898 (RUN_TEST_LOOP_f_i_tg): Likewise.
14899 (RUN_TEST_ff_i_tg): Likewise.
14900 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14901 (RUN_TEST_f_b): Likewise.
14902 (RUN_TEST_LOOP_f_b): Likewise.
14903 (RUN_TEST_f_b_tg): Likewise.
14904 (RUN_TEST_LOOP_f_b_tg): Likewise.
14905 (RUN_TEST_f_l): Likewise.
14906 (RUN_TEST_LOOP_f_l): Likewise.
14907 (RUN_TEST_f_L): Likewise.
14908 (RUN_TEST_LOOP_f_L): Likewise.
14909 (RUN_TEST_sincos): Likewise.
14910 (RUN_TEST_LOOP_sincos): Likewise.
14911
8269107f
JM
149122013-05-17 Joseph Myers <joseph@codesourcery.com>
14913
bb38759d
JM
14914 [BZ #15480]
14915 [BZ #15485]
14916 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14917 main case of finite arguments, set rounding mode to FE_TONEAREST
14918 and discard exceptions.
14919 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14920 exceptions.
14921 (remainder_tonearest_test_data): New variable.
14922 (remainder_test_tonearest): New function.
14923 (remainder_towardzero_test_data): New variable.
14924 (remainder_test_towardzero): New function.
14925 (remainder_downward_test_data): New variable.
14926 (remainder_test_downward): New function.
14927 (remainder_upward_test_data): New variable.
14928 (remainder_test_upward): New function.
14929 (main): Call the new test functions.
14930
a00bdcf0
JM
14931 * math/libm-test.inc (struct test_f_f1_data): Remove field
14932 extra_init.
14933 (struct test_fF_f1_data): Likewise.
14934 (struct test_ffI_f1_data): Likewise.
14935 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14936 based on value of EXTRA_EXPECTED.
14937 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14938 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14939 EXTRA_VAR based on value of EXTRA_EXPECTED.
14940 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14941 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14942 EXTRA_VAR based on value of EXTRA_EXPECTED.
14943 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14944 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14945 EXTRA_VAR based on value of EXTRA_EXPECTED.
14946 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14947 * math/gen-libm-test.pl (parse_args): Don't output initializers
14948 for extra output values.
14949
de407f79
JM
14950 * math/libm-test.inc (check_int): Expect result to be exactly
14951 equal to expected value and do not handle ulps.
14952 (check_long): Likewise.
14953 (check_longlong): Likewise.
14954
8269107f
JM
14955 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14956 exceptions.
14957 (cimag_test_data): Likewise.
14958 (conj_test_data): Likewise.
14959 (copysign_test_data): Likewise.
14960 (cproj_test_data): Likewise.
14961 (creal_test_data): Likewise.
14962 (fabs_test_data): Likewise.
14963 (fdim_test_data): Likewise.
14964 (finite_test_data): Likewise.
14965 (floor_test_data): Likewise.
14966 (fmax_test_data): Likewise.
14967 (fmin_test_data): Likewise.
14968 (fmod_test_data): Likewise.
14969 (fpclassify_test_data): Likewise.
14970 (frexp_test_data): Likewise.
14971 (ilogb_test_data): Likewise.
14972 (isfinite_test_data): Likewise.
14973 (isgreater_test_data): Likewise.
14974 (isgreaterequal_test_data): Likewise.
14975 (isinf_test_data): Likewise.
14976 (isless_test_data): Likewise.
14977 (islessequal_test_data): Likewise.
14978 (islessgreater_test_data): Likewise.
14979 (isnan_test_data): Likewise.
14980 (isnormal_test_data): Likewise.
14981 (issignaling_test_data): Likewise.
14982 (isunordered_test_data): Likewise.
14983 (ldexp_test_data): Likewise.
14984 (lrint_test_data): Likewise.
14985 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14986 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14987 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14988 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14989 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14990 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14991 test input.
14992 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14993 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14994 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14995 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14996 that test input.
14997 (lrint_downward_test_data): Test for "inexact" exceptions.
14998 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14999 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15000 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15001 test input.
15002 (lrint_upward_test_data): Test for "inexact" exceptions.
15003 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15004 test input.
15005 (llrint_test_data): Test for "inexact" exceptions.
15006 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15007 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15008 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15009 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15010 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15011 (llrint_downward_test_data): Test for "inexact" exceptions.
15012 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15013 (llrint_upward_test_data): Test for "inexact" exceptions.
15014 (logb_test_data): Likewise.
15015 (logb_downward_test_data): Likewise.
15016 (nextafter_test_data): Likewise.
15017 (nexttoward_test_data): Likewise.
15018 (remainder_test_data): Likewise.
15019 (remquo_test_data): Likewise.
15020 (scalbn_test_data): Likewise.
15021 (scalbln_test_data): Likewise.
15022 (signbit_test_data): Likewise.
15023 (sqrt_test_data): Likewise.
15024 (significand_test_data): Likewise.
15025
48a18de1
SP
150262013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15027
15028 [BZ #15424]
15029 * benchtests/bench-modf.c (struct args): Mark arg0 as
15030 volatile.
15031 * scripts/bench.pl: Mark members of struct args as volatile.
15032
13d3b41a
AZ
150332013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15034
68191c1d 15035 [BZ # 15497]
13d3b41a
AZ
15036 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15037 negative infinity on POWER6 or lower.
15038 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15039
2848b105
MR
150402013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15041
15042 [BZ #15442]
15043 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15044 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15045 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15046 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15047 (_FP_SETQNAN): New macro.
15048 (_FP_SETQNAN_SEMIRAW): Likewise.
15049 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15050 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15051 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15052 (FP_EXTEND): Use _FP_FRAC_SNANP.
15053 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15054 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15055 into account.
15056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15057 New macro.
15058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15059 Likewise.
15060
323e5cb7
JM
150612013-05-16 Joseph Myers <joseph@codesourcery.com>
15062
c58b274f
JM
15063 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15064 with DIVIDE_BY_ZERO_EXCEPTION.
15065 (gamma_test_data): Likewise.
15066 (lgamma_test_data): Likewise.
15067 (log_test_data): Likewise.
15068 (log10_test_data): Likewise.
15069 (log2_test_data): Likewise.
15070 (tgamma_test_data): Likewise.
15071
0ab34904
JM
15072 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15073 (acos_test_tonearest): Likewise.
15074 (acos_test_towardzero): Likewise.
15075 (acos_test_downward): Likewise.
15076 (acos_test_upward): Likewise.
15077 (acosh_test): Likewise.
15078 (asin_test): Likewise.
15079 (asin_test_tonearest): Likewise.
15080 (asin_test_towardzero): Likewise.
15081 (asin_test_downward): Likewise.
15082 (asin_test_upward): Likewise.
15083 (asinh_test): Likewise.
15084 (atan_test): Likewise.
15085 (atanh_test): Likewise.
15086 (atan2_test): Likewise.
15087 (cabs_test): Likewise.
15088 (cacos_test): Likewise.
15089 (cacosh_test): Likewise.
15090 (casin_test): Likewise.
15091 (casinh_test): Likewise.
15092 (catan_test): Likewise.
15093 (catanh_test): Likewise.
15094 (cbrt_test): Likewise.
15095 (ccos_test): Likewise.
15096 (ccosh_test): Likewise.
15097 (cexp_test): Likewise.
15098 (clog_test): Likewise.
15099 (clog10_test): Likewise.
15100 (cos_test): Likewise.
15101 (cos_test_tonearest): Likewise.
15102 (cos_test_towardzero): Likewise.
15103 (cos_test_downward): Likewise.
15104 (cos_test_upward): Likewise.
15105 (cosh_test): Likewise.
15106 (cosh_test_tonearest): Likewise.
15107 (cosh_test_towardzero): Likewise.
15108 (cosh_test_downward): Likewise.
15109 (cosh_test_upward): Likewise.
15110 (cpow_test): Likewise.
15111 (csin_test): Likewise.
15112 (csinh_test): Likewise.
15113 (csqrt_test): Likewise.
15114 (ctan_test): Likewise.
15115 (ctan_test_tonearest): Likewise.
15116 (ctan_test_towardzero): Likewise.
15117 (ctan_test_downward): Likewise.
15118 (ctan_test_upward): Likewise.
15119 (ctanh_test): Likewise.
15120 (ctanh_test_tonearest): Likewise.
15121 (ctanh_test_towardzero): Likewise.
15122 (ctanh_test_downward): Likewise.
15123 (ctanh_test_upward): Likewise.
15124 (erf_test): Likewise.
15125 (erfc_test): Likewise.
15126 (exp_test): Likewise.
15127 (exp_test_tonearest): Likewise.
15128 (exp_test_towardzero): Likewise.
15129 (exp_test_downward): Likewise.
15130 (exp_test_upward): Likewise.
15131 (exp10_test): Likewise.
15132 (exp2_test): Likewise.
15133 (expm1_test): Likewise.
15134 (fmod_test): Likewise.
15135 (gamma_test): Likewise.
15136 (hypot_test): Likewise.
15137 (j0_test): Likewise.
15138 (j1_test): Likewise.
15139 (jn_test): Likewise.
15140 (lgamma_test): Likewise.
15141 (log_test): Likewise.
15142 (log10_test): Likewise.
15143 (log1p_test): Likewise.
15144 (log2_test): Likewise.
15145 (logb_test_downward): Likewise.
15146 (pow_test): Likewise.
15147 (pow_test_tonearest): Likewise.
15148 (pow_test_towardzero): Likewise.
15149 (pow_test_downward): Likewise.
15150 (pow_test_upward): Likewise.
15151 (remainder_test): Likewise.
15152 (remquo_test): Likewise.
15153 (sin_test): Likewise.
15154 (sin_test_tonearest): Likewise.
15155 (sin_test_towardzero): Likewise.
15156 (sin_test_downward): Likewise.
15157 (sin_test_upward): Likewise.
15158 (sincos_test): Likewise.
15159 (sinh_test): Likewise.
15160 (sinh_test_tonearest): Likewise.
15161 (sinh_test_towardzero): Likewise.
15162 (sinh_test_downward): Likewise.
15163 (sinh_test_upward): Likewise.
15164 (sqrt_test): Likewise.
15165 (tan_test): Likewise.
15166 (tan_test_tonearest): Likewise.
15167 (tan_test_towardzero): Likewise.
15168 (tan_test_downward): Likewise.
15169 (tan_test_upward): Likewise.
15170 (tanh_test): Likewise.
15171 (tgamma_test): Likewise.
15172 (y0_test): Likewise.
15173 (y1_test): Likewise.
15174 (yn_test): Likewise.
15175
323e5cb7
JM
15176 * math/gen-libm-test.pl (adjust_arg): Remove function.
15177 (special_function): Remove argument $in_func. Only handle
15178 generating output for tables of tests, not inside functions.
15179 (parse_args): Likewise.
15180 (generate_testfile): Remove variable $in_func. Update call to
15181 parse_args.
15182 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15183 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15184 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15185 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15186 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15187 (MAX_VALUE_INIT): Rename macro to max_value.
15188 (MIN_VALUE_INIT): Rename macro to min_value.
15189 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15190 (plus_zero): Remove variable.
15191 (minus_zero): Likewise.
15192 (plus_infty): Likewise.
15193 (minus_infty): Likewise.
15194 (qnan_value): Likewise.
15195 (max_value): Likewise.
15196 (min_value): Likewise.
15197 (min_subnorm_value): Likewise.
15198
e054f494
RA
151992013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15200
15201 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15202 uint64_t or uint32_t usage.
15203 * crypt/sha256-block.c: Likewise.
15204 * crypt/sha256-crypt.c: Likewise.
15205 * crypt/sha256.c: Likewise.
15206 * crypt/sha512-block.c: Likewise.
15207 * crypt/sha512-crypt.c: Likewise.
15208 * crypt/sha512.c: Likewise.
15209 * debug/backtrace-tst.c: Likewise.
15210 * debug/pcprofiledump.c: Likewise.
15211 * elf/cache.c: Likewise.
15212 * elf/dl-cache.c: Likewise.
15213 * elf/dl-misc.c: Likewise.
15214 * elf/dl-profile.c: Likewise.
15215 * elf/dl-support.c: Likewise.
15216 * elf/ldconfig.c: Likewise.
15217 * elf/sprof.c: Likewise.
15218 * iconv/dummy-repertoire.c: Likewise.
15219 * iconv/iconv_charmap.c: Likewise.
15220 * iconv/skeleton.c: Likewise.
15221 * iconvdata/8bit-generic.c: Likewise.
15222 * iconvdata/cp737.h: Likewise.
15223 * iconvdata/cp775.h: Likewise.
15224 * iconvdata/ibm1008.h: Likewise.
15225 * iconvdata/ibm1025.h: Likewise.
15226 * iconvdata/ibm1046.h: Likewise.
15227 * iconvdata/ibm1097.h: Likewise.
15228 * iconvdata/ibm1112.h: Likewise.
15229 * iconvdata/ibm1122.h: Likewise.
15230 * iconvdata/ibm1123.h: Likewise.
15231 * iconvdata/ibm1124.h: Likewise.
15232 * iconvdata/ibm1129.h: Likewise.
15233 * iconvdata/ibm1130.h: Likewise.
15234 * iconvdata/ibm1132.h: Likewise.
15235 * iconvdata/ibm1133.h: Likewise.
15236 * iconvdata/ibm1137.h: Likewise.
15237 * iconvdata/ibm1140.h: Likewise.
15238 * iconvdata/ibm1141.h: Likewise.
15239 * iconvdata/ibm1142.h: Likewise.
15240 * iconvdata/ibm1143.h: Likewise.
15241 * iconvdata/ibm1144.h: Likewise.
15242 * iconvdata/ibm1145.h: Likewise.
15243 * iconvdata/ibm1146.h: Likewise.
15244 * iconvdata/ibm1147.h: Likewise.
15245 * iconvdata/ibm1148.h: Likewise.
15246 * iconvdata/ibm1149.h: Likewise.
15247 * iconvdata/ibm1153.h: Likewise.
15248 * iconvdata/ibm1154.h: Likewise.
15249 * iconvdata/ibm1155.h: Likewise.
15250 * iconvdata/ibm1156.h: Likewise.
15251 * iconvdata/ibm1157.h: Likewise.
15252 * iconvdata/ibm1158.h: Likewise.
15253 * iconvdata/ibm1160.h: Likewise.
15254 * iconvdata/ibm1161.h: Likewise.
15255 * iconvdata/ibm1162.h: Likewise.
15256 * iconvdata/ibm1163.h: Likewise.
15257 * iconvdata/ibm1164.h: Likewise.
15258 * iconvdata/ibm1166.h: Likewise.
15259 * iconvdata/ibm1167.h: Likewise.
15260 * iconvdata/ibm12712.h: Likewise.
15261 * iconvdata/ibm1390.h: Likewise.
15262 * iconvdata/ibm1399.h: Likewise.
15263 * iconvdata/ibm16804.h: Likewise.
15264 * iconvdata/ibm4517.h: Likewise.
15265 * iconvdata/ibm4899.h: Likewise.
15266 * iconvdata/ibm4909.h: Likewise.
15267 * iconvdata/ibm4971.h: Likewise.
15268 * iconvdata/ibm5347.h: Likewise.
15269 * iconvdata/ibm803.h: Likewise.
15270 * iconvdata/ibm856.h: Likewise.
15271 * iconvdata/ibm901.h: Likewise.
15272 * iconvdata/ibm902.h: Likewise.
15273 * iconvdata/ibm9030.h: Likewise.
15274 * iconvdata/ibm9066.h: Likewise.
15275 * iconvdata/ibm921.h: Likewise.
15276 * iconvdata/ibm922.h: Likewise.
15277 * iconvdata/ibm9448.h: Likewise.
15278 * iconvdata/isiri-3342.h: Likewise.
15279 * iconvdata/jis0201.h: Likewise.
15280 * include/link.h: Likewise.
15281 * include/netdb.h: Likewise.
15282 * inet/check_native.c: Likewise.
15283 * inet/check_pf.c: Likewise.
15284 * inet/getipv4sourcefilter.c: Likewise.
15285 * inet/getnameinfo.c: Likewise.
15286 * inet/getsourcefilter.c: Likewise.
15287 * inet/htonl.c: Likewise.
15288 * inet/setipv4sourcefilter.c: Likewise.
15289 * inet/setsourcefilter.c: Likewise.
15290 * inet/test-inet6_opt.c: Likewise.
15291 * inet/tst-network.c: Likewise.
15292 * locale/C-collate.c: Likewise.
15293 * locale/C-ctype.c: Likewise.
15294 * locale/C-time.c: Likewise.
15295 * locale/C-translit.h: Likewise.
15296 * locale/loadarchive.c: Likewise.
15297 * locale/programs/3level.h: Likewise.
15298 * locale/programs/charmap.c: Likewise.
15299 * locale/programs/charmap.h: Likewise.
15300 * locale/programs/ld-address.c: Likewise.
15301 * locale/programs/ld-collate.c: Likewise.
15302 * locale/programs/ld-ctype.c: Likewise.
15303 * locale/programs/ld-identification.c: Likewise.
15304 * locale/programs/ld-measurement.c: Likewise.
15305 * locale/programs/ld-messages.c: Likewise.
15306 * locale/programs/ld-monetary.c: Likewise.
15307 * locale/programs/ld-name.c: Likewise.
15308 * locale/programs/ld-numeric.c: Likewise.
15309 * locale/programs/ld-paper.c: Likewise.
15310 * locale/programs/ld-telephone.c: Likewise.
15311 * locale/programs/ld-time.c: Likewise.
15312 * locale/programs/linereader.c: Likewise.
15313 * locale/programs/locale.c: Likewise.
15314 * locale/programs/locarchive.c: Likewise.
15315 * locale/programs/locfile.h: Likewise.
15316 * locale/programs/repertoire.c: Likewise.
15317 * locale/programs/simple-hash.c: Likewise.
15318 * locale/programs/simple-hash.h: Likewise.
15319 * malloc/memusage.c: Likewise.
15320 * malloc/memusagestat.c: Likewise.
15321 * nis/nis_defaults.c: Likewise.
15322 * nis/nis_hash.c: Likewise.
15323 * nis/nis_print.c: Likewise.
15324 * nis/nis_xdr.c: Likewise.
15325 * nscd/connections.c: Likewise.
15326 * nscd/hstcache.c: Likewise.
15327 * nscd/nscd_gethst_r.c: Likewise.
15328 * nscd/nscd_getserv_r.c: Likewise.
15329 * nscd/nscd_helper.c: Likewise.
15330 * nscd/servicescache.c: Likewise.
15331 * nss/makedb.c: Likewise.
15332 * nss/nss_db/db-XXX.c: Likewise.
15333 * nss/nss_db/db-initgroups.c: Likewise.
15334 * nss/nss_db/db-netgrp.c: Likewise.
15335 * nss/nss_files/files-network.c: Likewise.
15336 * nss/nss_files/files-parse.c: Likewise.
15337 * posix/bug-regex5.c: Likewise.
15338 * posix/fnmatch_loop.c: Likewise.
15339 * posix/regcomp.c: Likewise.
15340 * posix/regexec.c: Likewise.
15341 * posix/tst-rfc3484-2.c: Likewise.
15342 * posix/tst-rfc3484-3.c: Likewise.
15343 * posix/tst-rfc3484.c: Likewise.
15344 * resolv/nss_dns/dns-canon.c: Likewise.
15345 * resolv/nss_dns/dns-network.c: Likewise.
15346 * resolv/res_init.c: Likewise.
15347 * resolv/res_mkquery.c: Likewise.
15348 * resolv/tst-aton.c: Likewise.
15349 * stdlib/cxa_atexit.c: Likewise.
15350 * stdlib/cxa_finalize.c: Likewise.
15351 * stdlib/gen-fpioconst.c: Likewise.
15352 * stdlib/strtol_l.c: Likewise.
15353 * string/tst-endian.c: Likewise.
15354 * sunrpc/auth_des.c: Likewise.
15355 * sunrpc/clnt_udp.c: Likewise.
15356 * sunrpc/rtime.c: Likewise.
15357 * sunrpc/svcauth_des.c: Likewise.
15358 * sunrpc/xdr.c: Likewise.
15359 * sunrpc/xdr_intXX_t.c: Likewise.
15360 * sunrpc/xdr_rec.c: Likewise.
15361 * sysdeps/generic/ldconfig.h: Likewise.
15362 * sysdeps/generic/ldsodefs.h: Likewise.
15363 * sysdeps/generic/memusage.h: Likewise.
15364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15374 * sysdeps/posix/getaddrinfo.c: Likewise.
15375 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15376 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15377 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15378 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15379 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15380 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15381 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15382 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15383 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15384 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15385 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15386 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15387 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15388 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15390 * sysdeps/x86_64/dl-tls.h: Likewise.
15391 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15392 * time/alt_digit.c: Likewise.
15393 * time/era.c: Likewise.
15394 * wcsmbs/tst-c16c32-1.c: Likewise.
15395
8c75f674
JM
153962013-05-16 Joseph Myers <joseph@codesourcery.com>
15397
15398 * math/libm-test.inc (struct test_sincos_data): New type.
15399 (RUN_TEST_LOOP_sincos): New macro.
15400 (sincos_test_data): New variable.
15401 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15402
e6e49e59
RH
154032013-05-16 Richard Henderson <rth@redhat.com>
15404
15405 * math/atest-exp2.c (LIMB64): New macro.
15406 (CONSTSZ): New macro.
15407 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15408 (hexdig): Move ...
15409 (print_mpn_fp): ... to function scope.
15410 (read_mpn_hex): Remove.
15411 (get_log2): Remove.
15412 (exp2_mpn): Use mp_log2.
15413 (main): Use mp_exp1.
15414
15c7c18d
JM
154152013-05-16 Joseph Myers <joseph@codesourcery.com>
15416
105a07df
JM
15417 * math/libm-test.inc: Remove comment about not testing "inexact"
15418 exceptions.
15419 (INEXACT_EXCEPTION): New macro.
15420 (NO_INEXACT_EXCEPTION): Likewise.
15421 (INVALID_EXCEPTION_OK): Update value.
15422 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15423 (OVERFLOW_EXCEPTION_OK): Likewise.
15424 (UNDERFLOW_EXCEPTION_OK): Likewise.
15425 (IGNORE_ZERO_INF_SIGN): Likewise.
15426 (ERRNO_UNCHANGED): Likewise.
15427 (ERRNO_EDOM): Likewise.
15428 (ERRNO_ERANGE): Likewise.
15429 (test_exceptions): Handle testing "inexact" exceptions.
15430 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15431 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15432 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15433 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15434 INEXACT_EXCEPTION.
15435 (rint_towardzero_test_data): Likewise.
15436 (rint_downward_test_data): Likewise.
15437 (rint_upward_test_data): Likewise.
15438
e9eee333
JM
15439 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15440 with OVERFLOW_EXCEPTION.
15441 (exp10_test_data): Likewise.
15442 (exp2_test_data): Likewise.
15443 (expm1_test_data): Likewise.
15444 (lgamma_test_data): Likewise.
15445 (pow_test_data): Likewise.
15446 (tgamma_test_data): Likewise.
15447 (yn_test_data): Remove duplicate test of overflow.
15448
1c38ff73
JM
15449 * math/libm-test.inc (struct test_cc_c_data): New type.
15450 (RUN_TEST_LOOP_cc_c): New macro.
15451 (cpow_test_data): New variable.
15452 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15453
15c7c18d
JM
15454 * math/libm-test.inc (struct test_f_L_data): New type.
15455 (RUN_TEST_LOOP_f_L): New macro.
15456 (llrint_test_data): New variable.
15457 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15458 (llrint_tonearest_test_data): New variable.
15459 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15460 (llrint_towardzero_test_data): New variable.
15461 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15462 (llrint_downward_test_data): New variable.
15463 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15464 (llrint_upward_test_data): New variable.
15465 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15466 (llround_test_data): New variable.
15467 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15468
f137ff13
PC
154692013-05-13 Peter Collingbourne <pcc@google.com>
15470
15471 * math/atest-exp2.c (get_log2): Remove const attribute.
15472
3608cb24
JM
154732013-05-15 Joseph Myers <joseph@codesourcery.com>
15474
15475 * math/libm-test.inc (struct test_f_l_data): New type.
15476 (RUN_TEST_LOOP_f_l): New macro.
15477 (lrint_test_data): New variable.
15478 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15479 (lrint_tonearest_test_data): New variable.
15480 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15481 (lrint_towardzero_test_data): New variable.
15482 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15483 (lrint_downward_test_data): New variable.
15484 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15485 (lrint_upward_test_data): New variable.
15486 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15487 (lround_test_data): New variable.
15488 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15489
39b1f617
PC
154902013-05-15 Peter Collingbourne <pcc@google.com>
15491
1deff3dc
PC
15492 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15493 (EXTRACT_WORDS64) Use where appropriate.
15494 (INSERT_WORDS64) Likewise.
15495
791f3ba0
PC
15496 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15497 constraints with x constraints.
15498 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15499
39b1f617
PC
15500 * malloc/obstack.c (_obstack_compat): Add initializer.
15501
12fba011
EM
155022013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15503
15504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15505 si_trapno and add si_addr_lsb to _sifields.sigfault.
15506 (si_trapno): Remove macro.
15507 (si_addr_lsb): Define new macro.
15508 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15509
d369f531
JM
155102013-05-15 Joseph Myers <joseph@codesourcery.com>
15511
b861c6c4
JM
15512 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15513 instead of TEST_f_l.
15514 (llrint_test_tonearest): Likewise.
15515 (llrint_test_towardzero): Likewise.
15516 (llrint_test_downward): Likewise.
15517 (llrint_test_upward): Likewise.
15518 (llround_test): Likewise.
15519
7abeee12
JM
15520 * math/libm-test.inc (struct test_f_i_data): Add comment.
15521 (RUN_TEST_LOOP_f_b): New macro.
15522 (RUN_TEST_LOOP_f_b_tg): Likewise.
15523 (finite_test_data): New variable.
15524 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15525 (isfinite_test_data): New variable.
15526 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15527 (isinf_test_data): New variable.
15528 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15529 (isnan_test_data): New variable.
15530 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15531 (isnormal_test_data): New variable.
15532 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15533 (issignaling_test_data): New variable.
15534 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15535 (signbit_test_data): New variable.
15536 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15537
cbe8c4d3
JM
15538 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15539 with INVALID_EXCEPTION.
15540 (acosh_test_data): Likewise.
15541 (asin_test_data): Likewise.
15542 (atanh_test_data): Likewise.
15543 (fmod_test_data): Likewise.
15544 (log_test_data): Likewise.
15545 (log10_test_data): Likewise.
15546 (log2_test_data): Likewise.
15547 (pow_test_data): Likewise.
15548 (sqrt_test_data): Likewise.
15549 (y0_test_data): Likewise.
15550 (y1_test_data): Likewise.
15551 (yn_test_data): Likewise.
15552
5575c0e5
JM
15553 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15554 function contents.
15555
d369f531
JM
15556 * math/libm-test.inc (struct test_ff_i_data): New type.
15557 (RUN_TEST_LOOP_ff_i_tg): New macro.
15558 (isgreater_test_data): New variable.
15559 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15560 (isgreaterequal_test_data): New variable.
15561 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15562 (isless_test_data): New variable.
15563 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15564 (islessequal_test_data): New variable.
15565 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15566 (islessgreater_test_data): New variable.
15567 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15568 (isunordered_test_data): New variable.
15569 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15570
781fd748
DM
155712013-05-14 David S. Miller <davem@davemloft.net>
15572
15573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15574
87aa21df
JM
155752013-05-14 Joseph Myers <joseph@codesourcery.com>
15576
5e908270
JM
15577 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15578
f71172e5
JM
15579 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15580 extra_test to int.
15581 (struct test_f_i_data): Change type of max_ulp to int.
15582
8cfa635a
JM
15583 * math/libm-test.inc (test_ffI_f1_data): New type.
15584 (RUN_TEST_LOOP_ffI_f1): New macro.
15585 (remquo_test_data): New variable.
15586 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15587
2bcb36b2
JM
15588 * setjmp/tst-setjmp-fp.c: New file.
15589 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15590 (link-libm): New variable.
15591 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15592
acbd839a
JM
15593 * math/libm-test.inc (struct test_f_i_data): New type.
15594 (RUN_TEST_LOOP_f_i): New macro.
15595 (RUN_TEST_LOOP_f_i_tg): Likewise.
15596 (fpclassify_test_data): New variable.
15597 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15598 (ilogb_test_data): New variable.
15599 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15600
e414d745
JM
15601 * math/libm-test.inc (scalbln_test): Correct function name in END
15602 call.
15603
d9c2a0fd
JM
15604 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15605 (RUN_TEST_LOOP_fI_f1): New macro.
15606 (frexp_test_data): New variable.
15607 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15608
9dc9095d
JM
15609 * math/libm-test.inc (struct test_fF_f1_data): New type.
15610 (RUN_TEST_LOOP_fF_f1): New macro.
15611 (modf_test_data): New variable.
15612 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15613
87aa21df
JM
15614 * math/libm-test.inc (struct test_f_f1_data): New type.
15615 (RUN_TEST_LOOP_f_f1): New macro.
15616 (gamma_test_data): New variable.
15617 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15618 (lgamma_test_data): New variable.
15619 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15620
141af660
CD
156212013-05-13 Carlos O'Donell <carlos@redhat.com>
15622
15623 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15624 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15625 (main): Comment "tls" pseudo-hwcap.
15626
6d33265c
JM
156272013-05-13 Joseph Myers <joseph@codesourcery.com>
15628
68fc074c
JM
15629 * math/libm-test.inc (struct test_fl_f_data): New type.
15630 (RUN_TEST_LOOP_fl_f): New variable.
15631 (scalbln_test_data): New variable.
15632 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15633
243216e1
JM
15634 * math/libm-test.inc (struct test_fi_f_data): New type.
15635 (RUN_TEST_LOOP_fi_f): New macro.
15636 (ldexp_test_data): New variable.
15637 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15638 (scalbn_test_data): New variable.
15639 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15640
6a1992e2
JM
15641 * math/libm-test.inc (struct test_c_f_data): New type.
15642 (RUN_TEST_LOOP_c_f): New macro.
15643 (cabs_test_data): New variable.
15644 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15645 (carg_test_data): New variable.
15646 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15647 (cimag_test_data): New variable.
15648 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15649 (creal_test_data): New variable.
15650 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15651
0e400df5
JM
15652 * math/libm-test.inc (struct test_if_f_data): New type.
15653 (RUN_TEST_LOOP_if_f): New macro.
15654 (jn_test_data): New variable.
15655 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15656 (yn_test_data): New variable.
15657 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15658
6d33265c
JM
15659 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15660
f98ece5f
AZ
156612013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662
15663 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15664 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15665
0f7d347b
SP
156662013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15667
43fe811b
SP
15668 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15669 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15670 (bench-deps): Add bench-timing.h.
15671 * benchtests-bench-skeleton.c: Include bench-timing.h.
15672 (main): Use TIMING_* macros instead of clock_gettime.
15673 * benchtests/bench-timing.h: New file.
15674
0f7d347b
SP
15675 [BZ #14582]
15676 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15677 Renamed from _LIB_VERSION.
15678 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15679
601a3a5f
JM
156802013-05-12 Joseph Myers <joseph@codesourcery.com>
15681
4f184d30
JM
15682 * math/libm-test.inc (struct test_fff_f_data): New type.
15683 (RUN_TEST_LOOP_fff_f): New macro.
15684 (fma_test_data): New variable.
15685 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15686 (fma_towardzero_test_data): New variable.
15687 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15688 (fma_downward_test_data): New variable.
15689 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15690 (fma_upward_test_data): New variable.
15691 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15692
08198877
JM
15693 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15694 (struct test_c_c_data): New type.
15695 (RUN_TEST_LOOP_c_c): New macro.
15696 (cacos_test_data): New variable.
15697 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15698 (cacosh_test_data): New variable.
15699 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15700 (casin_test_data): New variable.
15701 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15702 (casinh_test_data): New variable.
15703 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15704 (catan_test_data): New variable.
15705 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15706 (catanh_test_data): New variable.
15707 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15708 (ccos_test_data): New variable.
15709 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15710 (ccosh_test_data): New variable.
15711 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15712 (cexp_test_data): New variable.
15713 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15714 (clog_test_data): New variable.
15715 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15716 (clog10_test_data): New variable.
15717 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15718 (conj_test_data): New variable.
15719 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15720 (cproj_test_data): New variable.
15721 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15722 (csin_test_data): New variable.
15723 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15724 (csinh_test_data): New variable.
15725 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15726 (csqrt_test_data): New variable.
15727 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15728 (ctan_test_data): New variable.
15729 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15730 (ctan_tonearest_test_data): New variable.
15731 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15732 (ctan_towardzero_test_data): New variable.
15733 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15734 (ctan_downward_test_data): New variable.
15735 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15736 (ctan_upward_test_data): New variable.
15737 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15738 (ctanh_test_data): New variable.
15739 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15740 (ctanh_tonearest_test_data): New variable.
15741 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15742 (ctanh_towardzero_test_data): New variable.
15743 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15744 (ctanh_downward_test_data): New variable.
15745 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15746 (ctanh_upward_test_data): New variable.
15747 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15748 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15749 of BUILD_COMPLEX.
15750
601a3a5f
JM
15751 * math/libm-test.inc (struct test_ff_f_data): New type.
15752 (struct test_ff_f_data_nexttoward): Likewise.
15753 (RUN_TEST_LOOP_2_f): New macro.
15754 (RUN_TEST_LOOP_ff_f): Likewise.
15755 (atan2_test_data): New variable.
15756 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15757 (copysign_test_data): New variable.
15758 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15759 (fdim_test_data): New variable.
15760 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15761 (fmax_test_data): New variable.
15762 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15763 (fmin_test_data): New variable.
15764 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15765 (fmod_test_data): New variable.
15766 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15767 (hypot_test_data): New variable.
15768 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15769 (nextafter_test_data): New variable.
15770 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15771 (nexttoward_test_data): New variable.
15772 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15773 (pow_test_data): New variable.
15774 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15775 (pow_tonearest_test_data): New variable.
15776 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15777 (pow_towardzero_test_data): New variable.
15778 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15779 (pow_downward_test_data): New variable.
15780 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15781 (pow_upward_test_data): New variable.
15782 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15783 (remainder_test_data): New variable.
15784 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15785 (scalb_test_data): New variable.
15786 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788
74c57478
JM
157892013-05-11 Joseph Myers <joseph@codesourcery.com>
15790
8329e4da
JM
15791 * math/libm-test.inc (fma_test): Use max_value instead of local
15792 variable fltmax.
15793 (nextafter_test): Likewise.
15794
74c57478
JM
15795 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15796 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15797 (acos_downward_test_data): New variable.
15798 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15799 (acos_upward_test_data): New variable.
15800 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15801 (acosh_test_data): New variable.
15802 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15803 (asin_test_data): New variable.
15804 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15805 (asin_tonearest_test_data): New variable.
15806 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15807 (asin_towardzero_test_data): New variable.
15808 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15809 (asin_downward_test_data): New variable.
15810 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15811 (asin_upward_test_data): New variable.
15812 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15813 (asinh_test_data): New variable.
15814 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15815 (atan_test_data): New variable.
15816 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15817 (atanh_test_data): New variable.
15818 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15819 (cbrt_test_data): New variable.
15820 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15821 (ceil_test_data): New variable.
15822 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15823 (cos_test_data): New variable.
15824 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15825 (cos_tonearest_test_data): New variable.
15826 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15827 (cos_towardzero_test_data): New variable.
15828 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15829 (cos_downward_test_data): New variable.
15830 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15831 (cos_upward_test_data): New variable.
15832 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15833 (cosh_test_data): New variable.
15834 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15835 (cosh_tonearest_test_data): New variable.
15836 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15837 (cosh_towardzero_test_data): New variable.
15838 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15839 (cosh_downward_test_data): New variable.
15840 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15841 (cosh_upward_test_data): New variable.
15842 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15843 (erf_test_data): New variable.
15844 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15845 (erfc_test_data): New variable.
15846 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15847 (exp_test_data): New variable.
15848 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15849 (exp_tonearest_test_data): New variable.
15850 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15851 (exp_towardzero_test_data): New variable.
15852 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15853 (exp_downward_test_data): New variable.
15854 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15855 (exp_upward_test_data): New variable.
15856 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15857 (exp10_test_data): New variable.
15858 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15859 (exp2_test_data): New variable.
15860 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15861 (expm1_test_data): New variable.
15862 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15863 (fabs_test_data): New variable.
15864 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15865 (floor_test_data): New variable.
15866 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15867 (j0_test_data): New variable.
15868 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15869 (j1_test_data): New variable.
15870 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15871 (log_test_data): New variable.
15872 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15873 (log10_test_data): New variable.
15874 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15875 (log1p_test_data): New variable.
15876 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15877 (log2_test_data): New variable.
15878 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15879 (logb_test_data): New variable.
15880 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15881 (logb_downward_test_data): New variable.
15882 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15883 (nearbyint_test_data): New variable.
15884 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15885 (rint_test_data): New variable.
15886 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15887 (rint_tonearest_test_data): New variable.
15888 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15889 (rint_towardzero_test_data): New variable.
15890 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15891 (rint_downward_test_data): New variable.
15892 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15893 (rint_upward_test_data): New variable.
15894 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15895 (round_test_data): New variable.
15896 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15897 (sin_test_data): New variable.
15898 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15899 (sin_tonearest_test_data): New variable.
15900 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15901 (sin_towardzero_test_data): New variable.
15902 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15903 (sin_downward_test_data): New variable.
15904 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15905 (sin_upward_test_data): New variable.
15906 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15907 (sinh_test_data): New variable.
15908 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15909 (sinh_tonearest_test_data): New variable.
15910 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15911 (sinh_towardzero_test_data): New variable.
15912 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15913 (sinh_downward_test_data): New variable.
15914 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15915 (sinh_upward_test_data): New variable.
15916 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15917 (sqrt_test_data): New variable.
15918 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15919 (tan_test_data): New variable.
15920 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15921 (tan_tonearest_test_data): New variable.
15922 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15923 (tan_towardzero_test_data): New variable.
15924 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15925 (tan_downward_test_data): New variable.
15926 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15927 (tan_upward_test_data): New variable.
15928 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15929 (tanh_test_data): New variable.
15930 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15931 (tgamma_test_data): New variable.
15932 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15933 (trunc_test_data): New variable.
15934 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15935 (y0_test_data): New variable.
15936 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15937 (y1_test_data): New variable.
15938 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15939 (significand_test_data): New variable.
15940 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15941
7187d844
CG
159422013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15943
15944 [BZ #12387]
15945 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15946
f63fae73
PT
159472013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15948
15949 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15950
8a67a4b3
AJ
159512013-05-10 Andreas Jaeger <aj@suse.de>
15952
15953 [BZ #15448]
15954 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15955 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15956
51df539d
JM
159572013-05-10 Joseph Myers <joseph@codesourcery.com>
15958
15959 * math/gen-libm-test.pl (adjust_arg): New function.
15960 (special_functions): Handle generating output in both functions
15961 and arrays.
15962 (parse_args): Likewise.
15963 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15964 $in_func argument to parse_args.
15965 * math/libm-test.inc (struct test_f_f_data): New type.
15966 (IF_ROUND_INIT_): New macro.
15967 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15968 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15969 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15970 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15971 (ROUND_RESTORE_): Likewise.
15972 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15973 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15974 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15975 (ROUND_RESTORE_FE_UPWARD): Likewise.
15976 (RUN_TEST_LOOP_f_f): New macro.
15977 (acos_test_data): New variable.
15978 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15979 (acos_tonearest_test_data): New variable.
15980 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15981
5c637fe5
SP
159822013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15983
15984 * benchtests/bench-skeleton.c (startup): Fix coding style.
15985
ab2b9461
JM
159862013-05-10 Joseph Myers <joseph@codesourcery.com>
15987
15988 [BZ #6809]
15989 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15990 negative infinity argument.
15991 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15992 negative infinity argument.
15993 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15994 negative infinity argument.
15995 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15996 domain errors.
15997
4c0fe6fe
FW
159982013-05-10 Florian Weimer <fweimer@redhat.com>
15999
16000 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16001 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16002 * iconv/iconv_prog.c (main): Likewise.
16003 * locale/programs/charmap-dir.c (charmap_readdir)
16004 (fopen_uncompressed): Likewise.
16005 * locale/programs/locfile.c (siblings_uncached)
16006 (write_locale_data): Use lstat64 instead of lstat.
16007 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16008 stat.
16009
a3375d29
AJ
160102013-05-10 Andreas Jaeger <aj@suse.de>
16011
16012 [BZ #15395]
16013 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16014 localization.
16015 Include <locale.h>.
16016
36129722
CD
160172013-05-09 Carlos O'Donell <carlos@redhat.com>
16018
16019 * elf/dl-close.c (_dl_close_worker): Add comments.
16020
faa7f811
JM
160212013-05-09 Joseph Myers <joseph@codesourcery.com>
16022
ed41ffef
JM
16023 [BZ #15359]
16024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16025 high part of pi/2.
16026 (__ieee754_rem_pio2l): Update comments.
16027
d0213cd0
JM
16028 [BZ #15429]
16029 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16030 high part of pi/2.
16031 (__ieee754_rem_pio2l): Update comments.
16032
0d3e777a
JM
16033 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16034 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16035
24f56066
JM
16036 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16037 M_PI_4l.
16038
faa7f811
JM
16039 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16040 (M_PI_34_LOG10El): Likewise.
16041 (M_PI2_LOG10El): Likewise.
16042 (M_PI4_LOG10El): Likewise.
16043 (M_PI_LOG10El): Likewise.
16044
e9a5e0fd
AZ
160452013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16046
16047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16048
d8cd06db
JM
160492013-05-08 Joseph Myers <joseph@codesourcery.com>
16050
a0d9f9d7
JM
16051 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16052 (MINUS_ZERO_INIT): Likewise.
16053 (PLUS_INFTY_INIT): Likewise.
16054 (MINUS_INFTY_INIT): Likewise.
16055 (QNAN_VALUE_INIT): Likewise.
16056 (MAX_VALUE_INIT): Likewise.
16057 (MIN_VALUE_INIT): Likewise.
16058 (MIN_SUBNORM_VALUE_INIT): Likewise.
16059 (plus_zero): Initialize with PLUS_ZERO_INIT.
16060 (minus_zero): Initialize with MINUS_ZERO_INIT.
16061 (plus_infty): Initialize with PLUS_INFTY_INIT.
16062 (minus_infty): Initialize with MINUS_INFTY_INIT.
16063 (qnan_value): Initialize with QNAN_VALUE_INIT.
16064 (max_value): Initialize with MAX_VALUE_INIT.
16065 (min_value): Initialize with MIN_VALUE_INIT.
16066 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16067
ae08db3b
JM
16068 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16069 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16070 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16071 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16072
f44bf14a
JM
16073 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16074 (RUN_TEST_2_f): Likewise.
16075 (RUN_TEST_ff_f): Likewise.
16076 (RUN_TEST_fi_f): Likewise.
16077 (RUN_TEST_fl_f): Likewise.
16078 (RUN_TEST_fff_f): Likewise.
16079 (RUN_TEST_c_f): Likewise.
16080 (RUN_TEST_f_f1): Likewise.
16081 (RUN_TEST_fF_f1): Likewise.
16082 (RUN_TEST_fI_f1): Likewise.
16083 (RUN_TEST_ffI_f1): Likewise.
16084 (RUN_TEST_c_c): Likewise.
16085 (RUN_TEST_cc_c): Likewise.
16086 (RUN_TEST_f_i): Likewise.
16087 (RUN_TEST_f_i_tg): Likewise.
16088 (RUN_TEST_ff_i_tg): Likewise.
16089 (RUN_TEST_f_b): Likewise.
16090 (RUN_TEST_f_b_tg): Likewise.
16091 (RUN_TEST_f_l): Likewise.
16092 (RUN_TEST_f_L): Likewise.
16093 (RUN_TEST_sincos): Likewise.
16094 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16095 whether to show exceptions. Do not include ");\n" in return
16096 value.
16097 (special_functions): Output call to RUN_TEST_sincos instead of
16098 check_float calls. Update calls to new_test.
16099 (parse_args): Output call to single RUN_TEST_* macro instead of
16100 check_* calls and other assignments. Update calls to new_test.
16101
d8cd06db
JM
16102 [BZ #2546]
16103 [BZ #2560]
16104 [BZ #5159]
16105 [BZ #15426]
16106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16107 input to result for tgamma overflow.
16108 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16109 (gamma_coeff): New variable.
16110 (NCOEFF): New macro.
16111 (gamma_positive): New function.
16112 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16113 underflow here. Use gamma_positive instead of exp (lgamma) for
16114 other arguments.
16115 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16116 (gamma_coeff): New variable.
16117 (NCOEFF): New macro.
16118 (gammaf_positive): New function.
16119 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16120 underflow here. Use gamma_positive instead of exp (lgamma) for
16121 other arguments.
16122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16123 (gamma_coeff): New variable.
16124 (NCOEFF): New macro.
16125 (gammal_positive): New function.
16126 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16127 underflow here. Use gamma_positive instead of exp (lgamma) for
16128 other arguments.
16129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16130 (gamma_coeff): New variable.
16131 (NCOEFF): New macro.
16132 (gammal_positive): New function.
16133 (__ieee754_gammal_r): Handle positive infinity, overflow and
16134 underflow here. Handle NaN the same as positive infinity. Remove
16135 check x < 0xffffffff for negative integers. Use gamma_positive
16136 instead of exp (lgamma) for other arguments.
16137 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16138 (gamma_coeff): New variable.
16139 (NCOEFF): New macro.
16140 (gammal_positive): New function.
16141 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16142 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16146 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16147 * sysdeps/generic/math_private.h (__gamma_productf): New
16148 prototype.
16149 (__gamma_product): Likewise.
16150 (__gamma_productl): Likewise.
16151 * math/Makefile (libm-calls): Add gamma_product.
16152 * math/libm-test.inc (tgamma_test): Add more tests.
16153 * sysdeps/i386/fpu/libm-test-ulps: Update.
16154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16155
bb7cf681
OB
161562013-05-08 Ondřej Bílka <neleai@seznam.cz>
16157
16158 * benchtests/bench-skeleton.c (main): Preheat CPU.
16159
ba853947
AJ
161602013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16161
16162 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16163
8347c74c
RM
161642013-05-07 Roland McGrath <roland@hack.frob.com>
16165
16166 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16167 and _dl_skip_args_internal.
16168
e8dd4791
CD
161692013-05-07 Carlos O'Donell <carlos@redhat.com>
16170
16171 * manual/message.texi (Message Translation): Talk about users.
16172 Message to key mapping impacts design.
16173
c7405830
RM
161742013-05-06 Roland McGrath <roland@hack.frob.com>
16175
a9173057
RM
16176 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16177
976e2f03
RM
16178 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16179
9723ffc5
RM
16180 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16181 * sysdeps/wordsize-64/glob64.c: ... here.
16182
962e6658
RM
16183 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16184 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16185 New macros.
16186
ee586a6d
RM
16187 * debug/getlogin_r_chk.c: Moved to ...
16188 * login/getlogin_r_chk.c: ... here.
16189 * debug/Makefile (routines): Move getlogin_r_chk to ...
16190 * login/Makefile (routines): ... here.
16191 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16192 * login/Versions (libc: GLIBC_2.4): ... here.
16193
355f9165
RM
16194 * io/poll.c (__poll): Renamed from poll.
16195 Add libc_hidden_def.
16196 (poll): Define as weak alias.
16197
bd9ffde6
RM
16198 * debug/ptsname_r_chk.c: Moved to ...
16199 * login/ptsname_r_chk.c: ... here.
16200 * debug/Makefile (routines): Move ptsname_r_chk to ...
16201 * login/Makefile (routines): ... here.
16202 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16203 * login/Versions (libc: GLIBC_2.4): ... here.
16204
8fb16a04
RM
16205 * posix/getlogin.c: Moved to ...
16206 * login/getlogin.c: ... here.
16207 * posix/getlogin_r.c: Moved to ...
16208 * login/getlogin_r.c: ... here.
16209 * posix/getlogin_r.c: Moved to ...
16210 * login/getlogin_r.c: ... here.
16211 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16212 * login/Makefile (routines): ... here.
16213 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16214 * login/Versions (libc: GLIBC_2.0): ... here.
16215
b99b892f
RM
16216 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16217 (setrlimit): Define as weak alias.
16218
c7405830
RM
16219 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16220 Call __ names for open, ftruncate, and close.
16221 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16222 (truncate): Define as weak alias.
16223
5bf96de5
JM
162242013-05-06 Joseph Myers <joseph@codesourcery.com>
16225
9ea3513c
JM
16226 * math/gen-libm-test.pl (parse_args): Initialize x before each
16227 test of frexp, modf and remquo.
16228
5bf96de5
JM
16229 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16230 test signgam value.
16231
16e616a7
AZ
162322013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16233
16234 [BZ #15418]
16235 [BZ #15419]
16236 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16237 internal tests.
16238 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16239
d5e82754
RM
162402013-05-06 Roland McGrath <roland@hack.frob.com>
16241
16242 * elf/dl-writev.h: New file.
16243 * elf/dl-misc.c: Include it.
16244 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16245 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16246
a7548d41
JM
162472013-05-04 Joseph Myers <joseph@codesourcery.com>
16248
b7dab1e4
JM
16249 * math/libm-test.inc (noXFails): Remove variable.
16250 (noXPasses): Likewise.
16251 (BUILD_COMPLEX_INT): Remove macro.
16252 (print_screen): Remove xfail argument.
16253 (print_screen_max_error): Likewise.
16254 (update_stats): Likewise.
16255 (print_max_error): Likewise. Update calls to other affected
16256 functions.
16257 (print_complex_max_error): Likewise.
16258 (test_single_exception): Update calls to print_screen.
16259 (test_single_errno): Likewise.
16260 (check_float_internal): Remove xfail argument. Update calls to
16261 other affected functions.
16262 (check_float): Likewise.
16263 (check_complex): Likewise.
16264 (check_int): Likewise.
16265 (check_long): Likewise.
16266 (check_bool): Likewise.
16267 (check_longlong): Likewise.
16268 (main): Don't print noXFails and noXPasses.
16269 * math/gen-libm-test.pl (top level): Don't mention expected
16270 failure handling in comment.
16271 (new_test): Don't handle expected failures.
16272 (parse_args): Don't mention expected failure handling in comment.
16273 (generate_testfile): Don't handle expected failures.
16274 (parse_ulps): Likewise.
16275 (print_ulps_file): Likewise.
16276 (get_failure): Remove function.
16277 (output_test): Don't handle expected failures.
16278 * make/README.libm-test: Don't mention expected failure handling.
16279
a7548d41
JM
16280 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16281 (minus_zero): Likewise.
16282 (plus_infty): Likewise.
16283 (minus_infty): Likewise.
16284 (qnan_value): Likewise.
16285 (max_value): Likewise.
16286 (min_value): Likewise.
16287 (min_subnorm_value): Likewise.
16288 (initialize): Do not initialize those variables dynamically.
16289
60bfd54c
RM
162902013-05-03 Roland McGrath <roland@hack.frob.com>
16291
cc0e6ed8
RM
16292 * io/open.c (__open_2): Moved to ...
16293 * io/open_2.c: ... this new file.
16294 * io/open64.c (__open64_2): Moved to ...
16295 * io/open64_2.c: ... this new file.
16296 * io/openat.c (__openat_2): Moved to ...
16297 * io/openat_2.c: ... this new file.
16298 * io/openat64.c (__openat64_2): Moved to ...
16299 * io/openat64_2.c: ... this new file.
16300 * io/Makefile (routines): Add them.
16301 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16302 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16303 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16304 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16305 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16306 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16307 (__openat64): Add hidden_ver.
16308 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16309 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16310
60bfd54c
RM
16311 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16312 Separately conditionalize setting of GLRO(dl_sysinfo) so
16313 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16314 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16315
83e7640f
AZ
163162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16317
16318 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16320 definition.
16321 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16322 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16323 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16324 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16325 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16326
d5dc2af3
JM
163272013-05-03 Joseph Myers <joseph@codesourcery.com>
16328
c31a5b1e
JM
16329 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16330 test signgam value.
16331
d5dc2af3
JM
16332 * math/libm-test.inc (hypot_test): Do not use
16333 IGNORE_ZERO_INF_SIGN.
16334
164fd39d
AJ
163352013-05-03 Andreas Jaeger <aj@suse.de>
16336
16337 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16338 Linux 3.9.
16339 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16340 (PF_MAX): Adjust for VSOCK change.
16341
8237f48c
AZ
163422013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16343
16344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16345
9df02941
CD
163462013-05-02 Carlos O'Donell <carlos@redhat.com>
16347
16348 [BZ #15264]
16349 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16350 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16351 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16352
d422395e
DM
163532013-05-02 David S. Miller <davem@davemloft.net>
16354
16355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16356
a07c5731
OB
163572013-05-01 Ondřej Bílka <neleai@seznam.cz>
16358
16359 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16360
1324e37f
RM
163612013-05-01 Roland McGrath <roland@hack.frob.com>
16362
16363 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16364
0695940b
RS
163652013-05-01 Richard Smith <richard@metafoo.co.uk>
16366
bb5f27ad 16367 [BZ #14952]
0695940b
RS
16368 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16369 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16370 Use __attribute__ ((__gnu_inline__)).
16371 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16372 Don't use __attribute__ ((__gnu_inline__)).
16373
10de07f5
JM
163742013-05-01 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #15423]
16377 * math/s_catan.c (__catan): Handle small real or imaginary part of
16378 input specially to avoid spurious underflow.
16379 * math/s_catanf.c (__catanf): Likewise.
16380 * math/s_catanh.c (__catanh): Likewise.
16381 * math/s_catanhf.c (__catanhf): Likewise.
16382 * math/s_catanhl.c (__catanhl): Likewise.
16383 * math/s_catanl.c (__catanl): Likewise.
16384 * math/libm-test.inc (catan_test): Add more tests.
16385 (catanh_test): Likewise.
16386 * sysdeps/i386/fpu/libm-test-ulps: Update.
16387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16388
cb4d5414
AZ
163892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16390
16391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16392
caf84319
JM
163932013-04-30 Joseph Myers <joseph@codesourcery.com>
16394
16395 [BZ #15416]
16396 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16397 accurately for denominator in atan2.
16398 * math/s_catanf.c (__catanf): Likewise.
16399 * math/s_catanh.c (__catanh): Likewise.
16400 * math/s_catanhf.c (__catanhf): Likewise.
16401 * math/s_catanhl.c (__catanhl): Likewise.
16402 * math/s_catanl.c (__catanl): Likewise.
16403 * math/libm-test.inc (catan_test): Add more tests.
16404 (catanh_test): Likewise.
16405 * sysdeps/i386/fpu/libm-test-ulps: Update.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16407
d569c6ee
SP
164082013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16409
6dbe713d
SP
16410 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16411
f0ee064b
SP
16412 * benchtests/Makefile (bench): Remove slow benchmarks.
16413 * benchtests/atan-inputs: Add slow benchmark inputs.
16414 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16415 (BENCH_FUNC): Accept variant offset.
16416 (VARIANT): Define.
16417 * benchtests/bench-skeleton.c (main): Run benchmark for each
16418 variant.
16419 * benchtests/cos-inputs: Add slow benchmark inputs.
16420 * benchtests/exp-inputs: Likewise.
16421 * benchtests/pow-inputs: Likewise.
16422 * benchtests/sin-inputs: Likewise.
16423 * benchtests/slowatan-inputs: Remove.
16424 * benchtests/slowatan.c: Remove.
16425 * benchtests/slowcos-inputs: Remove.
16426 * benchtests/slowcos.c: Remove.
16427 * benchtests/slowexp-inputs: Remove.
16428 * benchtests/slowexp.c: Remove.
16429 * benchtests/slowpow-inputs: Remove.
16430 * benchtests/slowpow.c: Remove.
16431 * benchtests/slowsin-inputs: Remove.
16432 * benchtests/slowsin.c: Remove.
16433 * benchtests/slowtan-inputs: Remove.
16434 * benchtests/slowtan.c: Remove.
16435 * benchtests/tan-inputs: Add slow benchmark inputs.
16436 * scripts/bench.pl: Parse comments and directives.
16437
d569c6ee
SP
16438 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16439 in CPPFLAGS.
16440 ($(objpfx)bench-%.c): Remove *-ITER.
16441 * benchtests/bench-modf.c: Remove definition of ITER.
16442 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16443 (main): Loop for DURATION seconds instead of fixed number of
16444 iterations.
16445 * scripts/bench.pl: Don't expect iterations in parameters.
16446
a6a242fe
RM
164472013-04-29 Roland McGrath <roland@hack.frob.com>
16448
16449 * io/fchdir.c (__fchdir): Renamed from fchdir.
16450 (fchdir): Define as weak alias.
16451
f2da7793
JM
164522013-04-29 Joseph Myers <joseph@codesourcery.com>
16453
16454 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16455 (ERRNO_EDOM): Likewise.
16456 (ERRNO_ERANGE): Likewise.
16457 (noErrnoTests): New variable.
16458 (init_max_error): Set errno to 0.
16459 (test_single_errno): New function.
16460 (test_errno): Likewise.
16461 (check_float_internal): Call test_errno. Set errno to 0.
16462 (check_complex): Refer to errno tests in comment.
16463 (check_int): Call test_errno. Set errno to 0.
16464 (check_long): Likewise.
16465 (check_bool): Likewise.
16466 (check_longlong): Likewise.
16467 (cos_test): Use ERRNO_* flags for errno tests instead of
16468 check_int.
16469 (expm1_test): Likewise.
16470 (fmod_test): Likewise.
16471 (ilogb_test): Likewise.
16472 (lgamma_test): Likewise.
16473 (pow_test): Likewise.
16474 (remainder_test): Likewise.
16475 (sin_test): Likewise.
16476 (tan_test): Likewise.
16477 (yn_test): Likewise.
16478 (initialize): Set errno to 0.
16479 (main): Print number of errno tests.
16480 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16481
b1a36ceb
AJ
164822013-04-29 Andreas Jaeger <aj@suse.de>
16483
c3ed8088
AJ
16484 [BZ #15084]
16485 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16486 and RES_USEVC.
16487
f1a24198
AJ
16488 [BZ #15085]
16489 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16490 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16491 unimplemented.
16492
9ce3b2cb
AJ
16493 [BZ #15380]
16494 * stdlib/random.c (__initstate): Return NULL if
16495 __initstate fails.
16496
f1a24198 16497 [BZ #15086]
b1a36ceb
AJ
16498 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16499 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16500 RES_SNGLKUPREOP.
16501
7e7b6f36
AZ
165022013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16503
16504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16505
4d14f449
JM
165062013-04-29 Joseph Myers <joseph@codesourcery.com>
16507
16508 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16509 of individual tests.
16510 (casin_test): Likewise.
16511 (casinh_test): Likewise.
16512
5b4217d7
JM
165132013-04-27 Joseph Myers <joseph@codesourcery.com>
16514
16515 [BZ #15409]
16516 * math/s_catan.c (__catan): Handle arguments with large real or
16517 imaginary part separately without squaring.
16518 * math/s_catanf.c (__catanf): Likewise.
16519 * math/s_catanh.c (__catanh): Likewise.
16520 * math/s_catanhf.c (__catanhf): Likewise.
16521 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16522 and redefine.
16523 (__catanhl): Handle arguments with large real or imaginary part
16524 separately without squaring.
16525 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16526 and redefine.
16527 (__catanl): Handle arguments with large real or imaginary part
16528 separately without squaring.
16529 * math/libm-test.inc (catan_test): Add more tests.
16530 (catanh_test): Likewise.
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16533
4220c3ef
AJ
165342013-04-27 Andreas Jaeger <aj@suse.de>
16535
16536 [BZ #15007]
16537 * stdlib/stdlib.h: Update guards for qecvt.
16538 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16539 <stdlib.h>.
16540
4721b2d1
AM
165412013-04-27 Allan McRae <allan@archlinux.org>
16542
16543 * sysdeps/i386/fpu/libm-test-ulps: Update.
16544
f0302940
JM
165452013-04-26 Joseph Myers <joseph@codesourcery.com>
16546
9457fd95
JM
16547 [BZ #15406]
16548 * math/s_catan.c: Include <float.h>.
16549 (__catan): Ensure underflow exception occurs for underflowed
16550 result.
16551 * math/s_catanf.c: Include <float.h>.
16552 (__catanf): Ensure underflow exception occurs for underflowed
16553 result.
16554 * math/s_catanh.c: Include <float.h>.
16555 (__catanh): Ensure underflow exception occurs for underflowed
16556 result.
16557 * math/s_catanhf.c: Include <float.h>.
16558 (__catanhf): Ensure underflow exception occurs for underflowed
16559 result.
16560 * math/s_catanhl.c: Include <float.h>.
16561 (__catanhl): Ensure underflow exception occurs for underflowed
16562 result.
16563 * math/s_catanl.c: Include <float.h>.
16564 (__catanl): Ensure underflow exception occurs for underflowed
16565 result.
16566 * math/libm-test.inc (catan_test): Add more tests.
16567 (catanh_test): Likewise.
16568
f0302940
JM
16569 [BZ #15405]
16570 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16571 underflowed result.
16572 * math/s_ccoshf.c (__ccoshf): Likewise.
16573 * math/s_ccoshl.c (__ccoshl): Likewise.
16574 * math/s_csin.c (__csin): Likewise.
16575 * math/s_csinf.c (__csinf): Likewise.
16576 * math/s_csinh.c (__csinh): Likewise.
16577 * math/s_csinhf.c (__csinhf): Likewise.
16578 * math/s_csinhl.c (__csinhl): Likewise.
16579 * math/s_csinl.c (__csinl): Likewise.
16580 * math/libm-test.inc (ccos_test): Add more tests.
16581 (ccosh_test): Likewise.
16582 (csin_test): Likewise.
16583 (csinh_test): Likewise.
16584
aa630f59
AZ
165852013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16586
16587 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16588 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16589 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16590 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16591 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16592 powerpc/power5+/fpu folders.
16593 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16594
16595
1b835983
MT
165962013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16597
16598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16599
73709b26
JM
166002013-04-25 Joseph Myers <joseph@codesourcery.com>
16601
16602 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16603 additions to variable.
16604 [$(config-machine) = x86_64] (modules-names): Likewise.
16605 ($(objpfx)tst-audit3): Remove dependency.
16606 ($(objpfx)tst-audit3.out): Likewise.
16607 ($(objpfx)tst-audit4): Likewise.
16608 ($(objpfx)tst-audit4.out): Likewise.
16609 ($(objpfx)tst-audit5): Likewise.
16610 ($(objpfx)tst-audit5.out): Likewise.
16611 ($(objpfx)tst-audit6): Likewise.
16612 ($(objpfx)tst-audit6.out): Likewise.
16613 ($(objpfx)tst-audit7): Likewise.
16614 ($(objpfx)tst-audit7.out): Likewise.
16615 (tst-audit3-ENV): Remove variable.
16616 (tst-audit4-ENV): Likewise.
16617 (tst-audit5-ENV): Likewise.
16618 (tst-audit6-ENV): Likewise.
16619 (tst-audit7-ENV): Likewise.
16620 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16621 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16622 addition to variable.
16623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16624 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16625 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16628 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16629 tst-audit3, tst-audit4 and tst-audit5.
16630 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16631 tst-audit6 and tst-audit7.
16632 [$(subdir) = elf] (modules-names): Add audit modules for those
16633 tests.
16634 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16635 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16636 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16637 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16638 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16639 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16640 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16641 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16642 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16643 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16644 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16645 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16646 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16647 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16648 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16649 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16650 Likewise.
16651 [$(subdir) = elf && $(config-cflags-avx) = yes]
16652 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16653 [$(subdir) = elf && $(config-cflags-avx) = yes]
16654 (CFLAGS-tst-auditmod4a.c): Likewise.
16655 [$(subdir) = elf && $(config-cflags-avx) = yes]
16656 (CFLAGS-tst-auditmod4b.c): Likewise.
16657 [$(subdir) = elf && $(config-cflags-avx) = yes]
16658 (CFLAGS-tst-auditmod6b.c): Likewise.
16659 [$(subdir) = elf && $(config-cflags-avx) = yes]
16660 (CFLAGS-tst-auditmod6c.c): Likewise.
16661 [$(subdir) = elf && $(config-cflags-avx) = yes]
16662 (CFLAGS-tst-auditmod7b.c): Likewise.
16663 * elf/tst-audit3.c: Move to ...
16664 * sysdeps/x86_64/tst-audit3.c: ... here.
16665 * elf/tst-audit4.c: Move to ...
16666 * sysdeps/x86_64/tst-audit4.c: ... here.
16667 * elf/tst-audit5.c: Move to ...
16668 * sysdeps/x86_64/tst-audit5.c: ... here.
16669 * elf/tst-audit6.c: Move to ...
16670 * sysdeps/x86_64/tst-audit6.c: ... here.
16671 * elf/tst-audit7.c: Move to ...
16672 * sysdeps/x86_64/tst-audit7.c: ... here.
16673 * elf/tst-auditmod3a.c: Move to ...
16674 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16675 * elf/tst-auditmod3b.c: Move to ...
16676 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16677 * elf/tst-auditmod4a.c: Move to ...
16678 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16679 * elf/tst-auditmod4b.c: Move to ...
16680 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16681 * elf/tst-auditmod5a.c: Move to ...
16682 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16683 * elf/tst-auditmod5b.c: Move to ...
16684 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16685 * elf/tst-auditmod6a.c: Move to ...
16686 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16687 * elf/tst-auditmod6b.c: Move to ...
16688 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16689 * elf/tst-auditmod6c.c: Move to ...
16690 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16691 * elf/tst-auditmod7a.c: Move to ...
16692 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16693 * elf/tst-auditmod7b.c: Move to ...
16694 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16695
1ef74943
PP
166962013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16697
16698 [BZ #15366]
16699 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16700 define unconditionally.
16701 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16702 define unconditionally.
16703 (INT8_C, INT16_C, etc.): Likewise.
16704
93fd48c5
MR
167052013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16706
ae9552cf
MR
16707 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16708 __ehdr_start with hidden visibility.
16709
93fd48c5
MR
16710 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16711
418601aa
CD
167122013-04-24 Carlos O'Donell <carlos@redhat.com>
16713
16714 * math/libm-test.inc (cos_test): Use accurate hex constants.
16715 (sincost_test): Likewise.
16716
2f38fbfe
JM
167172013-04-24 Joseph Myers <joseph@codesourcery.com>
16718
5e221800
JM
16719 * math/libm-test.inc (catan_test): Add more tests.
16720 (catanh_test): Likewise.
16721
77f143fd
JM
16722 * math/s_catanf.c (__catanf): Use suffixed floating-point
16723 constants.
16724 * math/s_catanhf.c (__catanhf): Likewise.
16725 * math/s_catanhl.c (__catanhl): Likewise.
16726 * math/s_catanl.c (__catanl): Likewise.
16727
2f38fbfe
JM
16728 [BZ #15394]
16729 * math/s_catan.c (__catan): Calculate imaginary part of result
16730 with log1p not log unless computing log of number close to 0.
16731 * math/s_catanf.c (__catanf): Likewise.
16732 * math/s_catanl.c (__catanl): Likewise.
16733 * math/s_catanh.c (__catanh): Calculate real part of result with
16734 log1p not log unless computing log of number close to 0.
16735 * math/s_catanhf.c (__catanhf): Likewise.
16736 * math/s_catanhl.c (__catanhl): Likewise.
16737 * math/libm-test.inc (catan_test): Add more tests.
16738 (catanh_test): Likewise.
16739 * sysdeps/i386/fpu/libm-test-ulps: Update.
16740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16741
45d69176
SP
167422013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16743
16744 * benchtests/Makefile: Mention files in which fast and slow
16745 paths of math functions are implemented.
16746
87f51853
RM
167472013-04-23 Roland McGrath <roland@hack.frob.com>
16748
16749 * sysdeps/posix/timespec_get.c: New file.
16750
3c026539
AZ
167512013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16752
16753 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16754 POWER.
16755 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16756 for POWER.
16757 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16758 powerpc/power5/fpu folders.
16759 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16760 * benchtests/Makefile: Add modf testcase.
16761 * benchtests/bench-modf.c: New file: Benchmark test for mo
16762
ff491d14
SP
167632013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
16765 [BZ #14888]
16766 * time/Makefile (tests): Add tst-strptime-whitespace.
16767 * time/strptime_l.c (get_number): Use ISSPACE.
16768 (__strptime_internal): Likewise.
16769 * time/tst-strptime-whitespace.c: New test case.
16770
7ed3f4e8
AS
167712013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16772
16773 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16774 member.
16775 (_nss_files_init): Set it here.
16776
5c95f7b6
HC
167772013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16778
16779 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16780 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16781 unsigned.
16782
d34c9158
JBG
167832013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16784
16785 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16786
2169712d
SP
167872013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16788
16789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16790 size just once.
16791
29c5de99
DM
167922013-04-21 David S. Miller <davem@davemloft.net>
16793
16794 * po/ru.po: Update Russion translation from translation project.
16795
ccdad15d
AC
167962013-04-17 Adam Conrad <adconrad@0c3.net>
16797
16798 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16799 and setfsgid.
16800
0f122b8d
CD
168012013-04-17 Carlos O'Donell <carlos@redhat.com>
16802
5c5b07da 16803 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16804 * configure: Regenerate.
5c5b07da 16805 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16806 Add example to error message.
16807 * sysdeps/i386/configure: Regenerate.
16808
037714dd
SP
168092013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16810
16811 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16812 slowtan.
16813 * benchtests/cos-inputs: New file.
16814 * benchtests/slowcos-inputs: New file.
16815 * benchtests/slowcos.c: New file.
16816 * benchtests/slowtan-inputs: New file.
16817 * benchtests/slowtan.c: New file.
16818 * benchtests/tan-inputs: New file.
16819
e913141d
RM
168202013-04-16 Roland McGrath <roland@hack.frob.com>
16821
16822 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16823 considered kosher.
16824
a2964074
SP
168252013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
4856bcd2
SP
16827 * benchtests/Makefile: Include cppflags-iterator.mk to add
16828 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16829
a2964074
SP
16830 * Makefile.in (bench-clean): New target.
16831 * benchtests/Makefile (bench-clean): Likewise.
16832
9fbf9aca
DH
168332013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16834
16835 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16836
207d1e2a
TS
168372013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16838
16839 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16840
306dfba9
AS
168412013-04-15 Andreas Schwab <schwab@suse.de>
16842
16843 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16845 * nscd/pwdcache.c (cache_addpw): Likewise.
16846 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16847 more than recsize.
16848
206a6699
SP
168492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16850
16851 * benchtests/Makefile (bench): Write all output to
16852 bench-out.tmp together.
16853
0582f6b3
AS
168542013-04-15 Andreas Schwab <schwab@suse.de>
16855
16856 * nscd/nscd.c (main): Don't fork again after closing files.
16857
acb4325f
SP
168582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16859
5cb26d0a
SP
16860 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16861
acb4325f
SP
16862 * benchtests/Rules (bench-deps): Collect dependencies into a
16863 single variable. Add Makefile to dependencies.
16864 ($(objpfx)bench-%.c): Depend on bench-deps.
16865
47792506
RM
168662013-04-12 Roland McGrath <roland@hack.frob.com>
16867 Xavier Roche <roche+kml2@exalead.com>
16868
16869 [BZ #15361]
16870 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16871 just that it's a file descriptor.
16872 * manual/llio.texi (Synchronizing AIO Operations): Update description
16873 for EBADF error from aio_fsync.
16874
8fc1bee5
SP
168752013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16876
16877 * Rules (bench): Move target definition...
16878 * benchtests/Makefile: ... here.
16879
aba5e333
CD
168802013-04-11 Carlos O'Donell <carlos@redhat.com>
16881
16882 * math/libm-test.inc (cos_test): Fix PI/2 test.
16883 (sincos_test): Likewise.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16885 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16886
273cdee8
AS
168872013-04-11 Andreas Schwab <schwab@suse.de>
16888
6ecec3b6
AS
16889 [BZ #13988]
16890 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16891 accept exponent character only when digits were seen.
16892 * stdio-common/Makefile (tests): Add bug26.
16893 * stdio-common/bug26.c: New file.
16894
273cdee8
AS
16895 [BZ #14293]
16896 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16897 non-freeable.
16898
8da491f5
SP
168992013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16900
01dc6df9
SP
16901 * Makeconfig (rtld-prefix): Define built linker prefix.
16902 * Rules (run-bench): Use it.
16903 * math/Makefile (run-regen-ulps): Likewise.
16904
8da491f5
SP
16905 * Rules (bench): Remove eval.
16906
abe7f530
SP
169072013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16908 Roland McGrath <roland@hack.frob.com>
16909 Ondrej Bilka <neleai@seznam.cz>
16910
16911 [BZ #15346]
16912 * time/getdate.c: Include ctype.h and alloca.h.
16913 (__getdate_r): Trim leading and trailing spaces of input.
16914 * time/tst-getdate.c (tests): Add tests with leading and
16915 trailing spaces.
16916
61c23e62
RM
169172013-04-08 Roland McGrath <roland@hack.frob.com>
16918
16919 [BZ #14280]
16920 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16921 when computing value.
16922
7208a313
CD
169232013-04-06 Carlos O'Donell <carlos@redhat.com>
16924
085b2d41
CD
16925 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16926 Use testrun.sh to run libm tests.
16927
7208a313
CD
16928 [BZ #15309]
16929 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16930
872c0acd
MM
169312013-04-06 Marko Myllynen <myllynen@redhat.com>
16932
16933 [BZ #15264]
16934 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16935
26510bdd
CD
169362013-04-06 Carlos O'Donell <carlos@redhat.com>
16937
16938 * Makefile.in (regen-ulps): New target.
16939 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16940 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16941 [ifneq (no,$(PERL)] (regen-ulps): New target.
16942 [ifeq (no,$(PERL)] (regen-ulps): New target.
16943 * math/libm-test.inc (ulps_file_name): Define.
16944 (output_dir): New variable.
16945 (options): Add "output-dir" option.
16946 (parse_opt): Handle 'o' case.
16947 (main): If output_dir is non-NULL use it as a prefix
16948 otherwise use "".
16949 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16950
a01f19c8
CD
169512013-04-06 Carlos O'Donell <carlos@redhat.com>
16952
16953 [BZ #10060, #10062]
16954 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16955 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16956 fail configure if __sync_val_compare_and_swap is not inlined.
16957 * sysdeps/i386/configure: Regenerate.
16958 * configure.in: Build for i686 when configured for i386.
16959 * configure: Regenerate.
16960 * README: Remove i386 reference.
16961
b7a329a5
CD
169622013-04-06 Carlos O'Donell <carlos@redhat.com>
16963
16964 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16966
bf0f50df
TS
169672013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16968
ee091edf
TS
16969 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16970 (lmsnanval): New variables.
16971 (F): Add conversion tests.
16972 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16973 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16974
a8b792d6
TS
16975 * stdio-common/tstdiomisc.c (F): Properly collect individual
16976 tests' results.
16977
a1cbf437
TS
16978 [BZ #14686, #15336]
16979 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16980 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16981 Instead, use input NaN values or generate a qNaN by arithmetic
16982 operation. Also fix bugs to comply with the standard.
16983 * math/libm-test.inc (remainder_test): Add more tests.
16984
8b43a0c9
TS
16985 [BZ #15335, #15342]
16986 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16988 input NaN values or generate a qNaN by arithmetic operation.
16989
d91da4ce
TS
16990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16991 unreachable code.
16992
bf0f50df
TS
16993 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16994 definitions.
16995
05e166c8
JM
169962013-04-03 Joseph Myers <joseph@codesourcery.com>
16997
16998 [BZ #14478]
16999 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17000 underflowed result.
17001 * math/s_cexpf.c (__cexpf): Likewise.
17002 * math/s_cexpl.c (__cexpl): Likewise.
17003 * math/libm-test.inc (cexp_test): Add more tests.
17004
1cef1b19
AS
170052013-04-03 Andreas Schwab <schwab@suse.de>
17006
17007 [BZ #15330]
17008 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17009 order arrays from heap if bigger than alloca cutoff.
17010
74d87055
TS
170112013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17012
17013 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17014 (SNAN_TESTS_double): Refer to GCC PR56831.
17015 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17016 GCC PR56828.
17017
d755bba4
SP
170182013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17019
90d5d5bb
SP
17020 * Rules (bench): Move bench.out after the run is complete.
17021
73e0cd5d
SP
17022 * Rules (bench): Echo currently running benchmark.
17023
64aabd4b
SP
17024 * benchtests/Makefile (bench): Add atan and slowatan.
17025 * benchtests/atan-inputs: New file.
17026 * benchtests/slowatan-inputs: New file.
17027 * benchtests/slowatan.c: New file.
17028
c871eccd
SP
17029 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17031 its value.
17032
d755bba4
SP
17033 [BZ #15305]
17034 * sysdeps/unix/sysv/linux/kernel-features.h
17035 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17036 __ASSUME_XFS_RESTRICTED_CHOWN.
17037 * sysdeps/unix/sysv/linux/pathconf.c
17038 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17039 Save and restore errno.
17040
52ce4860
JM
170412013-04-02 Joseph Myers <joseph@codesourcery.com>
17042
17043 [BZ #15327]
17044 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17045 arguments using __kernel_casinh.
17046 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17047 arguments using __kernel_casinhf.
17048 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17049 arguments using __kernel_casinhl.
17050 * math/libm-test.inc (cacosh_test): Add more tests.
17051 * sysdeps/i386/fpu/libm-test-ulps: Update.
17052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17053
81f311c2
SP
170542013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17055
e7906a47
SP
17056 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17058
92e3664b
SP
17059 * bench/Makefile (bench): Add sin and slowsin.
17060 * benchtests/sin-inputs: New file.
17061 * benchtests/slowsin-inputs: New file.
17062 * benchtests/slowsin.c: New file.
17063
81f311c2
SP
17064 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17065 (bench): Add slowexp and slowpow.
17066 (exp-ITER): Increase iterations.
17067 (pow-ITER): Likewise.
17068 * benchtests/exp-inputs: Change input.
17069 * benchtests/pow-inputs: Likewise.
17070 * benchtests/slowexp-inputs: New file.
17071 * benchtests/slowexp.c: New file.
17072 * benchtests/slowpow-inputs: New file.
17073 * benchtests/slowpow.c: New file.
17074
ab0f1aa9
AZ
170752013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17076
17077 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17078 instructions.
17079 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17080 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17081 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17082 * benchtests/Makefile: Add rint benchtest.
17083 * benchtests/rint-inputs: Input for rint benchtest.
17084
57267616
TS
170852013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17086
17087 * Versions.def (libm): Add GLIBC_2.18.
17088 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17089 hidden libm prototypes.
17090 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17091 * math/Makefile (libm-calls): Add s_issignaling.
17092 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17093 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17094 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17095 declaration.
17096 * math/math.h [__USE_GNU] (issignaling): New macro.
17097 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17098 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17103 * manual/arith.texi (issignaling): New section.
17104 * manual/libm-err-tab.pl (@all_functions): Update comment.
17105 * math/gen-libm-test.pl (parse_args): Apply special handling for
17106 issignaling.
17107 * math/libm-test.inc (print_float, issignaling_test): New
17108 functions.
17109 (check_float_internal): Add issignaling checks.
17110 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17111 default definition.
17112 * sysdeps/powerpc/math-tests.h: New file.
17113 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17114 tests.
17115 * math/test-snan.c (TEST_FUNC): Likewise.
17116
6142896d
DM
171172013-03-30 David S. Miller <davem@davemloft.net>
17118
17119 * po/de.po: Update from translation team.
17120
ccc8cadf
JM
171212013-03-30 Joseph Myers <joseph@codesourcery.com>
17122
17123 [BZ #10357]
17124 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17125 imaginary part less than 1.0 and real part less than 0.5
17126 specially.
17127 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17128 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17129 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17130 (cacos_test): Add more tests.
17131 (casin_test): Likewise.
17132 (casinh_test): Likewise.
17133 * sysdeps/i386/fpu/libm-test-ulps: Update.
17134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17135
0f6a8d4b
SP
171362013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17137
0d1029de
SP
17138 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17139 ONE with its value.
17140
c2d94018
SP
17141 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17142 (__pow_mp): Replace ONE and MONE with their values.
17143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17144 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17145 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17146 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17147 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17149
27ec37f1
SP
17150 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17151
a64d7e0e
SP
17152 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17153 (__pow_mp): Replace ZERO and MZERO with their values.
17154 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17158 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17159 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17160 (__sqr): Likewise.
17161
d26dd3eb
SP
17162 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17163
0f6a8d4b
SP
17164 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17165
e57b0c61
RM
171662013-03-28 Roland McGrath <roland@hack.frob.com>
17167
17168 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17169 Declare with __attribute__ ((weak)).
17170 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17171 Call __call_tls_dtors only if it's not NULL.
17172
356b3480
RM
171732013-03-28 Roland McGrath <roland@hack.frob.com>
17174
288f7d79
RM
17175 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17176 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17177 magic __ehdr_start linker symbol if it's defined.
17178 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17179 them up here if it was already done.
17180
dc0a0263
RM
17181 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17182 (_dl_aux_init): Use const in cast when setting it.
17183 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17184 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17185 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17186
3d3436ae
RM
17187 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17188 Declare them here.
17189 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17190 * csu/libc-tls.c: Nor here.
17191 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17192
356b3480
RM
17193 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17194 (__libc_message): Never call vsyslog.
17195
b0f1246a
AM
171962013-03-28 Alan Modra <amodra@gmail.com>
17197
17198 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17199 Define as empty.
17200 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17201 Likewise.
17202
fbbe2b9a
AZ
172032013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17204
17205 [BZ #15214]
17206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17207 underflow.
17208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17209
1728ab37
SP
172102013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17211
7a86be6e
SP
17212 [BZ #15304]
17213 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17214 Don't add gid passed as argument.
17215
1728ab37
SP
17216 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17217
3a7182a1
JM
172182013-03-27 Joseph Myers <joseph@codesourcery.com>
17219
17220 [BZ #15307]
17221 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17222 imaginary part between 1.0 and 1.5 and real part less than 0.5
17223 specially.
17224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17226 * math/libm-test.inc (cacos_test): Add more tests.
17227 (casin_test): Likewise.
17228 (casinh_test): Likewise.
17229 * sysdeps/i386/fpu/libm-test-ulps: Update.
17230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17231
6f2e90e7
SP
172322013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17233
5739f705
SP
17234 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17235 constants.
17236 (norm): Likewise.
17237 (denorm): Likewise.
17238 (__dbl_mp): Likewise.
17239 (add_magnitudes): Likewise.
17240 (sub_magnitudes): Likewise.
17241 (__add): Likewise.
17242 (__sub): Likewise.
17243 (__mul): Likewise.
17244 (__sqr): Likewise.
17245 (__inv): Likewise.
17246 (__dvd): Likewise.
17247
e375e83d
SP
17248 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17249 commented code.
17250 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17251 (__dubcos): Likewise.
17252 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17253 (__ieee754_acos): Likewise.
17254 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17255 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17256 (__exp1): Likewise.
17257 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17259 (log1): Likewise.
17260 (my_log2): Likewise.
17261 (checkint): Likewise.
17262 * sysdeps/ieee754/dbl-64/e_remainder.c
17263 (__ieee754_remainder): Likewise.
17264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17266 (bsloww): Likewise.
17267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17268
6f2e90e7
SP
17269 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17271 MANTISSA_STORE_T to store computations on mantissa. Use
17272 macros for rounding and division.
17273 (denorm): Likewise.
17274 (__dbl_mp): Likewise.
17275 (add_magnitudes): Likewise.
17276 (sub_magnitudes): Likewise.
17277 (__mul): Likewise.
17278 (__sqr): Likewise.
17279 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17280 powers of two in terms of TWOPOW macro.
17281 (mp_no): Make type of mantissa as MANTISSA_T.
17282 [!RADIXI]: Define RADIXI.
17283 [!TWO52]: Define TWO52.
17284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17285
fce14d4e
AZ
172862013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17287
17288 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17289 llroundl symbol when building for PPC32.
17290
9ad027fb
MW
172912013-03-24 Mark H Weaver <mhw@netris.org>
17292
17293 * manual/arith.texi (Normalization Functions): Fix prototypes for
17294 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17295
e42a38dd
AZ
172962013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17297
17298 [BZ #13889]
17299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17300 high value to check if expl overflow.
17301 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17302 to check for underflow and overflow.
17303 * math/libm-test.inc: Add exp test.
17304
2e0fb521
DL
173052013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17306
17307 [BZ #11120]
17308 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17309 with NOT_IN_libc.
17310
b5784d95
AZ
173112013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17312
17313 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17314 symbol.
17315
5aa4a1a1
TS
173162013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17317
bdef0be7
TS
17318 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17319 wrap blocks consisting of several statements.
17320
5aa4a1a1
TS
17321 * sysdeps/generic/math-tests.h: New file.
17322 * sysdeps/i386/fpu/math-tests.h: Likewise.
17323 * math/test-snan.c: Include it.
17324 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17325
98c48fe5
JM
173262013-03-21 Joseph Myers <joseph@codesourcery.com>
17327
17328 [BZ #15285]
17329 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17330 (__ieee754_j0l): Do not improve calculations using cos of twice
17331 input for inputs above LDBL_MAX / 2.0L.
17332 (__ieee754_y0l): Likewise.
17333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17334 (__ieee754_j1l): Do not improve calculations using cos of twice
17335 input for inputs above LDBL_MAX / 2.0L.
17336 (__ieee754_y1l): Likewise.
17337 * math/libm-test.inc (j0_test): Add another test.
17338 (j1_test): Likewise.
17339 (y0_test): Likewise.
17340 (y1_test): Likewise.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342
3775a8bc
SP
173432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17344
17345 * Rules ($(objpfx)bench-%.c): Include code from a C source
17346 file.
17347
0a1b2ae6
JM
173482013-03-21 Joseph Myers <joseph@codesourcery.com>
17349
17350 [BZ #15287]
17351 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17352 imaginary part 1.0 and real part less than 0.5 specially.
17353 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17354 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17355 * math/libm-test.inc (cacos_test): Add more tests.
17356 (casin_test): Likewise.
17357 (casinh_test): Likewise.
17358 * sysdeps/i386/fpu/libm-test-ulps: Update.
17359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17360
b33d4ce4
SP
173612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17362
17363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17364 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17365
bef0b507
JM
173662013-03-20 Joseph Myers <joseph@codesourcery.com>
17367
17368 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17369 * config.make.in (config-cflags-sse4): Remove variable.
17370 (config-cflags-avx): Likewise.
17371 (config-cflags-sse2avx): Likewise.
17372 (config-cflags-novzeroupper): Likewise.
17373 (config-asflags-i686): Likewise.
17374 (have-mfma4): Likewise.
17375 (have-as-vis3): Likewise.
17376 (MIG): Likewise.
17377 * configure.in (MIG): Do not AC_SUBST.
17378 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17379 (libc_cv_cc_sse4): Do not AC_SUBST.
17380 (libc_cv_cc_avx): Likewise.
17381 (libc_cv_cc_sse2avx): Likewise.
17382 (libc_cv_cc_novzeroupper): Likewise.
17383 (libc_cv_cc_fma4): Likewise.
17384 (libc_cv_as_i686): Likewise.
17385 (libc_cv_sparc_as_vis3): Likewise.
17386 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17387 LIBC_CONFIG_VAR.
17388 (config-asflags-i686): Likewise.
17389 (config-cflags-avx): Likewise.
17390 (config-cflags-sse2avx): Likewise.
17391 (have-mfma4): Likewise.
17392 (config-cflags-novzeroupper): Likewise.
17393 * sysdeps/mach/configure.in (MIG): Likewise.
17394 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17395 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17396 LIBC_CONFIG_VAR.
17397 (config-cflags-avx): Likewise.
17398 (config-cflags-sse2avx): Likewise.
17399 (have-mfma4): Likewise.
17400 (config-cflags-novzeroupper): Likewise.
17401 * configure: Regenerated.
17402 * sysdeps/i386/configure: Likewise.
17403 * sysdeps/mach/configure: Likewise.
17404 * sysdeps/sparc/configure: Likewise.
17405 * sysdeps/x86_64/configure: Likewise.
17406
912cc4b3
RM
174072013-03-20 Roland McGrath <roland@hack.frob.com>
17408
17409 [BZ #14812]
17410 * locale/programs/localedef.c (options): Put N_ translation marker
17411 on argument names, not just descriptions.
17412
04eed2b0
MS
174132013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17414
17415 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17416
a065ceff
OB
174172013-03-20 Ondřej Bílka <neleai@seznam.cz>
17418
9bb2a810 17419 [BZ #14176]
a065ceff
OB
17420 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17421
a600e5ce
RM
174222013-03-19 Roland McGrath <roland@hack.frob.com>
17423
17424 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17425 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17426 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17427 [!BEFORE_ABORT] (before_abort): New function.
17428 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17429 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17430 (writev_for_fatal): New function.
17431 (WRITEV_FOR_FATAL): New macro; call that.
17432 (backtrace_and_maps): New function.
17433 (BEFORE_ABORT): New macro; call that.
17434 (struct str_list): Type removed.
17435 (__libc_message, __libc_fatal): Functions removed.
17436 Include <sysdeps/posix/libc_fatal.c> instead.
17437
6b18bea6
JM
174382013-03-19 Joseph Myers <joseph@codesourcery.com>
17439
17440 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17441 constants.
17442 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17443 double constants.
17444
aaa8cb4b
AS
174452013-03-19 Andreas Schwab <schwab@suse.de>
17446
44673770
AS
17447 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17448 * sysdeps/gnu/configure: Regenerate.
17449
aaa8cb4b
AS
17450 * configure.in: Substitute libc_cv_rtlddir.
17451 * configure: Regenerate.
17452 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17453 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17454 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17455 * elf/Makefile (install-others, CFLAGS-interp.c)
17456 (ldso_install, common-ldd-rewrite): Likewise.
17457 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17458 $(inst_slibdir)/$(rtld-installed-name).
17459 * scripts/rellns-sh: Add -p option.
17460 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17461 for source.
17462
d3cfc668
SP
174632013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17464
17465 * manual/nptl.texi: Renamed to ...
17466 * manual/threads.texi: ... this.
17467 * manual/Makefile (chapters): Update.
17468
0e2b9cdd
RM
174692013-03-18 Roland McGrath <roland@hack.frob.com>
17470
17471 [BZ #14812]
17472 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17473 on argument names, not just descriptions.
0e2b9cdd
RM
17474 * malloc/memusagestat.c (options): Likewise.
17475 * nss/getent.c (options): Likewise.
63270c24
RM
17476
174772013-03-18 Benno Schulenberg <bensberg@justemail.net>
17478
17479 [BZ #14812]
17480 * iconv/iconv_prog.c (options): Put N_ translation marker
17481 on argument names, not just descriptions.
17482 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17483
b2e1393c
OB
174842013-03-18 Ondrej Bilka <neleai@seznam.cz>
17485
17486 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17487 implementation which is faster on all x86_64 architectures.
17488 Tested on AMD, Intel Nehalem, SNB, IVB.
17489 * sysdeps/x86_64/strnlen.S: Likewise.
17490
17491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17492 Remove all multiarch strlen and strnlen versions.
17493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17494 Remove strlen and strnlen related parts.
17495
17496 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17497 Inline strlen part.
17498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17499
17500 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17501 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17502 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17503 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17504 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17506
ec4ff04d
CD
175072013-03-17 Carlos O'Donell <carlos@redhat.com>
17508
17509 * manual/memory.texi (Malloc Tunable Parameters):
17510 Sort parameters alphabetically. Add comments for missing entries.
17511
cd18e90a
DM
175122013-03-17 David S. Miller <davem@davemloft.net>
17513
17514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17515
2a185d32
JM
175162013-03-16 Joseph Myers <joseph@codesourcery.com>
17517
d2f9799e
JM
17518 [BZ #15283]
17519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17520 for arguments at most half maximum finite value.
17521 * math/libm-test.inc (j0_test): Add more tests.
17522 (j1_test): Likewise.
17523 (y0_test): Likewise.
17524 (y1_test): Likewise.
17525 * sysdeps/i386/fpu/libm-test-ulps: Update.
17526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17527
2a185d32
JM
17528 [BZ #14155]
17529 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17530 1 / x and functions P and Q for arguments above 0x1p256L.
17531 (__ieee754_y0l): Likewise.
17532 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17533 (__ieee754_y1l): Likewise.
17534 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17535 (j1_test): Likewise.
17536 (y0_test): Likewise.
17537 (y1_test): Likewise.
17538
6cbec759
TS
175392013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17540
17541 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17542 variable.
17543
bc16e260
RM
175442013-03-15 Roland McGrath <roland@hack.frob.com>
17545
aefc9b8c
RM
17546 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17547 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17548 zero since it's initialized to EXEC_PAGESIZE.
17549
bc16e260
RM
17550 * sysdeps/unix/sysv/linux/ldsodefs.h
17551 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17552 * sysdeps/generic/ldsodefs.h: ... here.
17553
a57da955
TS
175542013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17555
af00a34d
TS
17556 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17557
495ded2c
TS
17558 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17559 math/test-snan.c.
17560 * math/test-snan.c: Renamed from
17561 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17562 * math/Makefile (tests): Add test-snan.
17563 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17564 test-powerpc-snan.
17565
777b0332
TS
17566 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17567 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17568 functions.
17569 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17570 __builtin_nan family of functions.
17571 * math/libm-test.inc (initialize): Initialize qnan_value with
17572 __builtin_nan family of functions.
17573 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17574 Remove variables.
17575 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17576 Remove functions.
17577 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17578 storage class. Initialize qNaN_var and sNaN_var with
17579 __builtin_nan and __builtin_nans families of functions,
17580 respectively.
17581
64d063b8
TS
17582 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17583 (sqrt_test): Remove duplicate test with qNaN input.
17584 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17585 (round_test, signbit_test, significand_test): Note missing +/-Inf
17586 as well as qNaN tests.
17587
67e971f1
TS
17588 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17589 qNaN_var. Fix a few strings, too.
17590 * math/libm-test.inc (nan_value): Rename to qnan_value.
17591 * math/gen-libm-test.pl (%beautify): Adjust to that.
17592 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17593 * math/test-misc.c (main): Likewise.
17594 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17595 to __qnan_bytes, and __qnan_union, respectively.
17596 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17597 Likewise.
17598 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17599 and lqnanval, respectively.
17600 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17601 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17602 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17603 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17604
64487e12
TS
17605 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17606 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17607 doubles.
17608
e015e27b
TS
17609 * math/test-misc.c (main): Fix copy'n'pastos.
17610 * misc/tst-efgcvt.c (special): Likewise.
17611
a57da955
TS
17612 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17613 Remove declarations.
17614
1e380345
SP
176152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17616
17617 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17618 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17619 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17620 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17621
ef26eece
AZ
176222013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17623
17624 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17625 macro to return vdso values correctly in IFUNC implementations.
17626 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17627 Optimization by using IFUNC.
17628
8cfdb7e0
SP
176292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17630 Richard Henderson <rth@redhat.com>
17631 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17632
17633 * Makefile.in (bench): New target.
17634 * NEWS: Mention the benchmark framework.
17635 * Rules (bench): Likewise.
17636 (binaries-bench): Generate binaries for functions to
17637 benchmark.
17638 * benchtests/Makefile: New makefile for benchmark tests.
17639 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17640 programs.
17641 * benchtests/exp-inputs: New input file for EXP function.
17642 * benchtests/pow-inputs: New input file for POW function.
17643 * scripts/bench.pl: New script to generate source files for
17644 benchmark programs.
17645
bcda9880
SP
176462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17647
d22ca8cd
SP
17648 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17649 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17650 computations on mantissa. Use macros for rounding and
17651 division.
17652 (denorm): Likewise.
17653 (__dbl_mp): Likewise.
17654 (add_magnitudes): Likewise.
17655 (sub_magnitudes): Likewise.
17656 (__mul): Likewise.
17657 (__sqr): Likewise.
17658 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17659 powers of two in terms of TWOPOW macro.
17660 (mp_no): Make type of mantissa as MANTISSA_T.
17661 [!RADIXI]: Define RADIXI.
17662 [!TWO52]: Define TWO52.
17663 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17664
bcda9880
SP
17665 * manual/nptl.texi (cindex): Modify threads to pthreads.
17666
06d5adfb
JM
176672013-03-15 Joseph Myers <joseph@codesourcery.com>
17668
17669 * sysdeps/x86_64/preconfigure: Regenerated.
17670
41c7328e
JM
176712013-03-14 Joseph Myers <joseph@codesourcery.com>
17672
17673 [BZ #14155]
17674 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17675 0x1p28 and above.
17676 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17677 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17678 0x1p28 and above.
17679 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17680 * math/libm-test.inc (j0_test): Do not allow one spurious
17681 underflow exception.
17682 (y1_test): Likewise.
17683
e25cfa60
SP
176842013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17685
0409959c
SP
17686 * manual/Makefile (chapters): Add nptl.
17687 * manual/debug.texi (Debugging Support): Add link to Threads
17688 chapter.
17689 * manual/nptl.texi: New file.
17690
e25cfa60
SP
17691 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17692
58a1335e
PB
176932013-03-14 Petr Baudis <pasky@ucw.cz>
17694
17695 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17696 for non-NULL pointer before the memory validity test. Pointed
17697 out by Holger Brunck <holger.brunck@keymile.com>.
17698
9dc7c64f
AS
176992013-03-13 Andreas Schwab <schwab@suse.de>
17700
17701 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17702 instead of .os.
17703
54206aa6
JM
177042013-03-13 Joseph Myers <joseph@codesourcery.com>
17705
17706 * timezone/zic.c: Update from tzcode 2013b.
17707
e98cdb38
CD
177082013-03-12 Carlos O'Donell <carlos@redhat.com>
17709
17710 * manual/install.texi (Configuring and compiling):
17711 Mention i686 and i586.
17712 * INSTALL: Regenerate.
17713
9967e003
RM
177142013-03-12 Roland McGrath <roland@hack.frob.com>
17715
17716 * sysdeps/init_array/elf-init.c: New file.
17717 * csu/elf-init.c
17718 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17719 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17720
17721 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17722 __gmon_start__ as global, but as static with a .preinit_array pointer.
17723 * sysdeps/init_array/gmon-start.c: New file. Use that.
17724 * sysdeps/init_array/crti.S: New file, empty except for comments.
17725 * sysdeps/init_array/crtn.S: Likewise.
17726
e6b5a293 177272013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17728
17729 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17730 definining bcopy.
80f844c9
OB
17731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17732 Remove Prefer_SSE_for_memop.
17733 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17734 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17735 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17737 memset-x86-64.
80f844c9 17738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17739 Remove bzero, memset ifunc support.
80f844c9
OB
17740 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17741 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17742 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17743 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17744
fb6b0fcb
AS
177452013-03-11 Andreas Schwab <schwab@suse.de>
17746
17747 [BZ #15234]
17748 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17749 by SHLIB_COMPAT.
17750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17751 (GLIBC_2.16): Remove pthread_atfork.
17752
3e6bd4b1
PP
177532013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17754
17755 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17756 (ptestcases.h): Likewise.
17757
222d7f00
RM
177582013-03-08 Roland McGrath <roland@hack.frob.com>
17759
17760 * Makeconfig ($(common-objpfx)config.status): Depend on
17761 sysdeps/*/preconfigure{,.in} too.
17762
1ba4f030
JM
177632013-03-08 Joseph Myers <joseph@codesourcery.com>
17764
a222d91a
JM
17765 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17766 (__free_hook): Use void * instead of __malloc_ptr_t.
17767 (__malloc_hook): Likewise.
17768 (__realloc_hook): Likewise.
17769 (__memalign_hook): Likewise.
17770 (__after_morecore_hook): Likewise.
17771 * malloc/arena.c (save_malloc_hook): Likewise.
17772 (save_free_hook): Likewise.
17773 * malloc/hooks.c (malloc_hook_ini): Likewise.
17774 (realloc_hook_ini): Likewise.
17775 (memalign_hook_ini): Likewise.
17776 * malloc/malloc.c (malloc_hook_ini): Likewise.
17777 (realloc_hook_ini): Likewise.
17778 (memalign_hook_ini): Likewise.
17779 (__free_hook): Likewise.
17780 (__malloc_hook): Likewise.
17781 (__realloc_hook): Likewise.
17782 (__memalign_hook): Likewise.
17783 (__libc_malloc): Likewise.
17784 (__libc_free): Likewise.
17785 (__libc_realloc): Likewise.
17786 (__libc_memalign): Likewise.
17787 (__libc_valloc): Likewise.
17788 (__libc_pvalloc): Likewise.
17789 (__libc_calloc): Likewise.
17790 (__posix_memalign): Likewise.
17791 * malloc/morecore.c (__sbrk): Likewise.
17792 (__default_morecore): Likewise.
17793
5cc45e10
JM
17794 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17795
dd54b864
JM
17796 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17797 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17798 __malloc_ptrdiff_t.
17799
1ba4f030
JM
17800 * malloc/malloc.h (__malloc_size_t): Remove macro.
17801 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17802 __malloc_size_t.
17803 (old_memalign_hook): Likewise.
17804 (old_realloc_hook): Likewise.
17805 (struct hdr): Likewise.
17806 (flood): Likewise.
17807 (mallochook): Likewise.
17808 (memalignhook): Likewise.
17809 (reallochook): Likewise.
17810 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17811 (tr_old_realloc_hook): Likewise.
17812 (tr_old_memalign_hook): Likewise.
17813 (tr_mallochook): Likewise.
17814 (tr_reallochook): Likewise.
17815 (tr_memalignhook): Likewise.
17816
edf66e57
AZ
178172013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17818
17819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17820 default_ldbl_pack and using as default implementation.
17821 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17822 implementation.
17823 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17824 redundant definition.
17825 (ldbl_insert_mantissa): Likewise.
17826 (ldbl_canonicalize): Likewise.
17827 (ldbl_nearbyint): Likewise.
17828 (ldbl_pack): Rename to ldbl_pack_ppc.
17829 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17830 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17831 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17832
6d9145d8
SP
178332013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17834
17835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17836 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17838 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17840 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17841 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17842 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17843
4dd4e157
AJ
178442013-03-07 Andreas Jaeger <aj@suse.de>
17845
17846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17847 bits/mman-linux.h.
17848
adbb8027
SP
178492013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17850
ce544b5b
SP
17851 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17852 Include mpa.h and declare __MPEXP.
17853 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17854 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17855 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17856 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17857 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17858 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17859 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17860
4cc149fd
SP
17861 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17862 (__slowpow): Use long double EXPL and LOGL functions to
17863 compute POW.
17864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17865 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17868 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17870
e6ebd4a7
SP
17871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17872 intermediate variable to calculate exponent.
17873 (__sqr): Likewise.
17874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17875 Likewise.
17876 (__sqr): Likewise.
17877
82a9811d
SP
17878 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17879 [!NO__SQR]: Define __sqr.
17880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17881 and NO__SQR. Remove all code except __mul and __sqr. Include
17882 sysdeps/ieee754/dbl-64/mpa.c.
17883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17884
adbb8027
SP
17885 [BZ #12723]
17886 * posix/Makefile (tests): Add tst-pathconf.
17887 * posix/tst-pathconf.c: New test case.
17888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17889 _PC_PIPE_BUF.
17890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17891
39120df9
PF
178922013-03-06 Patsy Franklin <pfrankli@redhat.com>
17893
17894 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17895
67525cb8
AJ
178962013-03-06 Andreas Jaeger <aj@suse.de>
17897
664a9ce4
AJ
17898 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17899 definition via __MAP_ANONYMOUS.
17900
8e39047d
AJ
17901 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17902 it's not part of Linux headers.
17903
67525cb8
AJ
17904 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17905 (MAP_HUGE_MASK): Define.
17906
17907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17908 Define.
17909 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17911 Define.
17912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17913 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17914 Define.
17915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17917 Define.
17918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17919
17920 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17921 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17922 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17923 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17924 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17926
17927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17928 Handle f2fs.
17929
17930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17931 Handle f2fs and efivarfs.
17932
17933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17934 f2fs.
17935
17936 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17937 (EFIVARFS_MAGIC): Add.
17938 (F2FS_LINK_MAX): Add.
17939
e1b42695
PP
179402013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17941
17942 * stdio-common/vfprintf.c: Replace __builtin_expect with
17943 __glibc_unlikely.
17944
2d67d91a
JM
179452013-03-06 Joseph Myers <joseph@codesourcery.com>
17946
17947 [BZ #13550]
17948 * sysdeps/generic/bp-sym.h: Remove file.
17949 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17950 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17951 <bp-sym.h> and <bp-asm.h>.
17952 (__longjmp): Don't use BP_SYM.
17953 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17954 and <bp-asm.h>.
17955 (memcpy): Don't use BP_SYM.
17956 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17957 <bp-sym.h> and <bp-asm.h>.
17958 (memcpy): Don't use BP_SYM.
17959 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17960 <bp-asm.h>.
17961 (memcpy): Don't use BP_SYM.
17962 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17963 <bp-asm.h>.
17964 (memset): Don't use BP_SYM.
17965 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17966 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17967 (__bzero): Don't use BP_SYM.
17968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17970 * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
17975 <bp-sym.h> and <bp-asm.h>.
17976 (memcpy): Don't use BP_SYM.
17977 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17978 <bp-sym.h> and <bp-asm.h>.
17979 (memset): Don't use BP_SYM.
17980 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17981 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17982 (__bzero): Don't use BP_SYM.
17983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17985 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17986 <bp-sym.h> and <bp-asm.h>.
17987 (strncmp): Don't use BP_SYM. Remove comment about bounded
17988 pointers.
17989 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17990 <bp-sym.h> and <bp-asm.h>.
17991 (memcpy): Don't use BP_SYM.
17992 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17993 <bp-sym.h> and <bp-asm.h>.
17994 (memset): Don't use BP_SYM.
17995 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17996 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17997 (__bzero): Don't use BP_SYM.
17998 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17999 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18000 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18001 <bp-sym.h> and <bp-asm.h>.
18002 (__memchr): Don't use BP_SYM.
18003 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18004 <bp-sym.h> and <bp-asm.h>.
18005 (memcmp): Don't use BP_SYM. Remove comment about bounded
18006 pointers.
18007 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18008 <bp-sym.h> and <bp-asm.h>.
18009 (memcpy): Don't use BP_SYM.
18010 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18011 <bp-sym.h> and <bp-asm.h>.
18012 (__mempcpy): Don't use BP_SYM.
18013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18014 <bp-sym.h> and <bp-asm.h>.
18015 (__memrchr): Don't use BP_SYM.
18016 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18017 <bp-sym.h> and <bp-asm.h>.
18018 (memset): Don't use BP_SYM.
18019 (__bzero): Likewise.
18020 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18021 <bp-sym.h> and <bp-asm.h>.
18022 (__rawmemchr): Don't use BP_SYM.
18023 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18024 <bp-sym.h> and <bp-asm.h>.
18025 (__STRCMP): Don't use BP_SYM.
18026 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18027 <bp-sym.h> and <bp-asm.h>.
18028 (strchr): Don't use BP_SYM.
18029 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18030 <bp-sym.h> and <bp-asm.h>.
18031 (__strchrnul): Don't use BP_SYM.
18032 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18033 <bp-sym.h> and <bp-asm.h>.
18034 (strlen): Don't use BP_SYM.
18035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18036 <bp-sym.h> and <bp-asm.h>.
18037 (strncmp): Don't use BP_SYM. Remove comment about bounded
18038 pointers.
18039 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18040 <bp-sym.h> and <bp-asm.h>.
18041 (__strnlen): Don't use BP_SYM.
18042 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18043 <bp-sym.h> and <bp-asm.h>.
18044 (__GI__setjmp): Don't use BP_SYM.
18045 (_setjmp): Likewise.
18046 (__sigsetjmp): Likewise.
18047 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18048 (L(start_addresses)): Don't use BP_SYM.
18049 (_start): Likewise.
18050 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18051 <bp-asm.h>.
18052 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18053 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18054 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18055 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18056 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18057 <bp-asm.h>.
18058 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18059 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18060 about bounded pointers.
18061 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18062 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18063 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18064 <bp-asm.h>.
18065 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18066 about bounded pointers. Remove GKM FIXME comments.
18067 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18068 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18069 <bp-asm.h>.
18070 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18071 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18072 Remove GKM FIXME comments.
18073 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18074 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18075 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18076 <bp-asm.h>.
18077 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18078 about bounded pointers. Remove GKM FIXME comment.
18079 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18080 and <bp-asm.h>.
18081 (strncmp): Don't use BP_SYM. Remove comment about bounded
18082 pointers.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18084 <bp-sym.h> and <bp-asm.h>.
18085 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18087 <bp-sym.h> and <bp-asm.h>.
18088 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18089 comment.
18090
cdcf361f
PP
180912013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18092
18093 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18094 call free(NULL).
18095
3c4a2b15
DM
180962013-03-05 David S. Miller <davem@davemloft.net>
18097
18098 * po/es.po: Update from translation team.
18099
cdcf361f 181002013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18101
18102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18103 <bits/mman-linux.h>.
18104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18105 is fine.
18106 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18107 <bits/mman-linux.h> to end of file.
18108 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18109 is fine.
18110 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18111 <bits/mman-linux.h> to end of file.
18112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18113 is fine.
18114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18115 <bits/mman-linux.h> to end of file.
18116
18117 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18118 (MCL_CURRENT, MCL_FUTURE): Define here.
18119
5f67c04f
AK
181202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18121
8a4473cc 18122 [BZ #15232]
5f67c04f
AK
18123 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18124 attribute_hidden.
18125 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18126
c3e94a95
AK
181272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18128
18129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18130 fourth parameter needed for rt_sigprocmask syscall.
18131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18132 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18133 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18134 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18136 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18137
cfb6382a
JM
181382013-03-04 Joseph Myers <joseph@codesourcery.com>
18139
18140 [BZ #13550]
18141 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18142 comment about bounded pointers.
18143 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18144 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18145
539d8e01
AJ
181462013-03-04 Andreas Jaeger <aj@suse.de>
18147
18148 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18149 common definitions.
18150
18151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18152 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18153 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18157
2e167a70 181582013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18159
18160 [BZ #15055]
18161 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18162 __ieee754_sqrl instead of __sqrl.
18163
68508633
JM
181642013-03-01 Joseph Myers <joseph@codesourcery.com>
18165
18166 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18167 * sysdeps/powerpc/fpu_control.h: ... here.
18168 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18169 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18170 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18171 * sysdeps/powerpc/bits/mathinline.h: ... here.
18172
7775448e
RM
181732013-03-01 Roland McGrath <roland@hack.frob.com>
18174
18175 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18176 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18177 to just [NEED_DL_SYSINFO_DSO].
18178 * elf/dl-support.c: Likewise.
18179 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18180 * elf/rtld.c (dl_main): Likewise.
18181 * elf/setup-vdso.h (setup_vdso): Likewise.
18182 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18183 * sysdeps/unix/sysv/linux/dl-sysdep.c
18184 (_dl_discover_osversion): Likewise.
18185
4e9b5995
CD
181862013-03-01 Carlos O'Donell <carlos@redhat.com>
18187
18188 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18189 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18190
e23872c8
SP
181912013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18192
e5c74c63
SP
18193 * NEWS: Mention libm performance improvements and non-x86 PI
18194 futex support.
18195
e23872c8
SP
18196 * csu/libc-start.c (__pthread_initialize_minimal): Change
18197 function arguments.
18198 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18199
b5510883
JM
182002013-02-28 Joseph Myers <joseph@codesourcery.com>
18201
18202 [BZ #13550]
18203 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18204 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18205 <bp-sym.h> and <bp-asm.h>.
18206 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18207 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18208 and <bp-asm.h>.
18209 (memcpy): Don't use BP_SYM.
18210 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18211 <bp-asm.h>.
18212 (__mpn_add_n): Don't use BP_SYM.
18213 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18214 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18215 and <bp-asm.h>.
18216 (__mpn_addmul_1): Don't use BP_SYM.
18217 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18218 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18219 <bp-sym.h>.
18220 (_setjmp): Don't use BP_SYM.
18221 (__novmx_setjmp): Likewise.
18222 (__GI__setjmp): Likewise.
18223 (__vmx_setjmp): Likewise.
18224 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18225 <bp-sym.h>.
18226 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18227 (__bzero): Don't use BP_SYM.
18228 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18229 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18230 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18231 <bp-sym.h> and <bp-asm.h>.
18232 (memcpy): Don't use BP_SYM.
18233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18237 <bp-sym.h> and <bp-asm.h>.
18238 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18239 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18240 <bp-asm.h>.
18241 (__mpn_lshift): Don't use BP_SYM.
18242 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18243 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18244 <bp-asm.h>.
18245 (memset): Don't use BP_SYM.
18246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18248 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18249 <bp-asm.h>.
18250 (__mpn_mul_1): Don't use BP_SYM.
18251 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18253 <bp-sym.h> and <bp-asm.h>.
18254 (memcmp): Don't use BP_SYM.
18255 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18256 <bp-sym.h> and <bp-asm.h>.
18257 (memcpy): Don't use BP_SYM.
18258 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18259 <bp-sym.h> and <bp-asm.h>.
18260 (memset): Don't use BP_SYM.
18261 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18262 <bp-sym.h> and <bp-asm.h>.
18263 (strncmp): Don't use BP_SYM.
18264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18265 <bp-sym.h> and <bp-asm.h>.
18266 (memcpy): Don't use BP_SYM.
18267 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18268 <bp-sym.h> and <bp-asm.h>.
18269 (memset): Don't use BP_SYM.
18270 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18271 <bp-sym.h> and <bp-asm.h>.
18272 (__memchr): Don't use BP_SYM.
18273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18274 <bp-sym.h> and <bp-asm.h>.
18275 (memcmp): Don't use BP_SYM.
18276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18277 <bp-sym.h> and <bp-asm.h>.
18278 (memcpy): Don't use BP_SYM.
18279 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18280 <bp-sym.h> and <bp-asm.h>.
18281 (__mempcpy): Don't use BP_SYM.
18282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18283 <bp-sym.h> and <bp-asm.h>.
18284 (__memrchr): Don't use BP_SYM.
18285 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18286 <bp-sym.h> and <bp-asm.h>.
18287 (memset): Don't use BP_SYM.
18288 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18289 <bp-sym.h> and <bp-asm.h>.
18290 (__rawmemchr): Don't use BP_SYM.
18291 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18292 <bp-sym.h> and <bp-asm.h>.
18293 (__STRCMP): Don't use BP_SYM.
18294 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18295 <bp-sym.h> and <bp-asm.h>.
18296 (strchr): Don't use BP_SYM.
18297 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18298 <bp-sym.h> and <bp-asm.h>.
18299 (__strchrnul): Don't use BP_SYM.
18300 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18301 <bp-sym.h> and <bp-asm.h>.
18302 (strlen): Don't use BP_SYM.
18303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18304 <bp-sym.h> and <bp-asm.h>.
18305 (strncmp): Don't use BP_SYM.
18306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18307 <bp-sym.h> and <bp-asm.h>.
18308 (__strnlen): Don't use BP_SYM.
18309 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18310 <bp-asm.h>.
18311 (__mpn_rshift): Don't use BP_SYM.
18312 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18313 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18314 <bp-sym.h> and <bp-asm.h>.
18315 (__sigsetjmp): Don't use BP_SYM.
18316 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18317 (L(start_addresses)): Don't use BP_SYM.
18318 (_start): Likewise.
18319 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18320 <bp-asm.h>.
18321 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18322 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18323 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18324 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18325 <bp-asm.h>.
18326 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18327 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18328 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18329 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18330 <bp-asm.h>.
18331 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18332 comments.
18333 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18334 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18335 <bp-asm.h>.
18336 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18337 FIXME comments.
18338 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18339 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18340 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18341 <bp-asm.h>.
18342 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18343 comment.
18344 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18345 and <bp-asm.h>.
18346 (strncmp): Don't use BP_SYM,
18347 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18348 <bp-asm.h>.
18349 (__mpn_sub_n): Don't use BP_SYM.
18350 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18351 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18352 and <bp-asm.h>.
18353 (__mpn_submul_1): Don't use BP_SYM.
18354 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18356 <bp-sym.h> and <bp-asm.h>.
18357 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18359 <bp-sym.h> and <bp-asm.h>.
18360 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18361 comment.
18362
8d19fe64
SP
183632013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18364
18365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18366 Use ZK to minimize writes to Z.
18367 (sub_magnitudes): Simplify code a bit.
18368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18369 Use ZK to minimize writes to Z.
18370 (sub_magnitudes): Simplify code a bit.
18371
85bd816a
RM
183722013-02-27 Roland McGrath <roland@hack.frob.com>
18373
18374 * csu/gmon-start.c: Add special exception to license text.
18375
b5977bf2
RH
183762013-02-27 Richard Henderson <rth@redhat.com>
18377
18378 * scripts/config.guess: Update from config.git.
18379 * scripts/config.sub: Likewise.
18380
11d6e2f2
SP
183812013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18382
09c14ed2
SP
18383 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18384
a688864e
SP
18385 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18386
6295157a
SP
18387 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18388
b8de2202
SP
18389 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18390
11d6e2f2
SP
18391 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18392
7e80ddb8
RM
183932013-02-26 Roland McGrath <roland@hack.frob.com>
18394
18395 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18396 [$(build-shared = yes].
7e80ddb8 18397
7da6d9ed
SP
183982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
45f05884
SP
18400 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18401 (__mul): Reduce iterations for calculating mantissa.
18402
2236d359
SP
18403 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18404 MPTWO.
18405 (__mpranred): Likewise.
18406
7da6d9ed
SP
18407 [BZ #15160]
18408 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18409 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18410
b7688c42
PE
184112013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18412
18413 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18414 Define __attribute__.
18415
53a5c423
SP
184162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18417
18418 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18419 unused.
18420 * posix/regex_internal.h (__attribute): Remove.
18421 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18422 (re_string_context_at): Likewise.
18423 (bitset_not): Use __attribute__ and mark function as possibly
18424 unused.
18425 (bitset_merge): Likewise.
18426 (bitset_mask): Likewise.
18427 (re_string_char_size_at): Likewise.
18428 (re_string_wchar_at): Likewise.
18429 (re_string_elem_size_at): Likewise.
18430
60f5a8b5
SP
184312013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18432
2a983a2e
SP
18433 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18434 code.
18435 (cc32): Likewise.
18436
e69804d1
SP
18437 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18438 (__acr): Likewise.
18439 (__cpy): Likewise.
18440 (norm): Likewise.
18441 (denorm): Likewise.
18442 (__dbl_mp): Likewise.
18443 (add_magnitudes): Likewise.
18444 (sub_magnitudes): Likewise.
18445 (__mul): Likewise.
18446 (__inv): Likewise.
18447
2f22a1e8
SP
18448 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18449 style.
18450
8930ddc7
SP
18451 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18452 style.
18453
dc60cb11
SP
18454 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18455 code.
18456
60f5a8b5
SP
18457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18458 up changes with default code.
18459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18460 Likewise.
18461
b4d1fd33
AM
184622013-02-24 Allan McRae <allan@archlinux.org>
18463
faf6f8bc
AM
18464 * manual/socket.texi (The Internet Namespace): Order menu items
18465 to match that in the file.
18466
b4d1fd33
AM
18467 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18468 node listing of the info page menu.
18469
2366713d
JM
184702013-02-21 Joseph Myers <joseph@codesourcery.com>
18471
18472 [BZ #13550]
18473 * sysdeps/i386/bp-asm.h: Remove file.
18474 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18475 (PARMS): Do not use macros from bp-asm.h.
18476 (S1): Likewise.
18477 (S2): Likewise.
18478 (SIZE): Likewise.
18479 (__mpn_add_n): Do not use BP_SYM
18480 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18481 "bp-asm.h".
18482 (PARMS): Do not use macros from bp-asm.h.
18483 (S1): Likewise.
18484 (SIZE): Likewise.
18485 (__mpn_addmul_1): Do not use BP_SYM
18486 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18487 "bp-asm.h".
18488 (PARMS): Do not use macros from bp-asm.h.
18489 (SIGMSK): Likewise.
18490 (_setjmp): Likewise. Do not use BP_SYM.
18491 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18492 "bp-asm.h".
18493 (PARMS): Do not use macros from bp-asm.h.
18494 (SIGMSK): Likewise.
18495 (setjmp): Likewise. Do not use BP_SYM.
18496 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18497 "bp-asm.h".
18498 (PARMS): Do not use macros from bp-asm.h.
18499 (__frexp): Do not use BP_SYM.
18500 (frexp): Likewise.
18501 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18502 "bp-asm.h".
18503 (PARMS): Do not use macros from bp-asm.h.
18504 (__frexpf): Do not use BP_SYM.
18505 (frexpf): Likewise.
18506 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18507 "bp-asm.h".
18508 (PARMS): Do not use macros from bp-asm.h.
18509 (__frexpl): Do not use BP_SYM.
18510 (frexpl): Likewise.
18511 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18512 "bp-asm.h".
18513 (PARMS): Do not use macros from bp-asm.h.
18514 (__remquo): Do not use BP_SYM.
18515 (remquo): Likewise.
18516 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18517 "bp-asm.h".
18518 (PARMS): Do not use macros from bp-asm.h.
18519 (__remquof): Do not use BP_SYM.
18520 (remquof): Likewise.
18521 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18522 "bp-asm.h".
18523 (PARMS): Do not use macros from bp-asm.h.
18524 (__remquol): Do not use BP_SYM.
18525 (remquol): Likewise.
18526 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18527 "bp-asm.h".
18528 (PARMS): Do not use macros from bp-asm.h.
18529 (DEST): Likewise.
18530 (SRC): Likewise.
18531 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18532 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18533 "bp-asm.h".
18534 (PARMS): Do not use macros from bp-asm.h.
18535 (strlen): Do not use BP_SYM.
18536 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18537 "bp-asm.h".
18538 (PARMS): Do not use macros from bp-asm.h.
18539 (S1): Likewise.
18540 (S2): Likewise.
18541 (SIZE): Likewise.
18542 (__mpn_add_n): Do not use BP_SYM.
18543 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18544 "bp-asm.h".
18545 (PARMS): Do not use macros from bp-asm.h.
18546 (S1): Likewise.
18547 (SIZE): Likewise.
18548 (__mpn_addmul_1): Do not use BP_SYM.
18549 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18550 weak_alias.
18551 (bzero): Likewise.
18552 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18553 "bp-asm.h".
18554 (PARMS): Do not use macros from bp-asm.h.
18555 (S): Likewise.
18556 (SIZE): Likewise.
18557 (__mpn_lshift): Do not use BP_SYM.
18558 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18559 "bp-asm.h".
18560 (PARMS): Do not use macros from bp-asm.h.
18561 (DEST): Likewise.
18562 (SRC): Likewise.
18563 (LEN): Likewise.
18564 (memcpy): Likewise. Do not use BP_SYM.
18565 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18566 libc_hidden_def and weak_alias.
18567 (mempcpy): Do not use BP_SYM in weak_alias.
18568 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18569 "bp-asm.h".
18570 (PARMS): Do not use macros from bp-asm.h.
18571 (DEST): Likewise.
18572 (LEN): Likewise.
18573 [!BZERO_P] (CHR): Likewise.
18574 (memset): Likewise. Do not use BP_SYM.
18575 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18576 "bp-asm.h".
18577 (PARMS): Do not use macros from bp-asm.h.
18578 (S1): Likewise.
18579 (SIZE): Likewise.
18580 (__mpn_mul_1): Do not use BP_SYM.
18581 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18582 "bp-asm.h".
18583 (PARMS): Do not use macros from bp-asm.h.
18584 (S): Likewise.
18585 (SIZE): Likewise.
18586 (__mpn_rshift): Do not use BP_SYM.
18587 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18588 "bp-asm.h".
18589 (PARMS): Do not use macros from bp-asm.h.
18590 (STR): Likewise.
18591 (CHR): Likewise.
18592 (strchr): Likewise. Do not use BP_SYM.
18593 (index): Do not use BP_SYM in weak_alias.
18594 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18595 "bp-asm.h".
18596 (PARMS): Do not use macros from bp-asm.h.
18597 (DEST): Likewise.
18598 (SRC): Likewise.
18599 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18600 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18601 "bp-asm.h".
18602 (PARMS): Do not use macros from bp-asm.h.
18603 (strlen): Do not use BP_SYM.
18604 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18605 "bp-asm.h".
18606 (PARMS): Do not use macros from bp-asm.h.
18607 (S1): Likewise.
18608 (S2): Likewise.
18609 (SIZE): Likewise.
18610 (__mpn_sub_n): Do not use BP_SYM.
18611 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18612 "bp-asm.h".
18613 (PARMS): Do not use macros from bp-asm.h.
18614 (S1): Likewise.
18615 (SIZE): Likewise.
18616 (__mpn_submul_1): Do not use BP_SYM.
18617 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18618 "bp-asm.h".
18619 (PARMS): Do not use macros from bp-asm.h.
18620 (S1): Likewise.
18621 (S2): Likewise.
18622 (SIZE): Likewise.
18623 (__mpn_add_n): Do not use BP_SYM.
18624 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18625 weak_alias.
18626 (bzero): Likewise.
18627 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18628 "bp-asm.h".
18629 (PARMS): Do not use macros from bp-asm.h.
18630 (BLK2): Likewise.
18631 (LEN): Likewise.
18632 (memcmp): Do not use BP_SYM.
18633 (bcmp): Do not use BP_SYM in weak_alias.
18634 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18635 "bp-asm.h".
18636 (PARMS): Do not use macros from bp-asm.h.
18637 (DEST): Likewise.
18638 (SRC): Likewise.
18639 (LEN): Likewise.
18640 (memcpy): Likewise. Do not use BP_SYM.
18641 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18642 "bp-asm.h".
18643 (PARMS): Do not use macros from bp-asm.h.
18644 (DEST): Likewise.
18645 (SRC): Likewise.
18646 (LEN): Likewise.
18647 (memmove): Likewise. Do not use BP_SYM.
18648 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18649 "bp-asm.h".
18650 (PARMS): Do not use macros from bp-asm.h.
18651 (DEST): Likewise.
18652 (SRC): Likewise.
18653 (LEN): Likewise.
18654 (__mempcpy): Likewise. Do not use BP_SYM.
18655 (mempcpy): Do not use BP_SYM in weak_alias.
18656 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18657 "bp-asm.h".
18658 (PARMS): Do not use macros from bp-asm.h.
18659 (DEST): Likewise.
18660 (LEN): Likewise.
18661 [!BZERO_P] (CHR): Likewise.
18662 (memset): Likewise. Do not use BP_SYM.
18663 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18664 "bp-asm.h".
18665 (PARMS): Do not use macros from bp-asm.h.
18666 (STR2): Likewise.
18667 (strcmp): Do not use BP_SYM.
18668 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
18673 [USE_AS_STRTOK_R] (SAVE): Likewise.
18674 (FUNCTION): Likewise. Do not use BP_SYM.
18675 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18676 aliases.
18677 (strtok_r): Likewise.
18678 (__GI___strtok_r): Likewise.
18679 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18680 (PARMS): Do not use macros from bp-asm.h.
18681 (S): Likewise.
18682 (SIZE): Likewise.
18683 (__mpn_lshift): Do not use BP_SYM.
18684 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18685 (PARMS): Do not use macros from bp-asm.h.
18686 (STR): Likewise.
18687 (CHR): Likewise.
18688 (__memchr): Do not use BP_SYM.
18689 (memchr): Do not use BP_SYM in weak_alias.
18690 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18691 (PARMS): Do not use macros from bp-asm.h.
18692 (BLK2): Likewise.
18693 (LEN): Likewise.
18694 (memcmp): Do not use BP_SYM.
18695 (bcmp): Do not use BP_SYM in weak_alias.
18696 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18697 (PARMS): Do not use macros from bp-asm.h.
18698 (S1): Likewise.
18699 (SIZE): Likewise.
18700 (__mpn_mul_1): Do not use BP_SYM.
18701 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18702 "bp-asm.h".
18703 (PARMS): Do not use macros from bp-asm.h.
18704 (STR): Likewise.
18705 (CHR): Likewise.
18706 (__rawmemchr): Do not use BP_SYM.
18707 (rawmemchr): Do not use BP_SYM in weak_alias.
18708 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18709 (PARMS): Do not use macros from bp-asm.h.
18710 (S): Likewise.
18711 (SIZE): Likewise.
18712 (__mpn_rshift): Do not use BP_SYM.
18713 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18714 (PARMS): Do not use macros from bp-asm.h.
18715 (SIGMSK): Likewise.
18716 (__sigsetjmp): Likewise. Do not use BP_SYM.
18717 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18718 (_start): Do not use BP_SYM.
18719 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18720 (PARMS): Do not use macros from bp-asm.h.
18721 (DEST): Likewise.
18722 (SRC): Likewise.
18723 (__stpcpy): Likewise. Do not use BP_SYM.
18724 (stpcpy): Do not use BP_SYM in weak_alias.
18725 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18726 "bp-asm.h".
18727 (PARMS): Do not use macros from bp-asm.h.
18728 (DEST): Likewise.
18729 (SRC): Likewise.
18730 (LEN): Likewise.
18731 (__stpncpy): Likewise. Do not use BP_SYM.
18732 (stpncpy): Do not use BP_SYM in weak_alias.
18733 * sysdeps/i386/strchr.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 (CHR): Likewise.
18737 (strchr): Likewise. Do not use BP_SYM.
18738 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18739 "bp-asm.h".
18740 (PARMS): Do not use macros from bp-asm.h.
18741 (STR): Likewise.
18742 (CHR): Likewise.
18743 (__strchrnul): Likewise. Do not use BP_SYM.
18744 (strchrnul): Do not use BP_SYM in weak_alias.
18745 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18746 "bp-asm.h".
18747 (PARMS): Do not use macros from bp-asm.h.
18748 (STOP): Likewise.
18749 (strcspn): Do not use BP_SYM.
18750 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18751 "bp-asm.h".
18752 (PARMS): Do not use macros from bp-asm.h.
18753 (STR): Likewise.
18754 (STOP): Likewise.
18755 (strpbrk): Likewise. Do not use BP_SYM.
18756 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18757 "bp-asm.h".
18758 (PARMS): Do not use macros from bp-asm.h.
18759 (STR): Likewise.
18760 (CHR): Likewise.
18761 (strrchr): Likewise. Do not use BP_SYM.
18762 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18763 (PARMS): Do not use macros from bp-asm.h.
18764 (SKIP): Likewise.
18765 (strspn): Do not use BP_SYM.
18766 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18767 (PARMS): Do not use macros from bp-asm.h.
18768 (STR): Likewise.
18769 (DELIM): Likewise.
18770 (SAVE): Likewise.
18771 (FUNCTION): Likewise. Do not use BP_SYM.
18772 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18773 aliases.
18774 (strtok_r): Likewise.
18775 (__GI___strtok_r): Likewise.
18776 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18777 (PARMS): Do not use macros from bp-asm.h.
18778 (S1): Likewise.
18779 (S2): Likewise.
18780 (SIZE): Likewise.
18781 (__mpn_sub_n): Do not use BP_SYM.
18782 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18783 "bp-asm.h".
18784 (PARMS): Do not use macros from bp-asm.h.
18785 (S1): Likewise.
18786 (SIZE): Likewise.
18787 (__mpn_submul_1): Do not use BP_SYM.
18788 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18789 <bp-sym.h>.
18790 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18791 and <bp-asm.h>.
18792 (PARMS): Do not use macros from bp-asm.h.
18793 (FLAGS): Likewise.
18794 (PTID): Likewise.
18795 (TLS): Likewise.
18796 (CTID): Likewise.
18797 (__clone): Do not use BP_SYM.
18798 (clone): Do not use BP_SYM in weak_alias.
18799 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18800 and <bp-asm.h>.
18801 (PARMS): Do not use macros from bp-asm.h.
18802 (LEN): Likewise.
18803 (__mmap64): Do not use BP_SYM.
18804 (mmap64): Do not use BP_SYM in weak_alias.
18805 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18806 <bp-sym.h> and <bp-asm.h>.
18807 (PARMS): Do not use macros from bp-asm.h.
18808 (__posix_fadvise64_l64): Do not use BP_SYM.
18809 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18810 (PARMS): Do not use macros from bp-asm.h.
18811 (NSOPS): Likewise.
18812 (semtimedop): Do not use BP_SYM.
18813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18814 and <bp-asm.h>.
18815
582a3cff
AM
188162013-02-21 Allan McRae <allan@archlinux.org>
18817
18818 * manual/message.texi (Charset conversion in gettext):
18819 Move @end statement to beginning of line.
18820
bab8a695
SP
188212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18822
80945231
SP
18823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18824 static.
18825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18826 Likewise.
18827
bab8a695
SP
18828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18829 (denorm): Likewise.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18832
e21d7aa7
AK
188332013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18834
18835 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18836 tail-call to the resolved function if pltexit isn't needed.
18837
4c7a4263
SP
188382013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18839
18840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18841 or Y being zero as being unlikely.
18842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18843 Likewise.
18844
41f49342
CD
188452013-02-20 Carlos O'Donell <carlos@redhat.com>
18846
18847 * manual/nss.texi (System Databases and Name Service Switch):
18848 Remove frobnicate @pxref.
18849
50022a93
TS
188502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18851
18852 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18853 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18854
08cbd996
PM
188552013-02-20 Petr Machata <pmachata@redhat.com>
18856
18857 * elf/elf.h (R_ARM_TARGET1): New macro.
18858 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18859 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18860 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18861 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18862 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18863 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18864 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18865 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18866 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18867 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18868 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18869 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18870 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18871 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18872 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18873 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18874 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18875 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18876 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18877 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18878 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18879 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18880 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18881 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18882 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18883 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18884 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18885 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18886 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18887 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18888 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18889 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18890 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18891 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18892 (R_ARM_THM_GOT_BREL12): Likewise.
18893 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18894 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18895 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18896 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18897 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18898 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18899 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18900 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18901 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18902
c7b275d6
TS
189032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18904
18905 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18906 __attribute_used__ to __attribute__ ((unused)).
18907
20cd7fb3
SP
189082013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18909
18910 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18911 powerpc mpa.c.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18913 comment formatting.
18914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18915
92945b52
JM
189162013-02-19 Joseph Myers <joseph@codesourcery.com>
18917
18918 [BZ #13550]
18919 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18920 Remove macro.
18921 (ENTER): Remove both macro definitions.
18922 (LEAVE): Likewise.
18923 (CHECK_BOUNDS_LOW): Likewise.
18924 (CHECK_BOUNDS_HIGH): Likewise.
18925 (CHECK_BOUNDS_BOTH): Likewise.
18926 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18927 (RETURN_BOUNDED_POINTER): Likewise.
18928 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18929 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18930 (POP_ERRNO_LOCATION_RETURN): Likewise.
18931 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18932 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18933 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18934 macros.
18935 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18936 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18937 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18938 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18939 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18940 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18941 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18942 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18943 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18944 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18945 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18946 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18947 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18948 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18949 removed macros.
18950 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18951 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18952 macros.
18953 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18954 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18955 * sysdeps/i386/i586/memset.S (memset): Likewise.
18956 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18957 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18958 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18959 macros.
18960 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18961 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18962 Change uses of L(2) to L(out).
18963 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18964 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18965 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18966 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18967 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18968 removed macros.
18969 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18970 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18971 macros.
18972 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18973 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18974 (RETURN): Do not use macro LEAVE.
18975 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18976 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18977 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18978 * sysdeps/i386/i686/memset.S (memset): Likewise.
18979 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18980 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18981 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18982 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18983 Likewise.
18984 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18985 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18986 L(1_2) and L(1_3) into L(1).
18987 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18988 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18989 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18990 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18991 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18992 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18993 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18994 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18995 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18996 macros.
18997 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18998 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18999 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19000 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19001 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19002 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19003 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19004 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19005 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19006 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19007 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19008 * sysdeps/i386/strspn.S (strspn): Likewise.
19009 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19010 conditional code.
19011 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19012 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19014 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19015 L(1_3) into L(1_1).
19016 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19017 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19018 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19019 macros.
19020 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19021
2389741a
JJ
190222013-02-19 Jakub Jelinek <jakub@redhat.com>
19023
19024 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19025 macro.
19026
2016b3cd
SP
190272013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19028
e4f22324
SP
19029 * math/atest-exp.c (exp_mpn): Remove ROUND.
19030 * math/atest-exp2.c (exp_mpn): Likewise.
19031 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19032
2016b3cd
SP
19033 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19034 * stdlib/tst-tls-atexit-lib.c: Likewise.
19035 * stdlib/tst-tls-atexit.c: Likewise.
19036
4be9b544
MF
190372013-02-18 Mike Frysinger <vapier@gentoo.org>
19038
19039 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19040 and __attribute_alloc_size__.
19041
2f62b9ee
MF
190422013-02-18 Mike Frysinger <vapier@gentoo.org>
19043
19044 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19045 __attribute_alloc_size__.
19046 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19047 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19048
6ff444c4
MF
190492013-02-18 Mike Frysinger <vapier@gentoo.org>
19050
19051 * include/programs/xmalloc.h: New file.
19052 * catgets/gencat.c: Include it.
19053 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19054 * elf/pldd.c: Likewise.
19055 * iconv/iconv_charmap.c: Likewise.
19056 * iconv/iconvconfig.c: Likewise.
19057 * iconv/strtab.c: Likewise.
19058 * locale/programs/locale.c: Likewise.
19059 * locale/programs/localedef.h: Likewise.
19060 * locale/programs/simple-hash.c: Likewise.
19061 * nscd/nscd.h: Likewise.
19062 * nss/makedb.c: Likewise.
19063 * sysdeps/generic/ldconfig.h: Likewise.
19064
be179c8a
SP
190652013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19066
ba384f6e
SP
19067 * Versions.def: Add GLIBC_2.18.
19068 * include/link.h (struct link_map): New member l_tls_dtor_count.
19069 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19070 (__call_tls_dtors): Likewise.
19071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19072 __cxa_thread_atexit_impl.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19074 Likewise.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19076 Likewise.
19077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19078 Likewise.
19079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19080 Likewise.
19081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19083 Likewise.
19084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19085 Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19088 Likewise.
19089 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19090 (tests): Add test case tst-tls-atexit.
19091 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19092 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19093 (GLIBC_PRIVATE): Add __call_tls_dtors.
19094 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19095 for libstdc++.
19096 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19097 * stdlib/tst-tls-atexit.c: New test case.
19098 * stdlib/tst-tls-atexit-lib.c: New test case.
19099
ffaa74cf 19100 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19101
be179c8a
SP
19102 * elf/Versions (ld): Add _dl_find_dso_for_object.
19103 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19104 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19105 (dl_open_worker): Use _dl_find_dso_for_object.
19106 * elf/dl-sym.c (do_sym): Likewise.
19107 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19108
f78b5caa
AK
191092013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19110
19111 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19112 Syntactic changes only.
19113 (_dl_runtime_profile): Do a tail-call to the resolved function.
19114
29691210
JM
191152013-02-17 Joseph Myers <joseph@codesourcery.com>
19116
19117 [BZ #13550]
19118 * sysdeps/x86_64/bp-asm.h: Remove file.
19119 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19120 <bp-sym.h> and <bp-asm.h>.
19121 (__clone): Do not use BP_SYM.
19122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19123 <bp-sym.h> and <bp-asm.h>.
19124 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19125 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19126 "bp-asm.h".
19127 (_setjmp): Do not use BP_SYM.
19128 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19129 "bp-asm.h".
19130 (setjmp): Do not use BP_SYM.
19131 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19132 libc_hidden_def.
19133 (mempcpy): Do not use BP_SYM in weak_alias.
19134 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19135 "bp-asm.h".
19136 (strchr): Do not use BP_SYM.
19137 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19138 "bp-asm.h".
19139 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19140 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19141 (_start): Do not use BP_SYM.
19142 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19143 "bp-asm.h".
19144 (strcat): Do not use BP_SYM.
19145 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19146 "bp-asm.h".
19147 (STRCMP): Do not use BP_SYM.
19148 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19149 "bp-asm.h".
19150 (STRCPY): Do not use BP_SYM.
19151 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19152 "bp-asm.h".
19153 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19154 "bp-asm.h".
19155 (FUNCTION): Do not use BP_SYM.
19156 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19157 weak_alias.
19158 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19159
f238fd19
AJ
191602013-02-17 Andreas Jaeger <aj@suse.de>
19161
19162 * time/Versions: Sort entries.
19163 * string/Versions: Likewise.
19164 * resolv/Versions: Likewise.
19165 * posix/Versions: Likewise.
19166 * iconv/Versions: Likewise.
19167 * elf/Versions: Likewise.
19168 * wcsmbs/Versions: Likewise.
19169
bd07f23c 191702013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19171
22af19f9
SP
19172 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19173 loop termination condition.
19174
4709fe76
SP
19175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19176 variable to calculate EZ.
19177 (__sqr): Likewise.
2d0e0f29
SP
19178
19179 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19180 the lower precision input.
19181
daaa7713
JM
191822013-02-15 Joseph Myers <joseph@codesourcery.com>
19183
19184 [BZ #13550]
19185 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19186 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19187 (run-via-rtld-prefix): Do not handle %-bp tests.
19188 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19189 (all-object-suffixes): Remove .ob.
19190 (bppfx): Remove variable.
19191 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19192 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19193 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19194 [$(build-bounded) = yes] (libtype.ob): Likewise.
19195 * Makerules (elide-routines.ob): Remove variable.
19196 (do-tests-clean): Do not handle *-bp.out.
19197 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19198 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19199 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19200 (tests): Do not include $(tests-bp.out).
19201 (xtests): Do not include $(xtests-bp.out).
19202 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19203 [$(build-bounded) = yes] ($(addprefix
19204 $(objpfx),$(binaries-bounded))): Remove rule.
19205 ($(objpfx)%-bp.out): Remove rule.
19206 * config.make.in (build-bounded): Remove variable.
19207 * crypt/Makefile [$(build-bounded) = yes]
19208 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19209 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19210 append to variable.
19211 [$(build-bounded) = yes] (install-lib): Likewise.
19212 [$(build-bounded) = yes] (generated): Likewise.
19213 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19214 Remove rule.
19215 * intl/Makefile [$(build-bounded) = yes]
19216 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19217 * math/Makefile [$(build-bounded) = yes]
19218 ($(tests:%=$(objpfx)%-bp): Likewise.
19219 * misc/Makefile [$(build-bounded) = yes]
19220 ($(objpfx)tst-tsearch-bp): Likewise.
19221 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19222 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19223 Remove dependency.
19224 * string/Makefile (o-objects.ob): Remove variable.
19225 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19226 (CFLAGS-.ob): Remove variable.
19227 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19228 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19229 both definitions of variable.
19230 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19231 (ASFLAGS-.ob): Remove variable.
19232
e97ed6dd
JM
192332013-02-14 Joseph Myers <joseph@codesourcery.com>
19234
2bdd4ca6
JM
19235 [BZ #13550]
19236 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19237 Remove __BOUNDED_POINTERS__ from condition.
19238 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19239 * string/bits/string2.h [!__NO_STRING_INLINES &&
19240 !__BOUNDED_POINTERS__]: Likewise.
19241 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19242 Likewise.
19243 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19244 Remove conditional code.
19245 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19246 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19247 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19248 condition.
19249
e97ed6dd
JM
19250 [BZ #13550]
19251 * csu/libc-start.c: Do not include <bp-sym.h>.
19252 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19253 * elf/dl-open.c: Do not include <bp-sym.h>.
19254 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19255 * math/fegetenv.c: Do not include <bp-sym.h>.
19256 (fegetenv): Do not use BP_SYM in versioned symbols.
19257 * nptl/sysdeps/pthread/bits/libc-lockP.h
19258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19259 <bp-sym.h>.
19260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19261 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19263 (__pthread_mutex_destroy): Likewise.
19264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19265 (__pthread_mutex_lock): Likewise.
19266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19267 (__pthread_mutex_trylock): Likewise.
19268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19269 (__pthread_mutex_unlock): Likewise.
19270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19271 (__pthread_mutexattr_init): Likewise.
19272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19273 (__pthread_mutexattr_destroy): Likewise.
19274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19275 (__pthread_mutexattr_settype): Likewise.
19276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19277 (__pthread_rwlock_init): Likewise.
19278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19279 (__pthread_rwlock_destroy): Likewise.
19280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19281 (__pthread_rwlock_rdlock): Likewise.
19282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19283 (__pthread_rwlock_tryrdlock): Likewise.
19284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19285 (__pthread_rwlock_wrlock): Likewise.
19286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19287 (__pthread_rwlock_trywrlock): Likewise.
19288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19289 (__pthread_rwlock_unlock): Likewise.
19290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19291 (__pthread_key_create): Likewise.
19292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19293 (__pthread_setspecific): Likewise.
19294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19295 (__pthread_getspecific): Likewise.
19296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19297 Likewise.
19298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19299 (_pthread_cleanup_push_defer): Likewise.
19300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19301 (_pthread_cleanup_pop_restore): Likewise.
19302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19303 (pthread_setcancelstate): Likewise.
19304 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19305 <bp-sym.h>.
19306 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19307 (memchr): Do not use BP_SYM in weak_alias.
19308 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19309 (fegetenv): Do not use BP_SYM in versioned symbols.
19310 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19311 (fesetenv): Do not use BP_SYM in versioned symbols.
19312 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19313 (feupdateenv): Do not use BP_SYM in versioned symbols.
19314 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19315 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19316 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19317 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19318 (open64): Do not use BP_SYM in weak_alias.
19319 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19320 (fegetenv): Do not use BP_SYM in versioned symbols.
19321 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19322 (fesetenv): Do not use BP_SYM in versioned symbols.
19323 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19324 (feupdateenv): Do not use BP_SYM in versioned symbols.
19325 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19326 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19327 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19328 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19329 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19330 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19332 <bp-sym.h>.
19333 (__libc_start_main): Do not use BP_SYM.
19334
d6752ccd
SP
193352013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19336
cb57ce60
SP
19337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19338 redundant return line.
19339 (norm): Likewise.
19340 (denorm): Likewise.
19341 (dbl_mp): Likewise.
19342 (sub_magnitudes): Likewise.
19343 (__add): Likewise.
19344 (__sub): Likewise.
19345 (__mul): Likewise.
19346 (__inv): Likewise.
19347 (__dvd): Likewise.
19348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19349 (norm): Likewise.
19350 (denorm): Likewise.
19351 (dbl_mp): Likewise.
19352 (sub_magnitudes): Likewise.
19353 (__add): Likewise.
19354 (__sub): Likewise.
19355 (__mul): Likewise.
19356 (__inv): Likewise.
19357 (__dvd): Likewise.
19358
f414520d
SP
19359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19360 instead of __mul.
19361 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19362 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19363 (cc32): Likewise.
19364
d6752ccd
SP
19365 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19366 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19368 of __mul for squares.
19369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19370 function
19371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19372 Likewise.
19373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19374 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19375
70d9946a
JM
193762013-02-13 Joseph Myers <joseph@codesourcery.com>
19377
19378 [BZ #13550]
19379 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19380 code.
19381 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19382 prototype or function definition. Rename ubp_* variables and
19383 parameters. Remove argv definitions conditional on
19384 [__BOUNDED_POINTERS__].
19385 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19386 * elf/dl-runtime.c (_dl_fixup): Likewise.
19387 * include/set-hooks.h (RUN_HOOK): Likewise.
19388 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19389 definition.
19390 * string/strcpy.c (strcpy): Do not use __unbounded.
19391 * sysdeps/generic/frame.h (struct layout): Likewise.
19392 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19393 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19394 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19395 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19396 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19397 (__backtrace): Likewise.
19398 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19399 use __ptrvalue.
19400 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19401 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19402 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19403 Likewise.
19404 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19405 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19406 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19407 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19408 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19409 Do not use __unbounded.
19410 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19411 Rename __unboundedrlimits parameter to rlimits in prototype.
19412 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19413 Do not use __unbounded.
19414 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19415 not use __ptrvalue.
19416 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19417 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19418 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19419 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19420 __ptrvalue or __unbounded.
19421 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19422 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19423 use __unbounded.
19424 (__new_msgctl): Do not use __ptrvalue.
19425 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19426 __unbounded.
19427 (__libc_msgrcv): Do not use __ptrvalue.
19428 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19429 startup_info): Do not use __unbounded.
19430 (__libc_start_main): Likewise. Rename ubp_* variables and
19431 parameters. Remove argv definitions conditional on
19432 [__BOUNDED_POINTERS__].
19433 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19434 __ptrvalue.
19435 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19436 use __unbounded.
19437 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19438 or __ptrvalue.
19439 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19440 use __unbounded.
19441 (__new_shmctl): Do not use __ptrvalue.
19442 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19443 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19444 Likewise.
19445 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19447 (__libc_sigaction): Likewise.
19448 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19449 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19450 Likewise.
19451 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19452
cc7834d6
OB
194532013-02-13 Ondřej Bílka <neleai@seznam.cz>
19454
ffb1ec7b 19455 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19456
19457 * string/mempcpy.c: Implement by calling memcpy.
19458
bdf02814
SP
194592013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19460
c2af38aa
SP
19461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19462
4e92d59e
SP
19463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19464 evaluation.
19465
909279a5
SP
19466 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19467 values in the mantissa.
19468
bdf02814
SP
19469 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19470 minimize writes to Z.
19471 (sub_magnitudes): Simplify code a bit.
19472
cd525923
RM
194732013-02-12 Roland McGrath <roland@hack.frob.com>
19474
19475 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19476 from the message. The linker prefixes all warnings with that already.
19477
7e2f0d2d
AS
194782013-02-12 Andreas Schwab <schwab@suse.de>
19479
a445af0b
AS
19480 [BZ #15078]
19481 * posix/regexec.c (extend_buffers): Add parameter min_len.
19482 (check_matching): Pass minimum needed length.
19483 (clean_state_log_if_needed): Likewise.
19484 (get_subexp): Likewise.
19485 * posix/Makefile (tests): Add bug-regex34.
19486 (bug-regex34-ENV): Define.
19487 * posix/bug-regex34.c: New file.
19488
7e2f0d2d
AS
19489 [BZ #11561]
19490 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19491 elements compare against the byte sequence of it, not its name.
19492 * posix/Makefile (tests): Add bug-regex35.
19493 (bug-regex35-ENV): Define.
19494 * posix/bug-regex35.c: New file.
19495
a175b684
TV
194962013-02-11 Tom de Vries <tom@codesourcery.com>
19497
19498 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19499 comment.
19500 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19501 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19502 (CHECK_EOL): Add undef.
19503
310998fe 195042013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19505
19506 * bits/stdlib-bsearch.h: New file.
19507 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19508 * stdlib/stdlib.h: Likewise.
41eda41d 19509
8ded91fb
RM
195102013-02-11 Roland McGrath <roland@hack.frob.com>
19511
19512 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19513 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19514 declaration.
19515 * manual/search.texi (Array Search Function): Add missing const in
19516 lfind prototype.
19517 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19518 declaration to use rlim_t.
19519 (Basic Scheduling Functions): Remove erroneous const from
19520 sched_getparam prototype. Remove erroneous * from
19521 sched_get_priority_max and sched_get_priority_min prototypes.
19522 (Resource Usage): Fix summary @comment on vtimes to refer to
19523 sys/vtimes.h rather than vtimes.h.
19524 Add missing *s in vtimes prototype.
19525 (Limits on Resources): Fix ulimit prototype to return long int.
19526 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19527 prototypes to use long int rather than double.
19528 (BSD Random): Fix initstate and setstate to use char *, not void *.
19529 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19530 prototype to make second argument 'struct aiocb64 *const[]'.
19531 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19532 (Status of AIO Operations): Remove erroneous const in aio_return and
19533 aio_return64 prototypes.
19534 (Synchronizing I/O): Fix sync prototype to return void.
19535 * manual/startup.texi (Suboptions): Remove an erroneous const in
19536 getsubopt prototype.
19537 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19538 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19539 use size_t rather than int.
19540 (Scanning All Users): Likewise for getpwent_r.
19541 (Setting Groups): Add missing const to setgroups prototype.
19542 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19543 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19544 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19545 'const void *' rather than 'const char *'.
19546 (Host Address Functions): Likewise for inet_ntop.
19547 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19548 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19549 ssize_t for return value.
19550 (Sending Data): Likewise for send, sendto, sendmsg.
19551 (Socket Option Functions): Add a missing const in setsockopt prototype.
19552 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19553 use wchar_t for the argument.
19554 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19555 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19556 take no arguments.
19557 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19558 double/float/long double for second argument.
19559 Fix return types of significand, significandf, significandl.
19560 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19561 argument in fchmod prototype.
19562 (File Owner): Use uid_t and gid_t in fchown prototype.
19563 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19564 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19565 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19566 use 'const struct dirent **' as argument types to CMP function pointer
19567 argument.
19568 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19569 (File Times): Fix summary magic @comment for struct utimbuf and utime
19570 to refer to utime.h, not time.h.
19571 * manual/string.texi (Argz Functions): Add missing const in
19572 argz_extract and argz_next prototypes.
19573 (Finding Tokens in a String): Likewise for basename.
19574 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19575 (Copying and Concatenation): Fix typo in wmemmove prototype.
19576 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19577 (Signal Stack): Remove erroneous const in sigstack prototype.
19578 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19579 prototype.
19580 (Simple Calendar Time): Likewise for stime.
19581 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19582 prototype.
19583 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19584 say sys/sysctl.h instead.
19585 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19586 and vsyslog prototypes.
19587
fe77fe6d
TV
195882013-02-11 Tom de Vries <tom@codesourcery.com>
19589
19590 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19591 Remove.
19592
3a09b620
RM
195932013-02-11 Roland McGrath <roland@hack.frob.com>
19594
19595 * misc/sys/mman.h: Fix typo in mremap comment.
19596
550a0b89
RM
195972013-02-08 Roland McGrath <roland@hack.frob.com>
19598
19599 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19600 the '\0' terminator.
19601
a2da1673
JM
196022013-02-08 Joseph Myers <joseph@codesourcery.com>
19603
19604 [BZ #13550]
19605 * debug/segfault.c: Don't include <bp-checks.h>.
19606 * sysdeps/generic/bp-checks.h: Remove file.
19607 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19608 (__GETDENTS): Don't use CHECK_N.
19609 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19610 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19611 (__getgroups): Don't use CHECK_N.
19612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19613 (setgroups): Don't use CHECK_N.
19614 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19615 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19616 (__libc_msgrcv): Don't use CHECK_N.
19617 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19618 (__libc_msgsnd): Don't use CHECK_N.
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19620 <bp-checks.h>.
19621 (__libc_pread): Don't use CHECK_N.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19623 include <bp-checks.h>.
19624 (__libc_pread64): Don't use CHECK_N.
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19626 include <bp-checks.h>.
19627 (__libc_pwrite): Don't use CHECK_N.
19628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19629 include <bp-checks.h>.
19630 (__libc_pwrite64): Don't use CHECK_N.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19632 <bp-checks.h>.
19633 (__libc_pread): Don't use CHECK_N.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19635 include <bp-checks.h>.
19636 (__libc_pread64): Don't use CHECK_N.
19637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19638 include <bp-checks.h>.
19639 (__libc_pwrite): Don't use CHECK_N.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19641 include <bp-checks.h>.
19642 (__libc_pwrite64): Don't use CHECK_N.
19643 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19644 (do_pread): Don't use CHECK_N.
19645 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19646 (do_pread64): Don't use CHECK_N.
19647 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19648 (do_pwrite): Don't use CHECK_N.
19649 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19650 (do_pwrite64): Don't use CHECK_N.
19651 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19652 (__libc_readv): Don't use CHECK_N.
19653 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19654 (semop): Don't use CHECK_N.
19655 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19656 <bp-checks.h>.
19657 (semtimedop): Don't use CHECK_N.
19658 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19659 (__libc_pread): Don't use CHECK_N.
19660 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19661 <bp-checks.h>.
19662 (__libc_pread64): Don't use CHECK_N.
19663 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19664 <bp-checks.h>.
19665 (__libc_pwrite): Don't use CHECK_N.
19666 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19667 <bp-checks.h>.
19668 (__libc_pwrite64): Don't use CHECK_N.
19669 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19670 <bp-checks.h>.
19671 (__libc_msgrcv): Don't use CHECK_N.
19672 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19673 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19674 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19675 (__libc_writev): Don't use CHECK_N.
19676
b84660a8
RM
196772013-02-08 Roland McGrath <roland@hack.frob.com>
19678
7f3e75f8
RM
19679 * string/strcpy.c: Removed unused variable.
19680
b84660a8
RM
19681 * Makeconfig (+sysdep-includes): Define with := rather than =.
19682 Use an existing include/ subdir of each sysdeps dir before it.
19683
471514d3
CD
196842013-02-08 Carlos O'Donell <carlos@redhat.com>
19685
19686 * nscd/connection.c (register_traced_file): Comment function.
19687 [HAVE_INOTIFY] (union __inev): Define.
19688 [HAVE_INOTIFY] (inotify_check_files): New function.
19689 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19690 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19691 clear_db_cache.
19692 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19693
b2d3c3be
CD
196942013-02-08 Carlos O'Donell <carlos@redhat.com>
19695
19696 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19697 loaded if not already and that a failure is permanent.
19698
b39949d2
CD
196992013-02-08 Carlos O'Donell <carlos@redhat.com>
19700
ddacd1db 19701 [BZ #15006]
b39949d2
CD
19702 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19703 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19704
b2c9eff4
JM
197052013-02-08 Joseph Myers <joseph@codesourcery.com>
19706
f3aae3f3
JM
19707 [BZ #13550]
19708 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19709 (CHECK_1_NULL_OK): Likewise.
19710 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19711 (__fxstat): Do not use CHECK_1.
19712 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19713 <bp-checks.h>.
19714 (___fxstat64): Do not use CHECK_1.
19715 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19716 <bp-checks.h>.
19717 (__fxstatat): Do not use CHECK_1.
19718 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19719 <bp-checks.h>.
19720 (__fxstatat64): Do not use CHECK_1.
19721 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19722 <bp-checks.h>.
19723 (__fxstat): Do not use CHECK_1.
19724 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19725 <bp-checks.h>.
19726 (__fxstatat): Do not use CHECK_1.
19727 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19728 <bp-checks.h>.
19729 (__getresgid): Do not use CHECK_1.
19730 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19731 <bp-checks.h>.
19732 (__getresuid): Do not use CHECK_1.
19733 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19734 <bp-checks.h>.
19735 (__lxstat): Do not use CHECK_1.
19736 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19737 <bp-checks.h>.
19738 (__old_msgctl): Do not use CHECK_1.
19739 (__new_msgctl): Likewise.
19740 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19741 <bp-checks.h>.
19742 (__new_setrlimit): Do not use CHECK_1.
19743 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19744 <bp-checks.h>.
19745 (__old_shmctl): Do not use CHECK_1.
19746 (__new_shmctl): Likewise.
19747 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19748 <bp-checks.h>.
19749 (__xstat): Do not use CHECK_1.
19750 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19751 (__lxstat): Do not use CHECK_1.
19752 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19753 <bp-checks.h>.
19754 (___lxstat64): Do not use CHECK_1.
19755 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19756 (__old_msgctl): Do not use CHECK_1.
19757 (__new_msgctl): Likewise.
19758 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19759 <bp-checks.h>.
19760 (__gettimeofday): Do not use CHECK_1.
19761 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19762 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19763 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19764 <bp-checks.h>.
19765 (__gettimeofday): Do not use CHECK_1.
19766 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19767 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19768 (__new_shmctl): Do not use CHECK_1.
19769 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19770 <bp-checks.h>.
19771 (do_sigtimedwait): Do not use CHECK_1.
19772 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19773 <bp-checks.h>.
19774 (do_sigwaitinfo): Do not use CHECK_1.
19775 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19776 <bp-checks.h>.
19777 (msgctl): Do not use CHECK_1.
19778 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19779 <bp-checks.h>.
19780 (shmctl): Do not use CHECK_1.
19781 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19782 (ustat): Do not use CHECK_1.
19783 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19784 <bp-checks.h>.
19785 (__fxstat): Do not use CHECK_1.
19786 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19787 <bp-checks.h>.
19788 (__fxstatat): Do not use CHECK_1.
19789 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19790 <bp-checks.h>.
19791 (__lxstat): Do not use CHECK_1.
19792 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19793 <bp-checks.h>.
19794 (__xstat): Do not use CHECK_1.
19795 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19796 (__xstat): Do not use CHECK_1.
19797 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19798 (___xstat64): Do not use CHECK_1.
19799
b2c9eff4
JM
19800 [BZ #13550]
19801 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19802 definitions.
19803 (CHECK_BOUNDS_HIGH): Likewise.
19804 * string/strcpy.c: Do not include <bp-checks.h>.
19805 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19806
f1d70dad
RM
198072013-02-07 Roland McGrath <roland@hack.frob.com>
19808
19809 * nscd/nscd-client.h (__nscd_drop_map_ref):
19810 Add __attribute__ ((unused)).
19811 * nis/nss-nisplus.h (niserr2nss): Likewise.
19812
19813 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19814 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19815
19816 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19817 Remove inline keyword.
19818 * include/rounding-mode.h (round_away): Likewise.
19819 * libio/wfileops.c (adjust_wide_data): Likewise.
19820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19821 (__m128i_strloadu_tolower): Likewise.
19822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19823 (__m128i_strloadu_tolower): Likewise.
19824 * time/mktime.c (ydhms_diff): Likewise.
19825 * locale/elem-hash.h (elem_hash): Likewise.
19826 * locale/setlocale.c (setdata): Likewise.
19827 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19828 (re_string_wchar_at): Likewise.
19829 (bitset_not, bitset_merge, bitset_mask): Likewise.
19830 [!(__GNUC__ > 3)] (inline): Remove macro.
19831 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19832 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19833 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19834 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19835 * string/memcmp.c (memcmp_bytes): Likewise.
19836 * locale/programs/locarchive.c (compute_hashval): Likewise.
19837 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19838 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19839 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19840 * nss/getent.c (print_rpc, print_protocols): Likewise.
19841 (print_passwd, print_group, print_aliases): Likewise.
19842 * nis/nss-nisplus.h (niserr2nss): Likewise.
19843 * nscd/connections.c (restart_p): Likewise.
19844 Change return type to bool.
19845
eab55bfb
RM
198462013-02-05 Roland McGrath <roland@hack.frob.com>
19847
7bd642f5
RM
19848 * Makeconfig (all-Depend-files): Add existing
19849 $(sorted-subdirs:=/Depend) files.
19850 (all-subdirs): Remove nss.
19851 * sysdeps/unix/inet/Subdirs: Add it here instead.
19852 * hesiod/Depend: New file.
19853
573c29b2
RM
19854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19855 instead of calling alloca.
19856
b2e25af0
RM
19857 * io/lseek.c (__lseek): Rename to __libc_lseek.
19858 Define __lseek as an alias.
19859
eab55bfb
RM
19860 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19861
9a0d1941
CD
198622013-02-04 Carlos O'Donell <carlos@redhat.com>
19863
19864 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19865 else clause and remove check for non-standard endianness.
19866
b83bbec4
DM
198672013-02-04 David S. Miller <davem@davemloft.net>
19868
19869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19870
6277fdab
JM
198712013-02-04 Joseph Myers <joseph@codesourcery.com>
19872
19873 [BZ #13550]
19874 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19875 (__ubp_memchr): Remove prototype.
19876 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19877 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19878 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19879 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19880 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19881 Remove alias.
19882 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19883 (__ubp_memchr): Likewise.
19884 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19885 (__ubp_memchr): Likewise.
19886 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19887 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19888 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19890 CHECK_STRING.
19891 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19892 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19893 (__getcwd): Do not use CHECK_STRING.
19894 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19895 <bp-checks.h>.
19896 (__real_chown): Do not use CHECK_STRING.
19897 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19898 <bp-checks.h>.
19899 (fchownat): Do not use CHECK_STRING.
19900 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19901 CHECK_STRING.
19902 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19903 <bp-checks.h>.
19904 (__lchown): Do not use CHECK_STRING.
19905 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19906 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19907 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19908 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19910 include <bp-checks.h>.
19911 (truncate64): Do not use CHECK_STRING.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19913 <bp-checks.h>.
19914 (__real_chown): Do not use CHECK_STRING.
19915 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19916 <bp-checks.h>.
19917 (__lchown): Do not use CHECK_STRING.
19918 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19919 <bp-checks.h>.
19920 (__chown): Do not use CHECK_STRING.
19921 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19922 <bp-checks.h>.
19923 (truncate64): Do not use CHECK_STRING.
19924 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19925 Likewise.
19926 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19927 (__xmknod): Do not use CHECK_STRING.
19928 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19929 <bp-checks.h>.
19930 (__xmknodat): Do not use CHECK_STRING.
19931 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19932 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19933
903ae060
AS
199342013-02-04 Andreas Schwab <schwab@suse.de>
19935
19936 [BZ #14142]
19937 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19938 * include/netdb.h: Likewise for h_errno.
19939 * elf/tst-stackguard1.c: Include <tls.h>.
19940
542f9466
JK
199412013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19942
19943 * elf/link.h (struct link_map): Extend the l_addr comment.
19944 * include/link.h (struct link_map): Likewise.
19945
e782a927
JM
199462013-02-01 Joseph Myers <joseph@codesourcery.com>
19947
19948 [BZ #13550]
19949 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19950 (BOUNDED_1): Remove macro.
19951 * debug/backtrace.c: Don't include <bp-checks.h>.
19952 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19953 (__backtrace): Likewise.
19954 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19955 <bp-checks.h>.
19956 (__backtrace): Don't use BOUNDED_1.
19957 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19958 <bp-checks.h>.
19959 (__backtrace): Don't use BOUNDED_1.
19960 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19961 (__backtrace): Don't use BOUNDED_1.
19962 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19963 (shmat): Don't use BOUNDED_N.
19964
8cf28c5e
JM
199652013-01-31 Joseph Myers <joseph@codesourcery.com>
19966
3a7ac8a0
JM
19967 [BZ #13550]
19968 * sysdeps/generic/bp-start.h: Remove file.
19969 * csu/libc-start.c: Don't include <bp-start.h>.
19970 (LIBC_START_MAIN): Set up __environ directly instead of using
19971 INIT_ARGV_and_ENVIRON.
19972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19973 <bp-start.h>.
19974
f3499f95
JM
19975 [BZ #13550]
19976 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19977 definitions.
19978 (CHECK_FCNTL): Likewise.
19979 (CHECK_N_PAGES): Likewise.
19980
32a45bea
JM
19981 [BZ #13550]
19982 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19983 definitions.
19984 (CHECK_SIGSET_NULL_OK): Likewise.
19985 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19986 <bp-checks.h>.
19987 (sigpending): Don't use CHECK_SIGSET.
19988 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19989 <bp-checks.h>.
19990 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19991 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19992 <bp-checks.h>.
19993 (do_sigsuspend): Don't use CHECK_SIGSET.
19994 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19995 use CHECK_SIGSET.
19996 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19997 (do_sigwait): Don't use CHECK_SIGSET.
19998 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19999 use CHECK_SIGSET.
20000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20001 include <bp-checks.h>.
20002 (sigpending): Don't use CHECK_SIGSET.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20004 include <bp-checks.h>.
20005 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20006 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20007 <bp-checks.h>.
20008 (sigpending): Don't use CHECK_SIGSET.
20009 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20010 <bp-checks.h>.
20011 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20012
2e8a5c8c
JM
20013 [BZ #13550]
20014 * sysdeps/generic/bp-semctl.h: Remove file.
20015 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20016 <bp-checks.h> and <bp-semctl.h>.
20017 (__old_semctl): Don't use CHECK_SEMCTL.
20018 (__new_semctl): Likewise.
20019 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20020 and <bp-semctl.h>.
20021 (__old_semctl): Don't use CHECK_SEMCTL.
20022 (__new_semctl): Likewise.
20023 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20024 <bp-checks.h> and <bp-semctl.h>.
20025 (__old_semctl): Don't use CHECK_SEMCTL.
20026 (__new_semctl): Likewise.
20027 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20028 <bp-checks.h> and <bp-semctl.h>.
20029 (semctl): Don't use CHECK_SEMCTL.
20030
c2d54929
JM
20031 [BZ #13550]
20032 * Makerules (elide-bp-thunks): Remove variable.
20033 (elide-routines.oS): Don't use $(elide-bp-thunks).
20034 (elide-routines.os): Likewise.
20035 (elide-routines.o): Likewise.
20036 (elide-routines.op): Likewise.
20037 (elide-routines.og): Likewise.
20038 (objects): Don't use $(bp-thunks).
20039 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20040 include.
20041 (common-generated): Do not add s-proto-bp.d.
20042 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20043 (int): Likewise.
20044 (typ): Likewise.
20045 Do not generate makefile rules for bounded-pointer thunks.
20046 * sysdeps/generic/bp-thunks.h: Remove file.
20047 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20048 * sysdeps/unix/s-proto-bp.S: Likewise.
20049
8cf28c5e
JM
20050 [BZ #15062]
20051 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20052 parts of result separately when argument is not close to line from
20053 -i to i and one part of argument is small.
20054 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20055 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20056 * math/libm-test.inc (cacos_test): Add more tests.
20057 (casin_test): Likewise.
20058 (casinh_test): Likewise.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20061
c4e33b8d
DM
200622013-01-31 David S. Miller <davem@davemloft.net>
20063
20064 * po/de.po: Update from translation team.
20065
3b60b421
MK
200662013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20067
20068 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20069
bb931195
TS
200702013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20071
b5a5da23
TS
20072 * configure.in (_AC_PROG_CC_C89): New definition.
20073 * configure: Regenerate.
20074
bb931195
TS
20075 * configure.in (AC_PROG_CPP): New definition.
20076 * configure: Regenerate.
20077
8c53a12c
JM
200782013-01-23 Joseph Myers <joseph@codesourcery.com>
20079
20080 * debug/tst-backtrace.h: New file.
20081 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20082 (ret): Remove variable.
20083 (x): Likewise.
20084 (FAIL): Remove macro.
20085 (NO_INLINE): Likewise.
20086 (fn1): Use match function instead of strstr.
20087 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20088 (ret): Remove variable.
20089 (x): Likewise.
20090 (FAIL): Remove macro.
20091 (NO_INLINE): Likewise.
20092 (fn): Use match function instead of strstr.
20093 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20094 (ret): Remove variable.
20095 (x): Likewise.
20096 (FAIL): Remove macro.
20097 (NO_INLINE): Likewise.
20098 (handle_signal): Use match function instead of strstr.
20099 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20100 (ret): Remove variable.
20101 (x): Likewise.
20102 (FAIL): Remove macro.
20103 (NO_INLINE): Likewise.
20104 (handle_signal): Use match function instead of strstr.
20105
4858fa2a
RM
201062013-01-23 Roland McGrath <roland@hack.frob.com>
20107
20108 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20109
bae8e7f5
DM
201102013-01-23 David S. Miller <davem@davemloft.net>
20111
20112 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20113 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20114 argument of CAS if possible.
20115 * sysdeps/sparc/sparc64/bits/atomic.h
20116 (__arch_compare_and_exchange_val_32_acq): Likewise.
20117 (__arch_compare_and_exchange_val_64_acq): Likewise.
20118
9cbbc4ae
PT
201192013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20120
20121 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20122 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20123 Include <limits.h>.
67b3f58c 20124 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20125
5655a0b5
AC
201262013-01-23 Adam Conrad <adconrad@0c3.net>
20127
20128 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20129 (LDFLAGS-tst-array5): Likewise.
20130
052aff95
JM
201312013-01-23 Joseph Myers <joseph@codesourcery.com>
20132
20133 [BZ #15036]
20134 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20135 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20136 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20137 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20138
7c1e01aa
DM
201392013-01-21 David S. Miller <davem@davemloft.net>
20140
20141 * sysdeps/sparc/backtrace.c: New file.
20142 * sysdeps/sparc/sparc32/backtrace.h: New file.
20143 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20144 * sysdeps/sparc/sparc64/backtrace.h: New file.
20145 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20146 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20147 -funwind-tables.
20148
ab087e0a
AS
201492013-01-21 Andreas Schwab <schwab@suse.de>
20150
20151 [BZ #15020]
20152 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20153 closed its stdout.
20154
ed689c2f
AS
201552013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20156
20157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20158 "mpa2.h".
20159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20160
31d470ac
JM
201612013-01-18 Joseph Myers <joseph@codesourcery.com>
20162 Mark Mitchell <mark@codesourcery.com>
20163 Tom de Vries <tom@codesourcery.com>
20164 Paul Pluzhnikov <ppluzhnikov@google.com>
20165
20166 * debug/tst-backtrace2.c: New file.
20167 * debug/tst-backtrace3.c: Likewise.
20168 * debug/tst-backtrace4.c: Likewise.
20169 * debug/tst-backtrace5.c: Likewise.
20170 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20171 (CFLAGS-tst-backtrace3.c): Likewise.
20172 (CFLAGS-tst-backtrace4.c): Likewise.
20173 (CFLAGS-tst-backtrace5.c): Likewise.
20174 (LDFLAGS-tst-backtrace2): Likewise.
20175 (LDFLAGS-tst-backtrace3): Likewise.
20176 (LDFLAGS-tst-backtrace4): Likewise.
20177 (LDFLAGS-tst-backtrace5): Likewise.
20178 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20179 tst-backtrace4 and tst-backtrace5.
20180
90567f30 201812013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20182 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20183
20184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20185 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20186 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20187 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20189 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20190 "+r" and remove output regs list as redundant. Add explicit inline
20191 asm to specify register of return val to work around compiler codegen
20192 bug. Remove (int) cast on return value. Add return type parameter to
20193 use in macro so that this macro does not truncate return value for
20194 64-bit values.
20195 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20196 pass to INTERNAL_VSYSCALL_NCS.
20197 (INLINE_VSYSCALL): Add 'long int' as return type to
20198 INTERNAL_VSYSCALL_NCS macro invocation.
20199 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20200 INTERNAL_VSYSCALL_NCS macro invocation.
20201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20202
d3b9ea61
SP
202032013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20204
0b57daeb
SP
20205 [BZ #14496]
20206 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20207 Fix application of SIMD FP exception mask.
20208
caa99d06
SP
20209 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20210 mp_no from a power of two.
20211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20212 __mpexp_twomm1. Use __pow_mp.
20213
d3b9ea61
SP
20214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20215 multiplication.
20216
1dbaee3c
DM
202172013-01-17 David S. Miller <davem@davemloft.net>
20218
20219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20220
728d7b43
JM
202212013-01-17 Joseph Myers <joseph@codesourcery.com>
20222
20223 [BZ #15023]
20224 * include/complex.h: Condition contents on [!_COMPLEX_H].
20225 (__kernel_casinhf): New prototype.
20226 (__kernel_casinh): Likewise.
20227 (__kernel_casinhl): Likewise.
20228 * math/Makefile (libm_calls): Add k_casinh.
20229 * math/k_casinh.c: New file.
20230 * math/k_casinhf.c: Likewise.
20231 * math/k_casinhl.c: Likewise.
20232 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20233 finite nonzero arguments.
20234 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20235 finite nonzero arguments.
20236 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20237 finite nonzero arguments.
20238 * math/s_casinh.c: Do not include <float.h>.
20239 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20240 * math/s_casinhf.c: Do not include <float.h>.
20241 (__casinhf): Move code for finite nonzero arguments to
20242 k_casinhf.c.
20243 * math/s_casinhl.c: Do not include <float.h>.
20244 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20245 redefine.
20246 (__casinhl): Move code for finite nonzero arguments to
20247 k_casinhl.c.
20248 * math/libm-test.inc (cacos_test): Add more tests.
20249 * sysdeps/i386/fpu/libm-test-ulps: Update.
20250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251
2a26ef3a
PT
202522013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20253
20254 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20255 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20256 [!HAVE_MREMAP]: Remove [defined linux] case.
20257 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20258
a897655d
SP
202592013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20260
20261 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20262
881ebe89 202632013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20264
20265 * elf/elf.h (R_386_SIZE32): New relocation.
20266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20267 R_386_SIZE32.
20268 (elf_machine_rela): Likewise.
20269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20270 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20271
59981e9b
JM
202722013-01-17 Joseph Myers <joseph@codesourcery.com>
20273
20274 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20275 (FP_FAST_FMA): Do not define.
20276 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20277 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20278 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20279 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20280 !_SOFT_FLOAT]: Likewise.
20281 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20282 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20283 value.
20284 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20285 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20286 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20287 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20288 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20289 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20290 file.
20291
cfa8054f
AS
202922013-01-16 Andreas Schwab <schwab@suse.de>
20293
20294 [BZ #14327]
20295 * include/stdlib.h (__mktemp): Add declaration.
20296 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20297 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20298
dd930cc5
SP
202992013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20300
881ebe89
SP
20301 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20302 definitions.
20303 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20304 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20305 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20306 definitions here.
20307 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20308 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20309 definitions.
20310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20311 and ONE.
20312 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20313 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20314 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20315 definitions.
20316 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20317 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20318 definitions.
20319 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20320
dd930cc5
SP
20321 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20322
c19a9f89
DM
203232013-01-15 David S. Miller <davem@davemloft.net>
20324
1aa61767
DM
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20326 trunc{,f} to libm-sysdep_routes.
20327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20329 file.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20332 file.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20334 file.
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20337 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20338 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20341 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20342 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20343
c42d5e98
DM
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20345 nearbyint{,f} to libm-sysdep_routes.
20346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20348 New file.
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20350 file.
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20352 New file.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20354 file.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20358 file.
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20361 file.
20362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20363 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20364 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20365
c19a9f89
DM
20366 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20367 libc_feholdexcept and libc_fesetenv.
20368
357679d2
MF
203692013-01-15 Mike Frysinger <vapier@gentoo.org>
20370
20371 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20372
65a82e3d
DM
203732013-01-14 David S. Miller <davem@davemloft.net>
20374
8b954ab9
DM
20375 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20376 (SPARC_ASM_VIS2_IFUNC): Likewise.
20377 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20379 use of 'siam' instruction.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20381 Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20383 Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20385 Likewise.
20386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20391 file.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20393 file.
20394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20395 file.
20396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20397 file.
20398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20403 new VIS2 routines.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20407 Likewise.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20413 routines to libm-sysdep_routines.
20414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20415
65a82e3d
DM
20416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20417 fdim/fdimf to libm-sysdep_routines.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20419 file.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20422 file.
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20426 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20427 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20428 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20429 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20430
e34ab705
SP
204312013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20432
2a91b573
SP
20433 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20434 to optimize copies.
20435
1066a534
SP
20436 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20439
e34ab705
SP
20440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20441 local variable MPTWO.
20442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20443 Likewise.
20444
aba5e596
MF
204452013-01-13 Mike Frysinger <vapier@gentoo.org>
20446
20447 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20448 GLOB_NOESCAPE.
20449
e557e9e5
MF
204502013-01-13 Mike Frysinger <vapier@gentoo.org>
20451
20452 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20453
0428cec9
MF
204542013-01-13 Mike Frysinger <vapier@gentoo.org>
20455
20456 * manual/pattern.texi (glob_t): Document gl_flags.
20457 (glob64_t): Likewise.
20458
8794a964
DM
204592013-01-11 David S. Miller <davem@davemloft.net>
20460
66438c3f
RM
20461 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20462 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20463 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20464 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20465 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20466 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20467 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20468 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20469 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20470 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20471 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20472 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20473 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20474
4ae4244d
DM
20475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20476 sparc V9 rather than using V8 code.
20477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20479
8794a964
DM
20480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20481 Move to...
20482 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20483 Here.
20484
6270516e
RM
204852013-01-11 Roland McGrath <roland@hack.frob.com>
20486
20487 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20488 not in the main loop.
20489 * configure: Regenerated.
20490
6a57d931
JM
204912013-01-11 Joseph Myers <joseph@codesourcery.com>
20492
20493 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20494 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20495 to just #else.
20496 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20497 [!__GLIBC_HAVE_LONG_LONG] case.
20498 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20499 condition to just #else.
20500 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20501 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20502 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20503 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20504 unconditional.
20505 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20506 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20507 #elif condition to just #else.
20508 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20509 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20510 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20511 #elif condition to just #else.
20512
0e8529e9
SE
205132013-01-11 Steve Ellcey <sellcey@mips.com>
20514
20515 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20516 (EF_MIPS_ARCH_64): Fix value.
20517 (EF_MIPS_ARCH_32R2): New.
20518 (EF_MIPS_ARCH_64R2): New.
20519
740b3dbe
L
205202013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 * Makeconfig (+link-pie-before-libc): New.
20523 (+link-pie-after-libc): Likewise.
20524 (+link-pie-tests): Likewise.
20525 (+link-pie): Rewritten.
20526 (link-before-libc): Remove $(config-LDFLAGS).
20527 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20528 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20529 (config-LDFLAGS): Renamed to ...
20530 (rtld-LDFLAGS): This.
20531 (rtld-tests-LDFLAGS): New macro.
20532 (link-libc-rpath-link): Likewise.
20533 (link-libc-tests-rpath-link): Likewise.
20534 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20535 (link-libc): Prepand $(link-libc-rpath-link).
20536 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20537 (test-program-prefix): New macro.
20538 (test-via-rtld-prefix): Likewise.
20539 (test-program-cmd): Likewise.
20540 (host-test-program-cmd): Likewise.
20541 * Makefile ($(common-objpfx)testrun.sh): Replace
20542 $(run-program-prefix) with $(test-program-prefix).
20543 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20544 $(rtld-LDFLAGS).
20545 ($(common-objpfx)shlib.lds): Likewise.
20546 (build-module-helper): Likewise.
20547 ($(common-objpfx)format.lds): Likewise.
20548 * Rules (binaries-pie-tests): New.
20549 (binaries-pie-notests): Likewise.
20550 (binaries-pie): Rewritten.
20551 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20552 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20553 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20554 (make-test-out): Replace $(host-built-program-cmd) with
20555 $(host-test-program-cmd).
20556 * config.make.in (build-hardcoded-path-in-tests): New variable.
20557 * configure.in (--enable-hardcoded-path-in-tests): New configure
20558 option.
20559 (hardcoded_path_in_tests): New AC_SUBST.
20560 * configure: Regenerated.
20561 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20562 $(built-program-cmd) with $(test-program-cmd).
20563 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20564 (test_program_cmd): This.
20565 * elf/Makefile ($(objpfx)order.out): Run test with
20566 $(test-program-prefix).
20567 ($(objpfx)order2.out): Likewise.
20568 ($(objpfx)tst-initorder.out): Likewise.
20569 ($(objpfx)tst-initorder2.out): Likewise.
20570 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20571 $(test-program-cmd).
20572 ($(objpfx)tst-array1-static.out): Likewise.
20573 ($(objpfx)tst-array2.out): Likewise.
20574 ($(objpfx)tst-array3.out): Likewise.
20575 ($(objpfx)tst-array4.out): Likewise.
20576 ($(objpfx)tst-array5.out): Likewise.
20577 ($(objpfx)tst-array5-static.out): Likewise.
20578 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20579 $(test-program-cmd).
20580 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20581 $(run-program-prefix) with $(test-program-prefix).
20582 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20583 (test_program_prefix): This.
20584 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20585 $(run-program-prefix) with $(test-program-prefix).
20586 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20587 (test_program_prefix): This.
20588 * iconvdata/tst-tables.sh: Likewise.
20589 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20590 $(run-program-prefix) with $(test-program-prefix).
20591 ($(objpfx)tst-translit.out): Likewise.
20592 ($(objpfx)tst-gettext2.out): Likewise.
20593 ($(objpfx)tst-gettext4.out): Likewise.
20594 ($(objpfx)tst-gettext6.out): Likewise.
20595 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20596 (test_program_prefix): This.
20597 * intl/tst-gettext2.sh: Likewise.
20598 * intl/tst-gettext4.sh Likewise.
20599 * intl/tst-gettext6.sh: Likewise.
20600 * intl/tst-translit.sh: Likewise.
20601 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20602 with $(test-program-cmd).
20603 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20604 $(run-program-prefix) with $(test-program-prefix).
20605 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20606 (test_program_prefix): This.
20607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20608 $(run-program-prefix) with $(test-program-prefix).
20609 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20610 (test_program_prefix): This.
20611 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20612 * posix/Makefile ($(objpfx)globtest.out): Replace
20613 $(run-via-rtld-prefix) and $(test-wrapper) with
20614 $(test-program-prefix) and $(test-via-rtld-prefix).
20615 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20616 $(test-program-prefix).
20617 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20618 $(host-test-program-cmd).
20619 (tst-spawn-ARGS): Likewise.
20620 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20621 $(test-program-prefix).
20622 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20623 (test_via_rtld_prefix): This.
20624 (test_wrapper): Renamed to ...
20625 (test_program_prefix): This.
20626 (run_program_prefix): Replaced by test_program_prefix.
20627 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20628 (test_program_prefix): This.
20629 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20630 with $(host-test-program-cmd).
20631 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20632 $(run-program-prefix) with $(test-program-prefix).
20633 ($(objpfx)tst-printf.out): Likewise.
20634 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20635 $(test-program-cmd).
20636 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20637 (test_program_prefix): This.
20638 * stdio-common/tst-unbputc.sh: Likewise.
20639 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20640 $(run-program-prefix) with $(test-program-prefix).
20641 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20642 (test_program_prefix): This.
20643 * string/Makefile ($(objpfx)tst-svc.out): Replace
20644 $(built-program-cmd) with $(test-program-cmd).
20645
c6fe55cf
AJ
206462013-01-11 Andreas Jaeger <aj@suse.de>
20647
20648 [BZ #15003]
20649 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20650 value. Sync with Linux 3.7.
20651
9e6919c8
DM
206522013-01-10 David S. Miller <davem@davemloft.net>
20653
20654 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20657
1c9f1a02
RM
206582013-01-10 Roland McGrath <roland@hack.frob.com>
20659
20660 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20661 never set.
20662 * configure: Regenerated.
20663
b9de2dde
DM
206642013-01-10 David S. Miller <davem@davemloft.net>
20665
20666 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20667 sparc V9 rather than using V8 code.
20668 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20669 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20670
e7f68ef4
RM
206712013-01-10 Roland McGrath <roland@hack.frob.com>
20672
20673 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20674 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20675 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20676 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20677 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20678 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20679 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20680 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20681 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20682 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20683 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20684 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20685 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20686 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20687 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20688 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20689 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20690 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20691 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20692 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20693 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20694 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20695 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20696 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20697 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20698 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20699 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20700
5a47cc9c
DM
207012013-01-10 David S. Miller <davem@davemloft.net>
20702
20703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20704
4cf8f209
L
207052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20706
20707 * posix/Makefile (tests-static): New variable.
20708 (tests): Add $(tests-static).
20709 (tst-exec-static-ARGS): New variable.
20710 (tst-spawn-static-ARGS): Likewise.
20711 * posix/tst-exec-static.c: New file.
20712 * posix/tst-spawn-static.c: Likewise.
20713 * posix/tst-exec.c: Support run directly.
20714 * posix/tst-spawn.c: Likewise.
20715
fed0faa1
JM
207162013-01-10 Joseph Myers <joseph@codesourcery.com>
20717
828beb13
JM
20718 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20719 long.
20720 * math/bits/mathcalls.h (llrint): Likewise.
20721 (llround): Likewise.
20722 * stdlib/stdlib.h (struct drand48_data): Likewise.
20723 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20724 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20725 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20726 Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20728 Likewise.
20729 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20730 (elf_greg_t): Likewise.
20731 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20732 (__jmp_buf): Likewise.
20733 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20734 definitions.
20735 (llrint): Likewise, for all definitions.
20736 (llrintl): Likewise.
20737
fed0faa1
JM
20738 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20739 Remove [__GNUC__] condition.
20740 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20741 condition to just [__USE_ISOC99].
20742 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20743
1a20cb20
L
207442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 [BZ #14200]
20747 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20748 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20749 defined.
20750 (_POSIX_V6_ILP32_OFF32): Likewise.
20751 (_XBS5_ILP32_OFF32): Likewise.
20752 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20753 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20754
751b85f7
SP
207552013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20756
7490eb81
SP
20757 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20758
751b85f7
SP
20759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20760 doubles __mpexp_twomm1. Adjust usage.
20761 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20762 Remove.
20763
988197f0
AS
207642013-01-10 Andreas Schwab <schwab@suse.de>
20765
20766 [BZ #14964]
20767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20768 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20769
e83d7298
DM
207702013-01-09 David S. Miller <davem@davemloft.net>
20771
034ed64b 20772 [BZ #15003]
57f41c40
AS
20773 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20774 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20775 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20776 (TCP_FASTOPEN): Define.
e83d7298
DM
20777 (tcp_repair_opt): New structure.
20778 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20779 enum values.
57f41c40
AS
20780 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20781 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20782 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20783 (tcp_cookie_transactions): New structure.
20784
d5e0b9bd
AB
207852013-01-09 Anton Blanchard <anton@samba.org>
20786
20787 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20788 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20790 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20791
0c07e3ea
JM
207922013-01-09 Joseph Myers <joseph@codesourcery.com>
20793
20794 * include/features.h (__USE_ANSI): Remove.
20795
232f7002
RM
207962013-01-09 Roland McGrath <roland@hack.frob.com>
20797
ad98e30c
RM
20798 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20799
232f7002
RM
20800 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20801
950c99ca
SP
208022013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20803
b5792741
SP
20804 * sysdeps/s390/fpu/libm-test-ulps: Update.
20805
47cf2278
SP
20806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20807
950c99ca
SP
20808 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20809 (__acr): Likewise.
20810 (__cpy): Likewise.
20811 (norm): Likewise.
20812 (denorm): Likewise.
20813 (__mp_dbl): Likewise.
20814 (__dbl_mp): Likewise.
20815 (add_magnitudes): Likewise.
20816 (sub_magnitudes): Likewise.
20817 (__add): Likewise.
20818 (__sub): Likewise.
20819 (__mul): Likewise.
20820 (__inv): Likewise.
20821 (__dvd): Likewise.
20822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20823 (__acr): Likewise.
20824 (__cpy): Likewise.
20825 (norm): Likewise.
20826 (denorm): Likewise.
20827 (__mp_dbl): Likewise.
20828 (__dbl_mp): Likewise.
20829 (add_magnitudes): Likewise.
20830 (sub_magnitudes): Likewise.
20831 (__add): Likewise.
20832 (__sub): Likewise.
20833 (__mul): Likewise.
20834 (__inv): Likewise.
20835 (__dvd): Likewise.
20836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20837 (__acr): Likewise.
20838 (__cpy): Likewise.
20839 (norm): Likewise.
20840 (denorm): Likewise.
20841 (__mp_dbl): Likewise.
20842 (__dbl_mp): Likewise.
20843 (add_magnitudes): Likewise.
20844 (sub_magnitudes): Likewise.
20845 (__add): Likewise.
20846 (__sub): Likewise.
20847 (__mul): Likewise.
20848 (__inv): Likewise.
20849 (__dvd): Likewise.
20850
eede9df9
JM
208512013-01-08 Joseph Myers <joseph@codesourcery.com>
20852
20853 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20854 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20855 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20856 2 && __USE_EXTERN_INLINES]: Likewise.
20857
c40ea3d9
AJ
208582013-01-08 Andreas Jaeger <aj@suse.de>
20859
20860 [BZ# 14985]
20861 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20862 Remove.
20863 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20864 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20865
2ccdea26
AB
208662013-01-07 Anton Blanchard <anton@samba.org>
20867
20868 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20869 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20870 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20871 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20872 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20873 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20874 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20875 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20880 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20883 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20884 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20886 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20888 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20889 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20891 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20892 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20893 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20895 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20896 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20897 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20898 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20901 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20902 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20903 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20904 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20907 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20908 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20910 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20911
a9708fed
JM
209122013-01-07 Joseph Myers <joseph@codesourcery.com>
20913
375607b9
JM
20914 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20915 (__MALLOC_PMT): Likewise.
20916 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20917 [__GNUC__], only on [_LIBC].
20918 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20919 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20920 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20921 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20922 forward declaration.
20923 (realloc_hook_ini): Likewise.
20924 (memalign_hook_ini): Likewise.
20925 (__libc_memalign): Do not use __MALLOC_PMT in variable
20926 declaration.
20927 (__libc_valloc): Likewise.
20928 (__libc_pvalloc): Likewise.
20929 (__libc_calloc): Likewise.
20930 (__posix_memalign): Likewise.
20931
a9708fed
JM
20932 [BZ #14996]
20933 * math/s_casinh.c: Include <float.h>.
20934 (__casinh): Do not do computation with squaring and square root
20935 for large arguments.
20936 * math/s_casinhf.c: Include <float.h>.
20937 (__casinhf): Do not do computation with squaring and square root
20938 for large arguments.
20939 * math/s_casinhl.c: Include <float.h>.
20940 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20941 (__casinhl): Do not do computation with squaring and square root
20942 for large arguments.
20943 * math/libm-test.inc (casin_test): Add more tests.
20944 (casinh_test): Likewise.
20945 * sysdeps/i386/fpu/libm-test-ulps: Update.
20946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20947
afec409a
L
209482013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20949
20950 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20951 (__x86_64_raw_data_cache_size): Likewise.
20952 (__x86_64_data_cache_size_half): Likewise.
20953 (__x86_64_raw_data_cache_size_half): Likewise.
20954 (__x86_64_shared_cache_size): Likewise.
20955 (__x86_64_raw_shared_cache_size): Likewise.
20956 (__x86_64_shared_cache_size_half): Likewise.
20957 (__x86_64_raw_shared_cache_size_half): Likewise.
20958 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20959 to ...
20960 (__x86_data_cache_size): This.
20961 (__x86_64_raw_data_cache_size): Renamed to ...
20962 (__x86_raw_data_cache_size): This.
20963 (__x86_64_data_cache_size_half): Renamed to ...
20964 (__x86_data_cache_size_half): This.
20965 (__x86_64_raw_data_cache_size_half): Renamed to ...
20966 (__x86_raw_data_cache_size_half): This.
20967 (__x86_64_shared_cache_size): Renamed to ...
20968 (__x86_shared_cache_size): This.
20969 (__x86_64_raw_shared_cache_size): Renamed to ...
20970 (__x86_raw_shared_cache_size): This.
20971 (__x86_64_shared_cache_size_half): Renamed to ...
20972 (__x86_shared_cache_size_half): This.
20973 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20974 (__x86_raw_shared_cache_size_half): This.
20975 * sysdeps/x86_64/memcpy.S: Updated.
20976 * sysdeps/x86_64/memset.S: Likewise.
20977 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20978 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20980
0b3986d0
DM
209812013-01-04 David S. Miller <davem@davemloft.net>
20982
20983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20984
e47686e9
AS
209852013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20986
d643bac1
AS
20987 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20988 1 to avoid redefinition warning.
20989 (__USE_GNU): Don't define.
20990 (init_signaling_nan): Protoize.
20991
e47686e9
AS
20992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20993
b18decba
SP
209942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20995
fffb407f
SP
20996 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20998 (__cpymn): Likewise.
20999 (norm): Remove commented code.
21000 (denorm): Likewise.
21001 (__mp_dbl): Likewise.
21002 (__inv): Likewise.
21003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21004 (__cpymn): Likewise.
21005 (norm): Remove commented code.
21006 (denorm): Likewise.
21007 (__mp_dbl): Likewise.
21008 (__inv): Likewise.
21009
b18decba
SP
21010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21011 mp_no value for 1.0 and 2.0.
21012 (norm): Use RADIXI instead of radixi.d.
21013 (denorm): Likewise.
21014 (__mul): Use 0.0 instead of zero.d.
21015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21016 mp_no value for 1.0 and 2.0.
21017 (norm): Use RADIXI instead of radixi.d.
21018 (denorm): Likewise.
21019 (__mul): Use 0.0 instead of zero.d.
21020
cdc1c96f
JM
210212013-01-04 Joseph Myers <joseph@codesourcery.com>
21022
21023 [BZ #14994]
21024 * math/s_casinh.c (__casinh): Reduce finite argument to first
21025 quadrant then set signs of results at the end.
21026 * math/s_casinhf.c (__casinhf): Likewise.
21027 * math/s_casinhl.c (__casinhl): Likewise.
21028 * math/libm-test.inc (casin_test): Add more tests.
21029 (casinh_test): Likewise.
21030 * sysdeps/i386/fpu/libm-test-ulps: Update.
21031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21032
302913e1
SP
210332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21034
6420d207
SP
21035 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21036
a9e48ab4
SP
21037 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21038
b7837264
SP
21039 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21040 declarations.
21041 (denorm): Likewise.
21042 (__mp_dbl): Likewise.
21043 (__inv): Likewise.
21044
f8af25d2
SP
21045 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21046 and adjust the header comment.
21047
302913e1
SP
21048 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21049 variable name from declaration.
21050
5d7dd1ca
L
210512013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21054 Initialize COMMON_CPUID_INDEX_7 element.
21055 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21056 (CPUID_RTM): Likewise.
21057 (HAS_RTM): Likewise.
21058 (COMMON_CPUID_INDEX_7): New enum.
21059
2f5f40f4
AS
210602013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21061
21062 [BZ #14981]
21063 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21064 size is zero, record memory as freed.
21065
4056f4a0
AJ
210662013-01-03 Andreas Jaeger <aj@suse.de>
21067
21068 * po/ia.po: Add new Interlingua translation.
21069
ab15736f 210702012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21071
21072 * locale/programs/localedef.c: Fix description of '--posix' flag.
21073
568035b7
JM
210742013-01-02 Joseph Myers <joseph@codesourcery.com>
21075
e6898b8d
JM
21076 * NEWS: Update dates in second copyright notice.
21077 * README: Update copyright dates in example.
21078 * manual/libc.texinfo: Update copyright dates.
21079 * scripts/test-installation.pl: Update copyright date in --version
21080 output.
21081
0e2f9562
JM
21082 * hurd/ctty-input.c: Fix copyright notice formatting.
21083 * hurd/ctty-output.c: Likewise.
21084 * hurd/dtable.c: Likewise.
21085 * hurd/hurd-raise.c: Likewise.
21086 * hurd/hurdprio.c: Likewise.
21087 * hurd/msgportdemux.c: Likewise.
21088 * misc/sys/file.h: Likewise.
21089 * misc/sys/ioctl.h: Likewise.
21090 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21091 * sysdeps/mach/hurd/chdir.c: Likewise.
21092 * sysdeps/mach/hurd/fchdir.c: Likewise.
21093 * sysdeps/mach/hurd/rename.c: Likewise.
21094 * sysdeps/mach/hurd/rmdir.c: Likewise.
21095 * sysdeps/mach/hurd/seekdir.c: Likewise.
21096 * sysdeps/mach/hurd/setsid.c: Likewise.
21097 * sysdeps/posix/wait3.c: Likewise.
21098
568035b7
JM
21099 * All files with FSF copyright notices: Update copyright dates
21100 using scripts/update-copyrights.
21101 * intl/plural.c: Regenerated.
21102 * locale/programs/charmap-kw.h: Likewise.
21103 * locale/programs/locfile-kw.h: Likewise.
21104
da08f647
SP
211052013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
0f5477af
SP
21107 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21108 four values.
21109
44e0d4c2
SP
21110 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21111 calculation loop and add branch prediction.
21112
4d55b4e5
SP
21113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21114 check access beyond bounds of m1np.
21115
da08f647
SP
21116 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21117 MPTWO.
21118 (__inv): Remove local variable MPTWO to use the global
21119 constant.
21120 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21122 variable MPTWO.
21123 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21124 MP3HALFS static const.
21125
8e051029
DM
211262013-01-01 David S. Miller <davem@davemloft.net>
21127
21128 * po/ca.po: Update from translation team.
21129
f4cf5f2d
JM
211302013-01-01 Joseph Myers <joseph@codesourcery.com>
21131
21132 * scripts/update-copyrights: New file.
21133 * Makeconfig: Reformat copyright notice.
21134 * ctype/ctype.h: Likewise.
21135 * debug/swprintf_chk.c: Likewise.
21136 * elf/dl-cache.c: Likewise.
21137 * elf/dl-debug.c: Likewise.
21138 * elf/dl-object.c: Likewise.
21139 * grp/initgroups.c: Likewise.
21140 * hurd/Makefile: Likewise.
21141 * hurd/hurd/signal.h: Likewise.
21142 * hurd/hurdfault.c: Likewise.
21143 * hurd/hurdioctl.c: Likewise.
21144 * hurd/hurdlookup.c: Likewise.
21145 * hurd/intr-msg.c: Likewise.
21146 * iconv/gconv_open.c: Likewise.
21147 * libio/swprintf.c: Likewise.
21148 * locale/lc-ctype.c: Likewise.
21149 * locale/nl_langinfo.c: Likewise.
21150 * mach/Machrules: Likewise.
21151 * mach/Makefile: Likewise.
21152 * malloc/obstack.h: Likewise.
21153 * manual/Makefile: Likewise.
21154 * manual/tsort.awk: Likewise.
21155 * misc/bits/stab.def: Likewise.
21156 * nis/nis_print_group_entry.c: Likewise.
21157 * nis/nis_table.c: Likewise.
21158 * nis/nss_compat/compat-pwd.c: Likewise.
21159 * nis/nss_compat/compat-spwd.c: Likewise.
21160 * po/Makefile: Likewise.
21161 * posix/fnmatch.c: Likewise.
21162 * posix/regex.h: Likewise.
21163 * resolv/Makefile: Likewise.
21164 * resolv/nss_dns/dns-network.c: Likewise.
21165 * resolv/res_hconf.c: Likewise.
21166 * scripts/gen-sorted.awk: Likewise.
21167 * soft-fp/soft-fp.h: Likewise.
21168 * stdio-common/printf.h: Likewise.
21169 * stdlib/monetary.h: Likewise.
21170 * stdlib/random.c: Likewise.
21171 * stdlib/random_r.c: Likewise.
21172 * sysdeps/generic/Makefile: Likewise.
21173 * sysdeps/gnu/Makefile: Likewise.
21174 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21202 * sysdeps/mach/hurd/errnos.awk: Likewise.
21203 * sysdeps/mach/hurd/fork.c: Likewise.
21204 * sysdeps/mach/hurd/getcwd.c: Likewise.
21205 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21206 * sysdeps/mach/hurd/mmap.c: Likewise.
21207 * sysdeps/mach/hurd/utimes.c: Likewise.
21208 * sysdeps/mach/hurd/xmknod.c: Likewise.
21209 * sysdeps/posix/profil.c: Likewise.
21210 * sysdeps/posix/readdir_r.c: Likewise.
21211 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21212 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21213 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21214 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21216 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21218 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21220 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21221 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21222 * sysdeps/pthread/lio_listio.c: Likewise.
21223 * sysdeps/sparc/dl-procinfo.h: Likewise.
21224 * sysdeps/unix/i386/sysdep.S: Likewise.
21225 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21226 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21227 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21228 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21230 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21231 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21232 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21233 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21234 * sysdeps/wordsize-32/divdi3.c: Likewise.
21235 * time/sys/time.h: Likewise.
21236 * wcsmbs/Makefile: Likewise.
21237
0549fbba
DM
212382013-01-01 David S. Miller <davem@davemloft.net>
21239
a141f1a7
DM
21240 * po/fr.po: Update from translation team.
21241
0549fbba
DM
21242 * catgets/gencat.c: Update copyright year.
21243 * csu/version.c: Likewise.
21244 * debug/catchsegv.sh: Likewise.
21245 * debug/pcprofiledump.c: Likewise.
21246 * debug/xtrace.sh: Likewise.
21247 * elf/ldconfig.c: Likewise.
21248 * elf/ldd.bash.in: Likewise.
21249 * elf/pldd.c: Likewise.
21250 * elf/sotruss.ksh: Likewise.
21251 * elf/sprof.c: Likewise.
21252 * iconv/iconv_prog.c: Likewise.
21253 * iconv/iconvconfig.c: Likewise.
21254 * locale/programs/locale.c: Likewise.
21255 * locale/programs/localedef.c: Likewise.
21256 * login/programs/pt_chown.c: Likewise.
21257 * malloc/memusage.sh: Likewise.
21258 * malloc/memusagestat.c: Likewise.
21259 * malloc/mtrace.pl: Likewise.
21260 * nscd/nscd.c: Likewise.
21261 * nss/getent.c: Likewise.
21262 * nss/makedb.c: Likewise.
21263 * posix/getconf.c: Likewise.
21264
18ea052c
SP
212652012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21266
21267 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21268 numbers.
21269
9c89fca6
MF
212702012-12-30 Mike Frysinger <vapier@gentoo.org>
21271
21272 * math/bits/mathcalls.h (modf): Use __nonnull.
21273
085ec079
SP
212742012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21275
21276 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21277 (split): Use macro CN instead of the bare value.
21278 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21279 could be used.
21280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21281 instead of the bare value.
21282 (power1): Likewise.
21283
6d9f97e1
SP
212842012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21285
d63f73be
SP
21286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21287 __ATAN_TWOM.
21288 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21289
6d9f97e1
SP
21290 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21291 their values.
21292 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21294 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21295 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21296
4c4febf5
AJ
212972012-12-28 Andreas Jaeger <aj@suse.de>
21298
af5843ef
AJ
21299 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21300 values are from Linux 3.7.
21301
4c4febf5
AJ
21302 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21303 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21304
99136f82
SP
213052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21306
2f216c3c 21307 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21308 TRUE case.
21309
99136f82
SP
21310 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21311 (norm): Likewise.
21312 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21313 variables with preprocessor constants.
21314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21315 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21316 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21317
7fffbdff
BH
213182012-12-27 Bruno Haible <bruno@clisp.org>
21319
21320 [BZ #14317]
21321 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21322 only if needed.
21323
b76eb5f0
SP
213242012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21325
31a7fe5c
SP
21326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21327 and use variable directly.
21328 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21329
b76eb5f0
SP
21330 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21331 MPONE.
21332 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21334 variable MPONE.
21335 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21337 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21338 include directive. Remove local variable MPONE.
21339 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21340 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21342
2c8bfe7d
DM
213432012-12-25 David S. Miller <davem@davemloft.net>
21344
21345 * version.h (RELEASE): Set to "development".
21346 (VERSION): Set to "2.17.90".
21347 * NEWS: Add 2.18 section.
21348
147d03b0
DM
213492012-12-21 David S. Miller <davem@davemloft.net>
21350
21351 * po/hr.po: Update from translation team.
21352
a8ebb2b9
AK
213532012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21354
21355 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21356
95b4f1b6
SE
213572012-12-19 Steve Ellcey <sellcey@mips.com>
21358
b2d94007 21359 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21360
cedb2a90
MS
213612012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21362
21363 * manual/contrib.texi (Contributors): Spelling correction.
21364
bbf527d6
DM
213652012-12-15 David S. Miller <davem@davemloft.net>
21366
21367 * po/ru.po: Update from translation team.
21368
bc38c906
DM
213692012-12-13 David S. Miller <davem@davemloft.net>
21370
85429b1a
DM
21371 * NEWS: Mention IFUNC testsuite enhancements.
21372
d283e353
DM
21373 * po/pl.po: Update from translation team.
21374 * po/bg.po: Likewise.
21375
bc38c906
DM
21376 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21377 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21378
a181b0d7
DM
213792012-12-11 David S. Miller <davem@davemloft.net>
21380
4641d57e
DM
21381 * po/sv.po: Update from translation team.
21382
f7bc6495
DM
21383 * po/vi.po: Update from translation team.
21384
6fc9048f
DM
21385 * po/cs.po: Update from translation team.
21386
a181b0d7
DM
21387 * po/de.po: Update from translation team.
21388 * po/eo.po: Likewise.
21389 * po/nl.po: Likewise.
21390
f70bfe80
SP
213912012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21392
3c8b4190
SP
21393 [BZ #14246]
21394 * manual/argp.texi (Argp Helper Functions): Move node to follow
21395 Argp Parsing State.
21396
f70bfe80
SP
21397 [BZ #14872]
21398 * manual/conf.texi (Limits on File System Capacity): Mention if
21399 terminating null is included in the max size.
21400
188f0adf
AJ
214012012-12-10 Andreas Jaeger <aj@suse.de>
21402
21403 * po/cs.po: Update from translation team.
21404
56e7d3ad
SP
214052012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21406
21407 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21408 void pointer and cast to uintptr_t.
21409 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21410 path.
21411 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21412 * sysdeps/s390/s390-64/memset.S: Likewise.
21413
76f2d2ea 214142012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21415
21416 [BZ #14833]
21417 * menual/message.texi (Message Translation): Fix typos.
21418 (Helper programs for gettext): Likewise.
21419
67cbf9a2
AS
214202012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21421
21422 [BZ #14898]
21423 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21424 Change to -1.
21425
682d0e9a
DM
214262012-12-07 David S. Miller <davem@davemloft.net>
21427
21428 * po/libc.pot: Update.
21429
573cd484
RH
214302012-12-07 Richard Henderson <rth@redhat.com>
21431
7e9da188 21432 [BZ #10114]
573cd484
RH
21433 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21434 normal/normal case to before the switch.
21435 (_FP_DIV): Likewise.
21436
e933a943
MF
214372012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21438 Mike Frysinger <vapier@gentoo.org>
21439
21440 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21441 check for __NR_fadvise64_64.
21442
82123268
CM
214432012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21444
21445 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21446 0, not just to plain "0" as a statement.
21447 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21448 with cw.
21449
d9814526
JM
214502012-12-06 Joseph Myers <joseph@codesourcery.com>
21451
21452 * NEWS: Use sourceware.org in Bugzilla URL.
21453
7728c574
SP
214542012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
f16946dd
SP
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21457 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21458
5704bbcb
SP
21459 * stdio-common/tst-put-error.c (do_test): Add newline to the
21460 padded test to ensure flush.
21461
17aa0516
JL
214622012-12-05 Jeff Law <law@redhat.com>
21463
21464 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21465
363313b5
JM
214662012-12-05 Joseph Myers <joseph@codesourcery.com>
21467
effbd42a
JM
21468 * README: Don't refer to ports add-on as distributed separately.
21469 Mention AArch64 in list of systems supported in the ports add-on.
21470
87600365
JM
21471 * LICENSES: Add more non-FSF copyright and license notices.
21472
a0d7066a
JM
21473 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21474 ((unused)).
21475
66ca5a5b
JM
21476 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21477
363313b5
JM
21478 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21479 10000 as width of padded output.
21480
b37984ad
JM
214812012-12-04 Joseph Myers <joseph@codesourcery.com>
21482
9003570a
JM
21483 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21484
b37984ad
JM
21485 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21486 variable LX with __attribute__ ((unused)).
21487 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21488 Likewise.
21489 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21491 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21492 with __attribute__ ((unused)).
21493
c8df52ec
DM
214942012-12-04 David S. Miller <davem@abraco.davemloft.net>
21495
21496 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21497
b3b099af
JM
214982012-12-04 Joseph Myers <joseph@codesourcery.com>
21499
c33aa6e3
JM
21500 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21501 (CFLAGS-nldbl-acos.c): New variable.
21502 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21540 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21541 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21542 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21543 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21544 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21545 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21546 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21547 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21548 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21549 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21550 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21551 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21552 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21553 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21554 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21555 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21556 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21557 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21558 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21559 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21560 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21561 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21562 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21563 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21564 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21565 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21566 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21567 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21568 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21569 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21570 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21571 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21572 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21573 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21574 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21575 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21576 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21577 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21578 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21579 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21580 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21581 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21582 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21583 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21584 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21585 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21586 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21587 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21588 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21589 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21590 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21591 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21592 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21593 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21594 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21595 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21596 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21597 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21598 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21599
20f0018d
JM
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21601 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21602
b3b099af
JM
21603 [BZ #14914]
21604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21605 whole low double instead of just low 47 bits when splitting values
21606 into two parts.
21607
029264d1
AM
216082012-12-03 Allan McRae <allan@archlinux.org>
21609
21610 * manual/stdio.texi (Predefined Printf Handlers): Remove
21611 @hsep and @vsep usage.
21612
c9d6789e
MF
216132012-12-03 Mike Frysinger <vapier@gentoo.org>
21614
21615 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21616 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21617
4b7634a5
JL
216182012-12-03 Jeff Law <law@redhat.com>
21619
21620 * time/sys/time.h (settimeofday): Do not mark TV argument
21621 as __nonnull.
21622
eb6cbd24
MF
216232012-12-01 Mike Frysinger <vapier@gentoo.org>
21624
21625 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21626 when currently writing and seek to current position when not.
21627 * libio/Makefile (tests): Remove bug-fclose1.
21628 * libio/bug-fclose1.c: Delete.
21629
f638872a
JM
216302012-12-01 Joseph Myers <joseph@codesourcery.com>
21631
21632 * manual/arith.texi (feenableexcept): Fix typo.
21633 (fedisableexcept): Likewise.
21634
48085d14
RM
216352012-11-30 Roland McGrath <roland@hack.frob.com>
21636
21637 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21638 second, differently-typed declaration, rather than a cast.
21639
1a538b9f
SP
216402012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21641
21642 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21643 * include/rpc/svc.h: ... here.
21644
d07f2ff1 216452012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21646
21647 [BZ #13013]
21648 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21649 depending n and resplen2 to catch cases where answer
21650 equals answerp2.
21651
c93ec1f0
CD
216522012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21653
21654 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21655 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21656
37db69de
MF
216572012-11-29 Mike Frysinger <vapier@gentoo.org>
21658
21659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21660
e10c4e4f
RM
216612012-11-29 Roland McGrath <roland@hack.frob.com>
21662
21663 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21664
2af1b328
JL
216652012-11-28 Jeff Law <law@redhat.com>
21666
21667 [BZ #13761]
21668 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21669 dataset_temporary. Track alloca usage into alloca_used.
21670 If dataset is large allocate and release it via malloc/free.
21671
111db5b1
FW
216722012-06-04 Florian Weimer <fweimer@redhat.com>
21673
f06cc227 21674 [BZ #14197]
111db5b1
FW
21675 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21676
dd694abd
DM
216772012-11-28 David S. Miller <davem@davemloft.net>
21678
21679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21680
9984dd01
JM
216812012-11-28 Joseph Myers <joseph@codesourcery.com>
21682
21683 [BZ #14803]
21684 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21685 of pi/2 rounded to nearest to 64 bits.
21686 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21687 nearest to 64 bits.
21688 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21689 bits.
21690
14bc93a9
JL
216912012-11-28 Jeff Law <law@redhat.com>
21692 Martin Osvald <mosvald@redhat.com>
21693
21694 [BZ #14889]
21695 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21696 * sunrpc/svc.c: Include time.h.
21697 (__svc_accept_failed): New function.
21698 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21699 any reason other than EINTR, call __svc_accept_failed.
21700 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21701 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21702
e3c6aa3a
AS
217032012-11-28 Andreas Schwab <schwab@suse.de>
21704
21705 * scripts/abilist.awk: Also handle indirect functions in .opd
21706 section.
21707
1bead169
JM
217082012-11-28 Joseph Myers <joseph@codesourcery.com>
21709
21710 [BZ #13881]
21711 * sysdeps/x86/fpu/powl_helper.c: New file.
21712 * sysdeps/x86/fpu/Makefile: Likewise.
21713 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21714 (p3): New object.
21715 (__ieee754_powl): Use __powl_helper for finite arguments except
21716 integer exponents below 8.
21717 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21718 (p3): New object.
21719 (__ieee754_powl): Use __powl_helper for finite arguments except
21720 integer exponents below 8.
21721 * math/libm-test.inc (pow_test): Add more tests and enable some
21722 previously disabled tests.
21723 * sysdeps/i386/fpu/libm-test-ulps: Update.
21724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21725
0817d63d
SP
217262012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21727 Carlos O'Donell <carlos_odonell@mentor.com>
21728
21729 * nss/makedb.c (is_prime): Assert that input is odd and greater
21730 than 4. Note that fact in a comment too.
21731 (next_prime): Add 4 to input.
21732
de2fd463
SP
217332012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21734
21735 [BZ #11741]
21736 * libio/Makefile (tests): Add test case tst-fwrite-error.
21737 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21738 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21739 * libio/tst-fwrite-error.c: New test case.
21740
c515fb51
L
217412012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21742
21743 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21744 before casting to void *.
21745 * include/libc-internal.h (__pointer_type): New macro.
21746 (__integer_if_pointer_type_sub): Likewise.
21747 (__integer_if_pointer_type): Likewise.
21748 (cast_to_integer): Likewise.
21749 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21750 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21751 before casting to atomic64_t.
21752 (atomic_exchange_acq): Likewise.
21753 (__arch_exchange_and_add_body): Likewise.
21754 (__arch_add_body): Likewise.
21755 (atomic_add_negative): Likewise.
21756 (atomic_add_zero): Likewise.
21757
4cf77aa9
JM
217582012-11-26 Joseph Myers <joseph@codesourcery.com>
21759
21760 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21761 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21762 (add_fdes): Likewise.
21763 (linear_search_fdes): Likewise.
21764 (binary_search_unencoded_fdes): Likewise.
21765
d260b3b4
AS
217662012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21767
21768 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21769
67060746
AC
217702012-11-24 Adam Conrad <adconrad@0c3.net>
21771
21772 * configure.in: Autodetect C++ header directories.
21773 * configure: Regenerated.
21774
800938a1
MF
217752012-11-23 Mike Frysinger <vapier@gentoo.org>
21776
21777 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21778
4e6e34e6
AS
217792012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21780
21781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21782
7c7feb47
JM
217832012-11-22 Joseph Myers <joseph@codesourcery.com>
21784
7184dcdf
JM
21785 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21786 LDBL_MANT_DIG == 106]: Disable some tests.
21787 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21788 Likewise.
21789 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21790 Likewise.
21791
0a42601f
JM
21792 [BZ #14871]
21793 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21794 input for small inputs. Return +/- pi/2 for large inputs.
21795 * math/libm-test.inc (atan_test): Add more tests.
21796
79c9b9fe
JM
21797 * sysdeps/generic/unwind-dw2-fde-glibc.c
21798 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21799 __attribute__ ((unused)).
21800
c60d3bf2
JM
21801 [BZ #14645]
21802 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21803 x * y if x and y are nonzero and z is zero.
21804
ef1e0867
JM
21805 [BZ #14811]
21806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21807 nonzero exponents with absolute value below 0x1p-117 to +/-
21808 0x1p-117.
21809
1468ded3
JM
21810 [BZ #14869]
21811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21812 up arguments below 2**-450, not just those below 2**-500.
21813 * math/libm-test.inc (hypot_test): Add another test.
21814
8e27e3cc
JM
21815 [BZ #14868]
21816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21817 Return a+b for ratio over 2**120, not 2**60.
21818 * math/libm-test.inc (hypot_test): Add another test.
21819
c9c0279b
JM
21820 * math/libm-test.inc (clog_test): Use
21821 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21822 (clog10_test): Likewise.
21823
7c7feb47
JM
21824 [BZ #6778]
21825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21826
fff1530e
AS
218272012-11-22 Andreas Schwab <schwab@suse.de>
21828
21829 * sysdeps/i386/fpu/libm-test-ulps: Update.
21830
94558d30
PT
218312012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21832
21833 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21834 printf output with newline.
21835
7e1be741
L
218362012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21837
6bfea974
L
21838 [BZ #14865]
21839 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21840 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21841 -z nodlopen, -z initfirst and -z execstack support.
21842 * configure: Regenerated.
21843
7e1be741
L
21844 * elf/elf.h (DF_1_NODIRECT): New macro.
21845 (DF_1_IGNMULDEF): Likewise.
21846 (DF_1_NOKSYMS): Likewise.
21847 (DF_1_NOHDR): Likewise.
21848 (DF_1_EDITED): Likewise.
21849 (DF_1_NORELOC): Likewise.
21850 (DF_1_SYMINTPOSE): Likewise.
21851 (DF_1_GLOBAUDIT): Likewise.
21852 (DF_1_SINGLETON): Likewise.
21853 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21854 DT_1_SUPPORTED_MASK bits.
21855 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21856
105ce2ce
CD
218572012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21858
21859 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21860
123be9de
TS
218612012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21862
d072f3f7
TS
21863 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21864 macro.
21865
123be9de
TS
21866 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21867 (sendmmsg): Move declarations...
21868 * socket/sys/socket.h: ... here.
21869 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21870 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21871 include it from...
21872 * socket/recvmmsg.c: ... this new file.
21873 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21874 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21875 definition of __sendmmsg hidden.
21876 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21877 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21878 Move ENOSYS stub into and include it from...
21879 * socket/sendmmsg.c: ... this new file.
21880 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21881 (sysdep_routines): Move recvmmsg and sendmmsg...
21882 * socket/Makefile (routines): ... here.
21883 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21884 (GLIBC_PRIVATE): Add __sendmmsg.
21885 * include/sys/socket.h (__sendmmsg): Add declarations.
21886 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21887 sendmmsg.
21888
cf9a5d18
JM
218892012-11-20 Joseph Myers <joseph@codesourcery.com>
21890
21891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21892 variable I1 with __attribute__ ((unused)).
21893 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21894
ecd4caf9
JM
218952012-11-19 Joseph Myers <joseph@codesourcery.com>
21896
be14d48f
JM
21897 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21898 DUMMY variables with __attribute__ ((unused)).
21899
ecd4caf9
JM
21900 * bits/byteswap.h: Include <bits/types.h>.
21901 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21902
986cab95
PT
219032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21904
21905 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21906 string_t. Do not manually set errno.
21907 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21908 length with __strnlen. Make sure to both set errno and return it on
21909 failure.
21910
6d33cc9d
DM
219112012-11-19 David S. Miller <davem@davemloft.net>
21912
21913 With help from Joseph Myers.
21914 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21915 very large arguments properly.
21916 * math/libm-test.inc (atan_test): New tests.
21917 (atan2_test): New tests.
21918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21920
ee663277
JM
219212012-11-19 Joseph Myers <joseph@codesourcery.com>
21922
877f2d8e
JM
21923 [BZ #14856]
21924 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21925 Define to 3.
21926
116fc08a
JM
21927 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21928 [POSIX] (EADDRNOTAVAIL): Likewise.
21929 [POSIX] (EAFNOSUPPORT): Likewise.
21930 [POSIX] (EALREADY): Likewise.
21931 [POSIX] (ECONNABORTED): Likewise.
21932 [POSIX] (ECONNREFUSED): Likewise.
21933 [POSIX] (ECONNRESET): Likewise.
21934 [POSIX] (EDESTADDRREQ): Likewise.
21935 [POSIX] (EDQUOT): Likewise.
21936 [POSIX] (EHOSTUNREACH): Likewise.
21937 [POSIX] (EIDRM): Likewise.
21938 [POSIX] (EISCONN): Likewise.
21939 [POSIX] (ELOOP): Likewise.
21940 [POSIX] (EMULTIHOP): Likewise.
21941 [POSIX] (ENETDOWN): Likewise.
21942 [POSIX] (ENETUNREACH): Likewise.
21943 [POSIX] (ENOBUFS): Likewise.
21944 [POSIX] (ENODATA): Likewise.
21945 [POSIX] (ENOLINK): Likewise.
21946 [POSIX] (ENOMSG): Likewise.
21947 [POSIX] (ENOPROTOOPT): Likewise.
21948 [POSIX] (ENOSR): Likewise.
21949 [POSIX] (ENOSTR): Likewise.
21950 [POSIX] (ENOTCONN): Likewise.
21951 [POSIX] (ENOTSOCK): Likewise.
21952 [POSIX] (EOPNOTSUPP): Likewise.
21953 [POSIX] (EOVERFLOW): Likewise.
21954 [POSIX] (EPROTO): Likewise.
21955 [POSIX] (EPROTONOSUPPORT): Likewise.
21956 [POSIX] (EPROTOTYPE): Likewise.
21957 [POSIX] (ESTALE): Likewise.
21958 [POSIX] (ETIME): Likewise.
21959 [POSIX] (ETXTBSY): Likewise.
21960 [POSIX] (EWOULDBLOCK): Likewise.
21961 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21962 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21963 [POSIX] (SEEK_CUR): Likewise.
21964 [POSIX] (SEEK_END): Likewise.
21965 [POSIX || UNIX98] (mode_t): Do not require.
21966 [POSIX] (off_t): Likewise.
21967 [POSIX] (pid_t): Likewise.
21968 [POSIX] (sys/stat.h): Do not allow header.
21969 [POSIX] (unistd.h): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21971 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21973 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21974 require.
21975 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21976 sigevent): Specify elements.
21977 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21978 entry.
21979 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21980 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21981
a483863f
JM
21982 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21983 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21984 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21985 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21986 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21987 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21988 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21989 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21990 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21991 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21992 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21993 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21994 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21995 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21996 Likewise.
21997 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21998 Likewise.
21999 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22000 Likewise.
22001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22002 Likewise.
22003 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22004 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22005 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22006 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22008 Specify lower bound on value.
22009 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22010 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22011 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22012 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22013 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22015 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22016 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22017 value.
22018 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22019 as optional.
22020 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22021 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22022 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22025 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22027 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22028 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22032 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22033 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22034 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22035 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22036 entry.
22037 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22038 optional.
22039 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22040 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22041 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22042 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22043 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22044 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22045 Likewise.
22046 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22047 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22048 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22051 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22053 as optional.
22054 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22058 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22059 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22060 specify as optional.
22061 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22062 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22063 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22064 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22065 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22066 [XPG3] (NL_LANGMAX): Likewise.
22067 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22068 [POSIX || XPG3] (NL_NMAX): Likewise.
22069 [POSIX || XPG3] (NL_SETMAX): Likewise.
22070 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22071 [XPG3] (NZERO): Likewise.
22072 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22073 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22074 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22075 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22076 (REG_ERANGE): Expect.
22077 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22078 optional-constant.
22079 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22080 Use (void) in prototype.
22081 [POSIX] (*_t): Allow.
22082 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22083 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22084 (WRDE_BADVAL): Expect.
22085
5ba924e3
JM
22086 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22087 expect.
22088 [XPG3 || XPG4] (O_RSYNC): Likewise.
22089 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22090 Likewise.
22091 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22092 [XPG3 || XPG4] (sigqueue): Likewise.
22093 [XPG3 || XPG4] (sigtimedwait): Likewise.
22094 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22095 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22096 [XPG3 || XPG4] (vsnprintf): Likewise.
22097 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22098 Likewise.
22099 [XPG3 || XPG4] (blksize_t): Likewise.
22100 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22101 Likewise.
22102 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22103 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22104 [XPG3 || XPG4] (struct itimerspec): Likewise.
22105 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22106 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22107 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22108 [XPG3 || XPG4] (clockid_t): Likewise.
22109 [XPG3 || XPG4] (timer_t): Likewise.
22110 [XPG3 || XPG4] (clock_getres): Likewise.
22111 [XPG3 || XPG4] (clock_gettime): Likewise.
22112 [XPG3 || XPG4] (clock_settime): Likewise.
22113 [XPG3 || XPG4] (nanosleep): Likewise.
22114 [XPG3 || XPG4] (timer_create): Likewise.
22115 [XPG3 || XPG4] (timer_delete): Likewise.
22116 [XPG3 || XPG4] (timer_gettime): Likewise.
22117 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22118 [XPG3 || XPG4] (timer_settime): Likewise.
22119 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22120 [XPG3 || XPG4] (getlogin_r): Likewise.
22121 [XPG3 || XPG4] (pread): Likewise.
22122 [XPG3 || XPG4] (pthread_atfork): Likewise.
22123 [XPG3 || XPG4] (pwrite): Likewise.
22124
ee663277
JM
22125 [BZ #14835]
22126 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22127 <bits/siginfo.h>.
22128
942caa16
PT
221292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22130
e19af380
PT
22131 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22132 finalizing MALLSTREAM.
22133
942caa16
PT
22134 * sysdeps/mach/hurd/syncfs.c: New file.
22135
cfde9b46
SP
221362012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22137
22138 [BZ #14719]
22139 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22140 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22141 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22142 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22143 (_nss_dns_gethostbyname4_r): Likewise.
22144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22145 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22146
f6da27e5
PH
221472012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22148
22149 [BZ #13763]
22150 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22151
6665d4a2
SM
221522012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22153
1f51ee92
SM
22154 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22155 * elf/cache.c (print_entry): Print ",AArch64" for
22156 FLAG_AARCH64_LIB64
22157
6665d4a2
SM
22158 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22159 * elf/cache.c (print_entry): Print ",hard-float" for
22160 FLAG_ARM_LIBHF.
22161
05b227bd
DM
221622012-11-18 David S. Miller <davem@davemloft.net>
22163
22164 With help from Joseph Myers.
22165 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22166 cutoff to 2**-13.
22167 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22168 cutoff to 2**-25.
22169 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22170 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22171 small.
22172 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22173 * math/libm-test.inc (y0_test): New tests.
22174 (y1_test): New tests.
22175 * sysdeps/i386/fpu/libm-test-ulps: Update.
22176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22178
786b0b67
AS
221792012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22180
22181 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22182 64-bit targets.
22183 * configure: Regenerated.
22184
8e18b86d
DM
221852012-11-17 David S. Miller <davem@davemloft.net>
22186
22187 [BZ #14811]
22188 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22189 nonzero exponents with absolute value below 0x1p-128 to +/-
22190 0x1p-128.
22191
531f1ae0
JM
221922012-11-17 Joseph Myers <joseph@codesourcery.com>
22193
12df29e2
JM
22194 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22195
150dc1a0
JM
22196 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22197
531f1ae0
JM
22198 * posix/getconf-speclist.c: New file.
22199 * posix/posix-envs.def: Likewise.
22200 * posix/confstr.c (START_ENV_GROUP): New macro.
22201 (END_ENV_GROUP): Likewise.
22202 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22203 (KNOWN_PRESENT_ENV_STRING): Likewise.
22204 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22205 (UNKNOWN_ENVIRONMENT): Likewise.
22206 (confstr): Include posix-envs.def instead of handling
22207 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22208 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22209 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22210 (END_ENV_GROUP): Likewise.
22211 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22212 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22213 (UNKNOWN_ENVIRONMENT): Likewise.
22214 (__sysconf): Include posix-envs.def instead of handling associated
22215 cases directly here.
22216 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22217 preprocessing getconf-speclist.c rather than running getconf or
22218 generating empty file.
22219
a93f9cbc
PT
222202012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22221
22222 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22223
d64d9f87
AL
222242012-11-16 Andrej Lajovic <natrij@gmail.com>
22225
22226 [BZ #14672]
22227 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22228
447885eb
DM
222292012-11-16 David S. Miller <davem@davemloft.net>
22230
22231 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22232 smaller than LDBL_EPSILON/2.0L, just return xm1.
22233
bcbf9830
L
222342012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 * elf/tst-array1.c (init): Set constructor priority to 1000.
22237 (fini): Set destructor priority to 1000.
22238 * elf/tst-array2dep.c: Likewise.
22239
2b766585
SP
222402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22241
22242 [BZ #11741]
22243 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22244 (_IO_new_file_xsputn): Also return EOF if none of the input
22245 data was written when overflow failed.
22246 * libio/iopadn.c (_IO_padn): Likewise.
22247 * libio/iowpadn.c (_IO_wpadn): Likewise.
22248 * stdio-common/tst-put-error.c: Add copyright notice.
22249 (do_test): Add case for printing padded string.
22250 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22251 _IO_padn returned error.
22252 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22253 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22254 return EOF.
22255
b1848fde
SP
222562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22257
22258 * libio/libioP.h: Add comment note that the references to C++
22259 bits are now obsolete.
22260
2fd89785
MS
222612012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22262
22263 * math/libm-test.inc (check_complex): Use asprintf.
22264
e3ea5409
JM
222652012-11-14 Joseph Myers <joseph@codesourcery.com>
22266
22267 * debug/pcprofiledump.c (print_version): Update copyright year.
22268 * malloc/memusagestat.c (print_version): Likewise.
22269
2e64d265
L
222702012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22271
22272 [BZ #14831]
22273 * elf/Makefile (tests): Add tst-audit8.
22274 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22275 ($(objpfx)tst-audit8.out): New target.
22276 (tst-audit8-ENV): New variable.
22277 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22278 audit if l_reloc_result is NULL.
22279 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22280 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22281 * elf/tst-audit8.c: New file.
22282
c485e4d2
MS
222832012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22284
22285 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22286 * misc/Makefile (CFLAGS-select.c): Define.
22287 * posix/Makefile (CFLAGS-pause.c): Define.
22288
3a0d900a
DM
222892012-11-13 David S. Miller <davem@davemloft.net>
22290
22291 * crypt/Makefile: Move test targets after toplevel Rules
22292 inclusion. Grab any necessary sysdep routines when linking.
22293 * crypt/md5.c (md5_process_block): Remove define, we will always
22294 name it __md5_process_block.
22295 (md5_finish_ctx): Update md5_process_block call.
22296 (md5_stream): Likewise.
22297 (md5_process_bytes): Likewise.
22298 (md5_process_block): Rename to __md5_process_block and move to ...
22299 * crypt/md5-block.c: ... here.
22300 * crypt/sha256.c (sha256_process_block): Move to ...
22301 * crypt/sha256-block.c: ... here.
22302 * crypt/sha512.c (sha512_process_block): Move to ...
22303 * crypt/sha512-block.c: ... here.
22304 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22305 path.
22306 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22307 * sysdeps/sparc/sparc64/multiarch/Makefile
22308 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22309 crypt subdir.
22310 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22312 multiarch changes.
22313 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22314 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22315 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22316 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22317 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22318 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22319 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22320 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22321 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22322 file.
22323 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22324 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22325 file.
22326 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22327
8ca89318
JM
223282012-11-13 Joseph Myers <joseph@codesourcery.com>
22329
e27d476a
JM
22330 * timezone/tzselect.ksh: Update from tzcode git revision
22331 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22332 * timezone/zdump.c: Likewise.
22333 * timezone/zic.c: Likewise.
22334 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22335 in TZVERSION setting, not $(PKGVERSION).
22336 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22337 REPORT_BUGS_TO settings.
22338
8ca89318
JM
22339 [BZ #14838]
22340 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22341 macro.
22342
47594329
MS
223432012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22344
22345 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22346 detection to immediately after _FP_ROUND().
22347 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22348 bits are 0.
22349
640ac3f1
DM
223502012-11-11 David S. Miller <davem@davemloft.net>
22351
22352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22353 inttypes.h
22354 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22355 __close rather than their public counterparts.
22356
3d2577bb
JM
223572012-11-10 Joseph Myers <joseph@codesourcery.com>
22358
22359 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22360 file.
22361 [UNIX98] (sem_timedwait): Do not expect.
22362 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22363 [XPG4 || UNIX98] (sockatmark): Do not expect.
22364 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22365 (clock_getcpuclockid): Do not expect.
22366 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22367 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22368 Do not expect.
22369 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22370 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22371 [UNIX98] (vwscanf): Likewise.
22372 [UNIX98] (vswscanf): Likewise.
22373
fb1ae1ee
JM
223742012-11-09 Joseph Myers <joseph@codesourcery.com>
22375
9ec6f8bd
JM
22376 * timezone/version.h: Remove file.
22377 * timezone/README: Do not refer to version.h.
22378 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22379 $(objpfx)version.h.
22380 ($(objpfx)zdump.o): Likewise.
c3f81911 22381 ($(objpfx)version.h): New target.
9ec6f8bd 22382
0aa8f8a1
JM
22383 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22384 2012i.
22385 * timezone/README: Don't mention modification to tzselect.ksh.
22386 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22387 work on unmodified tzselect.ksh. Substitute version numbers in
22388 tzselect.ksh.
22389
4e87147f
JM
22390 * Makefile (format-me): Remove.
22391 (INSTALL): Adjust indentation. Use commands directly instead of
22392 using $(format-me).
22393
8b748aed
JM
22394 * aclocal.m4 (ACX_PKGVERSION): New macro.
22395 (ACX_BUGURL): Likewise.
22396 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22397 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22398 (REPORT_BUGS_TO): Likewise.
22399 * configure: Regenerated.
22400 * config.h.in (PKGVERSION): New macro.
22401 (REPORT_BUGS_TO): Likewise.
22402 * config.make.in (PKGVERSION): New variable.
22403 (PKGVERSION_TEXI): Likewise.
22404 (REPORT_BUGS_TO): Likewise.
22405 (REPORT_BUGS_TEXI): Likewise.
22406 * Makefile (format-me): Use -I$(common-objpfx)manual.
22407 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22408 ($(common-objpfx)manual/%): New target.
22409 (manual/%): Remove target.
22410 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22411 (print_version): Use PKGVERSION.
22412 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22413 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22414 and REPORT_BUGS_TO.
22415 ($(objpfx)xtrace): Likewise.
22416 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22417 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22418 (print_version): Use PKGVERSION.
22419 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22420 (do_version): Use PKGVERSION.
22421 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22422 REPORT_BUGS_TO.
22423 (common-ldd-rewrite): Likewise.
22424 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22425 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22426 (print_version): Use PKGVERSION.
22427 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22428 * elf/pldd.c (argp_program_bug_address): Remove variable.
22429 (more_help): New function.
22430 (argp): Use more_help.
22431 (print_version): Use PKGVERSION.
22432 * elf/sln.c (main): Use PKGVERSION.
22433 (usage): Use REPORT_BUGS_TO.
22434 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22435 (top level): Use PKGVERSION.
22436 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22437 (print_version): Use PKGVERSION.
22438 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22439 (print_version): Use PKGVERSION.
22440 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22441 (print_version): Use PKGVERSION.
22442 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22443 (print_version): Use PKGVERSION.
22444 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22445 (print_version): Use PKGVERSION.
22446 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22447 (print_version): Use PKGVERSION.
22448 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22449 and BUGURL.
22450 ($(objpfx)memusage): Likewise.
22451 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22452 (do_version): Use PKGVERSION.
22453 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22454 (print_version): Use PKGVERSION.
22455 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22456 ($PKGVERSION): New variable.
22457 ($REPORT_BUGS_TO): Likewise.
22458 (usage): Use $REPORT_BUGS_TO.
22459 (top level): Use $PKGVERSION.
22460 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22461 ($(objpfx)pkgvers.texi): New rule.
22462 ($(objpfx)stamp-pkgvers): Likewise.
22463 * manual/install.texi: Include pkgvers.texi.
22464 (--with-pkgversion): Document new configure option.
22465 (--with-bugurl): Likewise.
22466 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22467 than necessarily for this particular distribution. Use
22468 REPORT_BUGS_TO for where to report bugs.
22469 * INSTALL: Regenerated.
22470 * manual/libc.texinfo: Include pkgvers.texi.
22471 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22472 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22473 (print_version): Use PKGVERSION.
22474 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22475 (print_version): Use PKGVERSION.
22476 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22477 (print_version): Use PKGVERSION.
22478 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22479 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22480 macro.
22481 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22482 (print_version): Use PKGVERSION.
22483 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22484 (print_version): Use PKGVERSION.
22485 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22486 and PKGVERSION.
22487
92e4b6a9
JM
22488 * timezone/checktab.awk: Update from tzcode 2012i.
22489 * timezone/ialloc.c: Likewise.
22490 * timezone/private.h: Likewise.
22491 * timezone/scheck.c: Likewise.
22492 * timezone/tzfile.h: Likewise.
22493 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22494 (TZVERSION): Hardcode tzcode version number.
22495 * timezone/zdump.c: Update from tzcode 2012i.
22496 * timezone/zic.c: Likewise.
22497 * timezone/version.h: New file.
22498 * timezone/README: Describe version.h. Update upstream location.
22499
9bde902c
JM
22500 [BZ #14824]
22501 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22502 (mktemp): Enable declaration.
22503 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22507 Likewise.
22508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22509 Likewise.
22510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22511 Likewise.
22512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22513 Likewise.
22514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22515 Likewise.
22516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22517 Likewise.
22518
fb1ae1ee
JM
22519 [BZ #14821]
22520 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22521 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22522 for copies of such integer values.
22523 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22524 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22525
2c1adbcb
AJ
225262012-11-09 Andreas Jaeger <aj@suse.de>
22527
22528 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22529 definitions and declarations that are provided by
22530 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22531
d0f8457e
AK
225322012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22533
3a235abb 22534 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22535 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22536 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22537 definition.
22538
57241e26
MS
225392012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22540
22541 * elf/elf.h: Update comment before AArch64 relocations.
22542
60e8270d
DM
225432012-11-07 David S. Miller <davem@davemloft.net>
22544
22545 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22546 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22547 (__start_context): Declare.
22548 (__makecontext_ret): Delete.
22549 (__makecontext): Hook up __start_context instead of
22550 __makecontext_ret.
22551 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22552 (sysdep_routines): Add __start_context when in stdlib.
22553
0fbb0fbc
JM
225542012-11-07 Joseph Myers <joseph@codesourcery.com>
22555
22556 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22557 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22558 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22559 hardcoded "nm".
22560 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22561 (READELF): New variable. Use it instead of hardcoded "readelf".
22562
eb48db7e
L
225632012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22566 * sysdeps/x86/Makefile: Here.
22567 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22568 * sysdeps/x86/tst-xmmymm.sh: This.
22569
05bcf62a
JM
225702012-11-07 Joseph Myers <joseph@codesourcery.com>
22571
c4b6cf53
JM
22572 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22573 expectations.
22574 [UNIX98] (pthread_barrier_t): Do not expect.
22575 [UNIX98] (pthread_barrierattr_t): Likewise.
22576 [UNIX98] (pthread_spinlock_t): Likewise.
22577 [UNIX98] (pthread_barrier_destroy): Likewise.
22578 [UNIX98] (pthread_barrier_init): Likewise.
22579 [UNIX98] (pthread_barrier_wait): Likewise.
22580 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22581 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22582 [UNIX98] (pthread_barrierattr_init): Likewise.
22583 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22584 [UNIX98] (pthread_getcpuclockid): Likewise.
22585 [UNIX98] (pthread_mutex_timedlock): Likewise.
22586 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22587 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22588 [UNIX98] (pthread_sigmask): Likewise.
22589 [UNIX98] (pthread_spin_destroy): Likewise.
22590 [UNIX98] (pthread_spin_init): Likewise.
22591 [UNIX98] (pthread_spin_lock): Likewise.
22592 [UNIX98] (pthread_spin_trylock): Likewise.
22593 [UNIX98] (pthread_spin_unlock): Likewise.
22594 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22595 Do not expect.
22596 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22598 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22599 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22600 [XPG3 || XPG4] (pthread_key_t): Likewise.
22601 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22602 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22603 [XPG3 || XPG4] (pthread_once_t): Likewise.
22604 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22605 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22607 [XPG3 || XPG4] (pthread_t): Likewise.
22608
cbe6e120
JM
22609 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22610 not expect.
22611 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22612
1b126443
JM
22613 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22614 Change function return type to int.
22615
b961a573
JM
22616 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22617 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22618 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22619 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22620 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22621 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22622 [!POSIX] (posix_madvise): Likewise.
22623 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22624 && !UNIX98].
22625 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22626 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22627 (mode_t): Likewise.
22628 (posix_mem_offset): Likewise.
22629 (posix_typed_mem_get_info): Likewise.
22630 (posix_typed_mem_open): Likewise.
22631
9e188909
JM
22632 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22633 Change condition to [XOPEN2K8].
22634
05bcf62a
JM
22635 * conform/conformtest.pl: Preprocess allow-header data with -x c
22636 instead of from stdin.
22637 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22638 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22639 [C99-based standards] (cerfc): Likewise.
22640 [C99-based standards] (cexp2): Likewise.
22641 [C99-based standards] (cexpm1): Likewise.
22642 [C99-based standards] (clog10): Likewise.
22643 [C99-based standards] (clog1p): Likewise.
22644 [C99-based standards] (clog2): Likewise.
22645 [C99-based standards] (clgamma): Likewise.
22646 [C99-based standards] (ctgamma): Likewise.
22647 [C99-based standards] (cerff): Likewise.
22648 [C99-based standards] (cerfcf): Likewise.
22649 [C99-based standards] (cexp2f): Likewise.
22650 [C99-based standards] (cexpm1f): Likewise.
22651 [C99-based standards] (clog10f): Likewise.
22652 [C99-based standards] (clog1pf): Likewise.
22653 [C99-based standards] (clog2f): Likewise.
22654 [C99-based standards] (clgammaf): Likewise.
22655 [C99-based standards] (ctgammaf): Likewise.
22656 [C99-based standards] (cerfl): Likewise.
22657 [C99-based standards] (cerfcl): Likewise.
22658 [C99-based standards] (cexp2l): Likewise.
22659 [C99-based standards] (cexpm1l): Likewise.
22660 [C99-based standards] (clog10l): Likewise.
22661 [C99-based standards] (clog1pl): Likewise.
22662 [C99-based standards] (clog2l): Likewise.
22663 [C99-based standards] (clgammal): Likewise.
22664 [C99-based standards] (ctgammal): Likewise.
22665 * conform/data/inttypes.h-data [C99-based standards]: Include
22666 stdint.h-data. Remove all expectations for stdint.h contents.
22667 [C99-based standards] (PRI*): Do not allow.
22668 [C99-based standards] (SCN*): Likewise.
22669 [C99-based standards] (*_t): Likewise.
22670 [C99-based-standards] (PRId8): Expect macro.
22671 [C99-based-standards] (PRIi8): Likewise.
22672 [C99-based-standards] (PRIo8): Likewise.
22673 [C99-based-standards] (PRIu8): Likewise.
22674 [C99-based-standards] (PRIx8): Likewise.
22675 [C99-based-standards] (PRIX8): Likewise.
22676 [C99-based-standards] (SCNd8): Likewise.
22677 [C99-based-standards] (SCNi8): Likewise.
22678 [C99-based-standards] (SCNo8): Likewise.
22679 [C99-based-standards] (SCNu8): Likewise.
22680 [C99-based-standards] (SCNx8): Likewise.
22681 [C99-based-standards] (PRIdLEAST8): Likewise.
22682 [C99-based-standards] (PRIiLEAST8): Likewise.
22683 [C99-based-standards] (PRIoLEAST8): Likewise.
22684 [C99-based-standards] (PRIuLEAST8): Likewise.
22685 [C99-based-standards] (PRIxLEAST8): Likewise.
22686 [C99-based-standards] (PRIXLEAST8): Likewise.
22687 [C99-based-standards] (SCNdLEAST8): Likewise.
22688 [C99-based-standards] (SCNiLEAST8): Likewise.
22689 [C99-based-standards] (SCNoLEAST8): Likewise.
22690 [C99-based-standards] (SCNuLEAST8): Likewise.
22691 [C99-based-standards] (SCNxLEAST8): Likewise.
22692 [C99-based-standards] (PRIdFAST8): Likewise.
22693 [C99-based-standards] (PRIiFAST8): Likewise.
22694 [C99-based-standards] (PRIoFAST8): Likewise.
22695 [C99-based-standards] (PRIuFAST8): Likewise.
22696 [C99-based-standards] (PRIxFAST8): Likewise.
22697 [C99-based-standards] (PRIXFAST8): Likewise.
22698 [C99-based-standards] (SCNdFAST8): Likewise.
22699 [C99-based-standards] (SCNiFAST8): Likewise.
22700 [C99-based-standards] (SCNoFAST8): Likewise.
22701 [C99-based-standards] (SCNuFAST8): Likewise.
22702 [C99-based-standards] (SCNxFAST8): Likewise.
22703 [C99-based-standards] (PRId16): Likewise.
22704 [C99-based-standards] (PRIi16): Likewise.
22705 [C99-based-standards] (PRIo16): Likewise.
22706 [C99-based-standards] (PRIu16): Likewise.
22707 [C99-based-standards] (PRIx16): Likewise.
22708 [C99-based-standards] (PRIX16): Likewise.
22709 [C99-based-standards] (SCNd16): Likewise.
22710 [C99-based-standards] (SCNi16): Likewise.
22711 [C99-based-standards] (SCNo16): Likewise.
22712 [C99-based-standards] (SCNu16): Likewise.
22713 [C99-based-standards] (SCNx16): Likewise.
22714 [C99-based-standards] (PRIdLEAST16): Likewise.
22715 [C99-based-standards] (PRIiLEAST16): Likewise.
22716 [C99-based-standards] (PRIoLEAST16): Likewise.
22717 [C99-based-standards] (PRIuLEAST16): Likewise.
22718 [C99-based-standards] (PRIxLEAST16): Likewise.
22719 [C99-based-standards] (PRIXLEAST16): Likewise.
22720 [C99-based-standards] (SCNdLEAST16): Likewise.
22721 [C99-based-standards] (SCNiLEAST16): Likewise.
22722 [C99-based-standards] (SCNoLEAST16): Likewise.
22723 [C99-based-standards] (SCNuLEAST16): Likewise.
22724 [C99-based-standards] (SCNxLEAST16): Likewise.
22725 [C99-based-standards] (PRIdFAST16): Likewise.
22726 [C99-based-standards] (PRIiFAST16): Likewise.
22727 [C99-based-standards] (PRIoFAST16): Likewise.
22728 [C99-based-standards] (PRIuFAST16): Likewise.
22729 [C99-based-standards] (PRIxFAST16): Likewise.
22730 [C99-based-standards] (PRIXFAST16): Likewise.
22731 [C99-based-standards] (SCNdFAST16): Likewise.
22732 [C99-based-standards] (SCNiFAST16): Likewise.
22733 [C99-based-standards] (SCNoFAST16): Likewise.
22734 [C99-based-standards] (SCNuFAST16): Likewise.
22735 [C99-based-standards] (SCNxFAST16): Likewise.
22736 [C99-based-standards] (PRId32): Likewise.
22737 [C99-based-standards] (PRIi32): Likewise.
22738 [C99-based-standards] (PRIo32): Likewise.
22739 [C99-based-standards] (PRIu32): Likewise.
22740 [C99-based-standards] (PRIx32): Likewise.
22741 [C99-based-standards] (PRIX32): Likewise.
22742 [C99-based-standards] (SCNd32): Likewise.
22743 [C99-based-standards] (SCNi32): Likewise.
22744 [C99-based-standards] (SCNo32): Likewise.
22745 [C99-based-standards] (SCNu32): Likewise.
22746 [C99-based-standards] (SCNx32): Likewise.
22747 [C99-based-standards] (PRIdLEAST32): Likewise.
22748 [C99-based-standards] (PRIiLEAST32): Likewise.
22749 [C99-based-standards] (PRIoLEAST32): Likewise.
22750 [C99-based-standards] (PRIuLEAST32): Likewise.
22751 [C99-based-standards] (PRIxLEAST32): Likewise.
22752 [C99-based-standards] (PRIXLEAST32): Likewise.
22753 [C99-based-standards] (SCNdLEAST32): Likewise.
22754 [C99-based-standards] (SCNiLEAST32): Likewise.
22755 [C99-based-standards] (SCNoLEAST32): Likewise.
22756 [C99-based-standards] (SCNuLEAST32): Likewise.
22757 [C99-based-standards] (SCNxLEAST32): Likewise.
22758 [C99-based-standards] (PRIdFAST32): Likewise.
22759 [C99-based-standards] (PRIiFAST32): Likewise.
22760 [C99-based-standards] (PRIoFAST32): Likewise.
22761 [C99-based-standards] (PRIuFAST32): Likewise.
22762 [C99-based-standards] (PRIxFAST32): Likewise.
22763 [C99-based-standards] (PRIXFAST32): Likewise.
22764 [C99-based-standards] (SCNdFAST32): Likewise.
22765 [C99-based-standards] (SCNiFAST32): Likewise.
22766 [C99-based-standards] (SCNoFAST32): Likewise.
22767 [C99-based-standards] (SCNuFAST32): Likewise.
22768 [C99-based-standards] (SCNxFAST32): Likewise.
22769 [C99-based-standards] (PRId64): Likewise.
22770 [C99-based-standards] (PRIi64): Likewise.
22771 [C99-based-standards] (PRIo64): Likewise.
22772 [C99-based-standards] (PRIu64): Likewise.
22773 [C99-based-standards] (PRIx64): Likewise.
22774 [C99-based-standards] (PRIX64): Likewise.
22775 [C99-based-standards] (SCNd64): Likewise.
22776 [C99-based-standards] (SCNi64): Likewise.
22777 [C99-based-standards] (SCNo64): Likewise.
22778 [C99-based-standards] (SCNu64): Likewise.
22779 [C99-based-standards] (SCNx64): Likewise.
22780 [C99-based-standards] (PRIdLEAST64): Likewise.
22781 [C99-based-standards] (PRIiLEAST64): Likewise.
22782 [C99-based-standards] (PRIoLEAST64): Likewise.
22783 [C99-based-standards] (PRIuLEAST64): Likewise.
22784 [C99-based-standards] (PRIxLEAST64): Likewise.
22785 [C99-based-standards] (PRIXLEAST64): Likewise.
22786 [C99-based-standards] (SCNdLEAST64): Likewise.
22787 [C99-based-standards] (SCNiLEAST64): Likewise.
22788 [C99-based-standards] (SCNoLEAST64): Likewise.
22789 [C99-based-standards] (SCNuLEAST64): Likewise.
22790 [C99-based-standards] (SCNxLEAST64): Likewise.
22791 [C99-based-standards] (PRIdFAST64): Likewise.
22792 [C99-based-standards] (PRIiFAST64): Likewise.
22793 [C99-based-standards] (PRIoFAST64): Likewise.
22794 [C99-based-standards] (PRIuFAST64): Likewise.
22795 [C99-based-standards] (PRIxFAST64): Likewise.
22796 [C99-based-standards] (PRIXFAST64): Likewise.
22797 [C99-based-standards] (SCNdFAST64): Likewise.
22798 [C99-based-standards] (SCNiFAST64): Likewise.
22799 [C99-based-standards] (SCNoFAST64): Likewise.
22800 [C99-based-standards] (SCNuFAST64): Likewise.
22801 [C99-based-standards] (SCNxFAST64): Likewise.
22802 [C99-based-standards] (PRIdMAX): Likewise.
22803 [C99-based-standards] (PRIiMAX): Likewise.
22804 [C99-based-standards] (PRIoMAX): Likewise.
22805 [C99-based-standards] (PRIuMAX): Likewise.
22806 [C99-based-standards] (PRIxMAX): Likewise.
22807 [C99-based-standards] (PRIXMAX): Likewise.
22808 [C99-based-standards] (SCNdMAX): Likewise.
22809 [C99-based-standards] (SCNiMAX): Likewise.
22810 [C99-based-standards] (SCNoMAX): Likewise.
22811 [C99-based-standards] (SCNuMAX): Likewise.
22812 [C99-based-standards] (SCNxMAX): Likewise.
22813 [C99-based-standards] (PRIdPTR): Likewise.
22814 [C99-based-standards] (PRIiPTR): Likewise.
22815 [C99-based-standards] (PRIoPTR): Likewise.
22816 [C99-based-standards] (PRIuPTR): Likewise.
22817 [C99-based-standards] (PRIxPTR): Likewise.
22818 [C99-based-standards] (PRIXPTR): Likewise.
22819 [C99-based-standards] (SCNdPTR): Likewise.
22820 [C99-based-standards] (SCNiPTR): Likewise.
22821 [C99-based-standards] (SCNoPTR): Likewise.
22822 [C99-based-standards] (SCNuPTR): Likewise.
22823 [C99-based-standards] (SCNxPTR): Likewise.
22824 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22825 allow.
22826 * conform/data/stdint.h-data: Update comments to clarify
22827 requirements.
22828 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22829 type.
22830 [C99-based standards] (INT8_MAX): Likewise.
22831 [C99-based standards] (INT16_MIN): Likewise.
22832 [C99-based standards] (INT16_MAX): Likewise.
22833 [C99-based standards] (INT32_MIN): Likewise.
22834 [C99-based standards] (INT32_MAX): Likewise.
22835 [C99-based standards] (INT64_MIN): Likewise.
22836 [C99-based standards] (INT64_MAX): Likewise.
22837 [C99-based standards] (UINT8_MAX): Likewise.
22838 [C99-based standards] (UINT16_MAX): Likewise.
22839 [C99-based standards] (UINT32_MAX): Likewise.
22840 [C99-based standards] (UINT64_MAX): Likewise.
22841 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22842 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22843 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22844 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22845 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22846 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22847 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22848 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22849 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22850 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22851 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22852 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22853 [C99-based standards] (INT_FAST8_MIN): Likewise.
22854 [C99-based standards] (INT_FAST8_MAX): Likewise.
22855 [C99-based standards] (INT_FAST16_MIN): Likewise.
22856 [C99-based standards] (INT_FAST16_MAX): Likewise.
22857 [C99-based standards] (INT_FAST32_MIN): Likewise.
22858 [C99-based standards] (INT_FAST32_MAX): Likewise.
22859 [C99-based standards] (INT_FAST64_MIN): Likewise.
22860 [C99-based standards] (INT_FAST64_MAX): Likewise.
22861 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22862 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22863 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22864 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22865 [C99-based standards] (INTPTR_MIN): Likewise.
22866 [C99-based standards] (INTPTR_MAX): Likewise.
22867 [C99-based standards] (UINTPTR_MAX): Likewise.
22868 [C99-based standards] (INTMAX_MIN): Likewise.
22869 [C99-based standards] (INTMAX_MAX): Likewise.
22870 [C99-based standards] (UINTMAX_MAX): Likewise.
22871 [C99-based standards] (PTRDIFF_MIN): Likewise.
22872 [C99-based standards] (PTRDIFF_MAX): Likewise.
22873 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22874 [C99-based standards] (SIZE_MAX): Likewise.
22875 [C99-based standards] (WCHAR_MAX): Likewise.
22876 [C99-based standards] (WINT_MAX): Likewise.
22877 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22878 constraint on value.
22879 [C99-based standards] (WCHAR_MIN): Likewise.
22880 [C99-based standards] (WINT_MIN): Likewise.
22881 [C99-based standards] (*_t): Allow.
22882 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22883 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22884 Include math.h-data and complex.h-data. Remove all expectations
22885 of math.h and complex.h contents.
22886 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22887 at end of line.
22888 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22889 (struct tm): Expect tag.
22890 [C99-based-standards] (wcstof): Expect function.
22891 [C99-based-standards] (wcstold): Likewise.
22892 [C99-based-standards] (wcstoll): Likewise.
22893 [C99-based-standards] (wcstoull): Likewise.
22894 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22895 macro-int-constant. Specify type.
22896 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22897 constraint on value.
22898 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22899 Specify type.
22900 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22901 Specify value.
22902 [ISO C standards]: Do not allow headers.
22903 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22904 wcs[abcdefghijklmnopqrstuvwxyz]*.
22905 [ISO C standards] (*_t): Do not allow.
22906 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22907 Expect function.
22908 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22909 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22910 Specify type.
22911 [ISO C standards]: Do not allow headers.
22912 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22913 is[abcdefghijklmnopqrstuvwxyz]*.
22914 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22915 to[abcdefghijklmnopqrstuvwxyz]*.
22916 [ISO C standards] (*_t): Do not allow.
22917 * conform/data/stdalign.h-data: New file.
22918 * conform/data/stdbool.h-data: Likewise.
22919 * conform/data/stdnoreturn.h-data: Likewise.
22920
7514feb8
RM
229212012-11-07 Roland McGrath <roland@hack.frob.com>
22922
22923 [BZ #14815]
22924 * manual/filesys.texi (Directory Entries): Typo fix.
22925 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22926
19b2ecfc
MS
229272012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22928
22929 * elf/elf.h (EM_AARCH64): New macro.
22930 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22931 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22932 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22933 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22934 (R_AARCH64_TLSDESC): Likewise.
22935 (NT_ARM_TLS): Likewise.
22936 (NT_ARM_HW_BREAK): Likewise.
22937 (NT_ARM_HW_WATCH): Likewise.
22938
60e235ee
JM
229392012-11-07 Joseph Myers <joseph@codesourcery.com>
22940
22941 [BZ #14811]
22942 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22943 (__ieee754_powl): Saturate nonzero exponents with absolute value
22944 below 0x1p-79 to +/- 0x1p-79.
22945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22946 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22947 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22948 nonzero exponents with absolute value below 0x1p-32 to +/-
22949 0x1p-32.
22950 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22951 (__ieee754_powl): Saturate nonzero exponents with absolute value
22952 below 0x1p-79 to +/- 0x1p-79.
22953 * math/libm-test.inc (pow_test): Add more tests.
22954
0ab234b7
AK
229552012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22956
22957 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22958 _dl_s390_cap_flags with kernel. Increase string length.
22959 (_dl_s390_platforms): Add z196 and zEC12.
22960
45832f74
JM
229612012-11-07 Joseph Myers <joseph@codesourcery.com>
22962
22963 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22964 Change XOPEN21K to XOPEN2K.
22965
19218757
MK
229662012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22967
22968 * string/memmove.c: Use memcpy when possible.
22969
c5f45721
AJ
229702012-11-06 Andreas Jaeger <aj@suse.de>
22971
22972 * po/eo.po: Update from translation team.
22973
82477c28
JM
229742012-11-06 Joseph Myers <joseph@codesourcery.com>
22975
22976 [BZ #14793]
22977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22978 exponent and small x and y exponents, scale x or y up. Increase
22979 by 2 the exponent used in scaling up.
22980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22982 * math/libm-test.inc (fma_test): Add more tests.
22983 (fma_test_towardzero): Likewise.
22984 (fma_test_downward): Likewise.
22985 (fma_test_upward): Likewise.
22986
99252c8c
JM
229872012-11-05 Joseph Myers <joseph@codesourcery.com>
22988
acfa885f
JM
22989 [BZ #14805]
22990 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22991 fenv_t *.
22992
99252c8c
JM
22993 [BZ #14801]
22994 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22995 namespace for names of struct fields.
22996 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22997 fenv_t fields.
22998 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22999 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23000
d6d98dea
ST
230012012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23002
23003 [BZ #3665]
23004 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23005
e10bb107
TS
230062012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23007
23008 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23009 PTR_DEMANGLE.
23010
23011 [BZ #5246]
23012 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23013 PTR_DEMANGLE.
23014
a0c2940d
JM
230152012-11-04 Joseph Myers <joseph@codesourcery.com>
23016
23017 [BZ #14797]
23018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23019 definitely overflow as x * y not x * y + z.
23020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23022 * math/libm-test.inc (fma_test): Add more tests.
23023 (fma_test_towardzero): Likewise.
23024 (fma_test_downward): Likewise.
23025 (fma_test_upward): Likewise.
23026
b830319d
TS
230272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23028
23029 [BZ #157]
23030
23031 * include/stub-tag.h: Remove file.
23032 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23033 '#include' of it.
23034 * manual/maint.texi (Porting): Don't reference it.
23035 * Makerules ($(objpfx)stubs): Likewise.
23036 * dirent/closedir.c: Don't include <stub-tag.h>.
23037 * dirent/dirfd.c: Likewise.
23038 * dirent/fdopendir.c: Likewise.
23039 * dirent/getdents.c: Likewise.
23040 * dirent/getdents64.c: Likewise.
23041 * dirent/opendir.c: Likewise.
23042 * dirent/readdir.c: Likewise.
23043 * dirent/readdir64.c: Likewise.
23044 * dirent/readdir64_r.c: Likewise.
23045 * dirent/readdir_r.c: Likewise.
23046 * dirent/rewinddir.c: Likewise.
23047 * dirent/seekdir.c: Likewise.
23048 * dirent/telldir.c: Likewise.
23049 * gmon/profil.c: Likewise.
23050 * grp/setgroups.c: Likewise.
23051 * inet/if_index.c: Likewise.
23052 * io/access.c: Likewise.
23053 * io/chdir.c: Likewise.
23054 * io/chmod.c: Likewise.
23055 * io/chown.c: Likewise.
23056 * io/close.c: Likewise.
23057 * io/dup.c: Likewise.
23058 * io/dup2.c: Likewise.
23059 * io/dup3.c: Likewise.
23060 * io/euidaccess.c: Likewise.
23061 * io/faccessat.c: Likewise.
23062 * io/fchdir.c: Likewise.
23063 * io/fchmod.c: Likewise.
23064 * io/fchmodat.c: Likewise.
23065 * io/fchown.c: Likewise.
23066 * io/fchownat.c: Likewise.
23067 * io/fcntl.c: Likewise.
23068 * io/flock.c: Likewise.
23069 * io/fstatfs.c: Likewise.
23070 * io/fstatfs64.c: Likewise.
23071 * io/fstatvfs.c: Likewise.
23072 * io/fstatvfs64.c: Likewise.
23073 * io/futimens.c: Likewise.
23074 * io/fxstat.c: Likewise.
23075 * io/fxstat64.c: Likewise.
23076 * io/fxstatat.c: Likewise.
23077 * io/fxstatat64.c: Likewise.
23078 * io/getcwd.c: Likewise.
23079 * io/isatty.c: Likewise.
23080 * io/lchmod.c: Likewise.
23081 * io/lchown.c: Likewise.
23082 * io/link.c: Likewise.
23083 * io/linkat.c: Likewise.
23084 * io/lseek.c: Likewise.
23085 * io/lseek64.c: Likewise.
23086 * io/lxstat64.c: Likewise.
23087 * io/mkdir.c: Likewise.
23088 * io/mkdirat.c: Likewise.
23089 * io/mkfifo.c: Likewise.
23090 * io/mkfifoat.c: Likewise.
23091 * io/open.c: Likewise.
23092 * io/open64.c: Likewise.
23093 * io/openat.c: Likewise.
23094 * io/openat64.c: Likewise.
23095 * io/pipe.c: Likewise.
23096 * io/pipe2.c: Likewise.
23097 * io/poll.c: Likewise.
23098 * io/posix_fadvise.c: Likewise.
23099 * io/posix_fadvise64.c: Likewise.
23100 * io/posix_fallocate.c: Likewise.
23101 * io/posix_fallocate64.c: Likewise.
23102 * io/read.c: Likewise.
23103 * io/readlink.c: Likewise.
23104 * io/readlinkat.c: Likewise.
23105 * io/rmdir.c: Likewise.
23106 * io/sendfile.c: Likewise.
23107 * io/sendfile64.c: Likewise.
23108 * io/statfs.c: Likewise.
23109 * io/statfs64.c: Likewise.
23110 * io/statvfs.c: Likewise.
23111 * io/statvfs64.c: Likewise.
23112 * io/symlink.c: Likewise.
23113 * io/symlinkat.c: Likewise.
23114 * io/ttyname.c: Likewise.
23115 * io/ttyname_r.c: Likewise.
23116 * io/umask.c: Likewise.
23117 * io/unlink.c: Likewise.
23118 * io/unlinkat.c: Likewise.
23119 * io/utime.c: Likewise.
23120 * io/utimensat.c: Likewise.
23121 * io/write.c: Likewise.
23122 * io/xmknod.c: Likewise.
23123 * io/xmknodat.c: Likewise.
23124 * io/xstat.c: Likewise.
23125 * io/xstat64.c: Likewise.
23126 * login/getpt.c: Likewise.
23127 * login/grantpt.c: Likewise.
23128 * login/unlockpt.c: Likewise.
23129 * math/e_acoshl.c: Likewise.
23130 * math/e_acosl.c: Likewise.
23131 * math/e_asinl.c: Likewise.
23132 * math/e_atan2l.c: Likewise.
23133 * math/e_atanhl.c: Likewise.
23134 * math/e_coshl.c: Likewise.
23135 * math/e_expl.c: Likewise.
23136 * math/e_fmodl.c: Likewise.
23137 * math/e_gammal_r.c: Likewise.
23138 * math/e_hypotl.c: Likewise.
23139 * math/e_j0l.c: Likewise.
23140 * math/e_j1l.c: Likewise.
23141 * math/e_jnl.c: Likewise.
23142 * math/e_lgammal_r.c: Likewise.
23143 * math/e_log10l.c: Likewise.
23144 * math/e_log2l.c: Likewise.
23145 * math/e_logl.c: Likewise.
23146 * math/e_powl.c: Likewise.
23147 * math/e_rem_pio2l.c: Likewise.
23148 * math/e_sinhl.c: Likewise.
23149 * math/e_sqrtl.c: Likewise.
23150 * math/fclrexcpt.c: Likewise.
23151 * math/fedisblxcpt.c: Likewise.
23152 * math/feenablxcpt.c: Likewise.
23153 * math/fegetenv.c: Likewise.
23154 * math/fegetexcept.c: Likewise.
23155 * math/fegetround.c: Likewise.
23156 * math/feholdexcpt.c: Likewise.
23157 * math/fesetenv.c: Likewise.
23158 * math/fesetround.c: Likewise.
23159 * math/feupdateenv.c: Likewise.
23160 * math/fgetexcptflg.c: Likewise.
23161 * math/fraiseexcpt.c: Likewise.
23162 * math/fsetexcptflg.c: Likewise.
23163 * math/ftestexcept.c: Likewise.
23164 * math/k_cosl.c: Likewise.
23165 * math/k_rem_pio2l.c: Likewise.
23166 * math/k_sinl.c: Likewise.
23167 * math/k_tanl.c: Likewise.
23168 * math/s_asinhl.c: Likewise.
23169 * math/s_atanl.c: Likewise.
23170 * math/s_cbrtl.c: Likewise.
23171 * math/s_erfl.c: Likewise.
23172 * math/s_expm1l.c: Likewise.
23173 * math/s_log1pl.c: Likewise.
23174 * math/s_tanhl.c: Likewise.
23175 * misc/acct.c: Likewise.
23176 * misc/brk.c: Likewise.
23177 * misc/chflags.c: Likewise.
23178 * misc/chroot.c: Likewise.
23179 * misc/fchflags.c: Likewise.
23180 * misc/fgetxattr.c: Likewise.
23181 * misc/flistxattr.c: Likewise.
23182 * misc/fremovexattr.c: Likewise.
23183 * misc/fsetxattr.c: Likewise.
23184 * misc/fsync.c: Likewise.
23185 * misc/ftruncate.c: Likewise.
23186 * misc/futimes.c: Likewise.
23187 * misc/futimesat.c: Likewise.
23188 * misc/getdomain.c: Likewise.
23189 * misc/getdtsz.c: Likewise.
23190 * misc/gethostid.c: Likewise.
23191 * misc/gethostname.c: Likewise.
23192 * misc/getloadavg.c: Likewise.
23193 * misc/getpagesize.c: Likewise.
23194 * misc/getsysstats.c: Likewise.
23195 * misc/getxattr.c: Likewise.
23196 * misc/gtty.c: Likewise.
23197 * misc/ioctl.c: Likewise.
23198 * misc/lgetxattr.c: Likewise.
23199 * misc/listxattr.c: Likewise.
23200 * misc/llistxattr.c: Likewise.
23201 * misc/lremovexattr.c: Likewise.
23202 * misc/lsetxattr.c: Likewise.
23203 * misc/lutimes.c: Likewise.
23204 * misc/madvise.c: Likewise.
23205 * misc/mincore.c: Likewise.
23206 * misc/mlock.c: Likewise.
23207 * misc/mlockall.c: Likewise.
23208 * misc/mmap.c: Likewise.
23209 * misc/mprotect.c: Likewise.
23210 * misc/msync.c: Likewise.
23211 * misc/munlock.c: Likewise.
23212 * misc/munlockall.c: Likewise.
23213 * misc/munmap.c: Likewise.
23214 * misc/preadv.c: Likewise.
23215 * misc/preadv64.c: Likewise.
23216 * misc/ptrace.c: Likewise.
23217 * misc/pwritev.c: Likewise.
23218 * misc/pwritev64.c: Likewise.
23219 * misc/readv.c: Likewise.
23220 * misc/reboot.c: Likewise.
23221 * misc/remap_file_pages.c: Likewise.
23222 * misc/removexattr.c: Likewise.
23223 * misc/revoke.c: Likewise.
23224 * misc/select.c: Likewise.
23225 * misc/setdomain.c: Likewise.
23226 * misc/setegid.c: Likewise.
23227 * misc/seteuid.c: Likewise.
23228 * misc/sethostid.c: Likewise.
23229 * misc/sethostname.c: Likewise.
23230 * misc/setregid.c: Likewise.
23231 * misc/setreuid.c: Likewise.
23232 * misc/setxattr.c: Likewise.
23233 * misc/sstk.c: Likewise.
23234 * misc/stty.c: Likewise.
23235 * misc/swapoff.c: Likewise.
23236 * misc/swapon.c: Likewise.
23237 * misc/sync.c: Likewise.
23238 * misc/syncfs.c: Likewise.
23239 * misc/syscall.c: Likewise.
23240 * misc/truncate.c: Likewise.
23241 * misc/ualarm.c: Likewise.
23242 * misc/usleep.c: Likewise.
23243 * misc/ustat.c: Likewise.
23244 * misc/utimes.c: Likewise.
23245 * misc/vhangup.c: Likewise.
23246 * misc/writev.c: Likewise.
23247 * posix/_exit.c: Likewise.
23248 * posix/alarm.c: Likewise.
23249 * posix/execve.c: Likewise.
23250 * posix/fexecve.c: Likewise.
23251 * posix/fork.c: Likewise.
23252 * posix/fpathconf.c: Likewise.
23253 * posix/getaddrinfo.c: Likewise.
23254 * posix/getegid.c: Likewise.
23255 * posix/geteuid.c: Likewise.
23256 * posix/getgid.c: Likewise.
23257 * posix/getgroups.c: Likewise.
23258 * posix/getlogin.c: Likewise.
23259 * posix/getlogin_r.c: Likewise.
23260 * posix/getpgid.c: Likewise.
23261 * posix/getpid.c: Likewise.
23262 * posix/getppid.c: Likewise.
23263 * posix/getresgid.c: Likewise.
23264 * posix/getresuid.c: Likewise.
23265 * posix/getsid.c: Likewise.
23266 * posix/getuid.c: Likewise.
23267 * posix/glob64.c: Likewise.
23268 * posix/nanosleep.c: Likewise.
23269 * posix/pathconf.c: Likewise.
23270 * posix/pause.c: Likewise.
23271 * posix/posix_madvise.c: Likewise.
23272 * posix/pread.c: Likewise.
23273 * posix/pread64.c: Likewise.
23274 * posix/pwrite.c: Likewise.
23275 * posix/pwrite64.c: Likewise.
23276 * posix/sched_getaffinity.c: Likewise.
23277 * posix/sched_getp.c: Likewise.
23278 * posix/sched_gets.c: Likewise.
23279 * posix/sched_primax.c: Likewise.
23280 * posix/sched_primin.c: Likewise.
23281 * posix/sched_rr_gi.c: Likewise.
23282 * posix/sched_setaffinity.c: Likewise.
23283 * posix/sched_setp.c: Likewise.
23284 * posix/sched_sets.c: Likewise.
23285 * posix/sched_yield.c: Likewise.
23286 * posix/setgid.c: Likewise.
23287 * posix/setlogin.c: Likewise.
23288 * posix/setpgid.c: Likewise.
23289 * posix/setresgid.c: Likewise.
23290 * posix/setresuid.c: Likewise.
23291 * posix/setsid.c: Likewise.
23292 * posix/setuid.c: Likewise.
23293 * posix/sleep.c: Likewise.
23294 * posix/spawni.c: Likewise.
23295 * posix/sysconf.c: Likewise.
23296 * posix/times.c: Likewise.
23297 * posix/wait.c: Likewise.
23298 * posix/wait3.c: Likewise.
23299 * posix/wait4.c: Likewise.
23300 * posix/waitpid.c: Likewise.
23301 * resolv/gai_sigqueue.c: Likewise.
23302 * resource/getpriority.c: Likewise.
23303 * resource/getrlimit.c: Likewise.
23304 * resource/getrusage.c: Likewise.
23305 * resource/nice.c: Likewise.
23306 * resource/setpriority.c: Likewise.
23307 * resource/setrlimit.c: Likewise.
23308 * resource/ulimit.c: Likewise.
23309 * rt/aio_cancel.c: Likewise.
23310 * rt/aio_fsync.c: Likewise.
23311 * rt/aio_read.c: Likewise.
23312 * rt/aio_sigqueue.c: Likewise.
23313 * rt/aio_suspend.c: Likewise.
23314 * rt/aio_write.c: Likewise.
23315 * rt/clock_getres.c: Likewise.
23316 * rt/clock_gettime.c: Likewise.
23317 * rt/clock_nanosleep.c: Likewise.
23318 * rt/clock_settime.c: Likewise.
23319 * rt/lio_listio.c: Likewise.
23320 * rt/mq_close.c: Likewise.
23321 * rt/mq_getattr.c: Likewise.
23322 * rt/mq_notify.c: Likewise.
23323 * rt/mq_open.c: Likewise.
23324 * rt/mq_receive.c: Likewise.
23325 * rt/mq_send.c: Likewise.
23326 * rt/mq_setattr.c: Likewise.
23327 * rt/mq_timedreceive.c: Likewise.
23328 * rt/mq_timedsend.c: Likewise.
23329 * rt/mq_unlink.c: Likewise.
23330 * rt/shm_open.c: Likewise.
23331 * rt/shm_unlink.c: Likewise.
23332 * rt/timer_create.c: Likewise.
23333 * rt/timer_delete.c: Likewise.
23334 * rt/timer_getoverr.c: Likewise.
23335 * rt/timer_gettime.c: Likewise.
23336 * rt/timer_settime.c: Likewise.
23337 * setjmp/__longjmp.c: Likewise.
23338 * setjmp/setjmp.c: Likewise.
23339 * signal/kill.c: Likewise.
23340 * signal/killpg.c: Likewise.
23341 * signal/raise.c: Likewise.
23342 * signal/sigaction.c: Likewise.
23343 * signal/sigaltstack.c: Likewise.
23344 * signal/sigblock.c: Likewise.
23345 * signal/sigignore.c: Likewise.
23346 * signal/sigintr.c: Likewise.
23347 * signal/signal.c: Likewise.
23348 * signal/sigpause.c: Likewise.
23349 * signal/sigpending.c: Likewise.
23350 * signal/sigqueue.c: Likewise.
23351 * signal/sigreturn.c: Likewise.
23352 * signal/sigset.c: Likewise.
23353 * signal/sigsetmask.c: Likewise.
23354 * signal/sigstack.c: Likewise.
23355 * signal/sigsuspend.c: Likewise.
23356 * signal/sigtimedwait.c: Likewise.
23357 * signal/sigvec.c: Likewise.
23358 * signal/sigwait.c: Likewise.
23359 * signal/sigwaitinfo.c: Likewise.
23360 * signal/sysv_signal.c: Likewise.
23361 * socket/accept.c: Likewise.
23362 * socket/accept4.c: Likewise.
23363 * socket/bind.c: Likewise.
23364 * socket/connect.c: Likewise.
23365 * socket/getpeername.c: Likewise.
23366 * socket/getsockname.c: Likewise.
23367 * socket/getsockopt.c: Likewise.
23368 * socket/isfdtype.c: Likewise.
23369 * socket/listen.c: Likewise.
23370 * socket/recv.c: Likewise.
23371 * socket/recvfrom.c: Likewise.
23372 * socket/recvmsg.c: Likewise.
23373 * socket/send.c: Likewise.
23374 * socket/sendmsg.c: Likewise.
23375 * socket/sendto.c: Likewise.
23376 * socket/setsockopt.c: Likewise.
23377 * socket/shutdown.c: Likewise.
23378 * socket/sockatmark.c: Likewise.
23379 * socket/socket.c: Likewise.
23380 * socket/socketpair.c: Likewise.
23381 * stdio-common/ctermid.c: Likewise.
23382 * stdio-common/cuserid.c: Likewise.
23383 * stdio-common/remove.c: Likewise.
23384 * stdio-common/rename.c: Likewise.
23385 * stdio-common/renameat.c: Likewise.
23386 * stdio-common/tempname.c: Likewise.
23387 * stdlib/getcontext.c: Likewise.
23388 * stdlib/makecontext.c: Likewise.
23389 * stdlib/setcontext.c: Likewise.
23390 * stdlib/swapcontext.c: Likewise.
23391 * stdlib/system.c: Likewise.
23392 * streams/fattach.c: Likewise.
23393 * streams/fdetach.c: Likewise.
23394 * streams/getmsg.c: Likewise.
23395 * streams/getpmsg.c: Likewise.
23396 * streams/putmsg.c: Likewise.
23397 * streams/putpmsg.c: Likewise.
23398 * sysdeps/unix/bsd/getpt.c: Likewise.
23399 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23400 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23401 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23403 Likewise.
23404 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23405 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23406 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23407 * sysvipc/msgctl.c: Likewise.
23408 * sysvipc/msgget.c: Likewise.
23409 * sysvipc/msgrcv.c: Likewise.
23410 * sysvipc/msgsnd.c: Likewise.
23411 * sysvipc/semctl.c: Likewise.
23412 * sysvipc/semget.c: Likewise.
23413 * sysvipc/semop.c: Likewise.
23414 * sysvipc/semtimedop.c: Likewise.
23415 * sysvipc/shmat.c: Likewise.
23416 * sysvipc/shmctl.c: Likewise.
23417 * sysvipc/shmdt.c: Likewise.
23418 * sysvipc/shmget.c: Likewise.
23419 * termios/tcdrain.c: Likewise.
23420 * termios/tcflow.c: Likewise.
23421 * termios/tcflush.c: Likewise.
23422 * termios/tcgetattr.c: Likewise.
23423 * termios/tcgetpgrp.c: Likewise.
23424 * termios/tcsendbrk.c: Likewise.
23425 * termios/tcsetattr.c: Likewise.
23426 * termios/tcsetpgrp.c: Likewise.
23427 * time/adjtime.c: Likewise.
23428 * time/clock.c: Likewise.
23429 * time/getitimer.c: Likewise.
23430 * time/gettimeofday.c: Likewise.
23431 * time/setitimer.c: Likewise.
23432 * time/settimeofday.c: Likewise.
23433 * time/stime.c: Likewise.
23434 * time/time.c: Likewise.
23435
234362012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23437
a20492cf
PT
23438 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23439 /usr/old/bin.
23440
72e182e3
PT
23441 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23442 instead of spaces.
23443 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23444
fbeafede
JM
234452012-11-03 Joseph Myers <joseph@codesourcery.com>
23446
5b5b04d6
JM
23447 [BZ #14796]
23448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23449 FE_TONEAREST before applying Dekker multiplication and Knuth
23450 addition. Clear inexact exceptions and check for exact zero
23451 results afterwards.
23452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23455 * math/libm-test.inc (fma_test): Add more tests.
23456 (fma_test_towardzero): Likewise.
23457 (fma_test_downward): Likewise.
23458 (fma_test_upward): Likewise.
23459 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23460 function.
23461 (libc_fesetround): New macro.
23462 (libc_fesetroundf): Likewise.
23463 (libc_fesetroundl): Likewise.
23464 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23465 function.
23466 (libc_fesetround_387): Likewise.
23467 (libc_fesetroundf): New macro.
23468 (libc_fesetround): Likewise.
23469 (libc_fesetroundl): Likewise.
23470 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23471 function.
23472 (libc_fesetroundf): New macro.
23473 (libc_fesetround): Likewise.
23474 (libc_fesetroundl): Likewise.
23475 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23476 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23477 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23478 libm_hidden_ver.
23479 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23480 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23481 libm_hidden_def.
23482 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23483 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23484 libm_hidden_ver.
23485 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23486 libm_hidden_def.
23487
fbeafede
JM
23488 [BZ #3439]
23489 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23490 integer constant usable in #if and use that to give value to enum
23491 constant.
23492 (FE_DIVBYZERO): Likewise.
23493 (FE_UNDERFLOW): Likewise.
23494 (FE_OVERFLOW): Likewise.
23495 (FE_INVALID): Likewise.
23496 (FE_INVALID_SNAN): Likewise.
23497 (FE_INVALID_ISI): Likewise.
23498 (FE_INVALID_IDI): Likewise.
23499 (FE_INVALID_ZDZ): Likewise.
23500 (FE_INVALID_IMZ): Likewise.
23501 (FE_INVALID_COMPARE): Likewise.
23502 (FE_INVALID_SOFTWARE): Likewise.
23503 (FE_INVALID_SQRT): Likewise.
23504 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23505 (FE_TONEAREST): Likewise.
23506 (FE_TOWARDZERO): Likewise.
23507 (FE_UPWARD): Likewise.
23508 (FE_DOWNWARD): Likewise.
23509 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23510 (FE_DIVBYZERO): Likewise.
23511 (FE_OVERFLOW): Likewise.
23512 (FE_UNDERFLOW): Likewise.
23513 (FE_INEXACT): Likewise.
23514 (FE_TONEAREST): Likewise.
23515 (FE_DOWNWARD): Likewise.
23516 (FE_UPWARD): Likewise.
23517 (FE_TOWARDZERO): Likewise.
23518 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23519 (FE_UNDERFLOW): Likewise.
23520 (FE_OVERFLOW): Likewise.
23521 (FE_DIVBYZERO): Likewise.
23522 (FE_INVALID): Likewise.
23523 (FE_TONEAREST): Likewise.
23524 (FE_TOWARDZERO): Likewise.
23525 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23526 (FE_OVERFLOW): Likewise.
23527 (FE_UNDERFLOW): Likewise.
23528 (FE_DIVBYZERO): Likewise.
23529 (FE_INEXACT): Likewise.
23530 (FE_TONEAREST): Likewise.
23531 (FE_TOWARDZERO): Likewise.
23532 (FE_UPWARD): Likewise.
23533 (FE_DOWNWARD): Likewise.
23534 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23535 (FE_DIVBYZERO): Likewise.
23536 (FE_OVERFLOW): Likewise.
23537 (FE_UNDERFLOW): Likewise.
23538 (FE_INEXACT): Likewise.
23539 (FE_TONEAREST): Likewise.
23540 (FE_DOWNWARD): Likewise.
23541 (FE_UPWARD): Likewise.
23542 (FE_TOWARDZERO): Likewise.
23543
105ca950
CM
235442012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23545
23546 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23547
a542b389
AS
235482012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23549
23550 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23551 commands. Quote $PWD.
23552 (blacklist_exports): Don't use remove_newlines. Replace "declare
23553 -x" by "export".
23554 (remove_newlines): Remove.
23555
f62c8abc
L
235562012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23557
23558 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23559 * stdlib/stdlib.h (atof): Moved to ...
23560 * include/bits/stdlib-float.h: Here. New file.
23561 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23562 * stdlib/bits/stdlib-float.h: New file.
23563 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23564 -mno-sse -mno-mmx.
23565 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23566 <xmmintrin.h>.
23567
0155d5b2
JM
235682012-11-02 Joseph Myers <joseph@codesourcery.com>
23569
a68d0680
JM
23570 * conform/conformtest.pl (@headers): Add fenv.h.
23571 * conform/data/fenv.h-data: New file.
23572 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23573 include of <math/fenv.h>.
23574
caf7f573
JM
23575 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23576 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23577 && !UNIX98]. Enables tests for XOPEN2K8.
23578 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23579 POSIX2008]: Likewise.
23580
6c073ad6
JM
23581 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23582 (struct rusage): Do not expect type or its members.
23583
0155d5b2
JM
23584 [BZ #3439]
23585 * math/math.h (FP_NAN): Define macro to integer constant usable in
23586 #if and use that to give value to enum constant.
23587 (FP_INFINITE): Likewise.
23588 (FP_ZERO): Likewise.
23589 (FP_SUBNORMAL): Likewise.
23590 (FP_NORMAL): Likewise.
23591
b5dcacb4
AS
235922012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23593
23594 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23595 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23596 arguments.
23597
f7934be8
RM
235982012-11-02 Roland McGrath <roland@hack.frob.com>
23599
23600 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23601 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23602 autoconf-time if not.
23603 * configure.in: Remove AC_PREREQ.
23604
d7d08bde
TMQMF
236052012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23606
23607 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23608 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23609 of the internal implementation.
23610
dcdae19a
JM
236112012-11-02 Joseph Myers <joseph@codesourcery.com>
23612
23613 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23614 except include of <misc/sys/syslog.h>.
23615
d6cffd3e
AS
236162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23617
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23619 function returns with a NULL context exit with zero.
23620
b3563932
TMQMF
236212012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23622
23623 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23624
b288a93d
L
236252012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23628 (run_program_cmd): This.
23629 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23630 (tst_langinfo): New variable. Use it.
23631
a2421a68
SAS
236322012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23633
23634 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23635 floating point opcodes.
23636
6f796e1b
TS
236372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23638
7402596b
TS
23639 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23640 variable.
23641
d0d4f868
TS
23642 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23643
6f796e1b
TS
23644 * sysdeps/mach/hurd/powerpc: Remove directory.
23645 * sysdeps/mach/powerpc: Likewise.
23646
4da224a2
AS
236472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23648
23649 * scripts/check-local-headers.sh: Ignore c++ headers.
23650
341dd673
TS
236512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23652
23653 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23654 __libc_cleanup_region_start argument.
23655
473611b2
JM
236562012-11-01 Joseph Myers <joseph@codesourcery.com>
23657
23658 [BZ #14784]
23659 [BZ #14785]
23660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23661 x * y using scaling, not as x * y + z.
23662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23664 * math/libm-test.inc (fma_test): Add more tests.
23665 (fma_test_towardzero): Likewise.
23666 (fma_test_downward): Likewise.
23667 (fma_test_upward): Likewise.
23668
4078da3d
TS
236692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23670
23671 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23672
903252aa
JM
236732012-10-31 Joseph Myers <joseph@codesourcery.com>
23674
23675 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23676 New variable.
23677
cbc818d0
TS
236782012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23679
23680 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23681
5a03cb1e
AS
236822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23683
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23685 Fix sort order.
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23687 Likewise.
23688
90aff2ff
TMQMF
236892012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23690
23691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23692 Fix the order of the list for glibc 2.17.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23694 Likewise.
23695
1818fcb7
AS
236962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23697
23698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23699
ef82f4da
JM
237002012-10-31 Joseph Myers <joseph@codesourcery.com>
23701
16a0e2ec
JM
23702 [BZ #14610]
23703 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23704 for low part of x being zero before using __atanl (y).
23705 * math/libm-test.inc (atan2_test): Add another test.
23706
0eb69512
JM
23707 * manual/install.texi (Configuring and compiling): Document
23708 general use of test-wrapper and test-wrapper-env.
23709 * INSTALL: Regenerated.
23710
ef82f4da
JM
23711 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23712 (__fma): Do not extract and scale down low bits on after-rounding
23713 systems when result rounded to normal precision would have normal
23714 exponent.
23715 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23716 (__fmal): Do not extract and scale down low bits on after-rounding
23717 systems when result rounded to normal precision would have normal
23718 exponent.
23719 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23720 (__fmal): Do not extract and scale down low bits on after-rounding
23721 systems when result rounded to normal precision would have normal
23722 exponent.
23723 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23724 macro.
23725 (fma_test): Add more tests.
23726 (fma_test_towardzero): Likewise.
23727 (fma_test_downward): Likewise.
23728 (fma_test_upward): Likewise.
23729
954ef0d9
L
237302012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23731
23732 * sysdeps/i386/tininess.h: Renamed to ...
23733 * sysdeps/x86/tininess.h: This.
23734 * sysdeps/x86_64/tininess.h: Removed.
23735
df61ffb2
JM
237362012-10-30 Joseph Myers <joseph@codesourcery.com>
23737
23738 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23739 input. Use $(build-program-cmd).
23740 ($(objpfx)tst-array1-static.out): Likewise.
23741 ($(objpfx)tst-array2.out): Likewise.
23742 ($(objpfx)tst-array3.out): Likewise.
23743 ($(objpfx)tst-array4.out): Likewise.
23744 ($(objpfx)tst-array5.out): Likewise.
23745 ($(objpfx)tst-array5-static.out): Likewise.
23746
01767843
CM
237472012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23748
47cc1490
CM
23749 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23750 if defined.
23751
01767843
CM
23752 * nss/nsswitch.h (nss_interface_function): Provide new
23753 macro for use with NSS functions.
23754 * grp/initgroups.c: Use new macro.
23755 * nss/getXXbyYY.c: Likewise.
23756 * nss/getXXbyYY_r.c: Likewise.
23757 * nss/getXXent.c: Likewise.
23758 * nss/getXXent_r.c: Likewise.
23759 * sysdeps/posix/getaddrinfo.c: Likewise.
23760
8321aa97
AJ
237612012-10-30 Andreas Jaeger <aj@suse.de>
23762
23763 * po/ru.po: Update Russion translation from translation project.
23764
2a27fd6d
JM
237652012-10-30 Joseph Myers <joseph@codesourcery.com>
23766
8627a232
JM
23767 [BZ #14152]
23768 [BZ #14783]
23769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23770 result and shift together with sticky bit instead of replicating
23771 round-to-nearest rounding.
23772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23774 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23775 missing underflow exceptions.
23776 (fma_test_towardzero): Add more tests.
23777 (fma_test_downward): Likewise.
23778 (fma_test_upward): Likewise.
23779
2a27fd6d
JM
23780 [BZ #14047]
23781 * sysdeps/generic/tininess.h: New file.
23782 * sysdeps/i386/tininess.h: Likewise.
23783 * sysdeps/sh/tininess.h: Likewise.
23784 * sysdeps/x86_64/tininess.h: Likewise.
23785 * stdlib/tst-strtod-underflow.c: Likewise.
23786 * stdlib/tst-tininess.c: Likewise.
23787 * stdlib/strtod_l.c: Include <tininess.h>.
23788 (round_and_return): Do not set errno for exact underflow cases.
23789 Force an underflow exception when setting errno for underflow.
23790 Determine underflow based on rounding to normal precision if
23791 TININESS_AFTER_ROUNDING.
23792 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23793 ERANGE for exact underflow cases.
23794 * stdlib/Makefile (tests): Add tst-tininess and
23795 tst-strtod-underflow.
23796 ($(objpfx)tst-tininess): Use $(link-libm).
23797 ($(objpfx)tst-strtod-underflow): Likewise.
23798
e7170363
AJ
237992012-10-30 Andreas Jaeger <aj@suse.de>
23800
e5088dc6
AJ
23801 [BZ#14767]
23802 * elf/Makefile (tests): Remove conditional for have-initfini-array
23803 since this is now always required and the variable does not exist
23804 anymore.
23805 (tests-static): Likewise.
23806 (modules-names): Likewise.
23807
e7170363 23808 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23809
23810 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23811 merged with constructor/destructor.
23812 (init_array): Likewise.
23813 * elf/tst-array2dep.c (fini_array): Likewise.
23814 (init_array): Likewise.
23815
60457d8a
MF
238162012-10-29 Mike Frysinger <vapier@gentoo.org>
23817
23818 * manual/message.texi: Delete @cartouche tags.
23819
8bece752
PT
238202012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23821
94ce799f
PT
23822 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23823 EOPNOTSUPP.
23824 * sysdeps/mach/hurd/fsync.c: Likewise.
23825
8bece752
PT
23826 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23827 [_POSIX_REALTIME_SIGNALS]: Change condition to
23828 [_POSIX_REALTIME_SIGNALS > 0].
23829
86ebe6b1
AJ
238302012-10-27 Andreas Jaeger <aj@suse.de>
23831
23832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23833 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23835 [__WORDSIZE != 64]: Likewise.
23836
54399c08
L
238372012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23838
23839 * iconvdata/tst-table.sh: Remove ${SHELL}.
23840 * iconvdata/tst-tables.sh: Likewise.
23841
e2211bed
DM
238422012-10-25 David S. Miller <davem@davemloft.net>
23843
23844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23845 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23846 of strtoull.
23847
f303f97c
DM
23848 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23849 ifunc-impl-list.c
23850 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23851 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23852 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23853 file.
23854
1e9d84cd
RM
238552012-10-25 Roland McGrath <roland@hack.frob.com>
23856
23857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23858 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23859 __getdirentries.
23860
df381762
JM
238612012-10-25 Joseph Myers <joseph@codesourcery.com>
23862 Jim Blandy <jimb@codesourcery.com>
23863
23864 * scripts/cross-test-ssh.sh: New file.
23865 * manual/install.texi (Configuring and compiling): Document use of
23866 cross-test-ssh.sh.
23867 * INSTALL: Regenerated.
23868
bff64913
PT
238692012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23870
23871 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23872 EOPNOTSUPP.
23873
25fe8932
JM
238742012-10-25 Joseph Myers <joseph@codesourcery.com>
23875
23876 * Makeconfig (run-program-prefix): Fix comment.
23877
cc1290d0
JM
238782012-10-24 Joseph Myers <joseph@codesourcery.com>
23879 Jim Blandy <jimb@codesourcery.com>
23880
23881 * Makeconfig (test-wrapper): New variable,
23882 (test-wrapper-env): Likewise.
23883 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23884 (run-built-tests): Define to yes.
23885 (run-program-prefix): Use $(test-wrapper).
23886 (built-program-cmd): Likewise.
23887 * Rules (make-test-out): Use $(test-wrapper-env) and
23888 $(host-built-program-cmd).
23889 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23890 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23891 tst-pathopt.sh.
23892 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23893 $(test-wrapper-env) to tst-rtld-load-self.sh.
23894 ($(objpfx)order2.out): Use $(test-wrapper).
23895 ($(objpfx)tst-initorder.out): Likewise.
23896 ($(objpfx)tst-initorder2.out): Likewise.
23897 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23898 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23899 (test_wrapper_env): New variable. Use it to run ld.so.
23900 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23901 Use it to run ld.so.
23902 (test_wrapper_env): Likewise.
23903 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23904 $(test-wrapper) to run-iconv-test.sh.
23905 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23906 (ICONV): Use $test_wrapper.
23907 * posix/Makefile ($(objpfx)globtest.out): Pass
23908 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23909 globtest.sh, not $(run-program-prefix).
23910 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23911 (test_wrapper): Likewise.
23912 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23913 set together with run_via_rtld_prefix.
23914 (run_program_prefix): Define in terms of test_wrapper and
23915 run_via_rtld_prefix.
23916
6e6249d0
RM
239172012-10-24 Roland McGrath <roland@hack.frob.com>
23918
23919 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23920 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23921 Targets removed.
23922
23923 [BZ #14743]
23924 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23925 Declare __clock_getres, __clock_gettime, __clock_settime,
23926 __clock_nanosleep, and __clock_getcpuclockid.
23927 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23928 Remove librt_hidden_def (clock_gettime).
23929 * sysdeps/unix/clock_gettime.c: Likewise.
23930 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23932 * rt/clock_getres.c: Define __clock_getres as an alias.
23933 * sysdeps/posix/clock_getres.c: Likewise.
23934 * rt/clock_settime.c: Define __clock_settime as an alias.
23935 * sysdeps/unix/clock_settime.c: Likewise.
23936 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23937 * sysdeps/unix/clock_nanosleep.c: Likewise.
23938 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23939 * rt/clock-compat.c: New file.
23940 * rt/Makefile (librt-routines): Add clock-compat and move
23941 $(clock-routines) to ...
23942 (routines): ... here, new variable.
23943 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23944 Don't add get_clockfreq here.
23945 * rt/Versions (libc: GLIBC_2.17): New version set.
23946 Add clock_* symbols here.
23947 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23949 (GLIBC_2.17): Add clock_* symbols.
23950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23954 Likewise.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23956 Likewise.
23957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23961 * NEWS: Mention the move.
23962
23963 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23964 Use __open, __read, __close rather than their public counterparts.
23965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23966 (__get_clockfreq_via_cpuinfo): Likewise.
23967 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23968 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23969
23970 * config.h.in (HAVE_IFUNC): New #undef.
23971 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23972 was successful.
23973 * configure: Regenerated.
23974
0cae3f4b
MF
239752012-10-24 Mike Frysinger <vapier@gentoo.org>
23976
23977 * configure.in: Move READELF check to start of file.
23978 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23979 libc_cv_asm_gnu_indirect_function in the process.
23980 * configure: Regenerated.
23981
8175a253
MF
239822012-10-24 Mike Frysinger <vapier@gentoo.org>
23983
23984 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23985 send the output to /dev/null.
23986 (libc_cv_cc_with_libunwind): Likewise.
23987 (libc_cv_as_noexecstack): Likewise.
23988 * configure: Regenerate.
23989
0708a7d1
JM
239902012-10-24 Joseph Myers <joseph@codesourcery.com>
23991
10b40d85
JM
23992 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23993
0708a7d1
JM
23994 * posix/globtest.sh (TMPDIR): Do not set.
23995 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23996 (testout): Likewise.
23997
9fddec1a
AJ
239982012-10-24 Andreas Jaeger <aj@suse.de>
23999
3a8db22f
AJ
24000 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24001 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24002 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24003 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24004 posix_fadvise64, posix_fallocate64.
24005
9fddec1a
AJ
24006 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24007 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24008 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24009 Likewise.
24010 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24011 Likewise.
24012 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24013
24014 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24015 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24016 <bits/fcntl-linux.h>.
24017 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24018
24019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24020 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24021 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24022 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24023 [__WORDSIZE != 64]: Likewise.
24024
ebfd1bbd
JM
240252012-10-23 Joseph Myers <joseph@codesourcery.com>
24026
03ac099f
JM
24027 * Makeconfig (run-built-tests): New variable.
24028 * Rules [$(cross-compiling) = yes]: Change condition to
24029 [$(run-built-tests) = no].
24030 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24031 to [$(run-built-tests) = yes].
24032 * elf/Makefile [$(cross-compiling) = no]: Likewise
24033 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24034 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24035 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24036 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24037 * io/Makefile [$(cross-compiling) = no]: Likewise.
24038 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24039 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24040 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24041 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24042 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24043 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24044 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24045 * string/Makefile [$(cross-compiling) = no]: Likewise.
24046
ebfd1bbd
JM
24047 * posix/Makefile ($(objpfx)globtest.out): Pass
24048 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24049 $(rtld-installed-name).
24050 * posix/globtest.sh (elf_objpfx): Remove variable.
24051 (rtld_installed_name): Likewise.
24052 (library_path): Likewise.
24053 (run_program_prefix): New variable. Use for running globtest
24054 binary.
24055
166bca24
JB
240562012-10-23 Jim Blandy <jimb@codesourcery.com>
24057 Joseph Myers <joseph@codesourcery.com>
24058
24059 * Makeconfig (host-built-program-cmd): New variable.
24060 * elf/Makefile (tst-stackguard1-ARGS): Use
24061 $(host-built-program-cmd).
24062 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24063 (tst-spawn-ARGS): Likewise.
24064 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24065
88866099
JM
240662012-10-23 Joseph Myers <joseph@codesourcery.com>
24067 Jim Blandy <jimb@codesourcery.com>
24068
24069 * Makeconfig (run-via-rtld-prefix): New variable.
24070 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24071 (built-program-cmd): Likewise.
24072
b4b4c296
AJ
240732012-10-22 Andreas Jaeger <aj@suse.de>
24074
24075 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24076 __O_RSYNC if it exists, otherwise to O_SYNC.
24077
6fb54a22
JB
240782012-10-22 Jim Blandy <jimb@codesourcery.com>
24079 Joseph Myers <joseph@codesourcery.com>
24080
24081 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24082 /dev/null.
24083 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24084 from /dev/null
24085 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24086 /dev/null.
24087
481b90b9
AJ
240882012-10-22 Andreas Jaeger <aj@suse.de>
24089
2a0e2669
AJ
24090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24091 Define always.
24092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24093
76e38f9a
AJ
24094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24095 bits/fcntl-linux.h.
24096
7cd37b43
AJ
24097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24098 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24099
481b90b9
AJ
24100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24101 to __O_LARGEFILE.
24102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24103 to __O_LARGEFILE.
24104
aba75984
JB
241052012-10-21 Jim Blandy <jimb@codesourcery.com>
24106 Joseph Myers <joseph@codesourcery.com>
24107
24108 * config.make.in (NM): New variable.
24109
88d4247f
AJ
241102012-10-21 Andreas Jaeger <aj@suse.de>
24111
24112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24113 definitions and declarations that are provided by
24114 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24115
f2eed205
L
241162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24117
24118 [BZ #14683]
24119 * elf/Makefile (tests-static): Add tst-leaks1-static.
24120 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24121 ($(objpfx)tst-leaks1-static): New rule.
24122 ($(objpfx)tst-leaks1-static-mem): Likewise.
24123 (tst-leaks1-static-ENV): New macro.
24124 * elf/dl-open.c (dl_open_worker): Check the main application
24125 only if SHARED is defined.
24126 * elf/tst-leaks1-static.c: New file.
24127
335e6931
AJ
241282012-10-20 Andreas Jaeger <aj@suse.de>
24129
24130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24131 generic values for Linux.
24132 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24133 and declarations that are provided by <bits/fcntl-linux.h> and
24134 include <bits/fcntl-linux.h>.
24135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24137
ac5c94d3
RM
241382012-10-20 Roland McGrath <roland@hack.frob.com>
24139
24140 * io/fcntl.h: Move include of <bits/types.h> to the top and
24141 include it unconditionally.
24142
de54b33a
L
241432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24144
228cfb01
L
24145 * wcsmbs/Makefile (tests-ifunc): New variable.
24146 (tests): Add $(tests-ifunc).
24147 * wcsmbs/test-wcschr-ifunc.c: New file.
24148 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24149 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24150 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24151 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24152 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24153
69f07e5f
L
24154 * string/Makefile (tests-ifunc): New variable.
24155 (tests): Add $(tests-ifunc).
24156 * string/test-memccpy.c (TEST_NAME): New macro.
24157 * string/test-memchr.c (TEST_NAME): Likewise.
24158 * string/test-memcmp.c (TEST_NAME): Likewise.
24159 * string/test-memcpy.c (TEST_NAME): Likewise.
24160 * string/test-memmem.c (TEST_NAME): Likewise.
24161 * string/test-memmove.c (TEST_NAME): Likewise.
24162 * string/test-memset.c (TEST_NAME): Likewise.
24163 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24164 * string/test-stpcpy.c (TEST_NAME): Likewise.
24165 * string/test-stpncpy.c (TEST_NAME): Likewise.
24166 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24167 * string/test-strcasestr.c (TEST_NAME): Likewise.
24168 * string/test-strcat.c (TEST_NAME): Likewise.
24169 * string/test-strchr.c (TEST_NAME): Likewise.
24170 * string/test-strcmp.c(TEST_NAME): Likewise.
24171 * string/test-strcpy.c (TEST_NAME): Likewise.
24172 * string/test-strcspn.c (TEST_NAME): Likewise.
24173 * string/test-strlen.c (TEST_NAME): Likewise.
24174 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24175 * string/test-strncmp.c (TEST_NAME): Likewise.
24176 * string/test-strncpy.c (TEST_NAME): Likewise.
24177 * string/test-strnlen.c (TEST_NAME): Likewise.
24178 * string/test-strpbrk.c (TEST_NAME): Likewise.
24179 * string/test-strrchr.c (TEST_NAME): Likewise.
24180 * string/test-strspn.c (TEST_NAME): Likewise.
24181 * string/test-strstr.c (TEST_NAME): Likewise.
24182 * string/test-bcopy-ifunc.c: New file.
24183 * string/test-bzero-ifunc.c: Likewise.
24184 * string/test-memccpy-ifunc.c: Likewise.
24185 * string/test-memchr-ifunc.c: Likewise.
24186 * string/test-memcmp-ifunc.c: Likewise.
24187 * string/test-memcpy-ifunc.c: Likewise.
24188 * string/test-memmem-ifunc.c: Likewise.
24189 * string/test-memmove-ifunc.c: Likewise.
24190 * string/test-mempcpy-ifunc.c: Likewise.
24191 * string/test-memset-ifunc.c: Likewise.
24192 * string/test-rawmemchr-ifunc.c: Likewise.
24193 * string/test-stpcpy-ifunc.c: Likewise.
24194 * string/test-stpncpy-ifunc.c: Likewise.
24195 * string/test-strcasecmp-ifunc.c: Likewise.
24196 * string/test-strcasestr-ifunc.c: Likewise.
24197 * string/test-strcat-ifunc.c: Likewise.
24198 * string/test-strchr-ifunc.c: Likewise.
24199 * string/test-strchrnul-ifunc.c: Likewise.
24200 * string/test-strcmp-ifunc.c: Likewise.
24201 * string/test-strcpy-ifunc.c: Likewise.
24202 * string/test-strcspn-ifunc.c: Likewise.
24203 * string/test-strlen-ifunc.c: Likewise.
24204 * string/test-strncasecmp-ifunc.c: Likewise.
24205 * string/test-strncat-ifunc.c: Likewise.
24206 * string/test-strncmp-ifunc.c: Likewise.
24207 * string/test-strncpy-ifunc.c: Likewise.
24208 * string/test-strnlen-ifunc.c: Likewise.
24209 * string/test-strpbrk-ifunc.c: Likewise.
24210 * string/test-strrchr-ifunc.c: Likewise.
24211 * string/test-strspn-ifunc.c: Likewise.
24212 * string/test-strstr-ifunc.c: Likewise.
24213
de54b33a
L
24214 * debug/Makefile (tests-ifunc): New variable.
24215 (tests): Add $(tests-ifunc).
24216 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24217 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24218 * debug/test-stpcpy_chk-ifunc.c: New file.
24219 * debug/test-strcpy_chk-ifunc.c: Likewise.
24220
88481c16
SP
242212012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24222
24223 [BZ #13601]
24224 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24225 header is not read in.
24226
135948bd
JM
242272012-10-19 Joseph Myers <joseph@codesourcery.com>
24228
89f1c388
JM
24229 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24230 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24231 directly. Pass built executable to script as
24232 $(built-program-cmd).
24233 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24234 $testprogram without using LD_LIBRARY_PATH and $ldso.
24235
e40a0d21
JM
24236 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24237 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24238 $(rtld-installed-name).
24239 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24240 (rtld_installed_name): Likewise.
24241 (library_path): Likewise.
24242 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24243 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24244 $(run-program-prefix) to tst-tables.sh.
24245 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24246 it to run tst-table-from and tst-table-to.
24247 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24248 Pass it to tst-table.sh.
24249 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24250 $(run-program-prefix) to tst-gettext.sh.
24251 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24252 tst-translit.sh.
24253 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24254 tst-gettext2.sh.
24255 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24256 to run tst-gettext.
24257 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24258 to run tst-gettext2.
24259 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24260 to run tst-translit.
24261 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24262 $(run-program-prefix) to tst-mtrace.sh.
24263 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24264 to run tst-mtrace.
24265 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24266 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24267 $(rtld-installed-name).
24268 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24269 (rtld_installed_name): Likewise.
24270 (run_program_prefix): New variable. Use it to run wordexp-test.
24271
728e272a
JM
24272 * Makeconfig (ARCH): Remove all definitions.
24273 (machine): Likewise.
24274 [ARCH]: Remove conditional code.
24275 [!objdir]: Give error.
24276 [!objdir] (objpfx): Remove.
24277 [!objdir] (common-objpfx): Likewise.
24278 [!objdir] (common-objdir): Likewise.
24279 * configure.in (config_makefile): Remove. Hardcode Makefile in
24280 AC_CONFIG_FILES call.
24281 * configure: Regenerated.
24282
d528cdcf
JM
24283 [BZ #13888]
24284 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24285 or TMPDIR.
24286 (testout): Likewise.
24287
135948bd
JM
24288 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24289 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24290 $(rtld-installed-name).
24291 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24292 (rtld_installed_name): Likwise.
24293 (runit): Remove function.
24294 (run_getconf): New variable, Use it for running getconf binary.
24295
38c78296
L
242962012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24297
24298 [BZ #14716]
24299 * string/test-memmem.c (check_result): New function.
24300 (do_one_test): Use it.
24301 (check1): New function.
24302 (test_main): Use it.
24303
d077f65f
MT
243042012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24305
24306 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24307
ced52c71
JM
243082012-10-18 Joseph Myers <joseph@codesourcery.com>
24309
24310 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24311 (_G_LSEEK64): Likewise.
24312 (_G_MMAP64): Likewise.
24313 (_G_FSTAT64): Likewise.
24314 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24315 (_G_LSEEK64): Likewise.
24316 (_G_MMAP64): Likewise.
24317 (_G_FSTAT64): Likewise.
24318 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24319 unconditional. Call __mmap64 directly.
24320 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24321 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24322 __lseek64 directly.
24323 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24324 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24325 __mmap64 directly.
24326 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24327 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24328 __lseek64 directly.
24329 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24330 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24331 __lseek64 directly.
24332 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24333 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24334 __lseek64 directly.
24335 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24336 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24337 __fxstat64 directly.
24338 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24339 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24340 unconditional.
24341 (freopen64) [!_G_OPEN64]: Remove conditional code.
24342 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24343 unconditional.
24344 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24345 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24346 unconditional.
24347 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24348 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24349 unconditional.
24350 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24351 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24352 unconditional.
24353 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24354 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24355 unconditional.
24356 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24357 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24358 unconditional.
24359 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24360 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24361 unconditional.
24362 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24363
b741de23
SP
243642012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24365
24366 [BZ #12140]
24367 * manual/memory.texi (Malloc Tunable Parameters): Add note
24368 about free list pointers overwriting some perturb bytes.
24369 Wording suggested by Roland McGrath.
24370
f9b9d9c9
JM
243712012-10-17 Joseph Myers <joseph@codesourcery.com>
24372
24373 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24374 (lgamma_test): Likewise.
24375 (tgamma_test): Likewise.
24376
172a631a
FW
243772012-10-16 Florian Weimer <fweimer@redhat.com>
24378
24379 [BZ #14700]
24380 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24381 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24382
e9f37252
MK
243832012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24384
24385 * NEWS: Mention BZ #14716.
24386 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24387 when removing AVAILABLE1_USES_J macro.
24388
d394eb74
L
243892012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24390
24391 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24392 (__bswap_64): __uint64_t for unsigned 64-bit int.
24393
ca38dc17
AS
243942012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24395
24396 * include/string.h (memmem): Declare libc hidden alias.
24397 * string/memmem.c (memmem): Define libc hidden alias.
24398 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24399 __read, __close instead of open, read, close.
24400
9a387d1f
L
244012012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24402
ac49ecaf
L
24403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24404 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24405 global and hidden.
24406 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24407 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24408 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24409 Likewise.
24410 (__rawmemchr_sse2): Likewise.
24411 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24412 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24413 (__strchr_sse2): Likewise.
24414 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24415 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24416 (__strcasecmp_sse2): Likewise.
24417 (__strncasecmp_sse2): Likewise.
24418 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24419 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24420 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24421 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24422 (__strrchr_sse2): Likewise.
24423 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24424 ifunc-impl-list.c.
24425 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24426 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24427 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24428 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24429 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24431 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24432 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24433 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24434 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24435 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24436 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24437 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24438 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24439 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24440 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24441 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24442 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24443 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24444 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24445 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24446 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24447 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24448 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24449 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24450 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24451 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24452 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24453 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24454 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24455
b090e8ea
L
24456 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24457 global and hidden.
24458 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24459 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24460 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24461 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24462 Likewise.
24463 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24464 Likewise.
24465 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24466 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24467 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24468 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24469 ifunc-impl-list.c.
24470 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24471 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24473 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24474 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24475 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24476 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24483 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24484 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24485 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24486 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24487 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24488 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24489 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24491 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24492 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24499 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24500 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24501 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24503 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24510 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24511
11dd4af6
L
24512 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24513 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24514 * include/ifunc-impl-list.h: New file.
24515 * misc/ifunc-impl-list.c: Likewise.
24516 * misc/Makefile (routines): Add ifunc-impl-list.
24517 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24518 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24519 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24520 TEST_NAME]: New variables.
11dd4af6
L
24521 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24522 are defined.
24523 (test_init): Call __libc_ifunc_impl_list to initialize
24524 func_list if TEST_IFUNC and TEST_NAME are defined.
24525
9a387d1f
L
24526 * string/Makefile (strop-tests): Add bcopy and bzero.
24527 * string/test-bcopy.c: New file.
24528 * string/test-bzero.c: Likewise.
24529 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24530 defined.
24531 * string/test-memset.c: Support bzero test if TEST_BZERO is
24532 defined.
24533 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24534 __libc_memmove.
24535 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24536 __libc_memset.
24537 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24538 of memset.
24539
472371b9
JM
245402012-10-10 Joseph Myers <joseph@codesourcery.com>
24541
1e4a9536
JM
24542 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24543 * configure: Regenerated.
24544
d173d12e
JM
24545 * Makeconfig (+link-static-before-libc): Don't include
24546 $(link-static-libc).
24547
472371b9
JM
24548 * libio/libio.h (_IO_pos_t): Remove.
24549
89a3ad0b
AO
245502012-10-10 Alexandre Oliva <aoliva@redhat.com>
24551
24552 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24553 McGrath.
24554
e7451425
AO
245552012-10-10 Alexandre Oliva <aoliva@redhat.com>
24556
24557 * crypt/crypt-entry.c: Include fips-private.h.
24558 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24559 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24560 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24561 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24562
4ba74a35
AO
245632012-10-10 Alexandre Oliva <aoliva@redhat.com>
24564
24565 * crypt/crypt-private.h: Include stdbool.h.
24566 (_ufc_setup_salt_r): Return bool.
24567 * crypt/crypt-entry.c: Include errno.h.
24568 (__crypt_r): Return NULL with EINVAL for bad salt.
24569 * crypt/crypt_util.c (bad_for_salt): New.
24570 (_ufc_setup_salt_r): Check that salt is long enough and within
24571 the specified alphabet.
24572 * crypt/badsalttest.c: New file.
24573 * crypt/Makefile (tests): Add it.
24574 ($(objpfx)badsalttest): New.
24575
f96f1242
MK
245762012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24577
24578 * NEWS: Add entry for BZ #14602.
24579
0e8e0c1c
JM
245802012-10-09 Joseph Myers <joseph@codesourcery.com>
24581
24582 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24583 type-generic.
24584 * math/libm-test.inc: Update comment listing what functions and
24585 macros are tested.
24586 (isgreater_test): New function.
24587 (isgreaterequal_test): Likewise.
24588 (isless_test): Likewise.
24589 (islessequal_test): Likewise.
24590 (islessgreater_test): Likewise.
24591 (isunordered_test): Likewise.
24592 (main): Call the new functions.
24593
273edc5e
RM
245942012-10-09 Roland McGrath <roland@hack.frob.com>
24595
b8493de0
RM
24596 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24597 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24598 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24599 * sysdeps/i386/configure: Regenerated.
24600 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24601 * sysdeps/mach/configure: Regenerated.
24602 * sysdeps/mach/hurd/configure: Regenerated.
24603 * sysdeps/powerpc/configure: Regenerated.
24604 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24605 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24606 * sysdeps/s390/s390-32/configure: Regenerated.
24607 * sysdeps/s390/s390-64/configure: Regenerated.
24608 * sysdeps/sh/configure: Regenerated.
24609 * sysdeps/sparc/configure: Regenerated.
24610 * sysdeps/unix/sysv/linux/configure: Regenerated.
24611 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24612 * sysdeps/x86_64/configure: Regenerated.
24613
273edc5e
RM
24614 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24615 defined. Don't check if MAP is NULL.
24616
c8450f70
JM
246172012-10-09 Joseph Myers <joseph@codesourcery.com>
24618
24619 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24620 (_G_stat64): Likewise.
24621 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24622 (_G_stat64): Likewise.
24623 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24624 instead of struct _G_stat64.
24625 * libio/fileops.c (mmap_remap_check): Likewise.
24626 (decide_maybe_mmap): Likewise.
24627 (_IO_new_file_seekoff): Likewise.
24628 (_IO_file_stat): Likewise.
24629 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24630 _G_off64_t.
24631 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24632 instead of struct _G_stat64.
24633 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24634
57e605ba
MK
246352012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24636
24637 [BZ #14602]
24638 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24639 Replace with ...
24640 (CHECK_EOL): New macro.
24641 (two_way_short_needle): Check beginning of haystack for EOL. Use
24642 CHECK_EOL.
24643 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24644 Replace with CHECK_EOL.
24645 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24646 Replace with CHECK_EOL.
24647
ef1bb361
JM
246482012-10-08 Joseph Myers <joseph@codesourcery.com>
24649
24650 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24651 type-generic.
24652 * math/libm-test.inc: Update comment listing what functions and
24653 macros are tested.
24654 (finite_test): New function.
24655 (isinf_test): Likewise.
24656 (isnan_test): Likewise.
24657 (fpclassify_test): Test subnormal input.
24658 (isfinite_test): Likewise.
24659 (isnormal_test): Likewise.
24660 (main): Call the new functions.
24661
55f11534
JN
246622012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24663
24664 [BZ #14660]
24665 * Makerules (%.dynsym): Force C locale when running
24666 $(OBJDUMP) --dynamic-syms.
24667
1ab29350
AS
246682012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24669
24670 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24671 <stdint.h>.
24672
f1ecb7ef
DM
246732012-10-06 David S. Miller <davem@davemloft.net>
24674
24675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24676 upper 32-bits of the length value in %o2 since we use branch-on-register
24677 tests which consider the entire 64-bit register.
24678
5d41d91a
L
246792012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24680
24681 * string/test-strstr.c (check2): Add a test for page boundary.
24682
3baddb72
DM
246832012-10-05 David S. Miller <davem@davemloft.net>
24684
24685 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24687 file.
24688 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24689 sysdep_routines.
24690 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24691 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24692 and bzero when HWCAP_SPARC_CRYPTO is present.
24693
9cee5585
L
246942012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24695
d7e0dab9
L
24696 [BZ #14602]
24697 * string/test-strstr.c (check2): New function.
24698 (test_main): Call check2.
24699
03759f47
L
24700 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24701 and bug-strchr1.
24702 * string/bug-strcasestr1.c (do_test): Moved to ...
24703 * string/test-strcasestr.c (check1): Here. New function.
24704 (do_one_test): Break out result checking code into ...
24705 (check_result): This. New function.
24706 (do_one_test): Call check_result.
24707 (test_main): Call check1.
24708 * string/bug-strchr1.c (do_test): Moved to ...
24709 * string/test-strchr.c (check1): Here. New function.
24710 (do_one_test): Break out result checking code into ...
24711 (check_result): This. New function.
24712 (do_one_test): Call check_result.
24713 (test_main): Call check1.
24714 * string/bug-strstr1.c (main): Moved to ...
046f153e 24715 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24716 (do_one_test): Break out result checking code into ...
24717 (check_result): This. New function.
24718 (do_one_test): Call check_result.
24719 (test_main): Call check1.
24720 * string/bug-strcasestr1.c: Removed.
24721 * string/bug-strchr1.c: Likewise.
24722 * string/bug-strstr1.c: Likewise.
24723
53cea63e
L
24724 * elf/Makefile (dl-routines): Add hwcaps.
24725 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24726 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24727 (_dl_important_hwcaps): Moved to ...
24728 * elf/dl-hwcaps.c: Here. New file.
24729 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24730
9cee5585 24731 [BZ #14557]
bb859b06
L
24732 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24733 if IS_IN_rtld isn't defined.
24734
9cee5585
L
24735 * elf/dl-support.c (_dl_sysinfo_map): New.
24736 Include "get-dynamic-info.h" and "setup-vdso.h".
24737 (_dl_non_dynamic_init): Call setup_vdso.
24738 * elf/dynamic-link.h: Don't include <assert.h>.
24739 (elf_get_dynamic_info): Moved to ...
24740 * elf/get-dynamic-info.h: Here. New file.
24741 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24742 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24743 * elf/setup-vdso.h: Here. New file.
24744 * elf/rtld.c: Include "setup-vdso.h".
24745 (dl_main): Call setup_vdso.
24746
23c31b76
JM
247472012-10-05 Joseph Myers <joseph@codesourcery.com>
24748
28234b07
JM
24749 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24750 creal in comment listing functions tested. List finite, isinf,
24751 isnan, isless, islessequal, isgreater, isgreaterequal,
24752 islessgreater, isunordered, lgamma_r and pow10 as functions and
24753 macros not tested. Mention which functions not tested are aliases
24754 for other functions. Fix typo. Note that signs of NaNs are not
24755 tested.
24756
23c31b76
JM
24757 * scripts/config.guess: Update from config.git.
24758 * scripts/config.sub: Likewise.
24759
9043e228
RM
247602012-10-04 Roland McGrath <roland@hack.frob.com>
24761
24762 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24763 * misc/madvise.c (madvise): Renamed to __madvise.
24764 Make madvise a weak alias.
24765 * include/sys/mman.h: Declare __madvise.
24766 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24767 * sysdeps/unix/syscalls.list
24768 (madvise): Make __madvise the strong name, and madvise a weak alias.
24769 * sysdeps/unix/sysv/linux/syscalls.list
24770 (madvise, mmap): Remove redundant entries.
24771 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24772 * malloc/malloc.c (mtrim): Likewise.
24773 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24774
f57f8055
RM
247752012-10-03 Roland McGrath <roland@hack.frob.com>
24776
24777 * sysdeps/mach/hurd/dl-cache.c: File removed.
24778 * config.h.in (USE_LDCONFIG): New #undef.
24779 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24780 * configure: Regenerated.
24781 * elf/Makefile (dl-routines): Add dl-cache only under
24782 [$(use-ldconfig) = yes].
24783 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24784 cache on [USE_LDCONFIG].
24785 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24786 [USE_LDCONFIG].
24787 * elf/rtld.c (dl_main): Likewise.
24788
5bb0c10a
PT
247892012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24790
24791 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24792 _SC_LEVEL4_CACHE_LINESIZE.
24793
010188c6
RM
247942012-10-03 Roland McGrath <roland@hack.frob.com>
24795
24796 * sysdeps/unix/bsd/confstr.h: File removed.
24797
b6c5ec07
AO
247982012-10-02 Alexandre Oliva <aoliva@redhat.com>
24799
24800 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24801 sys/sdt-config.h.
24802
408223d4
RM
248032012-10-02 Roland McGrath <roland@hack.frob.com>
24804
24805 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24806 Make 'mapoff' field ElfW(Off) rather than off_t.
24807
bb9510dc
DL
248082012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24809
fc997c6e
DL
24810 * nscd/Makefile: Remove nscd-cflags and all its users.
24811 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24812 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24813
bb9510dc
DL
24814 [BZ #10631]
24815 * malloc.c (malloc_printerr): Clarify error message.
24816
05699367
L
248172012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24818
24819 [BZ #14648]
24820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24821 Set bit_FMA_Usable if FMA is supported.
24822 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24823 macro.
24824 (bit_FMA4_Usable): Updated.
24825 (index_FMA_Usable): New macro.
24826 (CPUID_FMA): Likewise
24827 (HAS_FMA): Defined with bit_FMA_Usable.
24828
51367701
RM
248292012-10-01 Roland McGrath <roland@hack.frob.com>
24830
24831 * bits/types.h (__swblk_t): Type removed.
24832 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24833 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24835 (__SWBLK_T_TYPE): Likewise.
24836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24837 (__SWBLK_T_TYPE): Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24839 (__SWBLK_T_TYPE): Likewise.
24840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24841 (__SWBLK_T_TYPE): Likewise.
24842
4d57bf63 248432012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24844 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24845
24846 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24847 (xdr_mapname): Use YPMAXMAP as maxsize.
24848 (xdr_peername): Use YPMAXPEER as maxsize.
24849 (xdr_keydat): Use YPAXRECORD as maxsize.
24850 (xdr_valdat): Use YPMAXRECORD as maxsize.
24851
93c65d43
RM
248522012-10-01 Roland McGrath <roland@hack.frob.com>
24853
497a03d6
RM
24854 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24855
93c65d43
RM
24856 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24857 * csu/init-first.c: ... here.
24858 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24859 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24860 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24861 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24862 * sysdeps/i386/init-first.c: File removed.
24863 * sysdeps/sh/init-first.c: File removed.
24864
bec749fd
JM
248652012-10-01 Joseph Myers <joseph@codesourcery.com>
24866
24867 [BZ #14645]
24868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24869 if x * y might underflow to zero and z is zero.
24870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24872 * math/libm-test.inc (min_subnorm_value): New variable.
24873 (fma_test): Add more tests.
24874 (fma_test_towardzero): Likewise.
24875 (fma_test_downward): Likewise
24876 (fma_test_upward): Likewise.
24877 (initialize): Set min_subnorm_value.
24878
8ec5b013
JM
248792012-09-29 Joseph Myers <joseph@codesourcery.com>
24880
24881 [BZ #14638]
24882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24883 0 + 0.
24884 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24885 mode for addition resulting in exact zero.
24886 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24888 exact 0 + 0.
24889 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24891 * math/libm-test.inc (fma_test): Add more tests.
24892 (fma_test_towardzero): New function.
24893 (fma_test_downward): Likewise.
24894 (fma_test_upward): Likewise.
24895 (main): Call the new functions.
24896
b1fa802e
DM
248972012-09-28 David S. Miller <davem@davemloft.net>
24898
24899 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24900
d3b9fd9e
RM
249012012-09-28 Roland McGrath <roland@hack.frob.com>
24902
ea4d37b3
RM
24903 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24904 instead of SIGALRM.
24905
ac51c949
RM
24906 * sysdeps/gnu/_G_config.h: Moved to ...
24907 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24908 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24909 * sysdeps/generic/_G_config.h: ... here.
24910
28c195f7
RM
24911 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24912
848917f9
RM
24913 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24914
6bacf05b
RM
24915 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24916 Conditionalize target on [libnss_test1.so-version].
24917
91363dbb
RM
24918 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24919
cc87f7d8
RM
24920 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24921 (elfobjdir): Move out of conditionals.
24922
b1c608fe
RM
24923 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24924 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24925 (__nss_lookup_function): Conditionalize label remove_from_tree on
24926 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24927
1d9a6d96
DM
249282012-09-28 David S. Miller <davem@davemloft.net>
24929
24930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24931 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24932 file.
24933 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24934 sysdep_routines.
24935 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24937 when HWCAP_SPARC_CRYPTO is present.
24938
72581615
PT
249392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24940
24941 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24942
715a900c
JL
249432012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24944
24945 [BZ #6530]
24946 * stdio-common/vfprintf.c (process_string_arg): Revert
24947 2000-07-22 change.
24948
249492011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24950
24951 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24952 for testcase.
24953 * stdio-common/tst-sprintf.c: Include <locale.h>
24954 (main): Test sprintf's handling of incomplete multibyte
24955 characters.
24956
9bac1d86
L
249572012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 * elf/dl-runtime.c (VERSYMIDX): Removed.
24960 * elf/dl-version.c (VERSYMIDX): Likewise.
24961 * elf/do-rel.h (VERSYMIDX): Likewise.
24962 (VALIDX): Likewise.
24963 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24964 * elf/rtld.c (VALIDX): Likewise.
24965 (ADDRIDX): Likewise.
9bac1d86
L
24966 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24967 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24968 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24969 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24970 (VALIDX): Likewise.
24971 (ADDRIDX): Likewise.
9bac1d86 24972
b31606c0
PT
249732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24974
24975 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24976
11541177
JL
249772012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24978
24979 [BZ #11438]
24980 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24981 to global scope.
24982 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24983 addresses are in the same scope as 192.0.2/24.
24984 * posix/gai.conf: Document new scope table defaults.
24985
adb26fae
SP
249862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24987
24988 [BZ #5298]
24989 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24990 for ftell. Compute offsets from write pointers instead.
24991 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24992
4573c6b0
SP
249932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24994
24995 [BZ #14543]
24996 * libio/Makefile (tests): New test case tst-fseek.
24997 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24998 combination works in wide mode.
24999 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25000 state when the external buffer state changes.
25001
aa9bbfe6
DM
250022012-09-27 David S. Miller <davem@davemloft.net>
25003
25004 [BZ #14376]
25005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25006 pass reloc->r_addend in as the 'high' argument to
25007 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25008
784421e7
DM
25009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25010
c39bc8b8
PT
250112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25012
25013 * rt/tst-aio2.c: Include <pthread.h>.
25014 * rt/tst-aio3.c: Likewise.
25015
1ccc2399
SE
250162012-09-27 Steve Ellcey <sellcey@mips.com>
25017
25018 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25019
31ed4153
L
250202012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25021
25f5f885
L
25022 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25023 contents on [SHARED].
31ed4153 25024
b7bfe116
MP
250252012-09-26 Marek Polacek <polacek@redhat.com>
25026
25027 [BZ #14530]
25028 [BZ #13741]
25029 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25030 for C++ and GCC <4.3 as well as for non GCC compilers.
25031
43c4edba
MT
250322012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25033
25034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25035
6a1bf82f
RM
250362012-09-25 Roland McGrath <roland@hack.frob.com>
25037
25038 * Makefile.in (all, install): Declare with .PHONY.
25039 Reported by Michael Hope <michael.hope@linaro.org>.
25040
8ad11b9a
TMQMF
250412012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25042
25043 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25044 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25045 system header.
25046 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25047 Likewise.
25048 (sydep_routines): Add the new and the internal functions.
25049 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25050 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25052 (GLIBC_2.17): Add the new function.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25054 (GLIBC_2.17): Likewise.
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25056 (GLIBC_2.17): Likewise.
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25058 (GLIBC_2.17): Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25060
7e2fca8d
AM
250612012-09-25 Alan Modra <amodra@gmail.com>
25062
25063 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25064 Add release barrier before setting once_control to say
25065 initialisation is done. Add hints on lwarx. Use macro in
25066 place of isync.
25067 (clear_once_control): Add release barrier.
25068
b87c4b24
JM
250692012-09-25 Joseph Myers <joseph@codesourcery.com>
25070
d032e0d2
JM
25071 [BZ #13629]
25072 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25073 specially.
25074 * math/s_clog10.c (__clog10): Likewise.
25075 * math/s_clog10f.c (__clog10f): Likewise.
25076 * math/s_clog10l.c (__clog10l): Likewise.
25077 * math/s_clogf.c (__clogf): Likewise.
25078 * math/s_clogl.c (__clogl): Likewise.
25079 * math/Makefile (libm-calls): Add x2y2m1.
25080 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25081 (__x2y2m1): Likewise.
25082 (__x2y2m1l): Likewise.
25083 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25084 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25089 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25090 * sysdeps/i386/fpu/libm-test-ulps: Update.
25091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25092
b87c4b24
JM
25093 [BZ #14621]
25094 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25095 int as type of variable DEPTH.
25096 (glob): Use size_t instead of int as type of variables NEWCOUNT
25097 and OLD_PATHC.
25098
6d3bf199
LD
250992012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25100
22bf5c17
LD
25101 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25102 Add s_sincosf-sse2.
25103 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25104 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25105 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25106 macros for using routine as __sincosf_ia32.
25107 Use macro for function declaration and weak_alias.
25108 * sysdeps/i386/fpu/libm-test-ulps: Update.
25109
25110 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25112
25113 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25114 subnormal argument.
25115 * math/s_cexpf.c (__cexpf): Likewise.
25116 * math/s_csinf.c (__csinf): Likewise.
25117 * math/s_csinhf.c (__csinhf): Likewise.
25118 * math/s_ctanf.c (__ctanf): Likewise.
25119 * math/s_ctanhf.c (__ctanhf): Likewise.
25120 * math/s_ccosh.c (__ccoshf): Likewise.
25121 * math/s_cexp.c (__cexpl): Likewise.
25122 * math/s_csin.c (__csin): Likewise.
25123 * math/s_csinh.c (__csinh): Likewise.
25124 * math/s_ctan.c (__ctan): Likewise.
25125 * math/s_ctanh.c (ctanh): Likewise.
25126 * math/s_ccoshl.c (__ccoshl): Likewise.
25127 * math/s_cexpl.c (__cexpl): Likewise.
25128 * math/s_csinl.c (__csinl): Likewise.
25129 * math/s_csinhl.c (__csinhl): Likewise.
25130 * math/s_ctanl.c (__ctanl): Likewise.
25131 * math/s_ctanhl.c (__ctanhl): Likewise.
25132
203e5603
JM
251332012-09-25 Joseph Myers <joseph@codesourcery.com>
25134
25135 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25136 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25137 (_IO_off_t): Define to __off_t, not _G_off_t.
25138 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25139 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25140 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25141 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25142 type of __dummy and __dummy2 fields.
25143 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25144 (_G_ssize_t): Likewise.
25145 (_G_off_t): Likewise.
25146 (_G_pid_t): Likewise.
25147 (_G_uid_t): Likewise.
25148 (_G_wchar_t): Likewise.
25149 (_G_wint_t): Likewise.
25150 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25151 (_G_ssize_t): Likewise.
25152 (_G_off_t): Likewise.
25153 (_G_pid_t): Likewise.
25154 (_G_uid_t): Likewise.
25155 (_G_wchar_t): Likewise.
25156 (_G_wint_t): Likewise.
25157 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25158 (_G_ssize_t): Likewise.
25159 (_G_off_t): Likewise.
25160 (_G_pid_t): Likewise.
25161 (_G_uid_t): Likewise.
25162 (_G_wchar_t): Likewise.
25163 (_G_wint_t): Likewise.
25164
9fab36eb
SP
251652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25166
25167 * malloc/arena.c: Include malloc-sysdep.h.
25168 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25169 is sufficient to shrink the heap or an unmap is needed.
25170 * sysdeps/generic/malloc-sysdep.h: New file. Define
25171 new function check_may_shrink_heap.
25172 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25173 new function check_may_shrink_heap.
25174
2b4f00d1
SP
251752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25176
25177 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25178 comments.
25179
9a9028b1
DL
251802012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25181
57c69bef
DL
25182 * catgets/test-gencat.sh: Add "set -e".
25183 * elf/tst-pathopt.sh: Likewise.
25184 * grp/tst_fgetgrent.sh: Likewise.
25185 * iconvdata/run-iconv-test.sh: Likewise.
25186 * intl/tst-gettext.sh: Likewise.
25187 * intl/tst-gettext2.sh: Likewise.
25188 * intl/tst-gettext4.sh: Likewise.
25189 * intl/tst-gettext6.sh: Likewise.
25190 * intl/tst-translit.sh: Likewise.
25191 * io/ftwtest-sh: Likewise.
25192 * libio/test-freopen.sh: Likewise.
25193 * malloc/tst-mtrace.sh: Likewise.
25194 * posix/globtest.sh: Likewise.
25195 * posix/tst-getconf.sh: Likewise.
25196 * posix/wordexp-tst.sh: Likewise.
25197 * stdio-common/tst-printf.sh: Likewise.
25198 * stdio-common/tst-unbputc.sh: Likewise.
25199 * stdlib/tst-fmtmsg.sh: Likewise.
25200 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25201 * catgets/Makefile: Do not specify -e option when running
25202 testsuite shell scripts.
25203 * elf/Makefile: Likewise.
25204 * grp/Makefile: Likewise.
25205 * iconvdata/Makefile: Likewise.
25206 * intl/Makefile: Likewise.
25207 * io/Makefile: Likewise.
25208 * libio/Makefile: Likewise.
25209 * malloc/Makefile: Likewise.
25210 * posix/Makefile: Likewise.
25211 * stdio-common/Makefile: Likewise.
25212 * stdlib/Makefile: Likewise.
25213 * sysdeps/x86_64/Makefile: Likewise.
25214
9a9028b1
DL
25215 * io/ftwtest-sh: Add copyright header.
25216 * posix/globtest.sh: Likewise.
25217 * posix/tst-getconf.sh: Likewise.
25218 * posix/wordexp-tst.sh: Likewise.
25219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25220
ced6f16e
L
252212012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25222
94b32c39
L
25223 [BZ #13679]
25224 * Makeconfig (+link): Defined as $(+link-static) if
25225 $(build-shared) isn't yes.
25226 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25227 isn't yes.
25228 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25229
189e935b
L
25230 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25231
ced6f16e
L
25232 [BZ #14562]
25233 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25234 new chunk size with MALLOC_ALIGN_MASK.
25235
a9f8e53a
JM
252362012-09-24 Joseph Myers <joseph@codesourcery.com>
25237
25238 [BZ #5044]
25239 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25240 <rounding-mode.h>.
25241 (__printf_fphex): Determine rounding using get_rounding_mode and
25242 round_away.
25243 * stdio-common/tst-printf-round.c (struct hex_test): New
25244 structure.
25245 (hex_tests): New variable.
25246 (test_hex_in_one_mode): New function.
25247 (do_test): Also run tests for hex float output.
25248
43153109
JM
252492012-09-21 Joseph Myers <joseph@codesourcery.com>
25250
25251 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25252 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25253 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25254 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25255 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25256 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25257 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25258 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25259
8a26625d
JM
252602012-09-20 Joseph Myers <joseph@codesourcery.com>
25261
25262 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25263 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25264 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25265 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25266
f3fd569c
DL
252672012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25268
25269 [BZ #14579]
25270 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25271 mode only.
25272 * elf/tst-rtld-load-self.sh: New test.
25273 * elf/Makefile: Run it.
25274
63bbedd4
JM
252752012-09-18 Joseph Myers <joseph@codesourcery.com>
25276
25277 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25278 (tst-writev-ENV): Remove.
25279 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25280
626f8b6a
CM
252812012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25282
25283 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25284
b7aaa4d6
JM
252852012-09-17 Joseph Myers <joseph@codesourcery.com>
25286
25287 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25288 unconditional.
25289 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25290 Likewise.
25291 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25292 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25293 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25294 Likewise.
25295
65513990
L
252962012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25297
25298 [BZ #14587]
25299 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25300 * config.make.in (have-cpp-asm-debuginfo): Removed.
25301 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25302 * configure: Regenerated.
25303
784761be
JM
253042012-09-14 Joseph Myers <joseph@codesourcery.com>
25305
25306 [BZ #5044]
25307 * stdio-common/printf_fp.c: Include <stdbool.h> and
25308 <rounding-mode.h>.
25309 (___printf_fp): Determine rounding using get_rounding_mode and
25310 round_away.
25311 * stdio-common/tst-printf-round.c: New file.
25312 * stdio-common/Makefile (tests): Add tst-printf-round.
25313 (link-libm): New variable.
25314 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25315
9503345f
L
253162012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25317
25318 [BZ #14576]
25319 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25320 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25321 Likewise.
25322 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25323 Likewise.
25324
ad35fc00
JM
253252012-09-13 Joseph Myers <joseph@codesourcery.com>
25326
25327 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25328 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25329 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25330 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25331
6c9b0f68
JM
253322012-09-12 Joseph Myers <joseph@codesourcery.com>
25333
25334 [BZ #14518]
25335 * include/rounding-mode.h: New file.
25336 * sysdeps/generic/get-rounding-mode.h: Likewise.
25337 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25338 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25339 (MAX_VALUE): New macro.
25340 (MIN_VALUE): Likewise.
25341 (overflow_value): New function.
25342 (underflow_value): Likewise.
25343 (round_and_return): Use overflow_value and underflow_value to
25344 determine return values in overflow and underflow cases. Use
25345 round_away to determine rounding depending on rounding mode.
25346 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25347 determine return values in overflow and underflow cases.
25348 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25349 (struct test_results): New structure.
25350 (struct test): Use struct test_results to store expected results
25351 for all rounding modes.
25352 (TEST): Include expected results for all rounding modes.
25353 (test_in_one_mode): New function.
25354 (do_test): Use test_in_one_mode to compute and check results.
25355 Check results for all rounding modes.
25356 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25357 $(link-libm).
25358
19fcedd5
AM
253592012-12-09 Allan McRae <allan@archlinux.org>
25360
1e9d84cd 25361 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25362
8bbfd2f1
JM
253632012-09-11 Joseph Myers <joseph@codesourcery.com>
25364
25365 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25366 (_G_int32_t): Likewise.
25367 (_G_uint16_t): Likewise.
25368 (_G_uint32_t): Likewise.
25369 (_G_HAVE_BOOL): Likewise.
25370 (_G_HAVE_ATEXIT): Likewise.
25371 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25372 (_G_HAVE_IO_FILE_OPEN): Likewise.
25373 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25374 (_G_int32_t): Likewise.
25375 (_G_uint16_t): Likewise.
25376 (_G_uint32_t): Likewise.
25377 (_G_HAVE_BOOL): Likewise.
25378 (_G_HAVE_ATEXIT): Likewise.
25379 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25380 (_G_HAVE_IO_FILE_OPEN): Likewise.
25381 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25382 (_G_int32_t): Likewise.
25383 (_G_uint16_t): Likewise.
25384 (_G_uint32_t): Likewise.
25385 (_G_HAVE_BOOL): Likewise.
25386 (_G_HAVE_ATEXIT): Likewise.
25387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25388 (_G_HAVE_IO_FILE_OPEN): Likewise.
25389
b1dc5912
L
253902012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25391
25392 * csu/libc-tls.c: Update copyright years.
25393
0e886ef9
JM
253942012-09-10 Joseph Myers <joseph@codesourcery.com>
25395
28361c5e
JM
25396 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25397 [!_G_USING_THUNKS]: Remove conditional code.
25398 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25399 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25400
0e886ef9
JM
25401 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25402 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25403 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25404 (_G_VTABLE_LABEL_PREFIX): Likewise.
25405 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25406 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25407 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25408 (_G_VTABLE_LABEL_PREFIX): Likewise.
25409 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25410 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25411 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25412 (_G_VTABLE_LABEL_PREFIX): Likewise.
25413 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25414
bcba7aa2
L
254152012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25416
25417 * libio/Makefile: Include ../Makeconfig before tests.
25418 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25419 only if $(build-shared) is yes.
25420
06585ee8
L
25421 * iconv/gconv_db.c: Update copyright years.
25422
80ccd52c
LD
254232012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25424
25425 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25426 unwind info if defined PIC. Fix special cases description.
25427 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25428
25429 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25430 DP_HI_MASK entry.
25431 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25432
691bc9c1
L
254332012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25434
3d9b46b3
L
25435 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25436
de2139a9
L
25437 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25438 is NULL.
25439
5ca78dd0
L
25440 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25441 (LDLIBS-tst-chk4): This.
25442 (LDFLAGS-tst-chk5): Renamed to ...
25443 (LDLIBS-tst-chk5): This.
25444 (LDFLAGS-tst-chk6): Renamed to ...
25445 (LDLIBS-tst-chk6): This.
25446 (LDFLAGS-tst-lfschk4): Renamed to ...
25447 (LDLIBS-tst-lfschk4): This.
25448 (LDFLAGS-tst-lfschk5): Renamed to ...
25449 (LDLIBS-tst-lfschk5): This.
25450 (LDFLAGS-tst-lfschk6): Renamed to ...
25451 (LDLIBS-tst-lfschk6): This.
25452
691bc9c1
L
25453 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25454 on $(common-objpfx)soversions.mk.
25455
65cafb1c
JM
254562012-09-07 Joseph Myers <joseph@codesourcery.com>
25457
25458 [BZ #10014]
25459 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25460 example host name.
25461
c78ab094
SP
254622012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25463
25464 * malloc/arena.c (arena_get_retry): New function that gets
25465 another arena for the caller to try its request on.
25466 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25467 current arena cannot fulfill the request.
25468 (__libc_memalign): Likewise.
25469 (__libc_memalign): Likewise.
25470 (__libc_pvalloc): Likewise.
25471 (__libc_calloc): Likewise.
25472
01f49f59
JT
254732012-09-05 John Tobey <john.tobey@gmail.com>
25474
25475 [BZ #13542]
25476 * manual/arith.texi (Operations on Complex): Fix description
25477 of carg branch cut.
25478
4c23fed5
JM
254792012-09-06 Joseph Myers <joseph@codesourcery.com>
25480
1d3c8572
JM
25481 [BZ #10014]
25482 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25483 host name.
25484
4c23fed5
JM
25485 [BZ #10038]
25486 * manual/memory.texi (Memory): Make order of menu items match
25487 order of sections.
25488
04570aaa
L
254892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25490
25491 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25492 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25493 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25494
b80af2f4
L
254952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25496
25497 * csu/libc-tls.c (static_dtv): Renamed to ...
25498 (_dl_static_dtv): This. Make it global.
25499 (_dl_initial_dtv): Removed.
25500 (__libc_setup_tls): Updated.
25501 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25502 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25503 DL_INITIAL_DTV.
25504
2abe9f15
PM
255052012-09-06 Petr Machata <pmachata@redhat.com>
25506
25507 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25508 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25509 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25510 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25511
0948c3af
L
255122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25513
25514 [BZ #14545]
25515 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25516 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25517 freeing dtv[-1].
25518
a5055ad1
L
255192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25520
25521 [BZ #14544]
25522 * Makeconfig (link-static-before-libc): Replace $(+prector)
25523 with $(+prectorT).
25524 (link-static-after-libc): Replace $(+postctor) with
25525 $(+postctorT).
25526 (link-bounded): Replace $(+prector)/$(+postctor) with
25527 $(+prectorT)/$(+postctorT).
25528 (+prectorT): New macro.
25529 (+postctorT): Likewise.
25530
ed8c2ecd
JM
255312012-09-06 Joseph Myers <joseph@codesourcery.com>
25532
25533 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25534 (round_str): Handle values above the maximum for IBM long double
25535 as inexact.
25536 * stdlib/tst-strtod-round.c (tests): Regenerated.
25537
14c996c8
AK
255382012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25539
25540 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25541 assembler flag.
25542 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25543 zarch_nohighgprs around the zarch optimized routines.
25544 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25545 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25546 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25547 for zarch.
25548
430d6ce6
DM
255492012-09-05 David S. Miller <davem@davemloft.net>
25550
25551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25552
57f41c40
AS
25553 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25554 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25555 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25556 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25557 entries.
25558
24d4e01b
AO
255592012-09-05 Alexandre Oliva <aoliva@redhat.com>
25560
25561 * malloc/arena.c: Fold copyright years.
25562 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25563
61d58174
AO
255642012-09-05 Alexandre Oliva <aoliva@redhat.com>
25565
25566 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25567
20196a5e
AO
255682012-09-05 Alexandre Oliva <aoliva@redhat.com>
25569
25570 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25571
5c447383
AO
255722012-09-05 Alexandre Oliva <aoliva@redhat.com>
25573
25574 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25575 change internal state upon failure.
25576
fad64255
AO
255772012-09-05 Alexandre Oliva <aoliva@redhat.com>
25578
25579 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25580 * malloc/memusage.c (mmap): Likewise.
25581 (mmap64, mremap): Likewise. Adjust name in comment.
25582
1ffb8c90
SP
255832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25584
25585 * libio/fileops.c: Fix typos in comments.
25586 * libio/oldfileops.c: Likewise.
25587 * libio/wfileops.c: Likewise.
25588
6ef9cc37
SP
255892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25590
25591 [BZ #1349]
25592 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25593 (tst-malloc-usable-ENV): Set environment for test case.
25594 * malloc/hooks.c (malloc_check_get_size): New function to get
25595 requested size.
25596 * malloc/malloc.c (musable): Use malloc_check_get_size.
25597 * malloc/tst-malloc-usable.c: New test case.
25598
4d038ae3
AS
255992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25600
25601 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25602
c4e85184
AM
256032012-09-05 Allan McRae <allan@archlinux.org>
25604
b9dafc56 25605 [BZ #13966]
c4e85184
AM
25606 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25607 determine header location.
25608 * configure: Regenerated.
25609
e1343020
AS
256102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25611
25612 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25613 float format.
25614 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25615 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25616 format.
e1343020
AS
25617 (test): Regenerate.
25618
0a9f1987
DM
256192012-09-04 David S. Miller <davem@davemloft.net>
25620
25621 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25622 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25623 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25624
29237804
FW
256252012-09-04 Florian Weimer <fweimer@redhat.com>
25626
25627 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25628 failures.
25629
edb3cb88
FW
25630 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25631
60160d83
JM
256322012-09-04 Joseph Myers <joseph@codesourcery.com>
25633
25634 [BZ #9914]
25635 * libio/iogetdelim.c: Include <limits.h>.
25636 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25637 + len + 1 would overflow.
25638
bcd6c8dc
AJ
256392012-09-03 Andreas Jaeger <aj@suse.de>
25640
25641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25642 * sysdeps/i386/fpu/libm-test-ulps: Update.
25643
4ffffbd2
LD
256442012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25645
25646 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25647 Add s_sinf-sse2, s_conf-sse2.
25648
25649 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25650 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25651 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25652 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25653
25654 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25655 for using routine as __sinf_ia32.
25656 Use macro for function declaration and weak_alias.
25657 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25658 for using routine as __cosf_ia32.
25659 Use macro for function declaration and weak_alias.
25660
25661 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25662 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25663
25664 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25665 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25667
25668 * math/libm-test.inc (cos_test): Add more test cases.
25669 (sin_test): Likewise.
25670 (sincos_test): Likewise.
25671
511fa286
AK
256722012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25673
25674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25675 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25676 hidden.
25677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25678
5f30cfec
L
256792012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25680
25681 [BZ #14538]
25682 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25683 first element of the GOT.
25684 (elf_machine_load_address): Return the difference between
25685 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25686
0786794f
AM
256872012-09-01 Allan McRae <allan@archlinux.org>
25688
5f30cfec
L
25689 [BZ #13412]
25690 * configure.in (AWK): Require gawk version 3.0 or later.
25691 * configure: Regenerated.
0786794f 25692
26889eac
JM
256932012-09-01 Joseph Myers <joseph@codesourcery.com>
25694
25695 * sysdeps/unix/sysv/linux/kernel-features.h
25696 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25698 [__NR_clock_getres]: Make code unconditional.
25699 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25700 (clock_getcpuclockid): Remove code left unreachable by removal of
25701 conditionals.
25702 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25703 code unconditional.
25704 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25705 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25706 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25707 Make code unconditional.
25708 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25709 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25710 * sysdeps/unix/sysv/linux/clock_settime.c
25711 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25712 conditional code.
25713 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25714 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25715
d22e28b0
L
257162012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25717
25718 [BZ #14476]
25719 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25720 scripts/test-installation.pl.
25721
25722 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25723 and $ld_so_version if it is set.
25724
050af9c4
SP
257252012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25726
25727 [BZ #14516]
25728 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25729 failure if reading from procfs failed.
25730 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25731
ad845c0b
JM
257322012-08-27 Joseph Myers <joseph@codesourcery.com>
25733
25734 * sysdeps/unix/sysv/linux/kernel-features.h
25735 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25736 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25737 Remove conditional code.
25738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25739 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25740 Remove conditional code.
25741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25742 * sysdeps/unix/sysv/linux/i386/fxstat.c
25743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25745 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25748 * sysdeps/unix/sysv/linux/i386/lxstat.c
25749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25751 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25752 Remove conditional code.
25753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25754 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25755 Remove conditional code.
25756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25757 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25758 <kernel-features.h>.
25759 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25760 Remove.
25761 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25762 Remove conditional code.
25763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25764 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25765 Remove conditional.
25766
5dbf56af
MF
257672012-08-27 Mike Frysinger <vapier@gentoo.org>
25768
25769 [BZ #5400]
25770 * NEWS: Add fixed bug number.
25771
d6e70f43
JM
257722012-08-27 Joseph Myers <joseph@codesourcery.com>
25773
7efb4737
JM
25774 [BZ #14519]
25775 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25776 underflowing exponent in case of negative sign.
25777 * stdlib/tst-strtod-round-data: Add more tests.
25778 * stdlib/tst-strtod-round.c (tests): Regenerated.
25779
af92131a
JM
25780 [BZ #3479]
25781 * stdlib/strtod_l.c (NDIG): Remove.
25782 (HEXNDIG): Likewise.
25783 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25784 smallest representable value.
25785 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25786 lie within an exact representation of 1/2 ulp of the result.
25787 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25788 unconditionally.
25789 (TENS_P9_IDX): Define unconditionally.
25790 (TENS_P9_SIZE): Likewise.
25791 (TENS_P10_IDX): Likewise.
25792 (TENS_P10_SIZE): Likewise.
25793 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25794 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25795 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25796 entries for 10^2^13 and 10^2^14.
25797 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25798 (TENS_P13_IDX): Define.
25799 (TENS_P13_SIZE): Likewise.
25800 (TENS_P14_IDX): Likewise.
25801 (TENS_P14_SIZE): Likewise.
25802 (_fpioconst_pow10): Change array size to
25803 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25804 unconditional.
25805 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25806 1024]: Add entries for 10^2^13 and 10^2^14.
25807 [LAST_POW10 > _LAST_POW10]: Remove #error.
25808 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25809 (_fpioconst_pow10): Change array size to
25810 FPIOCONST_POW10_ARRAY_SIZE.
25811 * stdlib/gen-fpioconst.c: New file.
25812 * stdlib/gen-tst-strtod-round.c: Likewise.
25813 * stdlib/tst-strtod-round-data: Likewise.
25814 * stdlib/tst-strtod-round.c: Likewise.
25815 * stdlib/Makefile (tests): Add tst-strtod-round.
25816
d6e70f43
JM
25817 [BZ #14459]
25818 * stdlib/strtod_l.c: Include <stdint.h>.
25819 (NDEBUG): Do not define.
25820 (round_and_return): Change EXPONENT parameter to type intmax_t.
25821 Rearrange calculations to avoid internal overflow possibilities.
25822 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25823 Rearrange calculations to avoid internal overflow possibilities.
25824 Assert that number fits inside MPNSIZE limbs.
25825 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25826 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25827 calculations and add assertions to avoid internal overflow
25828 possibilities. Add casts to avoid signed/unsigned operations.
25829 * stdlib/tst-strtod-overflow.c: New file.
25830 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25831
1f529f7d
MP
258322012-08-25 Marek Polacek <polacek@redhat.com>
25833
25834 * time/time.h: Fix some typos in comments.
25835
59a629f1
RM
258362012-08-23 Roland McGrath <roland@hack.frob.com>
25837
25838 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25839 * posix/tst-rfc3484-2.c: Likewise.
25840 * posix/tst-rfc3484-3.c: Likewise.
25841
d3bafbc9
SM
258422012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25843
25844 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25845 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25846
4efcc022
JM
258472012-08-23 Joseph Myers <joseph@codesourcery.com>
25848
25849 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25850 #include of fxstatat64.c.
25851
3cc3ef96
RM
258522012-08-22 Roland McGrath <roland@hack.frob.com>
25853
f04e2132
RM
25854 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25855 * shadow/getspent_r.c: Likewise.
25856 * shadow/getspnam.c: Likewise.
25857 * shadow/getspnam_r.c: Likewise.
25858 * gshadow/getsgent.c: Likewise.
25859 * gshadow/getsgent_r.c: Likewise.
25860 * gshadow/getsgnam.c: Likewise.
25861 * gshadow/getsgnam_r.c: Likewise.
25862 * inet/getnetbyad.c: Likewise.
25863 * inet/getnetbyad_r.c: Likewise.
25864 * inet/getnetbynm.c: Likewise.
25865 * inet/getnetbynm_r.c: Likewise.
25866 * inet/getnetent.c: Likewise.
25867 * inet/getnetent_r.c: Likewise.
25868 * inet/getproto.c: Likewise.
25869 * inet/getproto_r.c: Likewise.
25870 * inet/getprtent.c: Likewise.
25871 * inet/getprtent_r.c: Likewise.
25872 * inet/getprtname.c: Likewise.
25873 * inet/getprtname_r.c: Likewise.
25874 * inet/getrpcbyname.c: Likewise.
25875 * inet/getrpcbyname_r.c: Likewise.
25876 * inet/getrpcbynumber.c: Likewise.
25877 * inet/getrpcbynumber_r.c: Likewise.
25878 * inet/getrpcent.c: Likewise.
25879 * inet/getrpcent_r.c: Likewise.
25880 * inet/getaliasent.c: Likewise.
25881 * inet/getaliasent_r.c: Likewise.
25882 * inet/getaliasname.c: Likewise.
25883 * inet/getaliasname_r.c: Likewise.
25884 * nscd/getgrgid_r.c: Likewise.
25885 * nscd/getgrnam_r.c: Likewise.
25886 * nscd/gethstbyad_r.c: Likewise.
25887 * nscd/gethstbynm3_r.c: Likewise.
25888 * nscd/getpwnam_r.c: Likewise.
25889 * nscd/getpwuid_r.c: Likewise.
25890 * nscd/getsrvbynm_r.c: Likewise.
25891 * nscd/getsrvbypt_r.c: Likewise.
25892 * nscd/gai.c: Likewise.
25893
c53d909c
RM
25894 * configure.in (build_nscd): New substituted variable, set
25895 by --disable-build-nscd and defaults to $use_nscd.
25896 * configure: Regenerated.
25897 * config.make.in (build-nscd): New substituted variable.
25898 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25899 Change conditional to require [$(build-nscd) = yes] as well.
25900 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25901
3cc3ef96
RM
25902 [BZ# 13696]
25903 * configure.in (use_nscd): New substituted variable, set by
25904 --disable-nscd. If enabled, define USE_NSCD.
25905 * configure: Regenerated.
25906 * config.h.in: Add USE_NSCD.
25907 * config.make.in (use-nscd): New substituted variable.
25908 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25909 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25910 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25911 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25912 (CFLAGS-getgrnam_r.c): Likewise.
25913 (CFLAGS-initgroups.c): Likewise.
25914 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25915 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25916 Variables removed.
25917 * inet/getnetgrent_r.c
25918 (nscd_setnetgrent): New function, broken out of ...
25919 (setnetgrent): ... here. Call it.
25920 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25921 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25922 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25923 * nscd/Makefile (routines, aux): Move definitions after include of
25924 Makeconfig. Conditionalize on [$(use-nscd) != no].
25925 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25926 Conditionalize on [USE_NSCD].
25927 (is_nscd, nscd_init_cb): Likewise.
25928 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25929 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25930 * nss/nss_db/db-init.c: Likewise.
25931 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25932 [USE_NSCD].
25933 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25934 (make_request): Use it.
25935 (cache_valid_p): New function.
25936 (__check_pf): Use it.
25937 * NEWS: Add item for --disable-nscd.
25938
07e51550
DL
259392012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25940
25941 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25942 to support sed >= 4.2.1-20-ga9bf076.
25943 * configure: Regenerated.
25944
35a5b08b
RM
259452012-08-22 Roland McGrath <roland@hack.frob.com>
25946
25947 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25948 Conditionalize whole body on [IREL].
25949
8479f23a
JL
259502012-08-22 Jeff Law <law@redhat.com>
25951
25952 [BZ #14505]
25953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25954 if the family is PF_UNSPEC.
25955
48da0b21
MF
259562012-08-22 Mike Frysinger <vapier@gentoo.org>
25957
25958 * Makerules (lib-version): Rename from V.
25959 (install-lib-nosubdir): Change V to lib-version.
25960
15d0da8c
WS
259612012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25962
25963 [BZ #14252]
25964 * powerpc32/power6/wcschr.c: New file.
25965 * powerpc32/power6/wcscpy.c: New file.
25966 * powerpc32/power6/wcsrchr.c: New file.
25967 * powerpc64/power6/wcschr.c: New file.
25968 * powerpc64/power6/wcscpy.c: New file.
25969 * powerpc64/power6/wcsrchr.c: New file.
25970
bcca0895
MK
259712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25972
25973 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25974 (two_way_short_needle): Use it.
5a4aaa33
RM
25975 * string/strstr.c (AVAILABLE1_USES_J): Define.
25976 * string/strcasestr.c: Likewise.
99677e57
MK
25977
25978 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25979 array references.
25980 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25981
400726de
MK
25982 [BZ #11607]
25983 * NEWS: Add an entry.
25984 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25985 define their defaults.
25986 (two_way_short_needle): Detect end-of-string on-the-fly.
25987 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25988 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25989 * string/bug-strcasestr1.c: New test.
25990 * string/Makefile: Run it.
25991
20a71f2c
MK
259922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25993
25994 [BZ #11607]
25995 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25996 the first character.
25997
21ad0558
RM
259982012-08-21 Roland McGrath <roland@hack.frob.com>
25999
26000 * csu/elf-init.c (__libc_csu_irel): Function removed.
26001 * csu/libc-start.c (apply_irel): New function.
26002 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26003
0e1d9911
JM
260042012-08-21 Joseph Myers <joseph@codesourcery.com>
26005
26006 * sysdeps/unix/sysv/linux/kernel-features.h
26007 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26008 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26009 <kernel-features.h>.
26010 [__NR_fadvise64_64]: Make code unconditional.
26011 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26012 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26013 !__NR_fadvise64_64)]: Likewise.
26014 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26015 !__NR_fadvise64_64))]: Likewise.
26016 [__NR_fadvise64]: Make code unconditional.
26017 [!__NR_fadvise64]: Remove conditional code.
26018 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26019 <kernel-features.h>.
26020 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26021 unconditional.
26022 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26023 conditional code.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26025 not include <kernel-features.h>.
26026 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26027 unconditional.
26028 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26029 conditional code.
26030 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26031 include <kernel-features.h>.
26032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26033 unconditional.
26034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26035 conditional code.
26036
14a50c9d
WS
260372012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26038
26039 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26040 slight instruction rearrangements per scrollpipe analysis.
26041 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26042
c0f4faf0
RM
260432012-08-20 Roland McGrath <roland@hack.frob.com>
26044
696da859
RM
26045 * manual/syslog.texi (syslog; vsyslog, closelog):
26046 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26047 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26048
c0f4faf0
RM
26049 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26050 DSOCAPS to match condition on defining it.
26051
348363b2
JM
260522012-08-20 Joseph Myers <joseph@codesourcery.com>
26053
a35cbf28
JM
26054 * sysdeps/unix/sysv/linux/kernel-features.h
26055 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26065
445f7ecd
JM
26066 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26067 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26068
348363b2
JM
26069 * sysdeps/unix/sysv/linux/kernel-features.h
26070 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26071 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26072 unconditional.
26073 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26074 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26075 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26076 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26077 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26078 Make code unconditional.
26079 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26080 (__mmap64) [!__NR_mmap2]: Likewise.
26081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26082 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26083 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26085 [__NR_mmap2]: Make code unconditional.
26086 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26087 (__mmap64) [!__NR_mmap2]: Likewise.
26088
bc5bc0e5
AK
260892012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26090
26091 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26092
88d506de
AJ
260932012-08-18 Andreas Jaeger <aj@suse.de>
26094
26095 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26096
493387d2
MF
260972012-08-18 Mike Frysinger <vapier@gentoo.org>
26098
26099 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26100 * include/unistd.h (__have_sock_cloexec): Likewise.
26101 (__have_pipe2): Likewise.
26102 (__have_dup3): Likewise.
26103
a277af22
MF
261042012-08-18 Mike Frysinger <vapier@gentoo.org>
26105
26106 [BZ #9685]
26107 * include/unistd.h (__have_pipe2): Change define into an extern int.
26108 (__have_dup3): Likewise.
26109 * socket/have_sock_cloexec.c: Include fcntl.h.
26110 (__have_pipe2): New variable.
26111 (__have_dup3): Likewise.
26112
fdab8fd3
MF
261132012-08-17 Mike Frysinger <vapier@gentoo.org>
26114
26115 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26116
31035e80
MP
261172012-08-17 Marek Polacek <polacek@redhat.com>
26118
26119 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26120 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26121
3bd9e993
RM
261222012-08-17 Roland McGrath <roland@hack.frob.com>
26123
c91c505f
RM
26124 * configure.in: Add AC_SUBST for sysheaders.
26125 * configure: Regenerated.
26126 * config.make.in (sysheaders): New substituted variable.
26127
7c6f9d53
RM
26128 * sysdeps/unix/mkfifo.c: Moved ...
26129 * sysdeps/posix/mkfifo.c: ... here.
26130 * sysdeps/unix/mkfifoat.c: Moved ...
26131 * sysdeps/posix/mkfifoat.c: ... here.
26132
26133 * sysdeps/unix/utime.c: Moved ...
26134 * sysdeps/posix/utime.c: ... here.
26135
26136 * sysdeps/unix/time.c: Moved ...
26137 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26138 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26139 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26140
26141 * sysdeps/unix/nice.c: Moved ...
26142 * sysdeps/posix/nice.c: ... here.
26143
26144 * sysdeps/unix/alarm.c: Moved ...
26145 * sysdeps/posix/alarm.c: ... here.
26146
3bd9e993
RM
26147 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26148
d1f09384
JL
261492012-08-17 Jeff Law <law@redhat.com>
26150
26151 * intl/Makefile (codeset_mo): New variable.
26152 ($(codeset_mo)): New target.
26153 (tst-codeset.out): Depend on that. Remove explicit rule.
26154 (tst-gettext3.out, tst-gettext5.out): Likewise.
26155 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26156 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26157 * intl/tst-codeset.sh: Remove.
26158 * intl/tst-gettext3.sh: Likewise.
26159 * intl/tst-gettext5.sh: Likewise.
26160
2ae1ae5c
RM
261612012-08-17 Roland McGrath <roland@hack.frob.com>
26162
c31fdb83
RM
26163 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26164 * sysdeps/unix/syscalls.list: ... here.
26165
a0844057
RM
26166 * sysdeps/posix/getaddrinfo.c
26167 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26168 (gaiconf_init, gaiconf_reload): Use them.
26169 [!_STATBUF_ST_NSEC]
26170 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26171 Define using time_t rather than struct timespec.
26172
750c1f2a
RM
26173 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26174 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26175 Macros removed.
26176 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26177 [!NO_THREADS].
26178 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26179 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26180 Likewise.
26181
2ae1ae5c
RM
26182 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26183 __libc_cleanup_push argument.
26184
e66a42f5
RM
26185 * bits/param.h: New file.
26186 * misc/sys/param.h: New file.
26187 * include/sys/param.h: New file.
26188 * misc/Makefile (headers): Add bits/param.h.
26189 * sysdeps/generic/sys/param.h: File removed.
26190 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26191 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26192 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26193 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26194
b7c08a66
RM
26195 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26196 last change.
26197
b2e1c562
RM
26198 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26199 [_IO_MTSAFE_IO].
26200 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26201 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26202 New macros.
26203
c75ccd4c
RM
26204 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26205 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26206 rather than -D_IO_MTSAFE_IO conditionally.
26207 * stdio-common/Makefile (CPPFLAGS): Likewise.
26208 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26209 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26210 Use $(libio-mtsafe).
26211 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26212 of -D_IO_MTSAFE_IO.
26213 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26214 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26215 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26216 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26217 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26218 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26219 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26220 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26221 (CFLAGS-fread_u_chk.c): Likewise.
26222 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26223 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26224 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26225 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26226 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26227 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26228 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26229 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26230 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26231
26232 * libio/Makefile: Test [$(libc-reentrant) = yes]
26233 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26234
26235 * Makeconfig
26236 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26237 * sysdeps/pthread/configure: File removed.
26238 * sysdeps/pthread/Makeconfig: New file.
26239 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26240 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26241
d9195db8
GB
262422012-08-16 Gary Benson <gbenson@redhat.com>
26243
26244 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26245 unmapping the first object in a namespace.
26246
86466cd9
RM
262472012-08-16 Roland McGrath <roland@hack.frob.com>
26248
26249 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26250 (__internal_setnetgrent): ... this. Add internal_function to
26251 definition. Add libc_hidden_def.
26252 (setnetgrent): Update caller.
26253 (internal_endnetgrent): Renamed to ...
26254 (__internal_endnetgrent): ... this. Add internal_function to
26255 definition. Add libc_hidden_def.
26256 (endnetgrent): Update caller.
26257 (internal_getnetgrent_r): Renamed to ...
26258 (__internal_getnetgrent_r): ... this. Add internal_function to
26259 definition. Add libc_hidden_def.
26260 (__getnetgrent_r): Update caller.
26261 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26262
c3c8283c
JM
262632012-08-16 Joseph Myers <joseph@codesourcery.com>
26264
26265 * stdlib/longlong.h: Update from GCC.
26266
db1ee0a8
RM
262672012-08-16 Roland McGrath <roland@hack.frob.com>
26268
26269 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26270 on _QL, which is set by umul_ppmm but never used.
26271 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26272 variables, which are set by GMP macros but never used.
26273 * stdio-common/_itowa.c (_itowa): Likewise.
26274 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26275 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26276
30f69637
CD
262772012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26278
26279 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26280 struct La_sh_regs is not constant.
26281 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26282 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26283 and struct La_sparc64_regs are not constant.
26284
93a78ac4
JM
262852012-08-16 Joseph Myers <joseph@codesourcery.com>
26286
26287 * sysdeps/unix/sysv/linux/kernel-features.h
26288 (__ASSUME_POSIX_TIMERS): Remove.
26289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26291 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26292 Make code unconditional.
26293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26294 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26295 Make code unconditional.
26296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26297 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26298 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26300 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26301 Make code unconditional.
26302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26303 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26304 (__libc_missing_posix_timers): Remove.
26305
dd924cd7
RM
263062012-08-15 Roland McGrath <roland@hack.frob.com>
26307
4b4f2771
RM
26308 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26309 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26310
601c888b
RM
26311 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26312
176790a7
RM
26313 * elf/dl-sym.c: Include <stdlib.h>.
26314
329bc018
RM
26315 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26316 constants, which avoids warnings in 32-bit builds.
26317
e04e272d
RM
26318 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26319 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26320
952bf94a
RM
26321 * misc/lseek.c: File moved to ...
26322 * io/lseek.c: ... here.
26323
7c99b50a
RM
26324 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26325
dd924cd7
RM
26326 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26327 shifting LEN more than 31 bits at once.
26328
b3f479a8
LD
263292012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26330
26331 [BZ #14195]
8c4ae0d4
RM
26332 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26333 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26334 * string/test-strncasecmp.c (check1): Renamed to...
26335 (bz12205): ...this.
26336 (bz14195): Add new testcase for two empty input strings and N > 0.
26337 (test_main): Call new testcase, adapt for renamed function.
26338
9c55864e
AJ
263392012-08-15 Andreas Jaeger <aj@suse.de>
26340
26341 [BZ #14090]
26342 * crypt/md5test2.c: New test, based on test supplied by Serge
26343 Belyshev <belyshev@depni.sinp.msu.ru>.
26344 * crypt/Makefile (xtests): Add md5test-giant..
26345 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26346
02dcb6c5
PE
263472012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26348
26349 [BZ #14090]
26350 * crypt/md5.c (md5_process_block): Don't assume the buffer
26351 length is less than 2**32.
26352 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26353 length is less than 2**64.
26354
a3f95dcc
RM
263552012-08-15 Roland McGrath <roland@hack.frob.com>
26356
be75d758
RM
26357 * string/str-two-way.h: Include <sys/param.h>.
26358 (MAX): Macro removed.
26359
7312ca90
RM
26360 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26361 Move #define and #undef of memmove to just before and after
26362 including <string.h>.
26363
9a0a5486
RM
26364 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26365 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26366 and after including <string.h>. Move declarations of
26367 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26368 to before #include "string/memmove.c".
26369
67cc348d
RM
26370 * include/dirent.h: Declare __getdirentries.
26371
a3f95dcc
RM
26372 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26373 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26374
ca98e171
MF
263752012-08-14 Mike Frysinger <vapier@gentoo.org>
26376
26377 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26378 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26379 * sysdeps/i386/configure: Regenerated.
26380 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26381 STABS_CURRENT_FILE, and STABS_FUN.
26382 (END): Remove call to STABS_FUN_END.
26383 (STABS_CURRENT_FILE1): Delete.
26384 (STABS_CURRENT_FILE): Likewise.
26385 (STABS_FUN): Likewise.
26386 (STABS_FUN_END): Likewise.
26387 (STABS_FUN2): Likewise.
26388 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26389 * sysdeps/x86_64/configure: Regenerated.
26390
5908bf46
RM
263912012-08-14 Roland McGrath <roland@hack.frob.com>
26392
26393 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26394 * elf/dl-lookup.c: Likewise.
5908bf46 26395
f2c05b9e
JM
263962012-08-14 Joseph Myers <joseph@codesourcery.com>
26397
26398 * sysdeps/unix/sysv/linux/kernel-features.h
26399 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26400 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26401 unconditionally.
26402 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26403 unconditionally.
26404 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26405 condition on __ASSUME_CLONE_THREAD_FLAGS.
26406
e11f5155
AJ
264072012-08-14 Andreas Jaeger <aj@suse.de>
26408
26409 * sysdeps/i386/fpu/libm-test-ulps: Update.
26410
51a9ba86
MK
264112012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26412
2fdd4f78
AJ
26413 * include/atomic.h (atomic_exchange_and_add): Split into ...
26414 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26415 New atomic macros.
51a9ba86 26416
ba6cba9e
MT
264172012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26418
26419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26420
42443a47
JL
264212012-08-13 Jeff Law <law@redhat.com>
26422
26423 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26424 null byte in the output string.
26425
121dce05
JM
264262012-08-10 Joseph Myers <joseph@codesourcery.com>
26427
26428 * sysdeps/unix/sysv/linux/kernel-features.h
26429 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26430 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26431 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26432 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26433 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26434 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26435 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26436
bf51f568
JL
264372012-08-09 Jeff Law <law@redhat.com>
26438
26439 [BZ #13939]
26440 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26441 When avoid_arena is set, don't retry in the that arena. Pick the
26442 next one, whatever it might be.
26443 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26444 (arena_lock): Pass in new parameter to arena_get2.
26445 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26446 arena_get2.
26447 (__libc_malloc): Unify retrying after main arena failure with
26448 __libc_memalign version.
26449 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26450
f85fa270
L
264512012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26452
26453 [BZ #14166]
26454 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26455 to __redirect_strstr.
26456 (__strstr_sse42): Use typeof __redirect_strstr.
26457 (__strstr_ia32): Likewise.
26458 (__libc_strstr): New prototype.
26459 (strstr): Renamed to ...
26460 (__libc_strstr): This.
26461 (strstr): New strong alias of __libc_strstr.
26462 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26463 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26464 __redirect_time.
26465 Include <time.h>.
26466 (__libc_time): New prototype.
26467 (time_ifunc): Replace time with __libc_time.
26468 (time): New strong alias and hidden definition of __libc_time.
26469 (__GI_time): Remove strong alias.
26470 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26471 Include <stddef.h>.
26472 (memmove): Redefined to __redirect_memmove.
26473 (__memmove_sse2): Use typeof __redirect_memmove.
26474 (__memmove_ssse3): Likewise.
26475 (__memmove_ssse3_back): Likewise.
26476 (__libc_memmove): New prototype.
26477 (memmove): Renamed to ...
26478 (__libc_memmove): This.
26479 (memmove): New strong alias of __libc_memmove.
26480
33b4a91e
MS
264812012-08-08 Mark Salter <msalter@redhat.com>
26482
26483 * elf/elf.h
26484 (R_MN10300_TLS_GD): Define.
26485 (R_MN10300_TLS_LD): Likewise.
26486 (R_MN10300_TLS_LDO): Likewise.
26487 (R_MN10300_TLS_GOTIE): Likewise.
26488 (R_MN10300_TLS_IE): Likewise.
26489 (R_MN10300_TLS_LE): Likewise.
26490 (R_MN10300_TLS_DTPMOD): Likewise.
26491 (R_MN10300_TLS_DTPOFF): Likewise.
26492 (R_MN10300_TLS_TPOFF): Likewise.
26493 (R_MN10300_SYM_DIFF): Likewise.
26494 (R_MN10300_ALIGN): Likewise.
26495 (R_MN10300_NUM): Update.
26496
b36137f1
JM
264972012-08-08 Joseph Myers <joseph@codesourcery.com>
26498
26499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26500 Remove.
26501
cdd915fd
RM
265022012-08-08 Roland McGrath <roland@hack.frob.com>
26503
a2433aac
RM
26504 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26505
cdd915fd
RM
26506 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26507 sysdeps/unix -> sysdeps/posix move.
26508 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26509
bf9b740a
AM
265102012-08-07 Allan McRae <allan@archlinux.org>
26511
26512 [BZ #14303]
26513 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26514 (SUNOS_CPP): Likewise.
26515 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26516 not found.
26517 (open_input): Call CPP using execvp.
26518
93df14ee
JM
265192012-08-07 Joseph Myers <joseph@codesourcery.com>
26520
26521 * sysdeps/unix/sysv/linux/kernel-features.h
26522 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26523 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26524 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26525 (__ASSUME_WAITID_SYSCALL): Likewise.
26526 * sysdeps/unix/sysv/linux/dl-execstack.c
26527 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26528 code unconditional.
26529 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26530 conditional code.
26531 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26532 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26533 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26534 code.
26535 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26536 unconditional.
26537 [__ASSUME_WAITID_SYSCALL]: Likewise.
26538 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26539
d34689de
RM
265402012-08-07 Roland McGrath <roland@hack.frob.com>
26541
a281decc
RM
26542 * sysdeps/unix/closedir.c: Renamed to ...
26543 * sysdeps/posix/closedir.c: ... here.
26544 * sysdeps/unix/dirfd.c: Renamed to ...
26545 * sysdeps/posix/dirfd.c: ... here.
26546 * sysdeps/unix/dirstream.h: Renamed to ...
26547 * sysdeps/posix/dirstream.h: ... here.
26548 * sysdeps/unix/fdopendir.c: Renamed to ...
26549 * sysdeps/posix/fdopendir.c: ... here.
26550 * sysdeps/unix/opendir.c: Renamed to ...
26551 * sysdeps/posix/opendir.c: ... here.
26552 * sysdeps/unix/readdir.c: Renamed to ...
26553 * sysdeps/posix/readdir.c: ... here.
26554 * sysdeps/unix/readdir_r.c: Renamed to ...
26555 * sysdeps/posix/readdir_r.c: ... here.
26556 * sysdeps/unix/rewinddir.c: Renamed to ...
26557 * sysdeps/posix/rewinddir.c: ... here.
26558 * sysdeps/unix/seekdir.c: Renamed to ...
26559 * sysdeps/posix/seekdir.c: ... here.
26560 * sysdeps/unix/telldir.c: Renamed to ...
26561 * sysdeps/posix/telldir.c: ... here.
26562 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26563 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26564 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26565 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26566
22895b47
RM
26567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26568 * bits/fcntl.h: ... here.
26569
707a53b6
RM
26570 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26571 not 0.
26572 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26573 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26574 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26575 (struct flock): Move l_start, l_len to the beginning.
26576 Use __pid_t for l_pid.
26577 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26578 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26579 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26580 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26581 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26582 [__USE_LARGEFILE64] (struct flock64): New type.
26583 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26584
f0bd3e25
RM
26585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26586 * bits/dirent.h: ... here.
26587
d34689de
RM
26588 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26589 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26590
6dad2c06
JM
265912012-08-07 Joseph Myers <joseph@codesourcery.com>
26592
26593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26594 Change from 2.6.0 to 2.6.16.
26595 * sysdeps/unix/sysv/linux/configure: Regenerated.
26596 * sysdeps/unix/sysv/linux/kernel-features.h
26597 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26598 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26599 version.
26600 (__ASSUME_UTIMES): Likewise.
26601 (__ASSUME_CLONE_STOPPED): Remove.
26602 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26603 architectures, not kernel version.
26604 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26605 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26606 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26607 (__ASSUME_WAITID_SYSCALL): Likewise.
26608 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26609 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26610 * README: State 2.6.16 as minimum Linux kernel version. Do not
26611 refer to older versions.
26612
03af9520
RM
266132012-08-06 Roland McGrath <roland@hack.frob.com>
26614
8e49df1d
RM
26615 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26616 Define alphasort64 as an alias.
26617 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26618 Define versionsort64 as an alias.
26619 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26620 Define scandir64 as an alias.
26621 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26622 Define scandirat64 as an alias.
26623 * dirent/alphasort64.c (alphasort64):
26624 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26625 * dirent/versionsort64.c: Likewise.
26626 * dirent/scandir64.c: Likewise.
26627 * dirent/scandirat64.c: Likewise.
26628 * sysdeps/wordsize-64/alphasort.c: File removed.
26629 * sysdeps/wordsize-64/alphasort64.c: File removed.
26630 * sysdeps/wordsize-64/scandir.c: File removed.
26631 * sysdeps/wordsize-64/scandir64.c: File removed.
26632 * sysdeps/wordsize-64/scandirat.c: File removed.
26633 * sysdeps/wordsize-64/scandirat64.c: File removed.
26634 * sysdeps/wordsize-64/versionsort.c: File removed.
26635 * sysdeps/wordsize-64/versionsort64.c: File removed.
26636 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26637 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26638 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26639 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26640 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26641 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26642 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26643 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26644
26645 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26647 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26649 [defined __arch64__ || defined __sparcv9]
26650 (__INO_T_MATCHES_INO64_T): New macro.
26651 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26652 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26653 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26654 * sysdeps/unix/sysv/linux/bits/dirent.h
26655 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26656 (_DIRENT_MATCHES_DIRENT64): New macro.
26657
03af9520
RM
26658 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26659 Define lockf64 as an alias.
26660 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26661 Define fseeko64 as an alias.
26662 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26663 Define ftello64 as an alias.
26664 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26665 Define _IO_fgetpos64 and fgetpos64 as aliases.
26666 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26667 Define _IO_fsetpos64 and fsetpos64 as aliases.
26668 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26669 Conditionalize body on this.
26670 * libio/fseeko64.c: Likewise.
26671 * libio/ftello64.c: Likewise.
26672 * libio/iofgetpos64.c: Likewise.
26673 * libio/iofsetpos64.c: Likewise.
26674 * sysdeps/wordsize-64/lockf.c: File removed.
26675 * sysdeps/wordsize-64/lockf64.c: File removed.
26676 * sysdeps/wordsize-64/fseeko.c: File removed.
26677 * sysdeps/wordsize-64/fseeko64.c: File removed.
26678 * sysdeps/wordsize-64/ftello.c: File removed.
26679 * sysdeps/wordsize-64/ftello64.c: File removed.
26680 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26681 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26682 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26683 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26684 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26686 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26688 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26692 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26693 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26694
26695 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26697 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26699 [defined __arch64__ || defined __sparcv9]
26700 (__OFF_T_MATCHES_OFF64_T): New macro.
26701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26702 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26704 (__OFF_T_MATCHES_OFF64_T): New macro.
26705
c5757acd
L
267062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 * stdlib/secure-getenv.c (__secure_getenv): Replace
26709 GLIBC_2_16 with GLIBC_2_17.
26710
3a31811e
L
267112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26712
26713 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26714 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26715
faa2bccb
DM
267162012-08-03 David S. Miller <davem@davemloft.net>
26717
26718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26719
85fe1997
JM
267202012-08-03 Joseph Myers <joseph@codesourcery.com>
26721
26722 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26723 Remove.
26724 (__ASSUME_CORRECT_SI_PID): Likewise.
26725 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26726 (__ASSUME_TMPFS_NAME): Likewise.
26727 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26728 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26729 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26730 (HAVE_AUX_SECURE): Make definition unconditional.
26731 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26732 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26733
4f75b7a0
RM
267342012-08-03 Roland McGrath <roland@hack.frob.com>
26735
26736 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26737 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26738 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26739 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26740 __eloop_threshold instead of SYMLOOP_MAX.
26741
26742 * sysdeps/generic/eloop-threshold.h: New file.
26743 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26744 of MAXSYMLINKS.
26745 * elf/chroot_canon.c (chroot_canon): Likewise.
26746
7aab07e4
JM
267472012-08-03 Joseph Myers <joseph@codesourcery.com>
26748
26749 [BZ #13717]
26750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26751 Change to 2.6.0 everywhere.
26752 * sysdeps/unix/sysv/linux/configure: Regenerated.
26753 * sysdeps/unix/sysv/linux/kernel-features.h
26754 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26755 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26756 kernel versions.
26757 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26758 (__ASSUME_FUTEX_REQUEUE): Remove.
26759 (__ASSUME_STATFS64): Define unconditionally.
26760 (__ASSUME_AT_SECURE): Likewise.
26761 (__ASSUME_CORRECT_SI_PID): Likewise.
26762 (__ASSUME_TGKILL): Define without depending on kernel version for
26763 i386.
26764 (__ASSUME_UTIMES): Likewise.
26765 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26766 kernel version.
26767 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26768 (__ASSUME_TMPFS_NAME): Likewise.
26769 * README: Update reference to Linux kernel versions.
26770
b67e9372
MP
267712012-08-02 Marek Polacek <polacek@redhat.com>
26772
1f529f7d 26773 [BZ# 14150]
b67e9372
MP
26774 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26775 libc_cv_asm_type_prefix with %.
26776 * configure: Regenerated.
d2441631
RM
26777 * include/libc-symbols.h: Remove comment about
26778 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26779 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26780 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26781 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26782 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26783 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26784 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26785 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26786 * elf/tst-unique2mod1.c: Likewise.
26787 * elf/tst-unique1mod2.c: Likewise.
26788 * elf/tst-unique1mod1.c: Likewise.
26789 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26790 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26791 Replace ASM_TYPE_DIRECTIVE with .type.
26792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26793 * sysdeps/i386/sysdep.h: Likewise.
26794 * sysdeps/x86_64/sysdep.h: Likewise.
26795 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26797 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26798 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26799 * sysdeps/powerpc/powerpc32/sysdep.h:
26800 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26801 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26802 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26803 * sysdeps/i386/fpu/e_powf.S: Likewise.
26804 * sysdeps/i386/fpu/e_expl.S: Likewise.
26805 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26806 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26807 * sysdeps/i386/fpu/e_pow.S: Likewise.
26808 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26809 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26810 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26811 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26812 * sysdeps/i386/fpu/e_log2.S: Likewise.
26813 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26814 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26815 * sysdeps/i386/fpu/e_powl.S: Likewise.
26816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26817 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26818 * sysdeps/i386/fpu/e_logl.S: Likewise.
26819 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26820 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26821 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26822 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26823 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26824 * sysdeps/i386/fpu/e_log.S: Likewise.
26825 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26826 * sysdeps/i386/fpu/e_logf.S: Likewise.
26827 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26828 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26829 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26830 * sysdeps/i386/fpu/e_log10.S: Likewise.
26831 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26832 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26833 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26834 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26835 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26836 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26837 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26838 * sysdeps/i386/i686/strtok.S: Likewise.
26839 * sysdeps/i386/i386-mcount.S: Likewise.
26840 * sysdeps/i386/strtok.S: Likewise.
26841 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26842 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26843 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26844 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26845 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26846 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26847 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26848 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26849 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26850 * sysdeps/x86_64/_mcount.S: Likewise.
26851 * sysdeps/x86_64/strtok.S: Likewise.
26852 * sysdeps/sh/_mcount.S: Likewise.
26853
2747bf9a
RM
268542012-08-01 Roland McGrath <roland@hack.frob.com>
26855
26856 * libio/iofopen.c: Include <fcntl.h>.
26857 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26858 (_IO_fopen64, fopen64): Define as aliases.
26859 * libio/iofopen64.c: Include <fcntl.h>.
26860 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26861 Conditionalize body on this.
26862 * sysdeps/wordsize-64/iofopen.c: File removed.
26863 * sysdeps/wordsize-64/iofopen64.c: File removed.
26864
3fb791b8
MP
268652012-08-01 Marek Polacek <polacek@redhat.com>
26866
26867 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26868 Use dlfcn directly instead of a variable.
26869 (binfmt-subdir): Do not define.
26870 (dlfcn): Likewise.
26871
a9f1039f
JM
268722012-08-01 Joseph Myers <joseph@codesourcery.com>
26873
23bddc06
JM
26874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26875 Remove all definitions.
26876 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26877 <kernel-features.h>.
26878 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26879 (miss_F_GETOWN_EX): Remove all definitions.
26880 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26881 macro definition.
26882 [!__ASSUME_FCNTL64]: Remove conditional code.
26883 [__ASSUME_FCNTL64]: Make code unconditional.
26884 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26885 <kernel-features.h>.
26886 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26887 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26888 (lockf64) [__NR_fcntl64]: Make code unconditional.
26889 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26890
a9f1039f
JM
26891 * sysdeps/unix/sysv/linux/kernel-features.h
26892 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26893 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26894 Make code unconditional.
26895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26898 [__NR_vfork]: Make code unconditional.
26899 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26900 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26902 [__NR_vfork]: Make code unconditional.
26903 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26904 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26905
09c0ee5f
RM
269062012-08-01 Roland McGrath <roland@hack.frob.com>
26907
48aec5b9
RM
26908 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26909 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26910
cd97c966
RM
26911 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26912 Define mkstemp64 as an alias.
3f55550c
RM
26913 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26914 Define mkstemps64 as an alias.
cd97c966
RM
26915 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26916 Define mkostemp64 as an alias.
b8625cfc
RM
26917 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26918 Define mkostemps64 as an alias.
cd97c966
RM
26919 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26920 Conditionalize body on this.
26921 * misc/mkostemp64.c: Likewise.
b8625cfc 26922 * misc/mkostemps64.c: Likewise.
3f55550c 26923 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26924 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26925 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26926 * sysdeps/wordsize-64/mkostemp.c: File removed.
26927 * sysdeps/wordsize-64/mkstemp.c: File removed.
26928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26929 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26930 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26931 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26932
09c0ee5f
RM
26933 [BZ #14138]
26934 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26935 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26936 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26937 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26938
26939 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26940 compat_symbol macros from <shlib-compat.h> rather than the underlying
26941 default_symbol_version and symbol_version macros, so that DEFAULT
26942 lines in shlib-versions are respected.
26943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26944
7e66ee51
FW
269452012-08-01 Florian Weimer <fweimer@redhat.com>
26946
26947 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26948 Declare with warn_unused_result.
26949 (setgid, setregid, setegid, setresgid): Likewise.
26950 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26951 Likewise.
26952 * WUR-REPORT: Remove set*id functions.
26953
d2a54255
PT
269542012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26955
26956 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26957
7ecdb005
RM
269582012-07-31 Roland McGrath <roland@hack.frob.com>
26959
b4180a5e 26960 [BZ #10191]
789bd351
RM
26961 * include/sys/socket.h (__libc_accept, __libc_accept4):
26962 Add attribute_hidden.
26963 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26964
40ce302d
RM
26965 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26966 use of PTR_MANGLE.
26967 * inet/getnetgrent_r.c (setup): Likewise.
26968
7ecdb005
RM
26969 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26970
e2eabb2c
DM
269712012-07-31 David S. Miller <davem@davemloft.net>
26972
26973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26974
d0419dbf
JM
269752012-07-31 Joseph Myers <joseph@codesourcery.com>
26976
26977 [BZ #13629]
26978 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26979 value between 1.0 and 2.0 and smaller part has absolute value less
26980 than 1.0.
26981 * math/s_clog10.c (__clog10): Likewise.
26982 * math/s_clog10f.c (__clog10f): Likewise.
26983 * math/s_clog10l.c (__clog10l): Likewise.
26984 * math/s_clogf.c (__clogf): Likewise.
26985 * math/s_clogl.c (__clogl): Likewise.
26986 * math/libm-test.inc (clog_test): Add more tests.
26987 (clog10_test): Likewise.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26990
2bc13872
FW
269912012-07-31 Florian Weimer <fweimer@redhat.com>
26992
26993 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26994 Exit with zero in case no suitable GID is found, and write a
26995 message to standard error.
26996
bea9b193
RM
269972012-07-30 Roland McGrath <roland@hack.frob.com>
26998
26999 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27000 rather than to 1.
27001 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27002 (MAXPATHLEN): Removed.
27003 (NOGROUP, NODEV): New macros.
27004 (setbit, clrbit, isset, isclr): New macros.
27005 (howmany, roundup, powerof2): New macros.
27006 (DEV_BSIZE): New macro.
27007
27008 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27009 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27010
27011 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27012 definition on [!__NO_LONG_DOUBLE_MATH].
27013
27014 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27015 PTR_MANGLE and PTR_DEMANGLE.
27016
27017 * socket/accept4.c (accept4): Rename to __libc_accept4.
27018 Define accept4 as a weak alias.
27019
27020 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27021 on [_DIRENT_HAVE_D_TYPE].
27022 * io/ftw.c (ftw_dir): Likewise.
27023
27024 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27025
27026 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27027
27028 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27029 Use the BSD numbers rather than the arbitrary ones we had.
27030 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27031 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27032 (SIGXCPU, SIGXFSZ): New macros.
27033 (_NSIG): Now 32.
27034
27035 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27036 initializer on [_LIBC_REENTRANT].
27037
27038 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27039 definitions inside [_POSIX_MAPPED_FILES].
27040
27041 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27042
27043 * dirent/opendir.c: Include <fcntl.h>.
27044
27045 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27046 (__libc_getspecific): Likewise.
27047 (__libc_key_create): Likewise.
27048
27049 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27050 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27051 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27052 (tmpfile64): Define as alias.
27053 * sysdeps/wordsize-64/tmpfile.c: File removed.
27054 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27055 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27057
27058 * stdio-common/vfscanf.c: Include <stdbool.h>.
27059 * nss/makedb.c: Likewise.
27060 * stdio-common/_i18n_number.h: Likewise.
27061 * argp/argp-help.c: Likewise.
27062 * posix/wordexp.c: Likewise.
27063 * sysdeps/posix/spawni.c: Likewise.
27064 * nss/nss_files/files-initgroups.c: Likewise.
27065 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27066 * nss/nss_files/files-initgroups.c: Likewise.
27067 * nss/nss_db/db-netgrp.c: Likewise.
27068 * nss/nss_db/db-initgroups.c: Likewise.
27069 * io/fchmodat.c: Include <sys/stat.h>.
27070
27071 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27072 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27073
27074 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27075 [HAVE_MMAP].
27076
27077 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27078 Add multiple inclusion protection.
27079
e5abc686
DM
270802012-07-27 David S. Miller <davem@davemloft.net>
27081
27082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27083
815e6fa3
GB
270842012-07-27 Gary Benson <gbenson@redhat.com>
27085
27086 [BZ #14298]
27087 * elf/rtld.c: Include <stap-probe.h>.
27088 (dl_main): Added static probes "init_start" and "init_complete".
27089 * elf/dl-load.c: Include <stap-probe.h>.
27090 (lose): Take new parameter "nsid".
27091 Added static probe "map_failed".
27092 (_dl_map_object_from_fd): Pass namespace id to lose.
27093 Added static probe "map_start".
27094 (open_verify): Pass namespace id to lose.
27095 * elf/dl-open.c: Include <stap-probe.h>.
27096 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27097 and "reloc_complete".
27098 * elf/dl-close.c: Include <stap-probe.h>.
27099 (_dl_close_worker): Added static probes "unmap_start" and
27100 "unmap_complete".
27101 * elf/rtld-debugger-interface.txt: New file documenting the above.
27102
9f98c16c
RM
271032012-07-26 Roland McGrath <roland@hack.frob.com>
27104
27105 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27106 rather than a string variable.
27107 * sunrpc/rpc_main.c (h_output): Likewise.
27108 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27109
f3c22df3
PT
271102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27111
27112 * inet/check_native.c: New file.
27113
3129cfc6
JM
271142012-07-26 Joseph Myers <joseph@codesourcery.com>
27115
da865e95
JM
27116 [BZ #13629]
27117 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27118 if larger part has absolute value 1.0.
27119 * math/s_clog10.c (__clog10): Likewise.
27120 * math/s_clog10f.c (__clog10f): Likewise.
27121 * math/s_clog10l.c (__clog10l): Likewise.
27122 * math/s_clogf.c (__clogf): Likewise.
27123 * math/s_clogl.c (__clogl): Likewise.
27124 * math/libm-test.inc (clog_test): Add more tests.
27125 (clog10_test): Likewise.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27128
3129cfc6
JM
27129 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27130 (pltexit): Likewise.
27131 (La_regs): Likewise.
27132 (La_retval): Likewise.
27133 (int_retval): Likewise.
27134 Update #error for removed macros to refer only to definitions in
27135 tst-audit.h.
27136 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27137 macro.
27138 (pltexit): Likewise.
27139 (La_regs): Likewise.
27140 (La_retval): Likewise.
27141 (int_retval): Likewise.
27142 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27143 macro.
27144 (pltexit): Likewise.
27145 (La_regs): Likewise.
27146 (La_retval): Likewise.
27147 (int_retval): Likewise.
27148 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27149 macro.
27150 (pltexit): Likewise.
27151 (La_regs): Likewise.
27152 (La_retval): Likewise.
27153 (int_retval): Likewise.
27154 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27155 macro.
27156 (pltexit): Likewise.
27157 (La_regs): Likewise.
27158 (La_retval): Likewise.
27159 (int_retval): Likewise.
27160 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27161 macro.
27162 (pltexit): Likewise.
27163 (La_regs): Likewise.
27164 (La_retval): Likewise.
27165 (int_retval): Likewise.
27166 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27167 macro.
27168 (pltexit): Likewise.
27169 (La_regs): Likewise.
27170 (La_retval): Likewise.
27171 (int_retval): Likewise.
27172 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27173 macro definitions in tst-audit.h.
27174 * sysdeps/i386/tst-audit.h: New file.
27175 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27176 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27177 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27178 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27179 * sysdeps/sh/tst-audit.h: Likewise.
27180 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27181 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27182 * sysdeps/x86_64/tst-audit.h: Likewise.
27183
bfc07087
AJ
271842012-07-26 Andreas Jaeger <aj@suse.de>
27185
b1b2aaf8
AJ
27186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27187 ptrace.
27188
27189 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27190 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27191 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27192 PTRACE_O_MASK.
27193 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27194 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27196
bfc07087
AJ
27197 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27198 value.
27199
27200 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27201 _sigsys.
27202 (si_call_addr, si_syscall, si_arch): Define new macro.
27203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27204 _sigsys.
27205 (si_call_addr, si_syscall, si_arch): Define new marcro.
27206 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27207 _sigsys.
27208 (si_call_addr, si_syscall, si_arch): Define new macro.
27209 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27210 _sigsys.
27211 (si_call_addr, si_syscall, si_arch): Define new macro.
27212
89b4b02f
JM
272132012-07-25 Joseph Myers <joseph@codesourcery.com>
27214
27215 [BZ #13717]
27216 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27217 Change to 2.4.21 where previously 2.4.1.
27218 * sysdeps/unix/sysv/linux/configure: Regenerated.
27219 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27220 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27221 Linux kernel version.
27222 (__ASSUME_STD_AUXV): Remove.
27223 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27224 kernel version.
27225 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27226 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27227 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27228 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27229 (__ASSUME_NETLINK_SUPPORT): Likewise.
27230 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27231 (__no_netlink_support): Remove conditional definition.
27232 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27233 Remove.
27234 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27235 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27236 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27237 (if_nameindex_ioctl): Remove.
27238 (if_nameindex_netlink): Do not handle __no_netlink_support.
27239 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27240 code.
27241 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27242 Remove conditional code.
27243 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27244 code.
27245 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27246 unconditional.
27247 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27248 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27249 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27250 Remove.
27251 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27252 [!__ASSUME_STD_AUXV]: Remove conditional code.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27254 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27255 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27257 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27258 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27259 code.
27260 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27262 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27263 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27264 conditional code.
27265 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27267 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27268 code.
27269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27270 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27271 conditional code.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27273 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27274 code unconditional.
27275 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27276 conditional code.
27277 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27278 unconditional.
27279 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27280 conditional code.
27281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27282 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27283 unconditional.
27284 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27285 conditional code.
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27287 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27288 code unconditional.
27289 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27290 conditional code.
27291 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27292 unconditional.
27293 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27294 conditional code.
27295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27296 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27297 code unconditional.
27298 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27299 conditional code.
27300 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27301 unconditional.
27302 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27303 conditional code.
27304
842a39cd
AS
273052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27306
27307 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27308 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27309 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27310 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27311 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27312 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27313 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27314 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27315 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27316 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27317 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27318 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27319 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27320 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27321 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27322 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27323 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27325 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27327 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27328 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27329 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27330
84b3fd84
FW
273312012-07-25 Florian Weimer <fweimer@redhat.com>
27332
27333 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27334 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27335 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27336 Introduce __libc_secure_getenv.
0c7936d5
FW
27337 * stdlib/Versions (2.17): Add secure_getenv
27338 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27339 * stdlib/secure-getenv.c: Rename __secure_getenv to
27340 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27341 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27342 * stdlib/tst-secure-getenv.c: New.
27343 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27344 * manual/startup.texi (Environment Access): Document
27345 secure_getenv.
84b3fd84
FW
27346 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27347 __libc_secure_getenv.
27348 * inet/ruserpass.c (ruserpass): Likewise.
27349 * malloc/mtrace.c (mtrace): Likewise.
27350 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27351 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27352 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27353 * sysdeps/posix/tempname.c: Likewise. Evaluate
27354 HAVE_SECURE_GETENV.
27355 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27356 __secure_getenv to __libc_secure_getenv.
84b3fd84 27357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27359 Likewise.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27361 Likewise.
27362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27369
56e49b71
JM
273702012-07-25 Joseph Myers <joseph@codesourcery.com>
27371
27372 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27373 (struct La_i86_retval): Likewise.
27374 (struct La_x86_64_regs): Likewise.
27375 (struct La_x86_64_retval): Likewise.
27376 (struct La_x32_regs): Likewise.
27377 (struct La_x32_retval): Likewise.
27378 (struct La_ppc32_regs): Likewise.
27379 (struct La_ppc32_retval): Likewise.
27380 (struct La_ppc64_regs): Likewise.
27381 (struct La_ppc64_retval): Likewise.
27382 (struct La_sh_regs): Likewise.
27383 (struct La_sh_retval): Likewise.
27384 (struct La_s390_32_regs): Likewise.
27385 (struct La_s390_32_retval): Likewise.
27386 (struct La_s390_64_regs): Likewise.
27387 (struct La_s390_64_retval): Likewise.
27388 (struct La_sparc32_regs): Likewise.
27389 (struct La_sparc32_retval): Likewise.
27390 (struct La_sparc64_regs): Likewise.
27391 (struct La_sparc64_retval): Likewise.
27392 (struct audit_ifaces): Remove architecture-specific pltenter and
27393 pltexit members.
27394 * sysdeps/i386/ldsodefs.h: New file.
27395 * sysdeps/powerpc/ldsodefs.h: Likewise.
27396 * sysdeps/s390/ldsodefs.h: Likewise.
27397 * sysdeps/sh/ldsodefs.h: Likewise.
27398 * sysdeps/sparc/ldsodefs.h: Likewise.
27399 * sysdeps/x86_64/ldsodefs.h: Likewise.
27400
354691b7
MP
274012012-07-25 Marek Polacek <polacek@redhat.com>
27402
27403 [BZ #6808]
27404 * math/libm-test.inc (yn_test): Add another test.
27405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27406 to ERANGE when the result is +-Inf.
27407 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27408 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27409 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27410 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27411
bf9e2071
JM
274122012-07-24 Joseph Myers <joseph@codesourcery.com>
27413
27414 * conform/data/time.h-data (NULL): Use macro-constant. Require
27415 equal to 0.
27416 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27417 clock_t.
27418 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27419
57633811
TS
274202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27421
27422 * configure.in <sysdeps resolving>: Correct printing
27423 Implies_before.
27424 * configure: Regenerate.
27425
c23c33b0
TS
274262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27427
27428 * math/w_ilogb.c: Include <limits.h>.
27429 * math/w_ilogbl.c: Likewise.
27430
b5982523
JM
274312012-07-20 Joseph Myers <joseph@codesourcery.com>
27432
27433 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27434 va_copy. Document allowing for unavailable va_copy only as
27435 pre-C99 compatibility.
27436 * manual/string.texi (Copying and Concatenation): Use va_copy
27437 instead of __va_copy in concat example.
27438
ac4ea442
PT
274392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27440
27441 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27442 (__sendto): Use create_address_port. Initialize APORT and deallocate
27443 it if not null.
27444
f98eafbd
PT
27445 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27446 with O_NOLINK passed to __file_name_lookup.
27447
898c7aab
PT
27448 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27449 with O_NOLINK passed to __file_name_lookup.
27450
0ced335a
PT
27451 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27452 negative N or less than NGIDS.
27453
b3404dbd
PT
27454 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27455 type to string_t. Set ERANGE as errno and return it if NAME is not big
27456 enough. Use memcpy instead of strncpy.
27457
0f48659e
JM
274582012-07-20 Joseph Myers <joseph@codesourcery.com>
27459
27460 * elf/Makefile (check-data): Remove.
27461 (localplt.data): New vpath directive.
27462 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27463 instead of $(check-data).
27464 * scripts/data/localplt-generic.data: Move to ...
27465 * sysdeps/generic/localplt.data: ... here.
27466 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27467 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27468 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27470 ... here.
27471 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27473 ... here.
27474 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27476 ... here.
27477 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27479 ... here.
27480 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27482 ... here.
27483 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27485 ... here.
27486
d37cbdaa
AZ
274872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27488
27489 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27490 PPC32 and PPC64 files.
27491 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27492 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27493
46f85fc2
AK
274942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27495
27496 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27497 __makecontext_ret to ...
27498 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27499 ... here and call exit if uc_link is NULL. New file.
27500 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27501 __makecontext_ret.S.
27502 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27503 __makecontext_ret to ...
27504 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27505 ... here and call exit if uc_link is NULL. New file.
27506 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27507 __makecontext_ret.S.
27508
08f43f9b
AK
275092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27510
27511 * elf/elf.h (R_390_IRELATIVE): New definition.
27512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27513 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27514 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27515 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27516 (elf_machine_lazy_rel): Likewise.
27517 * sysdeps/s390/dl-irel.h: New file.
27518 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27519 * sysdeps/s390/s390-64/memset.S: New asm code.
27520 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27521 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27523 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27524 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27525 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27526 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27527 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27528 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27529 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27530 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27531 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27532 * sysdeps/s390/s390-32/memset.S: New asm code.
27533 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27534
3b05db33
MP
275352012-07-17 Marek Polacek <polacek@redhat.com>
27536
27537 [BZ #14349]
27538 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27539 * sysdeps/s390/s390-64/configure.in: Likewise.
27540 * sysdeps/sparc/configure.in: Likewise.
27541 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27542 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27543 * sysdeps/i386/configure.in: Likewise.
27544 * sysdeps/x86_64/configure.in: Likewise.
27545 * sysdeps/sh/configure.in: Likewise.
27546 * sysdeps/s390/s390-32/configure: Regenerated.
27547 * sysdeps/s390/s390-64/configure: Likewise.
27548 * sysdeps/x86_64/configure: Likewise.
27549 * sysdeps/sh/configure: Likewise.
27550 * sysdeps/powerpc/powerpc64/configure: Likewise.
27551 * sysdeps/powerpc/powerpc32/configure: Likewise.
27552 * sysdeps/sparc/configure: Likwise.
27553 * sysdeps/i386/configure: Likewise.
27554
a66877c6
MP
27555 * elf/dl-open.c: Comment fixes.
27556
cfc82fd8
JM
275572012-07-17 Joseph Myers <joseph@codesourcery.com>
27558
bd29910a
JM
27559 * Makefile [CXX] (check-data): Remove.
27560 [CXX] (c++-types.data): New vpath directive.
27561 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27562 vpath. Do not allow for C++ type data being missing.
27563 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27564 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27565 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27566 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27567 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27568 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27569 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27571 ... here.
27572 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27574 ... here.
27575 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27577 ... here.
27578 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27580 ... here.
27581 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27583 ... here.
27584 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27586 ... here.
27587 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27589 ... here.
27590 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27592
cfc82fd8
JM
27593 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27594 definitions to architecture-specific files.
27595 (TLS_IE): Likewise.
27596 (TLS_LD): Likewise.
27597 (TLS_GD): Likewise.
27598 * sysdeps/i386/tls-macros.h: New file.
27599 * sysdeps/powerpc/tls-macros.h: Likewise.
27600 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27601 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27602 * sysdeps/sh/tls-macros.h: Likewise.
27603 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27604 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27605 * sysdeps/x86_64/tls-macros.h: Likewise.
27606
f7db3170
TS
276072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27608
07cbfc23
TS
27609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27610 zero value for regular exit case.
27611
f7db3170
TS
27612 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27613 (__start_context): Preserve zero value for regular exit case.
27614
dc97c227
TS
276152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27616 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27617
27618 * manual/setjmp.texi (setcontext): Clarify normal process
27619 termination when uc_link is the null pointer.
27620 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27621 exit call.
27622
d0cd7d02
AS
276232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27624
27625 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27626 preprocessor. Test for each exception mask separately.
27627
dd318934
AJ
276282012-07-16 Andreas Jaeger <aj@suse.de>
27629
27630 * po/ru.po: Update from translation team.
27631
8048311a
JM
276322012-07-15 Joseph Myers <joseph@codesourcery.com>
27633
27634 * conform/data/string.h-data (NULL): Use macro-constant. Require
27635 equal to 0.
27636 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27637 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27638 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27639 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27641
b637d46e
AJ
276422012-07-13 Andreas Jaeger <aj@suse.de>
27643
27644 * po/fr.po: Update from translation team.
27645
541428fe
MP
276462012-07-12 Marek Polacek <polacek@redhat.com>
27647
27648 [BZ #14173]
27649 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27651 loop condition.
27652
ec332e94
JM
276532012-07-12 Joseph Myers <joseph@codesourcery.com>
27654
27655 [BZ #13717]
27656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27657 Change to 2.4.1 where previously 2.4.0.
27658 * sysdeps/unix/sysv/linux/configure: Regenerated.
27659 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27660 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27661 version.
27662 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27663 (__ASSUME_AT_CLKTCK): Remove.
27664 (__ASSUME_AT_PAGESIZE): Likewise.
27665 (__ASSUME_AT_XID): Likewise.
27666 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27667 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27668 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27669 unconditionally.
27670 (HAVE_AUX_PAGESIZE): Likewise.
27671 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27672 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27673 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27674
7b6e99be
JB
276752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27676
27677 [BZ #14307]
27678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27679 the temporary buffer used to invoke __gethostbyname2_r,
27680 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27681 host_data / struct gaih_addrtuple.
27682 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27683 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27684 header file nss/nsswitch.h.
27685 * nss/nsswitch.h (global scope): Add definition of implementation
27686 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27687 resolv/nss_dns/dns-host.c).
27688
608404eb
AJ
276892012-07-11 Andreas Jaeger <aj@suse.de>
27690
27691 * po/fr.po: Update from translation team.
27692
71220aca
AJ
27693 * po/sv.po: Update from translation team
27694 * po/fr.po: Another update from translation team.
27695
28cfe843
AZ
276962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27697
27698 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27699 for subnormals or multiply small sinh result by itself.
27700 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27702
6b90f981
DM
277032012-07-11 David S. Miller <davem@davemloft.net>
27704
27705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27706
c6825772
AS
277072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27708
27709 [BZ #14347]
27710 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27711 (INTERNAL_MARK): Shift it here.
27712
7b8e0d49
MP
277132012-07-10 Marek Polacek <polacek@redhat.com>
27714
27715 [BZ #14151]
27716 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27717 libc_cv_asm_global_directive with .globl.
27718 * configure: Regenerated.
27719 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27720 with .globl.
27721 * sysdeps/i386/configure: Regenerated.
27722 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27723 with .globl.
27724 * sysdeps/x86_64/configure: Regenerated.
27725 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27726 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27727 * elf/tst-unique2mod2.c: Likewise.
27728 * elf/tst-unique2mod1.c: Likewise.
27729 * elf/tst-unique1mod2.c: Likewise.
27730 * elf/tst-unique1mod1.c: Likewise.
27731 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27732 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27734 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27735 * sysdeps/mach/sysdep.h: Likewise.
27736 * sysdeps/i386/sysdep.h: Likewise.
27737 * sysdeps/i386/i386-mcount.S: Likewise.
27738 * sysdeps/x86_64/_mcount.S: Likewise.
27739 * sysdeps/x86_64/sysdep.h: Likewise.
27740 * sysdeps/sh/_mcount.S: Likewise.
27741 * sysdeps/sh/sysdep.h: Likewise.
27742 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27743 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27744 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27745 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27746 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27747 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27748 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27749 * locale/localeinfo.h: Likewise.
27750 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27751 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27752
6c55cda3
RM
277532012-07-09 Roland McGrath <roland@hack.frob.com>
27754
27755 [BZ #14336]
27756 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27757 system".
27758 * manual/message.texi (The Uniforum approach): Likewise.
27759 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27760 (glibc iconv Implementation): Likewise.
27761
638a572e
JM
277622012-07-09 Joseph Myers <joseph@codesourcery.com>
27763
27764 [BZ #14337]
27765 * math/s_clog.c (__clog): Avoid scaling a value down where that
27766 could result in underflow.
27767 * math/s_clog10.c (__clog10): Likewise.
27768 * math/s_clog10f.c (__clog10f): Likewise.
27769 * math/s_clog10l.c (__clog10l): Likewise.
27770 * math/s_clogf.c (__clogf): Likewise.
27771 * math/s_clogl.c (__clogl): Likewise.
27772 * math/libm-test.inc (clog_test): Add more tests.
27773 (clog10_test): Likewise.
27774 * sysdeps/i386/fpu/libm-test-ulps: Update.
27775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27776
261f4859
AS
277772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27778
0abaf3e4
AS
27779 [BZ #14283]
27780 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27781 by 7 not 8 to examine high bit of fractional part.
27782
261f4859
AS
27783 [BZ #14042]
27784 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27785 for call to __mcount_internal.
27786 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27787 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27788 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27789
f17ac40d
JM
277902012-07-06 Joseph Myers <joseph@codesourcery.com>
27791
9ad63c23
JM
27792 [BZ #14154]
27793 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27794 approximation for values within 0x1p-13f of an odd multiple of
27795 pi/4.
27796 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27797 exception. Add more tests.
27798 * sysdeps/i386/fpu/libm-test-ulps: Update.
27799
f17ac40d
JM
27800 [BZ #6778]
27801 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27802 inputs and return -1 for them. Do not check for +Inf in case not
27803 reachable for +Inf.
27804 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27805 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27806 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27807 and return -1 for them. Do not check for +Inf in case not
27808 reachable for +Inf.
27809 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27810 define.
27811 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27812 and return -1 for them. Do not check for +Inf in case not
27813 reachable for +Inf.
27814 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27815 spurious underflow.
27816 * sysdeps/i386/fpu/libm-test-ulps: Update.
27817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27818
fb21f89b
MF
278192012-07-06 Mike Frysinger <vapier@gentoo.org>
27820
27821 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27822
cdfe2c5e
JM
278232012-07-05 Joseph Myers <joseph@codesourcery.com>
27824
27825 [BZ #14157]
27826 [BZ #14331]
27827 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27828 could result in spurious underflow. Scale down values above
27829 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27830 * math/s_csqrtf.c (__csqrtf): Likewise.
27831 * math/s_csqrtl.c (__csqrtl): Likewise.
27832 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27833 spurious underflow.
27834 * sysdeps/i386/fpu/libm-test-ulps: Update.
27835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27836
70d35b67
AS
278372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27838
704bc459
AS
27839 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27840 xopen-msg.sed.
27841 * catgets/xopen-msg.awk: New file.
27842 * catgets/xopen-msg.sed: Removed.
27843
70d35b67
AS
27844 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27845 po2text.sed.
27846 * intl/po2test.awk: New file.
27847 * intl/po2test.sed: Removed.
27848
ca61cf32
JM
278492012-07-04 Joseph Myers <joseph@codesourcery.com>
27850
27851 [BZ #14328]
27852 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27853 or multiply small sinh result by itself.
27854 * math/s_ctanf.c (__ctanf): Likewise.
27855 * math/s_ctanh.c (__ctanh): Likewise.
27856 * math/s_ctanhf.c (__ctanhf): Likewise.
27857 * math/s_ctanhl.c (__ctanhl): Likewise.
27858 * math/s_ctanl.c (__ctanl): Likewise.
27859 * math/libm-test.inc (ctan_test_tonearest): New function.
27860 (ctan_test_towardzero): Likewise.
27861 (ctan_test_downward): Likewise.
27862 (ctan_test_upward): Likewise.
27863 (ctanh_test_tonearest): Likewise.
27864 (ctanh_test_towardzero): Likewise.
27865 (ctanh_test_downward): Likewise.
27866 (ctanh_test_upward): Likewise.
27867 (main): Call these new functions.
27868 * sysdeps/i386/fpu/libm-test-ulps: Update.
27869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27870
ca48a46a
MF
278712012-07-03 Mike Frysinger <vapier@gentoo.org>
27872
27873 * .gitignore: Delete /ports entry.
27874
9d63d37d
AJ
278752012-07-03 Andreas Jaeger <aj@suse.de>
27876
27877 * po/bg.po: Update from translation team.
27878 * po/cs.po: Likewise.
27879 * po/de.po: Likewise.
27880 * po/hr.po: Likewise.
27881 * po/nl.pl: Likewise.
27882 * po/pl.po: Likewise.
27883 * po/vi.po: Likewise.
27884
370ca3d2
JM
278852012-07-03 Joseph Myers <joseph@codesourcery.com>
27886
95f5a9a8
JM
27887 * Makeconfig [!+link] (+link-before-libc): New variable.
27888 [!+link] (+link-after-libc): Likewise.
27889 [!+link] (+link-tests): Likewise.
27890 [!+link] (+link): Define in terms of $(+link-before-libc) and
27891 $(+link-after-libc).
27892 [!+link-static] (+link-static-before-libc): New variable.
27893 [!+link-static] (+link-static-after-libc): Likewise.
27894 [!+link-static] (+link-static-tests): Likewise.
27895 [!+link-static] (+link-static): Define in terms of
27896 $(+link-static-before-libc) and $(+link-static-after-libc).
27897 [build-shared] (link-libc-before-gnulib): New variable.
27898 [build-shared] (link-libc-tests): Likewise.
27899 [build-shared] (link-libc): Define in terms of
27900 $(link-libc-before-gnulib).
27901 [!build-shared] (link-libc-tests): New variable.
27902 (link-libc-static-tests): New variable.
27903 [!gnulib] (gnulib-arch): New variable.
27904 [!gnulib] (gnulib-tests): Likewise.
27905 [!gnulib] (static-gnulib-arch): Likewise.
27906 [!gnulib] (static-gnulib-tests): Likewise.
27907 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27908 Define with "=" instead of ":=".
27909 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27910 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27911 * Rules (binaries-all-notests): New variable.
27912 (binaries-all-tests): Likewise.
27913 (binaries-static-notests): Likewise.
27914 (binaries-static-tests): Likewise.
27915 (binaries-all): Define using $(binaries-all-notests) and
27916 $(binaries-all-tests).
27917 (binaries-static): Define using $(binaries-static-notests) and
27918 $(binaries-static-tests).
27919 (binaries-shared-tests): New variable.
27920 (binaries-shared-notests): Likewise.
27921 (binaries-shared): Remove variable.
27922 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27923 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27924 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27925 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27926 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27927 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27928 * elf/Makefile (sln-modules): New variable.
27929 (extra-objs): Add $(sln-modules:=.o).
27930 (ldconfig-modules): Add static-stubs.
27931 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27932 * elf/static-stubs.c: New file.
27933
7a845b2c
JM
27934 [BZ #14283]
27935 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27936 by 7 not 8 to examine high bit of fractional part. Use volatile
27937 variables when splitting into final array of floats if
27938 __FLT_EVAL_METHOD__ != 0.
27939 * math/libm-test.inc (cos_test): Add another test.
27940 (sin_test): Likewise.
27941 * sysdeps/i386/fpu/libm-test-ulps: Update.
27942
e2283f38
JM
27943 [BZ #14273]
27944 * math/libm-test.inc (cosh_test): Add more tests.
27945
370ca3d2
JM
27946 * version.h (RELEASE): Set to "development".
27947 (VERSION): Set to "2.16.90".
27948
ee9247c3
CD
279492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27950
27951 * NEWS: Update copyright. Remove last-updated date.
27952 Mention math library bug fixes and timezone data changes.
27953 * README: Mention GNU/Hurd, x32, and HPPA support status.
27954
4648c381
TS
279552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27956
27957 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27958
aac78a43
AJ
279592012-06-27 Andreas Jaeger <aj@suse.de>
27960
27961 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27962
ed3dbfad
AJ
279632012-06-25 Andreas Jaeger <aj@suse.de>
27964
27965 * sysdeps/s390/fpu/libm-test-ulps: Update.
27966
4d0ee855
AS
279672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27968 Thomas Schwinge <thomas@codesourcery.com>
27969
27970 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27971 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27973 fanotify_mark.
27974
af1bce34
TS
279752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27976
a9fa33ba
TS
27977 * sysdeps/mach/start.c: Remove file.
27978 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27979 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27980 * sysdeps/sh/init-first.c: Likewise.
27981
58f902b8
TS
27982 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27983 registers for frame unwinding purposes, add CFI directives.
27984 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27985 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27986 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27987 Likewise.
27988
1518f58b
TS
27989 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27990 __fortify_fail returning.
27991 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27992
db9b5059
TS
27993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27994 sysdeps/sh/____longjmp_chk.S.
27995 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27996 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27997 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27998 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27999
967705fe
TS
28000 * sysdeps/sh/abort-instr.h: New file.
28001 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28002 process in case exit returns.
28003
a9def8c4
TS
28004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28005 initialize the GOT register before use.
28006
2a649725
TS
28007 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28008 calculation of ARGC > 4.
28009
af1bce34
TS
28010 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28011 meaningful names to some local labels.
28012
d230f50a
KK
280132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28014 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28015
28016 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28017 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28018 (__arch_compare_and_exchange_val_16_acq): Likewise.
28019 (__arch_compare_and_exchange_val_32_acq): Likewise.
28020 (atomic_exchange_and_add): Fix gUSA sequence.
28021 (atomic_add): Likewise.
28022 (atomic_add_negative): Likewise.
28023 (atomic_add_zero): Likewise.
28024 (atomic_bit_test_set): Likewise.
28025
0479b305
AS
280262012-06-22 Andreas Schwab <schwab@redhat.com>
28027
28028 [BZ #13579]
28029 * include/link.h (struct link_map): Add l_free_initfini.
28030 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28031 l_initfini.
28032 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28033 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28034 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28035 set.
28036
0e3933b9
CD
280372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28038
28039 * configure.in: Use AC_LANG_SOURCE.
28040 * configure: Regenerate.
28041
4248b1b1
RM
280422012-06-22 Roland McGrath <roland@hack.frob.com>
28043
28044 * configure.in (libc_cv_localstatedir): New substituted variable.
28045 * configure: Regenerated.
28046 * config.make.in (localstatedir): New variable, substituted from
28047 libc_cv_localstatedir.
28048 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28049 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28050 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28051 * sysdeps/gnu/configure: Regenerated.
28052
006dd861
JL
280532012-06-21 Jeff Law <law@redhat.com>
28054
28055 [BZ #14277]
28056 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28057 free. Simplify list management for _LIBC case.
28058
79662d42
JM
280592012-06-21 Joseph Myers <joseph@codesourcery.com>
28060
b7abb4bf
JM
28061 [BZ #14273]
28062 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28063 Clear sign bit of 64-bit integer value before comparing against
28064 overflow value.
28065
79662d42
JM
28066 * sysdeps/mach/configure: Regenerated.
28067
1f150908
L
280682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28069
28070 [BZ #14278]
28071 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28072
28363bbf
JL
280732012-06-21 Jeff Law <law@redhat.com>
28074
28075 [BZ #13882]
28076 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28077 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28079 * elf/dl-open.c (dl_open_worker): Likewise.
28080
09615db4
CD
280812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28082
28083 * scripts/list-sources.sh: Scan PORTS for translations.
28084 * po/libc.pot: Regenerated.
28085
2174c6dd
AJ
280862012-06-21 Andreas Jaeger <aj@suse.de>
28087
28088 [BZ #12194]
28089 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28090 warning.
28091 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28092 * bits/byteswap-16.h (__bswap_16): Likewise.
28093 * bits/byteswap.h (__bswap_constant_16): Likewise.
28094
3ee947b1
L
280952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 [BZ #14117]
a2f34833
L
28098 * sysdeps/i386/fpu_control.h: Removed.
28099 * sysdeps/x86_64/fpu_control.h: Moved to ...
28100 * sysdeps/x86/fpu_control.h: Here.
28101
3ee947b1
L
28102 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28103 (_FPU_SETCW): Likewise.
28104
ed1825f8
L
281052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28106
25f1282a
L
28107 [BZ #14117]
28108 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28109 * sysdeps/x86/fpu/bits/mathinline.h: This.
28110 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28111
ed1825f8
L
28112 [BZ #14050]
28113 [BZ #14117]
28114 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28115 functions if __x86_64__ is defined.
28116
36d54b74
CLT
281172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28118
28119 * string/endian.h: Add !__ASSEMBLER__ condition for including
28120 conversion interfaces.
28121
10285c21
JM
281222012-06-15 Joseph Myers <joseph@codesourcery.com>
28123
28124 [BZ #14241]
28125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28126 of ABS(x) in calculating zero to negative powers other than odd
28127 integers.
28128 * math/libm-test.inc (pow_test): Add more tests.
28129
06c5abbd
AJ
281302012-06-15 Andreas Jaeger <aj@suse.de>
28131
28132 * manual/contrib.texi (Contributors): Update entry of Liubov
28133 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28134 Machado Filho.
28135
a3aeac40
CH
281362012-06-15 Cyril Hrubis <metan@ucw.cz>
28137
28138 * string/string.h: Add __wur to GNU version of strerror_r.
28139
49bdf4c1
L
281402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 [BZ #14229]
28143 * string/Makefile (tests): Add tst-strtok_r.
28144 * string/tst-strtok_r.c: New file.
28145 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28146 RAX_LP/RDX_LP on SAVE_PTR.
28147
834f9b8d
RM
281482012-06-14 Roland McGrath <roland@hack.frob.com>
28149
28150 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28151
75fa1921
JM
281522012-06-14 Joseph Myers <joseph@codesourcery.com>
28153
28154 * libm_test.inc (csqrt_test): Allow more spurious underflow
28155 exceptions.
28156 (j0_test): Likewise.
28157 (j1_test): Likewise.
28158 (y0_test): Likewise.
28159 (y1_test): Likewise.
28160
771766df
CD
281612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28162
28163 * po/Makefile (libc.pot): Use UTF-8 charset.
28164
ceb9e56b
PP
281652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28166
28167 [BZ #14210]
28168 Suppress sign-conversion warning from FD_SET.
28169 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28170 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28171 not unsigned long int.
28172 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28173
ddb28975
L
281742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28175
28176 [BZ #14050]
28177 [BZ #14117]
28178 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28179 __extern_always_inline instead of __extern_inline.
28180 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28181 (__signbit): Likewise.
28182 (__signbitl): Support C++ namespace.
28183 (lrintf): New inline function.
28184 (lrint): Likewise.
28185 (llrintf): Likewise.
28186 (llrint): Likewise.
28187 (fmaxf): Likewise.
28188 (fmax): Likewise.
28189 (fminf): Likewise.
28190 (fmin): Likewise.
28191 (rint): Likewise.
28192 (rintf): Likewise.
28193 (ceil): Likewise.
28194 (ceilf): Likewise.
28195 (floor): Likewise.
28196 (floorf): Likewise.
28197 (nearbyint): Likewise.
28198 (nearbyintf): Likewise.
28199
d7b4fb26
TS
282002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28201
28202 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28203 non-default versions.
28204
eb55f5c2
RM
282052012-06-11 Roland McGrath <roland@hack.frob.com>
28206
28207 [BZ #14218]
28208 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28209
366af02c
TS
282102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28211
99ff6e5c
TS
28212 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28213 (FE_UPWARD, FE_DOWNWARD): Don't define.
28214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28215 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28216
366af02c
TS
28217 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28218 reading it.
28219 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28220 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28221
793ea851
KK
282222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28223
28224 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28226 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28227 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28228
a728a38f
L
282292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28230
28231 [BZ #14117]
c08010c7
L
28232 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28233 * sysdeps/i386/fpu/Implies: New file.
28234 * sysdeps/x86_64/fpu/Implies: Likewise.
28235 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28236 * sysdeps/x86/fpu/bits/fenv.h: This.
28237
a728a38f
L
28238 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28239 __SSE_MATH__.
28240
6e230d11
SP
282412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28242
28243 [BZ #14134]
28244 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28245 character 0xffff that matches the last element of the
28246 conversion table.
28247
1b671feb
AZ
282482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28249
28250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28251 fmodl commit.
28252
6043738b
AZ
282532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28254
28255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28256 values higher than 25.6283.
28257
34ae0b32
AZ
282582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28259
28260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28261 subnormal exponent extraction and add some __builtin_expect.
28262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28263 Fix for subnormal mantissa calculation.
28264
1214ec8f
MF
282652012-06-04 Mike Frysinger <vapier@gentoo.org>
28266
28267 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28268 cpu2 is -1 and errno is not ENOSYS.
28269
f3d1f93c
L
282702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 [BZ #14117]
0e4a3cd7
L
28273 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28274 * sysdeps/x86/bits/string.h: This.
28275 * sysdeps/x86_64/bits/string.h: Removed.
28276
6704c645
L
28277 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28278 if not compiling for x86-64, but compiling for >= i486.
28279
48495318
L
28280 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28281 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28282
14adcbfc
L
28283 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28284 New macro from Linux kernel 3.4.0.
28285 (FP_XSTATE_MAGIC2): Likewise.
28286 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28287 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28288 (struct _fpx_sw_bytes): New struct.
28289 (struct _xsave_hdr): Likewise.
28290 (struct _ymmh_state): Likewise.
28291 (struct _xstate): Likewise.
28292
68e408ab
L
28293 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28294 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28296 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28297 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28298 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28299
f3d1f93c
L
28300 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28301 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28302 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28303 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28304 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28305 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28306
d9dc34cd
TMQMF
283072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28308
28309 [BZ #13743]
28310 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28311 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28312 (sysdep_headers): Include sys/platform/ppc.h.
28313 * sysdeps/powerpc/test-gettimebase.c: Test for
28314 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28315 * manual/Makefile (appendices): Include platform.texi.
28316 * manual/contrib.texi (Contributors): Update @node pointers.
28317 * manual/maint.texi (Maintenance): Likewise.
28318 (Platform): New node.
28319 * manual/platform.texi: New file. Document the new features.
28320
4af3879c
SP
283212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28322 Jakub Jelinek <jakub@redhat.com>
28323
28324 [BZ #14188]
28325 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28326 where __builtin_expect is unavailable.
28327
2fd6ff13
DM
283282012-06-03 David S. Miller <davem@davemloft.net>
28329
28330 * stdlib/longlong.h: Updated from GCC.
28331
173f7220
AS
283322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28333
28334 [BZ #14042]
28335 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28336 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28337 __mcount_internal.
28338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28339 (GLIBC_2.16): Likewise.
28340
f34a1c6f
L
283412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28342
28343 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28344
88a4576f
JM
283452012-06-01 Joseph Myers <joseph@codesourcery.com>
28346
ea32bcdd
JM
28347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28348 (default-abi): New variable.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28350 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28351 variable.
28352 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28353 Likewise.
28354 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28355 Likewise.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28357 Likewise.
28358
88a4576f
JM
28359 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28360 definition. Document in comment.
28361
402fe938
DM
283622012-06-01 David S. Miller <davem@davemloft.net>
28363
28364 * stdlib/longlong.h: Updated from GCC.
28365
3553723f
L
283662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 [BZ #14117]
3bd872c4
L
28369 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28370 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28371 sys/debugreg.h sys/io.h here.
28372 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28373 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28374 sys/io.h.
28375 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28376 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28377 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28378 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28379 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28380 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28381
3553723f
L
28382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28383 Define only if __x86_64__ is defined.
28384
4842e4fe
JM
283852012-06-01 Joseph Myers <joseph@codesourcery.com>
28386
c5bfe3d5
JM
28387 [BZ #14048]
28388 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28389 Use int64_t for variable i.
28390 * math/libm-test.inc (fmod_test): Add more tests.
28391
4842e4fe
JM
28392 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28393 z computation is not scheduled after fetestexcept.
28394 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28395 Use math_force_eval instead of asm to ensure calculation scheduled
28396 before exception test.
28397 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28398 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28399
efb73488
AJ
284002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28401
28402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28403 computation is not scheduled after fetestexcept.
28404
29bcce7c
L
284052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 [BZ #14117]
28408 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28409 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28410
73a68f94
AZ
284112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28412
28413 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28415
67b6df78
L
284162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28417
edf2933a 28418 [BZ #14117]
ebc64a18
L
28419 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28420 <bits/wordsize.h>.
28421 (__WCHAR_MIN): Support __WORDSIZE == 64.
28422 (__WCHAR_MAX): Likewise.
28423
edf2933a
L
28424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28425 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28426
57c6cf40
L
28427 [BZ #14183]
28428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28429 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28430
67b6df78 28431 [BZ #14117]
8eb6281e
L
28432 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28434
aac639f4
L
28435 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28436 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28437
67b6df78
L
28438 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28439 Defined to 1 if __x86_64__ isn't defined.
28440 (_STAT_VER_LINUX_OLD): New.
28441 (st_atime): Remove duplicate.
28442 (st_mtime): Likewise.
28443 (st_ctime): Likewise.
28444
1c2cfe81
DM
284452012-05-31 David S. Miller <davem@davemloft.net>
28446
28447 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28448 entries.
28449
5be8418c
AS
284502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28451
e7725326
AS
28452 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28453 gen-libm-test.pl.
28454
5be8418c
AS
28455 [BZ #14132]
28456 * elf/dl-reloc.c: Include <_itoa.h>.
28457 (_dl_reloc_bad_type): Remove use of INTUSE.
28458 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28459 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28460 * stdio-common/psiginfo.c (psiginfo): Likewise.
28461 * stdio-common/psignal.c (psignal): Likewise.
28462 * string/strsignal.c (strsignal): Likewise.
28463 * include/signal.h (_sys_siglist): Declare hidden proto.
28464 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28465 INTVARDEF with libc_hidden_data_def.
28466 * stdio-common/itoa-udigits.c: Likewise.
28467 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28468 (_itoa_lower_digits_internal): Remove declaration.
28469 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28470 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28471 (_sys_sigabbrev_internal): Remove aliases.
28472 (_sys_siglist): Define hidden alias.
28473
507352f1
MT
284742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28475
28476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28477 bits/sysctl.h.
28478
42bbb1c3
L
284792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28480
28481 [BZ #14117]
6bd784b6
L
28482 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28483 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28484
8bca20f0
L
28485 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28486 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28487 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28488 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28490 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28491
f9e890a9
L
28492 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28493 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28494 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28495
471101a1
L
28496 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28497 with __addr.
28498 (insw): Likewise.
28499 (insl): Likewise.
28500 (outsb): Likewise.
28501 (outsw): Likewise.
28502 (outsl): Likewise.
28503
6451c862
L
28504 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28506 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28507
a254b8c9
L
28508 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28509 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28511 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28512 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28513 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28514
b8dfdd92
L
28515 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28516 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28517
578cd270
L
28518 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28519 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28520
de662f5f
L
28521 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28523 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28524
25653439
L
28525 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28526 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28527 to ...
28528 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28529
6bad24a0
L
28530 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28531 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28532 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28533
42bbb1c3
L
28534 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28535 for x86-64.
28536 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28537
2d10d547
JM
285382012-05-31 Joseph Myers <joseph@codesourcery.com>
28539
28540 * math/math.h (M_El): Use two more decimal places.
28541 (M_LOG2El): Likewise.
28542 (M_LOG10El): Likewise.
28543 (M_LN2l): Likewise.
28544 (M_LN10l): Likewise.
28545 (M_PIl): Likewise.
28546 (M_PI_2l): Likewise.
28547 (M_PI_4l): Likewise.
28548 (M_1_PIl): Likewise.
28549 (M_2_PIl): Likewise.
28550 (M_2_SQRTPIl): Likewise.
28551 (M_SQRT2l): Likewise.
28552 (M_SQRT1_2l): Likewise.
28553
f230c29b
DM
285542012-05-31 David S. Miller <davem@davemloft.net>
28555
28556 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28557 values between float registers.
28558 * sysdeps/sparc/sparc64/memset.S: Likewise.
28559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28560
fed806c3
MF
285612012-05-31 Mike Frysinger <vapier@gentoo.org>
28562
28563 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28564 -D_FORTIFY_SOURCE=1.
28565 (CPPFLAGS-tst-longjmp_chk.c): Define.
28566 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28567 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28568 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28569 CFLAGS-tst-wchar-h.c.
28570
30917259
MP
285712012-05-31 Marek Polacek <polacek@redhat.com>
28572
28573 [BZ #14132]
28574 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28575 __endmntent_internal): Remove declaration.
28576 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28577 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28578 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28579
1c58d5dc
DM
285802012-05-30 David S. Miller <davem@davemloft.net>
28581
28582 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28583 (___Q_simulate_exceptions): Use real FP ops rather than writing
28584 into the %fsr.
28585 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28586 Likewise.
28587
7dc00e0d
L
285882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28589
28590 [BZ #14117]
0bd53985
L
28591 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28592 * sysdeps/x86/bits/xtitypes.h: This.
28593
3a257e66
L
28594 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28595 * sysdeps/x86/bits/wordsize.h: This.
28596
62f62904
L
28597 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28598 * sysdeps/x86/bits/huge_vall.h: This.
28599
404fe9d9
L
28600 * sysdeps/i386/bits/select.h: Removed.
28601 * sysdeps/x86_64/bits/select.h: Renamed to ...
28602 * sysdeps/x86/bits/select.h: This.
28603
d48d0446
L
28604 * sysdeps/i386/bits/setjmp.h: Removed.
28605 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28606 * sysdeps/x86/bits/setjmp.h: This.
28607
7dc00e0d
L
28608 * sysdeps/i386/bits/mathdef.h: Removed.
28609 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28610 * sysdeps/x86/bits/mathdef.h: This.
28611
03277f8f
AS
286122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28613
28614 [BZ #14132]
28615 * include/sys/socket.h (__connect_internal)
28616 (__libc_sa_len_internal): Remove declaration.
28617 (__connect, __libc_sa_len): Declare hidden_proto.
28618 (SA_LEN): Remove use of INTUSE.
28619 * socket/connect.c: Add libc_hidden_def.
28620 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28621 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28622 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28623 alias.
28624 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28625 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28626 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28627 of adding _internal alias.
28628
13764867
L
286292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28630
28631 [BZ #14117]
6bd97696
L
28632 * sysdeps/i386/bits/link.h: Removed.
28633 * sysdeps/i386/bits/linkmap.h: Likewise.
28634 * sysdeps/x86_64/bits/link.h: Renamed to ...
28635 * sysdeps/x86/bits/link.h: This.
28636 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28637 * sysdeps/x86/bits/linkmap.h: This.
28638
f726f0bb
L
28639 * sysdeps/i386/bits/endian.h: Removed.
28640 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28641 * sysdeps/x86/bits/endian.h: This.
28642
13764867
L
28643 * sysdeps/i386/bits/byteswap.h: Removed.
28644 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28645 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28646 * sysdeps/x86/bits/byteswap.h: This.
28647 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28648 * sysdeps/x86/bits/byteswap-16.h: This.
28649 * sysdeps/i386/Implies: Add x86.
28650 * sysdeps/x86_64/Implies: Likewise.
28651
ae251b0b
DM
286522012-05-30 David S. Miller <davem@davemloft.net>
28653
28654 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28655 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28656 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28657 (FP_TRAPPING_EXCEPTIONS): Define.
28658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28659 (FP_TRAPPING_EXCEPTIONS): Define.
28660 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28661 subnormals only when inexact has been signalled or underflow
28662 exceptions are enabled.
28663 (_FP_PACK_CANONICAL): Likewise.
28664
d5c90867
L
286652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28666
28667 [BZ #14183]
28668 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28669 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28670
63f1549e
RH
286712012-05-30 Richard Henderson <rth@twiddle.net>
28672
8d8f2279
RH
28673 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28674 with #ifndef NOT_IN_libc.
28675
63f1549e
RH
28676 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28677 marked to avoid plt entry.
28678
0ab0291b
L
286792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28680
28681 [BZ #14112]
28682 * Makeconfig (default-abi): New macro.
28683 (abi-includes): Likewise.
28684 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28685 $(abi-$(default-abi)-lib-soname) for soname if defined.
28686 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28687 abi-variants.
28688 * Makefile (installed-stubs): Likewise.
28689 * include/stubs-biarch.h: Removed.
28690 * scripts/lib-names.awk: Only handle one library at a time.
28691 * scripts/soversions.awk: Remove WORDSIZE support.
28692 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28693 entries.
28694 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28695 Removed.
28696 (syscall-list-default-condition): Likewise.
28697 (syscall-list-default-condition): Likewise.
28698 (syscall-list-includes): Likewise.
28699 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28700 syscall-list-* with abi-*. Handle undefined abi-variants.
28701 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28702 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28703 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28704 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28705 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28706 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28707 Removed.
28708 (syscall-list-32-options): Likewise.
28709 (syscall-list-32-condition): Likewise.
28710 (syscall-list-64-options): Likewise.
28711 (syscall-list-64-condition): Likewise.
28712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28713 macro.
28714 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28715 Renamed to ...
28716 (abi-*): This.
28717 (abi-64-ld-soname): New macro.
28718 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28719 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28720 Renamed to ...
28721 (abi-*): This.
28722 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28723 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28724
4da0431d
JM
287252012-05-30 Joseph Myers <joseph@codesourcery.com>
28726
3a85279c
JM
28727 * sysdeps/unix/sysv/linux/kernel-features.h
28728 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28729 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28730 include <kernel-features.h>.
28731 [!__NR_ftruncate64]: Remove conditional code.
28732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28733 [__NR_ftruncate64]: Make code unconditional.
28734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28735 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28736 include <kernel-features.h>.
28737 [!__NR_ftruncate64]: Remove conditional code.
28738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28739 [__NR_ftruncate64]: Make code unconditional.
28740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28742 include <kernel-features.h>.
28743 [!__NR_ftruncate64]: Remove conditional code.
28744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28745 [__NR_ftruncate64]: Make code unconditional.
28746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28748 include <kernel-features.h>.
28749 [!__NR_ftruncate64]: Remove conditional code.
28750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28751 [__NR_ftruncate64]: Make code unconditional.
28752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28753
4da0431d
JM
28754 * configure.in (libc_cv_fpie): Weaken to a compile test using
28755 LIBC_TRY_CC_OPTION.
28756 * configure: Regenerated.
28757
11ef492c
AK
287582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28759
28760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28764 Refreshed.
28765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28771 Refreshed.
28772
d66ef399
DM
287732012-05-27 David S. Miller <davem@davemloft.net>
28774
28775 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28776 (___Q_zero): New.
28777 (__Q_simulate_exceptions): Return void. Change to simulate
28778 exceptions by writing into the %fsr.
28779 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28780 (__Qp_handle_exceptions): Likewise.
28781 (numbers): Delete.
28782 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28783 __Qp_handle_exceptions.
28784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28785 __Qp_handle_exceptions.
28786 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28787 as unused and give dummy FP_RND_NEAREST initializer.
28788 (FP_INHIBIT_RESULTS): Define.
28789 (___Q_simulate_exceptions): Update declaration.
28790 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28791 formatting.
28792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28793 as unused and give dummy FP_RND_NEAREST initializer.
28794 (__Qp_handle_exceptions): Update declaration.
28795 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28796 formatting.
28797
04fb54b5
TS
287982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28799
28800 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28801 the temporary FPU control word.
28802 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28803 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28804 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28805 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28806 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28807 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28808 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28809 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28810 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28811 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28812 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28813
3f99608f
KK
288142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28815
28816 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28817 fields.
28818
65a4de4e
CLT
288192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28820
28821 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28822 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28823 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28824 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28825 Likewise.
28826 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28827 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28828 Likewise.
28829
15749d40
UD
288302012-05-27 Ulrich Drepper <drepper@gmail.com>
28831
28832 * po/h.po: Update from translation team.
28833
25dbcb27
AS
288342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28835
3d3f8e55
AS
28836 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28837
25dbcb27
AS
28838 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28839 handling of denormals.
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28841 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28843 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28847 Likewise.
28848
7ad47a80 288492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28850
28851 [BZ #14152]
28852 * math/libm-test.inc (fma_test): Don't always expect underflow
28853 exception.
28854
9c6ea9fa
SP
288552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28856
28857 [BZ #12416]
28858 * elf/tst-execstack.c: Include stackinfo.h.
28859 (do_test): Adjust test case to ensure that pthread_getattr_np
28860 behaviour remains the same after marking stack executable.
28861
a8239222
JM
288622012-05-25 Joseph Myers <joseph@codesourcery.com>
28863
28864 * sysdeps/unix/sysv/linux/kernel-features.h
28865 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28866 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28867 kernel-features.h.
28868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28870 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28871 kernel-features.h.
28872 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28873 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28874
918b5606
L
288752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28876
28877 * configure.in: Define the default includes to being none.
28878 * configure: Regenerated.
28879
3a097cc7
RM
288802012-05-25 Roland McGrath <roland@hack.frob.com>
28881
8422c9a5
RM
28882 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28883 * sysdeps/x86_64/setjmp.S: Likewise.
28884 * sysdeps/i386/bsd-setjmp.S: Likewise.
28885 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28886 * sysdeps/i386/setjmp.S: Likewise.
28887 * sysdeps/i386/__longjmp.S: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28889 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28890
3a097cc7
RM
28891 * include/stap-probe.h: New file.
28892 * configure.in: Handle --enable-systemtap.
28893 * configure: Regenerated.
28894 * config.h.in (USE_STAP_PROBE): New #undef.
28895 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28896 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28897 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28898
21708942
JM
288992012-05-25 Joseph Myers <joseph@codesourcery.com>
28900
28901 [BZ #13717]
28902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28903 to 2.4.0 where earlier.
28904 * sysdeps/unix/sysv/linux/configure: Regenerated.
28905 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28906 <kernel-features.h>.
28907 [__ASSUME_32BITUIDS]: Make code unconditional.
28908 [!__ASSUME_32BITUIDS]: Remove conditional code.
28909 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28910 <kernel-features.h>.
28911 [__ASSUME_32BITUIDS]: Make code unconditional.
28912 [!__ASSUME_32BITUIDS]: Remove conditional code.
28913 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28914 [__ASSUME_32BITUIDS]: Make code unconditional.
28915 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28916 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28917 <kernel-features.h>.
28918 [__ASSUME_32BITUIDS]: Make code unconditional.
28919 [!__ASSUME_32BITUIDS]: Remove conditional code.
28920 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28921 <kernel-features.h>.
28922 [__ASSUME_32BITUIDS]: Make code unconditional.
28923 [!__ASSUME_32BITUIDS]: Remove conditional code.
28924 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28925 <kernel-features.h>.
28926 [__ASSUME_32BITUIDS]: Make code unconditional.
28927 [!__ASSUME_32BITUIDS]: Remove conditional code.
28928 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28929 <kernel-features.h>.
28930 [__ASSUME_32BITUIDS]: Make code unconditional.
28931 [!__ASSUME_32BITUIDS]: Remove conditional code.
28932 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28933 <kernel-features.h>.
28934 [__ASSUME_32BITUIDS]: Make code unconditional.
28935 [!__ASSUME_32BITUIDS]: Remove conditional code.
28936 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28937 <kernel-features.h>.
28938 [__ASSUME_32BITUIDS]: Make code unconditional.
28939 [!__ASSUME_32BITUIDS]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28941 <kernel-features.h>.
28942 [__ASSUME_32BITUIDS]: Make code unconditional.
28943 [!__ASSUME_32BITUIDS]: Remove conditional code.
28944 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28945 <kernel-features.h>.
28946 [__ASSUME_32BITUIDS]: Make code unconditional.
28947 [!__ASSUME_32BITUIDS]: Remove conditional code.
28948 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28949 <kernel-features.h>.
28950 [__ASSUME_32BITUIDS]: Make code unconditional.
28951 [!__ASSUME_32BITUIDS]: Remove conditional code.
28952 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28953 <kernel-features.h>.
28954 [__ASSUME_32BITUIDS]: Make code unconditional.
28955 [!__ASSUME_32BITUIDS]: Remove conditional code.
28956 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28957 <kernel-features.h>.
28958 [__NR_setresgid] (__setresgid): Do not declare.
28959 [__ASSUME_32BITUIDS]: Make code unconditional.
28960 [!__ASSUME_32BITUIDS]: Remove conditional code.
28961 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28962 <kernel-features.h>.
28963 [__NR_setresuid] (__setresuid): Do not declare.
28964 [__ASSUME_32BITUIDS]: Make code unconditional.
28965 [!__ASSUME_32BITUIDS]: Remove conditional code.
28966 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28967 <kernel-features.h>.
28968 [__ASSUME_32BITUIDS]: Make code unconditional.
28969 [!__ASSUME_32BITUIDS]: Remove conditional code.
28970 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28971 <kernel-features.h>.
28972 [__ASSUME_32BITUIDS]: Make code unconditional.
28973 [!__ASSUME_32BITUIDS]: Remove conditional code.
28974 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28975 <kernel-features.h>.
28976 [__ASSUME_32BITUIDS]: Make code unconditional.
28977 [!__ASSUME_32BITUIDS]: Remove conditional code.
28978 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28979 <kernel-features.h>.
28980 [__ASSUME_32BITUIDS]: Make code unconditional.
28981 [!__ASSUME_32BITUIDS]: Remove conditional code.
28982 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28983 <kernel-features.h>.
28984 [__ASSUME_32BITUIDS]: Make code unconditional.
28985 [!__ASSUME_32BITUIDS]: Remove conditional code.
28986 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28987 <kernel-features.h>.
28988 [__ASSUME_32BITUIDS]: Make code unconditional.
28989 [!__ASSUME_32BITUIDS]: Remove conditional code.
28990 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28991 <kernel-features.h>.
28992 [__ASSUME_32BITUIDS]: Make code unconditional.
28993 [!__ASSUME_32BITUIDS]: Remove conditional code.
28994 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28995 <kernel-features.h>.
28996 [__ASSUME_32BITUIDS]: Make code unconditional.
28997 [!__ASSUME_32BITUIDS]: Remove conditional code.
28998 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28999 <kernel-features.h>.
29000 [__ASSUME_32BITUIDS]: Make code unconditional.
29001 [!__ASSUME_32BITUIDS]: Remove conditional code.
29002 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29003 <kernel-features.h>.
29004 [__ASSUME_32BITUIDS]: Make code unconditional.
29005 [!__ASSUME_32BITUIDS]: Remove conditional code.
29006 * sysdeps/unix/sysv/linux/kernel-features.h
29007 (__ASSUME_SETRESUID_SYSCALL): Remove.
29008 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29009 (__ASSUME_32BITUIDS): Likewise.
29010 (__ASSUME_LDT_WORKS): Likewise.
29011 (__ASSUME_O_DIRECTORY): Likewise.
29012 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29013 architecture but not kernel version.
29014 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29015 (__ASSUME_MMAP2_SYSCALL): Likewise.
29016 (__ASSUME_STAT64_SYSCALL): Likewise.
29017 (__ASSUME_IPC64): Likewise.
29018 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29019 <kernel-features.h>.
29020 [__ASSUME_32BITUIDS]: Make code unconditional.
29021 [!__ASSUME_32BITUIDS]: Remove conditional code.
29022 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29023 <kernel-features.h>.
29024 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29025 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29026 132096]: Remove conditional code.
29027 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29029 <kernel-features.h>.
29030 [__ASSUME_32BITUIDS]: Make code unconditional.
29031 [!__ASSUME_32BITUIDS]: Remove conditional code.
29032 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29033 <kernel-features.h>.
29034 [__ASSUME_32BITUIDS]: Make code unconditional.
29035 [!__ASSUME_32BITUIDS]: Remove conditional code.
29036 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29037 <kernel-features.h>.
29038 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29039 unconditional.
29040 (__setresgid): Do not declare.
29041 [__ASSUME_32BITUIDS]: Make code unconditional.
29042 [!__ASSUME_32BITUIDS]: Remove conditional code.
29043 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29044 <kernel-features.h>.
29045 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29046 unconditional.
29047 (__setresuid): Do not declare.
29048 [__ASSUME_32BITUIDS]: Make code unconditional.
29049 [!__ASSUME_32BITUIDS]: Remove conditional code.
29050 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29051 <kernel-features.h>.
29052 [__ASSUME_32BITUIDS]: Make code unconditional.
29053 [!__ASSUME_32BITUIDS]: Remove conditional code.
29054 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29055 <kernel-features.h>.
29056 [__ASSUME_32BITUIDS]: Make code unconditional.
29057 [!__ASSUME_32BITUIDS]: Remove conditional code.
29058
a386f1cc
RH
290592012-05-25 Richard Henderson <rth@twiddle.net>
29060
29061 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29062 dl_hwcap to ifunc resolver.
29063 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29064 elf_ifunc_invoke.
29065 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29066 dl_hwcap to ifunc resolver.
29067 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29068
b6550497
JM
290692012-05-24 Joseph Myers <joseph@codesourcery.com>
29070
29071 [BZ #14153]
29072 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29073 for |x| <= 2**-26, not 2**-57.
29074 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29075 exception.
29076
b0bc23a1
JL
290772012-05-24 Jeff Law <law@redhat.com>
29078
29079 * stdio-common/Makefile (tests): Add bug25.
29080 * stdio-common/bug25.c: New test.
29081
347c92e9
L
290822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 [BZ #13576]
29085 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29086 multiple of MALLOC_ALIGNMENT in size.
29087 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29088
6bcc8b3f
JM
290892012-05-24 Joseph Myers <joseph@codesourcery.com>
29090
29091 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29092 Require >= 256.
29093 (FILENAME_MAX): Use macro-int-constant.
29094 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29095 (_IOFBF): Use macro-int-constant.
29096 (_IOLBF): Likewise.
29097 (_IONBF): Likewise.
29098 (SEEK_CUR): Likewise.
29099 (SEEK_END): Likewise.
29100 (SEEK_SET): Likewise.
29101 (TMP_MAX): Likewise.
29102 (EOF): Use macro-int-constant. Require < 0.
29103 (NULL): Use macro-constant. Require == 0.
29104 (stdin): Require type to be FILE *.
29105 (stdout): Likewise.
29106 (stderr): Likewise.
29107 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29108 macro-int-constant.
29109 (EXIT_SUCCESS): Likewise.
29110 (NULL): Use macro-constant. Require == 0.
29111 (RAND_MAX): Use macro-int-constant.
29112 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29113 [C99-based standards] (strtof): Require function.
29114 [C99-based standards] (strtold): Likewise.
29115 [C99-based standards] (strtoll): Likewise.
29116 [C99-based standards] (strtoull): Likewise.
29117 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29118 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29119 [ISO || ISO99 || ISO11] (math.h): Likewise.
29120 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29121 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29123
d18ea0c5
AS
291242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29125
29126 [BZ #14132]
56d25bb8
AS
29127 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29128 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29129 * intl/dgettext.c (DCGETTEXT): Likewise.
29130 * intl/gettext.c (DCGETTEXT): Likewise.
29131 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29132 * posix/regex_internal.h (gettext): Likewise.
29133 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29134 Remove declaration.
29135 * include/argz.h (__argz_count_internal)
29136 (__argz_stringify_internal): Remove declaration.
29137 (__argz_count, __argz_stringify): Declare hidden proto.
29138 * intl/dcgettext.c: Remove use of INTDEF.
29139 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29140 * string/argz-stringify.c: Likewise.
29141 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29142 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29143 Declare hidden proto.
d18ea0c5
AS
29144 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29145 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29146 Declare hidden proto.
29147 * include/stdio.h (__asprintf_internal): Don't declare.
29148 (__asprintf): Don't define as macro. Declare hidden proto.
29149 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29150 (__fsetlocking): Declare hidden proto.
29151 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29152 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29153 hidden proto.
29154 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29155 (_IO_setlinebuf): Remove use of INTUSE.
29156 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29157 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29158 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29159 Remove declaration.
29160 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29161 (_IO_do_flush): Remove use of INTUSE.
29162 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29163 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29164 (_IO_adjust_column, _IO_least_wmarker)
29165 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29166 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29167 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29168 (_IO_default_doallocate, _IO_wdefault_doallocate)
29169 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29170 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29171 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29172 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29173 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29174 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29175 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29176 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29177 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29178 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29179 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29180 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29181 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29182 proto.
29183 (_IO_flush_all_internal, _IO_adjust_column_internal)
29184 (_IO_default_uflow_internal, _IO_default_finish_internal)
29185 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29186 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29187 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29188 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29189 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29190 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29191 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29192 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29193 (_IO_file_close_internal, _IO_file_close_it_internal)
29194 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29195 (_IO_file_init_internal, _IO_file_attach_internal)
29196 (_IO_file_fopen_internal, _IO_file_read_internal)
29197 (_IO_file_sync_internal, _IO_file_seek_internal)
29198 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29199 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29200 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29201 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29202 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29203 (_IO_list_all_internal, _IO_link_in_internal)
29204 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29205 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29206 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29207 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29208 (_IO_do_write_internal, _IO_padn_internal)
29209 (_IO_getline_info_internal, _IO_getline_internal)
29210 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29211 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29212 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29213 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29214 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29215 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29216 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29217 with libc_hidden_ver, remove use of INTUSE.
29218 * libio/genops.c: Likewise.
29219 * libio/freopen.c: Likewise.
29220 * libio/freopen64.c: Likewise.
29221 * libio/iofclose.c: Likewise.
29222 * libio/iofdopen.c: Likewise.
29223 * libio/iofflush.c: Likewise.
29224 * libio/iofflush_u.c: Likewise.
29225 * libio/iofgets.c: Likewise.
29226 * libio/iofgets_u.c: Likewise.
29227 * libio/iofopen.c: Likewise.
29228 * libio/iofopncook.c: Likewise.
29229 * libio/iofread.c: Likewise.
29230 * libio/iofread_u.c: Likewise.
29231 * libio/ioftell.c: Likewise.
29232 * libio/iofwrite.c: Likewise.
29233 * libio/iogetline.c: Likewise.
29234 * libio/iogets.c: Likewise.
29235 * libio/iogetwline.c: Likewise.
29236 * libio/iopadn.c: Likewise.
29237 * libio/iopopen.c: Likewise.
29238 * libio/ioseekoff.c: Likewise.
29239 * libio/ioseekpos.c: Likewise.
29240 * libio/iosetbuffer.c: Likewise.
29241 * libio/iosetvbuf.c: Likewise.
29242 * libio/ioungetc.c: Likewise.
29243 * libio/ioungetwc.c: Likewise.
29244 * libio/iovdprintf.c: Likewise.
29245 * libio/iovsprintf.c: Likewise.
29246 * libio/iovsscanf.c: Likewise.
29247 * libio/memstream.c: Likewise.
29248 * libio/obprintf.c: Likewise.
29249 * libio/oldfileops.c: Likewise.
29250 * libio/oldiofclose.c: Likewise.
29251 * libio/oldiofdopen.c: Likewise.
29252 * libio/oldiofopen.c: Likewise.
29253 * libio/oldiopopen.c: Likewise.
29254 * libio/oldstdfiles.c: Likewise.
29255 * libio/putc.c: Likewise.
29256 * libio/setbuf.c: Likewise.
29257 * libio/setlinebuf.c: Likewise.
29258 * libio/stdfiles.c: Likewise.
29259 * libio/strops.c: Likewise.
29260 * libio/vasprintf.c: Likewise.
29261 * libio/vscanf.c: Likewise.
29262 * libio/vsnprintf.c: Likewise.
29263 * libio/vswprintf.c: Likewise.
29264 * libio/wfiledoalloc.c: Likewise.
29265 * libio/wfileops.c: Likewise.
29266 * libio/wgenops.c: Likewise.
29267 * libio/wmemstream.c: Likewise.
29268 * libio/wstrops.c: Likewise.
29269 * libio/__fpurge.c: Likewise.
29270 * libio/__fsetlocking.c: Likewise.
29271 * assert/assert.c: Likewise.
29272 * debug/fgets_chk.c: Likewise.
29273 * debug/fgets_u_chk.c: Likewise.
29274 * debug/fread_chk.c: Likewise.
29275 * debug/fread_u_chk.c: Likewise.
29276 * debug/gets_chk.c: Likewise.
29277 * debug/obprintf_chk.c: Likewise.
29278 * debug/vasprintf_chk.c: Likewise.
29279 * debug/vdprintf_chk.c: Likewise.
29280 * debug/vsnprintf_chk.c: Likewise.
29281 * debug/vsprintf_chk.c: Likewise.
29282 * malloc/mtrace.c: Likewise.
29283 * misc/error.c: Likewise.
29284 * misc/syslog.c: Likewise.
29285 * stdio-common/asprintf.c: Likewise.
29286 * stdio-common/fxprintf.c: Likewise.
29287 * stdio-common/getw.c: Likewise.
29288 * stdio-common/isoc99_fscanf.c: Likewise.
29289 * stdio-common/isoc99_scanf.c: Likewise.
29290 * stdio-common/isoc99_vfscanf.c: Likewise.
29291 * stdio-common/isoc99_vscanf.c: Likewise.
29292 * stdio-common/isoc99_vsscanf.c: Likewise.
29293 * stdio-common/printf-prs.c: Likewise.
29294 * stdio-common/printf_fp.c: Likewise.
29295 * stdio-common/printf_fphex.c: Likewise.
29296 * stdio-common/printf_size.c: Likewise.
29297 * stdio-common/putw.c: Likewise.
29298 * stdio-common/scanf.c: Likewise.
29299 * stdio-common/sprintf.c: Likewise.
29300 * stdio-common/tmpfile.c: Likewise.
29301 * stdio-common/vfprintf.c: Likewise.
29302 * stdio-common/vfscanf.c: Likewise.
29303 * stdlib/strfmon_l.c: Likewise.
29304 * sunrpc/openchild.c: Likewise.
29305 * sunrpc/xdr_stdio.c: Likewise.
29306 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29307 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29308
d6c33fda
RM
293092012-05-24 Roland McGrath <roland@hack.frob.com>
29310
c1487492
RM
29311 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29312
29313 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29314 in the third column, to generate for the shared library an IFUNC
29315 that uses _dl_vdso_vsym.
29316 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29317 * Makeconfig (object-suffixes-noshared): New variable.
29318
29319 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29320 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29321 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29322 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29323
d6c33fda
RM
29324 [BZ #14132]
29325 * include/sys/time.h (__gettimeofday): Remove macro.
29326 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29327 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29328 Remove INTDEF.
29329 (__gettimeofday): Add libc_hidden_def.
29330 (gettimeofday): Add libc_hidden_weak.
29331 * sysdeps/mach/gettimeofday.c: Likewise.
29332 * sysdeps/posix/gettimeofday.c: Likewise.
29333 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29334 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29336 (__gettimeofday_internal): Remove strong_alias.
29337 (__gettimeofday): Add libc_hidden_def.
29338 (gettimeofday): Add libc_hidden_weak.
29339 * sysdeps/unix/syscalls.list (gettimeofday):
29340 Remove __gettimeofday_internal alias.
29341
b5a2bbe6
L
293422012-05-24 Daniel Jacobowitz <drow@false.org>
29343 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 [BZ #12495]
29346 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29347 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29348 (largebin_index_32_big): New.
29349 (largebin_index): Use it for 16-byte alignment.
29350 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29351 correction with front_misalign.
29352
cfba4fda
L
293532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29354
7f907421
L
29355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29357 Likewise.
29358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29359 Likewise.
29360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29361 Likewise.
29362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29363 Likewise.
29364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29365 Likewise.
29366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29367 Likewise.
29368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29369 Likewise.
29370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29371 Likewise.
29372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29373 Likewise.
29374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29375 Likewise.
29376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29377 Likewise.
29378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29379 Likewise.
29380
cfba4fda
L
29381 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29382 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29383
80bad0cc
JM
293842012-05-24 Joseph Myers <joseph@codesourcery.com>
29385
7a25eb06
JM
29386 [BZ #10846]
29387 [BZ #14036]
29388 * math/libm-test.inc (exp_test): Add test from bug 14036.
29389 (pow_test): Add test from bug 10846.
29390
795405f9
JM
29391 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29392 and other flags.
29393 (special_function): Do not include flags in test name.
29394 (parse_args): Likewise.
29395 * sysdeps/i386/fpu/libm-test-ulps: Update.
29396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29397 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29398 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29400
80bad0cc
JM
29401 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29402 exceptions.
29403 * math/libm-test.inc ("Philosophy"): Update comment about
29404 exception testing.
29405 (UNDERFLOW_EXCEPTION): New macro.
29406 (UNDERFLOW_EXCEPTION_OK): Likewise.
29407 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29408 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29409 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29410 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29411 (INVALID_EXCEPTION_OK): Update value.
29412 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29413 (OVERFLOW_EXCEPTION_OK): Likewise.
29414 (IGNORE_ZERO_INF_SIGN): Likewise.
29415 (test_exceptions): Handle underflow exceptions.
29416 (acos_test): Update for underflow exception expectations.
29417 (cexp_test): Likewise.
29418 (clog_test): Likewise.
29419 (clog10_test): Likewise.
29420 (csqrt_test): Likewise.
29421 (ctan_test): Likewise.
29422 (ctanh_test): Likewise.
29423 (exp_test): Likewise.
29424 (exp10_test): Likewise.
29425 (exp2_test): Likewise.
29426 (expm1_test): Likewise.
29427 (fma_test): Likewise.
29428 (j0_test): Likewise.
29429 (jn_test): Likewise.
29430 (nexttoward_test): Likewise.
29431 (pow_test): Likewise.
29432 (scalbn_test): Likewise.
29433 (scalbln_test): Likewise.
29434 (tan_test): Likewise.
29435 (y1_test): Likewise.
29436 * sysdeps/i386/fpu/libm-test-ulps: Update.
29437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29438
9e0e3d0b
DM
294392012-05-23 David S. Miller <davem@davemloft.net>
29440
29441 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29442 (__libc_sigaction): Remove unused local variables.
29443
ccd0a08f
L
294442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29445
29446 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29447
62bdf9a6
PE
294482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29449
f8591f80
PE
29450 mktime: avoid signed integer overflow
29451 * time/mktime.c (__mktime_internal): Do not mishandle the case
29452 where diff == INT_MIN.
29453
94c7d826
PE
29454 mktime: simplify computation of average
29455 * time/mktime.c (ranged_convert): Use new time_t_avg function
29456 instead of rolling our own (probably-slower) code.
29457
ce73d683
PE
29458 mktime: do not assume signed right shift propagates sign bit
29459 * time/mktime.c (isdst_differ): New static function.
29460 (__mktime_internal): No need to normalize tm_isdst now.
29461 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29462 tm_isdst values.
29463
72a22e59
PE
29464 mktime: merge another wrapv change from gnulib
29465 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29466 from some compilers.
29467
68605433
PE
29468 mktime: remove incorrect attempt at unusual arithmetics
29469 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29470 The code didn't really work on such machines anyway.
29471 (TYPE_MINIMUM): Assume two's complement.
29472 (twos_complement_arithmetic): Verify that long_int and time_t
29473 are two's complement (or unsigned, in the latter case).
29474
03cf7fe3
PE
29475 mktime: check signed shifts on long_int and time_t, too
29476 * time/mktime.c (SHR): Check that shifts work as desired
29477 on the types long_int and time_t too, as SHR is used on
29478 such types.
29479
f04dfbc2
PE
29480 mktime: do not assume 'long' is wide enough
29481 * time/mktime.c (verify): Move decl up.
29482 (long_int): New type.
29483 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29484 to remove assumption in the code that 'long' is wide enough to
29485 store year values. This assumption is not true on x32 and on
29486 some non-glibc platforms.
29487
62bdf9a6
PE
29488 mktime: merge wrapv change from gnulib
29489 * time/mktime.c (WRAPV): New macro.
29490 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29491 (guess_time_tm, __mktime_internal): Do not assume that signed
29492 integer overflow wraps around; modern compilers generate code
29493 where this assumption is no longer valid.
29494
5e292e4f
L
294952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29498 Replace "jmp L(pseudo_end)" with "ret".
29499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29500 Likewise.
29501
8caf8c87
AJ
295022012-05-23 Andreas Jaeger <aj@suse.de>
29503
29504 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29505 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29506
1a09dc56
AJ
295072012-05-23 Andreas Jaeger <aj@suse.de>
29508 Maximilian Attems <max@stro.at>
29509
29510 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29511 New macros.
29512
1c87aba0
L
295132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29514
29515 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29516 code so that pseudo_end is just ret and the stack pointer is
29517 correct also for static library in error case.
29518
40e45bd5
JM
295192012-05-23 Joseph Myers <joseph@codesourcery.com>
29520
c2670533
JM
29521 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29522 move to syscalls.list.
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29527
40e45bd5
JM
29528 * manual/install.texi (Running make install): Do not mention Linux
29529 kernel version for which pt_chown is not needed.
29530 (Linux): Do not mention problems with nscd with 2.0 kernels.
29531 * INSTALL: Regenerated.
29532
be08eda5
AJ
295332012-05-23 Andreas Jaeger <aj@suse.de>
29534
29535 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29536 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29537 macro.
29538 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29540 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29542 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29544 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29546 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29548 * sysdeps/unix/sysv/linux/bits/in.h
29549 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29550
a6a056bb
RM
295512012-05-22 Roland McGrath <roland@hack.frob.com>
29552
29553 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29554 (PREPARE_VERSION): Just use assert instead, it will be elided
29555 under [NDEBUG] anyway.
29556
c9009328
L
295572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29558
29559 * sysdeps/unix/sysv/linux/Makefile: Include
29560 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29561 (sysdep_routines): Remove sysctl.
c9009328
L
29562 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29563 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29564 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29566 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29567
73338355
AJ
295682012-05-22 Andreas Jaeger <aj@suse.de>
29569
29570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29571 that pseudo_end is just ret and the stack pointer is correct also
29572 for static library in error case.
29573
d44638b0
PP
295742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29575
29576 [BZ #14122]
29577 * nss/nsswitch.c (defconfig_entries): New variable.
29578 (__nss_database_lookup): Don't leak defconfig entries.
29579 (nss_parse_service_list): Don't leak on error paths.
29580 (free_database_entries): New function.
29581 (free_defconfig): New function.
29582 (free_mem): Move common code to free_database_entries.
29583
31a39bd8
L
295842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29585
da0331a8
L
29586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29587 Add arch_prctl.
29588 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29589
31a39bd8
L
29590 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29591 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29593 New macro.
29594 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29595 (INTERNAL_SYSCALL_TYPES): Likewise.
29596 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29597 (LOAD_REGS_TYPES_[1-6]): Likewise.
29598 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29599 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29600
45470df3
AZ
296012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29602
29603 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29604 copysignl for GLIBC_2_0.
29605 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29606 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29608 logbl for GLIBC_2_0.
29609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29610 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29611
98a61bcb
L
296122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29613
a4f6e481
L
29614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29615 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29616
f63d5db6
L
29617 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29618 Use "neg %eax".
29619
98a61bcb
L
29620 * time/mktime.c: Update copyright years.
29621
95770f14
PE
296222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29623
6226efbd
PE
29624 mktime: merge comment-quoting-style change from gnulib
29625 * time/mktime.c: Quote 'like this' in comments.
29626 The GNU coding standards suggest that we no longer quote `like this',
29627 as "`" and "'" are typically rendered asymmetrically nowadays.
29628 The typical gnulib style is to quote 'like this' when quoting
29629 code, and "like this" when quoting English.
29630
b99e4f78
PE
29631 * time/mktime.c (compile-command): Add "-I.".
29632
643e01e6
PE
29633 mktime: merge mktime-internal.h change from gnulib
29634 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29635
2554247d
PE
29636 mktime: merge time_r change from gnulib
29637 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29638
826dd0ab
PE
29639 mktime: merge DEBUG change from gnulib
29640 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29641 case system <time.h> has a #define.
29642
bd83aabe
PE
29643 mktime: merge <sys/types.h> change from gnulib
29644 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29645 since <time.t> is now guaranteed to define time_t.
29646
95770f14
PE
29647 mktime: merge HAVE_CONFIG_H change from gnulib
29648 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29649
5e1a27a9
L
296502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29651
0e44a77e
L
29652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29653 Use "neg %eax".
29654
5e1a27a9
L
29655 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29656 __rlim_t cast.
29657 (struct rusage): Use anonymous union to pad each field to
29658 __syscall_slong_t.
29659
46259bec
DM
296602012-05-21 David S. Miller <davem@davemloft.net>
29661
29662 * Makefules (o-iterator): Remove .s cases.
29663 (compile-command.s): Delete.
29664 (COMPILE.s): Delete.
29665 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29666
59f0c22e
JM
296672012-05-21 Joseph Myers <joseph@codesourcery.com>
29668
29669 * configure.in (libc_cv_predef_stack_protector): Only consider
29670 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29671 * configure: Regenerated.
29672
20c07380
L
296732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29674
bbb3154b
L
29675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29676 New macro. Use R*LP on int and pointer.
29677 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29678 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29679 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29680 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29681
20c07380
L
29682 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29683 [__WORDSIZE_TIME64_COMPAT32] instead of
29684 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29685 (struct utmp): Likewise.
29686 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29687 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29688 Renamed to ...
29689 (__WORDSIZE_TIME64_COMPAT32): This.
29690 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29691 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29692 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29693 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29694 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29695 (__WORDSIZE_TIME64_COMPAT32): New macro.
29696
d8d1017e
AJ
296972012-05-21 Andreas Jaeger <aj@suse.de>
29698
29699 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29700 only if [SHARED]. Add prototype for __wcschr_ia32.
29701
6c7fb145
RM
297022012-05-21 Roland McGrath <roland@hack.frob.com>
29703
29704 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29705 of %rbp unmolested in the jmp_buf while mangling the low bits.
29706 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29707 unmolested high bits of %rbp while demangling the low bits.
29708 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29709
66274218
AJ
297102012-05-21 Andreas Jaeger <aj@suse.de>
29711
07c58f8f
AJ
29712 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29713 * sunrpc/svc_simple.c: Use it for registerrpc.
29714 * sunrpc/xcrypt.c: Use it for passwd2des.
29715
66274218
AJ
29716 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29717
61f65140
L
297182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29719
29720 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29721 Don't define if [__SYSCALL_WORDSIZE != 32].
29722 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29723 New macro.
29724
5fefb436
AJ
297252012-05-21 Bruno Haible <bruno@clisp.org>
29726 Andreas Jaeger <aj@suse.de>
29727
29728 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29729 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29730 inptr and inend for must_buffer_ch.
29731 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29732 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29733 * stdio-common/Makefile (tests): Remove bug15.
29734 (bug15-ENV): Remove macro.
29735 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29736 anymore.
29737
d8e272ab
AJ
297382012-05-19 Andreas Jaeger <aj@suse.de>
29739 Roland McGrath <roland@hack.frob.com>
29740
29741 * manual/contrib.texi: Completely rewritten. It contains now an
29742 alphabetical list of contributors and their contributions.
29743
4a56a162
RH
297442012-05-21 Richard Henderson <rth@twiddle.net>
29745
29746 * misc/getauxval.c (__getauxval): Use unsigned long int.
29747 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29748 (getauxval): Use unsigned long int.
29749
d024d23c
L
297502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29753
cbc00a03
RM
297542012-05-21 Roland McGrath <roland@hack.frob.com>
29755
29756 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29757 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29758 __alignof__ (long double).
29759
478143fa
AZ
297602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29761
29762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29763
c7683a6d
RH
297642012-05-20 Richard Henderson <rth@twiddle.net>
29765
29766 * misc/getauxval.c: New file.
29767 * misc/sys/auxv.h: New file.
29768 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29769 (routines): Add getauxval.
29770 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29772 * elf/dl-sysdep.c (_dl_auxv): Remove.
29773 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29774 * elf/dl-support.c (_dl_auxv): New variable.
29775 (_dl_aux_init): Initialize it.
29776 * manual/startup.texi (Auxiliary Vector): New node.
29777 * sysdeps/generic/bits/hwcap.h: New file.
29778 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29779 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29780 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29781 * sysdeps/sparc/sysdep.h: ... here. Include it.
29782 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29783 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29785 Update.
c7683a6d
RH
29786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29794
a6f1845d
AZ
297952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29796
29797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29798
cbcbe830
DM
297992012-05-19 David S. Miller <davem@davemloft.net>
29800
29801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29802
e0b16cc2
JM
298032012-05-19 Joseph Myers <joseph@codesourcery.com>
29804
29805 [BZ #14123]
29806 * math/s_ccosh.c: Include <float.h>
29807 (__ccosh): Avoid internal overflow calculating sinh and cosh
29808 values before multiplying by sin and cos values.
29809 * math/s_ccoshf.c: Likewise.
29810 * math/s_ccoshl.c: Likewise.
29811 * math/s_csin.c: Likewise.
29812 * math/s_csinf.c: Likewise.
29813 * math/s_csinl.c: Likewise.
29814 * math/s_csinh.c: Likewise.
29815 * math/s_csinhf.c: Likewise.
29816 * math/s_csinhl.c: Likewise.
29817 * math/libm-test.inc (ccos_test): Add more tests.
29818 (ccosh_test): Likewise.
29819 (csin_test): Likewise.
29820 (csinh_test): Likewise.
29821 * sysdeps/i386/fpu/libm-test-ulps: Update.
29822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29823
6ad13e08
L
298242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29825
f66f0ce8
L
29826 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29827 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29828
6ad13e08
L
29829 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29830
b1d072a7
JM
298312012-05-19 Joseph Myers <joseph@codesourcery.com>
29832
29833 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29834 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29835 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29836 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29837 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29838 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29839 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29840 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29841 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29842 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29843 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29844 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29845 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29846 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29847 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29848 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29849 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29850 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29851 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29852 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29853 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29854 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29855 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29856 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29857 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29858 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29859 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29860 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29861 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29862 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29863 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29864
9eae47cb
AJ
298652012-05-18 Andreas Jaeger <aj@suse.de>
29866
29867 * csu/.gitignore: Delete.
29868
bb07f69f
L
298692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29870
29871 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29872 (timex): Use __syscall_slong_t.
29873
e6bdb741
AJ
298742012-05-18 Andreas Jaeger <aj@suse.de>
29875 Carlos O'Donell <carlos_odonell@mentor.com>
29876
29877 * manual/install.texi (Configuring and compiling): Update
29878 description about files modified in the source directory.
d6c33fda 29879 * INSTALL: Regenerated.
e6bdb741 29880
1b74487e
L
298812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29882
29883 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29884 value. Use "or" to set return value to -1.
29885 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29886 negate return value.
29887
a88b64b9
TMQMF
298882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29889
57f41c40
AS
29890 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29891 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29892 failure if the compiler has Graphite support disabled.
29893 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29894 Likewise.
57f41c40
AS
29895 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29896 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29897 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29898 Likewise.
29899
3707636e
L
299002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29901
610b8622
L
29902 * sysdeps/x86_64/x32/_itoa.h: New file.
29903
7cd195df
L
29904 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29905 getdents system call only if kernel and user dirents have the
29906 same d_ino and d_off.
29907
94b07d20
L
29908 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29909 LLONG_MAX != LONG_MAX.
29910 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29911 (_fitoa_word): Likewise.
29912
18298070
L
29913 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29914 years.
29915 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29916 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29917 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29918
553c7ea4
L
29919 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29920 include <bits/wordsize.h>. Check __x86_64__ instead of
29921 __WORDSIZE.
29922 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29923 if __x86_64__ is defined. Use anonymous union on fpstate.
29924
3707636e
L
29925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29926 anonymous union.
29927
b53ef01a
AS
299282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29929
37fb1dc0
AS
29930 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29931 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29932 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29933 Refer to _rtld_local_ro instead of _rtld_global_ro.
29934 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29935 Likewise.
29936 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29937 Likewise.
29938 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29939 Likewise.
29940 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29941 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29942 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29943
b53ef01a
AS
29944 * sysdeps/powerpc/powerpc32/dl-machine.c
29945 (__elf_machine_runtime_setup) [PROF]: Don't reference
29946 _dl_prof_resolve.
29947
7a185db2
AJ
299482012-05-18 Andreas Jaeger <aj@suse.de>
29949
29950 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29951 function only available for GCCs before 3.4 since GCC 3.4
29952 introduced a builtin.
29953 (lrint): Likewise.
29954 (llrintf): Likewise.
29955 (llrint): Likewise.
29956 (fmaxf): Likewise.
29957 (fmax): Likewise.
29958 (fminf): Likewise.
29959 (fmin): Likewise.
29960 (rint): Likewise.
29961 (rintf): Likewise.
29962 (nearbyint): Likewise.
29963 (nearbyintf): Likewise.
29964 (ceil): Likewise.
29965 (ceilf): Likewise.
29966 (floor): Likewise.
29967 (floorf): Likewise.
29968
3e5aef87
L
299692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29970
428bd707
L
29971 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29972 on both fields and cast pointer to __syscall_ulong_t.
29973
3e5aef87
L
29974 * bits/types.h (__fsword_t): New type.
29975 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29976 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29978 (__FSWORD_T_TYPE): Likewise.
29979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29980 (__FSWORD_T_TYPE): Likewise.
29981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29982 (__FSWORD_T_TYPE): Likewise.
29983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29984 (__FSWORD_T_TYPE): Likewise.
29985 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29986 __SWORD_TYPE with __fsword_t.
29987 (statfs64): Likewise.
29988
1ba7c3dc
DM
299892012-05-17 David S. Miller <davem@davemloft.net>
29990
29991 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29992
59910343
AJ
299932012-05-17 Andreas Jaeger <aj@suse.de>
29994
29995 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29996 warning.
29997
2e4c1e9e
L
299982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29999
30000 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30001
de7f5ce7
AJ
300022012-05-17 Andreas Jaeger <aj@suse.de>
30003
30004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30005 when it is used.
30006
286abc3d
CM
300072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30008
30009 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30010
477cc68e
L
300112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30012
30013 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30014 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30015
1a0994f5
CD
300162012-05-17 Andreas Jaeger <aj@suse.de>
30017 Carlos O'Donell <carlos_odonell@mentor.com>
30018
30019 [BZ #14059]
30020 * sysdeps/x86_64/multiarch/init-arch.h
30021 (bit_YMM_Usable): Rename to...
30022 (bit_AVX_Usable): ... this.
30023 (bit_FMA4_Usable): New macro.
30024 (bit_XMM_state): New macro.
30025 (bit_YMM_state): New macro.
30026 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30027 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30028 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30029 (CPUID_OSXSAVE): New macro.
30030 (CPUID_AVX): New macro.
30031 (CPUID_FMA4): New macro.
30032 (index_YMM_Usable): Rename to...
30033 (index_AVX_Usable): ... this.
30034 (HAS_AVX): Use HAS_ARCH_FEATURE.
30035 (HAS_FMA4): Likewise.
30036 (HAS_YMM_USABLE): Remove.
30037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30038 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30039 are present.
30040 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30041 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30042 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30043 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30044 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30045
0af797de
CM
300462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30047
30048 * math/libm-test.c: Support platforms without multiple rounding modes.
30049 * math/bug-nextafter.c: Support platforms without FP exceptions.
30050 * math/bug-nexttoward.c: Likewise.
30051 * math/test-fenv.c: Likewise.
30052 * math/test-misc.c: Likewise.
30053 * stdlib/bug-getcontext.c: Likewise.
30054
e39745ff
AJ
300552012-05-17 Andreas Jaeger <aj@suse.de>
30056
30057 * manual/examples/search.c (critter_cmp): Change signature to
30058 avoid warnings.
30059 * manual/string.texi (Collation Functions): Likewise.
30060
48970aba
L
300612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30062
30063 * bits/types.h: Fold copyright years.
30064 * bits/typesizes.h: Likewise.
30065 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30069 * time/time.h: Likewise.
30070
bedee953
PP
300712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30072
30073 [BZ #208]
30074 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30075 in instead of returning them. Return void.
30076 (__libc_mallinfo): Accumulate over all arenas.
30077 (__malloc_stats): Adjust for change in int_mallinfo interface.
30078
61653dfb
RM
300792012-05-16 Roland McGrath <roland@hack.frob.com>
30080
30b99d79
RM
30081 [BZ #10375]
30082 * configure.in (NM): Add AC_CHECK_TOOL for it.
30083 (libc_extra_cflags): New substituted variable.
30084 Check for -fstack-protector being used implicitly.
30085 * configure: Regenerated.
30086 * config.make.in (config-extra-cflags): New variable,
30087 gets @libc_extra_cflags@.
30088 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30089
61653dfb
RM
30090 [BZ #10375]
30091 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30092 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30093 * configure: Regenerated.
30094 * config.make.in (CPPUNDEFS): New substituted variable.
30095 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30096 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30097 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30098
661768bb
L
300992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30102 (mq_attr): Use __syscall_slong_t.
30103
d4261567
L
301042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30105
30106 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30107 Check __x86_64__ instead of __WORDSIZE.
30108 (_STAT_VER_LINUX): Likewise.
30109 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30110 __syscall_ulong_t and __syscall_slong_t.
30111 (stat64): Likewise.
30112
cf3ff365
L
301132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30114
30115 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30116
76cf3e4d
L
301172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30118
30119 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30120
a637753a
L
301212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30124 __syscall_ulong_t.
30125
d5e05119
L
30126 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30127 include <bits/wordsize.h>. Check __x86_64__ instead of
30128 __WORDSIZE.
30129 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30130 defined.
30131 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30132
f62ee380
L
30133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30134 include <bits/wordsize.h>. Check __x86_64__ instead of
30135 __WORDSIZE.
30136 (user_regs_struct): Use "__extension__ unsigned long long"
30137 instead of "unsigned long" if __x86_64__ is defined.
30138 (user): Likewise. Pad after pointer field if __ILP32__ is
30139 defined.
30140
4e124ced
JM
301412012-05-16 Joseph Myers <joseph@codesourcery.com>
30142
6a3951a0
JM
30143 * configure.in (makeinfo): Require version 4.5 or later. Allow
30144 versions 5 to 9.
30145 * configure: Regenerated.
30146 * manual/install.texi (texinfo): Increase version requirement to
30147 4.5 or later.
30148 * INSTALL: Regenerated.
30149
4e124ced
JM
30150 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30151
953ca31a
L
301522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30153
30154 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30155
617aca05
L
30156 * sysdeps/x86_64/x32/ffs.c: New file.
30157
5762f7ae
L
30158 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30159 __syscall_ulong_t.
30160 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30161 defined. Use __syscall_ulong_t.
30162 (shminfo): Use __syscall_ulong_t.
30163 (shm_info): Likewise.
30164
a26b6856
L
30165 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30166 __syscall_ulong_t.
30167
cb2b9ef7
L
30168 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30169 <bits/wordsize.h>.
30170 (msgqnum_t): Use __syscall_ulong_t.
30171 (msglen_t): Likewise.
30172 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30173 __syscall_ulong_t.
30174
34683bb0
L
30175 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30176 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30177
84a68786
L
30178 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30179
48baa5f1
L
30180 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30181 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30182
180be88b
L
30183 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30184 __syscall_slong_t.
30185
5e90c8ad
L
30186 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30187 include <bits/wordsize.h>. Check __x86_64__ instead of
30188 __WORDSIZE.
30189
23dfb58b
L
30190 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30191 "unsigned long long int" if __x86_64__ is defined.
30192 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30193
ce5d54b0
L
30194 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30195 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30196 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30197
13dc9eac
L
30198 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30199 <stdint.h>.
30200 (GET_PC): Cast to uintptr_t first.
30201 (GET_FRAME): Likewise.
30202 (GET_STACK): Likewise.
30203
a7895d15
L
30204 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30205 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30207 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30209 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30210 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30211 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30212 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30215 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30216 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30217 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30218 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30220 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30222 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30224 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30230 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30233
656416c9
AS
302342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30235
5bd66283
AS
30236 * Makerules (+depfiles): Also collect depfiles from .oS in
30237 $(extra-objs).
30238 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30239 .oS, $(libnldbl-routines)).
30240
656416c9
AS
30241 * Makerules (native-compile-mkdep-flags): Define.
30242 * sunrpc/Makefile (extra-objs): Add $(addprefix
30243 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30244 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30245 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30246 calling $(make-target-directory).
30247
a46f2169
L
302482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30249
30250 * bits/types.h (__snseconds_t): Removed.
30251 * time/time.h (struct timespec): Replace __snseconds_t with
30252 __syscall_slong_t.
30253 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30254 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30255 Likewise.
30256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30257 (__SNSECONDS_T_TYPE): Likewise.
30258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30259 (__SNSECONDS_T_TYPE): Likewise.
30260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30261 (__SNSECONDS_T_TYPE): Likewise.
30262
6af6528b
L
302632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30264
30265 * sysdeps/mach/hurd/bits/typesizes.h
30266 (__SYSCALL_SLONG_TYPE): New macro.
30267 (__SYSCALL_ULONG_TYPE): Likewise.
30268
de986b56
L
302692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30270
30271 * bits/types.h (__syscall_slong_t): New type.
30272 (__syscall_ulong_t): Likewise.
30273
30274 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30275 (__SYSCALL_ULONG_TYPE): Likewise.
30276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30277 (__SYSCALL_SLONG_TYPE): Likewise.
30278 (__SYSCALL_ULONG_TYPE): Likewise.
30279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30280 (__SYSCALL_SLONG_TYPE): Likewise.
30281 (__SYSCALL_ULONG_TYPE): Likewise.
30282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30283 (__SYSCALL_SLONG_TYPE): Likewise.
30284 (__SYSCALL_ULONG_TYPE): Likewise.
30285
85736dc7
L
302862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30287
30288 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30289 Add sigaltstack-offsets.sym.
30290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30291 <sigaltstack-offsets.h>.
30292 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30293 longjmp_msg pointer.
30294 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30295 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30296 signal stack.
30297 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30298
cc03b296
JM
302992012-05-15 Joseph Myers <joseph@codesourcery.com>
30300
a9538892
JM
30301 * elf/stackguard-macros.h: Remove file.
30302 * sysdeps/generic/stackguard-macros.h: New file.
30303 * sysdeps/i386/stackguard-macros.h: Likewise.
30304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30310 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30311 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30312 <elf/stackguard-macros.h>.
30313
cc03b296
JM
30314 [BZ #14109]
30315 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30316 __aligned__ in attribute.
30317 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30318 (gregset_t): Likewise.
30319
93171016
L
303202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30321
30322 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30323 * sysdeps/x86_64/64/Implies-after: Here. New file.
30324 * sysdeps/x86_64/x32/Implies-after: New file.
30325
d86813a0
L
303262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30327
30328 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30329 and access return value for _dl_profile_fixup. Use R10_LP to
30330 load frame size.
30331
2953ec75
L
303322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30333
30334 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30335
3b550e9e
L
303362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30337
30338 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30339 * sysdeps/x86_64/x32/sysdep.h: New file.
30340
eda41706
L
303412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30342
30343 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30344 * sysdeps/x86_64/setjmp.S: Likewise.
30345
9ea01d93
AZ
303462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30347
30348 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30349 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30350 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30351 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30352 remove unused global constant.
30353
02a91938
CM
303542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30355
30356 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30357 include of <not-cancel.h>.
30358
6540185f
RM
303592012-05-15 Roland McGrath <roland@hack.frob.com>
30360
30361 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30362
509072a0
AJ
303632012-05-15 Jeff Law <law@redhat.com>
30364 Andreas Jaeger <aj@suse.de>
30365
30366 [BZ #13594]
30367 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30368 out from...
30369 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30370 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30371 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30372 code changing __hst_map_handle.map.
30373
ba75122d
RM
303742012-05-15 Roland McGrath <roland@hack.frob.com>
30375
30376 * configure.in (sysnames): Look for Implies-before and Implies-after
30377 files.
30378 * configure: Regenerated.
30379
890d8bd8
L
303802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30381
30382 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30383 8-byte data alignment with LP_SIZE alignment.
30384
f6ee6623
L
303852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30386
30387 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30388 into R10_LP.
30389
ea2626f6
L
303902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30393
085f715e
L
303942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30395
30396 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30397 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30399 Likewise.
30400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30401
be8498fc
L
304022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30403
30404 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30405 (stackinfo_sub_sp): Likewise.
30406
70bc83b9
L
304072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30408
30409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30410 RAX_LP.
30411
9bc0b730
L
304122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30413
30414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30415 into R*_LP.
30416
6d2850e7
L
304172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30418
30419 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30420 sizes into R*_LP.
30421
3cb84561
L
304222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30423
30424 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30425
54e2ed81
L
304262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30429 into R11_LP and load __x86_64_shared_cache_size_half into
30430 R8_LP.
30431
8a17f349
L
304322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30435 R8_LP.
30436
777b1eea
AZ
304372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30438
30439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30440 logb for POWER7.
30441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30442 logbf for POWER7.
30443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30444 logbl for POWER7.
30445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30446 powerpc32/power7/fpu/s_logb.c via #include.
30447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30448 powerpc32/power7/fpu/s_logbf.c via #include.
30449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30450 powerpc32/power7/fpu/s_logbl.c via #include.
30451
d20d4ac2
JM
304522012-05-15 Joseph Myers <joseph@codesourcery.com>
30453
30454 * README.libm: Remove file.
30455
6cdef1ab
L
304562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30457
30458 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30459 count for x32. Use R*_LP and omit operand-size suffix.
30460
0b254d8f
L
304612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30462
30463 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30464 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30465 * sysdeps/x86_64/x32/shlib-versions: New file.
30466
ceb809dc
RM
304672012-05-14 Roland McGrath <roland@hack.frob.com>
30468
30469 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30470 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30471 Use _dl_fatal_printf instead.
30472
37f1abd4
JM
304732012-05-14 Joseph Myers <joseph@codesourcery.com>
30474
30475 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30476 set if not set by the user. Do not allow for being unset.
30477 * sysdeps/unix/sysv/linux/configure: Regenerated.
30478
11de3a33
L
304792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30482 the `q' suffix from lea and replace .quad with ASM_ADDR.
30483
e02f153a
L
304842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30485
30486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30487 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30488 instead of $17.
30489 (PTR_DEMANGLE): Likewise.
30490
520ae0fd
L
304912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30492
30493 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30494 (LP_OP): Likewise.
30495 (ASM_ADDR): Likewise.
30496 (RAX_LP): Likewise.
30497 (RBP_LP): Likewise.
30498 (RBX_LP): Likewise.
30499 (RCX_LP): Likewise.
30500 (RDI_LP): Likewise.
30501 (RSI_LP): Likewise.
30502 (RSP_LP): Likewise.
30503 (R8_LP): Likewise.
30504 (R9_LP): Likewise.
30505 (R10_LP): Likewise.
30506 (R10_LP): Likewise.
30507 (R11_LP): Likewise.
30508 (R12_LP): Likewise.
30509 (R13_LP): Likewise.
30510 (R14_LP): Likewise.
30511 (R15_LP): Likewise.
30512
b985be81
L
305132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30514
30515 * sysdeps/x86_64/x32/dl-machine.h: New file.
30516
6a4888ff
AJ
305172012-05-14 Andreas Jaeger <aj@suse.de>
30518
30519 * manual/Makefile (subdir): Remove export of subdir.
30520 (all): Remove target.
30521 (.PHONY): Remove all from list.
30522 (mkinstalldirs): Remove.
30523 (.PHONY): Remove installdirs from list.
30524 ($(inst_infodir)/libc.info): Use make-target-directory.
30525 (installdirs): Remove.
30526 (subdir_%): Remove.
30527 (glibc-targets): Remove.
30528 (lib): Remove.
30529 (stubs): Remove.
30530 ($(objpfx)stubs ../po/manual.pot): Remove.
30531 ($(objpfx)stamp%): Remove.
30532 (make-target-directory): Remove.
30533 (subdir_install): Remove.
30534 (routines): Remove.
30535 (aux): Remove.
30536 (sources): Remove.
30537 (objects): Remove.
30538 (headers): Remove.
30539
30540 [BZ #13750]
30541 * manual/.gitignore: Remove, it's not needed anymore.
30542 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30543 all files in it.
30544 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30545 directory.
30546 (texis): Renamed to $(objpfx)texis.
30547 (texis-path): New, contains path to generated files.
30548 (chapters.%): Use texis-path for complete path, add extra argument
30549 libc-texinfo.sh.
30550 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30551 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30552 (summary,texi, stamp-summary): Use complete path of
30553 files. Generate files in build dir.
30554 (dir-add.texi): Build in build dir.
30555 (libm-err.texi,stamp-libm-err): Likewise.
30556 (version.texi, stamp-version): Likewise.
30557 (.%c.texi): Likewise.
30558 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30559 (mostlyclean): Remove target.
30560 (realclean): Remove target.
30561 (generated): Add new variable with contents from mostlyclean and
30562 realclean, remove entries duplicated in common-mostlyclean, add
30563 stamp-libm-err and stamp-version.
30564 (generated-dirs): Add libc directory.
30565 ($(inst_infodir)/libc.info): Install files from build dir.
30566
30567 * manual/install.texi (Configuring and compiling): Adjust since
30568 the info files are not part of the tar ball anymore.
30569
7ac77294
AJ
305702012-05-14 Andreas Jaeger <aj@suse.de>
30571
30572 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30573 variable.
30574
ffb7875d
JM
305752012-05-14 Joseph Myers <joseph@codesourcery.com>
30576
30577 [BZ #13717]
30578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30579 to 2.2.0 where earlier.
30580 * sysdeps/unix/sysv/linux/configure: Regenerated.
30581 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30582 Remove conditional code.
30583 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30584 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30585 Remove conditional code.
30586 [!__NR_lchown]: Likewise.
30587 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30588 [__NR_lchown]: Likewise.
30589 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30590 comment referencing __ASSUME_LCHOWN_SYSCALL.
30591 * sysdeps/unix/sysv/linux/i386/sigaction.c
30592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30594 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30595 Remove conditional code.
30596 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30597 (__protocol_available): Remove #if 0 code.
30598 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30599 conditional code.
30600 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30601 * sysdeps/unix/sysv/linux/kernel-features.h
30602 (__ASSUME_GETCWD_SYSCALL): Don't define.
30603 (__ASSUME_REALTIME_SIGNALS): Likewise.
30604 (__ASSUME_PREAD_SYSCALL): Likewise.
30605 (__ASSUME_PWRITE_SYSCALL): Likewise.
30606 (__ASSUME_POLL_SYSCALL): Likewise.
30607 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30608 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30609 non-SPARC.
30610 (__ASSUME_SIOCGIFNAME): Don't define.
30611 (__ASSUME_MSG_NOSIGNAL): Likewise.
30612 (__ASSUME_SENDFILE): Define unconditionally.
30613 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30614 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30615 conditional code.
30616 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30618 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30619 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30621 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30622 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30627 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30633 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30647 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30648 Remove conditional code.
30649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30650 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30651 Remove conditional code.
30652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30653 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30654 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30655 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30656 Remove conditional code.
30657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30658 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30659 Remove conditional code.
30660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30661 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30662 Remove conditional code.
30663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30664 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30665 Remove conditional code.
30666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30667 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30668 Remove conditional code.
30669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30670 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30673 * sysdeps/unix/sysv/linux/sigaction.c
30674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30676 * sysdeps/unix/sysv/linux/sigpending.c
30677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30679 * sysdeps/unix/sysv/linux/sigprocmask.c
30680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30682 * sysdeps/unix/sysv/linux/sigsuspend.c
30683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30685 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30686 (__libc_missing_rt_sigs): Remove.
30687 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30688 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30689 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30690 Remove conditional code.
30691 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30692 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30693 return 1.
30694 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30695 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30696 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30697 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30698
1bfb7291
AJ
306992012-05-14 Andreas Jaeger <aj@suse.de>
30700
caae5a81
AJ
30701 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30702 it's not used in glibc.
30703 (__coshm1): Likewise.
30704 (__acosh1p): Likewise.
30705 (__sgn): Likewise.
30706
1bfb7291
AJ
30707 * manual/string.texi (Copying and Concatenation): Add missing
30708 variable in concat example.
30709 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30710
c044d724
L
307112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30712
144c5467 30713 [BZ #14103]
c044d724
L
30714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30715 __builtin_clzl with __builtin_clzll.
30716
2523c62b
L
307172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30718
30719 [BZ #14104]
30720 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30721 libc_freeres_ptr.
30722
d7bb4c42
LD
307232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30724
30725 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30726 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30727 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30728 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30729
9dc4e1fb
MF
307302012-05-14 Mike Frysinger <vapier@gentoo.org>
30731
30732 * NEWS: Update ia64 info.
30733
c7df0112
AS
307342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30735
30736 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30737 used as bcopy.
30738
dc70356c
TS
307392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30740
30741 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30742 * sysdeps/unix/syscalls.list (dup3): Likewise.
30743 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30744 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30745
9fb1a21f
L
307462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30747
30748 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30749 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30750
4822a2a5
L
307512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30752
30753 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30754 thread pointer.
30755 (TLS_IE): Use mov/add instead of movq/addq to load thread
30756 pointer.
30757 (TLS_GD_PREFIX): New.
30758 (TLS_GD): Use it.
30759
842b81d6
DM
307602012-05-11 David S. Miller <davem@davemloft.net>
30761
30762 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30763 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30764 (_FPU_SETCW): Likewise.
30765
1cf463cd
L
307662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30767
30768 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30769 is 32-byte aligned.
30770
60cc4a18
AS
307712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30772
30773 [BZ #11837]
30774 * iconvdata/gb18030.c: Update tables.
30775 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30776 characters specially.
30777 (BODY for TO_LOOP): Add encoding of missing ranges.
30778
febb44a4
TS
307792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30780
30781 [BZ #13673]
30782 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30783 * sysdeps/mach/hurd/dup3.c: Likewise.
30784 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30785 * sysdeps/powerpc/memmove.c:: Likewise.
30786
0a10fb9e
L
307872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30788
30789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30790 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30791
df8a552f
L
307922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30793
30794 * elf/elf.h (R_X86_64_RELATIVE64): New.
30795 (R_X86_64_NUM): Updated.
30796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30797 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30798 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30799 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30800 tst-quad1pie tst-quad2pie
30801 (modules-names): Add tst-quadmod1 tst-quadmod2.
30802 ($(objpfx)tst-quad1): New dependency.
30803 ($(objpfx)tst-quad2): Likewise.
30804 ($(objpfx)tst-quad1pie): Likewise.
30805 ($(objpfx)tst-quad2pie): Likewise.
30806 * sysdeps/x86_64/tst-quad1.c: New file.
30807 * sysdeps/x86_64/tst-quad1pie.c: New file.
30808 * sysdeps/x86_64/tst-quad2.c: Likewise.
30809 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30810 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30811 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30812 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30813 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30814
f34d6f84
ST
308152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30816
f42d41d1
ST
30817 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30818 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30819 * streams/stropts.h (t_scalar_t): Define type.
30820
3c3571fc
ST
30821 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30822 (_PATH_PRESERVE): Set to "/var/lib".
30823 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30824
61f06bd3
ST
30825 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30826 instead of int.
30827
918d4d71
ST
30828 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30829 if __dir_mkfile succeeded.
30830
f34d6f84
ST
30831 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30832 checking for _hurd_dtablesize. Unlock it right after having
30833 finished _hurd_dtable allocation.
30834
10589b4a
TS
308352012-05-10 Thomas Schwinge <thomas@schwinge.name>
30836
674cdbc7
TS
30837 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30838 * sysdeps/mach/hurd/configure: Regenerated.
30839 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30840 special-casing to...
30841 * sysdeps/gnu/configure.in: ... this new file.
30842 * sysdeps/unix/sysv/linux/configure: Regenerated.
30843 * sysdeps/gnu/configure: New generated file.
30844
8e41b99f
TS
30845 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30846 for Linux: use nsec instead of usec, as well as:
30847 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30848 members of type struct timespec.
30849 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30850 New macros.
30851 (struct stat64): Likewise.
30852 (_STATBUF_ST_NSEC): New macro.
30853 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30854
10589b4a
TS
30855 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30856 __strtoul_internal rather than strtoul.
30857
63643c85
PT
308582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30859
30860 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30861 and reject them.
30862
3faebe6a
ST
308632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30864
30865 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30866 which preserves existing values.
30867 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30868
c6474b07
PT
308692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30870
30871 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30872 TIMEOUT values. Return EINVAL for NFDS values either negative or
30873 greater than FD_SETSIZE.
30874
1043890b
ST
308752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30876
30877 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30878 allocated, call __vm_protect to finish enabling the existing space, and
30879 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30880 allocate the remainder.
30881
37ed8b9b
PT
308822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30883
30884 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30885 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30886
db653660
ST
308872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30888
37ed8b9b
PT
30889 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30890 sysdeps/mach/hurd/readlink.c.
b29d4053 30891
db653660
ST
30892 * posix/tst-sysconf.c (posix_options): Only use
30893 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30894 _POSIX_SYNCHRONIZED_IO when they are defined
30895 * sysdeps/mach/hurd/bits/posix_opt.h:
30896 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30897 (_XOPEN_REALTIME): Undefine macro.
30898 (_XOPEN_REALTIME_THREADS): Undefine macro.
30899 (_XOPEN_SHM): Undefine macro.
30900 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30901 macro to -1.
30902 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30903 macro to -1.
30904 (_POSIX_ASYNC_IO): Undefine macro.
30905 (_POSIX_PRIORITIZED_IO): Undefine macro.
30906 (_POSIX_SPIN_LOCKS): Define macro to -1.
30907
ee16e894
ST
30908 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30909 SA_NODEFER, SA_RESETHAND.
30910 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30911 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30912 F_DUPFD_CLOEXEC.
30913
6103ae3b
TS
309142012-05-10 Thomas Schwinge <thomas@schwinge.name>
30915
30916 * elf/Makefile (pldd-modules): Define unconditionally.
30917
80b4e5f3
TS
309182012-05-10 Thomas Schwinge <thomas@schwinge.name>
30919
30920 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30921
edadcbd6
ST
309222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30923
30924 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30925 Return ENOENT when name is empty.
30926 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30927
80694780
TS
309282012-05-10 Thomas Schwinge <thomas@schwinge.name>
30929
1792c087
TS
30930 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30931
80694780
TS
30932 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30933
6b645f0d
ST
309342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30935
80694780
TS
30936 Fix mlock in all cases except non-readable pages.
30937 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30938 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30939
6b645f0d
ST
30940 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30941 (__mkdir): When path is `/', just fail with EEXIST.
30942 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30943
e468f8a3
TS
309442012-05-10 Thomas Schwinge <thomas@schwinge.name>
30945
30946 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30947 <sys/uio.h> (for writev).
30948 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30949 and <sys/param.h> (for MIN).
30950
a4186cff
PT
309512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30952
30953 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30954 REQUESTED_TIME. Properly set the remaining time and return EINTR
30955 if interrupted.
30956
510bbf14
TS
309572012-05-10 Thomas Schwinge <thomas@schwinge.name>
30958
30959 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30960 Depend on against $(link-rpcuserlibs).
30961
5d5722e8
ST
309622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30963
a4186cff
PT
30964 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30965 (__libc_stack_end): Do not use attribute_relro.
30966 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30967 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30968 to libthread-provided value.
a4186cff
PT
30969 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30970 attribute_relro.
5d5722e8 30971
37233df9
TS
309722012-05-10 Thomas Schwinge <thomas@schwinge.name>
30973
be971a2b
TS
30974 [BZ #3748]
30975 * bits/libc-lock.h (__libc_once_get): New macro.
30976 * sysdeps/mach/bits/libc-lock.h: Likewise.
30977 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30979 instead of using implementation details.
30980
37233df9
TS
30981 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30982 * libio/freopen.c: Likewise.
30983 * libio/freopen64.c: Likewise.
30984 * misc/syslog.c: Likewise.
30985 * nscd/connections.c: Likewise.
30986 * nscd/netgroupcache.c: Likewise.
30987 * sysdeps/posix/getcwd.c: Likewise.
30988
38de94a5
RM
309892012-05-10 Roland McGrath <roland@hack.frob.com>
30990
30991 * math/w_ilogbf.c: Add #include <limits.h>.
30992
67530489
ST
309932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30994
a4186cff 30995 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30996 path instead of returning without unlocking.
30997
67530489
ST
30998 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30999 immediate-write ioctls.
31000 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31001
5aa3a74a
TS
310022012-05-10 Thomas Schwinge <thomas@schwinge.name>
31003
18bad2ae
TS
31004 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31005 __builtin_frame_address instead of making assumptions about the
31006 location of the return address relative to DATA. Force early load of
31007 the return address.
31008 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31009 __builtin_frame_address.
31010
5aa3a74a
TS
31011 dup3 for GNU Hurd.
31012 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31013 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31014 implement dup3 and do some further code clean-ups.
31015 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31016 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31017
ecd0de9a
ST
310182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31019
cd9fa985
ST
31020 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31021
a4186cff
PT
31022 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31023 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31024 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31025 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31026 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31027 d->port.lock.
802ca5a5 31028
a4186cff
PT
31029 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31030 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31031 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31032
bcf55240
TS
310332012-05-10 Thomas Schwinge <thomas@schwinge.name>
31034
6960eb42
TS
31035 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31036 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31037 definitions.
31038
eb43375f
TS
31039 accept4 for GNU Hurd.
31040 * include/sys/socket.h (__libc_accept4): New prototype.
31041 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31042 to implement __libc_accept4.
31043 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31044 __libc_accept4.
31045 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31046
bcf55240
TS
31047 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31048 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31049 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31050 signal-defines.sym.
31051
6178c55b
ST
310522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31053
a4186cff 31054 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31055
6f080c2f
TS
310562012-05-10 Thomas Schwinge <thomas@schwinge.name>
31057
31058 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31059 assertion on O_CLOEXEC flag.
31060 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31061 * hurd/intern-fd.c: Likewise.
31062 * hurd/port2fd.c: Likewise.
31063
bcfe3a54
ST
310642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31065
31066 [BZ #3906]
31067 * bits/in.h (IPV6_PKTINFO): Define new macro.
31068 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31069
89c9aa49
AZ
310702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31071
31072 [BZ #13954]
31073 [BZ #13955]
31074 [BZ #13956]
31075 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31077 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31078 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31080 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31081 * math/libm-test.inc (logb_test) : Additional logb tests.
31082
021db4be
AJ
310832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31084 Andreas Jaeger <aj@suse.de>
31085
31086 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31087 * configure: Regenerated.
31088 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31089 * config.make.in (link-obsolete-rpc): New substituted variable.
31090 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31091 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31092 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31093 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31094 so that libc.a contains the symbols.
31095 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31096 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31097 * sunrpc/auth_none.c: Likewise.
31098 * sunrpc/auth_unix.c: Likewise.
31099 * sunrpc/authdes_prot.c: Likewise.
31100 * sunrpc/authuxprot.c: Likewise.
31101 * sunrpc/clnt_gen.c: Likewise.
31102 * sunrpc/clnt_perr.c: Likewise.
31103 * sunrpc/clnt_raw.c: Likewise.
31104 * sunrpc/clnt_simp.c: Likewise.
31105 * sunrpc/clnt_tcp.c: Likewise.
31106 * sunrpc/clnt_udp.c: Likewise.
31107 * sunrpc/clnt_unix.c: Likewise.
31108 * sunrpc/des_crypt.c: Likewise.
31109 * sunrpc/des_soft.c: Likewise.
31110 * sunrpc/get_myaddr.c: Likewise.
31111 * sunrpc/key_call.c: Likewise.
31112 * sunrpc/key_prot.c: Likewise.
31113 * sunrpc/netname.c: Likewise.
31114 * sunrpc/pm_getmaps.c: Likewise.
31115 * sunrpc/pm_getport.c: Likewise.
31116 * sunrpc/pmap_clnt.c: Likewise.
31117 * sunrpc/pmap_prot.c: Likewise.
31118 * sunrpc/pmap_prot2.c: Likewise.
31119 * sunrpc/pmap_rmt.c: Likewise.
31120 * sunrpc/publickey.c: Likewise.
31121 * sunrpc/rpc_cmsg.c: Likewise.
31122 * sunrpc/rpc_common.c: Likewise.
31123 * sunrpc/rpc_dtable.c: Likewise.
31124 * sunrpc/rpc_prot.c: Likewise.
31125 * sunrpc/rpc_thread.c: Likewise.
31126 * sunrpc/rtime.c: Likewise.
31127 * sunrpc/svc.c: Likewise.
31128 * sunrpc/svc_auth.c: Likewise.
31129 * sunrpc/svc_raw.c: Likewise.
31130 * sunrpc/svc_run.c: Likewise.
31131 * sunrpc/svc_tcp.c: Likewise.
31132 * sunrpc/svc_udp.c: Likewise.
31133 * sunrpc/svc_unix.c: Likewise.
31134 * sunrpc/svcauth_des.c: Likewise.
31135 * sunrpc/xcrypt.c: Likewise.
31136 * sunrpc/xdr.c: Likewise.
31137 * sunrpc/xdr_array.c: Likewise.
31138 * sunrpc/xdr_float.c: Likewise.
31139 * sunrpc/xdr_intXX_t.c: Likewise.
31140 * sunrpc/xdr_mem.c: Likewise.
31141 * sunrpc/xdr_rec.c: Likewise.
31142 * sunrpc/xdr_ref.c: Likewise.
31143 * sunrpc/xdr_sizeof.c: Likewise.
31144 * sunrpc/xdr_stdio.c: Likewise.
31145
b5c086a2
RM
311462012-05-10 Roland McGrath <roland@hack.frob.com>
31147
31148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31149 change. Update copyright years.
31150
6d74dd09
JM
311512012-05-10 Joseph Myers <joseph@codesourcery.com>
31152
31153 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31154
28e72501
MK
311552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31156 Joseph Myers <joseph@codesourcery.com>
31157 Paul Pluzhnikov <ppluzhnikov@google.com>
31158
31159 [BZ #14012]
31160 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31161 requiring rpcgen.
31162 [cross-compiling] (extra-libs): Likewise.
31163 [cross-compiling] (extra-libs-others): Likewise.
31164 [cross-compiling] (librpcsvc-routines): Likewise.
31165 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31166 [cross-compiling] (omit-deps): Likewise.
31167 (sunrpc-CPPFLAGS): New variable.
31168 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31169 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31170 (cross-rpcgen-objs): New variable.
31171 (extra-objs): Append $(cross-rpcgen-objs).
31172 ($(cross-rpcgen-objs)): New rule.
31173 ($(objpfx)cross-rpcgen): Likewise.
31174 (rpcgen-cmd): Define to use $(built-program-file). Expand
31175 comment.
31176 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31177 ($(objpfx)x%.stmp): Likewise.
31178 * sunrpc/proto.h [IS_IN_build] (_): Define.
31179 [IS_IN_build] (_libc_intl_domainname): Likewise.
31180
c8c59454
L
311812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31182
31183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31184 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31185 and R_X86_64_TPOFF64.
31186
6f27cd16
JM
311872012-05-10 Joseph Myers <joseph@codesourcery.com>
31188
31189 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31190 sysdeps/unix/sysv/syscalls.list.
31191 (stime): Likewise.
31192 (utime): Likewise.
31193 * sysdeps/unix/sysv/syscalls.list: Remove file.
31194
02467e1c
PE
311952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31196
31197 [BZ #3440]
31198 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31199 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31200 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31201 (__LC_IDENTIFICATION): Make these macros useful in #if
31202 expressions, as required by C99.
31203
da392631
AS
312042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31205
31206 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31207 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31208 after this.
31209
8115f29b
L
312102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31211
31212 * stdlib/longlong.h: Updated from GCC.
31213
bdd74070
AJ
312142012-05-09 Andreas Jaeger <aj@suse.de>
31215
edfe0dbe
AJ
31216 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31217 default is first entry.
31218 (run_mode): Set type.
31219 (main): Remove informal message about syslog.
31220 (options): Fix typo.
31221
bcfe3a54
ST
31222 [BZ #14053]
31223 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31224 to asm.
bcfe3a54
ST
31225 (lrint): Likewise.
31226 (llrintf): Likewise.
31227 (llrint): Likewise.
31228 (rint): Likewise.
31229 (rintf): Likewise.
31230 (nearbyint): Likewise.
31231 (nearbyintf): Likewise.
bdd74070 31232
91d8d69e
AJ
312332012-05-09 Andreas Jaeger <aj@suse.de>
31234 Pedro Alves <palves@redhat.com>
31235
31236 * nscd/nscd.c (run_mode): Use enum.
31237 (main): Cleanup coding style issue.
31238
bb90b80b
AJ
312392012-05-09 Alexandre Oliva <aoliva@redhat.com>
31240 Andreas Jaeger <aj@suse.de>
31241
bcfe3a54
ST
31242 * nscd/nscd.c (go_background): Replaced with...
31243 (run_mode): ... this.
bb90b80b 31244 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31245 (options): Add -F --foreground.
31246 (main): Implement it.
31247 (parse_opt): Parse it.
bb90b80b 31248
1a4b75a1
AJ
312492012-05-09 Andreas Jaeger <aj@suse.de>
31250
31251 [BZ #14083]
31252 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31253 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31254 -Wconversion warning.
31255 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31256 Likewise.
31257
b1cc2472
JM
312582012-05-09 Joseph Myers <joseph@codesourcery.com>
31259
31260 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31261 == 0.
31262 (LC_ALL): Use macro-int-constant.
31263 (LC_COLLATE): Likewise.
31264 (LC_CTYPE): Likewise.
31265 (LC_MESSAGES): Likewise.
31266 (LC_MONETARY): Likewise.
31267 (LC_NUMERIC): Likewise.
31268 (LC_TIME): Likewise.
31269 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31270 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31272 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31273 Specify type.
31274 [C99-based standards] (float_t): Expect type.
31275 [C99-based standards] (double_t): Expect type.
31276 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31277 type.
31278 [C99-based standards] (HUGE_VALL): Likewise.
31279 [C99-based standards] (INFINITY): Likewise.
31280 [C99-based standards] (NAN): Likewise.
31281 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31282 [C99-based standards] (FP_NAN): Likewise.
31283 [C99-based standards] (FP_NORMAL): Likewise.
31284 [C99-based standards] (FP_SUBNORMAL): Likewise.
31285 [C99-based standards] (FP_ZERO): Likewise.
31286 [C99-based standards] (FP_FAST_FMA): Use
31287 optional-macro-int-constant. Specify type. Require == 1.
31288 [C99-based standards] (FP_FAST_FMAF): Likewise.
31289 [C99-based standards] (FP_FAST_FMAL): Likewise.
31290 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31291 [C99-based standards] (FP_ILOGBNAN): Likewise.
31292 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31293 Specify type.
31294 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31295 [C99-based standards] (math_errhandling): Specify type.
31296 [ISO99 || ISO11] (signgam): Do not allow.
31297 [non-C99-based standards] (copysignf): Do not allow.
31298 [non-C99-based standards] (exp2f): Likewise.
31299 [non-C99-based standards] (log2f): Likewise.
31300 [non-C99-based standards] (modff): Allow.
31301 [non-C99-based standards] (erff): Do not allow.
31302 [non-C99-based standards] (erfcf): Likewise.
31303 [non-C99-based standards] (gammaf): Likewise.
31304 [non-C99-based standards] (hypotf): Likewise.
31305 [non-C99-based standards] (j0f): Likewise.
31306 [non-C99-based standards] (j1f): Likewise.
31307 [non-C99-based standards] (jnf): Likewise.
31308 [non-C99-based standards] (lgammaf): Likewise.
31309 [non-C99-based standards] (tgammaf): Likewise.
31310 [non-C99-based standards] (y0f): Likewise.
31311 [non-C99-based standards] (y1f): Likewise.
31312 [non-C99-based standards] (ynf): Likewise.
31313 [non-C99-based standards] (isnanf): Likewise.
31314 [non-C99-based standards] (acoshf): Likewise.
31315 [non-C99-based standards] (asinhf): Likewise.
31316 [non-C99-based standards] (atanhf): Likewise.
31317 [non-C99-based standards] (cbrtf): Likewise.
31318 [non-C99-based standards] (expm1f): Likewise.
31319 [non-C99-based standards] (ilogbf): Likewise.
31320 [non-C99-based standards] (log1pf): Likewise.
31321 [non-C99-based standards] (logbf): Likewise.
31322 [non-C99-based standards] (nextafterf): Likewise.
31323 [non-C99-based standards] (remainderf): Likewise.
31324 [non-C99-based standards] (rintf): Likewise.
31325 [non-C99-based standards] (scalbf): Likewise.
31326 [non-C99-based standards] (copysignl): Likewise.
31327 [non-C99-based standards] (exp2l): Likewise.
31328 [non-C99-based standards] (log2l): Likewise.
31329 [non-C99-based standards] (modfl): Allow.
31330 [non-C99-based standards] (erfl): Do not allow.
31331 [non-C99-based standards] (erfcl): Likewise.
31332 [non-C99-based standards] (gammal): Likewise.
31333 [non-C99-based standards] (hypotl): Likewise.
31334 [non-C99-based standards] (j0l): Likewise.
31335 [non-C99-based standards] (j1l): Likewise.
31336 [non-C99-based standards] (jnl): Likewise.
31337 [non-C99-based standards] (lgammal): Likewise.
31338 [non-C99-based standards] (tgammal): Likewise.
31339 [non-C99-based standards] (y0l): Likewise.
31340 [non-C99-based standards] (y1l): Likewise.
31341 [non-C99-based standards] (ynl): Likewise.
31342 [non-C99-based standards] (isnanl): Likewise.
31343 [non-C99-based standards] (acoshl): Likewise.
31344 [non-C99-based standards] (asinhl): Likewise.
31345 [non-C99-based standards] (atanhl): Likewise.
31346 [non-C99-based standards] (cbrtl): Likewise.
31347 [non-C99-based standards] (expm1l): Likewise.
31348 [non-C99-based standards] (ilogbl): Likewise.
31349 [non-C99-based standards] (log1pl): Likewise.
31350 [non-C99-based standards] (logbl): Likewise.
31351 [non-C99-based standards] (nextafterl): Likewise.
31352 [non-C99-based standards] (remainderl): Likewise.
31353 [non-C99-based standards] (rintl): Likewise.
31354 [non-C99-based standards] (scalbl): Likewise.
31355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31356 [non-C99-based standards] (FP_*): Do not allow.
31357 [C99-based standards] (FP_*): Change to
31358 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31359 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31360 allow.
31361 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31362 (SIG_ERR): Likewise.
31363 [X/Open-based standards] (SIG_HOLD): Likewise.
31364 (SIG_IGN): Likewise.
31365 (SIGABRT): Use macro-int-constant. Specify type. Require
31366 positive value.
31367 (SIGFPE): Likewise.
31368 (SIGILL): Likewise.
31369 (SIGINT): Likewise.
31370 (SIGSEGV): Likewise.
31371 (SIGTER): Likewise.
31372 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31373 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31374 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31375 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31376 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31377 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31378 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31379 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31380 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31381 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31382 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31383 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31384 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31385 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31386 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31387 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31388 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31389 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31390 [X/Open-based standards] (SIGTRAP): Likewise.
31391 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31392 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31393 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31394 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31395 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31396 allow.
31397
b9f1922d
IW
313982012-05-08 Ian Wienand <ianw@vmware.com>
31399
31400 [BZ #14080]
31401 * time/tzset.c (__tzset_parse_tz): Update default rules for
31402 daylight time changes in the Energy Policy Act of 2005.
31403
1db86e88
AJ
314042012-05-09 Andreas Jaeger <aj@suse.de>
31405
31406 [BZ #13983]
31407 * elf/ldconfig.c (parse_conf): Change string to make clear that
31408 ldconfig only issued a warning if ld.so.conf does not exist.
31409
dee4a4e3
DM
314102012-05-08 David S. Miller <davem@davemloft.net>
31411
ee0db190
DM
31412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31413 movxtod instead of popping the value on the stack.
31414
dee4a4e3
DM
31415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31416
6a43ec98
CD
314172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31418
31419 * config.h.in: Add HAVE_ARM_PCS_VFP.
31420
05c2c961
RMG
314212012-05-08 Roland Mc Grath <roland@hack.frob.com>
31422
bcfe3a54
ST
31423 [BZ #13979]
31424 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31425 checking but the checks are disabled for any reason.
05c2c961 31426
4b30f61a
L
314272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31428
31429 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31430 and ELF64_R_TYPE with ELFW(R_TYPE).
31431
eee2bc67
JM
314322012-05-08 Joseph Myers <joseph@codesourcery.com>
31433
7ea5391a
JM
31434 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31435 (ulimit): Likewise.
31436
eee2bc67
JM
31437 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31438 (settimeofday): Likewise.
31439
abb66a67
MF
314402012-05-08 Mike Frysinger <vapier@gentoo.org>
31441
31442 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31443 a struct th_u2 inside the union, and move tu_block/tu_code into
31444 a new th_u3 union of tu_block/tu_code inside of that. Move
31445 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31446 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31447 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31448 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31449 (th_stuff): Change to th_u1.tu_stuff.
31450 (th_data): Define.
31451 (th_msg): Change to th_u1.th_u2.tu_data.
31452
7f18b530
DM
314532012-05-07 David S. Miller <davem@davemloft.net>
31454
05760585
DM
31455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31456
7f18b530
DM
31457 [BZ #14074]
31458 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31459 (SETUP_PIC_REG): Use it.
31460 (SETUP_PIC_REG_LEAF): Use it.
31461
495fd99f
JM
314622012-05-07 Joseph Myers <joseph@codesourcery.com>
31463
31464 [BZ #13885]
31465 [BZ #13923]
31466 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31467 USE_AS_EXPM1L.
31468 (EXPL_FINITE): Likewise.
31469 (FLDLOG): Likewise.
31470 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31471 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31472 e_expl.S.
31473 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31474 USE_AS_EXPM1L.
31475 (EXPL_FINITE): Likewise.
31476 (FLDLOG): Likewise.
31477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31478 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31479 e_expl.S.
31480 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31481 test of -max_value argument for long double.
31482 * sysdeps/i386/fpu/libm-test-ulps: Update.
31483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31484
6693d694
DM
314852012-05-06 David S. Miller <davem@davemloft.net>
31486
31487 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31488 quad soft-float symbols whose references which are compiler
31489 generated.
31490 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31491
6c23e11c
JM
314922012-05-06 Joseph Myers <joseph@codesourcery.com>
31493
d8b82cad
JM
31494 [BZ #13884]
31495 [BZ #13914]
31496 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31497 USE_AS_EXP10L.
31498 (EXPL_FINITE): Likewise.
31499 (FLDLOG): Likewise.
31500 (c0): Likewise.
31501 (c1): Likewise.
31502 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31503 Adjust comments for base varying.
31504 (__expl_finite): Change alias to EXPL_FINITE.
31505 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31506 e_expl.S.
31507 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31508 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31509 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31510 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31511 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31512 USE_AS_EXP10L.
31513 (EXPL_FINITE): Likewise.
31514 (FLDLOG): Likewise.
31515 (c0): Likewise.
31516 (c1): Likewise.
31517 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31518 Adjust comments for base varying.
31519 (__expl_finite): Change alias to EXPL_FINITE.
31520 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31521 tests for bugs.
31522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31523
6c23e11c
JM
31524 [BZ #14064]
31525 * math/libm-test.inc (check_float_internal): Correct ulp
31526 calculation for subnormal expected results.
31527
29ba805c
AJ
315282012-05-06 Andreas Jaeger <aj@suse.de>
31529
31530 * Makeconfig (+math-flags): New, set to -frounding-math.
31531 (+cflags): Add +math-flags so that all of glibc gets compiled with
31532 it.
31533
31534 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31535
7b17aeda
JM
315362012-05-05 Joseph Myers <joseph@codesourcery.com>
31537
5779f134
JM
31538 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31539 Disable one test.
31540
41498f4d
JM
31541 [BZ #13787]
31542 [BZ #13922]
31543 [BZ #14036]
31544 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31545 (__ieee754_expl): Allow for and saturate large arguments.
31546 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31547 (u_threshold): Likewise.
31548 (__exp): Call __ieee754_exp before checking for overflow and
31549 underflow.
31550 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31551 (u_threshold): Likewise.
31552 (__expf): Call __ieee754_expf before checking for overflow and
31553 underflow.
31554 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31555 (u_threshold): Likewise.
31556 (__expl): Call __ieee754_expl before checking for overflow and
31557 underflow.
31558 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31559 (__ieee754_expl): Allow for and saturate large arguments.
31560 * math/libm-test.inc (exp_test): Add another test. Do not allow
31561 missing overflow exception on overflow.
31562 (expm1_test): Do not allow missing overflow exception on overflow.
31563
6698b8bf
JM
31564 * sysdeps/i386/fpu/e_expl.c: Move to ...
31565 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31566 rather than using inline asm.
31567 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31568 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31569 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31570
7b17aeda
JM
31571 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31572 (nice): Likewise.
31573 (poll): Likewise.
31574 (signal): Likewise.
31575 (time): Likewise.
31576 (times): Likewise.
31577
f7c85819
JM
315782012-05-04 Joseph Myers <joseph@codesourcery.com>
31579
31580 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31581 sysdeps/unix/common/syscalls.list.
31582 (fchmod): Likewise.
31583 (fchown): Likewise.
31584 (ftruncate): Likewise.
31585 (getrusage): Likewise.
31586 (gettimeofday): Likewise.
31587 (setpgid): Likewise.
31588 (setregid): Likewise.
31589 (setreuid): Likewise.
31590 (sigaction): Likewise.
31591 (truncate): Likewise.
31592 (vhangup): Likewise.
31593 * sysdeps/unix/common/syscalls.list: Remove file.
31594 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31595 * sysdeps/unix/sysv/linux/Implies: Likewise.
31596
336270d0
L
315972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31598
31599 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31601 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31602 Moved to ...
31603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31604 Here.
31605 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31606 to ...
31607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31608 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31609 to ...
31610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31611 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31612 to ...
31613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31614 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31615 to ...
31616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31617 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31618 to ...
31619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31620 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31621 to ...
31622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31623 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31624 to ...
31625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31626 Here.
31627 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31628 to ...
31629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31630 Here.
31631 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31632 to ...
31633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31634 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31635 Moved to ...
31636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31637 Here.
31638 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31639 to ...
31640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31641
d128e450
JM
316422012-05-04 Joseph Myers <joseph@codesourcery.com>
31643
fa8ee516
JM
31644 * sysdeps/unix/common/bits/dirent.h: Remove file.
31645 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31646
d128e450
JM
31647 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31648 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31649 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31650 * sysdeps/unix/bsd/isatty.c: Likewise.
31651 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31652 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31653 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31654
ff8faaf0 316552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31656
62881be4 31657 [BZ #13563]
31dc8730
AZ
31658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31659 long double comparison inaccuracies.
31660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31662
6fef930c
AS
316632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31664
31665 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31667
8f203e6c
JM
316682012-05-04 Joseph Myers <joseph@codesourcery.com>
31669
31670 [BZ #14049]
31671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31672 nonzero digits before rounding a hex value.
31673 * stdlib/tst-strtod.c (tests): Add another test.
31674
5197d9c2
AK
316752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31676
31677 * sysdeps/s390/fpu/libm-test-ulps: Update.
31678
f0c1dedf
AJ
316792012-05-03 Andreas Jaeger <aj@suse.de>
31680
31681 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31682 does not get optimized out.
31683 (malloc_opt_barrier): New.
31684
a65ef2ae 316852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31686 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31687
2b942cb7 31688 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31689 intermediate file deletion.
2b942cb7 31690 (generated): Add .symlist files.
a65ef2ae 31691
54b71e02
JM
316922012-05-03 Joseph Myers <joseph@codesourcery.com>
31693
31694 [BZ #13775]
31695 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31696 Redirect under this condition.
31697 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31698 [__USE_GNU] (__dprintf_chk): Not under this condition.
31699 [__USE_GNU] (__vdprintf_chk): Likewise.
31700 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31701 under this condition.
31702 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31703 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31704 [__USE_XOPEN2K8] (vdprintf): Likewise.
31705 [__USE_GNU] (__dprintf_chk): Not under this condition.
31706 [__USE_GNU] (__vdprintf_chk): Likewise.
31707 [__USE_GNU] (dprintf): Likewise.
31708 [__USE_GNU] (vdprintf): Likewise.
31709
d3dfcc41
RM
317102012-05-03 Roland McGrath <roland@hack.frob.com>
31711
31712 * elf/Makefile (common-generated): Set this instead of generated for
31713 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31714 $(all-built-dso)-derived lists.
31715
7ac30cc5
AJ
317162012-05-03 Andreas Jaeger <aj@suse.de>
31717
0c51e550
AJ
31718 * sysdeps/i386/fpu/libm-test-ulps: Update.
31719
7ac30cc5
AJ
31720 * FAQ: Removed.
31721 * FAQ.in: Likewise.
31722 * scripts/gen-FAQ.pl: Likewise.
31723 * manual/install.texi (Installation): Point to online location of
31724 FAQ.
31725 * Makefile (files-for-dist): Remove FAQ.
31726 (FAQ): Remove.
31727
d4c2917f
AM
317282012-05-02 Allan McRae <allan@archlinux.org>
31729
31730 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31731 (LDFLAGS-reldepmod5.so): Likewise.
31732 (LDFLAGS-reldep6mod1.so): Likewise.
31733 (LDFLAGS-reldep6mod4.so): Likewise.
31734 (LDFLAGS-reldep8mod3.so): Likewise.
31735 (LDFLAGS-unload4mod1.so): Likewise.
31736 (LDFLAGS-unload4mod2.so): Likewise.
31737 (LDFLAGS-tst-initorder): Likewise.
31738 (LDFLAGS-tst-initordera2.so): Likewise.
31739 (LDFLAGS-tst-initordera3.so): Likewise.
31740 (LDFLAGS-tst-initordera4.so): Likewise.
31741 (LDFLAGS-tst-initorderb2.so): Likewise.
31742 (LDFLAGS-noload): Likewise.
31743 (LDFLAGS-next): Likewise.
31744 (LDFLAGS-order2mod1.so): Likewise.
31745 (LDFLAGS-order2mod2.so): Likewise.
31746 (LDFLAGS-tst-initorder2): Likewise.
31747 (LDFLAGS-tst-initorder2a.so): Likewise.
31748 (LDFLAGS-tst-initorder2b.so): Likewise.
31749 (LDFLAGS-tst-initorder2c.so): Likewise.
31750 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31751
d77f993f
DM
317522012-05-02 David S. Miller <davem@davemloft.net>
31753
31754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31755
171a70b4
PP
317562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31757
31758 [BZ #14055]
31759 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31760
0be196ad
AJ
317612012-05-02 Andreas Jaeger <aj@suse.de>
31762
31763 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31764 since we manipulate rounding mode.
31765 (CPPFLAGS-test-idouble.c): Likewise.
31766 (CPPFLAGS-test-ifloat.c): Likewise.
31767 (CFLAGS-test-ldouble.c): Likewise.
31768 (CFLAGS-test-double.c): Likewise.
31769 (CFLAGS-test-float.c): Likewise.
31770 (CFLAGS-test-misc.c): Likewise.
31771 (CFLAGS-test-test-fenv.c): Likewise.
31772
4f9d04aa
AZ
317732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31774
2b942cb7
RM
31775 [BZ #2550]
31776 [BZ #2570]
31777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31778 comparisons to determine direction to adjust input.
4f9d04aa 31779
82a79e7d
RM
317802012-05-01 Roland McGrath <roland@hack.frob.com>
31781
f5a01ca9
RM
31782 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31783 output to the target.
31784
90fe4186
RM
31785 * scripts/localplt.awk: New file.
31786 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31787 (check-localplt-CFLAGS): Variable removed.
31788 ($(all-built-dso:=.jmprel)): New static pattern rule.
31789 (generated): Add those targets.
31790 (localplt-built-dso): New variable.
31791 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31792
31793 * elf/check-localplt.c: File removed.
31794
82397ed6
RM
31795 * scripts/check-execstack.awk: New file.
31796 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31797 (check-execstack-CFLAGS): Variable removed.
31798 ($(objpfx)check-execstack.h): Target removed.
31799 ($(objpfx)execstack-default): New target.
31800 (generated): Add that instead of check-execstack.h.
31801 ($(all-built-dso:=.phdr)): New static pattern rule.
31802 (generated): Add those targets.
31803 * elf/check-execstack.c: File removed.
31804
82a79e7d
RM
31805 * scripts/check-textrel.awk: New file.
31806 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31807 (check-textrel-CFLAGS): Variable removed.
31808 (all-built-dso): Use := to define.o
31809 ($(all-built-dso:=.dyn)): New static pattern rule.
31810 (generated): Add those targets.
31811 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31812 * config.make.in (READELF): New substituted variable.
31813 * elf/check-textrel.c: File removed.
31814
62fde54f 318152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31816
615605c9
JM
31817 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31818 allow.
31819 * conform/data/ctype.h-data [C99-based standards] (isblank):
31820 Expect function.
31821 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31822 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31824 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31825 Specify type. Require positive value.
31826 (EILSEQ): Likewise.
31827 (ERANGE): Likewise.
31828 [ISO || POSIX] (EILSEQ): Do not expect.
31829 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31830 Specify type. Require positive value.
31831 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31849 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31858 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31859 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31864 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31865 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31866 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31867 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31868 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31872 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31873 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31874 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31875 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31876 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31877 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31878 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31879 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31880 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31881 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31882 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31883 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31884 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31885 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31886 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31887 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31888 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31889 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31890 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31891 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31892 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31893 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31894 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31895 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31896 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31897 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31898 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31899 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31900 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31901 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31902 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31905 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31906 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31907 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31908 Require >= 2.
31909 (FLT_ROUNDS): Expect as macro, not constant.
31910 (FLT_MANT_DIG): Use macro-int-constant.
31911 (DBL_MANT_DIG): Likewise.
31912 (LDBL_MANT_DIG): Likewise.
31913 (FLT_DIG): Likewise.
31914 (DBL_DIG): Likewise.
31915 (LDBL_DIG): Likewise.
31916 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31917 (DBL_MIN_EXP): Likewise.
31918 (LDBL_MIN_EXP): Likewise.
31919 (FLT_MAX_EXP): Use macro-int-constant.
31920 (DBL_MAX_EXP): Likewise.
31921 (LDBL_MAX_EXP): Likewise.
31922 (FLT_MAX_10_EXP): Likewise.
31923 (DBL_MAX_10_EXP): Likewise.
31924 (LDBL_MAX_10_EXP): Likewise.
31925 (FLT_MAX): Use macro-constant.
31926 (DBL_MAX): Likewise.
31927 (LDBL_MAX): Likewise.
31928 (FLT_EPSILON): Use macro-constant. Give upper bound.
31929 (DBL_EPSILON): Likewise.
31930 (LDBL_EPSILON): Likewise.
31931 (FLT_MIN): Likewise.
31932 (DBL_MIN): Likewise.
31933 (LDBL_MIN): Likewise.
31934 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31935 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31936 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31937 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31938 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31939 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31940 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31941 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31942 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31943 [ISO11] (FLT_TRUE_MIN): Likewise.
31944 [ISO11] (LDBL_TRUE_MIN): Likewise.
31945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31946 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31947 (SCHAR_MIN): Use macro-int-constant. Specify type.
31948 (SCHAR_MAX): Likewise.
31949 (UCHAR_MAX): Likewise.
31950 (CHAR_MIN): Likewise.
31951 (CHAR_MAX): Likewise.
31952 (MB_LEN_MAX): Use macro-int-constant.
31953 (SHRT_MIN): Use macro-int-constant. Specify type.
31954 (SHRT_MAX): Likewise.
31955 (USHRT_MAX): Likewise.
31956 (INT_MAX): Likewise.
31957 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31958 bound negative.
31959 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31960 bound with "U".
31961 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31962 bound with "L".
31963 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31964 bound negative. Suffix upper bound with "L".
31965 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31966 bound with "UL".
31967 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31968 Specify type.
31969 [C99-based standards] (LLONG_MAX): Likewise.
31970 [C99-based standards] (ULLONG_MAX): Likewise.
31971 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31972 == 0.
31973 [ISO11] (max_align_t): Require type.
31974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31975
c9140a62
JM
31976 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31977 from $CFLAGS, without defining away __attribute__ calls.
31978 (checknamespace): Use $CFLAGS_namespace.
31979
9af0bf29
JM
31980 * conform/conformtest.pl (@keywords): Only include C99 keywords
31981 for standards based on C99 or C11.
31982
343222a2
JM
31983 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31984 Disable tests.
31985 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31986 UNIX98]: Likewise.
31987
661f8cf0
JM
31988 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31989 usability of symbols in #if.
31990
ee74b9cb
JM
31991 * conform/conformtest.pl: If macro or constant types start
31992 "promoted:", expect the symbol to be of the following type
31993 promoted by the integer promotions.
62fde54f 31994
aafc49b3
JM
31995 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31996 in one place. Also handle "macro-constant".
31997
fefdf574
JM
31998 * conform/conformtest.pl: Only accept expected macro values with
31999 "==". Parse all "macro" lines in one place.
32000 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32001
f2d922fe
JM
32002 * conform/conformtest.pl: Handle braced types on "constant" lines
32003 instead of handling "typed-constant".
32004 * conform/data/signal.h-data: Use "constant" instead of
32005 "typed-constant".
32006
d22956c9
JM
32007 * conform/conformtest.pl: Handle "optional-" at start of lines in
32008 one place rather than duplicating several cases. Handle each
32009 format of "macro" line with initial "optional-".
32010
028e2e38
JM
32011 * conform/conformtest.pl: Only accept expected constant or
32012 optional-constant values with "==". Parse all "constant" lines in
32013 one place. Parse all "optional-constant" lines in one place.
32014 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32015 * conform/data/fmtmsg.h-data: Likewise.
32016 * conform/data/netinet/in.h-data: Likewise.
32017 * conform/data/tar.h-data: Likewise.
32018 * conform/data/limits.h-data: Use "==" form on "constant" and
32019 "optional-constant" lines.
32020
1b8f2850
JM
32021 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32022 Use -std=c99 for XOPEN2K.
32023 (@knownproblems): Remove.
32024 (newtoken): Don't check %isknown.
32025
a05a144b
JM
32026 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32027 Do not expect macro.
32028 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32040 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32041 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32058 [XPG3] (acosh): Likewise.
32059 [XPG3] (asinh): Likewise.
32060 [XPG3] (atanh): Likewise.
32061 [XPG3] (cbrt): Likewise.
32062 [XPG3] (expm1): Likewise.
32063 [XPG3] (ilogb): Likewise.
32064 [XPG3] (log1p): Likewise.
32065 [XPG3] (logb): Likewise.
32066 [XPG3] (nextafter): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32069 [XPG3] (remainder): Likewise.
32070 [XPG3] (rint): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32078 [UNIX98 || XOPEN2K] (scalb): Expect.
32079 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32080 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32167 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32168 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32169 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32170 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32171 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32172 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32173 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32174 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32175 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32176 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32177 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32178 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32179 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32180 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32181 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32182 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32183 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32184 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32185 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32186 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32187 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32188 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32189 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32190 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32191 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32192 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32193 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32194 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32195 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32196 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32197 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32198 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32199 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32200 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32201 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32202 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32203 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32204 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32205 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32206 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32207 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32208 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32209 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32210 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32211 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32212 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32213 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32214 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32215 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32216
73c5ebe3
JM
32217 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32218 _XOPEN_SOURCE_EXTENDED for XPG4.
32219
39c33b6c
JM
32220 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32221
62fde54f
JM
32222 * Makeconfig (localtime): Remove variable.
32223 (inst_localtime-file): Likewise.
32224
0741d64c
AS
322252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32226
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32228 Update.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32230 Update.
32231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32232 Update.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32234 Update.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32236 Update.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32238 Update.
32239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32240 Update.
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32242 Update.
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32244 Update.
32245
7cb029ee
JM
322462012-05-01 Joseph Myers <joseph@codesourcery.com>
32247
32248 [BZ #2550]
32249 [BZ #2570]
32250 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32251 comparisons to determine direction to adjust input.
32252 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32253 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32254 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32255 Likewise.
32256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32257 Likewise.
32258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32259 Likewise.
32260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32261 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32262 Likewise.
32263 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32264 Likewise.
32265 * math/libm-test.inc (nexttoward_test): Add more tests.
32266
412bd966
AS
322672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32268
32269 [BZ #14040]
32270 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32271 in version GLIBC_2.1, not GLIBC_2.0.
32272 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32273 Likewise.
32274
9568c0c2
JM
322752012-04-30 Joseph Myers <joseph@codesourcery.com>
32276
adfbc8ac
JM
32277 [BZ #13942]
32278 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32279 (1 - x) * (1 + x).
32280 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32281 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32282 * math/libm-test.inc (acos_test): Add more tests.
32283 (asin_test): Likewise.
32284 * sysdeps/i386/fpu/libm-test-ulps: Update.
32285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32286
5ba3cc69
JM
32287 [BZ #14034]
32288 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32289 of square root.
32290 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32291 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32292 * math/libm-test.inc (acos_test_tonearest): New function.
32293 (acos_test_towardzero): Likewise.
32294 (acos_test_downward): Likewise.
32295 (acos_test_upward): Likewise.
32296 (asin_test_tonearest): Likewise.
32297 (asin_test_towardzero): Likewise.
32298 (asin_test_downward): Likewise.
32299 (asin_test_upward): Likewise.
32300 (main): Call the new functions.
32301 * sysdeps/i386/fpu/libm-test-ulps: Update.
32302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32303
9568c0c2
JM
32304 [BZ #13884]
32305 [BZ #13924]
32306 * math/e_exp10.c: Include <float.h>.
32307 (__ieee754_exp10): Handle underflow here rather than multiplying
32308 large negative argument by M_LN10.
32309 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32310 of __ieee754_expf.
32311 * math/e_exp10l.c: Include <float.h>.
32312 (__ieee754_exp10l): Handle underflow here rather than multiplying
32313 large negative argument by M_LN10l.
32314 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32315 spurious overflow exception on underflow.
32316
5ac3ea17
MP
323172012-04-29 Marek Polacek <polacek@redhat.com>
32318
32319 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32320 (__fortify_function): New macro.
32321 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32322 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32323 __extern_always_inline.
32324 * libio/bits/stdio2.h: Likewise.
32325 * libio/bits/stdio.h: Likewise.
32326 * string/string.h: Likewise.
32327 * string/bits/string3.h: Likewise.
32328 * include/stdio.h: Likewise.
32329 * stdlib/bits/stdlib.h: Likewise.
32330 * stdlib/stdlib.h: Likewise.
32331 * rt/bits/mqueue2.h: Likewise.
32332 * rt/mqueue.h: Likewise.
32333 * posix/bits/unistd.h: Likewise.
32334 * posix/unistd.h: Likewise.
32335 * io/bits/poll2.h: Likewise.
32336 * io/bits/fcntl2.h: Likewise.
32337 * io/fcntl.h: Likewise.
32338 * io/sys/poll.h: Likewise.
32339 * misc/bits/syslog.h: Likewise.
32340 * misc/bits/syslog-ldbl.h: Likewise.
32341 * misc/sys/syslog.h: Likewise.
32342 * socket/bits/socket2.h: Likewise.
32343 * socket/sys/socket.h: Likewise.
32344 * debug/tst-chk1.c: Likewise.
32345 * wcsmbs/bits/wchar2.h: Likewise.
32346 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32347 * wcsmbs/wchar.h: Likewise.
32348
ecf0ebfb
AJ
323492012-04-29 Andreas Jaeger <aj@suse.de>
32350
32351 * Makerules (tests): Remove enable-check-abi protection.
32352 (check-abi-warn): Remove.
32353 (check-abi-%): Remove check-abi-warn usage.
32354
32355 * configure.in: Remove check-abi configure option.
32356 * configure: Regenerated.
32357 * config.make.in (enable-check-abi): Remove.
32358
6d5c57fa
AS
323592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32360
24c5d07e 32361 [BZ #14033]
ded5180a
AS
32362 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32363 double functions to double *_finite functions.
32364
7e0d315d
AS
32365 [BZ #13941]
32366 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32367 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32368 LDBL_MIN_EXP.
32369 * stdio-common/Makefile (tests): Add tst-sprintf3.
32370 * stdio-common/tst-sprintf3.c: New file.
32371
6d5c57fa
AS
32372 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32373 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32374
0749ff8b
JM
323752012-04-28 Joseph Myers <joseph@codesourcery.com>
32376
32377 * conform/conformtest.pl: Remove duplicate typed-constant
32378 handling.
32379
8dbd5d7b
DM
323802012-04-28 David S. Miller <davem@davemloft.net>
32381
32382 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32383 (check-abi-%): Remove AWK script prerequisite and explicit
32384 abilist directory.
32385 (check-abi): Rewrite to just diff the symlist with the abilist.
32386 (config-tls, config-abi-config): Delete, no longer used.
32387 (update-abi-%): Remove AWK script and explicit abilist directory.
32388 (update-abi): Rewrite to simply compare and conditionally copy the
32389 symlist and the sysdep abilist file. Remove update-abi-config
32390 checks.
32391 * abilist/ld.abilist: Remove.
32392 * abilist/libBrokenLocale.abilist: Remove.
32393 * abilist/libanl.abilist: Remove.
32394 * abilist/libcrypt.abilist: Remove.
32395 * abilist/libdl.abilist: Remove.
32396 * abilist/librt.abilist: Remove.
32397 * abilist/libthread_db.abilist: Remove.
32398 * abilist/libutil.abilist: Remove.
32399 * scripts/extract-abilist.awk: Remove.
32400 * scripts/merge-abilist.awk: Remove.
32401 * sysdeps/generic/libcidn.abilist: New file.
32402 * sysdeps/generic/libnss_compat.abilist: New file.
32403 * sysdeps/generic/libnss_db.abilist: New file.
32404 * sysdeps/generic/libnss_dns.abilist: New file.
32405 * sysdeps/generic/libnss_files.abilist: New file.
32406 * sysdeps/generic/libnss_hesiod.abilist: New file.
32407 * sysdeps/generic/libnss_nis.abilist: New file.
32408 * sysdeps/generic/libnss_nisplus.abilist: New file.
32409 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32410 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32411 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32412 file.
32413 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32414 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32415 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32416 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32417 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32418 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32419 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32420 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32421 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32422 file.
32423 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32424 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32425 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32426 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32427 file.
32428 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32429 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32430 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32431 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32432 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32433 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32434 file.
32435 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32436 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32437 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32438 file.
32439 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32441 New file.
32442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32443 New file.
32444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32445 New file.
32446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32447 New file.
32448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32449 New file.
32450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32451 New file.
32452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32453 New file.
32454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32455 New file.
32456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32457 New file.
32458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32459 New file.
32460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32461 New file.
32462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32463 New file.
32464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32465 New file.
32466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32467 file.
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32469 New file.
32470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32471 New file.
32472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32473 file.
32474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32475 New file.
32476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32477 New file.
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32479 file.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32481 New file.
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32483 New file.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32485 New file.
32486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32487 New file.
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32489 New file.
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32491 New file.
32492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32494 file.
32495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32496 New file.
32497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32498 file.
32499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32500 file.
32501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32502 file.
32503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32504 file.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32506 file.
32507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32508 New file.
32509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32510 file.
32511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32512 file.
32513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32514 New file.
32515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32516 file.
32517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32519 file.
32520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32521 New file.
32522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32523 file.
32524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32525 file.
32526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32527 file.
32528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32529 file.
32530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32531 file.
32532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32533 New file.
32534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32535 file.
32536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32537 file.
32538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32539 New file.
32540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32541 file.
32542 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32543 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32544 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32545 file.
32546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32547 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32548 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32549 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32550 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32551 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32552 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32553 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32554 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32555 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32558 file.
32559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32560 New file.
32561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32562 file.
32563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32564 file.
32565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32566 file.
32567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32568 file.
32569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32570 file.
32571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32572 New file.
32573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32574 New file.
32575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32576 file.
32577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32578 New file.
32579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32580 file.
32581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32583 file.
32584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32585 New file.
32586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32587 file.
32588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32589 file.
32590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32591 file.
32592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32593 file.
32594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32595 file.
32596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32597 New file.
32598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32599 New file.
32600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32601 file.
32602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32603 New file.
32604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32605 file.
32606
41d73a1b
JM
326072012-04-28 Joseph Myers <joseph@codesourcery.com>
32608
32609 * conform/conformtest.pl: Fix typo in handling typed-constant from
32610 allow-header.
32611
28aeeda4
JM
326122012-04-27 Joseph Myers <joseph@codesourcery.com>
32613
adae8f5e
JM
32614 * README: Cut down references to pre-2.6 Linux kernels and
32615 Linuxthreads. Update lists of configurations in libc and ports
32616 and sort alphabetically. Say "or newer" with Linux kernel version
32617 requirements.
32618
28aeeda4
JM
32619 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32620
a462cb63
RA
326212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32622
32623 [BZ #887]
32624 * math/libm-test.inc (logb_test_downward): New test to expose
32625 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32626 rounding mode.
32627
6ad3493e
JM
326282012-04-27 Joseph Myers <joseph@codesourcery.com>
32629
32630 [BZ #14027]
32631 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32632 to be done.
32633 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32634 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32635
2ce4f015
JM
326362012-04-26 Joseph Myers <joseph@codesourcery.com>
32637
5aeb141a
JM
32638 * sysdeps/unix/i386/brk.S: Remove file.
32639 * sysdeps/unix/i386/dl-brk.S: Likewise.
32640 * sysdeps/unix/i386/pipe.S: Likewise.
32641 * sysdeps/unix/i386/sigreturn.S: Likewise.
32642 * sysdeps/unix/i386/syscall.S: Likewise.
32643 * sysdeps/unix/i386/vfork.S: Likewise.
32644 * sysdeps/unix/i386/wait.S: Likewise.
32645
7143acae
JM
32646 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32647 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32648
2ce4f015
JM
32649 * configure.in (arm*-none*): Do not allow without
32650 --enable-hacker-mode.
32651 (netbsd*): Remove case setting base_os.
32652 (386bsd*): Likewise.
32653 (freebsd*): Likewise.
32654 (bsdi*): Likewise.
32655 (osf*): Likewise.
32656 (sunos*): Likewise.
32657 (ultrix*): Likewise.
32658 (newsos*): Likewise.
32659 (dynix*): Likewise.
32660 (*bsd*): Likewise.
32661 (sysv*): Likewise.
32662 (isc*): Likewise.
32663 (esix*): Likewise.
32664 (sco*): Likewise.
32665 (minix*): Likewise.
32666 (irix4*): Likewise.
32667 (irix6*): Likewise.
32668 (solaris[2-9]*): Likewise.
32669 (none): Likewise.
32670 * configure: Regenerated.
32671
0ac229c8
AZ
326722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32673
32674 [BZ #11521]
32675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32676 overflow or cancellation in calculating denominator.
32677 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32679 down expression to avoid unexpected rounding in newer GCCs.
32680 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32681
33f244f4
DM
326822012-04-26 David S. Miller <davem@davemloft.net>
32683
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32685 long-double compat symbols.
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32699
cfa1f3e8
DM
327002012-04-25 David S. Miller <davem@davemloft.net>
32701
32702 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32703 HWCAP_* values only after the memory barriers have been defined.
32704 (atomic_full_barrier): Define.
32705 (atomic_read_barrier): Define.
32706 (atomic_write_barrier): Define.
32707
6e236b92
SP
327082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32709
32710 * shlib-versions: Add libgcc_s version information.
32711 * sysdeps/generic/libgcc_s.h: Remove.
32712 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32713 libgcc_s.h.
32714 * sysdeps/gnu/unwind-resume.c: Likewise.
32715 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32716
aab39a09
DM
327172012-04-25 David S. Miller <davem@davemloft.net>
32718
32719 * sysdeps/unix/sparc/brk.S: Delete.
32720 * sysdeps/unix/sparc/dl-brk.S: Delete.
32721 * sysdeps/unix/sparc/pipe.S: Delete.
32722 * sysdeps/unix/sparc/sysdep.S: Delete.
32723 * sysdeps/unix/sparc/sysdep.h: Delete.
32724 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32725 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32726 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32727 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32728 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32729 (JUMPTARGET): Remove.
32730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32731 sysdeps/unix/sparc/sysdep.h
32732 (ENTRY, END): Remove.
32733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32734
a3cc4f48
JM
327352012-04-25 Joseph Myers <joseph@codesourcery.com>
32736
2ed8cda2
JM
32737 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32738 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32739 -DIS_IN_build.
32740
35d76d59
JM
32741 * timezone/README: Update upstream location and email address for
32742 tzcode and tzdata.
32743 * timezone/zdump.c: Update from tzcode 2012b.
32744 * timezone/zic.c: Likewise.
32745
a3cc4f48
JM
32746 * configure.in (libc_cv_as_needed): Remove test.
32747 * configure: Regenerated.
32748 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32749 conditional definition.
32750 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32751 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32752 * config.make.in (have-as-needed): Remove variable.
32753
ceab42c3
SP
327542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32755 Paul Pluzhnikov <ppluzhnikov@google.com>
32756
32757 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32758 strings correctly.
32759
3ce2865f
CLT
327602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32761
32762 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32763 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32764 * sysdeps/sh/strlen.S: Likewise.
32765
f37e0d68
JM
327662012-04-24 Joseph Myers <joseph@codesourcery.com>
32767
ae186e9a
JM
32768 * sysdeps/unix/fork.S: Remove file.
32769 * sysdeps/unix/i386/fork.S: Likewise.
32770 * sysdeps/unix/sparc/fork.S: Likewise.
32771
b96914af
JM
32772 * sysdeps/unix/system.c: Remove file.
32773 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32774
f37e0d68
JM
32775 * sysdeps/unix/getegid.S: Remove file.
32776 * sysdeps/unix/geteuid.S: Likewise.
32777
87ef29ca
RM
327782012-04-24 Roland McGrath <roland@hack.frob.com>
32779
83bcd236
RM
32780 * scripts/check-localplt.awk: New file.
32781 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32782 of diff.
32783 * scripts/data/localplt-generic.data: Add a comment.
32784
87ef29ca
RM
32785 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32786 NODE when __dir_mkfile failed.
32787 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32788 Reported by Ludovic Courtès <ludo@gnu.org>.
32789
e5a6e567
AJ
327902012-04-24 Andreas Jaeger <aj@suse.de>
32791
32792 * Makerules (common-clean): Also remove gen-as-const-headers
32793 files.
32794
c1820385
JM
327952012-04-24 Joseph Myers <joseph@codesourcery.com>
32796
32797 * Makerules (native-compile): Do not change working directory for
32798 build. Use $(OUTPUT_OPTION) in command.
32799 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32800
94e02fc4
AZ
328012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32802
32803 [BZ #13886]
32804 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32805 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32806 * math/libm-test.inc (floor_test): Add more tests.
32807 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32808
3a533ca3
JM
328092012-04-24 Joseph Myers <joseph@codesourcery.com>
32810
940ab4b3
JM
32811 * sysdeps/unix/getdents.c: Remove file.
32812 * sysdeps/unix/sysv/getdents.c: Likewise.
32813 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32814
90e037bd
JM
32815 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32816 sysdeps/unix/mman/syscalls.list.
32817 (mmap): Likewise.
32818 (mprotect): Likewise.
32819 (msync): Likewise.
32820 (munmap): Likewise.
32821 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32822 * sysdeps/unix/mman/syscalls.list: Remove.
32823 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32824
3a533ca3
JM
32825 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32826 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32827 * configure: Regenerated.
32828 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32829 $(libgcc_s_suffix).
32830 * config.make.in (libgcc_s_suffix): Remove variable.
32831
1ad743de
JM
328322012-04-23 Joseph Myers <joseph@codesourcery.com>
32833
4ad451e2
JM
32834 * sysdeps/unix/sysv/gethostname.c: Move to ...
32835 * sysdeps/posix/gethostname.c: ... here.
32836
5e37ce39
JM
32837 * sysdeps/unix/execve.S: Remove file.
32838
1ad743de
JM
32839 * sysdeps/unix/_exit.S: Remove file.
32840
4e681b5b
AJ
328412012-04-23 Andreas Jaeger <aj@suse.de>
32842
32843 [BZ #13739]
32844 * manual/Makefile: Remove make dist support, there's no
32845 need for a stand-alone documentation tar ball.
32846 (TEXI2DVI): Define always, it's not in Makeconfig.
32847 (dist): Removed.
32848 (tar-it): Removed.
32849 (edition): Removed.
32850 (glibc-doc-$(edition).tar): Removed
32851 (%.Z): Removed.
32852 (%.gz): Removed.
32853 (%.uu): Removed.
32854 (ETAGS): Remove, it's in Makeconfig.
32855 (move-if-change): Remove, it's in Makeconfig.
32856
38686a03 328572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32858
32859 [BZ #13970]
32860 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32861 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32862 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32863 (strtod_l, strtof_l, strtold_l): Remove __wur.
32864 It is not necessarily an error to ignore strtol's return value.
32865 One can reliably look at the stored endptr to decide whether
32866 the number had valid syntax.
32867
7c0616fa
AJ
328682012-04-21 Andreas Jaeger <aj@suse.de>
32869
803cb6b7 32870 [BZ #13739]
7c0616fa
AJ
32871 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32872
b0fe253f
JM
328732012-04-21 Joseph Myers <joseph@codesourcery.com>
32874
32875 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32876 * sysdeps/unix/sysv/Versions: Remove file.
32877
8280f22d
MT
328782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32879
32880 [BZ #13927]
32881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32882
75ce411f 328832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32884
32885 [BZ #7064]
32886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32887 version from __vm86.
32888
097d59fa
JM
328892012-04-20 Joseph Myers <joseph@codesourcery.com>
32890
a90f3bcb
JM
32891 * sysdeps/unix/common/lxstat.c: Remove file.
32892 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32893
edc7ea78
JM
32894 * sysdeps/unix/sysv/Makefile: Remove file.
32895
cb78c221
JM
32896 * sysdeps/unix/sysv/direct.h: Remove file.
32897
efa6a45f
JM
32898 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32899 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32900 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32901 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32902 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32903 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32904 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32905
9c9f2d0c
JM
32906 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32907
4541c83b
JM
32908 * sysdeps/unix/xmknod.c: Remove file.
32909 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32910
f5d153a0
JM
32911 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32912
aa746595
JM
32913 * sysdeps/unix/sysv/i386/time.S: Remove file.
32914
cce5905e
JM
32915 * sysdeps/unix/fxstat.c: Remove file.
32916 * sysdeps/unix/xstat.c: Likewise.
32917 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32918
37fa3841
JM
32919 * sysdeps/unix/sysv/sigaction.c: Remove file.
32920
ff1962a3
JM
32921 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32922 (sysdep_headers): Remove variable.
32923 [termio.h not in sysdep_headers] (generated): Likewise.
32924 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32925 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32926 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32927 * sysdeps/unix/sysv/tcflow.c: Likewise.
32928 * sysdeps/unix/sysv/tcflush.c: Likewise.
32929 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32930 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32931 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32932 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32933 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32934
e7740d31
JM
32935 * sysdeps/unix/siglist.c: Remove file.
32936
ee06f18b
JM
32937 * sysdeps/unix/getppid.S: Remove file.
32938
097d59fa
JM
32939 * sysdeps/unix/mkdir.c: Remove file.
32940 * sysdeps/unix/rmdir.c: Likewise.
32941
ff3d51ec
AS
329422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32943
32944 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32945 ERR_MAX value.
32946 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32947 errlist-compat value.
32948
50f81fd7
DM
329492012-04-18 David S. Miller <davem@davemloft.net>
32950
32951 * sysdeps/generic/memcopy.h (reg_char): Delete.
32952 * debug/strcat_chk.c: Use char, not reg_char.
32953 * debug/strcpy_chk.c: Likewise.
32954 * debug/strncat_chk.c: Likewise.
32955 * debug/strncpy_chk.c: Likewise.
32956 * string/memchr.c: Likewise.
32957 * string/memrchr.c: Likewise.
32958 * string/rawmemchr.c: Likewise.
32959 * string/strcat.c: Likewise.
32960 * string/strchr.c: Likewise.
32961 * string/strchrnul.c: Likewise.
32962 * string/strcmp.c: Likewise.
32963 * string/strcpy.c: Likewise.
32964 * string/strncat.c: Likewise.
32965 * string/strncmp.c: Likewise.
32966 * string/strncpy.c: Likewise.
32967
8ff41c46
WS
329682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32969
32970 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32971 __builtin_memcopy is called when src and dest ranges are known to not
32972 overlap.
32973
6b652f46
WS
329742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32975
32976 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32977 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32978 fwd_align_merge macro call.
32979 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32980 bwd_align_merge macro call.
32981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32982
b282631e
WS
329832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32984
32985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32986 bwd_align_merge macros.
32987 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32988 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32989 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32990
95aa737c
DM
329912012-04-18 David S. Miller <davem@davemloft.net>
32992
32993 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32994
7a99a614
AJ
329952012-04-18 Andreas Jaeger <aj@suse.de>
32996
32997 [BZ# 6794]
32998 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32999 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33001
33002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33003 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33005
33006 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33007 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33008 Adjust for changed ldbl-128 files.
33009
33010 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33011 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33013
e5270c23
DM
330142012-04-17 David S. Miller <davem@davemloft.net>
33015
33016 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33017
fb5e92c9
AS
330182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33019
33020 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33021 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33022 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33023 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33026
76da7265
AZ
330272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33028
33029 [BZ #6794]
33030 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33031 * math/libm-test.inc: Add ilogb errno and exception tests.
33032 * math/w_ilogb.c: New file: ilogb wrapper.
33033 * math/w_ilogbf.c: New file: ilogbf wrapper.
33034 * math/w_ilogbl.c: New file: ilogbl wrapper.
33035 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33036 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33037 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33038 exception being thrown with 0.0 as argument.
33039 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33040 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33041 exception being thrown with 0.0 as argument.
33042 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33043 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33044 exception being thrown with 0.0 as argument.
33045 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33046 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33047 exception being thrown with 0.0 as argument.
33048 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33049 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33050 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33051 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33052 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33053 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33054 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33055 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33056 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33057
0396e69d
PB
330582012-04-17 Petr Baudis <pasky@ucw.cz>
33059
33060 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33061 with altivec.
33062
750b5926
MP
330632012-04-16 Marek Polacek <polacek@redhat.com>
33064
33065 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33066
751728a1
MP
330672012-04-16 Marek Polacek <polacek@redhat.com>
33068
33069 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33070 operands of fdivp instruction.
33071
34a27407
L
330722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33073
33074 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33075 * elf/tst-auditmod3b.c: Likewise.
33076 * elf/tst-auditmod4b.c: Likewise.
33077 * elf/tst-auditmod5b.c: Likewise.
33078 * elf/tst-auditmod6b.c: Likewise.
33079 * elf/tst-auditmod6c.c: Likewise.
33080 * elf/tst-auditmod7b.c: Likewise.
33081 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33082 * sysdeps/x86_64/preconfigure.in: Likewise.
33083 * sysdeps/x86_64/preconfigure: Regenerated.
33084
7e73e17d
L
330852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33088 __ILP32__.
33089
c7a6ab72
AB
330902012-04-13 Antoine Balestrat <merkil33@gmail.com>
33091
33092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33093 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33094
a9e8e0e0
CL
330952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33096
33097 [BZ #13973]
33098 * locale/iso-639.def: Fix gl language name. Spotted by
33099 Yaron Shahrabani.
33100
ec98af7d
RM
331012012-04-12 Roland McGrath <roland@hack.frob.com>
33102
33103 [BZ #2074]
33104 * libio/libio.h (__io_write_fn): Update comment.
33105
247c3ede
PB
331062012-04-12 Petr Baudis <pasky@ucw.cz>
33107
33108 [BZ #2074]
33109 * stdio.texi (Hook Functions): The user provided writer function
33110 is not allowed to return -1.
33111
55939d6d
DM
331122012-04-11 David S. Miller <davem@davemloft.net>
33113
33114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33115
90020f5a
MF
331162012-04-11 Mike Frysinger <vapier@gentoo.org>
33117
33118 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33119 Add a leading slash to rtkaio.
33120
288f9098
JM
331212012-04-11 Jim Meyering <meyering@redhat.com>
33122
90020f5a
MF
33123 [BZ #11959]
33124 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33125 It is not necessarily an error to ignore fwrite's return
33126 value. One can reliably use ferror to test for errors after
33127 the fact.
288f9098 33128
4be2b570
L
331292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33130
33131 * bits/types.h (__snseconds_t): New type.
33132 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33133
33134 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33136 (__SNSECONDS_T_TYPE): Likewise.
33137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33138 (__SNSECONDS_T_TYPE): Likewise.
33139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33140 (__SNSECONDS_T_TYPE): Likewise.
33141
288f9098 331422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33143
33144 [BZ #2636]
33145 * manual/time.texi (Processor Time): Return type of times is
33146 elapsed real time since an arbitrary point in the past.
33147 (CPU Time): Move CLK_TCK from here...
33148 (Processor Time): ...to here. Correct description.
33149 * manual/conf.texi (Constants for Sysconf): Correct description of
33150 _SC_CLK_TCK.
33151
d7dd4413
DM
331522012-04-10 David S. Miller <davem@davemloft.net>
33153
33154 [BZ #13967]
33155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33156 where the is a gap between DT_REL(A) and DT_JMPREL.
33157
b46068fc
L
331582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33159
33160 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33161 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33162 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33163
73d65cc3
SP
331642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33165
33166 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33167 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33168 (dl_main): Handle --inhibit-cache.
33169 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33170 _dl_inhibit_cache.
33171 * elf/dl-load.c (_dl_map_object): Use it.
33172 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33173
bcc8d661
JM
331742012-04-09 Joseph Myers <joseph@codesourcery.com>
33175
8f9a2fae
JM
33176 [BZ #13872]
33177 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33178 (__ieee754_powl): Saturate large exponents rather than testing for
33179 overflow of y*log2(x).
33180 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33181 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33182 exceptions.
33183
bcc8d661
JM
33184 [BZ #11521]
33185 * math/s_ctan.c: Include <float.h>.
33186 (__ctan): Avoid internal overflow or cancellation in calculating
33187 denominator.
33188 * math/s_ctanf.c: Likewise.
33189 * math/s_ctanl.c: Likewise.
33190 * math/s_ctanh.c: Likewise.
33191 * math/s_ctanhf.c: Likewise.
33192 * math/s_ctanhl.c: Likewise.
33193 * math/libm-test.inc (ctan_test): Add more tests.
33194 (ctanh_test): Likewise.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33197
823fbbb4
AJ
331982012-04-09 Andreas Jaeger <aj@suse.de>
33199
03879793
AJ
33200 [BZ #6894]
33201 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33202 is an optional BSD extension.
33203
823fbbb4
AJ
33204 [BZ #10254]
33205 * manual/stdio.texi (Opening Streams): Document additional fopen
33206 parameters.
33207
8de131cb
RM
332082012-04-09 Roland McGrath <roland@hack.frob.com>
33209
33210 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33211 %eax without telling the compiler.
33212
c0ed9d7d
CD
332132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33214
33215 [BZ # 13963]
33216 * manual/install.texi: Use sourceware.org.
33217
c483f6b4
JM
332182012-04-09 Joseph Myers <joseph@codesourcery.com>
33219
d7dd9453
JM
33220 [BZ #13873]
33221 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33222 (__ieee754_pow): Generate overflow and underflow using huge*huge
33223 and tiny*tiny rather than just returning constant infinity or zero
33224 for large exponents.
33225 * math/libm-test.inc (pow_test): Require overflow exceptions for
33226 applicable cases of large exponents.
33227
c483f6b4
JM
33228 [BZ #706]
33229 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33230 (__ieee754_pow): Use iterative multiplication algorithm only for
33231 integer exponents with absolute value below 1024. Check for odd
33232 integer exponents when using algorithm for real exponents.
33233 * math/libm-test.inc (pow_test): Add more tests.
33234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33235
d2de7579
JM
332362012-04-08 Joseph Myers <joseph@codesourcery.com>
33237
33238 [BZ #13705]
33239 * math/libm-test.inc (exp_test): Do not allow overflow exception
33240 on underflow test.
33241
f77f1232
AJ
332422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33243
33244 [BZ #13705]
33245 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33246 instead of __kernel_standard_f.
33247
3884932b
MF
332482012-04-08 Mike Frysinger <vapier@gentoo.org>
33249
33250 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33251 * sysdeps/x86_64/memset_chk.S: Likewise.
33252
54472e9c
AJ
332532012-04-08 Andreas Jaeger <aj@suse.de>
33254
6ab0fbfc
AJ
33255 [BZ #10153]
33256 * manual/startup.texi (Environment Access): Describe return value
33257 for putenv and setenv.
33258
61efba8c
AJ
33259 [BZ #6895]
33260 * manual/filesys.texi (Directory Entries): Add description for
33261 DT_LNK.
33262
95c3f29a
AJ
33263 [BZ #6890]
33264 * manual/filesys.texi (Directory Entries): Clarify that it's file
33265 system not operating system in the description of DT_UNKNOWN.
33266
54472e9c
AJ
33267 [BZ #6578]
33268 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33269
624254b1
SC
332702012-04-08 Stephen Compall <s11@member.fsf.org>
33271
33272 [BZ #6649]
33273 * manual/llio.texi (Opening and Closing Files): Add cross
33274 reference to explain mode argument.
33275
1e4920e0
MF
332762012-04-07 Mike Frysinger <vapier@gentoo.org>
33277
33278 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33279 * sysdeps/x86_64/memset_chk.S: Likewise.
33280
5ed848f3
DM
332812012-04-07 David S. Miller <davem@davemloft.net>
33282
33283 * elf/elf.h (R_SPARC_WDISP10): Define.
33284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33285 R_SPARC_SIZE32.
33286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33287 R_SPARC_SIZE64 and R_SPARC_H34.
33288
96154cd8
CD
332892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33290
33291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33292 conditions and remove no longer applicable assertion.
33293
9904dc47
L
332942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 * bits/byteswap.h: Include <features.h>.
33297 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33298 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33299
f8887d0a
L
333002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33301
33302 * bits/byteswap.h (__bswap_16): Removed.
33303 Include <bits/byteswap-16.h> to get __bswap_16.
33304 * sysdeps/i386/bits/byteswap.h: Likewise.
33305 * sysdeps/s390/bits/byteswap.h: Likewise.
33306 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33307 * bits/byteswap-16.h: New file.
33308 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33309 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33310 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33311 * string/Makefile (headers): Add bits/byteswap-16.h.
33312
62470f60
PP
333132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33314
33315 [BZ #13895]
33316 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33317 extra indirection.
33318 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33319 * nss/tst-nss-static.c: New.
33320
4dad7bab
RM
333212012-04-06 Robert Millan <rmh@gnu.org>
33322
33323 [BZ #6486]
33324 * manual/llio.texi (File Position Primitive): lseek
33325 refers to WHENCE when it really means OFFSET.
33326
e9142a17
AJ
333272012-04-06 Andreas Jaeger <aj@suse.de>
33328
2c040eff
AJ
33329 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33330 strncmp declarations.
33331
e9142a17
AJ
33332 * abilist/libc.abilist: Add __poll and __ppoll.
33333
ff9f1c5f
DM
333342012-04-05 David S. Miller <davem@davemloft.net>
33335
dcd2ae90
DM
33336 * scripts/check-local-headers.sh: Accept a host triplet in the
33337 path matched by the exclude regexp.
33338
993eb054
DM
33339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33340 definition.
33341 * sysdeps/powerpc/powerpc32/dl-machine.h
33342 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33343 * sysdeps/s390/s390-32/dl-machine.h
33344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33345 * sysdeps/sparc/sparc32/dl-machine.h
33346 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33347 * sysdeps/sparc/sparc64/dl-machine.h
33348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33349
ff9f1c5f
DM
33350 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33351 lazy binding.
48e2e132 33352 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33353 undefined symbol errors.
33354
48e2e132 33355 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33356 DT_NEEDED entries.
33357
e80d6f94
MM
333582012-04-05 Michael Matz <matz@suse.de>
33359
33360 [BZ #13592]
33361 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33362
349fa79f
AJ
333632012-04-05 Andreas Jaeger <aj@suse.de>
33364
33365 [BZ #13908]
33366 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33367 comment.
33368
f402708f
KK
333692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33370
33371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33372 which ROUND is no valid rounding mode.
33373
2ecccfc9
KK
333742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33375
33376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33377 read again.
33378 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33379
8a53f50f
KK
333802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33381
33382 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33383 an exception using FPU order intentionally.
33384
333852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33386
33387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33388 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33389 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33390 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33391
d653abb7
SJ
333922012-04-05 Simon Josefsson <simon@josefsson.org>
33393
33394 [BZ #12340]
33395 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33396 EINVAL when BUFLEN is too smal.
33397
c3b1bf7d
TS
333982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33399
33400 [BZ #13553]
33401 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33402 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33403
b1aa60f3
AJ
334042012-04-03 Andreas Jaeger <aj@suse.de>
33405
c3b1bf7d 33406 [BZ #13938]
67f60a26
AJ
33407 * manual/setjmp.texi (System V contexts): Fix sentence.
33408
b1aa60f3
AJ
33409 [BZ #13926]
33410 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33411 New macro for this case.
33412 [!__GNUC__] (__bswap_64): New inline function for this case.
33413 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33414 * bits/byteswap.h: Likewise.
33415 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33416 ull, guard with __GLIBC_HAVE_LONG_LONG.
33417
33418 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33419 __GLIBC_HAVE_LONG_LONG.
33420
33421 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33422 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33423
39c59c35
TMQMF
334242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33425
33426 [BZ #13691]
33427 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33428 inptr and inend, rather than using last_ch.
33429
135ffda8
DM
334302012-04-02 David S. Miller <davem@davemloft.net>
33431
33432 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33433 * stdio-common/printf-parse.h (read_int): Change return type to
33434 'int', return -1 on INT_MAX overflow.
33435 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33436 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33437 overflows INT_MAX. Check for overflow of in-format-string precision
33438 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33439 SIZE_MAX not INT_MAX for integer overflow test.
33440 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33441 skip the construct in the format string but do not record anything.
33442 * stdio-common/bug22.c: Adjust to test both width/prevision
33443 INT_MAX overflow as well as total length INT_MAX overflow. Check
33444 explicitly for proper errno values.
33445
228c019e
TS
334462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33447
302cadd3
TS
33448 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33449 CHAR_MAX.
33450 * string/test-strcmp.c [! WIDE]: Likewise.
33451 * time/tst-mktime2.c: Likewise for INT_MAX.
33452 * string/test-string.h: #include <sys/param.h> for MIN.
33453
228c019e
TS
33454 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33455 * sysdeps/i386/init-first.c (init): Likewise.
33456 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33457 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33458 * sysdeps/sh/init-first.c (init): Likewise.
33459
cfa633f5
UD
334602012-04-01 Ulrich Drepper <drepper@gmail.com>
33461
33462 * po/ru.po: Update from translation team.
d1635ef8 33463 * po/vi.po: Likewise.
cfa633f5 33464
6cd0a5ea
SP
334652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33466
33467 * resolv/nss_dns/dns-host.c: Merge copyright years.
33468
4b43400f
LD
334692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33470
33471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33472 Optimize memcpy with prefetch if
33473 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33474 src, dst pointers have unequal 16 byte alignments.
33475
48c41d04
SP
334762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33477
33478 [BZ #13928]
33479 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33480 from a CNAME entry and return the minimum ttl for the query.
33481 (gaih_getanswer_slice): Likewise.
33482
b8dc394d
JL
334832012-03-30 Jeff Law <law@redhat.com>
33484
33485 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33486 due to long keys.
33487 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33488 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33489
2f5a5ed0
JL
33490 * resolv/nss_dns/dns-host.c: Update copyright year.
33491
1d39e359
UD
334922012-03-30 Ulrich Drepper <drepper@gmail.com>
33493
c030f70c 33494 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33495 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33496
1d39e359
UD
33497 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33498 comments for sendmmsg.
33499
335002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33501
33502 [BZ #13691]
33503 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33504 with only 1 character between 0x0041 and 0x01b0.
33505 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33506 * wcsmbs/tst-mbsnrtowcs.c: New file.
33507
20fde227
DM
335082012-03-29 David S. Miller <davem@davemloft.net>
33509
33510 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33511 small copies by hand.
33512
984a4237
JL
335132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33514
33515 [BZ #13761]
57f41c40
AS
33516 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33517 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33518 group memberships.
984a4237 33519
18c9d62b
DM
335202012-03-28 David S. Miller <davem@davemloft.net>
33521
88d85d4f
DM
33522 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33523 that branches into memcpy.
33524 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33527 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33529 bits.
33530 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33531 implementation too.
33532 * sysdeps/sparc/mempcpy.S: New file.
33533
e5aa83e1
DM
33534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33535 the IFUNC routine in the libc case.
33536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33537
88570753
DM
33538 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33539 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33540 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33541 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33542 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33543 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33544 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33545 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33546
249d7567
DM
33547 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33548 loop to 256 bytes instead of 64 bytes and fix test signedness.
33549
18c9d62b
DM
33550 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33551 * sysdeps/sparc/sparc32/Makefile: rather than here...
33552 * sysdeps/sparc/sparc64/Makefile: and here.
33553
05f3d1f6
UD
335542012-03-28 Ulrich Drepper <drepper@gmail.com>
33555
33556 * malloc/mallocbug.c: Avoid warnings about unused variables.
33557
86ae07a8
JL
335582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33559
33560 [BZ #13760]
33561 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33562 in the right place. Discard and retry query if response is
33563 larger than input buffer size.
33564
41bf21a1
JM
335652012-03-28 Joseph Myers <joseph@codesourcery.com>
33566
d6270972
JM
33567 [BZ #369]
33568 [BZ #2678]
33569 [BZ #3866]
33570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33571 x for large integer exponent.
33572 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33573 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33574 sign of result as needed afterwards.
33575 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33576 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33577 result for underflowing pow the same as for overflow.
33578 (__kernel_standard_l): Handle powl overflow and underflow here
33579 rather than calling __kernel_standard.
33580 * math/libm-test.inc (pow_test): Add more tests.
33581
414fca03 33582 [BZ #3868]
41bf21a1
JM
33583 [BZ #13879]
33584 [BZ #13910]
33585 [BZ #13911]
33586 [BZ #13912]
33587 [BZ #13913]
33588 [BZ #13915]
33589 [BZ #13916]
33590 [BZ #13917]
33591 [BZ #13918]
33592 [BZ #13919]
33593 [BZ #13920]
33594 [BZ #13921]
33595 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33596 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33597 (__kernel_standard_l): New function.
33598 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33599 __kernel_standard.
33600 * math/w_acosl.c (__acosl): Likewise.
33601 * math/w_asinl.c (__asinl): Likewise.
33602 * math/w_atan2l.c (__atan2l): Likewise.
33603 * math/w_atanhl.c (__atanhl): Likewise.
33604 * math/w_coshl.c (__coshl): Likewise.
33605 * math/w_exp10l.c (__exp10l): Likewise.
33606 * math/w_exp2l.c (__exp2l): Likewise.
33607 * math/w_fmodl.c (__fmodl): Likewise.
33608 * math/w_hypotl.c (__hypotl): Likewise.
33609 * math/w_j0l.c (__j0l, __y0l): Likewise.
33610 * math/w_j1l.c (__j1l, __y1l): Likewise.
33611 * math/w_jnl.c (__jnl, __ynl): Likewise.
33612 * math/w_lgammal.c (__lgammal): Likewise.
33613 * math/w_log10l.c (__log10l): Likewise.
33614 * math/w_log2l.c (__log2l): Likewise.
33615 * math/w_logl.c (__logl): Likewise.
33616 * math/w_powl.c (__powl): Likewise.
33617 * math/w_remainderl.c (__remainderl): Likewise.
33618 * math/w_scalbl.c (sysv_scalbl): Likewise.
33619 * math/w_sinhl.c (__sinhl): Likewise.
33620 * math/w_sqrtl.c (__sqrtl): Likewise.
33621 * math/w_tgammal.c (__tgammal): Likewise.
33622 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33623 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33624 * math/libm-test.inc (acos_test): Add more tests.
33625 (acosh_test): Likewise.
33626 (asin_test): Likewise.
33627 (atanh_test): Likewise.
33628 (exp_test): Likewise.
33629 (exp10_test): Likewise.
33630 (exp2_test): Likewise.
33631 (expm1_test): Likewise.
33632 (lgamma_test): Likewise.
33633 (log_test): Likewise.
33634 (log10_test): Likewise.
33635 (log1p_test): Likewise.
33636 (log2_test): Likewise.
33637 (pow_test): Do not allow some spurious overflow exceptions.
33638 (sqrt_test): Add more tests.
33639 (tgamma_test): Likewise.
33640 (y0_test): Likewise.
33641 (y1_test): Likewise.
33642 (yn_test): Likewise.
33643
dd62fda6
AB
336442012-03-27 Anton Blanchard <anton@samba.org>
33645
33646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33647 MAP_HUGETLB.
33648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33649 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33650 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33651
1e3cdfda
AJ
336522012-03-27 David S. Miller <davem@davemloft.net>
33653
b855ab85
DM
33654 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33655
1e3cdfda
AJ
33656 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33657 have-as-vis3 check.
33658
336592012-03-27 Andreas Jaeger <aj@suse.de>
33660
33661 * sysdeps/x86_64/elf/configure.in: Moved to ...
33662 * sysdeps/x86_64/configure.in: ... here.
33663 * sysdeps/x86_64/elf/start.S: Moved to ...
33664 * sysdeps/x86_64/start.S: ... here.
33665 * sysdeps/x86_64/elf/configure: Delete.
33666
33667 * sysdeps/x86_64/configure.in: Merge contents from
33668 sysdeps/i386/configure.in (without i686 check).
33669
33670 * sysdeps/i386/elf/Versions: Merge into ...
33671 * sysdeps/i386/Versions: ... this.
33672 * sysdeps/i386/elf/Versions: Delete file.
33673 * sysdeps/i386/elf/start.S: Moved to ...
33674 * sysdeps/i386/start.S: ...here.
33675 * sysdeps/i386/elf/configure.in: Merge into...
33676 * sysdeps/i386/configure.in: ...here.
33677 * sysdeps/i386/elf/configure.in: Delete file.
33678 * sysdeps/i386/elf/configure: Delete file.
33679
33680 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33681 * debug/backtracesyms.c: ... here.
33682 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33683 * debug/backtracesymsfd.c: ... here.
33684 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33685 * sysdeps/generic/ifunc-sel.h: ... here.
33686
33687 * sysdeps/unix/i386/start.c: Delete file.
33688 * sysdeps/unix/sparc/start.c: Delete file.
33689 * sysdeps/unix/start.c: Delete file.
33690
33691 * sysdeps/sh/elf/configure.in: Moved to ...
33692 * sysdeps/sh/configure.in: ... here.
33693 * sysdeps/sh/elf/start.S: Moved to ...
33694 * sysdeps/sh/start.S: ... here.
33695 * sysdeps/sh/elf/configure: Delete file.
33696
33697 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33698 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33699 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33700 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33701 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33702 * sysdeps/powerpc/powerpc64/start.S: here.
33703 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33704 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33705 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33706 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33707 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33708
33709 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33710 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33711 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33712 * sysdeps/powerpc/powerpc32/start.S: ... here.
33713 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33714 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33715 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33716
33717 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33718 * sysdeps/powerpc/ifunc-sel.h: ... here.
33719 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33720 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33721
33722 * sysdeps/sparc/elf/configure.in: Moved to ...
33723 * sysdeps/sparc/configure.in: ... here.
33724 * sysdeps/sparc/elf/configure: Delete file.
33725 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33726 * sysdeps/sparc/sparc32/start.S: ... here.
33727 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33728 * sysdeps/sparc/sparc64/start.S: ... here.
33729 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33730 * sysdeps/sparc/sparc32/Makefile: ... this.
33731 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33732 * sysdeps/sparc/sparc64/Makefile: ... this.
33733
33734 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33735 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33736 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33737 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33738 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33739 * sysdeps/s390/s390-32/setjmp.S: ... here.
33740 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33741 * sysdeps/s390/s390-32/configure.in: ... here.
33742 * sysdeps/s390/s390-32/elf/configure: Delete file.
33743 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33744 * sysdeps/s390/s390-32/start.S: ... here.
33745
33746 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33747 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33748 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33749 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33750 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33751 * sysdeps/s390/s390-64/setjmp.S: ... here.
33752 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33753 * sysdeps/s390/s390-64/configure.in: ... here
33754 * sysdeps/s390/s390-64/elf/configure: Delete file.
33755 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33756 * sysdeps/s390/s390-64/start.S: ... here.
33757 * sysdeps/s390/s390-64/elf/configure: Delete.
33758
33759 * configure.in: Remove support for elf directories in sysdeps.
33760
33761 * configure: Regenerated.
33762 * sysdeps/i386/configure: Regenerated.
33763 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33764 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33765 * sysdeps/s390/s390-32/configure: Regenerated.
33766 * sysdeps/s390/s390-64/configure: Regenerated.
33767 * sysdeps/sh/configure: Regenerated.
33768 * sysdeps/sparc/configure: Regenerated.
33769 * sysdeps/x86_64/configure: Regenerated.
33770
a3f61311
AS
337712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33772
c876e002
AS
33773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33774
a3f61311
AS
33775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33776 denormal result into account.
33777
ac4c54f0
RM
337782012-03-25 Roland McGrath <roland@hack.frob.com>
33779
33780 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33781 Reported by Allan McRae <allan@archlinux.org>.
33782
6a9b9c02
JL
337832012-03-23 Jeff Law <law@redhat.com>
33784
33785 * nss/getnssent.c (__nss_getent): Fix typo.
33786
4c42a0c1
DM
337872012-03-23 David S. Miller <davem@davemloft.net>
33788
33789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33790
1532c7ac
L
337912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33792
33793 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33794 to pad to uint64_t for each field.
33795 (dl_tls_index): Replace unsigned long with uint64_t.
33796
3ff42526
PP
337972012-03-23 Daniel Jacobowitz <dmj@google.com>
33798 Paul Pluzhnikov <ppluzhnikov@google.com>
33799
33800 [BZ #6528]
33801 * grp/Makefile (otherlibs): Don't set it.
33802 * inet/Makefile (otherlibs): Likewise.
33803 * login/Makefile (otherlibs): Likewise.
33804 * nscd/Makefile (otherlibs): Likewise.
33805 * posix/Makefile (otherlibs): Likewise.
33806 * pwd/Makefile (otherlibs): Likewise.
33807 * rt/Makefile (otherlibs): Likewise.
33808 * sunrpc/Makefile (otherlibs): Likewise.
33809 * nss/Makefile (otherlibs): Likewise.
33810 Add libnss_files to routines and static-only-routines.
33811 ($(objpfx)getent): Remove rule.
33812 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33813 static-only-routines.
33814
7c69cd14
JM
338152012-03-22 Joseph Myers <joseph@codesourcery.com>
33816
33817 [BZ #13892]
33818 * math/s_cexp.c: Include <float.h>.
33819 (__cexp): Handle exp result overflowing not necessarily
33820 overflowing both real and imaginary parts of result.
33821 * math/s_cexpf.c: Likewise.
33822 * math/s_cexpl.c: Likewise.
33823 * math/libm-test.inc (cexp_test): Add more tests.
33824 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33826
81b035fe
L
338272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33828
33829 * include/link.h (ELFW): New macro.
33830 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33831 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33832
1da7940c
L
338332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33834
33835 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33836 with uint64_t.
33837
b749dbb9
L
338382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33839
33840 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33841 declaration.
33842 (struct La_x32_retval): Likewise.
33843
2ff87f3f
L
338442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33845
33846 * sysdeps/x86_64/preconfigure.in: New file.
33847 * sysdeps/x86_64/preconfigure: New generated file.
33848
c0df8e69
JM
338492012-03-22 Joseph Myers <joseph@codesourcery.com>
33850
48e44791
JM
33851 [BZ #13824]
33852 * math/e_exp2l.c: Include <float.h>.
33853 (__ieee754_exp2l): Handle overflow and underflow cases
33854 separately. Only pass fractional part of argument to
33855 __ieee754_expl.
33856 * math/libm-test.inc (exp2_test): Add more tests.
33857
c0df8e69
JM
33858 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33859 negating x to take absolute value.
33860 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33861 Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33864 Likewise.
33865 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33866 computing low part if x was negated.
33867 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33868
c8e43ba7
L
338692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33870
33871 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33872 la_x32_gnu_pltexit.
33873 (pltexit): Cast int_retval to ptrdiff_t.
33874 * elf/tst-auditmod3b.c: Likewise.
33875 * elf/tst-auditmod4b.c: Likewise.
33876 * elf/tst-auditmod5b.c: Likewise.
33877 * elf/tst-auditmod6b.c: Likewise.
33878 * elf/tst-auditmod6c.c: Likewise.
33879 * elf/tst-auditmod7b.c: Likewise.
33880
33881 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33882 and x32_gnu_pltexit.
33883
33884 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33885 __ELF_NATIVE_CLASS.
33886 (La_x32_regs): New macro.
33887 (La_x32_retval): Likewise.
33888 (la_x32_gnu_pltenter): New function prototype.
33889 (la_x32_gnu_pltexit): Likewise.
33890
7998fa78
AS
338912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33892
dcb33988
AS
33893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33894 exponent.
33895
233fc563
AS
33896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33897
7998fa78
AS
33898 * configure.in (libc_cv_cc_nofma): Check for option to disable
33899 generation of FMA instructions.
33900 * configure: Regenerate.
33901 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33902 * sysdeps/ieee754/dbl-64/Makefile: New file.
33903 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33904 Remove brandred-fma4.
33905 (CFLAGS-brandred-fma4.c): Remove.
33906 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33907 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33908 define.
33909 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33910 define.
33911
8e95c99a
L
339122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33915 LLONG_MAX != LONG_MAX.
33916 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33917 (_fitoa_word): Likewise.
33918 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33919 LLONG_MAX != LONG_MAX.
33920 * stdio-common/_itowa.h: Include <_itoa.h>.
33921 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33922 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33923 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33924 only if not defined.
33925 (_ITOA_WORD_TYPE): Likewise.
33926 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33927 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33928
6f4db457
DM
339292012-03-21 David S. Miller <davem@davemloft.net>
33930
33931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33932
7785fe5a
L
339332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33934
33935 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33936 of x86_64 when setting libc_cv_slibdir, libdir and
33937 libc_cv_localedir.
33938 * sysdeps/unix/sysv/linux/configure: Regenerated.
33939
4535cd55
JM
339402012-03-21 Joseph Myers <joseph@codesourcery.com>
33941
33942 * manual/lang.texi (Old Varargs): Remove section.
33943 (How Variadic): Update menu.
33944 (va_start): Do not mention varargs.h.
33945
17228132
TS
339462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33947 Joseph Myers <joseph@codesourcery.com>
33948
33949 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33950 link test.
33951 * configure: Regenerated.
33952
8149f976
TS
339532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33954
05f3d1f6
UD
33955 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33956 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33957 conformtest.pl
8149f976 33958
1a4ac776
JM
339592012-03-21 Joseph Myers <joseph@codesourcery.com>
33960
be22ce65
JM
33961 * NOTES: Remove.
33962 * Makefile (files-for-dist): Remove NOTES.
33963 (NOTES): Remove rule.
33964 * README: Don't refer to NOTES.
33965 * manual/creature.texi: Don't include macros.texi.
33966 * manual/intro.texi (creature.texi): Remove comment referring to
33967 NOTES.
33968
40b601fb
JM
33969 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33970 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33971 * configure: Regenerated.
33972 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33973 LIBC_TRY_CC_OPTION.
33974 (libc_cv_as_i686): Likewise.
33975 (libc_cv_cc_avx): Likewise.
33976 (libc_cv_cc_sse2avx): Likewise.
33977 (libc_cv_cc_fma4): Likewise.
33978 (libc_cv_cc_novzeroupper): Likewise.
33979 * sysdeps/i386/configure: Regenerated.
33980
1a4ac776
JM
33981 [BZ #13883]
33982 * sysdeps/i386/fpu/s_cexp.S: Remove.
33983 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33985 * math/libm-test.inc (cexp_test): Add more tests.
33986 * sysdeps/i386/fpu/libm-test-ulps: Update.
33987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33988
a458e7fe
AM
339892012-03-21 Allan McRae <allan@archlinux.org>
33990
33991 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33992
0cb7efc5
JM
339932012-03-21 Joseph Myers <joseph@codesourcery.com>
33994
33995 [BZ #13871]
33996 * math/w_exp2.c: Do not include <float.h>.
33997 (o_threshold, u_threshold): Remove.
33998 (__exp2): Calculate result before checking finiteness and calling
33999 __kernel_standard.
34000 * math/w_exp2f.c: Likewise.
34001 * math/w_exp2l.c: Likewise.
34002 * math/libm-test.inc (exp2_test): Require overflow exception for
34003 1e6 input.
2460d3aa
JM
34004
34005 [BZ #3866]
34006 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34007 range of signed 64-bit integers before using fistpll. Remove
34008 checks for whether integers fit in mantissa bits.
34009 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34010 the range of signed 32-bit integers before using fistpl. Remove
34011 checks for whether integers fit in mantissa bits.
34012 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34013 (__ieee754_powl): Test for y outside the range of signed 64-bit
34014 integers before using fistpll. Reduce 64-bit values to 63-bit
34015 ones as needed.
34016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34017 divide-by-zero is raised for zero to large negative powers.
34018 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34019 (__ieee754_powl): Test for y outside the range of signed 64-bit
34020 integers before using fistpll. Reduce 64-bit values to 63-bit
34021 ones as needed.
34022 * math/libm-test.inc (pow_test): Add more tests.
34023
eb96ffb0
L
340242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34025
34026 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34027 <stdio-common/_itoa.h>.
34028 * debug/segfault.c: Likewise.
34029 * elf/dl-cache.c: Likewise.
34030 * elf/dl-minimal.c: Likewise.
34031 * elf/dl-misc.c: Likewise.
34032 * elf/dl-sysdep.c: Likewise.
34033 * elf/dl-version.c: Likewise.
34034 * elf/rtld.c: Likewise.
34035 * hurd/hurdsock.c: Likewise.
34036 * hurd/lookup-retry.c: Likewise.
34037 * malloc/malloc.c: Likewise.
34038 * malloc/mtrace.c: Likewise.
34039 * nscd/nscd_getgr_r.c: Likewise.
34040 * nscd/nscd_getpw_r.c: Likewise.
34041 * nscd/nscd_getserv_r.c: Likewise.
34042 * posix/getopt_init.c: Likewise.
34043 * posix/wordexp.c: Likewise.
34044 * stdio-common/_itoa.c: Likewise.
34045 * stdio-common/printf_fphex.c: Likewise.
34046 * stdio-common/vfprintf.c: Likewise.
34047 * string/_strerror.c: Likewise.
34048 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34049 * sysdeps/i386/i686/hp-timing.h: Likewise.
34050 * sysdeps/mach/_strerror.c: Likewise.
34051 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34052 * sysdeps/mach/hurd/sethostid.c: Likewise.
34053 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34054 * sysdeps/mach/xpg-strerror.c: Likewise.
34055 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34057 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34058 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34059 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34060 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34062 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34063 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34064 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34065 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34066 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34067 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34068 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34069 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34070 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34071 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34072 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34073 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34074 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34075 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34076
34077 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34078
34079 * stdio-common/_itoa.h: Moved to ...
34080 * sysdeps/generic/_itoa.h: Here.
34081
34082 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34083
34084 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34085 instead of "_itoa.h" and "_itowa.h".
34086 * stdio-common/vfprintf.: Likewise.
34087
d1af992d
L
340882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34089
34090 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34091 <bits/wordsize.h>.
34092 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34093 (__signbit): Likwise.
34094 (llrintf): Likwise.
34095 (llrint): Likwise.
34096
114883e0
L
340972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34098
34099 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34100 __WORDSIZE != 64.
34101
c135cc1b
JM
341022012-03-20 Joseph Myers <joseph@codesourcery.com>
34103
34104 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34105 OVERFLOW_EXCEPTION_OK.
34106 * math/libm-test.inc ("Philosophy"): Update comment about
34107 exception testing.
34108 (OVERFLOW_EXCEPTION): Define.
34109 (OVERFLOW_EXCEPTION_OK): Likewise.
34110 (INVALID_EXCEPTION_OK): Renumber.
34111 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34112 (IGNORE_ZERO_INF_SIGN): Likewise.
34113 (test_exceptions): Handle FE_OVERFLOW.
34114 (exp10_test): Expect overflow exceptions.
34115 (exp2_test): Likewise.
34116 (expm1_test): Likewise.
34117 (nextafter_test): Likewise.
34118 (pow_test): Likewise.
34119 (scalbn_test): Likewise.
34120 (scalbln_test): Likewise.
34121
95443d88
L
341222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * sysdeps/x86_64/bits/atomic.h
34125 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34126 64bit integer.
34127 (atomic_exchange_acq): Likewise.
34128 (__arch_exchange_and_add_body): Likewise.
34129 (__arch_add_body): Likewise.
34130 (atomic_add_negative): Likewise.
34131 (atomic_add_zero): Likewise.
34132
490df6c4
L
341332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34134
c2722551 34135 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34136 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34137
5e52b189
L
341382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34139
34140 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34141 Check __x86_64__ instead of __WORDSIZE.
34142
a9879d4c
L
341432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34144
34145 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34146
5df98260
DM
341472012-03-19 David S. Miller <davem@davemloft.net>
34148
e1497744
DM
34149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34150
5df98260
DM
34151 * sysdeps/sparc/fpu/fenv_private.h: New file.
34152 * sysdeps/sparc/fpu/math_private.h: Use it.
34153 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34154 Remove.
57f41c40 34155 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34156 (libc_feholdexcept_setroundl): Remove.
34157 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34158 Remove.
34159 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34160 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34161
b4c35121
L
341622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34163
34164 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34165 int64_t instead of long int.
34166 (INSERT_WORDS64): Likwise.
34167
56965fd7
L
341682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34169
34170 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34171 _Unwind_GetCFA return to _Unwind_Ptr first.
34172
83d1aec8
JM
341732012-03-19 Joseph Myers <joseph@codesourcery.com>
34174
1897ad44
JM
34175 [BZ #13629]
34176 * math/s_clog.c: Include <float.h>.
34177 (__clog): Scale large or subnormal inputs.
34178 * math/s_clogf.c: Likewise.
34179 * math/s_clogl.c: Likewise.
34180 * math/s_clog10.c: Include <float.h>.
34181 (M_LOG10_2): Define.
34182 (__clog10): Scale large or subnormal inputs.
34183 * math/s_clog10f.c: Likewise.
34184 * math/s_clog10l.c: Likewise.
34185 * math/libm-test.inc (clog_test): Add more tests.
34186 (clog10_test): Likewise.
34187 * sysdeps/i386/fpu/libm-test-ulps: Update.
34188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34189
7726d6a9
JM
34190 [BZ #11451]
34191 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34192 x and y.
34193 * math/libm-test.inc (atan2_test): Add another test.
34194
83d1aec8
JM
34195 * Makerules (common-objdir-compile): Remove.
34196 * sysdeps/unix/Makefile (config-generated): Do not add
34197 $(unix-generated) to variable.
34198 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34199 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34200 Remove rule.
34201 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34202 Likewise.
34203 [generic bits/local_lim.h] (before-compile): Do not append to
34204 variable.
34205 [generic bits/local_lim.h] (common-generated): Likewise.
34206 [generic sys/param.h] (before-compile): Do not append to variable.
34207 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34208 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34209 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34210 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34211 include.
34212 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34213 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34214 [generic sys/param.h] ($(addprefix
34215 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34216 [generic sys/param.h] (common-generated): Do not append to
34217 variable.
34218 [generic sys/param.h] (sysdep_headers): Likewise.
34219 [generic bits/errno.h] (before-compile): Do not append to
34220 variable.
34221 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34222 rule.
34223 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34224 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34225 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34226 [generic bits/errno.h] (common-generated): Do not append to
34227 variable.
34228 [generic bits/ioctls.h] (before-compile): Do not append to
34229 variable.
34230 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34231 rule.
34232 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34233 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34234 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34235 rule.
34236 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34237 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34238 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34239 [generic bits/ioctls.h] (common-generated): Do not append to
34240 variable.
34241 [generic sys/syscall.h] (syscall.h): Remove variable.
34242 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34243 rule.
34244 [generic sys/syscall.h] (before-compile): Do not append to
34245 variable.
34246 [generic sys/syscall.h] (common-generated): Likewise.
34247 * sysdeps/unix/errnos-tmpl.c: Remove file.
34248 * sysdeps/unix/errnos.awk: Likewise.
34249 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34250 * sysdeps/unix/ioctls.awk: Likewise.
34251 * sysdeps/unix/mk-local_lim.c: Likewise.
34252 * sysdeps/unix/snarf-ioctls: Likewise.
34253
4851a949
RH
342542012-03-19 Richard Henderson <rth@twiddle.net>
34255
bd37f2ee
RH
34256 * sysdeps/i386/fpu/fenv_private.h: New file.
34257 * sysdeps/i386/fpu/math_private.h: Use it.
34258 (math_opt_barrier, math_force_eval): Remove.
34259 (libc_feholdexcept_setround_53bit): Remove.
34260 (libc_feupdateenv_53bit): Remove.
34261 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34262 (math_opt_barrier, math_force_eval): Remove.
34263 (libc_feholdexcept): Remove.
34264 (libc_feholdexcept_setround): Remove.
34265 (libc_fetestexcept, libc_fesetenv): Remove.
34266 (libc_feupdateenv_test): Remove.
34267 (libc_feupdateenv, libc_feholdsetround): Remove.
34268 (libc_feresetround): Remove.
34269
d0adc922
RH
34270 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34271 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34272
0fe0f1f8
RH
34273 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34274 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34275 (libc_feupdateenv_testl): New.
34276 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34277 (libc_feupdateenv_testf): New.
34278 (libc_feupdateenv): Use libc_feupdateenv_test.
34279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34280 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34281
eb92c487
RH
34282 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34283 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34284 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34285 (libc_feresetround_noex): New.
34286 (libc_feresetround_noexf): New.
34287 (libc_feresetround_noexl): New.
34288 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34289 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34290 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34291 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34292 SET_RESTORE_ROUND.
34293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34294 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34295 (__cos): Likewise.
34296 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34297 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34298 SET_RESTORE_ROUND_NOEX.
34299 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34300 SET_RESTORE_ROUND_NOEXF.
34301 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34302 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34303 (libc_feholdsetroundf): New.
34304 (libc_feresetround, libc_feresetroundf): New.
34305
7d2e8012
RH
34306 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34307 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34308 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34309
b4dabbb4
RH
34310 * sysdeps/generic/math_private.h: Include <fenv.h>.
34311 (default_libc_feholdexcept): New.
34312 (default_libc_feholdexcept_setround): New.
34313 (default_libc_fesetenv, default_libc_feupdateenv): New.
34314 (libc_feholdexcept): Only define if undefined.
34315 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34316 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34317 (libc_feholdexcept_setroundl): Likewise.
34318 (libc_feholdexcept_setround_53bit): Likewise.
34319 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34320 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34321 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34322 (libc_feupdateenv_53bit): Likewise.
34323 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34324 (libc_feholdexcept): Convert from macro to inline function.
34325 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34326 (libc_fesetenv, libc_feupdateenv): Likewise.
34327
4851a949
RH
34328 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34329 not previously defined.
34330 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34331 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34332 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34333 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34334 * sysdeps/ieee754/flt-32/math_private.h: New file.
34335 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34336 math_private.h below SET_FLOAT_WORD.
34337 (__isnan, __isinf_ns, __finite): Remove.
34338 (__isnanf, __isinf_nsf, __finitef): Remove.
34339
e79d442e
AS
343402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34341
34342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34343
90b80344
DM
343442012-03-17 David S. Miller <davem@davemloft.net>
34345
34346 [BZ #6471]
34347 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34348 for 2.16.
34349
edc21804
DM
343502012-03-16 David S. Miller <davem@davemloft.net>
34351
77e927af
DM
34352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34353 warnings.
34354
374976dd
DM
34355 [BZ #6471]
34356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34357 properly.
34358 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34359 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34360 sysdep_routines when subdir is sysvipc.
34361 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34362 __getshmlba helper.
34363
edc21804
DM
34364 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34365
473c3ef3
L
343662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34367
34368 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34369 [__LP64__].
34370
eb0f39b6
L
343712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34372
34373 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34374 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34375 (__lround): Renamed to ...
34376 (__llround): This. Replace long int with long long int.
34377 Define lround functions as aliases of llround functions.
34378 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34379
6b6cd74b
L
343802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34381
34382 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34383 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34384 adresses to uintptr_t. Replace "long int" and "unsigned long
34385 int" with "greg_t" on va_arg.
34386
f1a77b01
L
343872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34390 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34391
34392 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34393 Move e_machine check before EI_CLASS check. Handle x32
34394 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34395 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34396 SKIP_EM_IA_64 and include
34397 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34398
34399 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34400 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34401 (add_system_dir): New macro.
34402
34403 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34404 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34405
11b90b9f
JM
344062012-03-16 Joseph Myers <joseph@codesourcery.com>
34407
c36e1d23
JM
34408 [BZ #2551]
34409 [BZ #2552]
34410 [BZ #2553]
34411 [BZ #2554]
34412 [BZ #2562]
34413 [BZ #2563]
34414 [BZ #2565]
34415 [BZ #2566]
34416 [BZ #2576]
34417 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34418 (y0): Likewise.
34419 * math/w_j0f.c (j0f): Likewise.
34420 (y0f): Likewise.
34421 * math/w_j0l.c (__j0l): Likewise.
34422 (__y0l): Likewise.
34423 * math/w_j1.c (j1): Likewise.
34424 (y1): Likewise.
34425 * math/w_j1f.c (j1f): Likewise.
34426 (y1f): Likewise.
34427 * math/w_j1l.c (__j1l): Likewise.
34428 (__y1l): Likewise.
34429 * math/w_jn.c (jn): Likewise.
34430 (yn): Likewise.
34431 * math/w_jnf.c (jnf): Likewise.
34432 (ynf): Likewise.
34433 * math/w_jnl.c (__jnl): Likewise.
34434 (__ynl): Likewise.
34435 * math/libm-test.inc (j0_test): Add more tests.
34436 (j1_test): Likewise.
34437 (jn_test): Likewise. Add trailing semicolon to existing test.
34438 (y0_test): Likewise.
34439 (y1_test): Likewise.
34440 * sysdeps/i386/fpu/libm-test-ulps: Update.
34441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442
11b90b9f
JM
34443 [BZ #13851]
34444 [BZ #13854]
34445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34446 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34447 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34448 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34449 (__tanl): Set errno for infinite argument.
34450 * sysdeps/i386/fpu/mptan.c: Remove.
34451 * sysdeps/i386/fpu/s_tan.S: Likewise.
34452 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34453 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34454 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34455 * math/libm-test.inc (tan_test): Add more tests and enable more
34456 tests for double and long double.
34457 * sysdeps/i386/fpu/libm-test-ulps: Update.
34458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34459
6a1bd2a1
JK
344602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34461
34462 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34463 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34464
10a803e0
RM
344652012-03-16 Roland McGrath <roland@hack.frob.com>
34466
34467 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34468 * configure.in: Use it for both main tree and add-ons.
34469 * configure: Regenerated.
34470
f196c7f7
L
344712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34472
34473 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34474
8848d99d
JM
344752012-03-16 Joseph Myers <joseph@codesourcery.com>
34476
96cbe7f4
JM
34477 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34478 in comment.
34479
8848d99d
JM
34480 [BZ #13851]
34481 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34482 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34486 infinite argument.
34487 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34489 != 0 for prec == 2.
34490 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34491 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34492 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34493 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34494 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34495 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34496 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34497 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34498 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34499 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34500 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34501 * math/libm-test.inc (cos_test): Add more tests and enable more
34502 tests for long double.
34503 (sin_test): Likewise.
34504 (sincos_test): Likewise.
34505 * sysdeps/i386/fpu/libm-test-ulps: Update.
34506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507
dd7f4703
DM
345082012-03-16 David S. Miller <davem@davemloft.net>
34509
34510 * sysdeps/sparc/fpu/math_private.h: New file.
34511
006f1daa
DM
345122012-03-15 David S. Miller <davem@davemloft.net>
34513
c0c83bc8
DM
34514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34515 file.
e6a62e18 34516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34518 file.
e6a62e18
DM
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34525 sysdep routines.
34526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34527
88cb87d9
DM
34528 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34529 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34530
006f1daa 34531 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34533 sparc-ifunc.h
006f1daa 34534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34536 Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34538 Likewise.
006f1daa
DM
34539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34543 Likewise.
006f1daa
DM
34544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34549 Likewise.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34551 Likewise.
006f1daa
DM
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34576
11e0098e
AS
345772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34578
34579 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34580 scaling.
34581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34582
e85b09d0
AJ
345832012-03-15 Andreas Jaeger <aj@suse.de>
34584
34585 [BZ #13852]
34586 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34587 ieee754/flt-32 implementation for sin, cos and sincos.
34588 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34589 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34590 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34591 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34592 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34593 ieee754/flt-32 implementation for tan.
34594
34595 * math/libm-test.inc (cos_test): Enable some large input tests for
34596 float as well
34597 (sin_test): Likewise.
34598 (sincos_test): Likewise.
34599 (tan_test): Add tests for large input.
34600
34601 * sysdeps/i386/fpu/libm-test-ulps: Update.
34602
81c64153
AJ
346032012-03-15 Andreas Jaeger <aj@suse.de>
34604
34605 [BZ #13658]
34606 * math/libm-test.inc (cos_test): Add more test cases.
34607 (sin_test): Likewise.
34608 (sincos_test): Likewise.
34609
7bbfa5c6
AJ
346102012-03-15 Andreas Jaeger <aj@suse.de>
34611
34612 [BZ #13837]
34613 * math/libm-test.inc (cos_test): Add a test case for large input
34614 value.
34615 (sin_test): Likewise.
34616 (sincos_test): Likewise.
34617
57f41c40
AS
346182012-03-15 Andreas Jaeger <aj@suse.de>
34619 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34620
34621 [BZ #13658]
0671f479 34622 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34623 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34624 * sysdeps/i386/fpu/branred.c: Likewise.
34625 * sysdeps/i386/fpu/dosincos.c: Likewise.
34626 * sysdeps/i386/fpu/mpa.c: Likewise.
34627 * sysdeps/i386/fpu/s_cos.S: Likewise.
34628 * sysdeps/i386/fpu/s_sin.S: Likewise.
34629 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34630 * sysdeps/i386/fpu/sincos32.c: Likewise.
34631
34632 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34633 Define.
34634 (libc_feupdateenv_53bit): Define.
34635 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34636 Define.
34637 (libc_feupdateenv_53bit): Define.
34638
34639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34640 53 bit (without extend i386 double precision).
34641
34642 * math/libm-test.inc (sincos_test): Add tests for large input.
34643 (sin): Likewise.
34644 (cos): Likewise.
34645
34646 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34647
9cad04ea
AS
346482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34649
34650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34651
f7062b9a
DM
346522012-03-15 David S. Miller <davem@davemloft.net>
34653
34654 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34670 file.
f7062b9a 34671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34673 file.
f7062b9a 34674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34676 file.
f7062b9a 34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34679 file.
f7062b9a
DM
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34682 fmin/fmax sysdep routines.
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34684
7bd951ff
DM
346852012-03-14 David S. Miller <davem@davemloft.net>
34686
559398ab
DM
34687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34716 routines.
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34718 file.
559398ab 34719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34721 file.
559398ab 34722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34724 file.
559398ab 34725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34727 file.
559398ab 34728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34730 file.
559398ab 34731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34733 file.
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34735 file.
34736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34737 file.
34738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34739 file.
34740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34741 New file.
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34743 file.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34745 file.
559398ab 34746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34748 file.
559398ab 34749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34751 file.
559398ab 34752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34754 file.
559398ab 34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34757 VIS3 routines.
559398ab
DM
34758
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34760 New file.
34761
5a1c1e32
DM
34762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34763
eae47a36
DM
34764 * sysdeps/sparc/configure.in: New file.
34765 * sysdeps/sparc/configure: Generate.
34766 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34767 * configure: Regenerate.
34768 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34769 * config.make.in (have-as-vis3): New.
34770 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34771 available use -Av9d instead of -Av9a.
34772 * sysdeps/sparc/sparc64/Makefile: Likewise.
34773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34775 New file.
34776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34777 file.
34778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34779 New file.
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34781 file.
eae47a36
DM
34782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34787
c0c83bc8
DM
34788 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34789 fzeros/fnegs to load 0x80000000 into a float register instead of
34790 using the stack.
7bd951ff
DM
34791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34792
bd951ccb
JM
347932012-03-14 Joseph Myers <joseph@codesourcery.com>
34794
34795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34796 bits/syscall.h.
34797 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34798 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34799 ($(inst_includedir)/bits/syscall.h): Remove rule.
34800 ($(objpfx)bits/syscall.d): Include instead of
34801 $(objpfx)syscall-list.d.
34802 (generated): Change syscall-list.h and syscall-list.d to
34803 bits/syscall.h and bits/syscall.d.
34804
bb4e6db2
RM
348052012-03-14 Roland McGrath <roland@hack.frob.com>
34806
34807 [BZ #13846]
34808 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34809
aa4a2ae1
JM
348102012-03-14 Joseph Myers <joseph@codesourcery.com>
34811
e456826d
JM
34812 [BZ #13841]
34813 * math/s_csqrt.c: Include <float.h>.
34814 (__csqrt): Scale large or subnormal inputs.
34815 * math/s_csqrtf.c: Likewise.
34816 * math/s_csqrtl.c: Likewise.
34817 * math/libm-test.inc (csqrt_test): Add more tests.
34818 * sysdeps/i386/fpu/libm-test-ulps: Update.
34819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34820
aa4a2ae1
JM
34821 [BZ #13840]
34822 * math/libm-test.inc (hypot_test): Add more tests.
34823
7c10fd35
DM
348242012-03-13 David S. Miller <davem@davemloft.net>
34825
34826 [BZ #13840]
34827 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34828 double-precision for the calculation instead of scaling.
34829
f453b98b
JM
348302012-03-13 Joseph Myers <joseph@codesourcery.com>
34831
34832 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34833 manipulate bits before adding and subtracting TWO52[sx].
34834 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34835 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34836 Likewise.
34837 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34838
09a3453f
DM
348392012-03-13 David S. Miller <davem@davemloft.net>
34840
8e59da90
DM
34841 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34842 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34844 rtld-global-offsets.h
34845 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34846
2a8ab7f2
DM
34847 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34848 large parameters.
34849
10f62770
DM
34850 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34851
5f0bdb18
DM
34852 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34853 'err' in the ifdef scope in which it is actually used.
34854
09a3453f
DM
34855 * nss/nss_db/db-init.c: Include string.h
34856
b4b2eb5e
DM
348572012-03-12 David S. Miller <davem@davemloft.net>
34858
98bb2f1c
DM
34859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34860 masking out of the most significant byte of random value used.
34861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34862 Fix coding style in previous change.
34863
b4b2eb5e
DM
34864 * sysdeps/unix/sysv/linux/kernel-features.h
34865 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34866 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34867 expression.
34868 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34869 later.
34870
6e226b09
DM
348712012-03-11 David S. Miller <davem@davemloft.net>
34872
a1bcbd40
DM
34873 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34874 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34876 for 'resultvar' otherwise things get truncated on 64-bit.
34877
cb9d6174
DM
34878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34879 Fix masking out of the most significant byte of random value used.
34880
6e226b09
DM
34881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34882
058c132d
AS
348832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34884
34885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34886
2d2cd515
DM
348872012-03-09 David S. Miller <davem@davemloft.net>
34888
34889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34890 variables with appropriate CPP guards.
57f41c40
AS
34891 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34892 from the frame pointer, not the stack pointer. Correct layout
34893 comments. Fix test on resulting framesize and the management of
34894 the outregs buffer for pltexit. Preserve floating point return
34895 values across _dl_call_pltexit call.
2d2cd515
DM
34896 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34897 framesize and the management of the outregs buffer for pltexit.
34898 Preserve floating point return values across _dl_call_pltexit
34899 call.
57f41c40
AS
34900 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34901 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34902 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34903 (print_exit): Fix format string for return register value.
34904
9a07f9d0
JM
349052012-03-10 Joseph Myers <joseph@codesourcery.com>
34906
34907 * sunrpc/Makefile (others): Add rpcgen.
34908 ($(objpfx)rpcgen): Remove special build rule and dependency on
34909 libc.
34910 * sunrpc/rpcgen.c: New file.
34911
547b5e30
PE
349122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34913
c524201a
PE
34914 [BZ #13673]
34915 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34916 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34917 * sysdeps/i386/crti.S: Likewise.
34918 * sysdeps/i386/crtn.S: Likewise.
34919 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34920 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34921 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34922 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34923 * sysdeps/sh/crti.S: Likewise.
34924 * sysdeps/sh/crtn.S: Likewise.
34925 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34926
7b6235f2
PE
34927 [BZ #13673]
34928 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34929 with URL.
34930 * locale/programs/locfile-kw.gperf: Likewise.
34931 * locale/programs/charmap-kw.h: Regenerated.
34932 * locale/programs/locfile-kw.h: Likewise.
34933
547b5e30
PE
34934 [BZ #13673]
34935 * intl/plural.y: Replace FSF snail mail address with URL.
34936 * intl/plural.c: Regenerated.
34937
5f0a5dae
RH
349382012-03-09 Richard Henderson <rth@twiddle.net>
34939
34940 * include/math_private.h: Remove file.
34941 * math/math_private.h: Move file ...
34942 * sysdeps/generic/math_private.h: ... here.
34943
b8c03620
RH
34944 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34945 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34946 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34947
4e234f5d 34948 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34949 and <math_private.h>.
34950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34982 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34983 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34984 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34985 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34986 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34987 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34988 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34989 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34990 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34991 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34992 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34993 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34994 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34996 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34997 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34998 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34999 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35000 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35001 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35002 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35003 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35004 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35006 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35015 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35016 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35017 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35018 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35020 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35021 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35023 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35024 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35030 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35037 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35038 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35039 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35040 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35041 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35043 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35044 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35045 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35046 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35050 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35051 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35052 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35053 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35054 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35055 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35056 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35057 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35058 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35059 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35060 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35061 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35062 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35063 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35064 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35065 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35066 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35067 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35068 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35069 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35070 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35071 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35072 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35073 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35076 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35077 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35078 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35079 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35080 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35081 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35083 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35084 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35085 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35086 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35088 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35090 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35091 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35092 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35094 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35095 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35096 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35097 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35098 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35099 * sysdeps/ieee754/k_standard.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35249 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35250 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35257 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35258 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35260 * sysdeps/ieee754/s_lib_version.c: Likewise.
35261 * sysdeps/ieee754/s_matherr.c: Likewise.
35262 * sysdeps/ieee754/s_signgam.c: Likewise.
35263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35265 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35266 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35267 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35268 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35269 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35270 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35271 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35272 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35273 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35274 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35275 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35276 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35277 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35278 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35279 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35284
1991fa03
JM
352852012-03-09 Joseph Myers <joseph@codesourcery.com>
35286
35287 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35288 * sunrpc/rpc_main.c: Likewise.
35289 * sunrpc/rpc_svcout.c: Likewise.
35290
60d6f5a6
DM
352912012-03-09 David S. Miller <davem@davemloft.net>
35292
35293 * include/math_private.h: New file.
35294
4962050e
JM
352952012-03-09 Joseph Myers <joseph@codesourcery.com>
35296
02a6f887
JM
35297 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35298 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35299 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35300 from <bits/socket_type.h>.
35301 (enum __socket_type): Don't define here.
35302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35304 bits/socket_type.h.
35305
c6e013c1
JM
35306 [BZ #13566]
35307 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35308 checking __USE_GNU.
35309
4962050e
JM
35310 * Makerules ($(inst_includedir)/%.h): New rule.
35311 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35312 (install-others): Remove variable setting.
35313 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35314
38842f45
RH
353152012-03-08 Richard Henderson <rth@twiddle.net>
35316
67bb6da6
RH
35317 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35318 from macro to inline function; merge with the
35319 !__LIBC_INTERNAL_MATH_INLINES version.
35320 (__ieee754_sqrtf): Likewise.
35321
15194b4b
RH
35322 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35323 to inline function.
35324 (__rintf, __floor, __floorf): Likewise.
35325
64e21ede
RH
35326 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35327 macro to inline function.
35328 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35329
38842f45
RH
35330 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35331 not <math/math_private.h>.
35332
c64bf5fe
DM
353332012-03-08 David S. Miller <davem@davemloft.net>
35334
35335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35336 copyright year.
35337 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35338
82d86f28
TS
353392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35340
35341 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35342 normalization.
35343 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35344 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35345
aea5d727
UD
353462012-03-08 Ulrich Drepper <drepper@gmail.com>
35347
35348 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35349 be defined individually, they must be defined as a block. Define
35350 S for printing a string instead of hidint the different by using a
35351 macro for adding the 'l'.
35352 * stdio-common/tst-fphex-wide.c: Adjust.
35353
70bca0a3
MP
353542012-03-07 Marek Polacek <polacek@redhat.com>
35355
35356 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35357
65b81130
MP
353582012-03-08 Marek Polacek <polacek@redhat.com>
35359
35360 [BZ #13806]
35361 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35362 * stdio-common/tst-fphex.c: Define a few macros to make the
35363 test reusable. Use them.
35364 * stdio-common/tst-fphex-wide.c: New file.
35365
07037eeb
JM
353662012-03-08 Joseph Myers <joseph@codesourcery.com>
35367
a7a93d50
JM
35368 [BZ #6911]
35369 * manual/macros.texi (gnusystems): New macro.
35370 (nongnusystems): Likewise.
35371 (gnulinuxhurdsystems): Likewise.
35372 (gnuhurdsystems): Likewise..
35373 (gnulinuxsystems): Likewise.
35374 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35375 variants of the GNU system, not "GNU system".
35376 * manual/conf.texi: Likewise.
35377 * manual/errno.texi: Likewise. Update example of errno macro
35378 expansion.
35379 * manual/filesys.texi: Likewise.
35380 (getumask): Document as specific to GNU/Hurd.
35381 * manual/install.texi: Likewise. Reword some references to
35382 GNU/Linux.
35383 * manual/intro.texi: Likewise.
35384 * manual/io.texi: Likewise.
35385 (File Name Portability): Detail which constraints are inapplicable
35386 to all GNU systems and which are only inapplicable to GNU/Hurd.
35387 * manual/job.texi: Likewise.
35388 * manual/llio.texi: Likewise.
35389 (O_NOCTTY): Document as present on GNU/Linux.
35390 * manual/maint.texi: Likewise.
35391 * manual/memory.texi: Likewise.
35392 * manual/pattern.texi: Likewise.
35393 * manual/pipe.texi: Likewise.
35394 * manual/process.texi: Likewise.
35395 * manual/resource.texi: Likewise.
35396 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35397 child on GNU/Hurd.
35398 * manual/setjmp.texi: Likewise.
35399 * manual/signal.texi: Likewise.
35400 * manual/startup.texi: Likewise.
35401 * manual/stdio.texi: Likewise.
35402 * manual/terminal.texi: Likewise.
35403 (ONLCR): Document as POSIX.
35404 (OXTABS): Document availability on GNU/Linux as XTABS.
35405 (ONOEOT): Document availability separately from other bits.
35406 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35407 * manual/time.texi: Likewise.
35408 * manual/users.texi: Likewise.
35409 * INSTALL: Regenerated.
35410 * sysdeps/gnu/errlist.c: Regenerated.
35411
07037eeb
JM
35412 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35413 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35414 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35415 puts.
35416 * configure: Regenerated.
35417
d1d3431a
JM
354182012-03-07 Joseph Myers <joseph@codesourcery.com>
35419
af6a1e37
JM
35420 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35421 default includes instead of AC_HEADER_CHECK.
35422 * sysdeps/i386/configure: Regenerated.
35423
d1d3431a
JM
35424 [BZ #10716]
35425 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35426 * math/s_cacoshf.c (__cacoshf): Likewise.
35427 * math/s_cacoshl.c (__cacoshl): Likewise.
35428 * math/s_casinh.c (__casinh): Set signs of result from argument.
35429 * math/s_casinhf.c (__casinhf): Likewise.
35430 * math/s_casinhl.c (__casinhl): Likewise.
35431 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35432 (casinh_test): Add more tests.
35433 * sysdeps/i386/fpu/libm-test-ulps: Update.
35434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35435
482ff4da
UD
354362012-03-07 Ulrich Drepper <drepper@gmail.com>
35437
872fda05
UD
35438 * po/zh_TW.po: Update from translation team.
35439
a4300c7a
UD
35440 * login/Makefile (distribute): Remove variable.
35441 * catgets/Makefile: Likewise.
35442 * mach/Makefile: Likewise.
35443 * malloc/Makefile: Likewise.
35444 * misc/Makefile: Likewise.
35445 * iconv/Makefile: Likewise.
35446 * nscd/Makefile: Likewise.
35447 * hurd/Makefile: Likewise.
35448 * manual/Makefile: Likewise.
35449 * locale/Makefile: Likewise.
35450 * intl/Makefile: Likewise.
35451 * conform/Makefile: Likewise.
35452 * nss/Makefile: Likewise.
35453 * time/Makefile: Likewise.
35454 * soft-fp/Makefile: Likewise.
35455 * dirent/Makefile: Likewise.
35456 * gmon/Makefile: Likewise.
35457 * po/Makefile: Likewise.
35458 * rt/Makefile: Likewise.
35459 * socket/Makefile: Likewise.
35460 * math/Makefile: Likewise.
35461 * signal/Makefile: Likewise.
35462 * debug/Makefile: Likewise.
35463 * elf/Makefile: Likewise.
35464 * timezone/Makefile: Likewise.
35465 * stdlib/Makefile: Likewise.
35466 * iconvdata/Makefile: Likewise.
35467 * sunrpc/Makefile: Likewise.
35468 * io/Makefile: Likewise.
35469 * argp/Makefile: Likewise.
35470 * inet/Makefile: Likewise.
35471 * hesiod/Makefile: Likewise.
35472 * grp/Makefile: Likewise.
35473 * csu/Makefile: Likewise.
35474 * wctype/Makefile: Likewise.
35475 * crypt/Makefile: Likewise.
35476 * libio/Makefile: Likewise.
35477 * string/Makefile: Likewise.
35478 * nis/Makefile: Likewise.
35479 * resolv/Makefile: Likewise.
35480 * stdio-common/Makefile: Likewise.
35481 * wcsmbs/Makefile: Likewise.
35482 * dlfcn/Makefile: Likewise.
35483 * posix/Makefile: Likewise.
35484
3b7c4e74 35485 [BZ #6959]
482ff4da
UD
35486 * timezone/Makefile: Don't install timezone files, just the programs
35487 and scripts.
35488
f72ed77d
UD
354892012-03-06 Ulrich Drepper <drepper@gmail.com>
35490
a000466f
UD
35491 * nss/databases.def: Add missing gshadow entry.
35492
f72ed77d
UD
35493 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35494
a53b7a4e
MP
354952012-03-06 Marek Polacek <polacek@redhat.com>
35496
35497 [BZ #13726]
35498 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35499 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35500 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35501 * stdio-common/tst-long-dbl-fphex.c: New file.
35502
e9258400
DM
355032012-03-06 David S. Miller <davem@davemloft.net>
35504
35505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35506 (set_obp_int): New function.
35507 (get_obp_int): New function.
35508 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35510 Avoid unused variable warnings on 'val' and use builtin_expect.
35511 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35512 __builtin_expect.
e9258400
DM
35513 (INLINE_CLONE_SYSCALL): Likewise.
35514
3bd2c723
DM
355152012-03-05 David S. Miller <davem@davemloft.net>
35516
35517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35518
bbb78d03
AS
355192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35520
884c5db4
AS
35521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35522
bbb78d03
AS
35523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35524 only for |x| >= 40.
35525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35526
1c9f702a 355272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35528
35529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35530 Replace gettimeofday with __vdso_gettimeofday.
35531
7be16f82
RM
35532 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35533 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35534 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35535
35536 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35537 time with __vdso_time.
35538
ed58a00f
JM
355392012-03-05 Joseph Myers <joseph@codesourcery.com>
35540
35541 * manual/lang.texi (size_t): Note types to which size_t may be
35542 equivalent with the GNU C Library, but do not describe when
35543 differences between them are significant.
35544
30ee4ced
AJ
355452012-03-05 Andreas Jaeger <aj@suse.de>
35546
35547 * sysdeps/i386/fpu/libm-test-ulps: Update.
35548
b7cd39e8
JM
355492012-03-05 Joseph Myers <joseph@codesourcery.com>
35550
35551 [BZ #3976]
35552 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35553 (__ieee754_pow): Save and restore rounding mode and use
35554 round-to-nearest for main computations.
35555 * math/libm-test.inc (pow_test_tonearest): New function.
35556 (pow_test_towardzero): Likewise.
35557 (pow_test_downward): Likewise.
35558 (pow_test_upward): Likewise.
35559 (main): Call the new functions.
35560 * sysdeps/i386/fpu/libm-test-ulps: Update.
35561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35562
35563 [BZ #3976]
35564 * math/libm-test.inc (cosh_test_tonearest): New function.
35565 (cosh_test_towardzero): Likewise.
35566 (cosh_test_downward): Likewise.
35567 (cosh_test_upward): Likewise.
35568 (sinh_test_tonearest): Likewise.
35569 (sinh_test_towardzero): Likewise.
35570 (sinh_test_downward): Likewise.
35571 (sinh_test_upward): Likewise.
35572 (main): Call the new functions.
35573 * sysdeps/i386/fpu/libm-test-ulps: Update.
35574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35575
6c6a98c9
TV
355762012-03-05 Tom de Vries <tom@codesourcery.com>
35577
35578 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35579 default stack guard is set in last bytes.
35580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35581
21bb2d2e 355822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35583
21bb2d2e 35584 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35585
21bb2d2e
AJ
35586 [BZ #13656]
35587 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35588 possibly allocate from heap instead of stack.
35589 * stdio-common/bug-vfprintf-nargs.c: New file.
35590 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35591
c6922934
AS
355922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35593
35594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35595
bc957d53
MP
355962012-03-03 Marek Polacek <polacek@redhat.com>
35597
35598 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35599 * math/math_private.h: Likewise.
35600 * stdlib/tst-strtod.c: Likewise.
35601 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35602 * sysdeps/x86_64/bits/atomic.h: Likewise.
35603
6358490d
DM
356042012-03-02 David S. Miller <davem@davemloft.net>
35605
35606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35610 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35611 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35612 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35613 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35614
01ae168d
RM
356152012-03-02 Roland McGrath <roland@hack.frob.com>
35616
d9a17c07
RM
35617 [BZ #13792]
35618 * manual/examples/README: New file, says the example source files
35619 can be used under GPL>=2.
35620 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35621 line containing just "*/".
35622 * manual/examples/add.c: Add copyright header (GPL>=2).
35623 * manual/examples/argp-ex1.c: Likewise.
35624 * manual/examples/argp-ex2.c: Likewise.
35625 * manual/examples/argp-ex3.c: Likewise.
35626 * manual/examples/argp-ex4.c: Likewise.
35627 * manual/examples/atexit.c: Likewise.
35628 * manual/examples/db.c: Likewise.
35629 * manual/examples/dir.c: Likewise.
35630 * manual/examples/dir2.c: Likewise.
35631 * manual/examples/execinfo.c: Likewise.
35632 * manual/examples/filecli.c: Likewise.
35633 * manual/examples/filesrv.c: Likewise.
35634 * manual/examples/fmtmsgexpl.c: Likewise.
35635 * manual/examples/genpass.c: Likewise.
35636 * manual/examples/inetcli.c: Likewise.
35637 * manual/examples/inetsrv.c: Likewise.
35638 * manual/examples/isockad.c: Likewise.
35639 * manual/examples/longopt.c: Likewise.
35640 * manual/examples/memopen.c: Likewise.
35641 * manual/examples/memstrm.c: Likewise.
35642 * manual/examples/mkfsock.c: Likewise.
35643 * manual/examples/mkisock.c: Likewise.
35644 * manual/examples/mygetpass.c: Likewise.
35645 * manual/examples/pipe.c: Likewise.
35646 * manual/examples/popen.c: Likewise.
35647 * manual/examples/rprintf.c: Likewise.
35648 * manual/examples/search.c: Likewise.
35649 * manual/examples/select.c: Likewise.
35650 * manual/examples/setjmp.c: Likewise.
35651 * manual/examples/sigh1.c: Likewise.
35652 * manual/examples/sigusr.c: Likewise.
35653 * manual/examples/stpcpy.c: Likewise.
35654 * manual/examples/strdupa.c: Likewise.
35655 * manual/examples/strftim.c: Likewise.
35656 * manual/examples/strncat.c: Likewise.
35657 * manual/examples/subopt.c: Likewise.
35658 * manual/examples/swapcontext.c: Likewise.
35659 * manual/examples/termios.c: Likewise.
35660 * manual/examples/testopt.c: Likewise.
35661 * manual/examples/testpass.c: Likewise.
35662 * manual/examples/timeval_subtract.c: Likewise.
35663
01ae168d
RM
35664 [BZ #13792]
35665 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35666 function to ...
35667 * manual/timeval_subtract.c.texi: ... here, new file.
35668
49efa33d
DM
356692012-03-02 David S. Miller <davem@davemloft.net>
35670
35671 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35672
28afd92d
JM
356732012-03-02 Joseph Myers <joseph@codesourcery.com>
35674
804360ed
JM
35675 [BZ #3976]
35676 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35677 (__sin): Save and restore rounding mode and use round-to-nearest
35678 for all computations.
35679 (__cos): Save and restore rounding mode and use round-to-nearest
35680 for all computations.
35681 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35682 <fenv.h>.
35683 (tan): Save and restore rounding mode and use round-to-nearest for
35684 all computations.
35685 * math/libm-test.inc (cos_test_tonearest): New function.
35686 (cos_test_towardzero): Likewise.
35687 (cos_test_downward): Likewise.
35688 (cos_test_upward): Likewise.
35689 (sin_test_tonearest): Likewise.
35690 (sin_test_towardzero): Likewise.
35691 (sin_test_downward): Likewise.
35692 (sin_test_upward): Likewise.
35693 (tan_test_tonearest): Likewise.
35694 (tan_test_towardzero): Likewise.
35695 (tan_test_downward): Likewise.
35696 (tan_test_upward): Likewise.
35697 (main): Call the new functions.
35698 * sysdeps/i386/fpu/libm-test-ulps: Update.
35699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35700
a6d06d7b
JM
35701 [BZ #10135]
35702 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35703 small n, then large n, before computing and testing k+n.
35704 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35706 Likewise.
35707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35708 Likewise.
35709 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35710 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35712 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35717 * math/libm-test.inc (scalbn_test): Add more tests.
35718 (scalbln_test): Likewise.
35719
07e12bb3
JM
35720 * manual/filesys.texi (mode_t): Describe constraints on size and
35721 signedness, not exact equivalence to a particular type.
35722 (ino_t): Likewise.
35723 (ino64_t): Likewise.
35724 (dev_t): Likewise.
35725 (nlink_t): Likewise.
35726 (blkcnt_t): Likewise.
35727 (blkcnt64_t): Likewise.
35728 * manual/llio.texi (off_t): Likewise.
35729
28afd92d
JM
35730 [BZ #3976]
35731 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35732 (__ieee754_exp): Save and restore rounding mode and use
35733 round-to-nearest for all computations.
35734 * math/libm-test.inc (exp_test_tonearest): New function.
35735 (exp_test_towardzero): Likewise.
35736 (exp_test_downward): Likewise.
35737 (exp_test_upward): Likewise.
35738 (main): Call the new functions.
35739 * sysdeps/i386/fpu/libm-test-ulps: Update.
35740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35741
b1eeb65d
CD
357422012-03-01 Chris Demetriou <cgd@google.com>
35743
35744 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35745 have predictable order.
35746
53362a4b
DM
357472012-03-01 David S. Miller <davem@davemloft.net>
35748
3c969083
DM
35749 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35750
759707de
DM
35751 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35752 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35753 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35754 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35755
dfdb8ff2
DM
35756 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35757 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35758 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35760 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35761 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35762 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35763 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35764 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35765
ead89f96
DM
35766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35767
7f66bd07
DM
35768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35769 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35771
53362a4b
DM
35772 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35773 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35774 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35775 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35776 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35779 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35780 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35781 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35782 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35783 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35785 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35788 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35789 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35790 * sysdeps/sparc/elf/configure: Regenerated.
35791
7b1902cb
JM
357922012-03-01 Joseph Myers <joseph@codesourcery.com>
35793
bec039bc
JM
35794 * configure.in (AS, LD): Require binutils 2.20 or later.
35795 * configure: Regenerated.
35796 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35797 as required minimum version.
35798 * INSTALL: Regenerated.
35799
7b1902cb
JM
35800 [BZ #2541]
35801 [BZ #4108]
35802 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35803 before squaring exponent.
35804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35805 bottom long double and 27 bits of top long double before squaring
35806 exponent.
35807 * math/libm-test.inc (erfc_test): Add more tests.
35808 * sysdeps/i386/fpu/libm-test-ulps: Update.
35809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35811
f775c276
KT
358122012-03-01 Kai Tietz <ktietz@redhat.com>
35813
35814 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35815 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35816 containing bit-fields.
35817 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35818 * soft-fp/single.h (_FP_UNION_S): Likewise.
35819 * soft-fp/double.h (_FP_UNION_D): Likewise.
35820
5b8a4d4a
JM
358212012-02-29 Joseph Myers <joseph@codesourcery.com>
35822
0bab47b6
JM
35823 [BZ #13786]
35824 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35825 not include ../strcmp.S.
35826 [USE_AS_STRNCASECMP_L]: Likewise.
35827 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35828 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35829 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35830 (__strncasecmp_l_ia32): Define as alias to
35831 __strncasecmp_l_nonascii.
35832
0fcad3e2
JM
35833 [BZ #5794]
35834 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35835 * sysdeps/i386/fpu/libm-test-ulps: Update.
35836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35837
5b8a4d4a
JM
35838 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35840
8fdceb2e
JL
358412012-02-29 Jeff Law <law@redhat.com>
35842
35843 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35844 out of bounds read.
35845
1f393a11
MP
358462012-02-29 Marek Polacek <polacek@redhat.com>
35847
35848 [BZ #13706]
35849 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35850 * elf/Makefile: Add rules to run tst-unused-dep.out.
35851
8847f037
DM
358522012-02-28 David S. Miller <davem@davemloft.net>
35853
35854 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35855 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35857 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35858 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35859 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35860
169d7f11
JM
358612012-02-29 Joseph Myers <joseph@codesourcery.com>
35862
35863 * math/libm-test.inc (llround_test): Move one test from
35864 lround_test. Use TEST_f_L in moved test.
35865 (lround_test): Move misplaced test to llround_test. Add testcase
35866 from bug 2561.
35867
39adf059
UD
358682012-02-28 Ulrich Drepper <drepper@gmail.com>
35869
35870 * sysdeps/x86_64/fpu/e_expf.S: New file.
35871 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35872
71b5d1c5
SB
358732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35874
35875 [BZ #13637]
35876 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35877 of remain_len that may cause incomplete multi-byte character and
35878 false match.
35879 * posix/bug-regex33.c: New file.
35880 * posix/Makefile (tests): Add bug-regex33.
35881
1f77f049
JM
358822012-02-28 Joseph Myers <joseph@codesourcery.com>
35883
35884 * manual/macros.texi: New file.
35885 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35886 * manual/libc.texinfo: Include macros.texi.
35887 * manual/creatute.texi: Likewise.
35888 * manual/install.texi: Likewise.
35889 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35890 @glibcadj{} in references to the GNU C Library.
35891 * manual/charset.texi: Likewise.
35892 * manual/conf.texi: Likewise.
35893 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35894 when not using those macros.
35895 * manual/creature.texi: Likewise.
35896 * manual/crypt.texi: Likewise.
35897 * manual/errno.texi: Likewise.
35898 * manual/filesys.texi: Likewise.
35899 * manual/header.texi: Likewise.
35900 * manual/install.texi: Likewise.
35901 * manual/intro.texi: Likewise.
35902 * manual/io.texi: Likewise.
35903 * manual/job.texi: Likewise.
35904 * manual/lang.texi: Likewise.
35905 * manual/libc.texiinfo: Likewise.
35906 * manual/llio.texi: Likewise.
35907 * manual/locale.texi: Likewise.
35908 * manual/maint.texi: Likewise.
35909 * manual/math.texi: Likewise.
35910 * manual/memory.texi: Likewise.
35911 * manual/message.texi: Likewise.
35912 * manual/nss.texi: Likewise.
35913 * manual/pattern.texi: Likewise.
35914 * manual/process.texi: Likewise.
35915 * manual/resource.texi: Likewise.
35916 * manual/search.texi: Likewise.
35917 * manual/setjmp.texi: Likewise.
35918 * manual/signal.texi: Likewise.
35919 * manual/socket.texi: Likewise.
35920 * manual/startup.texi: Likewise.
35921 * manual/stdio.texi: Likewise.
35922 * manual/string.texi: Likewise.
35923 * manual/sysinfo.texi: Likewise.
35924 * manual/syslog.texi: Likewise.
35925 * manual/terminal.texi: Likewise.
35926 * manual/time.texi: Likewise.
35927 * manual/users.texi: Likewise.
35928 * INSTALL: Regenerated.
35929 * NOTES: Regenerated.
d40c5d54 35930 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35931
450bf206
AS
359322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35933
35934 * include/dirent.h: Include <dirstream.h> before
35935 <dirent/dirent.h>.
35936
741a235b
DM
359372012-02-28 David S. Miller <davem@davemloft.net>
35938
35939 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35940 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35941 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35942 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35943
d6b5aa58
DM
359442012-02-27 David S. Miller <davem@davemloft.net>
35945
1aff59a3
DM
35946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35948 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35949 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35950
d6b5aa58
DM
35951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35952 frame pointer instead of stack pointer relative arg slot.
35953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35954 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35955 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35956
433f48bf
CD
359572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35958
35959 [BZ #3992]
35960 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35961
d674b76d
DM
359622012-02-27 David S. Miller <davem@davemloft.net>
35963
35964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35968 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35969 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35970 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35971 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35972
0e7727f7
JM
359732012-02-27 Joseph Myers <joseph@codesourcery.com>
35974
35975 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35976 later. Allow versions 5-9.
43be4ca2 35977 * configure: Regenerated.
0e7727f7
JM
35978 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35979 required minimum version and 4.6 as recommended version. Do not
35980 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35981 * INSTALL: Regenerated.
0e7727f7 35982
a78bc654
DM
359832012-02-27 David S. Miller <davem@davemloft.net>
35984
428d5830
DM
35985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35989 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35990 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35991 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35992 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35993
a78bc654
DM
35994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35995 manipulate bits before adding and subtracting TWO112[sx].
35996 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35997
4579f81c
RM
359982012-02-27 Roland McGrath <roland@hack.frob.com>
35999
36c8acb4
RM
36000 [BZ #13775]
36001 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36002 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36003 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36004 being in POSIX, because they are in 1003.1-2008.
36005
84ad622b
RM
36006 * rt/tst-aio.c: Include <fcntl.h>.
36007 * rt/tst-aio7.c: Likewise.
36008 * rt/tst-aio64.c: Likewise.
36009
4579f81c
RM
36010 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36011
abd923db
JM
360122012-02-27 Joseph Myers <joseph@codesourcery.com>
36013
36014 * manual/install.texi (--with-headers): Describe headers as
36015 interface headers, not private headers.
36016 (Specific advice for GNU/Linux systems): Describe use of headers
36017 from "make headers_install", not private headers from older
36018 kernels.
43be4ca2 36019 * INSTALL: Regenerated.
abd923db
JM
36020 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36021 Change to 2.6.19.
36022 * sysdeps/unix/sysv/linux/configure: Regenerated.
36023
6664049b
JM
36024 * manual/llio.texi (fclean): Remove documentation.
36025
bb8b6697
JM
36026 * manual/Makefile (libc-texi-generated): New variable. Include
36027 version.texi.
36028 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36029 $(libc-texi-generated), not duplicated list of files.
36030 (version.texi, stamp-version): New rules.
36031 (realclean): Remove $(libc-texi-generated), not individual files
36032 from that list. Do not remove dir-add.texinfo.
36033 * manual/libc.texinfo: Comment out uses of edition numbers and
36034 references to printed manual. Remove last-updated dates.
36035 (EDITION): Comment out.
36036 (ISBN): Likewise.
36037 (VERSION, UPDATED): Remove.
36038 (version.texi): Include.
36039
12e5c3b9
AS
360402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36041
36042 * sysdeps/posix/spawni.c: Include <signal.h>.
36043 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36044 * sysdeps/pthread/aio_fsync.c: Likewise.
36045
4efeffc1 360462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36047
ba63ba08
UD
36048 * conform/Makefile (tests): Run only when not cross-compiling and
36049 when fast-check is not defined.
36050
d94a4670
UD
36051 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36052 * conform/data/limits.h-data: Fixes for POSIX2008.
36053 * conform/run-conformtest.sh: Run all tests.
36054 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36055 headers.
36056 * include/bits/dlfcn.h: Likewise.
36057 * include/langinfo.h: Likewise.
36058 * include/monetary.h: Likewise.
36059 * include/sys/poll.h: Likewise.
36060
36061 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36062 for __USE_GNU.
36063 * posix/spawn.h: Define __need_sigset_t.
36064 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36065 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36066 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36067 to get sigevent_t only.
36068 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36069 only for __USE_GNU.
36070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36071 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36072 process_vm_writev only for __USE_GNU.
36073 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36074
36075 * conform/Makefile: For now ignore errors from run-conformtest.
36076 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36077 POSIX to avoid namespace pollution. Don't prepend headers.
36078 * conform/data/aio.h-data: Fixes for POSIX testing.
36079 * conform/data/fcntl.h-data: Likewise.
36080 * conform/data/glob.h-data: Likewise.
36081 * conform/data/grp.h-data: Likewise.
36082 * conform/data/pthread.h-data: Likewise.
36083 * conform/data/pwd.h-data: Likewise.
36084 * conform/data/signal.h-data: Likewise.
36085 * conform/data/spawn.h-data: Likewise.
36086 * conform/data/stdio.h-data: Likewise.
36087 * conform/data/stdlib.h-data: Likewise.
36088 * conform/data/stropts.h-data: Likewise.
36089 * conform/data/sys/mman.h-data: Likewise.
36090 * conform/data/sys/stat.h-data: Likewise.
36091 * conform/data/sys/types.h-data: Likewise.
36092 * conform/data/sys/wait.h-data: Likewise.
36093 * conform/data/time.h-data: Likewise.
36094 * conform/data/unistd.h-data: Likewise.
36095 * conform/data/utime.h-data: Likewise.
36096
36097 * io/sys/stat.h: fchmod was always in POSIX.
36098 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36099 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36100 * rt/aio.h: Define __need_timespec before including <time.h>.
36101 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36102 struct. Add forward declaration of pthread_attr_t and use it in
36103 sigevent.
36104 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36105 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36106 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36107 always remove CLK_TCK definition.
36108
c20105c3
AS
361092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36110
36111 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36112
7a270350
UD
361132012-02-25 Ulrich Drepper <drepper@gmail.com>
36114
31341567
UD
36115 * conform/run-conformtest.sh: New file.
36116 * conform/Makefile: Run run-conformtest for tests.
36117 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36118 support.
36119
36120 * conform/data/uchar.h-data: New file.
36121 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36122 * conform/data/arpa/inet.h-data: Likewise.
36123 * conform/data/assert.h-data: Likewise.
36124 * conform/data/complex.h-data: Likewise.
36125 * conform/data/cpio.h-data: Likewise.
36126 * conform/data/ctype.h-data: Likewise.
36127 * conform/data/dirent.h-data: Likewise.
36128 * conform/data/dlfcn.h-data: Likewise.
36129 * conform/data/errno.h-data: Likewise.
36130 * conform/data/fcntl.h-data: Likewise.
36131 * conform/data/float.h-data: Likewise.
36132 * conform/data/fmtmsg.h-data: Likewise.
36133 * conform/data/fnmatch.h-data: Likewise.
36134 * conform/data/ftw.h-data: Likewise.
36135 * conform/data/glob.h-data: Likewise.
36136 * conform/data/grp.h-data: Likewise.
36137 * conform/data/iconv.h-data: Likewise.
36138 * conform/data/inttypes.h-data: Likewise.
36139 * conform/data/langinfo.h-data: Likewise.
36140 * conform/data/libgen.h-data: Likewise.
36141 * conform/data/limits.h-data: Likewise.
36142 * conform/data/locale.h-data: Likewise.
36143 * conform/data/math.h-data: Likewise.
36144 * conform/data/monetary.h-data: Likewise.
36145 * conform/data/mqueue.h-data: Likewise.
36146 * conform/data/ndbm.h-data: Likewise.
36147 * conform/data/net/if.h-data: Likewise.
36148 * conform/data/netdb.h-data: Likewise.
36149 * conform/data/netinet/in.h-data: Likewise.
36150 * conform/data/nl_types.h-data: Likewise.
36151 * conform/data/poll.h-data: Likewise.
36152 * conform/data/pthread.h-data: Likewise.
36153 * conform/data/pwd.h-data: Likewise.
36154 * conform/data/regex.h-data: Likewise.
36155 * conform/data/sched.h-data: Likewise.
36156 * conform/data/search.h-data: Likewise.
36157 * conform/data/semaphore.h-data: Likewise.
36158 * conform/data/setjmp.h-data: Likewise.
36159 * conform/data/signal.h-data: Likewise.
36160 * conform/data/spawn.h-data: Likewise.
36161 * conform/data/stdarg.h-data: Likewise.
36162 * conform/data/stdio.h-data: Likewise.
36163 * conform/data/stdlib.h-data: Likewise.
36164 * conform/data/string.h-data: Likewise.
36165 * conform/data/strings.h-data: Likewise.
36166 * conform/data/stropts.h-data: Likewise.
36167 * conform/data/sys/ipc.h-data: Likewise.
36168 * conform/data/sys/mman.h-data: Likewise.
36169 * conform/data/sys/msg.h-data: Likewise.
36170 * conform/data/sys/resource.h-data: Likewise.
36171 * conform/data/sys/select.h-data: Likewise.
36172 * conform/data/sys/sem.h-data: Likewise.
36173 * conform/data/sys/shm.h-data: Likewise.
36174 * conform/data/sys/socket.h-data: Likewise.
36175 * conform/data/sys/stat.h-data: Likewise.
36176 * conform/data/sys/statvfs.h-data: Likewise.
36177 * conform/data/sys/time.h-data: Likewise.
36178 * conform/data/sys/timeb.h-data: Likewise.
36179 * conform/data/sys/times.h-data: Likewise.
36180 * conform/data/sys/types.h-data: Likewise.
36181 * conform/data/sys/uio.h-data: Likewise.
36182 * conform/data/sys/un.h-data: Likewise.
36183 * conform/data/sys/utsname.h-data: Likewise.
36184 * conform/data/sys/wait.h-data: Likewise.
36185 * conform/data/syslog.h-data: Likewise.
36186 * conform/data/tar.h-data: Likewise.
36187 * conform/data/termios.h-data: Likewise.
36188 * conform/data/utime.h-data: Likewise.
36189 * conform/data/utmpx.h-data: Likewise.
36190 * conform/data/varargs.h-data: Likewise.
36191 * conform/data/wchar.h-data: Likewise.
36192 * conform/data/wctype.h-data: Likewise.
36193 * conform/data/wordexp.h-data: Likewise.
36194
36195 * include/stropts.h: New file.
36196 * include/uchar.h: New file.
36197 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36198 * include/assert.h: Likewise.
36199 * include/ctype.h: Likewise.
36200 * include/dirent.h: Likewise.
36201 * include/dlfcn.h: Likewise.
36202 * include/fcntl.h: Likewise.
36203 * include/fnmatch.h: Likewise.
36204 * include/glob.h: Likewise.
36205 * include/grp.h: Likewise.
36206 * include/libio.h: Likewise.
36207 * include/locale.h: Likewise.
36208 * include/math.h: Likewise.
36209 * include/net/if.h: Likewise.
36210 * include/netdb.h: Likewise.
36211 * include/netinet/in.h: Likewise.
36212 * include/pthread.h: Likewise.
36213 * include/pwd.h: Likewise.
36214 * include/regex.h: Likewise.
36215 * include/sched.h: Likewise.
36216 * include/search.h: Likewise.
36217 * include/setjmp.h: Likewise.
36218 * include/signal.h: Likewise.
36219 * include/stdio.h: Likewise.
36220 * include/stdlib.h: Likewise.
36221 * include/string.h: Likewise.
36222 * include/sys/cdefs.h: Likewise.
36223 * include/sys/mman.h: Likewise.
36224 * include/sys/msg.h: Likewise.
36225 * include/sys/resource.h: Likewise.
36226 * include/sys/select.h: Likewise.
36227 * include/sys/socket.h: Likewise.
36228 * include/sys/stat.h: Likewise.
36229 * include/sys/statvfs.h: Likewise.
36230 * include/sys/time.h: Likewise.
36231 * include/sys/times.h: Likewise.
36232 * include/sys/uio.h: Likewise.
36233 * include/sys/utsname.h: Likewise.
36234 * include/sys/wait.h: Likewise.
36235 * include/termios.h: Likewise.
36236 * include/time.h: Likewise.
36237 * include/ulimit.h: Likewise.
36238 * include/unistd.h: Likewise.
36239 * include/utime.h: Likewise.
36240 * include/wchar.h: Likewise.
36241 * include/wctype.h: Likewise.
36242 * include/wordexp.h: Likewise.
36243
36244 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36245
7a270350
UD
36246 * time/time.h: TIME_UTC must be a macro.
36247 Make timespec_get available for ISO C11 only as well.
36248
7724defc
UD
362492012-02-24 Ulrich Drepper <drepper@gmail.com>
36250
36251 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36252 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36253
6b1d1d46
JM
362542012-02-24 Joseph Myers <joseph@codesourcery.com>
36255
36256 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36257
0f8bbd69
JM
362582012-02-24 Joseph Myers <joseph@codesourcery.com>
36259
36260 * manual/texinfo.tex: Update to version 2012-01-19.16.
36261
66ab80bc
JM
362622012-02-24 Joseph Myers <joseph@codesourcery.com>
36263
36264 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36265
74981cc5
RM
362662012-02-24 Roland McGrath <roland@hack.frob.com>
36267
ee968201
RM
36268 [BZ #13738]
36269 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36270 * manual/fdl-1.3.texi: New file.
36271 * manual/fdl-1.1.texi: File removed.
36272
74981cc5
RM
36273 [BZ #13738]
36274 * manual/libc.texinfo (FDL_VERSION): New @set.
36275 Use it for mention of FDL in cover text.
36276 (Documentation License): Use it in @include file name.
36277
7bb764bc
JM
362782012-02-22 Joseph Myers <joseph@codesourcery.com>
36279 Roland McGrath <roland@hack.frob.com>
36280
36281 [BZ #5461]
57f41c40
AS
36282 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36283 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36284 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36285 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36286 name.
36287 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36288
6cbeae47
JM
362892012-02-22 Joseph Myers <joseph@codesourcery.com>
36290
36291 [BZ #2547]
36292 [BZ #11365]
36293 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36294 manipulate bits before adding and subtracting TWO23[sx].
36295 * math/libm-test.inc (nearbyint_test): Add more tests.
36296
fe45ce09
JM
362972012-02-22 Joseph Myers <joseph@codesourcery.com>
36298
36299 [BZ #2548]
36300 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36301 bits before adding and subtracting TWO23[sx].
36302 * math/libm-test.inc (rint_test): Add more tests.
36303 (rint_test_tonearest): Likewise.
36304 (rint_test_towardzero): Likewise.
36305 (rint_test_downward): Likewise.
36306 (rint_test_upward: Likewise.
36307
ff3b3d82
JM
363082012-02-22 Joseph Myers <joseph@codesourcery.com>
36309
36310 [BZ #10110]
36311 * include/stdc-predef.h: New file. Extracted from features.h.
36312 * include/features.h: Include stdc-predef.h.
36313 * Makefile (headers): Add stdc-predef.h.
36314 * CONFORMANCE (Compiler limitations): Update.
36315
ef0aab35
JM
363162012-02-22 Joseph Myers <joseph@codesourcery.com>
36317
36318 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36319
58639409
DM
363202012-02-21 David S. Miller <davem@davemloft.net>
36321
36322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36324
c0e70b25
DM
363252012-02-20 David S. Miller <davem@davemloft.net>
36326
36327 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36328 using a normal save/restore sequence, rather than allocating a
36329 dummy stack frame just to store a frame pointer and restore.
36330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36331
fb06851d
JM
363322012-02-21 Joseph Myers <joseph@codesourcery.com>
36333
36334 * manual/install.texi: Fix stray word in line-wrapped comment.
36335
7a8b71c3
DM
363362012-02-20 David S. Miller <davem@davemloft.net>
36337
d510c123
DM
36338 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36339 both binutils and gcc support GOTDATA.
36340
0722d7c2
DM
36341 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36342 "rd %pc" in the PIC register setup sequences.
36343
3d2b3019
DM
36344 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36345 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36347 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36348 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36353 (SYSCALL_ERROR_HANDLER): Likewise.
36354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36355 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36357 (SYSCALL_ERROR_HANDLER): Likewise.
36358
c80098a9
DM
36359 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36360 (HAVE_GCC_GOTDATA): New.
36361 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36362 relocation support in both binutils and gcc.
36363 * sysdeps/sparc/elf/configure: Regenerate.
36364
3a2545a0
DM
36365 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36366 * sysdeps/sparc/sparc32/elf/configure: Delete.
36367 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36368 * sysdeps/sparc/sparc64/elf/configure: Delete.
36369 * sysdeps/sparc/elf/configure.in: New file.
36370 * sysdeps/sparc/elf/configure: Generate.
36371
7a8b71c3
DM
36372 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36373 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36374 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36375 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36376 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36377
f1e86fca
JM
363782012-02-21 Joseph Myers <joseph@codesourcery.com>
36379
36380 * manual/install.texi: Do not mention specific glibc version
36381 numbers.
36382 * manual/libc.texinfo (VERSION, UPDATED): Update.
36383 (@copying): Use @copyright{} and range of years.
36384
0e7dfaef
JM
363852012-02-21 Joseph Myers <joseph@codesourcery.com>
36386
36387 [BZ #13695]
36388 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36389 [crti.S not in sysdirs] (generated): Do not append.
36390 [crti.S not in sysdirs] (omit-deps): Likewise.
36391 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36392 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36393 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36394 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36395 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36396 Likewise.
36397 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36398 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36399 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36400 * csu/defs.awk: Remove file.
36401 * sysdeps/generic/initfini.c: Likewise.
36402 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36403 variable.
36404 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36405 Likewise.
36406
599af3ca
JM
364072012-02-20 Joseph Myers <joseph@codesourcery.com>
36408
36409 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36410 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36411 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36412 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36415 <bits/epoll.h>.
36416 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36417 (__EPOLL_PACKED): Define to empty if not defined by
36418 <bits/epoll.h>.
36419 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36421 bits/epoll.h.
36422
0e499750
JM
364232012-02-20 Joseph Myers <joseph@codesourcery.com>
36424
36425 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36426 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36427 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36428 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36429 <bits/timerfd.h>.
36430 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36432 bits/timerfd.h.
36433
5ad91f6e
JM
364342012-02-20 Joseph Myers <joseph@codesourcery.com>
36435
36436 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36437 in C locale.
36438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36439 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36440 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36442
06b99b02
AJ
364432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36444
36445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36446 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36447
7638c0fd
AS
364482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36449
36450 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36451 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36452 defined.
36453 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36454 Likewise.
36455 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36456 entry for 2.16.
36457
92221550
AJ
364582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36459
36460 * math/w_acos.c: Use non-signaling floating-point comparisons.
36461 * math/w_acosf.c: Likewise.
36462 * math/w_acosh.c: Likewise.
36463 * math/w_acoshf.c: Likewise.
36464 * math/w_acoshl.c: Likewise.
36465 * math/w_acosl.c: Likewise.
36466 * math/w_asin.c: Likewise.
36467 * math/w_asinf.c: Likewise.
36468 * math/w_asinl.c: Likewise.
36469 * math/w_atanh.c: Likewise.
36470 * math/w_atanhf.c: Likewise.
36471 * math/w_atanhl.c: Likewise.
36472 * math/w_exp2.c: Likewise.
36473 * math/w_exp2f.c: Likewise.
36474 * math/w_exp2l.c: Likewise.
36475 * math/w_j0.c: Likewise.
36476 * math/w_j0f.c: Likewise.
36477 * math/w_j0l.c: Likewise.
36478 * math/w_j1.c: Likewise.
36479 * math/w_j1f.c: Likewise.
36480 * math/w_j1l.c: Likewise.
36481 * math/w_jn.c: Likewise.
36482 * math/w_jnf.c: Likewise.
36483 * math/w_log.c: Likewise.
36484 * math/w_log10.c: Likewise.
36485 * math/w_log10f.c: Likewise.
36486 * math/w_log10l.c: Likewise.
36487 * math/w_log2.c: Likewise.
36488 * math/w_log2f.c: Likewise.
36489 * math/w_log2l.c: Likewise.
36490 * math/w_logf.c: Likewise.
36491 * math/w_logl.c: Likewise.
36492 * math/w_sqrt.c: Likewise.
36493 * math/w_sqrtf.c: Likewise.
36494 * math/w_sqrtl.c: Likewise.
36495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36496 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36497 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36498 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36499 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36500
ebaf36eb
JM
365012012-02-19 Joseph Myers <joseph@codesourcery.com>
36502
36503 [BZ #9739]
36504 * manual/string.texi (strnlen): Use correct parameter name in
36505 equivalent expression.
36506
71c254a6
JM
365072012-02-19 Joseph Myers <joseph@codesourcery.com>
36508
36509 [BZ #11174]
36510 * manual/users.texi (seteuid): Consistently use neweuid for
36511 argument name.
36512
16d2c631
JM
365132012-02-19 Joseph Myers <joseph@codesourcery.com>
36514
36515 [BZ #13704]
36516 * manual/nss.texi (Services in the NSS configuration): Correct
36517 list of services in example configuration file.
36518
cd837b09
NB
365192012-02-19 Nick Bowler <nbowler@draconx.ca>
36520
36521 [BZ #11322]
36522 * manual/arith.texi: Remove statements about negative zero
36523 behaving identically to zero.
36524
02c4bbad
JM
365252012-02-18 Joseph Myers <joseph@codesourcery.com>
36526
36527 [BZ #5993]
36528 * manual/install.texi: Do not document upgrading from libc5.
36529
366842e7
JM
365302012-02-18 Joseph Myers <joseph@codesourcery.com>
36531
36532 [BZ #4596]
36533 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36534
dd54084d
DM
365352012-02-18 David S. Miller <davem@davemloft.net>
36536
36537 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36538 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36539 %o7 across the call.
36540 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36541 instead.
36542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36543 SETUP_PIC_REG_LEAF.
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36545 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36546 * sysdeps/sparc/crtn.S: Likewise.
36547
2bcc53a3
UD
365482012-02-17 Ulrich Drepper <drepper@gmail.com>
36549
36550 * aout/Makefile: Remove.
36551
09c093b5
RK
365522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36553
36554 [BZ #13058]
36555 * manual/examples/argp-ex1.c (main): Format definition in GNU
36556 style.
36557 * manual/examples/argp-ex2.c (main): Likewise.
36558 * manual/examples/argp-ex3.c (main): Likewise.
36559 * manual/examples/argp-ex4.c (main): Likewise.
36560 * manual/examples/longopt.c (main): Use new-style prototype
36561 definition.
36562 * manual/examples/strncat.c (main): Specify return type and use
36563 (void) for arguments.
36564 * manual/examples/subopt.c (main): Use char **argv argument.
36565
2ee633a2
JM
365662012-02-17 Joseph Myers <joseph@codesourcery.com>
36567
36568 [BZ #5077]
36569 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36570 rounding modes.
36571
0520adde
FB
365722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36573
36574 [BZ #6907]
36575 * manual/string.texi (strchr): Change when strchrnul is
36576 recommended.
36577
3f4081cd
DGM
365782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36579
36580 [BZ #174]
36581 * manual/locale.texi (setlocale): Document LOCPATH.
36582
d1b10e78
JM
365832012-02-17 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #10210]
36586 * manual/process.texi (execle): Move @dots{} before last argument.
36587
79c6869c
PB
365882012-02-17 Paul Bolle <pebolle@tiscali.nl>
36589
36590 [BZ #12047]
36591 * manual/charset.texi (Generic Charset Conversion): Fix typo
36592 (LC_TYPE -> LC_CTYPE).
36593
cc6e48bc
NB
365942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36595
36596 [BZ #5805]
36597 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36598 (scalbnf): Likewise.
36599 (scalbnl): Likewise.
36600 (scalbln): Likewise.
36601 (scalblnf): Likewise.
36602 (scalblnl): Likewise.
36603 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36604 (vwarnx): Likewise.
36605 (verr): Likewise.
36606 (verrx): Likewise.
36607 * manual/filesys.texi (telldir): Use braces around return type.
36608 * manual/llio.texi (mmap): Add space after comma.
36609 (mmap64): Likewise.
36610 * manual/math.texi (jn): Use @var{} on parameter names.
36611 (jnf): Likewise.
36612 (jnl): Likewise.
36613 (yn): Likewise.
36614 (ynf): Likewise.
36615 (ynl): Likewise.
36616 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36617 line.
36618 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36619 "...".
36620 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36621 (sched_get_priority_max): Likewise.
36622 * manual/signal.texi (sigvec): Add space after comma.
36623 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36624 names.
36625 (if_indextoname): Likewise.
36626 (if_freenameindex): Likewise.
36627 (sendto): Use ',' instead of '.' in prototype.
36628 * manual/startup.texi (syscall): Use @dots{} instead of literal
36629 "...".
36630 * manual/stdio.texi (__fpending): Separate initial words of
36631 paragraph from @deftypefun line.
36632 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36633 "...".
36634 (vsyslog): Use @var{} on parameter names.
36635 * manual/terminal.texi (stty): Use @var{} on parameter names.
36636 * manual/users.texi (getutmp): Use @var{} on parameter names.
36637 (getutmpx): Likewise.
36638
5b23062f
JM
366392012-02-17 Joseph Myers <joseph@codesourcery.com>
36640
36641 [BZ #6884]
36642 * manual/stdio.texi (fopen): Fix typos in description of
36643 ",ccs=STRING".
36644
8dee4833
AJ
366452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36646
36647 [BZ #4026]
36648 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36649 get clock_id definition.
36650
9078ce93
TS
366512012-02-17 Thomas Schwinge <thomas@schwinge.name>
36652
36653 [BZ #4822]
36654 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36655 (madvise): Cast every argument to void on its own.
36656
3835c55f
JM
366572012-02-17 Joseph Myers <joseph@codesourcery.com>
36658
36659 [BZ #9902]
36660 * manual/startup.texi (Exit Status): Fix typo.
36661
35c47e37
JM
366622012-02-17 Joseph Myers <joseph@codesourcery.com>
36663
36664 [BZ #10140]
36665 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36666 * manual/examples/argp-ex2.c: Likewise.
36667 * manual/examples/argp-ex3.c: Likewise.
36668
e3b69ca7
RH
366692012-02-16 Richard Henderson <rth@redhat.com>
36670
36671 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36672 * sysdeps/s390/s390-32/initfini.c: Remove.
36673 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36674 * sysdeps/s390/s390-64/initfini.c: Remove.
36675
df83af67
KK
366762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36677
36678 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36679 compiler output for sysdeps/generic/initfini.c.
36680 * sysdeps/sh/elf/initfini.c: Remove file.
36681
f63f3380
DM
366822012-02-16 David S. Miller <davem@davemloft.net>
36683
fb59b3a4
DM
36684 [BZ #11494]
36685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36686
f63f3380
DM
36687 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36688 * sysdeps/sparc/crti.S: New file.
36689 * sysdeps/sparc/crtn.S: New file.
36690 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36691 * sysdeps/sparc/sparc64/Makefile: Likewise.
36692
df6a4a4a
MF
366932012-02-15 Mike Frysinger <vapier@gentoo.org>
36694
6dd8f3dc 36695 [BZ #3335]
df6a4a4a
MF
36696 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36697
1cac7236
RM
366982012-02-15 Roland McGrath <roland@hack.frob.com>
36699
d2c736f8
RM
36700 [BZ #4822]
36701 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36702
1cac7236
RM
36703 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36704 (write, read, close): Likewise.
36705 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36706
8e475601
JM
367072012-02-15 Joseph Myers <joseph@codesourcery.com>
36708
36709 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36710 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36711 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36712 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36713 <bits/signalfd.h>.
36714 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36716 bits/signalfd.h.
36717
ed656b40
MP
367182012-02-14 Marek Polacek <polacek@redhat.com>
36719
36720 * sysdeps/x86_64/crti.S: New file.
36721 * sysdeps/x86_64/crtn.S: New file.
36722 * sysdeps/x86_64/elf/initfini.c: Remove file.
36723
2a979d3a
JM
367242012-02-13 Joseph Myers <joseph@codesourcery.com>
36725
36726 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36727 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36728 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36729 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36730 <bits/inotify.h>.
36731 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36733 bits/inotify.h.
36734
2a418ac3
JM
367352012-02-13 Joseph Myers <joseph@codesourcery.com>
36736
36737 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36738 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36739 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36740 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36741 <bits/eventfd.h>.
36742 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36744 bits/eventfd.h.
36745
fb779be7
TS
367462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36747
e19e83c5
RM
36748 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36749 __feraiseexcept instead of feraiseexcept.
7c35ffed 36750
fb779be7
TS
36751 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36752 nanosleep invocations.
36753 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36754 strings, and add error checking for a nanosleep invocations.
36755
59ba27a6
PE
367562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36757
36758 Replace FSF snail mail address with URLs, as per GNU coding standards.
36759 Most of the snail mail addresses were wrong anyway, and omitting
36760 them makes the source code easier to maintain. Almost all of the
36761 changes are to license notices and to locale LC_IDENTIFICATION
36762 addresses, except for this one:
36763 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36764 not its snail mail address.
36765
57b957eb
RH
367662012-02-09 Richard Henderson <rth@twiddle.net>
36767
af850b1c
RH
36768 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36769 of kernel-features.h.
36770
57b957eb
RH
36771 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36772
6b73181a
MP
367732012-02-08 Marek Polacek <polacek@redhat.com>
36774
36775 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36776 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36777 * sysdeps/gnu/_G_config.h: Likewise.
36778 * sysdeps/generic/_G_config.h: Likewise.
36779
26ecc33a
AS
367802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36781
6c6dbc63
AS
36782 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36783 tests.
36784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36785
e216c012
AS
36786 * sysdeps/powerpc/powerpc32/crti.S: New file.
36787 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36788 * sysdeps/powerpc/powerpc64/crti.S: New file.
36789 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36790
26ecc33a
AS
36791 * Makeconfig (have-initfini): Don't set.
36792 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36793 * configure.in (nopic_initfini): Don't substitute.
36794 * config.h.in (HAVE_INITFINI): Don't #undef.
36795 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36796 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36797
3add8e13
JM
367982012-02-08 Joseph Myers <joseph@codesourcery.com>
36799
36800 Support crti.S and crtn.S provided directly by architectures.
36801 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36802 [crti.S in sysdirs] (omit-deps): Likewise.
36803 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36804 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36805 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36806 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36807 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36808 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36809 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36810 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36811 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36812 compiler output for sysdeps/generic/initfini.c.
36813 * sysdeps/i386/elf/Makefile: Remove file.
36814 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36815
a22f12b4
MP
368162012-02-07 Marek Polacek <polacek@redhat.com>
36817
36818 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36819 * sysdeps/gnu/_G_config.h: Likewise.
36820 * sysdeps/mach/hurd/_G_config.h: Likewise.
36821
148cf100
MP
368222012-02-07 Marek Polacek <polacek@redhat.com>
36823
36824 * math/Makefile (tests): Add tst-CMPLX2.
36825 * math/tst-CMPLX2.c: New file.
36826
cfdc0dd7
AS
368272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36828
84ba42c4
AS
36829 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36830
cfdc0dd7
AS
36831 * math/libm-test.inc (jn_test): Add missing L suffix.
36832
622c86f4
MP
368332012-02-06 Marek Polacek <polacek@redhat.com>
36834
36835 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36836 * sysdeps/i386/fpu/e_powf.S: Likewise.
36837 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36838 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36839 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36840 * sysdeps/i386/fpu/e_pow.S: Likewise.
36841 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36843 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36844 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36845 * sysdeps/i386/fpu/e_log2.S: Likewise.
36846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36847 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36848 * sysdeps/i386/fpu/e_powl.S: Likewise.
36849 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36851 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36852 * sysdeps/i386/fpu/e_logl.S: Likewise.
36853 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36854 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36855 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36856 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36857 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36858 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36859 * sysdeps/i386/fpu/e_log.S: Likewise.
36860 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36862 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36863 * sysdeps/i386/fpu/e_logf.S: Likewise.
36864 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36865 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36866 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36867 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36868 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36869 * sysdeps/i386/fpu/e_log10.S: Likewise.
36870 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36872 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36873 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36874 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36875 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36876 * sysdeps/i386/asm-syntax.h: Likewise.
36877 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36878 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36880 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36881 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36882 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36883 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36884 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36885 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36886 * sysdeps/powerpc/sysdep.h: Likewise.
36887 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36888 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36889
d4a54ac6
JM
368902012-02-06 Joseph Myers <joseph@codesourcery.com>
36891
36892 [BZ #411]
36893 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36894
314054ea
JM
368952012-02-06 Joseph Myers <joseph@codesourcery.com>
36896
36897 * sysdeps/i386/sysdep.h: Include <features.h>.
36898 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36899 version.
36900
d8e0ca50
JM
369012012-02-05 Joseph Myers <joseph@codesourcery.com>
36902
36903 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36904 Define.
36905 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36906 LOAD_PIC_REG_STR.
36907
b1da7dd9
JM
369082012-02-03 Joseph Myers <joseph@codesourcery.com>
36909
36910 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36911 (SETUP_PIC_REG): Use GET_PC_THUNK.
36912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36913 macro.
36914
9a1d9254
JM
369152012-02-03 Joseph Myers <joseph@codesourcery.com>
36916
36917 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36918 for non-PIC compilation.
36919 (SETUP_PIC_REG): Add .p2align directive.
36920 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36921 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36922 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36923 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36925 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36926 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36928 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36929 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36930 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36931 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36932 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36933 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36934 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36935 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36936 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36942 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36943 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36947 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36948 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36949 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36952 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36953 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36954 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36955 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36956 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36957 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36958 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36959 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36960 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36961
65dc3b75
JM
369622012-02-03 Joseph Myers <joseph@codesourcery.com>
36963
36964 * math/tst-CMPLX.c: Include <stdio.h>.
36965
d55bf177
JM
369662012-01-31 Joseph Myers <joseph@codesourcery.com>
36967
36968 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36969 float.
36970 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36971 * sysdeps/sparc/bits/mathdef.h: Likewise.
36972
69db4f8f
MP
369732012-01-31 Marek Polacek <polacek@redhat.com>
36974
36975 * libio/libio.h: Don't define _PARAMS.
36976 * locale/programs/config.h: Don't define PARAMS.
36977 * stdlib/strtol_l.c: Likewise.
36978 (__strtol_l): Remove PARAMS from the prototype.
36979
41b81892
UD
369802012-01-31 Ulrich Drepper <drepper@gmail.com>
36981
3b49edc0
UD
36982 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36983 names. Just use the correct names. Remove unnecessary wrapper
36984 functions.
36985 * malloc/arena.c: Likewise.
36986 * malloc/hooks.c: Likewise.
36987
41b81892
UD
36988 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36989 ARENA_TEST says not to. Simplify test for creation of a new arena.
36990 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36991
27a25b6e
UD
369922012-01-30 Ulrich Drepper <drepper@gmail.com>
36993
36994 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36995 into tail calls.
36996 (update_get_addr): New function.
36997 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36998 GET_ADDR_MODULE parameter.
36999
c8a89e7d
JM
370002012-01-30 Joseph Myers <joseph@codesourcery.com>
37001
37002 * crypt/cert.c: Remove __STDC__ conditionals.
37003 * crypt/crypt-entry.c: Likewise.
37004 * crypt/crypt_util.c: Likewise.
37005 * libio/filedoalloc.c: Likewise.
37006 * libio/fileops.c: Likewise.
37007 * libio/genops.c: Likewise.
37008 * libio/iofclose.c: Likewise.
37009 * libio/iofdopen.c: Likewise.
37010 * libio/iofopen.c: Likewise.
37011 * libio/iofopen64.c: Likewise.
37012 * libio/iogetdelim.c: Likewise.
37013 * libio/iopopen.c: Likewise.
37014 * libio/obprintf.c: Likewise.
37015 * libio/oldfileops.c: Likewise.
37016 * libio/oldiofclose.c: Likewise.
37017 * libio/oldiofdopen.c: Likewise.
37018 * libio/oldiofopen.c: Likewise.
37019 * libio/oldiopopen.c: Likewise.
37020 * libio/wfiledoalloc.c: Likewise.
37021 * libio/wgenops.c: Likewise.
37022 * locale/programs/xmalloc.c: Likewise.
37023 * misc/syslog.c: Likewise.
37024 * stdio-common/xbug.c: Likewise.
37025 * string/memchr.c: Likewise.
37026 * string/memcmp.c: Likewise.
37027 * string/memrchr.c: Likewise.
37028 * string/rawmemchr.c: Likewise.
37029 * sysdeps/posix/getcwd.c: Likewise.
37030 * time/strftime_l.c: Likewise.
37031
3b100462
JM
370322012-01-30 Joseph Myers <joseph@codesourcery.com>
37033
37034 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37035 * config.make.in (config-cflags-sse2avx): Define.
37036 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37037 Fix typo.
37038
607998af
CM
370392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37040
37041 * scripts/config.guess: Update from upstream config git repository.
37042 * scripts/config.sub: Likewise.
37043
3601428f
CM
370442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37045
3ac8b282
CM
37046 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37047 (EM_NUM): Update.
37048 (R_TILEPRO_*, R_TILEGX_*): New macros.
37049
e034841e
CM
37050 * scripts/firstversions.awk: Fix bug in version range handling.
37051
540d7568
CM
37052 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37053
3601428f
CM
37054 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37055
463de862
CM
37056 * include/sys/epoll.h: New file.
37057 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37058 libc_hidden_def.
37059
73139a76
UD
370602012-01-28 Ulrich Drepper <drepper@gmail.com>
37061
96bc5b45
UD
37062 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37063 Avoid unnecessary __WORDSIZE == 64 test.
37064 (fmaxf): Use VEX format if possible.
37065 (fmax): Likewise.
37066 (fminf): Likewise.
37067 (fmin): Likewise.
37068
56f6f6a2
UD
37069 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37070 * math/math_private.h: Remove libc_fegetround* and
37071 libc_fesetround*.
37072 * sysdeps/i386/configure.in: Check for -msse2avx.
37073 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37074 also if SSE2AVX is defined.
37075 Remove libc_fegetround* and libc_fesetround*.
37076 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37077 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37078 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37079 of HAS_YMM_USABLE.
37080 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37081 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37085
73139a76
UD
37086 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37087
d73f93a4
AZ
370882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37089
37090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37091 size is not set.
37092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37093
6ee65ed6
UD
370942012-01-27 Ulrich Drepper <drepper@gmail.com>
37095
37096 [BZ #13618]
37097 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37098 relocation.
37099 * Makeconfig (libm): Define.
37100 * elf/Makefile: Add rules to build and run tst-relsort1.
37101 * elf/tst-relsort1.c: New file.
37102 * elf/tst-relsort1mod1.c: New file.
37103 * elf/tst-relsort1mod2.c: New file.
37104
8db21882
JM
371052012-01-27 Joseph Myers <joseph@codesourcery.com>
37106
37107 * math/s_ldexp.c: Remove __STDC__ conditionals.
37108 * math/s_ldexpf.c: Likewise.
37109 * math/s_ldexpl.c: Likewise.
37110 * math/s_nextafter.c: Likewise.
37111 * math/s_nexttowardf.c: Likewise.
37112 * math/s_significand.c: Likewise.
37113 * math/s_significandf.c: Likewise.
37114 * math/s_significandl.c: Likewise.
37115 * math/w_jnl.c: Likewise.
37116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37137 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37138 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37140 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37144 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37146 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37148 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37151 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37156 * sysdeps/ieee754/k_standard.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37218 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37223 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37232 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37236 * sysdeps/ieee754/s_matherr.c: Likewise.
37237 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37238 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37240 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37241
965a54a4
JM
372422012-01-26 Joseph Myers <joseph@codesourcery.com>
37243
37244 * crypt/md5.h: Remove __STDC__ conditionals.
37245 * libio/libioP.h: Likewise.
37246 * locale/programs/config.h: Likewise.
37247 * sysdeps/generic/sysdep.h: Likewise.
37248 * sysdeps/i386/asm-syntax.h: Likewise.
37249 * sysdeps/s390/asm-syntax.h: Likewise.
37250 * sysdeps/unix/sysdep.h: Likewise.
37251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37253
7071ad79
JM
372542012-01-26 Joseph Myers <joseph@codesourcery.com>
37255
37256 * libio/libio.h: Remove __STDC__ conditionals.
37257 * malloc/obstack.h: Likewise.
37258 * math/complex.h: Likewise.
37259 * math/math.h: Likewise.
37260 * sysdeps/generic/_G_config.h: Likewise.
37261 * sysdeps/gnu/_G_config.h: Likewise.
37262 * sysdeps/mach/hurd/_G_config.h: Likewise.
37263 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37264 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37265 * sysdeps/sparc/bits/mathdef.h: Likewise.
37266
afc5ed09
UD
372672012-01-26 Ulrich Drepper <drepper@gmail.com>
37268
37269 [BZ #13583]
37270 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37271 Clean up HAS_* macros.
afc5ed09 37272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37273 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37274 possible.
37275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37276 HAS_AVX.
37277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37278 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37282
bdb6de1d
JM
372832012-01-25 Joseph Myers <joseph@codesourcery.com>
37284
37285 * elf/tst-unique3.cc (gets): Remove declaration.
37286 * elf/tst-unique3lib.cc (gets): Likewise.
37287 * elf/tst-unique3lib2.cc (gets): Likewise.
37288 * elf/tst-unique4.cc (gets): Likewise.
37289
b15549e6
UD
372902012-01-24 Ulrich Drepper <drepper@gmail.com>
37291
37292 * include/stdio.h: Add C++ protection. Add gets declarations and
37293 definitions.
37294 * debug/tst-chk1.c: Don't declare gets here.
37295 * stdio-common/tst-gets.c: Likewise.
37296
a037381f
JM
372972012-01-24 Joseph Myers <joseph@codesourcery.com>
37298
37299 * posix/glob: Remove directory.
37300
f1d4aa75
JM
373012012-01-24 Joseph Myers <joseph@codesourcery.com>
37302
37303 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37304
81c0c964
PT
373052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37306
37307 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37308 of the non-standard EPFNOSUPPORT.
37309
0ea698ae
ST
373102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37311
37312 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37313 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37314 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37315
d220b117
UD
373162012-01-21 Ulrich Drepper <drepper@gmail.com>
37317
37318 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37319
3e1aa84e
UD
373202012-01-20 Ulrich Drepper <drepper@gmail.com>
37321
37322 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37323 transient errors.
37324 * nscd/grpcache.c (cache_addgr): Likewise.
37325 * nscd/hstcache.c (cache_addhst): Likewise.
37326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37327 * nscd/pwdcache.c (cache_addpw): Likewise.
37328 * nscd/servicescache.c (cache_addserv): Likewise.
37329
400aa020
UD
373302012-01-16 Ulrich Drepper <drepper@gmail.com>
37331
d77e7869
UD
37332 * malloc/malloc.c: Various cleanups.
37333 * malloc/hooks.c: Likewise.
37334
400aa020
UD
37335 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37336 * stdlib/bug-fmtmsg1.c: New file.
37337
37338 * stdlib/fmtmsg.c (init): Add missing unlock.
37339 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37340
e0a309cf
MP
373412012-01-12 Marek Polacek <polacek@redhat.com>
37342
37343 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37344 and _GNU_SOURCE.
37345
929d11c7
WS
373462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37347
37348 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37349 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37350 macro to ensure uniqueness of label name.
37351 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37352 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37353
41d0e869
UD
373542012-01-11 Ulrich Drepper <drepper@gmail.com>
37355
0cc5ed3b
UD
37356 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37357
41d0e869
UD
37358 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37359 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37362
a47a831a
UD
373632012-01-10 Ulrich Drepper <drepper@gmail.com>
37364
daa891c0
UD
37365 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37366
37367 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37368 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37370
e58ef0f2
UD
37371 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37372
a47a831a 37373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37374 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37377
37378 * math/bits/math-finite.h: Add ldexp support.
37379
a0bfc9c7
MP
373802012-01-10 Marek Polacek <polacek@redhat.com>
37381
37382 * locale/programs/localedef.h (show_archive_content): Add noreturn
37383 attribute.
37384
d6e97a1d
UD
373852012-01-09 Ulrich Drepper <drepper@gmail.com>
37386
37387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37388
d5835c26
UD
373892012-01-08 Ulrich Drepper <drepper@gmail.com>
37390
e5f484c6
UD
37391 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37392
d5835c26
UD
37393 * io/Makefile (headers): Add bits/poll2.h.
37394
d1f741e9
WS
373952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37396
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37398 typo #include statement.
37399
ec09c1c4
UD
374002012-01-08 Ulrich Drepper <drepper@gmail.com>
37401
37402 * include/sys/cdefs.h: Define __attribute_alloc_size.
37403 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37404 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37405 * elf/pldd.c: Likewise.
37406 * iconv/iconv_charmap.c: Likewise.
37407 * iconv/iconvconfig.c: Likewise.
37408 * iconv/strtab.c: Likewise.
37409 * locale/programs/locale.c: Likewise.
37410 * locale/programs/localedef.h: Likewise.
37411 * locale/programs/simple-hash.c: Likewise.
37412 * nscd/nscd.h: Likewise.
37413 * nss/makedb.c: Likewise.
37414 * sysdeps/generic/ldconfig.h: Likewise.
37415 * locale/programs/localedef.c: Remove xmalloc prototype.
37416 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37417
20b38e03
PP
374182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37419
37420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37421 appropriate.
37422
a0da5fe1
UD
374232012-01-08 Ulrich Drepper <drepper@gmail.com>
37424
1d5a644a 37425 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37426 * math/tst-CMPLX.c: New file.
1d5a644a 37427
8784a6db
UD
37428 * math/complex.h (CMPLXL): Fix typo.
37429
d9a216c0
UD
37430 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37431 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37432 GLIBC_2.16.
37433 * debug/tst-chk1.c: Add poll and ppoll tests.
37434 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37435 * include/sys/poll.h: Add hidden proto for ppoll.
37436 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37437 * sysdeps/mach/hurd/ppoll.c: Likewise.
37438 * io/ppoll.c: Likewise.
37439 * debug/poll_chk.c: New file.
37440 * debug/ppoll_chk.c: New file.
37441 * include/bits/poll2.h: New file.
37442 * io/bits/poll2.h: New file.
37443
ac097f5c
UD
37444 [BZ #1350]
37445 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37446
2119dcfa
UD
37447 * configure.in: static is always set to yes. Remove.
37448 * config.make.in: Don't set build-static.
37449 * Makeconfig: Remove use of build-static.
37450 * dlfcn/Makefile: Likewise.
37451 * elf/Makefile: Likewise.
37452 * math/Makefile: Likewise.
37453 * misc/Makefile: Likewise.
37454 * nptl/Makefile: Likewise.
37455 * sysdeps/mach/hurd/Makefile: Likewise.
37456
121766a9
UD
37457 * configure.in: PWD_P is not used anymore.
37458 * config.make.in: Remove PWD_P entry.
37459
51a1d39c 37460 * configure.in: Remove last remnants of RANLIB.
8720d066 37461 No need to check for signed size_t anymore.
215f4bdc
UD
37462 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37463 and IA-64.
3857022a 37464 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37465 * aclocal.m4: Likewise.
37466
d3ed7225
UD
37467 * wcsmbs/mbrtoc16.c: Implement using towc function.
37468 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37469 * wcsmbs/wcsmbsload.c: Likewise.
37470 * iconv/gconv_simple.c: Likewise.
37471 * iconv/gconv_int.h: Likewise.
37472 * iconv/gconv_builtin.h: Likewise.
37473 * iconv/iconv_prog.c: Remove CHAR16 handling.
37474
37475 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37476
37477 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37478
a0da5fe1
UD
37479 * configure.in: Remove --with-elf and --enable-bounded options.
37480 Dont set base_machine for ia64. More non-ELF conditions removed.
37481 Remove testing and setting of leading underscore information.
37482 * config.make.in (build-bounded): Set to no.
37483 * config.h.in: Remove NO_UNDERSCORES entry.
37484 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37485 them.
37486 * csu/start.c: Remove !NO_UNDERSCORE code.
37487 * locale/localeinfo.h: Likewise.
37488 * sysdeps/generic/machine-gmon.h: Likewise.
37489 * sysdeps/generic/sysdep.h: Likewise.
37490 * sysdeps/i386/sysdep.h: Likewise.
37491 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37492 * sysdeps/mach/sysdep.h: Likewise.
37493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37494 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37495 * sysdeps/sh/sysdep.h: Likewise.
37496 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37497 * sysdeps/unix/i386/sysdep.S: Likewise.
37498 * sysdeps/unix/sparc/start.c: Likewise.
37499 * sysdeps/unix/sparc/sysdep.S: Likewise.
37500 * sysdeps/unix/sparc/sysdep.h: Likewise.
37501 * sysdeps/unix/start.c: Likewise.
37502 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37503 * sysdeps/x86_64/sysdep.h: Likewise.
37504
df78418a
UD
375052012-01-07 Ulrich Drepper <drepper@gmail.com>
37506
a784e502
UD
37507 [BZ #13553]
37508 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37509 for non-gcc.
37510 * argp/argp-fmtstream.h: Use const instead __const.
37511 * argp/argp.h: Likewise.
37512 * assert/assert.h: Likewise.
37513 * bits/fenv.h: Likewise.
37514 * bits/sched.h: Likewise.
37515 * bits/sigset.h: Likewise.
37516 * bits/sigthread.h: Likewise.
37517 * catgets/nl_types.h: Likewise.
37518 * conform/data/pthread.h-data: Likewise.
37519 * crypt/crypt-private.h: Likewise.
37520 * crypt/crypt.h: Likewise.
37521 * crypt/crypt_util.c: Likewise.
37522 * ctype/ctype.h: Likewise.
37523 * debug/execinfo.h: Likewise.
37524 * debug/mbsnrtowcs_chk.c: Likewise.
37525 * debug/mbsrtowcs_chk.c: Likewise.
37526 * debug/wcsnrtombs_chk.c: Likewise.
37527 * debug/wcsrtombs_chk.c: Likewise.
37528 * debug/wcstombs_chk.c: Likewise.
37529 * dirent/dirent.h: Likewise.
37530 * dlfcn/dlfcn.h: Likewise.
37531 * elf/neededtest4.c: Likewise.
37532 * grp/grp.h: Likewise.
37533 * gshadow/gshadow.h: Likewise.
37534 * iconv/gconv.h: Likewise.
37535 * iconv/gconv_int.h: Likewise.
37536 * iconv/gconv_simple.c: Likewise.
37537 * iconv/iconv.h: Likewise.
37538 * iconv/loop.c: Likewise.
37539 * iconv/skeleton.c: Likewise.
37540 * include/aio.h: Likewise.
37541 * include/aliases.h: Likewise.
37542 * include/argz.h: Likewise.
37543 * include/arpa/inet.h: Likewise.
37544 * include/assert.h: Likewise.
37545 * include/dirent.h: Likewise.
37546 * include/dlfcn.h: Likewise.
37547 * include/execinfo.h: Likewise.
37548 * include/fcntl.h: Likewise.
37549 * include/fenv.h: Likewise.
37550 * include/glob.h: Likewise.
37551 * include/grp.h: Likewise.
37552 * include/libintl.h: Likewise.
37553 * include/mntent.h: Likewise.
37554 * include/netdb.h: Likewise.
37555 * include/pwd.h: Likewise.
37556 * include/rpc/netdb.h: Likewise.
37557 * include/sched.h: Likewise.
37558 * include/search.h: Likewise.
37559 * include/shadow.h: Likewise.
37560 * include/signal.h: Likewise.
37561 * include/stdio.h: Likewise.
37562 * include/stdlib.h: Likewise.
37563 * include/string.h: Likewise.
37564 * include/sys/socket.h: Likewise.
37565 * include/sys/stat.h: Likewise.
37566 * include/sys/statfs.h: Likewise.
37567 * include/sys/statvfs.h: Likewise.
37568 * include/sys/syslog.h: Likewise.
37569 * include/sys/time.h: Likewise.
37570 * include/sys/uio.h: Likewise.
37571 * include/time.h: Likewise.
37572 * include/unistd.h: Likewise.
37573 * include/utmp.h: Likewise.
37574 * include/wchar.h: Likewise.
37575 * include/wctype.h: Likewise.
37576 * inet/aliases.h: Likewise.
37577 * inet/arpa/inet.h: Likewise.
37578 * inet/netinet/ether.h: Likewise.
37579 * inet/netinet/in.h: Likewise.
37580 * intl/libintl.h: Likewise.
37581 * io/bits/fcntl2.h: Likewise.
37582 * io/fcntl.h: Likewise.
37583 * io/ftw.h: Likewise.
37584 * io/sys/poll.h: Likewise.
37585 * io/sys/stat.h: Likewise.
37586 * io/sys/statfs.h: Likewise.
37587 * io/sys/statvfs.h: Likewise.
37588 * io/utime.h: Likewise.
37589 * libio/bits/stdio.h: Likewise.
37590 * libio/bits/stdio2.h: Likewise.
37591 * libio/libio.h: Likewise.
37592 * libio/libioP.h: Likewise.
37593 * libio/stdio.h: Likewise.
37594 * locale/lc-ctype.c: Likewise.
37595 * locale/locale.h: Likewise.
37596 * login/utmp.h: Likewise.
37597 * malloc/arena.c: Likewise.
37598 * malloc/malloc.c: Likewise.
37599 * malloc/malloc.h: Likewise.
37600 * malloc/mcheck.c: Likewise.
37601 * malloc/mtrace.c: Likewise.
37602 * math/bits/mathcalls.h: Likewise.
37603 * math/fenv.h: Likewise.
37604 * math/math_private.h: Likewise.
37605 * misc/bits/error.h: Likewise.
37606 * misc/bits/syslog.h: Likewise.
37607 * misc/err.h: Likewise.
37608 * misc/error.h: Likewise.
37609 * misc/fstab.h: Likewise.
37610 * misc/mntent.h: Likewise.
37611 * misc/regexp.h: Likewise.
37612 * misc/search.h: Likewise.
37613 * misc/sgtty.h: Likewise.
37614 * misc/sys/mman.h: Likewise.
37615 * misc/sys/syslog.h: Likewise.
37616 * misc/sys/uio.h: Likewise.
37617 * misc/sys/xattr.h: Likewise.
37618 * misc/ttyent.h: Likewise.
37619 * nis/rpcsvc/ypclnt.h: Likewise.
37620 * nss/nss.h: Likewise.
37621 * posix/bits/unistd.h: Likewise.
37622 * posix/fnmatch.h: Likewise.
37623 * posix/glob.h: Likewise.
37624 * posix/sched.h: Likewise.
37625 * posix/spawn.h: Likewise.
37626 * posix/sys/wait.h: Likewise.
37627 * posix/unistd.h: Likewise.
37628 * posix/wordexp.h: Likewise.
37629 * pwd/pwd.h: Likewise.
37630 * resolv/netdb.h: Likewise.
37631 * resource/sys/resource.h: Likewise.
37632 * rt/aio.h: Likewise.
37633 * rt/bits/mqueue2.h: Likewise.
37634 * rt/mqueue.h: Likewise.
37635 * shadow/shadow.h: Likewise.
37636 * signal/signal.h: Likewise.
37637 * socket/send.c: Likewise.
37638 * socket/sendto.c: Likewise.
37639 * socket/sys/socket.h: Likewise.
37640 * stdio-common/printf.h: Likewise.
37641 * stdlib/bits/stdlib.h: Likewise.
37642 * stdlib/fmtmsg.h: Likewise.
37643 * stdlib/monetary.h: Likewise.
37644 * stdlib/stdlib.h: Likewise.
37645 * stdlib/ucontext.h: Likewise.
37646 * streams/stropts.h: Likewise.
37647 * string/argz.h: Likewise.
37648 * string/bits/string2.h: Likewise.
37649 * string/string.h: Likewise.
37650 * string/strings.h: Likewise.
37651 * sunrpc/rpc/auth.h: Likewise.
37652 * sunrpc/rpc/auth_des.h: Likewise.
37653 * sunrpc/rpc/clnt.h: Likewise.
37654 * sunrpc/rpc/netdb.h: Likewise.
37655 * sunrpc/rpc/pmap_clnt.h: Likewise.
37656 * sunrpc/rpc/xdr.h: Likewise.
37657 * sysdeps/generic/inttypes.h: Likewise.
37658 * sysdeps/generic/net/if.h: Likewise.
37659 * sysdeps/generic/sys/swap.h: Likewise.
37660 * sysdeps/gnu/net/if.h: Likewise.
37661 * sysdeps/gnu/utmpx.h: Likewise.
37662 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37663 * sysdeps/i386/i486/bits/string.h: Likewise.
37664 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37665 * sysdeps/s390/bits/string.h: Likewise.
37666 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37667 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37668 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37669 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37670 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37671 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37672 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37673 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37674 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37675 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37676 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37677 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37678 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37679 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37680 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37681 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37682 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37685 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37687 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37688 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37689 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37690 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37691 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37692 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37693 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37694 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37695 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37696 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37697 * sysvipc/sys/ipc.h: Likewise.
37698 * sysvipc/sys/msg.h: Likewise.
37699 * sysvipc/sys/sem.h: Likewise.
37700 * sysvipc/sys/shm.h: Likewise.
37701 * termios/termios.h: Likewise.
37702 * time/sys/time.h: Likewise.
37703 * time/time.h: Likewise.
37704 * wcsmbs/bits/wchar2.h: Likewise.
37705 * wcsmbs/uchar.h: Likewise.
37706 * wcsmbs/wchar.h: Likewise.
37707 * wctype/wctype.h: Likewise.
37708
0269750c
UD
37709 [BZ #13551]
37710 * Makeconfig: Remove all but ELF support including AIX support.
37711 * Makerules: Likewise.
37712 * config.h.in: Likewise.
37713 * config.make.in: Likewise.
37714 * configure: Likewise.
37715 * configure.in: Likewise.
37716 * csu/Makefile: Likewise.
37717 * csu/version.c: Likewise.
37718 * debug/Makefile: Likewise.
37719 * dlfcn/Makefile: Likewise.
37720 * elf/Makefile: Likewise.
37721 * extra-lib.mk: Likewise.
37722 * iconv/Makefile: Likewise.
37723 * include/libc-symbols.h: Likewise.
37724 * include/shlib-compat.h: Likewise.
37725 * resolv/Makefile: Likewise.
37726 * resolv/res_libc.c: Likewise.
37727 * rt/Makefile: Likewise.
37728 * sysdeps/i386/asm-syntax.h: Likewise.
37729 * sysdeps/i386/sysdep.h: Likewise.
37730 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37731 * sysdeps/mach/sysdep.h: Likewise.
37732 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37733 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37734 * sysdeps/s390/asm-syntax.h: Likewise.
37735 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37736 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37737 * sysdeps/sh/sysdep.h: Likewise.
37738 * sysdeps/unix/sparc/sysdep.h: Likewise.
37739 * sysdeps/wordsize-32/divdi3.c: Likewise.
37740 * sysdeps/x86_64/sysdep.h: Likewise.
37741
00bbd29b
UD
37742 * argp/Versions: Remove _argp_unlock_xxx.
37743
37744 [BZ #13559]
37745 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37746 * abilist/libBrokenLocale.abilist: Likewise.
37747 * abilist/libanl.abilist: Likewise.
37748 * abilist/libc.abilist: Likewise.
37749 * abilist/libcrypt.abilist: Likewise.
37750 * abilist/libdl.abilist: Likewise.
37751 * abilist/libm.abilist: Likewise.
37752 * abilist/libnsl.abilist: Likewise.
37753 * abilist/libpthread.abilist: Likewise.
37754 * abilist/libresolv.abilist: Likewise.
37755 * abilist/librt.abilist: Likewise.
37756 * abilist/libthread_db.abilist: Likewise.
37757 * abilist/libutil.abilist: Likewise.
37758 * abilist/libnss_db.abilist: New file.
37759
37760 * scripts/abilist.awk: Add support for indirect functions.
37761
a2693a0e
UD
37762 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37763
3f05895f
UD
37764 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37765
ecb6fb48
UD
37766 * shlib-versions: Remove entries for ports architectures.
37767
664f8cb9
UD
37768 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37769 files in ports.
37770 * elf/stackguard-macros.h: Remove support for IA-64.
37771 * elf/tst-auditmod1.c: Likewise.
37772 * sysdeps/generic/ldsodefs.h: Likewise.
37773
7ae81d88
UD
37774 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37775 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37776 configure files.
37777
bdeba135
UD
37778 [BZ #13552]
37779 * configure.in: Remove --enable-omitfp support.
37780 * FAQ.in: Adjust.
37781 * config.make.in: Likewise.
37782 * Makeconfig: Likewise.
37783 * manual/install.texi: Likewise.
37784
d75a0a62
UD
37785 In case anyone cares, the IA-64 architecture could move to ports.
37786 * sysdeps/ia64/*: Removed.
37787 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37788 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37789
dcc9756b
UD
37790 [BZ #13555]
37791 * configure.in: Remove entries for unsupported architectures.
37792
d3761ebc 37793 [BZ #13533]
9954432e
UD
37794 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37795 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37796 routines.
37797 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37798 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37799 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37800 fall back to using wcrtomb.
37801 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37802 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37803 renaming.
37804 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37805 * wcsmbs/tst-c16c32-1.c: New file.
37806
37807 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37808 local variable.
37809
c3a87236
UD
37810 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37811
28926a1b
UD
37812 * elf/tst-unique3.cc: Add explicit declaration of gets.
37813 * elf/tst-unique3lib.cc: Likewise.
37814 * elf/tst-unique3lib2.cc: Likewise.
37815 * elf/tst-unique4.cc: Likewise.
37816
df78418a
UD
37817 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37818
8ecd6b2a
JM
378192012-01-06 Joseph Myers <joseph@codesourcery.com>
37820
37821 [BZ #13566]
37822 * assert/assert.h (static_assert): Don't define for C++.
37823 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37824 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37825
9f115170
UD
378262012-01-03 Ulrich Drepper <drepper@gmail.com>
37827
5e0d0300
UD
37828 * iconv/loop.c (single loop): Fix assertion in storing of
37829 remaining bytes.
37830
9f115170
UD
37831 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37832
81fb02b0
UD
378332012-01-01 Ulrich Drepper <drepper@gmail.com>
37834
37835 * posix/getconf.c: Update copyright year.
37836 * nss/getent.c: Likewise.
a316c1f6 37837 * nss/makedb.c: Likewise.
81fb02b0
UD
37838 * iconv/iconvconfig.c: Likewise.
37839 * iconv/iconv_prog.c: Likewise.
37840 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37841 * elf/pldd.c: Likewise.
37842 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37843 * catgets/gencat.c: Likewise.
37844 * csu/version.c: Likewise.
37845 * elf/ldd.bash.in: Likewise.
37846 * elf/sprof.c (print_version): Likewise.
37847 * locale/programs/locale.c: Likewise.
37848 * locale/programs/localedef.c: Likewise.
a316c1f6 37849 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37850 * nscd/nscd.c (print_version): Likewise.
37851 * debug/xtrace.sh: Likewise.
37852 * malloc/memusage.sh: Likewise.
37853 * malloc/mtrace.pl: Likewise.
37854 * debug/catchsegv.sh: Likewise.
37855
2ba92745
JJ
378562011-12-30 Jakub Jelinek <jakub@redhat.com>
37857
37858 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37859 pure attribute.
37860
dadebdae
UD
378612011-12-24 Ulrich Drepper <drepper@gmail.com>
37862
d3761ebc 37863 [BZ #13533]
db6af3eb
UD
37864 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37865 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37866 transformations.
37867 * iconv/gconv_int.h: Likewise.
37868 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37869 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37870 from libc for GLIBC_2.16.
37871 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37872 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37873 * wcsmbs/uchar.h: Really define mbstate_t.
37874 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37875 * wcsmbs/c16rtomb.c: New file.
37876 * wcsmbs/mbrtoc16.c: New file.
37877 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37878 for C/POSIX locale.
37879 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37880 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37881
dadebdae
UD
37882 * wcsmbs/wchar.h: Add missing __restrict.
37883
67371b56
UD
378842011-12-23 Ulrich Drepper <drepper@gmail.com>
37885
74033a25
UD
37886 [BZ #13532]
37887 * time/Makefile (routines): Add timespec_get.
37888 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37889 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37890 timespec for ISO C11.
37891 * time/timespec_get.c: New file.
37892 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37893 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37894
380d7e87
UD
37895 [BZ #13531]
37896 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37897 * stdlib/stdlib.h: Declare aligned_alloc.
37898 * Versions.def: Add GLIBC_2.16 for libc.
37899 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37900
4e9e7a35
UD
37901 [BZ 13527]
37902 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37903 ISO C11.
37904
380d7e87 37905 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37906 code.
37907
03a71829
UD
37908 [BZ #13528]
37909 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37910
839e283e
UD
37911 [BZ #13529]
37912 * assert/assert.h (static_assert): Define.
37913
ce5294e2 37914 * version.h: Update for 2.16 development version.
90fa7312 37915
8d44e150 37916 [BZ #13526]
d7809905
UD
37917 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37918 _ISOC11_SOURCE.
37919
c0da14cd
UD
37920 * version.h (RELEASE): Bump for 2.15 release.
37921 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37922
530a3249
MP
37923 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37924 Patch by Marek Polacek <mpolacek@redhat.com>.
37925
67371b56
UD
37926 * bits/byteswap.h: Protect long long constants with __extension__.
37927 * sysdeps/i386/bits/byteswap.h: Likewise.
37928 * sysdeps/ia64/bits/byteswap.h: Likewise.
37929 * sysdeps/s390/bits/byteswap.h: Likewise.
37930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37931
15db4de1
LD
379322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37933
37934 [BZ #13540]
bbe315ea
LD
37935 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37936 destination buffer.
15db4de1
LD
37937 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37938
2b2596b1
MP
379392011-12-23 Marek Polacek <polacek@redhat.com>
37940
37941 * elf/dl-addr.c (determine_info): Add inline keyword.
37942 * elf/tst-auditmod4b.c (check_avx): Likewise.
37943 * elf/tst-auditmod6b.c (check_avx): Likewise.
37944 * elf/tst-auditmod6c.c (check_avx): Likewise.
37945 * elf/tst-auditmod7b.c (check_avx): Likewise.
37946
70c6c246
UD
379472011-12-23 Ulrich Drepper <drepper@gmail.com>
37948
37949 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37950 !__SSE_MATH__.
37951
c044cf14
LD
379522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37953
15db4de1 37954 [BZ #13540]
c044cf14
LD
37955 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37956 processing for last bytes.
37957
6b13d9d9
BH
379582011-08-06 Bruno Haible <bruno@clisp.org>
37959
d455f537
BH
37960 [BZ #13061]
37961 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37962 U+0385, not to U+1FEE.
37963
6b13d9d9
BH
37964 [BZ #13062]
37965 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37966 entry for U+00A5 U+0301.
37967
db910efd
UD
379682011-12-22 Ulrich Drepper <drepper@gmail.com>
37969
27deeafc
UD
37970 [BZ #13166]
37971 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37972 buffer for the output is too small.
37973
aed9d171
UD
37974 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37975 optimization.
37976
db910efd
UD
37977 [BZ #13185]
37978 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37979 SSE flags if possible.
37980
2bd779ae
LD
379812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37982
e7f9dac3 37983 [BZ #13540]
2bd779ae
LD
37984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37985 processing for last bytes.
37986
154bfc16
JM
379872011-12-22 Joseph Myers <joseph@codesourcery.com>
37988
37989 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37990 (syscall-list-default-options, syscall-list-default-condition)
37991 (syscall-list-includes): Define.
37992 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37993 list of ABIs and options and #if conditions for each ABI. Do not
37994 handle common syscalls between ABIs specially.
37995 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37996 Remove.
37997 (syscall-list-variants, syscall-list-32bit-options)
37998 (syscall-list-32bit-condition, syscall-list-64bit-options)
37999 (syscall-list-64bit-condition): Define.
38000 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38001 (syscall-list-variants, syscall-list-32bit-options)
38002 (syscall-list-32bit-condition, syscall-list-64bit-options)
38003 (syscall-list-64bit-condition): Define.
38004 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38005 Remove.
38006 (syscall-list-variants, syscall-list-32bit-options)
38007 (syscall-list-32bit-condition, syscall-list-64bit-options)
38008 (syscall-list-64bit-condition): Define.
38009 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38010 Remove.
38011 (syscall-list-variants, syscall-list-32bit-options)
38012 (syscall-list-32bit-condition, syscall-list-64bit-options)
38013 (syscall-list-64bit-condition): Define.
38014
21eaf3a5
UD
380152011-12-22 Ulrich Drepper <drepper@gmail.com>
38016
16c6f992
UD
38017 * locale/iso-639.def: Add brx entry.
38018
41043168
UD
38019 [BZ #13328]
38020 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38021 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38022
21eaf3a5
UD
38023 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38024 __feraiseexcept_renamed.
38025
e3a851a2
UD
380262011-12-21 Ulrich Drepper <drepper@gmail.com>
38027
4920765e
UD
38028 [BZ #13538]
38029 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38030 EPOLLET with unsigned values.
38031 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38033
e3a851a2
UD
38034 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38035 to large cancellation.
38036 * math/s_cacoshf.c: Likewise.
38037 * math/s_cacoshl.c: Likewise.
38038
b27e24b8
RK
380392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38040
38041 [BZ #13305]
aebefeee 38042 [BZ #12786]
b27e24b8
RK
38043 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38044 * math/s_cacoshf.c: Likewise.
38045 * math/s_cacoshl.c: Likewise.
38046
ee190f67
UD
380472011-12-21 Ulrich Drepper <drepper@gmail.com>
38048
38049 [BZ #13439]
38050 * iconv/gconv.h: Define __GCONV_SWAP.
38051 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38052 * iconvdata/utf-16.c: Likewise.
38053 * iconvdata/utf-32.c: Likewise.
38054
707f25df
AS
380552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38056
38057 [BZ #13524]
38058 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38059 numerator after shifting it by one limb.
38060
d2daaa1e
RÁE
380612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38062
38063 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38064 under [__USE_EXTERN_INLINES].
38065
a4647e72
UD
380662011-12-17 Ulrich Drepper <drepper@gmail.com>
38067
38068 [BZ #13446]
38069 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38070
f0b264f1
AZ
380712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38072
38073 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38074 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38075 optimized code.
38076 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38077 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38078 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38079 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38080 for strncasecmp/strncasecmp_l compilation.
38081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38082 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38083
8ef4f244
MP
380842011-12-08 Marek Polacek <mpolacek@redhat.com>
38085
38086 [BZ #13484]
38087 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38088 of __asm__.
38089
97ac2654
UD
380902011-12-17 Ulrich Drepper <drepper@gmail.com>
38091
38092 [BZ #13506]
38093 * time/tzfile.c (__tzfile_read): Check values from file header.
38094
91d2a845
WS
380952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38096
38097 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38098 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38099 * powerpc/powerpc32/dl-start.S: Likewise.
38100 * powerpc/powerpc32/elf/start.S: Likewise.
38101 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38102 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38103 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38104 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38105 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38106 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38107 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38108 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38109 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38110 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38111 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38112 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38113 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38114 * powerpc/powerpc32/memset.S: Likewise.
38115 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38116 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38117 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38118 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38119 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38120 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38121 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38122 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38123 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38124 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38125 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38126 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38127 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38128
a1267ba1
AZ
381292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38130
38131 * math/libm-test.inc: Added more nearbyint tests.
38132 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38133 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38135 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38136
ad8ac1bd
RL
381372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38138
38139 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38140 FD_CLOEXEC.
38141
1d3e4b61
UD
381422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38143
38144 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38145 Add wcscpy-ssse3 wcscpy-c.
38146 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38147 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38148 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38149 * sysdeps/x86_64/wcschr.S: New file.
38150 * sysdeps/x86_64/wcsrchr.S: New file.
38151 * string/test-strcmp.c: Remove checking of wcscmp function for
38152 wrong alignments.
38153 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38154 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38155 wcsrchr-sse2 wcsrchr-c.
38156 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38157 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38158 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38159 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38160 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38161 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38162 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38163 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38164 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38165 * wcsmbc/wcschr.c (WCSCHR): New macro.
38166
5b330a2d
UD
381672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38168
38169 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38170 * wcsmbs/test-wcsrchr.c: New file.
38171 * string/test-strrchr.c: Add wcsrchr support.
38172 (WIDE): New macro.
38173 * wcsmbs/test-wcscpy.c: New file.
38174 * string/test-strcpy.c: Add wcscpy support.
38175 (WIDE): New macro.
26428b7c 38176
f039c043
UD
381772011-12-10 Ulrich Drepper <drepper@gmail.com>
38178
38179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38180 the inner loop.
38181
850fb039
AS
381822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38183
38184 [BZ #13472]
38185 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38186
4efbd5cb
UD
381872011-12-04 Ulrich Drepper <drepper@gmail.com>
38188
52ff5dd0 38189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38190 Minor optimizations.
52ff5dd0 38191
4efbd5cb
UD
38192 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38193 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38194 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38195
8a426e12
UD
381962011-12-03 Ulrich Drepper <drepper@gmail.com>
38197
aff2453d
UD
38198 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38199 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38200 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38201 for gcc to avoid warnings.
38202 * inet/Makefile (tests): Add tst-checks.
38203 * inet/tst-checks.c: New file.
38204
38205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38206 warning.
38207
38208 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38209 __wmemcmp_sse2.
38210
38211 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38212 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38213
8a426e12
UD
38214 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38215
9bea3473
UD
382162011-12-02 Ulrich Drepper <drepper@gmail.com>
38217
3a965496
UD
38218 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38219 problem.
38220
9bea3473
UD
38221 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38222
f101631b
UD
382232011-11-29 Joseph Myers <joseph@codesourcery.com>
38224
38225 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38226 conditional on GCC version.
38227 (__arch_compare_and_exchange_val_8_acq)
38228 (__arch_compare_and_exchange_val_16_acq)
38229 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38230 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38231 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38232
a98275aa
UD
382332011-12-02 Joseph Myers <joseph@codesourcery.com>
38234
38235 * sysdeps/sh/backtrace.c: New file.
38236
d4cc29a2
AS
382372011-12-02 Andreas Schwab <schwab@redhat.com>
38238
38239 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38240 parenthesis.
38241
6257af2d
AS
382422011-12-01 Andreas Schwab <schwab@redhat.com>
38243
38244 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38245 falling back to utime.
38246
b5f44c1a
AS
382472011-11-30 Andreas Schwab <schwab@redhat.com>
38248
38249 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38250 expectations for float.
38251
f3a6cc0a
AS
382522011-11-29 Andreas Schwab <schwab@redhat.com>
38253
38254 * locale/weight.h (findidx): Add parameter len.
38255 * locale/weightwc.h (findidx): Likewise.
38256 * posix/fnmatch_loop.c (FCT): Adjust caller.
38257 * posix/regcomp.c (build_equiv_class): Likewise.
38258 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38259 * posix/regexec.c (check_node_accept_bytes): Likewise.
38260 * string/strcoll_l.c (STRCOLL): Likewise.
38261 * string/strxfrm_l.c (STRXFRM): Likewise.
38262
9d65ea3a
UD
382632011-11-17 Ulrich Drepper <drepper@gmail.com>
38264
38265 * Makefile.in: Remove CVSOPT handling.
38266 * configure.in: Remove use of AC_REVISION.
38267 * iconvdata/Makefile (distribute): No need to filter out CVS.
38268 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38269 handling.
38270
5583a086
AS
382712011-11-16 Andreas Schwab <schwab@redhat.com>
38272
38273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38274 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38275 [USE_AS_STRNCASECMP_L]: Likewise.
38276 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38277 NO_TLS_DIRECT_SEG_REFS.
38278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38279 Fix argument offsets for non-PIC.
38280 [USE_AS_STRNCASECMP_L]: Likewise.
38281 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38282 NO_TLS_DIRECT_SEG_REFS.
38283
d62a8200
UD
382842011-11-15 Ulrich Drepper <drepper@gmail.com>
38285
9d65ea3a 38286 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38287 O_CLOEXEC.
38288 * locale/loadlocale.c (_nl_load_locale): Likewise.
38289
09f93bd3
AS
382902011-11-15 Andreas Schwab <schwab@redhat.com>
38291
446514f9
AS
38292 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38293 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38295 (SYSCALL_GETTIME): Set errno on error.
38296
09f93bd3
AS
38297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38298 count references to noai6ai_cached.
38299
312be3f9
UD
383002011-11-15 Ulrich Drepper <drepper@gmail.com>
38301
38302 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38303
38304 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38305 FD_CLOEXEC for /proc/self/maps.
38306
38307 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38308 FD_CLOEXEC for /proc/meminfo.
38309
38310 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38311 gai.conf.
38312
38313 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38314 FD_CLOEXEC for given file.
38315
38316 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38317
38318 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38319 FD_CLOEXEC for /etc/hosts.
38320 (_gethtent): Likewise.
38321
38322 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38323
38324 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38325 cancellation and set FD_CLOEXEC for /etc/netgroup.
38326
38327 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38328 reading /etc/publickey.
38329
38330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38331 allow cancellation when reading /etc/group.
38332
38333 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38334 cancellation.
38335 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38336
38337 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38338 when using data file.
38339
38340 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38341
38342 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38343 (write_nis_obj): Use "c" and "e" in fopen.
38344
38345 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38346
38347 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38348
38349 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38350
38351 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38352
38353 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38354 locale.alias.
38355
38356 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38357
38358 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38359
38360 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38361
38362 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38363 file parsing and set FD_CLOEXEC.
38364
82af0fa8
UD
383652011-11-14 Ulrich Drepper <drepper@gmail.com>
38366
38367 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38368
a5fb313c
AS
383692011-11-14 Andreas Schwab <schwab@redhat.com>
38370
38371 * malloc/arena.c (arena_get2): Don't call reused_arena when
38372 _int_new_arena failed.
38373
6abf3465
UD
383742011-11-14 Ulrich Drepper <drepper@gmail.com>
38375
38376 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38377 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38378 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38379 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38381 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38382 to compile strcasecmp and strncasecmp.
38383 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38384 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38385
38386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38387
76e3966e
UD
383882011-11-13 Ulrich Drepper <drepper@gmail.com>
38389
38390 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38391 locale-defines.sym to gen-as-const-headers.
38392 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38393 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38395 to compile strcasecmp and strncasecmp.
38396 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38397 strcasecmp_l and strncasecmp_l.
38398 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38399 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38400 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38401 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38402 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38403 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38404 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38405 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38406 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38407 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38408 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38409
ab26144e
UD
384102011-11-12 Ulrich Drepper <drepper@gmail.com>
38411
7edb22ef
UD
38412 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38413 result of SYSDEP_GETTIME_CPU to retval.
38414 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38415 parameter list to macro. Remove trailing semicolon. Adjust users.
38416
9694fc44
UD
38417 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38418 variable.
38419
8ad89ef8
UD
38420 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38421 mantissa words.
38422 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38423
0c822ef9
UD
38424 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38425 from unused variable.
38426
874e0564
UD
38427 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38428 DWARF definitions.
38429 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38430 for assembling.
38431
3a2edc79
UD
38432 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38433 over namespaces.
38434
f3c2577f
UD
38435 * sunrpc/rpc_prot.c (rejected): Fix case value.
38436
294ce126
UD
38437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38438 unsigned long long int to avoid warnings in shift.
38439
5e2b63c6
UD
38440 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38441 of use of trans.
38442 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38443 variable tmp.
38444
e7f4b08e
UD
38445 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38446 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38447 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38448
ab26144e
UD
38449 * nis/nis_table.c (nis_list): Use variable of correct type for
38450 result of __follow_path call.
38451
8a6d5255
AZ
384522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38453
38454 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38455 of math functions ceil, trunc, floor, round, and sqrt, when
38456 avaliable on the platform.
38457 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38458 name clash.
38459 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38460 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38461 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38462
aaddc98c
MP
384632011-10-30 Marek Polacek <mpolacek@redhat.com>
38464
38465 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38466 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38467
95b7042b
RM
384682011-11-11 Roland McGrath <roland@hack.frob.com>
38469
38470 * include/unistd.h: Fix __readlink return type.
38471 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38472
57769839
UD
384732011-11-11 Ulrich Drepper <drepper@gmail.com>
38474
38475 * stdlib/ucontext.h: Undo last change for makecontext.
38476
edc5984d
AS
384772011-11-11 Andreas Schwab <schwab@redhat.com>
38478
98591e58
AS
38479 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38480
edc5984d
AS
38481 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38482 * setjmp/setjmp.h: Mark functions as non-leaf.
38483 * setjmp/bits/setjmp2.h: Likewise.
38484 * stdlib/ucontext.h: Likewise.
38485
77cdc054
AS
384862011-11-10 Andreas Schwab <schwab@redhat.com>
38487
38488 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38489 (reused_arena): Don't check arena limit.
38490 (arena_get2): Atomically check arena limit.
38491
fe72eebd
UD
384922011-11-08 Ulrich Drepper <drepper@gmail.com>
38493
5f078c32
UD
38494 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38495 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38496
fe72eebd
UD
38497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38498 instructions.
38499
ae1bc2fa
AS
385002011-11-07 Andreas Schwab <schwab@redhat.com>
38501
7583a88d
AS
38502 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38503 handler when locking.
38504
ae1bc2fa
AS
38505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38506 Fix size of allocated buffer.
38507
10fb0bfa
AS
385082011-11-04 Andreas Schwab <schwab@redhat.com>
38509
998832a4
AS
38510 [BZ #10103]
38511 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38512 declarations for long double functions.
38513 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38514
10fb0bfa
AS
38515 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38516
3d7ba52b
AS
385172011-11-03 Andreas Schwab <schwab@redhat.com>
38518
a9ae54a1
AS
38519 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38520 installed.
38521
3d7ba52b
AS
38522 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38523 is disabled.
38524
bc8db248
ST
385252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38526
38527 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38528
45b96dd6
AS
385292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38530
647776f6
AS
38531 * include/alloca.h (stackinfo_alloca_round): Define.
38532 (extend_alloca): Use it.
38533 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38534 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38535 here.
38536
d91a8b93
AS
38537 * scripts/check-local-headers.sh: Ignore libaudit.h.
38538
45b96dd6
AS
38539 * nscd/Makefile (extra-objs): Make recursively expanded.
38540
432d41ce
UD
385412011-11-01 Ulrich Drepper <drepper@gmail.com>
38542
34372fc6
UD
38543 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38545
fadb59f8
UD
38546 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38547 * posix/tst-rfc3484-2.c: Likewise.
38548 * posix/tst-rfc3484-3.c: Likewise.
38549
78239589
UD
38550 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38551 process_vm_writev.
38552 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38553 process_vm_writev.
38554 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38555 process_vm_writev from libc using GLIBC_2.15 version.
38556
432d41ce
UD
38557 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38558
02f9c6cf
PP
385592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38560
38561 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38562 stack usage.
38563
3a2c0242
UD
385642011-10-31 Ulrich Drepper <drepper@gmail.com>
38565
f4ec4833
UD
38566 [BZ #13367]
38567 * nss/getent.c (initgroups_keys): Show error message in case no group
38568 names are given.
38569
3a2c0242
UD
38570 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38571 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38572 __bump_nl_timestamp.
38573 * nscd/connections (nscd_init): When host database is served open
38574 netlink socket and request notification about configuration changes.
38575 (main_loop_poll): Track netlink file descriptor and bump timestamp
38576 in case data becomes available.
38577 (main_loop_epoll): Likewise.
38578 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38579 (database_pers_head): Add extra_data fileds.
38580 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38581 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38582 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38583 Adjust caller.
38584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38585 in6ai data, call __free_in6ai.
38586 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38587 Add -DHAVE_NETLINK.
38588 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38589 interface information. Reuse previous data if netlink timestamp
38590 is not changed.
38591 (__bump_nl_timestamp): New function.
38592 (__free_in6ai): New function.
38593
636064eb
UD
385942011-10-30 Ulrich Drepper <drepper@gmail.com>
38595
38596 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38597 close_not_cancel_no_status here.
38598 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38599
9beb2334
UD
386002011-10-29 Ulrich Drepper <drepper@gmail.com>
38601
6ef76f3b
UD
38602 [BZ #13276]
38603 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38604 return value.
38605
0ffc4f3e 38606 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38607 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38608 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38609
cb95113e
UD
386102011-07-03 Andreas Jaeger <aj@suse.de>
38611
38612 [BZ #10709]
38613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38614 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38615 * math/libm-test.inc (sin_test): Add test case.
38616
a1b560ff
UD
386172011-10-29 Ulrich Drepper <drepper@gmail.com>
38618
c9aaface
UD
38619 [BZ #13337]
38620 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38621 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38622
d272e7f1
UD
38623 * elf/chroot_canon.c (chroot_canon): Cleanups.
38624
1bc33071
UD
38625 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38626
1760874d
TJ
38627 [BZ #13335]
38628 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38629 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38630
51d91b18
UD
38631 * string/test-strchr.c: Make usable for strchrnul testing.
38632 * string/test-strchrnul.c: New file.
38633 * string/Makefile (strop-tests): Add strchrnul.
38634
a1b560ff 38635 * po/it.po: Update from translation team.
b611fb81 38636 * po/es.po: Likewise.
a1b560ff 38637
a5b81e1f
UD
386382011-10-28 Ulrich Drepper <drepper@gmail.com>
38639
fd52bc6d
UD
38640 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38641 the three constants needed as parameters. Drop the others.
38642 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38643 __m128i_strloadu_tolower.
52e4b9eb
UD
38644 Create and initialize variable zero and use it in all the places
38645 where _mm_setzero_si128 was used.
fd52bc6d 38646
a5b81e1f
UD
38647 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38648 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38649 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38650 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38651 anymore.
38652 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38653 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38654 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38655 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38656 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38657 __mpranred, __mptan.
38658 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38659 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38660 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38661 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38662 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38663 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38665 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38666 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38667
b4343346
AS
386682011-10-28 Andreas Schwab <schwab@redhat.com>
38669
0c92d8a8
AS
38670 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38671 redefine if SHARED.
38672 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38673
b4343346
AS
38674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38675 wide char related routines to wcsmbs subdir.
38676
3871f58f
AS
386772011-10-27 Andreas Schwab <schwab@redhat.com>
38678
38679 [BZ #13344]
38680 * misc/sys/cdefs.h (__THROWNL): Define.
38681 * posix/unistd.h: Use __THREADNL instead of __THREAD
38682 for memory synchronization functions.
38683
94d44d9f
RM
386842011-10-26 Roland McGrath <roland@hack.frob.com>
38685
21b64b15 38686 [BZ #13349]
94d44d9f
RM
38687 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38688 doesn't exist.
38689 * manual/stdio.texi (Obstack Streams): Node removed.
38690
f6ce9294
AS
386912011-10-26 Andreas Schwab <schwab@redhat.com>
38692
80479147
AS
38693 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38694 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38696
f6ce9294
AS
38697 * math/math_private.h (math_force_eval): Allow non-addressable
38698 arguments.
38699 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38700
618280a1
UD
387012011-10-25 Ulrich Drepper <drepper@gmail.com>
38702
e0016b11
UD
38703 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38704 file is not needed.
38705
38706 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38709 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38710 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38711 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38712 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38713 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38714 Add AVX variants.
38715 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38716 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38717 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38718 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38719 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38720 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38721 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38722 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38723 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38724 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38725 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38726 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38727 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38728 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38729 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38730 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38731 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38732 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38733 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38734
38735 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38736 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38737
618280a1
UD
38738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38739 place. Use VEX encoding when compiling for AVX.
38740
37822576
AS
387412011-10-25 Andreas Schwab <schwab@redhat.com>
38742
1f1e1947
AS
38743 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38744 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38745
37822576
AS
38746 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38747
31ea014d
UD
387482011-10-25 Ulrich Drepper <drepper@gmail.com>
38749
d7826aa1 38750 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38751 useless if() expression.
d7826aa1
UD
38752 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38761 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38770 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38771
31ea014d
UD
38772 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38773
16437fec
AS
387742011-10-25 Andreas Schwab <schwab@redhat.com>
38775
38776 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38777 condition.
38778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38779
31d3cc00
UD
387802011-10-25 Ulrich Drepper <drepper@gmail.com>
38781
38782 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38783 .text section. Avoid duplicate constants.
38784 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38794 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38796 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38799 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38801 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38807 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38808 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38809 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38810 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38811 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38815 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38816 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38817 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38818 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38819 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38820 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38822 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38823 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38824 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38826 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38827 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38828 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38829
58985aa9
UD
388302011-10-24 Ulrich Drepper <drepper@gmail.com>
38831
202c9deb
UD
38832 * sysdeps/x86_64/dla.h: Move to ...
38833 * sysdeps/x86_64/fpu/dla.h: ...here.
38834 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38835 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38836
af968f62
UD
38837 * config.make.in: Add have-mfma4 entry.
38838 * configure.in: Substitute libc_cv_cc_fma4.
38839 * math/Makefile (dbl-only-routines): Add sincostab.
38840 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38841 Use __sincostab not sincos.
38842 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38843 name is a macro.
38844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38848 using __copysign.
38849 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38850 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38851 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38852 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38853 and __inv.
38854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38855 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38856 __copysign.
38857 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38858 define aliases when function name is a macro.
38859 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38860 sysdeps/ieee754/dbl-64/sincos.tbl.
38861 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38862 fma4-enabled routines.
38863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38864 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38865 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38866 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38868 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38873 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38875 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38876 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38878 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38879 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38880 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38881 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38883 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38887 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38888 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38890 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38891 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38892 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38893
58985aa9
UD
38894 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38895 rename.
38896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38904
a201fbcf
AS
389052011-10-24 Andreas Schwab <schwab@redhat.com>
38906
38907 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38908
fc2ee42a
LD
389092011-10-23 Ulrich Drepper <drepper@gmail.com>
38910
bb3129bd
UD
38911 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38912
0275fff8
UD
38913 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38914 prediction.
38915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38916
2fa2ae85
UD
38917 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38918 Remove unused variable magic_bits.
38919 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38920
fc2ee42a
LD
38921 * string/strnlen.c: Define and use STRNLEN macro.
38922 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38923 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38925 * wcsmbs/wcslen.c: Define and use WCSLEN.
38926 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38927 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38928 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38929 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38930 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38931 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38932 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38933
ce7dd29f
LD
389342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38935
38936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38937 strnlen-sse2-no-bsf.
38938 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38940 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38941 Add strnlen support.
38942 (USE_AS_STRNLEN): New macro.
38943 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38944 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38945 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38946 * sysdeps/x86_64/wcslen.S: New file.
38947
979c70a3
MZ
389482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38949
38950 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38951 XMM-moves are used for copying on small sizes.
38952
2d09f82f
LD
389532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38954
38955 * wcsmbs/Makefile (strop-tests): Add wcschr.
38956 * wcsmbs/test-wcschr.c: New file.
38957 * string/test-strchr.c: Update.
38958 Add wcschr support.
38959 (WIDE): New macro.
38960
619fccca
LD
389612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38962
2d09f82f 38963 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38964 * wcsmbs/test-wcslen.c: New file.
38965 * string/test-strlen.c: Update.
38966 Add wcslen support.
38967 (WIDE): New macro.
38968
09f699ea
UD
389692011-10-23 Ulrich Drepper <drepper@gmail.com>
38970
38971 * po/it.po: Update from translation team.
38972
95584d3b
LD
389732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38974
38975 * sysdeps/x86_64/wcscmp.S: Update.
38976 Fix wrong comparison semantics.
38977 wcscmp shall use signed comparison not unsigned.
38978 Don't use substraction to avoid overflow bug.
38979 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38980 * wcsmbc/wcscmp.c: Likewise.
38981 * string/test-strcmp.c: Likewise.
38982 Add new tests to check cases with negative values.
38983
c8b3296b
UD
389842011-10-23 Ulrich Drepper <drepper@gmail.com>
38985
38986 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38987 * sysdeps/x86_64/dla.h: ...here. New file.
38988 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38997
246ad57a
AS
389982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38999
39000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39001 __ynl_finite aliases.
39002
a1a87169
UD
390032011-10-22 Ulrich Drepper <drepper@gmail.com>
39004
0d355eb7
UD
39005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39006
a1a87169
UD
39007 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39008 define DLA_FMA.
39009 [DLA_FMA] (EMULV): Use DLA_FMA.
39010 [DLA_FMA] (MUL12): Use EMULV.
39011 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39012 that are not needed.
39013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39020
ee2aafe0
AS
390212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39022
39023 * math/s_nan.c: Undef __nan.
39024 * math/s_nanf.c: Undef __nanf.
39025 * math/s_nanl.c: Undef __nanl.
39026 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39027 "math_private.h".
39028
bc62c2fb
UD
390292011-10-22 Ulrich Drepper <drepper@gmail.com>
39030
77425c63
UD
39031 * math/s_catan.c: Add branch predictions.
39032 * math/s_catanf.c: Likewise.
39033 * math/s_catanh.c: Likewise.
39034 * math/s_catanhf.c: Likewise.
39035 * math/s_catanhl.c: Likewise.
39036 * math/s_catanl.c: Likewise.
39037 * math/s_cexp.c: Likewise.
39038 * math/s_cexpf.c: Likewise.
39039 * math/s_cexpl.c: Likewise.
39040 * math/s_clog.c: Likewise.
39041 * math/s_clog10.c: Likewise.
39042 * math/s_clog10f.c: Likewise.
39043 * math/s_clog10l.c: Likewise.
39044 * math/s_clogf.c: Likewise.
39045 * math/s_clogl.c: Likewise.
39046 * math/s_csqrt.c: Likewise.
39047 * math/s_csqrtf.c: Likewise.
39048 * math/s_csqrtl.c: Likewise.
39049 * math/s_ctanf.c: Likewise.
39050 * math/s_ctanh.c: Likewise.
39051 * math/s_ctanhf.c: Likewise.
39052 * math/s_ctanhl.c: Likewise.
39053 * math/s_ctanl.c: Likewise.
39054
bc62c2fb
UD
39055 * math/math_private.h: Define __nan, __nanf, __nanl.
39056 * math/s_cacosh.c: Include <math_private.h>.
39057 * math/s_cacoshl.c: Likewise.
39058 * math/s_casinh.c: Likewise.
39059 * math/s_casinhf.c: Likewise.
39060 * math/s_casinhl.c: Likewise.
39061 * math/s_ccos.c: Rely entire on ccosh.
39062 * math/s_ccosf.c: Rely entire on ccoshf.
39063 * math/s_ccosl.c: Rely entirely on ccoshl.
39064 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39065 Remove tests for FE_INVALID.
39066 * math/s_ccoshf.c: Likewise.
39067 * math/s_ccoshl.c: Likewise.
39068 * math/s_csin.c: Likewise.
39069 * math/s_csinf.c: Likewise.
39070 * math/s_csinh.c Likewise.
39071 * math/s_csinhf.c: Likewise.
39072 * math/s_csinhl.c: Likewise.
39073 * math/s_csinl.c: Likewise.
39074 * math/s_ctan.c: Likewise.
39075 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39076 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39078
8ec250a4
UD
390792011-10-21 Ulrich Drepper <drepper@gmail.com>
39080
c196fed8
UD
39081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39082 compilation problems.
39083
8ec250a4
UD
39084 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39085 __builtin_expect.
39086
8d4f46c6
UD
390872011-10-20 Ulrich Drepper <drepper@gmail.com>
39088
ed72b654
UD
39089 * sysdeps/i386/configure.in: Test for -mfma4 option.
39090 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39091 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39092 COMMON_CPUID_INDEX_80000001.
39093 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39094 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39095 use it if FMA3 is not supported.
39096 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39097
8d4f46c6
UD
39098 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39099 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39100
d45c60c2
AS
391012011-10-20 Andreas Schwab <schwab@redhat.com>
39102
39103 [BZ #12892]
39104 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39105 it would create a cycle with a link time dependency.
39106
d9a4d2ab
UD
391072011-10-19 Ulrich Drepper <drepper@gmail.com>
39108
855d1560
UD
39109 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39110 instruction.
39111 * string/Makefile (strop-tests): Add rawmemchr.
39112 * string/test-rawmemchr.c: New file.
39113
d9a4d2ab
UD
39114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39116 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39117 when compiling str{,n}casecmp and when AVX is available. Hook up
39118 new optimized code in initializers.
39119
8f3b1ffe
AS
391202011-10-19 Andreas Schwab <schwab@redhat.com>
39121
39122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39123 __feraiseexcept instead of feraiseexcept.
39124
d38f1dba
UD
391252011-10-18 Ulrich Drepper <drepper@gmail.com>
39126
d9a8d0ab
UD
39127 * math/math_private.h: Define defaults for libc_fetestexcept and
39128 libc_feupdateenv.
39129 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39130 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39131 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39132 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39133 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39134 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39135 libc_fetestexcept and libc_feupdateenv.
39136
4855e3dd
UD
39137 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39138 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39139 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39140 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39141 libc_feholdexcept_setround.
39142
581d30e3
UD
39143 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39144 Add s_nearbyint-c and s_nearbyintf-c.
39145 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39146 nearbyintf inlines.
39147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39148 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39149 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39150 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39151
d38f1dba
UD
39152 * math/math_private.h: Define defaults for libc_fegetround,
39153 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39154 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39155 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39157 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39158 standard functions.
39159 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39160 Remove comments and hacks for old compiler versions.
39161 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39162 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39163 libc_feholdexceptl.
39164
caa6c9d8
AS
391652011-10-18 Andreas Schwab <schwab@redhat.com>
39166
39167 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39168 (__feraiseexcept_renamed): Add __NTH.
39169 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39170 namespace violations.
39171
97c066e6
UD
391722011-10-17 Ulrich Drepper <drepper@gmail.com>
39173
99ce7b04
UD
39174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39175
1004d182
UD
39176 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39177
228a984d
UD
39178 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39179 recently added interfaces.
39180 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39181
c8553a6a
UD
39182 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39183 about macro parameter expansion.
39184
ed22dcf6
UD
39185 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39186 __NO_MATH_INLINES is defined. Cleanups.
39187
39188 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39189 and __floorf is target has SSE4.1.
39190 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39191 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39192 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39193 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39194
b171c137
UD
39195 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39196 name.
39197 (floorf): Likewise.
39198
97c066e6
UD
39199 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39200
629f62ef
AS
392012011-10-17 Andreas Schwab <schwab@redhat.com>
39202
49a43d80
AS
39203 * misc/sys/cdefs.h: Fix last change.
39204
629f62ef
AS
39205 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39206 database lookup.
39207
e453f6cd
UD
392082011-10-16 Ulrich Drepper <drepper@gmail.com>
39209
aa78043a
UD
39210 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39211
ad0f5cad
UD
39212 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39220 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39221 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39222 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39223 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39224 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39225 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39226 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39227 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39228 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39229 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39230 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39231 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39232 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39233 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39234
39235 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39236 ceil, ceilf, floor, floorf.
39237
39238 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39239 Perform IRELATIVE relocations last.
39240
e453f6cd
UD
39241 * elf/do-rel.h: Add another parameter nrelative, replacing the
39242 local variable with the same name. Change name of the function
39243 to end in Rel or Rela (uppercase).
39244 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39245 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39246 elf_dynamic_do_##reloc function.
39247
fd5bdc09
UD
392482011-10-15 Ulrich Drepper <drepper@gmail.com>
39249
79b195b5
UD
39250 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39251 is sufficient, at least on modern CPUs.
39252
d4a28569
UD
39253 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39254
b61099b5
UD
39255 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39256 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39257
bcf01e6d
UD
39258 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39259 __expl_finite.
39260 * math/bits/math-finite.h: Add entries for exp.
39261 * math/e_expl.c: Add __*_finite alias.
39262 * sysdeps/i386/fpu/e_exp.S: Likewise.
39263 * sysdeps/i386/fpu/e_expf.S: Likewise.
39264 * sysdeps/i386/fpu/e_expl.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39266 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39270 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39271 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39272
ba1a0d59
UD
39273 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39274 is sufficient, at least on modern CPUs.
39275
fd5bdc09
UD
39276 * ctype/ctype-info.c (__ctype_init): Define.
39277 * include/ctype.h (__ctype_init): Declare.
39278 (__ctype_b_loc): The variable is always initialized.
39279 (__ctype_toupper_loc): Likewise.
39280 (__ctype_tolower_loc): Likewise.
39281 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39282 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39283
7872cfb0
AS
392842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39285
b468825a
AS
39286 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39287
7872cfb0
AS
39288 * configure.in: Also look in $cxxmachine/include for C++ system
39289 headers.
39290
be13f7bf
LD
392912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39292
39293 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39294 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39295 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39296 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39297 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39298 (USE_AS_WMEMCMP): New macro.
39299 Fixing indents.
39300 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39301 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39302 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39303 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39305 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39306 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39307 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39308 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39309 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39311 (USE_AS_WMEMCMP): New macro.
39312 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39313 * sysdeps/string/test-memcmp.c: Update.
39314 Fix simple_wmemcmp.
39315 Add new tests.
39316 * wcsmbs/wmemcmp.c: Update.
39317 (WMEMCMP): New macro.
39318 Fix overflow bug.
39319
556a2007
AJ
393202011-10-12 Andreas Jaeger <aj@suse.de>
39321
39322 [BZ #13268]
39323 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39324
538faaa7
UD
393252011-10-15 Ulrich Drepper <drepper@gmail.com>
39326
ab6737ff
UD
39327 * libio/iofwide.c (do_length): Avoid warning.
39328
538faaa7
UD
39329 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39330
396a21b1
UD
393312011-10-14 Ulrich Drepper <drepper@gmail.com>
39332
cdf2901f
UD
39333 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39334
38ad40ce
UD
39335 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39336 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39337 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39338 * sysdeps/i386/i686/fpu/e_log.S: New file.
39339 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39340 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39341
396a21b1
UD
39342 * ctype/ctype.h: Add support for inlined isXXX functions when
39343 compiling C++ code.
39344
6b1f68c9
AS
393452011-10-14 Andreas Schwab <schwab@redhat.com>
39346
349290c0
AS
39347 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39348
6b1f68c9
AS
39349 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39350
f2282d42
RM
393512011-10-13 Roland McGrath <roland@hack.frob.com>
39352
39353 [BZ #13291]
39354 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39355
5298ffa8
AS
393562011-10-13 Andreas Schwab <schwab@redhat.com>
39357
714fad23
AS
39358 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39359 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39360 feraiseexcept.
39361
81dcc7fb
AS
39362 * sysdeps/x86_64/memrchr.S: Check for zero size.
39363
5298ffa8
AS
39364 * string/stratcliff.c: Add memrchr tests.
39365
951fbcec
LD
393662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39367
39368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39369 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39370 rawmemchr-sse2 rawmemchr-sse2-bsf.
39371 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39372 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39373 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39374 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39375 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39376 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39377 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39378 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39379 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39380 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39381 * string/memrchr.c (MEMRCHR): New macro.
39382
0ac5ae23
UD
393832011-10-12 Ulrich Drepper <drepper@gmail.com>
39384
39385 Add integration with gcc's -ffinite-math-only and optimize wrapper
39386 functions in libm.
39387 * Versions.def: Define GLIBC_2.15 version for libm.
39388 * math/Makefile (headers): Add bits/math-finite.h.
39389 * math/bits/math-finite.h: New file.
39390 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39391 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39392 * math/e_acoshl.c: Add __*_finite alias.
39393 * math/e_acosl.c: Likewise.
39394 * math/e_asinl.c: Likewise.
39395 * math/e_atan2l.c: Likewise.
39396 * math/e_atanhl.c: Likewise.
39397 * math/e_coshl.c: Likewise.
39398 * math/e_exp10.c: Likewise.
39399 * math/e_exp10f.c: Likewise.
39400 * math/e_exp10l.c: Likewise.
39401 * math/e_exp2l.c: Likewise.
39402 * math/e_fmodl.c: Likewise.
39403 * math/e_gammal_r.c: Likewise.
39404 * math/e_hypotl.c: Likewise.
39405 * math/e_j0l.c: Likewise.
39406 * math/e_j1l.c: Likewise.
39407 * math/e_jnl.c: Likewise.
39408 * math/e_lgammal_r.c: Likewise.
39409 * math/e_log10l.c: Likewise.
39410 * math/e_log2l.c: Likewise.
39411 * math/e_logl.c: Likewise.
39412 * math/e_powl.c: Likewise.
39413 * math/e_sinhl.c: Likewise.
39414 * math/e_sqrtl.c: Likewise.
39415 * math/e_scalb.c: Completely rewritten and optimized.
39416 * math/e_scalbf.c: Likewise.
39417 * math/e_scalbl.c: Likewise.
39418 * math/w_acos.c: Likewise.
39419 * math/w_acosf.c: Likewise.
39420 * math/w_acosl.c: Likewise.
39421 * math/w_acosh.c: Likewise.
39422 * math/w_acoshf.c: Likewise.
39423 * math/w_acoshl.c: Likewise.
39424 * math/w_asin.c: Likewise.
39425 * math/w_asinf.c: Likewise.
39426 * math/w_asinl.c: Likewise.
39427 * math/w_atan2.c: Likewise.
39428 * math/w_atan2f.c: Likewise.
39429 * math/w_atan2l.c: Likewise.
39430 * math/w_atanh.c: Likewise.
39431 * math/w_atanhf.c: Likewise.
39432 * math/w_atanhl.c: Likewise.
39433 * math/w_exp10.c: Likewise.
39434 * math/w_exp10f.c: Likewise.
39435 * math/w_exp10l.c: Likewise.
39436 * math/w_fmod.c: Likewise.
39437 * math/w_fmodf.c: Likewise.
39438 * math/w_fmodl.c: Likewise.
39439 * math/w_j0.c: Likewise.
39440 * math/w_j0f.c: Likewise.
39441 * math/w_j0l.c: Likewise.
39442 * math/w_j1.c: Likewise.
39443 * math/w_j1f.c: Likewise.
39444 * math/w_j1l.c: Likewise.
39445 * math/w_jn.c: Likewise.
39446 * math/w_jnf.c: Likewise.
39447 * math/w_log.c: Likewise.
39448 * math/w_logf.c: Likewise.
39449 * math/w_logl.c: Likewise.
39450 * math/w_log10.c: Likewise.
39451 * math/w_log10f.c: Likewise.
39452 * math/w_log10l.c: Likewise.
39453 * math/w_log2.c: Likewise.
39454 * math/w_log2f.c: Likewise.
39455 * math/w_log2l.c: Likewise.
39456 * math/w_pow.c: Likewise.
39457 * math/w_powf.c: Likewise.
39458 * math/w_powl.c: Likewise.
39459 * math/w_remainder.c: Likewise.
39460 * math/w_remainderf.c: Likewise.
39461 * math/w_remainderl.c: Likewise.
39462 * math/w_scalb.c: Likewise.
39463 * math/w_scalbf.c: Likewise.
39464 * math/w_scalbl.c: Likewise.
39465 * math/w_sqrt.c: Likewise.
39466 * math/w_sqrtf.c: Likewise.
39467 * math/w_sqrtl.c: Likewise.
39468 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39469 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39470 used.
39471 * math/math_private.h: Declare __kernel_standard_f.
39472 * math/w_cosh.c: Remove cruft and optimize a bit.
39473 * math/w_coshf.c: Likewise.
39474 * math/w_coshl.c: Likewise.
39475 * math/w_exp2.c: Likewise.
39476 * math/w_exp2f.c: Likewise.
39477 * math/w_exp2l.c: Likewise.
39478 * math/w_hypot.c: Likewise.
39479 * math/w_hypotf.c: Likewise.
39480 * math/w_hypotl.c: Likewise.
39481 * math/w_lgamma.c: Likewise.
39482 * math/w_lgamma_r.c: Likewise.
39483 * math/w_lgammaf.c: Likewise.
39484 * math/w_lgammaf_r.c: Likewise.
39485 * math/w_lgammal.c: Likewise.
39486 * math/w_lgammal_r.c: Likewise.
39487 * math/w_sinh.c: Likewise.
39488 * math/w_sinhf.c: Likewise.
39489 * math/w_sinhl.c: Likewise.
39490 * math/w_tgamma.c: Likewise.
39491 * math/w_tgammaf.c: Likewise.
39492 * math/w_tgammal.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39495 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39496 Minor optimizations. Pretty printing. Remove cruft.
39497 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39498 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39499 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39500 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39501 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39502 * sysdeps/i386/fpu/e_asin.S: Likewise.
39503 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39504 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39505 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39506 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39509 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39510 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39511 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39512 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39513 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39514 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39515 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39516 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39517 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39518 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39519 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39520 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39521 * sysdeps/i386/fpu/e_log.S: Likewise.
39522 * sysdeps/i386/fpu/e_log10.S: Likewise.
39523 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39524 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39525 * sysdeps/i386/fpu/e_log2.S: Likewise.
39526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39527 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39528 * sysdeps/i386/fpu/e_logf.S: Likewise.
39529 * sysdeps/i386/fpu/e_logl.S: Likewise.
39530 * sysdeps/i386/fpu/e_pow.S: Likewise.
39531 * sysdeps/i386/fpu/e_powf.S: Likewise.
39532 * sysdeps/i386/fpu/e_powl.S: Likewise.
39533 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39534 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39535 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39536 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39537 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39538 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39539 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39540 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39541 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39542 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39543 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39552 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39553 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39555 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39567 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39568 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39570 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39571 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39572 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39573 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39575 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39576 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39577 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39578 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39579 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39583 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39622 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39625 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39627 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39630 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39633 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39634 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39635 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39636 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39637 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39638 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39639 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39640 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39641 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39642 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39643 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39644 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39645 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39647 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39648 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39650 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39651 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39652 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39653 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39654 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39655 (__isnanf): Likewise.
39656 (__isinf_ns): Likewise.
39657 (__isinf_nsf): Likewise.
39658 (__finite): Likewise.
39659 (__finitef): Likewise.
39660 (__ieee754_sqrt): Define as macro.
39661 (__ieee754_sqrtf): Define as macro.
39662 (__ieee754_sqrtl): Define as macro.
39663 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39664 inlined copy.
39665 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39666 __FINITE_MATH_ONLY__ consistent.
39667 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39668
12cc2fcd
AS
396692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39670
a843a204
AS
39671 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39672 of rawmemchr.
39673
12cc2fcd
AS
39674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39675
c853acd5
UD
396762011-10-09 Ulrich Drepper <drepper@gmail.com>
39677
39678 * po/ja.po: Update from translation team.
39679
c658d255
RM
396802011-10-08 Roland McGrath <roland@hack.frob.com>
39681
110946e4
RM
39682 * locale/programs/locarchive.c (prepare_address_space): New function.
39683 (create_archive, enlarge_archive, open_archive): Use it.
39684
50604220
RM
39685 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39686 inside [SHARED], where it is used.
39687
c658d255
RM
39688 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39689
39690 * nss/getent.c (netgroup_keys): Remove unused variable.
39691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39692
6a621eb7
UD
396932011-10-08 Ulrich Drepper <drepper@gmail.com>
39694
7edb55ce
UD
39695 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39700 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39701 * math/Makefile (libm-calls): Add s_isinf_ns.
39702 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39703 * math/multc3.c: Likewise.
39704 * math/s_casin.c: Likewise.
39705 * math/s_casinf.c: Likewise.
39706 * math/s_casinl.c: Likewise.
39707 * math/s_ccos.c: Likewise.
39708 * math/s_ccosf.c: Likewise.
39709 * math/s_ccosl.c: Likewise.
39710 * math/s_ctan.c: Likewise.
39711 * math/s_ctanf.c: Likewise.
39712 * math/s_ctanh.c: Likewise.
39713 * math/s_ctanhf.c: Likewise.
39714 * math/s_ctanhl.c: Likewise.
39715 * math/s_ctanl.c: Likewise.
39716 * math/w_fmod.c: Likewise.
39717 * math/w_fmodf.c: Likewise.
39718 * math/w_fmodl.c: Likewise.
39719 * math/w_remainder.c: Likewise.
39720 * math/w_remainderf.c: Likewise.
39721 * math/w_remainderl.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39723 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39726 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39727 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39728 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39729 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39730
187da0ae
UD
39731 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39732 of the number.
39733 * stdio-common/printf_fphex.c: Likewise.
39734 * stdio-common/printf_size.c: Likewise.
39735
9277c064
UD
39736 * math/e_exp10.c: Include math_private.h using <...> not "...".
39737 * math/e_exp10f.c: Likewise.
39738 * math/e_exp10l.c: Likewise.
39739 * math/e_exp2l.c: Likewise.
39740 * math/e_j0l.c: Likewise.
39741 * math/e_j1l.c: Likewise.
39742 * math/e_jnl.c: Likewise.
39743 * math/e_lgammal_r.c: Likewise.
39744 * math/e_rem_pio2l.c: Likewise.
39745 * math/e_scalb.c: Likewise.
39746 * math/e_scalbf.c: Likewise.
39747 * math/e_scalbl.c: Likewise.
39748 * math/k_cosl.c: Likewise.
39749 * math/k_sinl.c: Likewise.
39750 * math/k_tanl.c: Likewise.
39751 * math/s_cacoshf.c: Likewise.
39752 * math/s_catan.c: Likewise.
39753 * math/s_catanf.c: Likewise.
39754 * math/s_catanh.c: Likewise.
39755 * math/s_catanhf.c: Likewise.
39756 * math/s_catanhl.c: Likewise.
39757 * math/s_catanl.c: Likewise.
39758 * math/s_ccosh.c: Likewise.
39759 * math/s_ccoshf.c: Likewise.
39760 * math/s_ccoshl.c: Likewise.
39761 * math/s_cexp.c: Likewise.
39762 * math/s_cexpf.c: Likewise.
39763 * math/s_cexpl.c: Likewise.
39764 * math/s_clog.c: Likewise.
39765 * math/s_clog10.c: Likewise.
39766 * math/s_clog10f.c: Likewise.
39767 * math/s_clog10l.c: Likewise.
39768 * math/s_clogf.c: Likewise.
39769 * math/s_clogl.c: Likewise.
39770 * math/s_csin.c: Likewise.
39771 * math/s_csinf.c: Likewise.
39772 * math/s_csinh.c: Likewise.
39773 * math/s_csinhf.c: Likewise.
39774 * math/s_csinhl.c: Likewise.
39775 * math/s_csinl.c: Likewise.
39776 * math/s_csqrt.c: Likewise.
39777 * math/s_csqrtf.c: Likewise.
39778 * math/s_csqrtl.c: Likewise.
39779 * math/s_ctan.c: Likewise.
39780 * math/s_ctanf.c: Likewise.
39781 * math/s_ctanh.c: Likewise.
39782 * math/s_ctanhf.c: Likewise.
39783 * math/s_ctanhl.c: Likewise.
39784 * math/s_ctanl.c: Likewise.
39785 * math/s_ldexp.c: Likewise.
39786 * math/s_ldexpf.c: Likewise.
39787 * math/s_ldexpl.c: Likewise.
39788 * math/s_significand.c: Likewise.
39789 * math/s_significandf.c: Likewise.
39790 * math/s_significandl.c: Likewise.
39791 * math/w_acos.c: Likewise.
39792 * math/w_acosf.c: Likewise.
39793 * math/w_acosh.c: Likewise.
39794 * math/w_acoshf.c: Likewise.
39795 * math/w_acoshl.c: Likewise.
39796 * math/w_acosl.c: Likewise.
39797 * math/w_asin.c: Likewise.
39798 * math/w_asinf.c: Likewise.
39799 * math/w_asinl.c: Likewise.
39800 * math/w_atan2.c: Likewise.
39801 * math/w_atan2f.c: Likewise.
39802 * math/w_atan2l.c: Likewise.
39803 * math/w_atanh.c: Likewise.
39804 * math/w_atanhf.c: Likewise.
39805 * math/w_atanhl.c: Likewise.
39806 * math/w_cosh.c: Likewise.
39807 * math/w_coshf.c: Likewise.
39808 * math/w_coshl.c: Likewise.
39809 * math/w_dremf.c: Likewise.
39810 * math/w_exp10.c: Likewise.
39811 * math/w_exp10f.c: Likewise.
39812 * math/w_exp10l.c: Likewise.
39813 * math/w_exp2.c: Likewise.
39814 * math/w_exp2f.c: Likewise.
39815 * math/w_fmod.c: Likewise.
39816 * math/w_fmodf.c: Likewise.
39817 * math/w_fmodl.c: Likewise.
39818 * math/w_hypot.c: Likewise.
39819 * math/w_hypotf.c: Likewise.
39820 * math/w_hypotl.c: Likewise.
39821 * math/w_j0.c: Likewise.
39822 * math/w_j0f.c: Likewise.
39823 * math/w_j0l.c: Likewise.
39824 * math/w_j1.c: Likewise.
39825 * math/w_j1f.c: Likewise.
39826 * math/w_j1l.c: Likewise.
39827 * math/w_jn.c: Likewise.
39828 * math/w_jnf.c: Likewise.
39829 * math/w_jnl.c: Likewise.
39830 * math/w_lgamma.c: Likewise.
39831 * math/w_lgamma_r.c: Likewise.
39832 * math/w_lgammaf.c: Likewise.
39833 * math/w_lgammaf_r.c: Likewise.
39834 * math/w_lgammal.c: Likewise.
39835 * math/w_lgammal_r.c: Likewise.
39836 * math/w_log.c: Likewise.
39837 * math/w_log10.c: Likewise.
39838 * math/w_log10f.c: Likewise.
39839 * math/w_log10l.c: Likewise.
39840 * math/w_log2.c: Likewise.
39841 * math/w_log2f.c: Likewise.
39842 * math/w_log2l.c: Likewise.
39843 * math/w_logf.c: Likewise.
39844 * math/w_logl.c: Likewise.
39845 * math/w_pow.c: Likewise.
39846 * math/w_powf.c: Likewise.
39847 * math/w_powl.c: Likewise.
39848 * math/w_remainder.c: Likewise.
39849 * math/w_remainderf.c: Likewise.
39850 * math/w_remainderl.c: Likewise.
39851 * math/w_scalb.c: Likewise.
39852 * math/w_scalbf.c: Likewise.
39853 * math/w_scalbl.c: Likewise.
39854 * math/w_sinh.c: Likewise.
39855 * math/w_sinhf.c: Likewise.
39856 * math/w_sinhl.c: Likewise.
39857 * math/w_sqrt.c: Likewise.
39858 * math/w_sqrtf.c: Likewise.
39859 * math/w_sqrtl.c: Likewise.
39860 * math/w_tgamma.c: Likewise.
39861 * math/w_tgammaf.c: Likewise.
39862 * math/w_tgammal.c: Likewise.
39863
6a621eb7
UD
39864 * po/ja.po: Update from translation team.
39865
bf582445
AJ
398662011-09-29 Andreas Jaeger <aj@suse.de>
39867
f9efbf3a
AJ
39868 [BZ #13179]
39869 * sunrpc/netname.c (netname2host): Fix logic.
39870
bf582445
AJ
39871 [BZ #6779]
39872 [BZ #6783]
39873 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39874 correctly.
39875 * math/w_remainder.c (__remainder): Likewise.
39876 * math/w_remainderf.c (__remainderf): Likewise.
39877 * math/libm-test.inc (remainder_test): Add test cases.
39878
48693bea
AK
398792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39880
39881 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39882 sdiv_qrnnd.
39883
42622229
LD
398842011-10-07 Ulrich Drepper <drepper@gmail.com>
39885
39886 * string/test-memcmp.c: Avoid unncessary #defines.
39887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39888
093ecf92
LD
398892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39890
39891 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39892 Use new sse2 version for core i3 - i7 as it's faster
39893 than sse42 version.
39894 (bit_Prefer_PMINUB_for_stringop): New.
39895 * sysdeps/x86_64/rawmemchr.S: Update.
39896 Replace with faster SSE2 version.
39897 * sysdeps/x86_64/memrchr.S: New file.
39898 * sysdeps/x86_64/memchr.S: Update.
39899 Replace with faster SSE2 version.
39900
fde56e5c
MP
399012011-09-12 Marek Polacek <mpolacek@redhat.com>
39902
39903 * elf/dl-load.c (lose): Add cast to avoid warning.
39904
21fd49a9
UD
399052011-10-07 Ulrich Drepper <drepper@gmail.com>
39906
5a06e643
UD
39907 * po/ca.po: Update from translation team.
39908
684ae515
UD
39909 * inet/getnetgrent_r.c: Hook up nscd.
39910 * nscd/Makefile (routines): Add nscd_netgroup.
39911 (nscd-modules): Add netgroupcache.
39912 (CFLAGS-netgroupcache.c): Define.
39913 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39914 (cache_search): Add const to second parameter.
39915 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39916 INNETGR.
39917 (dbs): Add netgrdb entry.
39918 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39919 (verify_persistent_db): Handle netgrdb.
39920 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39921 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39922 GETFDNETGR.
39923 (netgroup_response_header): Define.
39924 (innetgroup_response_header): Define.
39925 (datahead): Add netgroup_response_header and innetgroup_response_header
39926 elements.
39927 * nscd/nscd.conf: Add entries for netgroup cache.
39928 * nscd/nscd.h (dbtype): Add netgrdb.
39929 (_PATH_NSCD_NETGROUP_DB): Define.
39930 (netgroup_iov_disabled): Declare.
39931 (xmalloc, xcalloc, xrealloc): Move declarations here.
39932 (cache_search): Adjust prototype.
39933 Add netgroup-related prototypes.
39934 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39935 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39936 (__nscd_innetgr): Declare.
39937 * nscd/selinux.c (perms): Use access_vector_t as element type and
39938 add netgroup-related initializers.
39939 * nscd/netgroupcache.c: New file.
39940 * nscd/nscd_netgroup.c: New file.
39941 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39942 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39943 For four parameters use innetgr.
39944 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39945 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39946 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39947 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39948
21fd49a9
UD
39949 * nscd/connections.c (register_traced_file): Don't register file
39950 for disabled databases.
39951
054c0457
UD
399522011-10-06 Ulrich Drepper <drepper@gmail.com>
39953
32b63198
UD
39954 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39955
054c0457
UD
39956 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39957 from tree and freeing node.
39958
64031225
JO
399592011-09-25 Jiri Olsa <jolsa@redhat.com>
39960
39961 * nss/nsswitch.c (__nss_database_lookup): Handle
39962 nss_parse_service_list out of memory case.
39963
0490345c
JO
399642011-09-15 Jiri Olsa <jolsa@redhat.com>
39965
39966 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39967 out of memory case.
39968
3a62d00d
AS
399692011-10-04 Andreas Schwab <schwab@redhat.com>
39970
39971 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39972 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39973 pass it down.
39974 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39975 elf_machine_rela, elf_machine_lazy_rel.
39976 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39977 (ELF_DYNAMIC_DO_REL): Likewise.
39978 (ELF_DYNAMIC_DO_RELA): Likewise.
39979 (ELF_DYNAMIC_RELOCATE): Likewise.
39980 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39981 to ELF_DYNAMIC_DO_REL.
39982 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39983 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39984 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39985 elf_machine_rela.
39986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39987 skip_ifunc, don't call ifunc function if non-zero.
39988 (elf_machine_rela): Likewise.
39989 (elf_machine_lazy_rel): Likewise.
39990 (elf_machine_lazy_rela): Likewise.
39991 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39992 (elf_machine_lazy_rel): Likewise.
39993 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39994 Likewise.
39995 (elf_machine_lazy_rel): Likewise.
39996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39997 Likewise.
39998 (elf_machine_lazy_rel): Likewise.
39999 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40000 (elf_machine_lazy_rel): Likewise.
40001 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40002 (elf_machine_lazy_rel): Likewise.
40003 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40004 (elf_machine_lazy_rel): Likewise.
40005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40006 (elf_machine_lazy_rel): Likewise.
40007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40008 (elf_machine_lazy_rel): Likewise.
40009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40010 (elf_machine_lazy_rel): Likewise.
40011
68577918
UD
400122011-09-28 Ulrich Drepper <drepper@gmail.com>
40013
40014 * nss/nss_files/files-init.c (_nss_files_init): Use static
40015 initialization for all the *_traced_file variables.
40016
68822d74
AS
400172011-09-28 Andreas Schwab <schwab@redhat.com>
40018
40019 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40020
2056100b
RM
400212011-09-27 Roland McGrath <roland@hack.frob.com>
40022
40023 [BZ #13226]
40024 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40025
32c76b63
AS
400262011-09-27 Andreas Schwab <schwab@redhat.com>
40027
40028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40029 Reread the line before reparsing it.
40030
bf972c9d
AS
400312011-09-26 Andreas Schwab <schwab@redhat.com>
40032
40033 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40034
e057a1b5
JM
400352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40036 Maxim Kuvyrkov <maxim@codesourcery.com>
40037 Joseph Myers <joseph@codesourcery.com>
40038
40039 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40040 if needed for __stack_chk_guard.
40041
bc7e1c36
RM
400422011-09-19 Roland McGrath <roland@hack.frob.com>
40043
ecb1482f
RM
40044 * sysdeps/posix/spawni.c (script_execute): Always define it.
40045 It will be optimized away if unused.
40046 (maybe_script_execute): New function.
40047 (__spawni): Call it.
40048
bc7e1c36
RM
40049 * Makerules: Don't include tls.make.
40050 (config-tls): Always set to thread.
40051 * tls.make.c: File removed.
40052
1c3b002b
MF
400532011-09-19 Mike Frysinger <vapier@gentoo.org>
40054
40055 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40056 * config.make.in (CPPFLAGS-config): New substituted variable.
40057
2840865d
UD
400582011-09-15 Ulrich Drepper <drepper@gmail.com>
40059
88738eb6
UD
40060 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40061
cbf645a6 40062 [BZ #13192]
2840865d
UD
40063 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40064 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40065
b402e91a
RM
400662011-09-15 Roland McGrath <roland@hack.frob.com>
40067
40068 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40069 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40071 (CALL_FAIL): Likewise.
40072 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40073 (CALL_FAIL): Macro removed.
40074 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40075
4c1a1f71
UD
400762011-09-15 Ulrich Drepper <drepper@gmail.com>
40077
40078 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40079 for __FINITE_MATH_ONLY__ == 1.
40080
edc121be
AS
400812011-09-15 Andreas Schwab <schwab@redhat.com>
40082
40083 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40084 __ieee754_sqrt instead of sqrt.
40085 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40086 __ieee754_sqrtf instead of sqrtf.
40087 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40088 __floorf instead of floorf.
40089 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40090 __floorf, __truncf instead of floorf, truncf.
40091
cd205654
UD
400922011-09-14 Ulrich Drepper <drepper@gmail.com>
40093
ee4d0315
UD
40094 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40095
cd205654
UD
40096 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40097 __extern_always_inline.
40098 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40099 32-bit.
40100
48b67d71
AS
401012011-09-14 Andreas Schwab <schwab@redhat.com>
40102
40103 * elf/rtld.c (dl_main): Also relocate in dependency order when
40104 doing symbol dependency testing.
40105
1ae12c75
AS
401062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40107
40108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40109 Always define `refsym'.
40110
995a80df
AS
401112011-09-13 Andreas Schwab <schwab@redhat.com>
40112
e529793b
AS
40113 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40114 (__FD_ELT): Renamed from __FDELT.
40115 * misc/bits/select2.h (__FD_ELT): Likewise.
40116 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40117 __FD_MASK instead of __FDELT, __FDMASK.
40118 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40119 Likewise.
40120 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40121 Likewise.
40122
52d4fef8
AS
40123 * elf/Makefile (gen-ldd): Fix pattern.
40124
995a80df
AS
40125 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40126 (init_tls): Likewise.
40127
8682f8b0
UD
401282011-09-12 Ulrich Drepper <drepper@gmail.com>
40129
40130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40131
de82006d
AS
401322011-09-12 Andreas Schwab <schwab@redhat.com>
40133
a7c8e6a1
AS
40134 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40135 `struct cmsghdr *' instead of `void *'.
40136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40137 Likewise.
40138
0f31fe77
AS
401392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40140
40141 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40142 if non-absolute.
40143 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40144 ldd_rewrite_script.
0f31fe77 40145
32b4c839
UD
401462011-09-11 Ulrich Drepper <drepper@gmail.com>
40147
83cd1420
UD
40148 * configure.in: Remove --with-tls option.
40149 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40150 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40151 out in case it is missing.
40152 * sysdeps/ia64/elf/configure.in: Likewise.
40153 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40154 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40155 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40156 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40157 * sysdeps/sh/elf/configure.in: Likewise.
40158 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40159 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40160 * sysdeps/x86_64/elf/configure.in: Likewise.
40161 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40162 * sysdeps/mach/hurd/tls.h: Likewise.
40163
633f745d
UD
40164 [BZ #13067]
40165 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40166
f318beb8
UD
40167 [BZ #13090]
40168 * configure.in: Fix use of AC_INIT.
40169
32b4c839
UD
40170 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40171
3ce1f295
UD
401722011-09-10 Ulrich Drepper <drepper@gmail.com>
40173
bb016596
UD
40174 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40175 __set_errno.
8e58439c
UD
40176 * malloc/hooks.c: Likewise.
40177
aebae053 40178 [BZ #11929]
02d46fc4
UD
40179 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40180 variables statically.
40181 (narenas): Initialize.
40182 (list_lock): Initialize.
bb016596
UD
40183 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40184 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40185 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40186 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40187 Add initializers to main_arena and mp_.
40188 (malloc_state): Remove pagesize member. Change all users to use
40189 GLRO(dl_pagesize).
40190
40191 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40192 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40193 is always initialized.
40194
22a89187
UD
40195 * malloc/malloc.c: Removed unused configurations and dead code.
40196 * malloc/arena.c: Likewise.
40197 * malloc/hooks.c: Likewise.
02d46fc4 40198 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40199
d063d164
UD
40200 * include/tls.h: Removed. USE___THREAD must always be defined.
40201 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40202 * elf/dl-libc.c: Likewise.
40203 * elf/dl-tsd.c: Likewise.
40204 * include/errno.h: Likewise.
40205 * include/netdb.h: Likewise.
40206 * include/resolv.h: Likewise.
40207 * inet/herrno-loc.c: Likewise.
40208 * inet/herrno.c: Likewise.
40209 * malloc/arena.c: Likewise.
40210 * malloc/hooks.c: Likewise.
40211 * malloc/malloc.c: Likewise.
40212 * resolv/res-state.c: Likewise.
40213 * resolv/res_libc.c: Likewise.
40214 * sysdeps/i386/dl-machine.h: Likewise.
40215 * sysdeps/ia64/dl-machine.h: Likewise.
40216 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40217 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40218 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40219 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40220 * sysdeps/sh/dl-machine.h: Likewise.
40221 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40222 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40223 * sysdeps/unix/i386/sysdep.S: Likewise.
40224 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40225 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40230 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40234 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40235 * sysdeps/x86_64/dl-machine.h: Likewise.
40236 * tls.make.c: Likewise.
40237
3ce1f295
UD
40238 * configure.in: Remove --with-__thread option. Make tests for
40239 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40240 tls_model attribute fail if no support is available. Remove
40241 USE_IN_LIBIO.
40242 * Makeconfig: Adjust for dropped configure option. All features are
40243 now mandatory.
40244 * Makerules: Likewise.
40245 * Versions.def: Likewise.
40246 * argp/argp-fmtstream.c: Likewise.
40247 * argp/argp-fmtstream.h: Likewise.
40248 * argp/argp-help.c: Likewise.
40249 * assert/assert.c: Likewise.
40250 * config.h.in: Likewise.
40251 * config.make.in: Likewise.
40252 * configure: Likewise.
40253 * configure.in: Likewise.
40254 * csu/Versions: Likewise.
40255 * csu/init.c: Likewise.
40256 * elf/tst-audit2.c: Likewise.
40257 * elf/tst-tls10.c: Likewise.
40258 * elf/tst-tls10.h: Likewise.
40259 * elf/tst-tls11.c: Likewise.
40260 * elf/tst-tls12.c: Likewise.
40261 * elf/tst-tls14.c: Likewise.
40262 * elf/tst-tlsmod11.c: Likewise.
40263 * elf/tst-tlsmod12.c: Likewise.
40264 * elf/tst-tlsmod13.c: Likewise.
40265 * elf/tst-tlsmod13a.c: Likewise.
40266 * elf/tst-tlsmod14a.c: Likewise.
40267 * elf/tst-tlsmod15b.c: Likewise.
40268 * elf/tst-tlsmod16a.c: Likewise.
40269 * elf/tst-tlsmod16b.c: Likewise.
40270 * elf/tst-tlsmod7.c: Likewise.
40271 * elf/tst-tlsmod8.c: Likewise.
40272 * elf/tst-tlsmod9.c: Likewise.
40273 * gmon/gmon.c: Likewise.
40274 * grp/fgetgrent_r.c: Likewise.
40275 * grp/putgrent.c: Likewise.
40276 * hurd/fopenport.c: Likewise.
40277 * include/libc-symbols.h: Likewise.
40278 * include/tls.h: Likewise.
40279 * intl/gettextP.h: Likewise.
40280 * intl/loadinfo.h: Likewise.
40281 * locale/global-locale.c: Likewise.
40282 * locale/localeinfo.h: Likewise.
40283 * mach/devstream.c: Likewise.
40284 * malloc/arena.c: Likewise.
40285 * malloc/set-freeres.c: Likewise.
40286 * misc/err.c: Likewise.
40287 * misc/getttyent.c: Likewise.
40288 * misc/mntent_r.c: Likewise.
40289 * posix/getopt.c: Likewise.
40290 * posix/wordexp.c: Likewise.
40291 * pwd/fgetpwent_r.c: Likewise.
40292 * resolv/Versions: Likewise.
40293 * resolv/res_hconf.c: Likewise.
40294 * shadow/fgetspent_r.c: Likewise.
40295 * shadow/putspent.c: Likewise.
40296 * stdio-common/printf_fphex.c: Likewise.
40297 * stdio-common/tmpfile.c: Likewise.
40298 * stdlib/abort.c: Likewise.
40299 * stdlib/fmtmsg.c: Likewise.
40300 * sunrpc/auth_unix.c: Likewise.
40301 * sunrpc/clnt_perr.c: Likewise.
40302 * sunrpc/clnt_tcp.c: Likewise.
40303 * sunrpc/clnt_udp.c: Likewise.
40304 * sunrpc/clnt_unix.c: Likewise.
40305 * sunrpc/openchild.c: Likewise.
40306 * sunrpc/svc_simple.c: Likewise.
40307 * sunrpc/svc_tcp.c: Likewise.
40308 * sunrpc/svc_udp.c: Likewise.
40309 * sunrpc/svc_unix.c: Likewise.
40310 * sunrpc/xdr.c: Likewise.
40311 * sunrpc/xdr_array.c: Likewise.
40312 * sunrpc/xdr_rec.c: Likewise.
40313 * sunrpc/xdr_ref.c: Likewise.
40314 * sunrpc/xdr_stdio.c: Likewise.
40315
1248c1c4
PB
403162011-09-09 Ulrich Drepper <drepper@gmail.com>
40317
40318 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40319
403202011-07-03 Andreas Jaeger <aj@suse.de>
40321
40322 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40323 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40324 regenerate with gen-libm-tests.pl.
40325
403262010-05-12 Petr Baudis <pasky@suse.cz>
40327
40328 [BZ #11589]
40329 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40330 around j0() zero points by switching to j1().
40331 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40335
f22e1074
UD
403362011-09-09 Ulrich Drepper <drepper@gmail.com>
40337
f19009c1
UD
40338 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40339 instead of 0.
40340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40341 instead of 0.
f19009c1
UD
40342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40343 Patch in part by Pavel Roskin <proski@gnu.org>.
40344
3f8cc204
UD
40345 [BZ #13138]
40346 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40347 realloc.
40348 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40349 Free memory block if necessary.
40350
f22e1074
UD
40351 [BZ #12847]
40352 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40353 be NULL. Don't lock in this case.
40354
0a2349f9
RM
403552011-09-09 Roland McGrath <roland@hack.frob.com>
40356
40357 * elf/elf.h (ELFOSABI_GNU): New macro.
40358 (ELFOSABI_LINUX): Define to that.
40359
f3cdd467
DZ
403602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40361
40362 * string/strncat.c (strncat): Undef the symbol in case it has been
40363 defined in bits/string.h.
40364
74718d13
UD
403652011-09-09 Ulrich Drepper <drepper@gmail.com>
40366
633e9e0f
UD
40367 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40368
0a2349f9 40369 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40370 link map.
40371
f9924780
AJ
403722011-08-17 Andreas Jaeger <aj@suse.de>
40373
40374 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40375
7f5517aa
PP
403762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40377 Ian Lance Taylor <iant@google.com>
40378
40379 * math/libm-test.inc (lround_test): New testcase.
40380 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40381
762011fe
UD
403822011-09-08 Ulrich Drepper <drepper@gmail.com>
40383
92963737
UD
40384 * Makefile: Remove support for automatic cvs check-ins.
40385 * Makerules: Likewise.
40386 * config.make.in: Likewise.
40387 * configure.in: Likewise.
40388 * intl/Makefile: Likewise.
40389 * locale/Makefile: Likewise.
40390 * po/Makefile: Likewise.
40391 * posix/Makefile: Likewise.
40392 * sysdeps/gnu/Makefile: Likewise.
40393 * sysdeps/mach/hurd/Makefile: Likewise.
40394 * sysdeps/sparc/sparc32/Makefile: Likewise.
40395
b0727fd8
JS
40396 [BZ #13118]
40397 * posix/Makefile (bug-regex32-ENV): Define.
40398 Patch by John Stanley <jpsinthemix@verizon.net>.
40399
a0f33f99
UD
40400 * misc/Makefile (headers): Add bits/select2.h.
40401 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40402 * misc/bits/select2.h: New file.
40403 * include/bits/select2.h: New file.
40404 * debug/Makefile (routines): Add fdelt_chk.
40405 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40406 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40407 FD_ISSET.
40408 * debug/fdelt_chk.c: New file.
40409
762011fe
UD
40410 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40411 * wcsmbs/test-wmemcmp.c: Likewise.
40412 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40413 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40414
404152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40416
40417 * string/Makefile (strop-tests): Add memcmp.
40418 * string/test-wmemcmp.c: New file.
40419 * string/test-memcmp.c: Add wmemcmp support.
40420
7f513ec8
RM
404212011-09-08 Roland McGrath <roland@hack.frob.com>
40422
0442afb4
RM
40423 [BZ #13153]
40424 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40425 2011-07-19 change.
40426
7f513ec8
RM
40427 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40428 garbage value in a __mach_port_mod_refs call in the cases of the
40429 task-self and thread-self ports.
40430
a12b2239
ST
404312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40432
40433 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40434
610f9ab4
AS
404352011-09-08 Andreas Schwab <schwab@redhat.com>
40436
7f513ec8 40437 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40438
48882a1a
LD
404392011-09-07 Ulrich Drepper <drepper@gmail.com>
40440
b49865be
UD
40441 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40442
fdc86bc9
UD
40443 * elf/dl-libc.c (dlerror_run): Pass back error code from
40444 dl_catch_error.
40445
c966526a
UD
40446 [BZ #13123]
40447 * elf/dl-load.c (lose): Free l_origin if it is valid.
40448
48882a1a
LD
40449 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40450 names.
40451 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40453 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40454 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40456 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40457
77a2a8b4
AZ
404582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40459
40460 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40461 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40462 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40463 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40464 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40465 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40466 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40467 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40468 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40469 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40470
24f579d8
AM
404712011-08-15 Alan Modra <amodra@gmail.com>
40472
40473 [BZ #13092]
40474 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40475 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40476 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40477 ppc_mcount to static-only-routines.
40478 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40479 __mcount_internal.
40480 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40481 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40482
3d4837df
UD
404832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40484
40485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40486 for finite and infinity parameters.
40487
22700377
WS
404882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40489
40490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40491 and add nop instructions for throughput optimization.
40492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40493
5025581e
WS
404942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40495
40496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40497 aligned copy for power7 with vector-scalar instructions.
40498 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40499
08a300c9
L
405002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40501
40502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40503 AVX check.
40504
59178ef9
AS
405052011-09-07 Andreas Schwab <schwab@redhat.com>
40506
40507 [BZ #13144]
40508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40509 last change.
40510
e38ba7ab
UD
405112011-09-07 Ulrich Drepper <drepper@gmail.com>
40512
40513 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40514 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40515 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40516 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40517 clock_gettime.
40518
d53a73ac
UD
405192011-09-06 Ulrich Drepper <drepper@gmail.com>
40520
fc8bffcc
UD
40521 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40522 Forgot to demangle the pointer.
40523
ceaa0c5d
UD
40524 * sysdeps/i386/sysdep.h: Define atom_text_section.
40525 * sysdeps/x86_64/sysdep.h: Likewise.
40526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40527 section with atom_text_section.
40528 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40530 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40533
a77d3c17
UD
40534 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40536 already be defined. Change to take two parameters and don't assign
40537 result to variable. Adjust all users.
40538 Define INTERNAL_GETTIME if not already defined.
40539 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40540 call.
40541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40542 HAVE_CLOCK_GETTIME_VSYSCALL.
40543 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40544
d53a73ac
UD
40545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40546 gettimeofday vsyscall, just use time.
40547
a8f84144
AS
405482011-09-06 Andreas Schwab <schwab@redhat.com>
40549
40550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40551 <errno.h>.
40552
ef606249
UD
405532011-09-06 Ulrich Drepper <drepper@gmail.com>
40554
40555 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40556 syscall on x86-64.
40557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40558 syscall.
40559 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40560 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40561 syscall if possible.
40562
6585cb60
UD
405632011-09-05 Ulrich Drepper <drepper@gmail.com>
40564
40565 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40566 e_ident. Don't pass to find_mapsXX.
40567 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40568
a5f524e4
LD
405692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40570
40571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40572 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40573 * sysdeps/x86_64/multiarch/strchr.S: Update.
40574 Check bit_slow_BSF bit.
40575 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40576 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40577 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40578
554881ef
UD
405792011-09-05 Ulrich Drepper <drepper@gmail.com>
40580
d96de963
UD
40581 [BZ #13134]
40582 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40583 before glibc 2.15.
40584 (tryshell): Define.
40585 (__spawni): Change last parameter to be flag. Test
40586 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40587 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40588 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40589 * posix/spawni.c: Likewise.
40590 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40591 * posix/spawnp.c: Likewise. Change normal version to use
40592 SPAWN_XFLAGS_USE_PATH.
40593 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40594 SPAWN_XFLAGS_TRY_SHELL.
40595
d48e5868
UD
40596 [BZ #13150]
40597 * posix/glob.h: Remove gcc 1.x support.
40598
554881ef
UD
40599 [BZ #13068]
40600 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40601
693fb948
LD
406022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40603
40604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40605 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40606 strrchr-sse2-bsf
40607 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40608 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40609 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40611 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40612 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40613
1b48c537
UD
406142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40615
49d42c37
UD
40616 * sysdeps/x86_64/wcscmp.S: New file.
40617
1b48c537
UD
40618 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40619 wcscmp-c wcscmp-sse2
40620 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40621 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40622 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40623 * wcsmbs/wcscmp.c: Allow renaming.
40624
15c95c5d
DM
406252011-09-05 David S. Miller <davem@davemloft.net>
40626
40627 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40628 stack slot, rather than the struct return pointer slot.
40629 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40630 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40632 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40633
2f0ad8f3
UD
406342011-09-05 Ulrich Drepper <drepper@gmail.com>
40635
d88ae418
UD
40636 * po/ja.po: Update from translation team.
40637
2f0ad8f3
UD
40638 [BZ #13144]
40639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40640 kernel in 64-bit binaries.
40641
5f4318d1
DM
406422011-09-01 David S. Miller <davem@davemloft.net>
40643
40644 * elf/elf.h (HWCAP_SPARC_*): Move to..
40645 * sysdeps/sparc/sysdep.h: this new file and add new values.
40646 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40647 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40648 _DL_HWCAP_COUNT to 24.
40649 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40650 entries.
40651 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40652 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40653 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40655 instead of magic constants.
40656 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40657
3ba57516
DM
406582011-08-31 David S. Miller <davem@davemloft.net>
40659
40660 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40662 Reimplement to do errno handling inline.
40663 (SYSCALL_ERROR_HANDLER): New macro.
40664 (__SYSCALL_STRING): Do not do errno handling in asm.
40665 (__CLONE_SYSCALL_STRING): Delete.
40666 (__INTERNAL_SYSCALL_STRING): Delete.
40667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40668 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40669 (PSEUDO): Reimplement to do errno handling inline.
40670 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40671 (SYSCALL_ERROR_HANDLER): New macro.
40672 (__SYSCALL_STRING): Do not do errno handling in asm.
40673 (__CLONE_SYSCALL_STRING): Delete.
40674 (__INTERNAL_SYSCALL_STRING): Delete.
40675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40676 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40677 i386.
40678 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40679 (inline_syscall*): Add 'err' argument.
40680 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40681 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40682 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40683 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40684
40685 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40686 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40687
2bc17433
AS
406882011-08-30 Andreas Schwab <schwab@redhat.com>
40689
40690 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40691
fbeb5f4d
JO
406922011-08-29 Jiri Olsa <jolsa@redhat.com>
40693
40694 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40695 directive.
40696
ad69cc26
DM
406972011-08-24 David S. Miller <davem@davemloft.net>
40698
40699 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40700
39dd69df
AS
407012011-08-24 Andreas Schwab <schwab@redhat.com>
40702
40703 * elf/Makefile: Add rules to build and run unload8 test.
40704 * elf/unload8.c: New file.
40705 * elf/unload8mod1.c: New file.
40706 * elf/unload8mod1x.c: New file.
40707 * elf/unload8mod2.c: New file.
40708 * elf/unload8mod3.c: New file.
40709
40710 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40711 it wasn't used.
40712
2c0b250a
DM
407132011-08-23 David S. Miller <davem@davemloft.net>
40714
40715 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40716 subtract stack bias.
40717 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40718 %sp not %fp in calculations.
40719 (_JMPBUF_UNWINDS_ADJ): Likewise.
40720
22044b48
DM
40721 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40722 (aio_suspend): Call it to force an exception region around the
40723 AIO_MISC_WAIT() invocation.
40724
2cae4995
AS
407252011-08-23 Andreas Schwab <schwab@redhat.com>
40726
40727 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40728 backslash.
40729
873a772e
AJ
407302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40731
40732 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40733 protection macro.
40734 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40735 and <dl-machine.h>.
40736 (Elf64_FuncDesc): Remove.
40737
25ad0df1
DM
407382011-08-22 David S. Miller <davem@davemloft.net>
40739
40740 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40741 sigaltstack check, add missing cfi directives.
40742 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40743 missing cfi directives, and sigaltstack handling.
40744
e888bcbe
AS
407452011-08-16 Andreas Schwab <schwab@redhat.com>
40746
40747 [BZ #11724]
40748 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40749 object is seen twice.
40750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40751
40752 * elf/Makefile (distribute): Add tst-initorder2.c.
40753 (tests): Add tst-initorder2.
40754 (modules-names): Add tst-initorder2a tst-initorder2b
40755 tst-initorder2c tst-initorder2d. Add rules to build them.
40756 ($(objpfx)tst-initorder2.out): New rule.
40757 * elf/tst-initorder2.c: New file.
40758 * elf/tst-initorder2.exp: New file.
40759
87162f46
AS
407602011-08-22 Andreas Schwab <schwab@redhat.com>
40761
70538b7f
AS
40762 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40763
f55ffe58
AS
40764 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40765 dependencies back to end of function.
40766
87162f46
AS
40767 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40768 $(elfobjdir)/ld.so.
40769
91b392a4
UD
407702011-08-21 Ulrich Drepper <drepper@gmail.com>
40771
40772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40773 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40775 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40776 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40777 of __vdso_gettimeofday.
40778 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40779 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40780 attribute_hidden.
40781 (_libc_vdso_platform_setup): Remove initialization of
40782 __vdso_gettimeofday and __vdso_time.
40783
5c43483f
UD
407842011-08-20 Ulrich Drepper <drepper@gmail.com>
40785
775a77e7
UD
40786 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40787 and fgetc_unlocked.
40788 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40789 getc_unlocked.
89f447ed 40790
49c74ba9
UD
40791 * elf/dl-open.c (add_to_global): Report additions to the global scope
40792 for LD_DEBUG=scopes.
40793 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40794 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40795
5c43483f
UD
40796 [BZ #13114]
40797 * stdio-common/Makefile (tests): Add bug24.
40798 * stdio-common/bug24.c: New file.
40799
a101b025
AJ
408002011-08-19 Andreas Jaeger <aj@suse.de>
40801
40802 [BZ #13114]
40803 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40804 non-existant file when using close-on-exec mode.
40805
c88f1766
UD
408062011-08-20 Ulrich Drepper <drepper@gmail.com>
40807
0276a718
UD
40808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40809 the very first instruction.
40810
c88f1766
UD
40811 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40812 the CFI state in the end.
40813 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40814 inclusion of dl-trampoline.h.
40815 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40816
51ccffa0
AS
408172011-08-19 Andreas Schwab <schwab@redhat.com>
40818
94d7165f
AS
40819 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40820 expectations for long double.
40821
51ccffa0
AS
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40823 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40824
fd708658 408252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40826
40827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40828 artificual limit depends upon the system page size.
40829
44f0a71e
UD
408302011-08-17 Ulrich Drepper <drepper@gmail.com>
40831
40832 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40833 * resolv/Makefile: Define CFLAGS-libresolv.
40834
8de79a24
AS
408352011-08-17 Andreas Schwab <schwab@redhat.com>
40836
40837 * nss/makedb.c (compute_tables): Make variables used in nested
40838 function static.
40839
27724598
UD
408402011-08-17 Ulrich Drepper <drepper@gmail.com>
40841
c5305d88
UD
40842 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40843 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40844 if buffer was too small.
40845
27724598
UD
40846 * elf/pldd.c (main): Attach to all threads in the process.
40847 Rewrite /proc handling to use *at functions.
40848
076fe015
UD
408492011-08-16 Ulrich Drepper <drepper@gmail.com>
40850
174baab3
UD
40851 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40852 specifies first scope to show.
40853 (dl_open_worker): Update callers. Move printing scope of new
40854 object to before the relocation.
44f0a71e 40855 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40856 * sysdeps/generic/ldsodefs.h: Update declaration.
40857
076fe015
UD
40858 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40859 string for the scope number.
40860
a60df2c3
UD
408612011-08-14 Ulrich Drepper <drepper@gmail.com>
40862
40863 * nscd/servicescache.c (cache_addserv): Make sure written is always
40864 initialized.
40865
5e4287d1
RM
408662011-08-14 Roland McGrath <roland@hack.frob.com>
40867
85ae0589
RM
40868 * sysdeps/i386/i486/bits/atomic.h
40869 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40870 statement expression, so as to suppress "set but not used" warning.
40871 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40872
69f63097
RM
40873 * string/strncat.c (STRNCAT): Use prototype definition.
40874
675456ef
RM
40875 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40876 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40877 -Iprograms here.
40878 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40879 (localedef-modules): Add localedef.
40880 (locale-modules): Add locale.
40881
5e4287d1
RM
40882 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40883 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40884 to avoid a warning.
40885
9c96ff23
DM
408862011-08-14 David S. Miller <davem@davemloft.net>
40887
40888 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40889 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40890
f9ddf089
UD
408912011-08-13 Ulrich Drepper <drepper@gmail.com>
40892
44f0a71e 40893 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40894 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40895 * elf/rtld.c (dl_main): Set l_name of vDSO.
40896 Call _dl_show_scope when DL_DEBUG_SCOPES.
40897 (process_dl_debug): Recognize scopes flag and also set it for all.
40898 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40899 Declare _dl_show_scope.
40900
1dc27704
UD
40901 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40902 (do_dlopen): Pass caller_dlopen to dl_open.
40903 (__libc_dlopen_mode): Initialize caller_dlopen.
40904
f9ddf089
UD
40905 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40906 of libc. Make tolower call locale-independent. Optimize a bit by
40907 using isdigit instead of isalnum.
40908 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40909
9ac533d3
UD
409102011-08-12 Ulrich Drepper <drepper@gmail.com>
40911
40912 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40913 was a dependency or dynamically loaded.
40914
89edf2e9
UD
409152011-08-11 Ulrich Drepper <drepper@gmail.com>
40916
8e999d29
UD
40917 * intl/l10nflist.c: Allow architecture-specific pop function.
40918 * sysdeps/x86_64/l10nflist.c: New file.
40919
89edf2e9
UD
40920 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40921 classification.
40922
14d96785
AS
409232011-08-10 Andreas Schwab <schwab@redhat.com>
40924
40925 * include/dirent.h: Add libc_hidden_proto for scandirat and
40926 scandirat64. Don't declare __scandirat64.
40927 * dirent/scandirat.c: Add libc_hidden_def.
40928 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40929 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40930
6761ac04
DM
409312011-08-10 David S. Miller <davem@davemloft.net>
40932
40933 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40934 enum.
40935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40937 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40938
c55fbd1e
UD
409392011-08-09 Ulrich Drepper <drepper@gmail.com>
40940
40941 * Versions.def [libc]: Add GLIBC_2.15.
40942 * dirent/Makefile (routines): Add scandirat and scandirat64.
40943 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40944 GLIBC_2.15.
40945 * dirent/dirent.h: Declare scandirat and scandirat64.
40946 * dirent/scandirat.c: New file.
40947 * dirent/scandirat64.c: New file.
40948 * sysdeps/wordsize-64/scandirat.c: New file.
40949 * sysdeps/wordsize-64/scandirat64.c: New file.
40950 * dirent/opendir.c: Define opendirat.
40951 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40952 using scandirat.
40953 * dirent/scandir64.c: Adjust for scandir.c change.
40954 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40955 __scandirat64, and __scandir_cancel_handler.
40956 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40957 additional parameter and use openat instead of open (outside of ld.so).
40958 Add new __opendir as wrapper around __opendirat.
40959 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40960 here without requiring old scandirat implementation.
40961
879165f2
UD
409622011-08-08 Ulrich Drepper <drepper@gmail.com>
40963
40964 * dirent/scandir.c (cancel_handler): Renamed to
40965 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40966 defined. Adjust users.
40967 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40969
cb7e923b
UD
409702011-08-04 Ulrich Drepper <drepper@gmail.com>
40971
16292edd
UD
40972 * string/test-string.h (IMPL): Use __STRING to expand name and then
40973 stringify it.
40974
cb7e923b
UD
40975 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40976 of cleanups.
40977
cff82933
LD
409782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40979
40980 * string/Makefile: Update.
40981 (strop-tests): Append strncat.
40982 * string/test-wcscmp.c: New file.
40983 New comprehensive test for wcscmp.
40984 * string/test-strcmp.c: Update.
40985 (WIDE): New define.
40986
9be9bfcc
AS
409872011-07-22 Andreas Schwab <schwab@redhat.com>
40988
40989 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40990 line.
40991
2e96f1c7
AS
409922011-07-26 Andreas Schwab <schwab@redhat.com>
40993
40994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40995 encoding to ACE if AI_IDN.
40996
85188888
JJ
409972011-08-01 Jakub Jelinek <jakub@redhat.com>
40998
40999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41000 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41001
5fa16e9b
LD
410022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41003
41004 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41005 Fix overflow bug in strncat.
41006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41007
41008 * string/test-strncat.c: Update.
41009 Add new tests for checking overflow bugs.
41010
410112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41012
41013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41014 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41015 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41016 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41018 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41019 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41020 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41021 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41022
41023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41024 (USE_AS_STRCAT): Define.
41025 Add strcat and strncat support.
41026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41027
8c1a459f
AS
410282011-07-25 Andreas Schwab <schwab@redhat.com>
41029
41030 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41031 __n bigger than INT_MAX+1.
41032 (__strncmp_g): Likewise.
41033
bba33c28
UD
410342011-07-23 Ulrich Drepper <drepper@gmail.com>
41035
798be72d
UD
41036 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41037 * libio/stido.h: Likewise.
41038
8accd4dc
UD
41039 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41040 (AF_NFC): Define.
41041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41042 (AF_NFC): Define.
41043
cbff0d96
UD
41044 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41045 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41047 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41048 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41049
9191c04a
UD
41050 [BZ #13021]
41051 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41052 installed.
41053
bba33c28
UD
41054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41055 typo.
41056 (_dl_x86_64_save_sse): Likewise.
41057
90f139dd
UD
410582011-07-22 Ulrich Drepper <drepper@gmail.com>
41059
1aae088a
UD
41060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41061 OSXSAVE.
41062 (_dl_x86_64_save_sse): Likewise.
41063
8e2045f5
UD
41064 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41065
90f139dd
UD
41066 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41067
1d002f25
AS
410682011-07-21 Andreas Schwab <schwab@redhat.com>
41069
41070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41071 change.
41072 (_dl_x86_64_save_sse): Use correct AVX check.
41073
21137f89
UD
410742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41075
41076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41077 bug in strncpy/strncat.
41078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41079
a65c0b7a
UD
410802011-07-21 Ulrich Drepper <drepper@gmail.com>
41081
41082 * string/tester.c (test_strcat): Add tests for different alignments
41083 of source and destination.
41084 (test_strncat): Likewise.
41085
6986b98a
UD
410862011-07-20 Ulrich Drepper <drepper@gmail.com>
41087
90bb2039
UD
41088 [BZ #12852]
41089 * posix/glob.c (glob): Check passed in values before using them in
41090 expressions to avoid some overflows.
41091 (glob_in_dir): Likewise.
41092
5644ef54
UD
41093 [BZ #13007]
41094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41095 check for AVX enablement so that we don't crash with old kernels and
41096 new hardware.
41097 * elf/tst-audit4.c: Add same checks here.
41098 * elf/tst-audit6.c: Likewise.
41099
41100 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41101
bfc9dc9b
AS
411022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41103
41104 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41105
702e64bb
UD
411062011-07-20 Ulrich Drepper <drepper@gmail.com>
41107
41108 * po/cs.po: Update from translation team.
41109 * po/bg.po: Likewise.
41110
295e904f
MP
411112011-07-12 Marek Polacek <mpolacek@redhat.com>
41112
41113 * misc/sys/cdefs.h: Add support for const attribute.
41114 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41115 to gnu_dev_{major,minor,makedev} functions.
41116
3ff94596
MP
411172011-07-20 Marek Polacek <mpolacek@redhat.com>
41118
41119 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41120
28b59fca
AS
411212011-07-20 Andreas Schwab <schwab@redhat.com>
41122
41123 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41124 strlen results.
41125
19df733e
AK
411262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41127
41128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41129 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41130 register in order to avoid conflicts with the soft frame pointer
41131 being held in r11 when necessary.
41132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41133 (INTERNAL_VSYSCALL_NCS): Likewise.
41134
c8835729
MP
411352011-07-14 Marek Polacek <mpolacek@redhat.com>
41136
41137 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41138 * elf/dl-fini.c (_dl_fini): Adjust caller.
41139 * elf/dl-close.c (_dl_close_worker): Likewise.
41140 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41141
b902330c
MP
411422011-07-15 Marek Polacek <mpolacek@redhat.com>
41143
8991e135
MP
41144 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41145 "aux_cache->nlibs < 0".
41146
b902330c
MP
41147 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41148 in the reload-count case.
41149
99710781
LD
411502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41151
41152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41153 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41154 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41155 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41156 * sysdeps/x86_64/multiarch/strcat.S: New file.
41157 * sysdeps/x86_64/multiarch/strncat.S: New file.
41158 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41159 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41160 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41161 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41163 (USE_AS_STRCAT): Define.
41164 Add strcat and strncat support.
41165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41167 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41168 * string/strncat.c: Update.
41169 (USE_AS_STRNCAT): Define.
41170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41171 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41172 and i7.
41173 * sysdeps/x86_64/multiarch/init-arch.h
41174 (bit_Prefer_PMINUB_for_stringop): New.
41175 (index_Prefer_PMINUB_for_stringop): Likewise.
41176 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41177 bit_Prefer_PMINUB_for_stringop.
41178
7dc6bd90
UD
411792011-07-19 Ulrich Drepper <drepper@gmail.com>
41180
41181 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41182 buffer64.
41183 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41184 of casting of buffer.
41185 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41186 buffer32 and buffer64.
41187 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41188 writes instead of casting of buffer.
41189 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41190 buffer32.
41191 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41192 casting of buffer.
41193
e0e72284
AS
411942011-07-19 Andreas Schwab <schwab@redhat.com>
41195
41196 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41197
feb1eb0b
UD
411982011-07-19 Ulrich Drepper <drepper@gmail.com>
41199
41200 * nscd/nscd.c (termination_handler): Don't do anything for a database
41201 if it has not yet been initialized.
41202
298711ff
UD
412032011-07-18 Ulrich Drepper <drepper@gmail.com>
41204
41205 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41206
412072011-07-15 Marek Polacek <mpolacek@redhat.com>
41208
41209 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41210
f9d68389
UD
412112011-07-18 Ulrich Drepper <drepper@gmail.com>
41212
41213 * po/nl.po: Update from translation team.
41214 * po/sv.po: Likewise.
41215
db290cf5
RM
412162011-07-16 Roland McGrath <roland@hack.frob.com>
41217
41218 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41219 now disallowed by GCC.
5c550700 41220
fd5e21c7
RM
41221 * configure.in (use-default-link): Default to yes if a test -shared
41222 link meets our qualifications.
41223 * configure: Regenerated.
41224
5c550700
RM
41225 * config.make.in (output-format): New variable.
41226 * configure.in: Check for ld --print-output-format support.
41227 * configure: Regenerated.
41228 * Makerules ($(common-objpfx)format.lds)
41229 [$(output-format) != unknown]: Just use $(output-format),
41230 instead of the linker-script munging.
41231
9fa2c032
RM
412322011-07-14 Roland McGrath <roland@hack.frob.com>
41233
a6928d51
RM
41234 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41235 of $(common-objpfx)shlib.lds.
41236 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41237
661607b3
RM
41238 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41239 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41240
9fa2c032
RM
41241 * configure.in (-z relro check): Adjust test code to add a large
41242 writable data section after it.
41243 * configure: Regenerated.
41244
defe9061
RM
412452011-07-11 Roland McGrath <roland@hack.frob.com>
41246
41247 * configure.in (-z relro check): Fix test code to make the variable
41248 truly const.
41249 * configure: Regenerated.
41250
319b9ad4
UD
412512011-07-11 Ulrich Drepper <drepper@gmail.com>
41252
41253 * nscd/nscd.h (struct traced_file): Define.
41254 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41255 elements. Add traced_files.
41256 (inotify_fd): Declare.
41257 (register_traced_file): Declare.
41258 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41259 (inotify_fd): Export.
41260 (resolv_conf_descr): Remove.
41261 (nscd_init): Move inotify descriptor creation to main.
41262 Don't register files for notification here.
41263 (register_traced_file): New function.
41264 (invalidate_cache): Don't use reset_res to determine whether to call
41265 res_init, go through the list of registered files.
41266 (main_loop_poll): The inotify descriptors are now stored in the
41267 structures for the traced files.
41268 (main_loop_epoll): Likewise
41269 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41270 to __nss_disable_nscd.
41271 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41272 for a database anymore. Check the records for all the registered
41273 files instead.
41274 * nss/Makefile (libnss_files-routines): Add files-init.
41275 (libnss_db-routines): Add db-init.
41276 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41277 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41278 * nss/nss_db/db-init.c: New file.
41279 * nss/nss_files/files-init.c: New file.
41280 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41281 __nss_lookup_function.
41282 (__nss_lookup_function): Call nss_load_library.
41283 (nss_load_all_libraries): New function.
41284 (__nss_disable_nscd): Take parameter with callback function for files
41285 to register. Set is_nscd. Load all the DSOs for the NSS modules
41286 used for the cached services.
41287 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41288 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41289 options for features to all the files in nscd.
41290
41291 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41292
23bee3e8
RM
412932011-07-10 Roland McGrath <roland@hack.frob.com>
41294
41295 * csu/elf-init.c (__libc_csu_init): Comment typo.
41296
46a5b7f0
UD
412972011-07-09 Ulrich Drepper <drepper@gmail.com>
41298
41299 * po/pl.po: Update from translation team.
41300 * po/ja.po: Likewise.
41301 * po/ru.po: Likewise.
41302 * po/ko.po: Likewise.
41303 * po/fr.po: Likewise.
41304
d30cf5bb
RM
413052011-07-09 Roland McGrath <roland@hack.frob.com>
41306
113ddea4
RM
41307 * configure.in (.ctors/.dtors header and trailer check):
41308 Use an empirical test on a built program.
41309 * configure: Regenerated.
41310
574920b4
RM
41311 * configure.in (-z relro check): Use an empirical test on a built DSO.
41312 Detect, but do not require, on ia64.
41313 * configure: Regenerated.
41314
d30cf5bb
RM
41315 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41316 Update tests that use readelf to use $READELF instead.
41317 * configure: Regenerated.
41318
8538fdb3
UD
413192011-07-08 Ulrich Drepper <drepper@gmail.com>
41320
41321 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41322 if the result is not used.
41323
04d08991
AJ
413242011-07-05 Andreas Jaeger <aj@suse.de>
41325
41326 [BZ#9696]
41327 * stdlib/tst-strtod.c: Add testcase.
41328
de283087
AD
413292011-07-07 Ulrich Drepper <drepper@gmail.com>
41330
4e5f31c8 41331 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41332 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41333 The latter has a higher limit. Take additional parameter to pass to
41334 the new function.
41335 (__pathconf): Pass file to __statfs_link_max.
41336 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41337 __statfs_link_max.
41338 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41339 __statfs_link_max.
41340
de283087
AD
41341 [BZ #12868]
41342 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41344 Handle Lustre.
41345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41346 (__statfs_filesize_max): Likewise.
41347 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41348
c75fa153
AJ
413492011-07-05 Andreas Jaeger <aj@suse.de>
41350
41351 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41352
1a544854
UD
413532011-07-06 Marek Polacek <mpolacek@redhat.com>
41354
41355 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41356 `status' variable.
41357 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41358 Likewise.
41359
6f0eec67
UD
413602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41361
41362 * Makefile (strop-tests): Add strncat.
41363 * string/test-strncat.c: New file.
41364
aae30307
UD
413652011-06-30 Marek Polacek <mpolacek@redhat.com>
41366
41367 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41368
c0cfb5eb
UD
413692011-06-21 Andreas Jaeger <aj@suse.de>
41370
41371 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41372 Copy rule from iconvdata/Makefile.
41373
01636b21
UD
413742011-07-06 Ulrich Drepper <drepper@gmail.com>
41375
41376 [BZ #12922]
41377 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41378 but no long options are defined, just return 'W'.
41379
9895c8bc
UD
413802011-06-22 Marek Polacek <mpolacek@redhat.com>
41381
41382 [BZ #9696]
41383 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41384
5d4cf042
UD
413852011-07-06 Ulrich Drepper <drepper@gmail.com>
41386
41387 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41388 netgroups to read.
960e5535 41389 (innetgr): Likewise.
5d4cf042 41390
751eb97e
RM
413912011-07-05 Roland McGrath <roland@hack.frob.com>
41392
41393 * config.make.in (install_root): Default to $(DESTDIR).
41394
f15f1e45
UD
413952011-07-05 Ulrich Drepper <drepper@gmail.com>
41396
41397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41398
4e34ac6a
RM
413992011-07-02 Roland McGrath <roland@hack.frob.com>
41400
5e9b6af4
RM
41401 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41402
84f9ea0f
RM
41403 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41404 containing directory rather than embedding absolute directory names.
41405
ea5ee9f7
RM
41406 * scripts/check-local-headers.sh: Rewritten using awk.
41407 Match by word, not by line. Print error messages for matches.
41408 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41409
1b74661a
RM
41410 * Makerules [shlib-lds-flags empty]:
41411 ($(common-objpfx)libc_pic.opts): New target.
41412 ($(common-objpfx)libc_pic.os.clean): New target.
41413 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41414
41415 * config.make.in (OBJCOPY): New variable.
41416 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41417 * configure: Regenerated.
41418
f781ef40
RM
41419 * config.make.in (use-default-link): New variable.
41420 * configure.in (use_default_link): Grok --with-default-link to set it.
41421 * configure: Regenerated.
41422 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41423 (shlib-lds, shlib-lds-flags): Define to empty.
41424
2d4fa81e
RM
41425 * Makerules (shlib-lds): New variable.
41426 (shlib-lds-flags): New variable.
41427 (build-shlib, build-moduile, build-module-asneeded): Use it.
41428 ($(common-objpfx)libc.so): Use $(shlib-lds).
41429 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41430 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41431
31fffa6b
RM
41432 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41433 DT_FLAGS/DT_FLAGS_1 with zero flags.
41434
4e34ac6a
RM
41435 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41436 linker script munging.
41437
fcfc776b
UD
414382011-07-02 Ulrich Drepper <drepper@gmail.com>
41439
41440 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41441 as 128-bit value.
41442 * crypt/sha512.c (sha512_process_block): Perform total addition using
41443 128-bit if possible.
41444 (__sha512_finish_ctx): Likewise.
41445 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41446 as 64-bit value.
41447 * crypt/sha256.c (SWAP64): Define.
41448 (sha256_process_block): Perform total addition using 64-bit if
41449 possible.
41450 (__sha256_finish_ctx): Likewise.
41451
99231d9a
UD
414522011-07-01 Ulrich Drepper <drepper@gmail.com>
41453
41454 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41456 * nscd/hstcache.c (cache_addhst): Likewise.
41457 * nscd/grpcache.c (cache_addgr): Likewise.
41458 * nscd/aicache.c (addhstaiX): Likewise
41459 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41460
445b4a53
TK
414612011-07-01 Thorsten Kukuk <kukuk@suse.de>
41462
41463 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41465 * nscd/hstcache.c (cache_addhst): Likewise.
41466 * nscd/grpcache.c (cache_addgr): Likewise.
41467 * nscd/aicache.c (addhstaiX): Likewise
41468
6d4d8e8e
AS
414692011-07-01 Andreas Schwab <schwab@redhat.com>
41470
41471 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41472 domain only when needed.
41473
89f654c5
AS
414742011-06-30 Andreas Schwab <schwab@redhat.com>
41475
41476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41477 is always restored.
41478
cf3b23ff
UD
414792011-06-29 Ulrich Drepper <drepper@gmail.com>
41480
41481 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41482 are re-adding the entry.
41483 * nscd/servicescache.c (cache_addserv): Likewise.
41484
751626f9
AJ
414852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41486
41487 * sysdeps/generic/dl-irel.h: fix protection against multiple
41488 inclusions.
41489 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41490
9113ea1f
UD
414912011-06-28 Ulrich Drepper <drepper@gmail.com>
41492
5c0b8d90
UD
41493 [BZ #12935]
41494 * malloc/memusage.sh: Fix quoting in message.
41495 * debug/xtrace.sh: Likewise.
41496
9113ea1f
UD
41497 * configure.in: Remove support for --experimental-malloc option, make
41498 it the default.
41499 * config.make.in: Likewise.
41500 * malloc/Makefile: Likewise.
41501
a4172181
AS
415022011-06-27 Andreas Schwab <schwab@redhat.com>
41503
41504 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41505 two-byte characters.
41506
78a7eee7
RM
415072011-06-27 Roland McGrath <roland@hack.frob.com>
41508
62bede13
RM
41509 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41510 AC_CACHE_CHECK invocation.
41511 * configure: Regenerated.
41512
78a7eee7
RM
41513 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41514
5ce33a62
UD
415152011-06-27 Ulrich Drepper <drepper@gmail.com>
41516
034807a9
UD
41517 [BZ #12350]
41518 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41519 bit from old_res_options.
41520
4902da17
UD
41521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41522
5ce33a62
UD
41523 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41524 value type for setfct.
41525
c2344f56
L
415262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41527
41528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41529 __gettimeofday instead of gettimeofday.
41530
68468076
UD
415312011-06-26 Ulrich Drepper <drepper@gmail.com>
41532
41533 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41534
acb0d739
L
415352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41536
41537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41538
41539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41540 info.
41541
8912479f
L
415422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41543
41544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41545 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41546 strcpy-sse2-unaligned strncpy-sse2-unaligned
41547 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41548 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41549 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41550 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41551 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41554 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41555 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41556 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41557 (STRCPY): Support SSE2 and SSSE3 versions.
41558
d5495a11
UD
415592011-06-24 Ulrich Drepper <drepper@gmail.com>
41560
41561 [BZ #12874]
41562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41563 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41564 kernels which artificially limit size of requests.
41565
0b1cbaae
L
415662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41567
41568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41569 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41570 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41571 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41572 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41573 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41574 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41575 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41578 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41579 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41580 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41581 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41582 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41584 Enable unaligned load optimization for Intel Core i3, i5 and i7
41585 processors.
41586 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41587 Define.
41588 (index_Fast_Unaligned_Load): Define.
41589 (HAS_FAST_UNALIGNED_LOAD): Define.
41590
07f494a0
MP
415912011-06-23 Marek Polacek <mpolacek@redhat.com>
41592
41593 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41594
fa3fc0fe
UD
415952011-06-22 Ulrich Drepper <drepper@gmail.com>
41596
41597 [BZ #12907]
41598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41599 until it is clear that the information is realy needed.
41600 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41601
e12df166
AS
416022011-06-22 Andreas Schwab <schwab@redhat.com>
41603
41604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41605
852eb34d
UD
416062011-06-22 Ulrich Drepper <drepper@gmail.com>
41607
84e2a551
UD
41608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41609 /sys/devices/system/cpu/online if it is usable.
41610
852eb34d
UD
41611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41612 reading the information from the /proc filesystem to once a second.
41613
6e502e19
UD
416142011-06-21 Andreas Jaeger <aj@suse.de>
41615
41616 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41617 NULL after inclusion of kernel headers.
41618
75d39ff2
UD
416192011-06-21 Ulrich Drepper <drepper@gmail.com>
41620
51f9aa6a
UD
41621 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41622 calls to internal_setent.
41623
c0244a9d
UD
41624 [BZ #12885]
41625 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41626 addresses using gethostbyname4_r ignore IPv4 addresses.
41627
c5e3c2ae
UD
41628 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41629 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41630
75d39ff2
UD
41631 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41632
42675c6f
DM
416332011-06-20 David S. Miller <davem@davemloft.net>
41634
41635 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41636 inclusions.
41637 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41638
41639 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41640 (elf_irel): Use it.
41641 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41642 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41643 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41644 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41645 * sysdeps/x86_64/dl-irel.h: Likewise.
41646
41647 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41648 * elf/dl-sym.c: Likewise.
41649
57912a71
UD
416502011-06-15 Ulrich Drepper <drepper@gmail.com>
41651
41652 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41653 need to dereference resplen2.
41654
ee22793d
AS
416552011-06-14 Andreas Schwab <schwab@redhat.com>
41656
41657 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41658
a9e836b0
UD
416592011-06-15 Ulrich Drepper <drepper@gmail.com>
41660
77fb9117
UD
41661 * Makeconfig: Define vardbdir and inst_vardbdir.
41662 * nss/Makefile: Add rules to install db-Makefile.
41663
40c1b22c
UD
41664 * nss/nss_db/db-XXX.c: Cleanup.
41665
9f2da732
UD
41666 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41667 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41668 GLIBC_PRIVATE.
41669 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41670 * nss/makedb.c: Implement -g option to specify that value strings
41671 are generated and should not be added to table iterated over for
41672 get*ent calls.
41673 * nss/nss_db/db-initgroups.c: New file.
41674
82e9a1f7
UD
41675 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41676 interface.
41677
c41af17e
UD
41678 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41679 (internal_getgrouplist): Adjust to name change.
41680 Update use_initgroups_entry if this is not the first call.
41681 * nss/databases.def: Add initgroups entry.
41682
a9e836b0
UD
41683 * nss/makedb.c (compute_tables): Check result of multiple hash table
41684 sizes to minimize maximum chain length.
41685
2666d441
UD
416862011-06-14 Ulrich Drepper <drepper@gmail.com>
41687
41688 * Versions.def: Add entry for libnss_db.
41689 * shlib-versions: Likewise.
41690 * nss/Makefile: Add rules to build libnss_db.
41691 * nss/Versions: Add libnss_db information. Organize libnss_files
41692 entries better.
41693 * nss/db-Makefile: Add gshadow support. Change rules for the new
41694 makedb progra. Some minor improvements to generate smaller files.
41695 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41696 here from...
41697 * nss/makedb.c: ...here.
41698 Improve database format to be smaller and require less memory at
41699 runtime.
41700 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41701 db anymore.
41702 * nss/nss_db/db-netgrp.c: Likewise.
41703 * nss/nss_db/db-open.c: Likewise.
41704 * nss/nss_files/flies-XXX.x: Adjust comments.
41705 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41706 * nss/nss_files/files-grp.c: Likewise.
41707 * nss/nss_files/files-hosts.c: Likewise.
41708 * nss/nss_files/files-network.c: Likewise.
41709 * nss/nss_files/files-proto.c: Likewise.
41710 * nss/nss_files/files-pwd.c: Likewise.
41711 * nss/nss_files/files-rpc.c: Likewise.
41712 * nss/nss_files/files-service.c: Likewise.
41713 * nss/nss_files/files-sgrp.c: Likewise.
41714 * nss/nss_files/files-spwd.c: Likewise.
41715 * nss/nss_db/db-alias.c: Removed.
41716 * nss/nss_db/dummy-db.h: Removed.
41717
9ee76b5a
UD
417182011-06-02 Ulrich Drepper <drepper@gmail.com>
41719
41720 * nss/makedb.c: Rewritten to not use database library.
41721 * nss/Makefile: Update to build new makedb program.
41722
c71ca1f8
AJ
417232011-06-14 Andreas Jaeger <aj@suse.de>
41724
41725 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41726 memset declaration.
41727
3154bfb8
UD
417282011-06-10 Andreas Schwab <schwab@redhat.com>
41729
41730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41731 tmpbuf.
41732
b350afab
RM
417332011-06-10 Roland McGrath <roland@hack.frob.com>
41734
decd4e50
RM
41735 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41736 * elf/Makefile ($(objpfx)ld.so): Likewise.
41737
5615eaf2
RM
41738 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41739 Don't list ld.so twice in dependencies.
41740
41741 * posix/bug-regex31.c: Include <stdlib.h>.
41742
41743 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41744
41745 * nis/nss_compat/compat-spwd.c
41746 (getspent_next_nss_netgr): Remove unused variable.
41747 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41748
41749 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41750 nonmembers" output to use the right array.
41751
41752 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41753
41754 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41755
41756 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41757 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41758 * catgets/gencat.c (read_input_file): Likewise.
41759 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41760
41761 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41762 variable definition inside #if's controlling its use.
41763
41764 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41765
41766 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41767
41768 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41769
41770 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41771 unreachable code.
41772
41773 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41774
b68e08db
RM
41775 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41776 * configure: Regenerated.
41777
b350afab
RM
41778 * Makerules: Revert last change.
41779 * elf/Makefile: Likewise.
41780
28368601
RM
417812011-06-09 Roland McGrath <roland@hack.frob.com>
41782
41783 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41784 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41785 (reloc-link): Likewise.
41786
11988f8f
UD
417872011-06-09 Ulrich Drepper <drepper@gmail.com>
41788
41789 * elf/Makefile: Add rules to build pldd.
41790 * elf/pldd.c: New file.
41791 * elf/pldd-xx.c: New file.
41792
e80fab37
UD
417932011-06-07 Ulrich Drepper <drepper@gmail.com>
41794
41795 * version.h: Update for 2.15 development version.
41796
9b849836
DM
417972011-06-07 David S. Miller <davem@davemloft.net>
41798
41799 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41800 ifuncs.
41801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41802 elf_machine_lazy_rel): Likewise.
41803 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41805 elf_machine_lazy_rel): Likewise.
41806 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41807 dl_hwcap via passed in argument.
41808 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41809 Likewise.
41810
5a31b283
AK
418112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41812
41813 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41814
069e52f8
RM
418152011-06-06 Roland McGrath <roland@hack.frob.com>
41816
41817 [BZ #12849]
41818 * manual/fdl-1.1.texi: New file, verbatim from:
41819 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41820 * manual/lgpl-2.1.texi: New file, verbatim from:
41821 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41822 * manual/Makefile (licenses): New variable, list those new file names.
41823 (texis): Use it.
41824 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41825
41826 * manual/fdl.texi: File removed.
41827 * manual/lesser.texi: File removed.
41828 * manual/libc.texinfo (Copying, Documentation License):
41829 Use new @include file names, put @appendix directive before @include.
41830
f16846a5
JJ
418312011-06-04 Jakub Jelinek <jakub@redhat.com>
41832
41833 [BZ #12841]
41834 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41835 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41836 (mq_open): Add __NTH.
41837
3d29045b
L
418382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41839
41840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41841 Assume Intel Core i3/i5/i7 processor if AVX is available.
41842
8c297311
UD
418432011-05-31 Ulrich Drepper <drepper@gmail.com>
41844
41845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41846 typo.
41847
c8fc0c91
UD
418482011-05-31 Andreas Schwab <schwab@redhat.com>
41849
41850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41851 memory. Use alloca_account. Fix memory leak when retrying.
41852
5b27a807
UD
418532011-05-31 Ulrich Drepper <drepper@gmail.com>
41854
356f8bc6
UD
41855 * version.h (RELEASE): Bump for 2.14 release.
41856 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41857
5b27a807
UD
41858 * config.make.in (RANLIB): Remove entry.
41859
01f16ab0
UD
418602011-05-30 Ulrich Drepper <drepper@gmail.com>
41861
41fce8bd
UD
41862 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41863 (libc.pot): Work around missing support for .ksh extension in xgettext.
41864
4769ae77
UD
41865 [BZ #12684]
41866 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41867 if both request failed.
41868 (send_dg): In case of server errors clear resplen or *resplen2.
41869
6b1e7d19
UD
41870 [BZ #12454]
41871 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41872 when there are multiple maps.
41873 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41874 (_dl_fini): Remove test here.
41875
01f16ab0
UD
41876 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41877
b1ebd700
UD
418782011-05-29 Ulrich Drepper <drepper@gmail.com>
41879
7ae22829
UD
41880 [BZ #12350]
41881 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41882 bit from old_res_options.
41883 (gaih_inet): Likewise.
41884
553149f6 41885 [BZ #11099]
18a84741 41886 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41887 as signed.
41888
652ffab1
UD
41889 * resolv/res_init.c (res_setoptions): Make the code more compact.
41890
16985fd0
UD
41891 [BZ #11558]
41892 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41893 set RES_USEVC.
41894
0464f746
UD
41895 [BZ #11634]
41896 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41897
7d17596c
UD
41898 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41899
cf6bbbd7
UD
41900 [BZ #11781]
41901 * malloc/malloc.h: Declare malloc hook variables as volatile.
41902
13f1ab36
UD
41903 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41904 in last patch.
41905
b1ebd700
UD
41906 [BZ #11799]
41907 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41908 raise in the comment.
80e2212d
UD
41909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41911 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41912
ce67228d
UD
419132011-05-28 Ulrich Drepper <drepper@gmail.com>
41914
8887a920
UD
41915 [BZ #12811]
41916 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41917 grow the buffers more if it already has to be sufficient.
41918 (build_wcs_upper_buffer): Likewise.
41919 * posix/regexec.c (check_matching): Likewise.
41920 (clean_state_log_if_needed): Likewise.
41921 (extend_buffers): Don't enlarge buffers beyond size of the input
41922 buffer.
41923 Patches mostly by Emil Wojak <emil@wojak.eu>.
41924 * posix/bug-regex32.c: New file.
41925 * posix/Makefile (tests): Add bug-regex32.
41926
4f031072
UD
41927 * locale/findlocale.c (_nl_find_locale): Return right away if
41928 _nl_explode_name failed.
41929 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41930
d0478f0c
UD
41931 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41932
de81b246
UD
41933 * debug/xtrace.sh: Unify messages.
41934 * malloc/memusage.sh: Likewise.
41935
c738465a
UD
41936 [BZ #12813]
41937 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41938 time symbol from vDSO. Substitute with vsyscall if not available.
41939 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41940 __vdso_time.
41941
f1f929d7
UD
41942 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41943 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41944 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41945 Add sendmmsg and internal_sendmmsg.
41946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41947 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41948 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41949
ce67228d
UD
41950 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41951 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41953
e57420c6
UD
419542011-05-27 Ulrich Drepper <drepper@gmail.com>
41955
a8509ca5
UD
41956 [BZ #12813]
41957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41958 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41959 available.
41960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41961 __vdso_getcpu.
41962
e57420c6
UD
41963 [BZ #12814]
41964 * iconvdata/Makefile (tests): Add bug-iconv9.
41965 * iconvdata/bug-iconv9.c: New file.
41966
4d07db15
AS
419672011-05-27 Andreas Schwab <schwab@redhat.com>
41968
41969 [BZ #12814]
41970 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41971
ea486f69
JJ
419722011-05-25 Jakub Jelinek <jakub@redhat.com>
41973
41974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41975 (struct user_regs_struct): Change intcs field back to cs.
41976
6f038433
UD
419772011-05-25 Ulrich Drepper <drepper@gmail.com>
41978
41979 * po/ja.po: Update from translation team.
41980
67f86a25
UD
419812011-05-23 Ulrich Drepper <drepper@gmail.com>
41982
41983 [BZ #12795]
41984 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41985 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41986
def7fbd6
AS
419872011-05-20 Andreas Schwab <schwab@redhat.com>
41988
41989 * stdlib/longlong.h: Update from GCC.
41990
f50ef8f1
AS
419912011-05-23 Andreas Schwab <schwab@redhat.com>
41992
41993 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41994 parameter name.
41995 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41996 Add parameter name.
41997 (__sysconf): Pass it down.
41998
de7ce8f1
UD
419992011-05-22 Ulrich Drepper <drepper@gmail.com>
42000
f2962a71
UD
42001 [BZ #12671]
42002 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42003 some situations.
42004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42005 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42006 add in in __libc_use_alloca calls. Adjust callers.
42007 (glob): Use malloc in some situations.
42008
de7ce8f1
UD
42009 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42010 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42011 pltexit.
42012
aec84f53
UD
420132011-05-21 Ulrich Drepper <drepper@gmail.com>
42014
05bb4a68
UD
42015 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42016 and CLOCK_BOOTTIME_ALARM.
42017
7ea72f99
UD
42018 [BZ #12782]
42019 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42020 is returned.
42021
7e4afad5
UD
42022 * string/_strerror.c (__strerror_r): Print negative errors as signed
42023 numbers.
42024
8e211fec
UD
42025 [BZ #12777]
42026 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42027 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42028 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42029
f7d82dc9
UD
42030 * configure.in: Fix typo in redirection and correct removal of test
42031 files in two cases.
42032
cc9e536d
UD
42033 [BZ #12788]
42034 * locale/setlocale.c (new_composite_name): Fix test to check for
42035 identical name of all categories.
42036
aec84f53
UD
42037 [BZ #12792]
42038 * libio/filedoalloc.c (local_isatty): New function.
42039 (_IO_file_doallocate): Use local_isatty.
42040 * stdio-common/perror.c (perror): In case a new stream is used
42041 forward the stream error.
42042 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42043 error flag.
42044
78e64fdc
RT
420452011-05-20 Ulrich Drepper <drepper@gmail.com>
42046
34a9094f
UD
42047 [BZ #11869]
42048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42049 alloca.
42050 * include/alloca.h (extend_alloca_account): Define.
42051
78e64fdc
RT
42052 [BZ #11857]
42053 * posix/regex.h: Fix comments with documentation of user-accessible
42054 fields after compilation and describe correct free'ing of pattern
42055 after re_compile_pattern.
42056 Patch by Reuben Thomas <rrt@sc3d.org>.
42057
457bddfc
RA
420582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42059
42060 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42061 and -mno-altivec to prevent the compiler from using Altivec and/or
42062 VSX instructions when the corresponding registers are not available.
42063
a4527b51
AS
420642011-05-19 Andreas Schwab <schwab@redhat.com>
42065
42066 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42067
ed690b2f
UD
420682011-05-19 Ulrich Drepper <drepper@gmail.com>
42069
42070 * libio/freopen.c (freopen): Use __dup2, not dup2.
42071 * libio/freopen64.c (freopen64): Likewise.
42072
8db73634
L
420732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42074
42075 [BZ #12775]
42076 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42077 * math/Makefile (tests): Add test-powl.
42078 (CFLAGS-test-powl.c): Define.
42079 * math/test-powl.c: New file.
42080
0a197a9d
L
420812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42082
42083 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42084
ee30c380
UD
420852011-05-17 Ulrich Drepper <drepper@gmail.com>
42086
42087 [BZ #11837]
42088 * iconvdata/gb18030.c: Update to GB18020-2005.
42089
6ce75379
UD
420902011-05-16 Ulrich Drepper <drepper@gmail.com>
42091
a4b89fd8
AR
42092 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42093 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42094 Patch by Aharon Robbins <arnold@skeeve.com>.
42095
ea389b12
UD
42096 [BZ #11892]
42097 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42098 on the stack.
42099
68a3f91f
UD
42100 [BZ #11895]
42101 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42102 through underflows.
42103
15cc7dd1
UD
42104 [BZ #12766]
42105 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42106 point to strings before performing equality test for error_one_per_line
42107 mode.
42108
f3799213
UD
42109 [BZ #11697]
42110 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42111
d79a9c94
UD
42112 [BZ #11820]
42113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42114 (struct user_fpregs_struct): Avoid __uint*_t types.
42115
56e5eb46
UD
42116 [BZ #6420]
42117 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42118 symbol info. Use it instead of calling _dl_addr locally.
42119 (lock_and_info): New function.
42120 (tr_freehook): Call lock_and_info and pass symbol info as additional
42121 parameter to tr_where.
42122 (tr_mallochook): Likewise.
42123 (tr_reallochook): Likewise.
42124 (tr_memalignhook): Likewise.
42125
6ce75379
UD
42126 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42127 used and couldn't be at all thread-safe.
42128
f8a3b5bf
UD
421292011-05-15 Ulrich Drepper <drepper@gmail.com>
42130
94b7cc37
UD
42131 * libio/freopen.c (freopen): Don't close old file descriptor
42132 before the new one is opened. Instead dup the new file descriptor
42133 to the old one after the new stream is created.
42134 * libio/freopen64.c (freopen64): Likewise.
42135 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42136 * libio/fileops.c (_IO_new_file_close_it): Handle new
42137 _IO_FLAGS2_NOCLOSE flag.
42138 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42139 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42140 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42141 _IO_FLAGS2_NOCLOSE flag.
42142 * include/unistd.h: Add hidden_proto for dup3.
42143 Define __have_dup3.
42144 * io/dup3.c: Define hidden symbol.
42145 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42146
bd25564e
UD
42147 [BZ #7101]
42148 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42149 when an incomplete long option is used.
42150 * posix/tst-getopt_long1.c: New file.
42151 * posix/Makefile (tests): Add tst-getopt_long1.
42152
c84cfef4
UD
42153 [BZ #10138]
42154 * scripts/config.guess: Update from autoconf-2.68.
42155 * scripts/config.sub: Likewise.
42156
3b85df27
UD
42157 [BZ #10157]
42158 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42159 tests into ...
42160 (has_cpuclock): ...this. New function.
42161 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42162 macro here based on has_cpuclock code.
42163
15a856b1
UD
42164 [BZ #10149]
42165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42166 First byte (not low byte) is now always NUL.
42167 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42168
05f399e6
UD
42169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42170 Use non-cancelable interfaces.
42171
10a52685 42172 [BZ #9809]
94ecc67d
UD
42173 * locale/iso-639.def: Add entry for Sorani.
42174
f8a3b5bf
UD
42175 [BZ #11901]
42176 * include/stdlib.h: Move include protection to the right place.
42177 Define abort_msg_s. Declare __abort_msg with it.
42178 * stdlib/abort.c (__abort_msg): Adjust type.
42179 * assert/assert.c (__assert_fail_base): New function. Majority
42180 of code from __assert_fail. Allocate memory for __abort_msg with
42181 mmap.
42182 (__assert_fail): Now call __assert_fail_base.
42183 * assert/assert-perr.c: Remove bulk of implementation. Use
42184 __assert_fail_base.
42185 * include/assert.hL Declare __assert_fail_base.
42186 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42187 mmap.
42188 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42189
1af4e298
UD
421902011-05-14 Ulrich Drepper <drepper@gmail.com>
42191
f8a3b5bf 42192 [BZ #11952]
d26dfc60
MG
42193 [BZ #12453]
42194 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42195 until all modules are registered in the DTV.
42196 * elf/Makefile: Add rules to build and run tst-tls19.
42197 * elf/tst-tls19.c: New file.
42198 * elf/tst-tls19mod1.c: New file.
42199 * elf/tst-tls19mod2.c: New file.
42200 * elf/tst-tls19mod3.c: New file.
42201 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42202
2fc54d6f
UD
42203 [BZ #12083]
42204 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42205 correctly.
42206
98d76b46
UD
42207 [BZ #12601]
42208 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42209 two-byte sequence errors.
42210 * iconvdata/Makefile (tests): Add bug-iconv8.
42211 * iconvdata/bug-iconv8.c: New file.
42212
da3c19ef
UD
42213 [BZ #12626]
42214 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42215 buf2 definition.
42216
ca408c15
UD
42217 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42218
d6f67f7d
UD
42219 [BZ #12432]
42220 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42221 (dummy_getcfa): New function.
42222 (init): Get _Unwind_GetCFA address, use dummy if not found.
42223 (backtrace_helper): In recursion check, also check whether CFA changes.
42224 (__backtrace): Completely initialize arg.
42225
1af4e298 42226 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42227 storing incomplete byte sequence in state object. Avoid testing for
42228 guaranteed too small input if we know there is enough data available.
1af4e298 42229
da62f81b
AS
422302011-05-11 Andreas Schwab <schwab@redhat.com>
42231
42232 * Makeconfig (+link-pie): Indent.
42233 * Rules (binaries-pie): Define if $(have-fpie) and
42234 $(build-shared).
42235 (binaries-shared): Also filter out $(binaries-pie).
42236 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42237 * nscd/Makefile (others-pie): Add nscd.
42238 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42239 ($(objpfx)nscd): Remove command override.
42240 * login/Makefile (others-pie): Add pt_chown.
42241 ($(objpfx)pt_chown): Remove command override.
42242 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42243 remove command overrides.
42244
fcabc0f8
UD
422452011-05-13 Ulrich Drepper <drepper@gmail.com>
42246
20030ae6
UD
42247 * libio/tst_putwc.c: Fix error messages.
42248
fcabc0f8
UD
42249 [BZ #12724]
42250 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42251 currently writing and seek to current position when not.
42252 * libio/Makefile (tests): Add bug-fclose1.
42253 * libio/bug-fclose1.c: New file.
42254
320a5dc0
PB
422552011-05-12 Ulrich Drepper <drepper@gmail.com>
42256
42257 [BZ #12511]
42258 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42259 don't set DF_1_NODELETE here.
42260 (do_lookup_x): When entering new entry test for copy relocation
42261 and if necessary set DF_1_NODELETE flag.
42262 * elf/tst-unique4.cc: New file.
42263 * elf/tst-unique4.h: New file.
42264 * elf/tst-unique4lib.cc: New file.
42265 * elf/Makefile: Add rules to build and run tst-unique4.
42266 Patch by Piotr Bury <pbury@goahead.com>.
42267
22836f52
UD
422682011-05-11 Ulrich Drepper <drepper@gmail.com>
42269
f574184a
UD
42270 [BZ #12052]
42271 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42272
e1fb097f
UD
42273 [BZ #12625]
42274 * misc/mntent_r.c (addmntent): Flush the stream after the output
42275
22836f52
UD
42276 [BZ #12393]
42277 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42278 (is_trusted_path_normalize): Skip initial colon. Append slash
42279 to empty buffer. Duplicate is_trusted_path code but allow
42280 constructed patch to be prefix.
42281 (is_dst): Allow $ORIGIN followed by /.
42282 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42283 Correct testing of result of is_trusted_path_normalize
42284 (decompose_rpath): Fix warning.
42285
7b3b0b2a
UD
422862011-05-10 Ulrich Drepper <drepper@gmail.com>
42287
42288 [BZ #11257]
42289 * grp/initgroups.c (internal_getgrouplist): When we found the service
42290 list through the initgroups entry in nsswitch.conf do not always
42291 continue on a successful lookup. Don't always use the
eac80ce2 42292 __nss_group_database value if it is set.
7b3b0b2a
UD
42293 * nss/nsswitch.conf (initgroups): Change action for successful db
42294 lookup to continue for compatibility.
42295
2a81eaa5
UD
422962011-05-09 Ulrich Drepper <drepper@gmail.com>
42297
be97a69e
UD
42298 [BZ #11532]
42299 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42300 and CP774 modules.
42301 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42302 and CP774 modules.
42303 * iconvdata/tst-tables.sh: Likewise.
42304 * iconvdata/cp770.c: New file.
42305 * iconvdata/cp771.c: New file.
42306 * iconvdata/cp772.c: New file.
42307 * iconvdata/cp773.c: New file.
42308 * iconvdata/cp774.c: New file.
42309 * iconvdata/testdata/CP770: New file.
42310 * iconvdata/testdata/CP770..UTF8: New file.
42311 * iconvdata/testdata/CP771: New file.
42312 * iconvdata/testdata/CP771..UTF8: New file.
42313 * iconvdata/testdata/CP772: New file.
42314 * iconvdata/testdata/CP772..UTF8: New file.
42315 * iconvdata/testdata/CP773: New file.
42316 * iconvdata/testdata/CP773..UTF8: New file.
42317 * iconvdata/testdata/CP774: New file.
42318 * iconvdata/testdata/CP774..UTF8: New file.
42319
42320 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42321 END CHARMAP line.
42322 * iconvdata/gen-8bit-gap.sh: Likewise.
42323 * iconvdata/gen-8bit.sh: Likewise.
42324
c1e9e399
UD
42325 * locale/iso-639.def: Add ary entry.
42326
24c55fb3 42327 [BZ #11258]
96b4b1b0
UD
42328 * locale/C-translit.h.in: Add U20A1 transliteration.
42329
bdc2f971
KB
42330 [BZ #12178]
42331 * locale/iso-639.def: Add wae entry.
42332 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42333
2952b117
UD
42334 [BZ #12545]
42335 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42336 for n.
42337
2a81eaa5
UD
42338 [BZ #12711]
42339 * locale/C-translit.h.in: Add entry for U20B9.
42340 Patch by pravin.d.s@gmail.com.
42341
28377d1b
UD
423422011-05-08 Ulrich Drepper <drepper@gmail.com>
42343
7fb90fb8
UD
42344 [BZ #12713]
42345 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42346 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42347 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42348 in rtld. Use *stat64.
7fb90fb8 42349 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42350 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42351 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42352 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42353 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42354 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42355 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42356 __fstatat64 macros.
7fb90fb8
UD
42357 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42358 * dirent/rewinddir.c: Add libc_hidden_def.
42359 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42360 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42361
28377d1b
UD
42362 * include/dirent.h (__alloc_dir): Add flags parameter.
42363 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42364 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42365 __alloc_dir.
42366 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42367 from fdopendir if O_CLOEXEC is already set.
42368
66bdbaa4
AM
423692011-03-15 Alan Modra <amodra@gmail.com>
42370
42371 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42372 l_tls_firstbyte_offset non-zero. Save padding offset in
42373 l_tls_firstbyte_offset for later use.
42374 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42375 freeing static tls block.
42376
95721191
JN
423772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42378
42379 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42380 where #ifdef was intended. The intent is to prevent ARG_MAX from
42381 being defined by the kernel headers.
42382
f87dfb1f
UD
423832011-05-07 Ulrich Drepper <drepper@gmail.com>
42384
42385 [BZ #12734]
42386 * resolv/resolv.h: Define RES_NOTLDQUERY.
42387 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42388 no-tld-query and set RES_NOTLDQUERY.
42389 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42390 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42391 modern BIND to search name as TLD unless forbidden.
42392
47c3cd7a
UD
423932011-05-07 Petr Baudis <pasky@suse.cz>
42394 Ulrich Drepper <drepper@gmail.com>
42395
42396 [BZ #12393]
42397 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42398 (is_trusted_path): ...to here.
c1e9ea35 42399 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42400 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42401 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42402
8a35c912
PP
424032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42404
42405 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42406 __BEGIN/__END_DECLS.
42407
acd41f47
UD
424082011-05-06 Ulrich Drepper <drepper@gmail.com>
42409
42410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42411 NSS_STATUS_NOTFOUND if no record was found.
42412
597df647
AS
424132011-05-05 Andreas Schwab <schwab@redhat.com>
42414
42415 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42416 (headers-not-in-tirpc): Remove rpc/netdb.h
42417 * resolv/netdb.h: Revert last change.
42418
b9af1301
PP
424192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42420
42421 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42422 circular dependency between libgcc.a and libc.a.
42423
4e34d5f5
AS
424242011-05-05 Andreas Schwab <schwab@redhat.com>
42425
42426 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42427 * nis/Makefile: Don't install rpcsvc/*.
42428 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42429 instead of <rpc/types.h>.
42430 (MAXHOSTNAMELEN): Define.
42431
00ee369c
AS
424322011-05-03 Andreas Schwab <schwab@redhat.com>
42433
42434 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42435
0b592a30
MB
424362011-04-28 Maciej Babinski <mbabinski@google.com>
42437
42438 [BZ #12714]
42439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42440 gethostbyname4_r when IPv6 results are possible.
42441
6e04cbbe
UD
424422011-05-02 Ulrich Drepper <drepper@gmail.com>
42443
42444 [BZ #12723]
42445 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42446 _PC_PIPE_BUF handling.
42447
e4ecafe0
BH
424482011-04-30 Bruno Haible <bruno@clisp.org>
42449
42450 [BZ #12717]
42451 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42452 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42453 to 'int'.
42454 * inet/getnameinfo.c (getnameinfo): Likewise.
42455
125ee683
UD
424562011-04-29 Ulrich Drepper <drepper@gmail.com>
42457
42458 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42459 to groups setting in database lookup.
42460 * nss/nsswitch.conf: Add initgroups entry.
42461
b722481a
EB
424622011-04-22 Ulrich Drepper <drepper@gmail.com>
42463
42464 [BZ #12685]
42465 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42466 mode string.
42467 Patch by Eric Blake <eblake@redhat.com>.
42468
4df46dbd
L
424692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42470
42471 * sunrpc/Makefile (need-export-routines): Add svc_run.
42472 (routines): Remove svc_run.
42473 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42474 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42475 * sunrpc/svc_run.c (svc_run): Likewise.
42476 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42477
e84142d2
UD
424782011-04-21 Ulrich Drepper <drepper@gmail.com>
42479
42480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42481 problem in reallocation in last patch.
42482
877175d8
UD
424832011-04-20 Ulrich Drepper <drepper@gmail.com>
42484
42485 * sunrpc/Makefile: Move inclusion of Rules.
42486
ab8eed78
UD
424872011-04-19 Ulrich Drepper <drepper@gmail.com>
42488
42489 * nss/nss_files/files-initgroups.c: New file.
42490 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42491 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42492 _nss_files_initgroups_dyn.
42493
e3d8f584
RS
424942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42495
42496 * elf/elf.h (R_ARM_IRELATIVE): Define.
42497
af190f45
UD
424982011-04-19 Ulrich Drepper <drepper@gmail.com>
42499
42500 * po/ru.po: Update from translation team.
42501
53cf59ef
UD
425022011-04-17 Ulrich Drepper <drepper@gmail.com>
42503
42504 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42505 dependencies.
42506
4c559bcd
MF
425072011-02-06 Mike Frysinger <vapier@gentoo.org>
42508
42509 [BZ #12653]
42510 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42511 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42515
4420675c
AS
425162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42517
42518 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42519 differing bytes.
42520 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42523
75ea32ab
UD
425242011-04-17 Ulrich Drepper <drepper@gmail.com>
42525
42526 [BZ #12420]
42527 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42528 storing it.
42529 * stdlib/bug-getcontext.c: New file.
42530 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42531
27390476
AK
425322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42533
42534 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42535 instructions into .machine "z9-109".
42536 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42537 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42538
10442705
AK
425392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42540
42541 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42542 between environment variables and auxiliary vector.
42543
7b57bfe5
UD
425442011-04-16 Ulrich Drepper <drepper@gmail.com>
42545
42546 * Makefile: Add rules to build linkobj/libc.so.
42547 * include/libc-symbols.h: Define libc_hidden_nolink.
42548 * include/rpc/auth.h: Mark functions which are to be hidden.
42549 * include/rpc/auth_des.h: Likewise.
42550 * include/rpc/auth_unix.h: Likewise.
42551 * include/rpc/clnt.h: Likewise.
42552 * include/rpc/des_crypt.h: Likewise.
42553 * include/rpc/key_prot.h: Likewise.
42554 * include/rpc/pmap_clnt.h: Likewise.
42555 * include/rpc/pmap_prot.h: Likewise.
42556 * include/rpc/pmap_rmt.h: Likewise.
42557 * include/rpc/rpc_msg.h: Likewise.
42558 * include/rpc/svc.h: Likewise.
42559 * include/rpc/svc_auth.h: Likewise.
42560 * include/rpc/xdr.h: Likewise.
42561 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42562 * nss/Makefile: Likewise.
42563 * sunrpc/Makefile: Don't install headers. Build library with normal
42564 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42565 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42566 for the compat linking library. Remove use of INTDEF/INTUSE.
42567 * sunrpc/auth_none.c: Likewise.
42568 * sunrpc/auth_unix.c: Likewise.
42569 * sunrpc/authdes_prot.c: Likewise.
42570 * sunrpc/authuxprot.c: Likewise.
42571 * sunrpc/clnt_gen.c: Likewise.
42572 * sunrpc/clnt_perr.c: Likewise.
42573 * sunrpc/clnt_raw.c: Likewise.
42574 * sunrpc/clnt_simp.c: Likewise.
42575 * sunrpc/clnt_tcp.c: Likewise.
42576 * sunrpc/clnt_udp.c: Likewise.
42577 * sunrpc/clnt_unix.c: Likewise.
42578 * sunrpc/des_crypt.c: Likewise.
42579 * sunrpc/des_soft.c: Likewise.
42580 * sunrpc/get_myaddr.c: Likewise.
42581 * sunrpc/key_call.c: Likewise.
42582 * sunrpc/key_prot.c: Likewise.
42583 * sunrpc/netname.c: Likewise.
42584 * sunrpc/pm_getmaps.c: Likewise.
42585 * sunrpc/pm_getport.c: Likewise.
42586 * sunrpc/pmap_clnt.c: Likewise.
42587 * sunrpc/pmap_prot.c: Likewise.
42588 * sunrpc/pmap_prot2.c: Likewise.
42589 * sunrpc/pmap_rmt.c: Likewise.
42590 * sunrpc/publickey.c: Likewise.
42591 * sunrpc/rpc_cmsg.c: Likewise.
42592 * sunrpc/rpc_common.c: Likewise.
42593 * sunrpc/rpc_dtable.c: Likewise.
42594 * sunrpc/rpc_prot.c: Likewise.
42595 * sunrpc/rpc_thread.c: Likewise.
42596 * sunrpc/rtime.c: Likewise.
42597 * sunrpc/svc.c: Likewise.
42598 * sunrpc/svc_auth.c: Likewise.
42599 * sunrpc/svc_authux.c: Likewise.
42600 * sunrpc/svc_raw.c: Likewise.
42601 * sunrpc/svc_run.c: Likewise.
42602 * sunrpc/svc_simple.c: Likewise.
42603 * sunrpc/svc_tcp.c: Likewise.
42604 * sunrpc/svc_udp.c: Likewise.
42605 * sunrpc/svc_unix.c: Likewise.
42606 * sunrpc/svcauth_des.c: Likewise.
42607 * sunrpc/xcrypt.c: Likewise.
42608 * sunrpc/xdr.c: Likewise.
42609 * sunrpc/xdr_array.c: Likewise.
42610 * sunrpc/xdr_float.c: Likewise.
42611 * sunrpc/xdr_intXX_t.c: Likewise.
42612 * sunrpc/xdr_mem.c: Likewise.
42613 * sunrpc/xdr_rec.c: Likewise.
42614 * sunrpc/xdr_ref.c: Likewise.
42615 * sunrpc/xdr_sizeof.c: Likewise.
42616 * sunrpc/xdr_stdio.c: Likewise.
42617
e6c61494
UD
426182011-04-10 Ulrich Drepper <drepper@gmail.com>
42619
42620 [BZ #12650]
42621 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42622 * sysdeps/ia64/dl-tls.h: Likewise.
42623 * sysdeps/powerpc/dl-tls.h: Likewise.
42624 * sysdeps/s390/dl-tls.h: Likewise.
42625 * sysdeps/sh/dl-tls.h: Likewise.
42626 * sysdeps/sparc/dl-tls.h: Likewise.
42627 * sysdeps/x86_64/dl-tls.h: Likewise.
42628 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42629
34fe483e
AS
426302011-03-14 Andreas Schwab <schwab@redhat.com>
42631
42632 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42633 rpath element also skip the following colon.
42634 (expand_dynamic_string_token): Add is_path parameter and pass
42635 down to DL_DST_REQUIRED and _dl_dst_substitute.
42636 (decompose_rpath): Call expand_dynamic_string_token with
42637 non-zero is_path. Ignore empty rpaths.
42638 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42639 with zero is_path.
42640
f12a32e6
AS
426412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42642
42643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42644 Make cancelable.
42645
38a7d692
UD
426462011-04-09 Ulrich Drepper <drepper@gmail.com>
42647
42648 [BZ #12655]
42649 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42650 Patch by Filipe David Manana <fdmanana@apache.org>.
42651
e451d22b
AS
426522011-04-07 Andreas Schwab <schwab@redhat.com>
42653
42654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42655 Maintain aligned stack.
42656 (CHECK_RSP): Remove unused macro.
42657
dedc7c7b
UD
426582011-04-03 Ulrich Drepper <drepper@gmail.com>
42659
42660 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42661 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42662
94521213
UD
426632011-04-02 Ulrich Drepper <drepper@gmail.com>
42664
42665 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42666
8cb700c0 42667 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42668
0354e355
L
426692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42670
42671 [BZ #12518]
42672 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42673 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42674 * sysdeps/x86_64/memmove.c: New file.
42675 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42676 (memcpy): Renamed to ...
42677 (__new_memcpy): This.
42678 (memcpy): Provide GLIBC_2_14 memcpy.
42679 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42680 (memcpy): Provide GLIBC_2_2_5 memcpy.
42681
8593482f
UD
426822011-04-01 Ulrich Drepper <drepper@gmail.com>
42683
42684 [BZ #12631]
42685 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42686
81a5726b
AS
426872011-03-30 Andreas Schwab <schwab@redhat.com>
42688
42689 * misc/syncfs.c: New file.
42690 * misc/Makefile (routines): Add syncfs.
42691 * posix/unistd.h: Declare syncfs.
42692 * sysdeps/unix/syscalls.list: Add syncfs.
42693
00e5419f
AS
426942011-04-01 Andreas Schwab <schwab@redhat.com>
42695
42696 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42697 open_by_handle_at.
42698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42703 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42705
748876bf
UD
427062011-04-01 Ulrich Drepper <drepper@gmail.com>
42707
658e451d
UD
42708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42715
748876bf
UD
42716 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42717 sync_file_range.c with -fexceptions.
42718 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42719 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42720 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42721 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42722 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42723 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42725 sync_file_range as cancellation point
42726 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42727 now a wrapper around __call_sync_file_range with cancellation handling.
42728 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42729 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42730 function name to __call_sync_file_range.
42731 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42732 Add call_sync_file_range.
748876bf 42733
6e63d5e1
AS
427342011-04-01 Andreas Schwab <schwab@redhat.com>
42735
42736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42737 bits/timex.h.
6e63d5e1 42738
46998f74
UD
427392011-04-01 Ulrich Drepper <drepper@gmail.com>
42740
4c1423ed
UD
42741 * iconv/iconv.h: Fix typo in comment.
42742 * io/fcntl.h: Likewise.
42743 * libio/stdio.h: Likewise.
42744 * posix/spawn.h: Likewise.
42745 * posix/unistd.h: Likewise.
42746 * stdlib/stdlib.h: Likewise.
42747 * time/time.h: Likewise.
42748 * wcsmbs/wchar.h: Likewise.
42749
158648c0
UD
42750 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42751 open_by_handle): Add.
42752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42753 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42754 Augment a few comments.
42755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42760 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42761 open_by_handle.
42762
46998f74
UD
42763 * io/fcntl.h (AT_EMPTY_PATH): Define.
42764
83fe108b
UD
427652011-03-30 Ulrich Drepper <drepper@gmail.com>
42766
42767 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42768 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42769 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42770 to...
42771 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42772 * Versions.def: Add GLIBC_2.14.
42773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42774 Export.
83fe108b 42775
bb242059
UD
427762011-03-22 Ulrich Drepper <drepper@gmail.com>
42777
42778 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42779 round counter.
42780 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42781
c97a1282
L
427822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42783
42784 [BZ #12597]
42785 * string/test-strncmp.c (do_page_test): New function.
42786 (check2): Likewise.
42787 (test_main): Call check2.
42788 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42789
2a115601
UD
427902011-03-20 Ulrich Drepper <drepper@gmail.com>
42791
42792 [BZ #12587]
42793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42794 Handle cache information in CPU leaf 4.
42795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42796
8126d904
UD
427972011-03-18 Ulrich Drepper <drepper@gmail.com>
42798
042c49c6 42799 [BZ #12583]
8126d904
UD
42800 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42801 character representation.
42802 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42803
ccfe366e
RA
428042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42805
42806 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42807 END(__isnan) to END(__isnanf) to match function entry point/label
42808 EALIGN(__isnanf,...).
42809
c6e13027
JJ
428102011-03-10 Jakub Jelinek <jakub@redhat.com>
42811
42812 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42813
33f85a3f
UD
428142011-03-10 Ulrich Drepper <drepper@gmail.com>
42815
028478fa
UD
42816 [BZ #12510]
42817 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42818 copy from the symbol referenced in the relocation to initialize the
42819 used variable.
42820 Patch by Piotr Bury <pbury@goahead.com>.
42821 * elf/Makefile: Add rules to build and tst-unique3.
42822 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42823 * elf/tst-unique3.cc: New file.
42824 * elf/tst-unique3.h: New file.
42825 * elf/tst-unique3lib.cc: New file.
42826 * elf/tst-unique3lib2.cc: New file.
42827
33f85a3f
UD
42828 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42829
03592fc7
MF
428302011-03-10 Mike Frysinger <vapier@gentoo.org>
42831
42832 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42833 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42834 to _start.
03592fc7 42835
6a5ee102
UD
428362011-03-06 Ulrich Drepper <drepper@gmail.com>
42837
42838 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42839 to-be-loaded object along a path to loader is ld.so.
42840
7e4ba49c
HJ
428412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42842 Ulrich Drepper <drepper@gmail.com>
42843
42844 * sysdeps/x86_64/memset.S: After aligning destination, code
42845 branches to different locations depending on the value of
42846 misalignment, when multiarch is enabled. Fix this.
42847
428482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42849
42850 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42851 Set _x86_64_preferred_memory_instruction for AMD processsors.
42852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42853 Set bit_Prefer_SSE_for_memop for AMD processors.
42854
13a804de
UD
428552011-03-04 Ulrich Drepper <drepper@gmail.com>
42856
42857 * libio/fmemopen.c (fmemopen): Optimize a bit.
42858
9d25c392
AS
428592011-03-03 Andreas Schwab <schwab@redhat.com>
42860
42861 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42862
a5543c6a
RM
428632011-03-03 Roland McGrath <roland@redhat.com>
42864
42865 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42866
012d35f7
DM
428672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42868
7e4ba49c 42869 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42870 __bzero_ultra1 instead of __memset_ultra1.
42871
4bff6e01
AS
428722011-02-23 Andreas Schwab <schwab@redhat.com>
42873 Ulrich Drepper <drepper@gmail.com>
42874
42875 [BZ #12509]
42876 * include/link.h (struct link_map): Add l_orig_initfini.
42877 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42878 returning unsuccessfully.
42879 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42880 close of a file loaded at startup, restore the original l_initfini
42881 list.
42882 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42883 list, store the pointer.
42884 * elf/Makefile ($(objpfx)noload-mem): New rule.
42885 (noload-ENV): Define.
42886 (tests): Add $(objpfx)noload-mem.
42887 * elf/noload.c: Include <memcheck.h>.
42888 (main): Call mtrace. Close all opened handles.
42889
f2092faf
AS
428902011-02-17 Andreas Schwab <schwab@redhat.com>
42891
42892 [BZ #12454]
42893 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42894 dependencies are missing.
42895
6c8a2e88
ST
428962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42897
f2092faf 42898 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42899 Hurd needs munmap.
42900 * sysdeps/mach/hurd/ifreq.h: New file.
42901
84a42118
PB
429022011-01-27 Petr Baudis <pasky@suse.cz>
42903 Ulrich Drepper <drepper@gmail.com>
42904
071f805e 42905 [BZ 12445]#
84a42118
PB
42906 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42907 to extend_alloca().
42908 * stdio-common/bug23.c: New file.
42909 * stdio-common/Makefile (tests): Add bug23.
42910
e23fe25b
AS
429112010-09-28 Andreas Schwab <schwab@redhat.com>
42912 Ulrich Drepper <drepper@gmail.com>
42913
42914 [BZ #12489]
42915 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42916 before performing relro protection. At old place add assertion
42917 to make sure nothing changed.
42918
d3f02e10
NS
429192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42920 Glauber de Oliveira Costa <glommer@gmail.com>
42921
42922 * elf/elf.h: Add new ARM TLS relocs.
42923
d55fd7a5
RA
429242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42925
42926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42927 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42928 cast from r3.
42929 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42930 'tests' variable.
42931 * sysdeps/wordsize-64/tst-writev.c: New file.
42932
2206397e
RA
429332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42934
42935 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42936 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42937 insns in _dl_start to prevent a TOC reference before relocs are
42938 resolved.
42939
e9433893
UD
429402011-02-15 Ulrich Drepper <drepper@gmail.com>
42941
42942 [BZ #12469]
42943 * Makeconfig: Remove RANLIB definition.
42944 * Makerules: Don't use RANLIB.
42945 * aclocal.m4: Remove ranlib test.
42946 * configure.in: No need to check for ranlib.
42947 * elf/rtld-Rules: Don't use RANLIB.
42948
f75286c6
ST
429492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42950
8e31c82d
ST
42951 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42952 protection macro.
42953 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42954 inclusion protection macro.
42955
f75286c6
ST
42956 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42957 SIGRTMIN and SIGRTMAX and print information in that case only when
42958 SIGRTMIN is defined.
42959
c1d0e639
JJ
429602011-02-11 Jakub Jelinek <jakub@redhat.com>
42961
42962 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42963 arginfo fn returning -1.
42964
42965 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42966 and thousands string is zero terminated.
42967
edf9294e
AS
429682011-02-03 Andreas Schwab <schwab@redhat.com>
42969
42970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42971 sysdeps/unix/sysv/linux/bits/socket.h.
42972
2b7e92df
ST
429732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42974
edf9294e
AS
42975 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42976 (__CPU_COUNT): Remove old macros.
42977 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42978 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42979 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42980 (__sched_cpualloc, __sched_cpufree): Add declarations.
42981
a4c7ea7b
UD
429822011-02-05 Ulrich Drepper <drepper@gmail.com>
42983
42984 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42985 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42986 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42987 (readdhstai): Return value of addhstaiX call.
42988 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42989 (addgrbyX): Return value returned by cache_addgr.
42990 (readdgrbyname): Return value returned by addgrbyX.
42991 (readdgrbygid): Likewise.
42992 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42993 (addpwbyX): Return value returned by cache_addpw.
42994 (readdpwbyname): Return value returned by addhstbyX.
42995 (readdpwbyuid): Likewise.
42996 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42997 (addservbyX): Return value returned by cache_addserv.
42998 (readdservbyname): Return value returned by addservbyX:
42999 (readdservbyport): Likewise.
43000 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43001 (addhstbyX): Return value returned by cache_addhst.
43002 (readdhstbyname): Return value returned by addhstbyX.
43003 (readdhstbyaddr): Likewise.
43004 (readdhstbynamev6): Likewise.
43005 (readdhstbyaddrv6): Likewise.
43006 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43007 (readdinitgroups): Return value returned by addinitgroupsX.
43008 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43009 (prune_cache): Keep track of timeout value of re-added entries.
43010 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43011 * nscd/nscd.h: Adjust prototypes of readd* functions.
43012
a0bf67cc
RM
430132011-02-04 Roland McGrath <roland@redhat.com>
43014
43015 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43016 (nis_stats): Likewise.
43017 * nis/nis_modify.c (nis_modify): Likewise.
43018 * nis/nis_remove.c (nis_remove): Likewise.
43019 * nis/nis_add.c (nis_add): Likewise.
43020
43021 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43022
43023 * posix/fnmatch_loop.c: Add some consts.
43024
43025 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43026
435b95eb
L
430272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43028
43029 [BZ #12460]
43030 * config.make.in (config-cflags-novzeroupper): Define.
43031 * configure.in: Substitute libc_cv_cc_novzeroupper.
43032 * elf/Makefile (AVX-CFLAGS): Define.
43033 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43034 (CFLAGS-tst-auditmod4a.c): Likewise.
43035 (CFLAGS-tst-auditmod4b.c): Likewise.
43036 (CFLAGS-tst-auditmod6b.c): Likewise.
43037 (CFLAGS-tst-auditmod6c.c): Likewise.
43038 (CFLAGS-tst-auditmod7b.c): Likewise.
43039 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43040
8517b15e
UD
430412011-02-02 Ulrich Drepper <drepper@gmail.com>
43042
43043 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43044 function to the callback.
43045 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43046
10a656fe
AS
430472011-02-02 Andreas Schwab <schwab@redhat.com>
43048
43049 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43050 of errno.
43051
968dad0a
UD
430522011-01-19 Ulrich Drepper <drepper@gmail.com>
43053
9f94d2ea 43054 [BZ #11724]
968dad0a
UD
43055 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43056 of constructors.
43057 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43058 of destructors.
43059 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43060
43061 [BZ #11724]
43062 * elf/Makefile: Add rules to build and run new test.
43063 * elf/tst-initorder.c: New file.
43064 * elf/tst-initorder.exp: New file.
43065 * elf/tst-initordera1.c: New file.
43066 * elf/tst-initordera2.c: New file.
43067 * elf/tst-initordera3.c: New file.
43068 * elf/tst-initordera4.c: New file.
43069 * elf/tst-initorderb1.c: New file.
43070 * elf/tst-initorderb2.c: New file.
43071 * elf/tst-order-a1.c: New file.
43072 * elf/tst-order-a2.c: New file.
43073 * elf/tst-order-a3.c: New file.
43074 * elf/tst-order-a4.c: New file.
43075 * elf/tst-order-b1.c: New file.
43076 * elf/tst-order-b2.c: New file.
43077 * elf/tst-order-main.c: New file.
43078 New test case by George Gensure <werkt0@gmail.com>.
43079
86e92359
UD
430802010-10-01 Andreas Schwab <schwab@redhat.com>
43081
43082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43083 decoding ACE if AI_CANONIDN.
43084
5d5732b0
UD
430852011-01-18 Ulrich Drepper <drepper@gmail.com>
43086
43087 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43088
a77e8cbc
UD
430892011-01-17 Ulrich Drepper <drepper@gmail.com>
43090
6392473f
UD
43091 * version.h (RELEASE): Bump for 2.13 release.
43092 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43093
620a0529
UD
43094 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43095
18ba70a5
UD
43096 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43097 MADV_NOHUGEPAGE.
32465c3e
UD
43098 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43100 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43101 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43104
c0dafcf1
UD
43105 * posix/getconf.c: Update copyright year.
43106 * catgets/gencat.c: Likewise.
43107 * csu/version.c: Likewise.
43108 * debug/catchsegv.sh: Likewise.
43109 * debug/xtrace.sh: Likewise.
43110 * elf/ldconfig.c: Likewise.
43111 * elf/ldd.bash.in: Likewise.
43112 * elf/sprof.c (print_version): Likewise.
43113 * iconv/iconv_prog.c: Likewise.
43114 * iconv/iconvconfig.c: Likewise.
43115 * locale/programs/locale.c: Likewise.
43116 * locale/programs/localedef.c: Likewise.
43117 * malloc/memusage.sh: Likewise.
43118 * malloc/mtrace.pl: Likewise.
43119 * nscd/nscd.c (print_version): Likewise.
43120 * nss/getent.c: Likewise.
43121
a77e8cbc
UD
43122 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43123 PF_CAIF, and PF_ALG.
43124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43125
77e8bddf
AS
431262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43127
1f20b93a
AS
43128 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43129 (modules-names): Use them.
43130 (ifunc-test-modules, ifunc-pie-tests): Define.
43131 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43132 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43133 (test-extras): Likewise.
43134 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43135 $(compile-command.c).
43136 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43137 (all-built-dso): Define.
43138 (check-textrel.out, check-execstack.out): Depend on it.
43139
77e8bddf
AS
43140 * configure.in: Don't override --enable-multi-arch.
43141
bc425b33
UD
431422011-01-15 Ulrich Drepper <drepper@gmail.com>
43143
43144 [BZ #6812]
43145 * nscd/hstcache.c (tryagain): Define.
43146 (cache_addhst): Return tryagain not notfound for temporary errors.
43147 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43148 failed.
43149
794c3ad3
UD
431502011-01-14 Ulrich Drepper <drepper@gmail.com>
43151
70181fdd
UD
43152 [BZ #10563]
43153 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43154 to make the syscall.
43155 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43156
794c3ad3
UD
43157 [BZ #12378]
43158 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43159 and fall back to matching as normal character if the string ends before
43160 the matching ']' is found. This is what POSIX requires.
43161 * posix/testfnm.c: Adjust test result.
43162 * posix/globtest.sh: Adjust test result. Add new test.
43163 * posix/tst-fnmatch.input: Likewise.
43164 * posix/tst-fnmatch2.c: Add new test.
43165
68dc9497
AS
431662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43167
43168 * elf/Makefile (check-execstack): Revert last change. Depend on
43169 check-execstack.h.
43170 (check-execstack.h): New target.
43171 (generated): Add check-execstack.h.
43172 * elf/check-execstack.c: Include "check-execstack.h".
43173 (main): Revert last change.
43174 (handle_file): Return zero if GNU_STACK is absent and
43175 DEFAULT_STACK_PERMS doesn't include PF_X.
43176
451f001b
UD
431772011-01-13 Ulrich Drepper <drepper@gmail.com>
43178
cfa28e56
UD
43179 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43180 in child fails because the descriptor is already closed.
8cf8ce17
UD
43181 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43182 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43184
1086d70d
UD
43185 [BZ #12397]
43186 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43187 syscall.
43188
451f001b
UD
43189 [BZ #10484]
43190 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43191 temporary buffer used to handle multi lookups locally.
a85b5cb4 43192 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43193
08769175
UD
431942011-01-12 Ulrich Drepper <drepper@gmail.com>
43195
43196 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43197 loader is ld.so.
43198
5e49c52e
UD
431992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43200
43201 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43202 alignment for SSE2.
43203
60522a5f
UD
432042011-01-12 Ulrich Drepper <drepper@gmail.com>
43205
43206 [BZ #12394]
43207 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43208 characters. When rounding increased number of integer digits recompute
43209 number of groups.
43210 * stdio-common/tst-grouping.c: New file.
43211 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43212
f257bbd7
UD
432132011-01-09 Ulrich Drepper <drepper@gmail.com>
43214
43215 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43216 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43217
43218 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43219 void.
43220 * bits/select.h: Likewise.
43221
fa9c15cb
UD
432222011-01-08 Ulrich Drepper <drepper@gmail.com>
43223
43224 * po/ja.po: Update from translation team.
43225
16c2895f
DM
432262011-01-04 David S. Miller <davem@sunset.davemloft.net>
43227
43228 [BZ #11155]
43229 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43230 implementation just like for lxstat, fxstatat, et al.
43231
2543fef2
JM
432322010-12-27 Jim Meyering <meyering@redhat.com>
43233
43234 [BZ #12348]
43235 * posix/regexec.c (build_trtable): Return failure indication upon
43236 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43237
98727dbe
UD
432382010-12-25 Ulrich Drepper <drepper@gmail.com>
43239
5bd6dc5c
UD
43240 [BZ #12201]
43241 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43242 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43243 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43245
97983464
UD
43246 [BZ #12207]
43247 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43248
98727dbe
UD
43249 [BZ #12204]
43250 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43251 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43252
4a531bb0
L
432532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43254
43255 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43256 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43257 script has SORT_BY_INIT_PRIORITY.
43258 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43259 NO_CTORS_DTORS_SECTIONS is defined.
43260 * elf/soinit.c: Likewise.
43261 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43262 NO_CTORS_DTORS_SECTIONS is defined.
43263 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43264 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43265 * sysdeps/sh/init-first.c: Likewise.
43266 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43267
07eb4b71
UD
432682010-12-24 Ulrich Drepper <drepper@gmail.com>
43269
43270 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43271 always use the slow path.
43272
30950a5f
RA
432732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43274
43275 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43276 similar rule which adds the sysdep directories to the header search in
43277 order to pick up the correct platform stackinfo.h.
43278 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43279 perform test if it is, otherwise return successfully without testing.
43280 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43281 DEFAULT_STACK_PERMS define in stackinfo.h.
43282 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43283 defined in stackinfo.h.
43284 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43285 DEFAULT_STACK_PERMS defined in stackinfo.h.
43286 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43287 * sysdeps/ia64/stackinfo.h: Likewise.
43288 * sysdeps/s390/stackinfo.h: Likewise.
43289 * sysdeps/sh/stackinfo.h: Likewise.
43290 * sysdeps/sparc/stackinfo.h: Likewise.
43291 * sysdeps/x86_64/stackinfo.h: Likewise.
43292 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43293 PF_X for powerpc64. Retain PF_X for powerpc32.
43294
db753e2c
UD
432952010-12-19 Ulrich Drepper <drepper@gmail.com>
43296
14b697f7
UD
43297 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43298 accurately.
db753e2c
UD
43299 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43300 GETDENTS_64BIT_ALIGNED.
43301
28300719
UD
433022010-12-14 Ulrich Drepper <dreper@gmail.com>
43303
14b697f7 43304 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43305
4f197237
AS
433062010-12-10 Andreas Schwab <schwab@redhat.com>
43307
dbb0472f
AS
43308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43309 _GNU_SOURCE.
43310
4f197237
AS
43311 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43312 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43313 Remove __restrict.
43314 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43315 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43316
fb88ac72
UD
433172010-12-09 Ulrich Drepper <drepper@gmail.com>
43318
43319 [BZ #11655]
43320 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43321 are initialized.
43322
42acbb92
JJ
433232010-12-09 Jakub Jelinek <jakub@redhat.com>
43324
43325 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43326
c038d98d
UD
433272010-12-03 Ulrich Drepper <drepper@gmail.com>
43328
43329 * po/it.po: Update from translation team.
43330
3a4a2499
L
433312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43332
43333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43334 unused codes.
43335
1e24cf6e
UD
433362010-11-30 Ulrich Drepper <drepper@gmail.com>
43337
43338 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43339
a7690819
AS
433402010-11-24 Andreas Schwab <schwab@redhat.com>
43341
43342 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43343 specially.
43344 (gaih_getanswer_slice): Likewise.
43345
3bf8d1b1
JJ
433462010-10-20 Jakub Jelinek <jakub@redhat.com>
43347
43348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43349
6db52fbb
PB
433502010-05-31 Petr Baudis <pasky@suse.cz>
43351
43352 [BZ #11149]
43353 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43354 silently even in the chroot mode.
43355
eaca7569
UD
433562010-11-22 Ulrich Drepper <drepper@gmail.com>
43357
43358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43359 last patch a bit. Pretty printing
43360
3056dcdb
UD
433612010-05-31 Petr Baudis <pasky@suse.cz>
43362
43363 [BZ #10085]
43364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43365 initialization of skip_initgroups_dyn.
43366
cf7c9078
UD
433672010-11-19 Ulrich Drepper <drepper@gmail.com>
43368
43369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43370 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43371
a1fb5e3e
UD
433722010-11-16 Ulrich Drepper <drepper@gmail.com>
43373
43374 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43375
3540d66b
AS
433762010-11-11 Andreas Schwab <schwab@redhat.com>
43377
43378 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43379 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43380 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43381 ($(objpfx)tst-fnmatch-mem): New rule.
43382 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43383 * posix/tst-fnmatch.c (main): Call mtrace.
43384
13b69574
L
433852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43388 Support Intel processor model 6 and model 0x2c.
43389
da93d214
LM
433902010-11-10 Luis Machado <luisgpm@br.ibm.com>
43391
43392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43393 signed comparison.
43394
8ca52c6e
L
433952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43396
43397 [BZ #12205]
43398 * string/test-strncasecmp.c (check_result): New function.
43399 (do_one_test): Use it.
43400 (check1): New function.
43401 (test_main): Use it.
43402 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43403 Support strcasecmp and strncasecmp.
43404
69da074d
UD
434052010-11-08 Ulrich Drepper <drepper@gmail.com>
43406
43407 [BZ #12194]
43408 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43410
ff02d528
L
434112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43412
43413 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43414 IFUNC support.
43415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43416 memset-x86-64.
43417 * sysdeps/x86_64/multiarch/bzero.S: New file.
43418 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43419 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43420 * sysdeps/x86_64/multiarch/memset.S: New file.
43421 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43423 Set bit_Prefer_SSE_for_memop for Intel processors.
43424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43425 Define.
43426 (index_Prefer_SSE_for_memop): Define.
43427 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43428
344d0b54
LM
434292010-11-04 Luis Machado <luisgpm@br.ibm.com>
43430
43431 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43432 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43433
c0dde15b
UD
434342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43435
43436 [BZ #12191]
43437 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43438 (__x86_64_raw_data_cache_size_half): Likewise.
43439 (__x86_64_raw_shared_cache_size): Likewise.
43440 (__x86_64_raw_shared_cache_size_half): Likewise.
43441
43442 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43443 (__x86_64_raw_data_cache_size_half): Likewise.
43444 (__x86_64_raw_shared_cache_size): Likewise.
43445 (__x86_64_raw_shared_cache_size_half): Likewise.
43446 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43447 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43448 and __x86_64_raw_shared_cache_size_half. Round
43449 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43450 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43451 to multiple of 256 bytes.
43452
0e516e0e
MS
434532010-11-03 Ulrich Drepper <drepper@gmail.com>
43454
43455 [BZ #12167]
43456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43457 of inacessible symlinks. Verify result of symlink before returning it.
43458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43459 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43460
0e012e87
ER
434612010-10-28 Erich Ritz <erichritz@gmail.com>
43462
43463 * math/math.h (isinf): Fix typo in comment.
43464
de0ff7bc
UD
434652010-11-01 Ulrich Drepper <drepper@gmail.com>
43466
43467 * po/da.po: Update from translation team.
43468
fa41c84d
UD
434692010-10-26 Ulrich Drepper <drepper@gmail.com>
43470
43471 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43472 is added to the list.
43473
f0967738
AK
434742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43475 Ulrich Drepper <drepper@gmail.com>
43476
43477 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43478 the global list here. Move code to...
43479 (_dl_add_to_namespace_list): ...here. New function.
43480 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43481 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43482 * elf/dl-load.c (lose): Don't remove the element from the list.
43483 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43484 (_dl_map_object): Likewise.
43485
434862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43487
43488 [BZ #12159]
43489 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43490 into all bytes of SSE register.
43491 Patch by Richard Li <richardpku@gmail.com>.
43492
f0967738 434932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43494
43495 [BZ #12140]
43496 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43497 perturbing.
43498
d0b9e94f
MB
434992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43500
43501 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43502 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43503 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43504 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43506 submachine.
43507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43508
8e9f92e9
AS
435092010-10-22 Andreas Schwab <schwab@redhat.com>
43510
43511 * include/dlfcn.h (__RTLD_SECURE): Define.
43512 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43513 mode & __RTLD_SECURE instead.
43514 (open_path): Rename preloaded parameter to secure.
43515 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43516 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43517 * elf/dl-deps.c (openaux): Likewise.
43518 * elf/rtld.c (struct map_args): Remove is_preloaded.
43519 (map_doit): Don't use it.
43520 (dl_main): Likewise.
43521 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43522 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43523
bc96fbda
AS
435242010-09-09 Andreas Schwab <schwab@redhat.com>
43525
43526 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43527 (sysd-rules-targets): Remove duplicates.
43528 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43529 rtld-%.$o dependency.
43530
22cd1c9b
AS
435312010-10-18 Andreas Schwab <schwab@redhat.com>
43532
43533 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43534 _dl_map_object do it.
43535
18edac48
UD
435362010-10-19 Ulrich Drepper <drepper@gmail.com>
43537
43538 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43539 fast fma builtins, define the macros in the C99 standard.
43540 (FP_FAST_FMAF): Likewise.
43541 (FP_FAST_FMAL): Likewise.
43542 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43543
43544 * bits/mathdef.h: Update copyright year.
43545 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43546
d2050124
MM
435472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43548
43549 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43550 builtins, define the macros in the C99 standard.
43551 (FP_FAST_FMAF): Likewise.
43552 (FP_FAST_FMAL): Likewise.
43553 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43554 multiply/add.
43555 (FP_FAST_FMAF): Likewise.
43556
475facd1
JJ
435572010-10-15 Jakub Jelinek <jakub@redhat.com>
43558
43559 [BZ #3268]
43560 * math/libm-test.inc (fma_test): Some new testcases.
43561 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43563 y and infinite z. Do multiplication by C already in long double.
43564 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43566 y and infinite z. Do bitwise or of inexact bit into u.d.
43567 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43568 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43569 * sysdeps/i386/fpu/s_fma.S: Removed.
43570 * sysdeps/i386/fpu/s_fmal.S: Removed.
43571
7c08a05c
JJ
435722010-10-16 Jakub Jelinek <jakub@redhat.com>
43573
43574 [BZ #3268]
43575 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43577 computation is not scheduled after fetestexcept. Fix value
43578 of minimum denormal long double.
43579
f3f7372d
JJ
435802010-10-14 Jakub Jelinek <jakub@redhat.com>
43581
43582 [BZ #3268]
43583 * math/libm-test.inc (fma_test): Add some more tests.
43584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43585 correctly.
43586
14d43591
AS
435872010-10-15 Andreas Schwab <schwab@redhat.com>
43588
43589 * scripts/data/localplt-s390-linux-gnu.data: New file.
43590 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43591
5e908464
JJ
435922010-10-13 Jakub Jelinek <jakub@redhat.com>
43593
43594 [BZ #3268]
43595 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43596 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43597 instead of dbl-64.
43598 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43599 inlines.
43600 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43602 if one of x and y is very large and the other is subnormal.
43603 * sysdeps/s390/fpu/s_fmaf.c: New file.
43604 * sysdeps/s390/fpu/s_fma.c: New file.
43605 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43606 * sysdeps/powerpc/fpu/s_fma.S: New file.
43607 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43608 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43609 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43610
436112010-10-12 Jakub Jelinek <jakub@redhat.com>
43612
43613 [BZ #3268]
43614 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43615 fma tests.
43616 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43617 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43618 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43619 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43620 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43621 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43623
b833d51f
UD
436242010-10-12 Ulrich Drepper <drepper@redhat.com>
43625
43626 [BZ #12078]
43627 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43628 * posix/bug-regex31.input: Add test case.
43629
1751705d
UD
436302010-10-11 Ulrich Drepper <drepper@gmail.com>
43631
e9b9cbf5
UD
43632 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43633 * posix/bug-regex31.input: New file.
43634
43635 [BZ #12078]
43636 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43637 (parse_sub_exp): Fix last change, use postorder.
43638
ef06edbe
UD
43639 * posix/bug-regex31.c: New file.
43640 * posix/Makefile: Add rules to build and run bug-regex31.
43641
a129c80d
UD
43642 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43643
43644 [BZ #12078]
43645 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43646
b76b818e
UD
43647 [BZ #12108]
43648 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43649 to have entries in sys_siglist.
43650
1751705d
UD
43651 [BZ #12093]
43652 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43653 be NULL.
43654
9ff8d36f
JJ
436552010-10-07 Jakub Jelinek <jakub@redhat.com>
43656
43657 [BZ #3268]
43658 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43659 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43660 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43661 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43662 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43663 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43664 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43665 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43666 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43667 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43668 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43669 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43670 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43671 * math/ftestexcept.c (fetestexcept): Likewise.
43672 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43673 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43674 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43675 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43676 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43677 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43678 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43679
af325969
UD
436802010-10-11 Ulrich Drepper <drepper@gmail.com>
43681
c579b202 43682 [BZ #12107]
af325969
UD
43683 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43684 newline.
43685
67a67b95
UD
436862010-10-06 Ulrich Drepper <drepper@gmail.com>
43687
43688 * string/bug-strstr1.c: New file.
43689 * string/Makefile: Add rules to build and run bug-strstr1.
43690
5fb308bc
EB
436912010-10-05 Eric Blake <eblake@redhat.com>
43692
43693 [BZ #12092]
43694 * string/str-two-way.h (two_way_long_needle): Always clear memory
43695 when skipping input due to the shift table.
43696
45db99c7
UD
436972010-10-03 Ulrich Drepper <drepper@gmail.com>
43698
3b111893
UD
43699 [BZ #12005]
43700 * malloc/mcheck.c: Handle large requests.
43701
45db99c7
UD
43702 [BZ #12077]
43703 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43704 for strncmp and strncasecmp.
43705 * string/stratcliff.c: Add tests for strcmp and strncmp.
43706 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43707
cf7a1eb8
NI
437082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43709
43710 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43711 __set_fpscr.
43712
6484ba5e
AJ
437132010-09-30 Andreas Jaeger <aj@suse.de>
43714
43715 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43716 (CGROUP_SUPER_MAGIC): Define.
43717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43718 Handle btrfs and cgroup file systems.
43719 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43720 Likewise.
43721
91c42559
LM
437222010-09-27 Luis Machado <luisgpm@br.ibm.com>
43723
43724 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43725 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43726
87a97932
AK
437272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43728
43729 [BZ #12067]
43730 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43731 trying to locate the ELF header.
43732
c21cc9bc
AS
437332010-09-27 Andreas Schwab <schwab@redhat.com>
43734
43735 [BZ #11611]
43736 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43737 Mask out sign-bit copies when constructing f_fsid.
43738
315970f6
PB
437392010-09-24 Petr Baudis <pasky@suse.cz>
43740
43741 * debug/stack_chk_fail_local.c: Add missing licence exception.
43742 * debug/warning-nop.c: Likewise.
43743
1ac7a2c7
JM
437442010-09-15 Joseph Myers <joseph@codesourcery.com>
43745
43746 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43747 implementing getdents64 using getdents syscall, set d_type if
43748 __ASSUME_GETDENTS32_D_TYPE.
43749
56801c50
AS
437502010-09-16 Andreas Schwab <schwab@redhat.com>
43751
43752 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43753 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43754
dda51327
UD
437552010-09-21 Ulrich Drepper <drepper@redhat.com>
43756
43757 [BZ #12037]
43758 * posix/unistd.h: Undo change of feature selection for ftruncate from
43759 2010-01-11.
43760
8ffcee4a
UD
437612010-09-20 Ulrich Drepper <drepper@redhat.com>
43762
a545ecd9 43763 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43764 detection.
43765
e24f0a8b
AS
437662010-09-20 Andreas Schwab <schwab@redhat.com>
43767
43768 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43769 fanotify_mark.
43770 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43771
7291c56f
AS
437722010-09-14 Andreas Schwab <schwab@redhat.com>
43773
43774 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43775 variables after CHECK_SP call.
43776 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43777
bc5fb037
AS
437782010-09-13 Andreas Schwab <schwab@redhat.com>
43779 Ulrich Drepper <drepper@redhat.com>
43780
43781 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43782 re-relocationg ld.so.
43783 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43784 _dl_init_paths call.
43785 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43786 here anymore.
43787
e66e7419
UD
437882010-09-14 Ulrich Drepper <drepper@redhat.com>
43789
43790 * resolv/res_init.c (__res_vinit): Count the default server we added.
43791
c044aa75
CLT
437922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43793 Ulrich Drepper <drepper@redhat.com>
43794
43795 [BZ #11968]
43796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43797 (____longjmp_chk): Use %ebx for saving value across system call.
43798 Add unwind info.
43799
32cf4069
AS
438002010-09-06 Andreas Schwab <schwab@redhat.com>
43801
43802 * manual/Makefile: Don't mix pattern rules with normal rules.
43803
817328ee
AS
438042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43805
43806 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43807 operation.
43808 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43809 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43810 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43811 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43813 Likewise.
43814
29fddf61
UD
438152010-09-04 Ulrich Drepper <drepper@redhat.com>
43816
43817 [BZ #11979]
43818 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43819 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43820
0959ffc9
UD
438212010-09-02 Ulrich Drepper <drepper@redhat.com>
43822
43823 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43824 * sysdeps/x86_64/addmul_1.S: Likewise.
43825 * sysdeps/x86_64/lshift.S: Likewise.
43826 * sysdeps/x86_64/mul_1.S: Likewise.
43827 * sysdeps/x86_64/rshift.S: Likewise.
43828 * sysdeps/x86_64/sub_n.S: Likewise.
43829 * sysdeps/x86_64/submul_1.S: Likewise.
43830
ece29840
ST
438312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43832
0959ffc9
UD
43833 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43834 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43835 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43836 * bits/sched.h [__need_schedparam]
ece29840 43837 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43838 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43839 (__defined_schedparam): Define to 1.
ece29840
ST
43840 (__sched_param): New structure, identical to sched_param.
43841 (__need_schedparam): Undefine.
43842
e53a31fe
MF
438432010-08-31 Mike Frysinger <vapier@gentoo.org>
43844
fdc0c10d
MF
43845 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43846 (epoll_create1): Declare.
43847
e53a31fe
MF
43848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43849
a726d796
AS
438502010-08-31 Andreas Schwab <schwab@redhat.com>
43851
43852 [BZ #7066]
43853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43854 shifting retval into place.
43855
2f3e3dc7
UD
438562010-09-01 Ulrich Drepper <drepper@redhat.com>
43857
f2933da9
UD
43858 * nis/rpcsvc/nis.h: Update copyright notice.
43859 * nis/rpcsvc/nis.x: Likewise.
43860 * nis/rpcsvc/nis_callback.h: Likewise.
43861 * nis/rpcsvc/nis_callback.x: Likewise.
43862 * nis/rpcsvc/nis_object.x: Likewise.
43863 * nis/rpcsvc/nis_tags.h: Likewise.
43864 * nis/rpcsvc/yp.h: Likewise.
43865 * nis/rpcsvc/yp.x: Likewise.
43866 * nis/rpcsvc/ypupd.h: Likewise.
43867 * nis/yp_xdr.c: Likewise.
43868 * nis/ypupdate_xdr.c: Likewise.
43869
2f3e3dc7
UD
43870 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43871 mainly the body of pmap_getport. Add parameters to specify timeouts.
43872 (pmap_getport): Use __libc_rpc_getport.
43873 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43874 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43875 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43876
f3dcc2f9
AS
438772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43878
43879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43880 fanotify_mark.
43881
6d34eb5b
RM
438822010-08-27 Roland McGrath <roland@redhat.com>
43883
43884 * sysdeps/i386/i686/multiarch/Makefile
43885 (CFLAGS-varshift.c): New variable.
43886
9ea3de11
UD
438872010-08-27 Ulrich Drepper <drepper@redhat.com>
43888
c96d23fc
UD
43889 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43890 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43891
9ea3de11
UD
43892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43893
43894 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43895
623aac7f
L
438962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43897
43898 * sysdeps/x86_64/strlen.S: Unroll the loop.
43899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43900 strlen-sse2 strlen-sse2-bsf.
43901 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43902 __strlen_no_bsf if bit_Slow_BSF is set.
43903 (__strlen_sse42): Removed.
43904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43905 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43906
8b2b7715
RM
439072010-08-25 Roland McGrath <roland@redhat.com>
43908
43909 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43910 * sysdeps/x86_64/multiarch/varshift.c: New file.
43911 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43912 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43913 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43914 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43915
e73015f2
L
439162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43917
43918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43919 strlen-sse2 strlen-sse2-bsf.
43920 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43921 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43922 (__strlen_sse2): Removed.
43923 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43926 bit_Slow_BSF for Atom.
43927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43928 (index_Slow_BSF): Define.
43929 (HAS_SLOW_BSF): Define.
43930
df24a73e
UD
439312010-08-25 Ulrich Drepper <drepper@redhat.com>
43932
43933 [BZ #10851]
43934 * resolv/res_init.c (__res_vinit): When no server address at all
43935 is given default to loopback.
43936
f2ac4868
RM
439372010-08-24 Roland McGrath <roland@redhat.com>
43938
09055553
RM
43939 * configure.in: Remove config-name.h generation.
43940 * configure: Regenerated.
43941 * config-name.in: File removed.
43942 * scripts/config-uname.sh: New file.
43943 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43944 ($(objdir)config-name.h): New target.
43945
f2ac4868
RM
43946 * sunrpc/rpc_parse.h: Avoid nested comment.
43947
73f27d5e
RH
439482010-08-24 Richard Henderson <rth@redhat.com>
43949 Ulrich Drepper <drepper@redhat.com>
43950 H.J. Lu <hongjiu.lu@intel.com>
43951
43952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43954 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43955 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43956 _mm_alignr_epi8 with _mm_loadu_si128.
43957 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43958 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43959 (__m128i_shift_right): Removed.
43960 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43961 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43962 * sysdeps/x86_64/multiarch/varshift.h: New file.
43963 * sysdeps/x86_64/multiarch/varshift.S: New file.
43964
84b9230c
MF
439652010-08-21 Mike Frysinger <vapier@gentoo.org>
43966
43967 * configure.in: Move assembler checks to before sysdep dir checking.
43968
9bbd0ddc
PB
439692010-08-20 Petr Baudis <pasky@suse.cz>
43970
43971 * LICENSES: Sync the sunrpc license.
43972
9da4bb31
UD
439732010-08-19 Ulrich Drepper <drepper@redhat.com>
43974
a7ab6ec8
UD
43975 * sunrpc/auth_des.c: Update copyright notice once again.
43976 * sunrpc/auth_none.c: Likewise.
43977 * sunrpc/auth_unix.c: Likewise.
43978 * sunrpc/authdes_prot.c: Likewise.
43979 * sunrpc/authuxprot.c: Likewise.
43980 * sunrpc/bindrsvprt.c: Likewise.
43981 * sunrpc/clnt_gen.c: Likewise.
43982 * sunrpc/clnt_perr.c: Likewise.
43983 * sunrpc/clnt_raw.c: Likewise.
43984 * sunrpc/clnt_simp.c: Likewise.
43985 * sunrpc/clnt_tcp.c: Likewise.
43986 * sunrpc/clnt_udp.c: Likewise.
43987 * sunrpc/clnt_unix.c: Likewise.
43988 * sunrpc/des_crypt.c: Likewise.
43989 * sunrpc/des_soft.c: Likewise.
43990 * sunrpc/get_myaddr.c: Likewise.
43991 * sunrpc/getrpcport.c: Likewise.
43992 * sunrpc/key_call.c: Likewise.
43993 * sunrpc/key_prot.c: Likewise.
43994 * sunrpc/openchild.c: Likewise.
43995 * sunrpc/pm_getmaps.c: Likewise.
43996 * sunrpc/pm_getport.c: Likewise.
43997 * sunrpc/pmap_clnt.c: Likewise.
43998 * sunrpc/pmap_prot.c: Likewise.
43999 * sunrpc/pmap_prot2.c: Likewise.
44000 * sunrpc/pmap_rmt.c: Likewise.
44001 * sunrpc/rpc/auth.h: Likewise.
44002 * sunrpc/rpc/auth_unix.h: Likewise.
44003 * sunrpc/rpc/clnt.h: Likewise.
44004 * sunrpc/rpc/des_crypt.h: Likewise.
44005 * sunrpc/rpc/key_prot.h: Likewise.
44006 * sunrpc/rpc/netdb.h: Likewise.
44007 * sunrpc/rpc/pmap_clnt.h: Likewise.
44008 * sunrpc/rpc/pmap_prot.h: Likewise.
44009 * sunrpc/rpc/pmap_rmt.h: Likewise.
44010 * sunrpc/rpc/rpc.h: Likewise.
44011 * sunrpc/rpc/rpc_des.h: Likewise.
44012 * sunrpc/rpc/rpc_msg.h: Likewise.
44013 * sunrpc/rpc/svc.h: Likewise.
44014 * sunrpc/rpc/svc_auth.h: Likewise.
44015 * sunrpc/rpc/types.h: Likewise.
44016 * sunrpc/rpc/xdr.h: Likewise.
44017 * sunrpc/rpc_clntout.c: Likewise.
44018 * sunrpc/rpc_cmsg.c: Likewise.
44019 * sunrpc/rpc_common.c: Likewise.
44020 * sunrpc/rpc_cout.c: Likewise.
44021 * sunrpc/rpc_dtable.c: Likewise.
44022 * sunrpc/rpc_hout.c: Likewise.
44023 * sunrpc/rpc_main.c: Likewise.
44024 * sunrpc/rpc_parse.c: Likewise.
44025 * sunrpc/rpc_parse.h: Likewise.
44026 * sunrpc/rpc_prot.c: Likewise.
44027 * sunrpc/rpc_sample.c: Likewise.
44028 * sunrpc/rpc_scan.c: Likewise.
44029 * sunrpc/rpc_scan.h: Likewise.
44030 * sunrpc/rpc_svcout.c: Likewise.
44031 * sunrpc/rpc_tblout.c: Likewise.
44032 * sunrpc/rpc_util.c: Likewise.
44033 * sunrpc/rpc_util.h: Likewise.
44034 * sunrpc/rpcinfo.c: Likewise.
44035 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44036 * sunrpc/rpcsvc/key_prot.x: Likewise.
44037 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44038 * sunrpc/rpcsvc/mount.x: Likewise.
44039 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44040 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44041 * sunrpc/rpcsvc/rex.x: Likewise.
44042 * sunrpc/rpcsvc/rstat.x: Likewise.
44043 * sunrpc/rpcsvc/rusers.x: Likewise.
44044 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44045 * sunrpc/rpcsvc/spray.x: Likewise.
44046 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44047 * sunrpc/rtime.c: Likewise.
44048 * sunrpc/svc.c: Likewise.
44049 * sunrpc/svc_auth.c: Likewise.
44050 * sunrpc/svc_authux.c: Likewise.
44051 * sunrpc/svc_raw.c: Likewise.
44052 * sunrpc/svc_run.c: Likewise.
44053 * sunrpc/svc_simple.c: Likewise.
44054 * sunrpc/svc_tcp.c: Likewise.
44055 * sunrpc/svc_udp.c: Likewise.
44056 * sunrpc/svc_unix.c: Likewise.
44057 * sunrpc/svcauth_des.c: Likewise.
44058 * sunrpc/xcrypt.c: Likewise.
44059 * sunrpc/xdr.c: Likewise.
44060 * sunrpc/xdr_array.c: Likewise.
44061 * sunrpc/xdr_float.c: Likewise.
44062 * sunrpc/xdr_mem.c: Likewise.
44063 * sunrpc/xdr_rec.c: Likewise.
44064 * sunrpc/xdr_ref.c: Likewise.
44065 * sunrpc/xdr_sizeof.c: Likewise.
44066 * sunrpc/xdr_stdio.c: Likewise.
44067
9da4bb31
UD
44068 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44069 handling.
44070
bdaa77bc
AS
440712010-08-19 Andreas Schwab <schwab@redhat.com>
44072
44073 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44074
fe2f79db
LM
440752010-08-19 Luis Machado <luisgpm@br.ibm.com>
44076
44077 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44078 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44079 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44080 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44082 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44083 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44084 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44086 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44087 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44088 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44089 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44090 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44091
b9b42ee0
AB
440922010-07-26 Anton Blanchard <anton@samba.org>
44093
44094 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44095 * malloc/arena.c (heap_trim): Likewise.
44096
1c06ba31
UD
440972010-08-16 Ulrich Drepper <drepper@redhat.com>
44098
44099 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44100 here. Not...
44101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44102 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44103
f8392f40
L
441042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44105
44106 * sysdeps/i386/elf/Makefile: New file.
44107
3162f12e
AS
441082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44109
44110 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44111 from fanotify_init.
44112 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44114
28c90b2c
UD
441152010-08-15 Ulrich Drepper <drepper@redhat.com>
44116
44117 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44118 of strncasecmp_l.
1feccb6c 44119 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44120
ca6bb004
UD
441212010-08-14 Ulrich Drepper <drepper@redhat.com>
44122
e9f82e0d
UD
44123 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44124 strncase_l-nonascii.
44125 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44126 Add strncase_l-ssse3.
44127 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44128 * sysdeps/x86_64/strcmp.S: Likewise.
44129 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44130 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44131 * sysdeps/x86_64/strncase.S: New file.
44132 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44133 * sysdeps/x86_64/strncase_l.S: New file.
44134 * string/Makefile (strop-tests): Add strncasecmp.
44135 * string/test-strncasecmp.c: New file.
44136
44137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44138 warning.
44139
ca6bb004
UD
44140 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44141 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44142
052fa7b3
AS
441432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44144
44145 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44146
962dba78
UD
441472010-08-12 Ulrich Drepper <drepper@redhat.com>
44148
44149 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44150 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44152
bebff237
AM
441532010-05-01 Alan Modra <amodra@gmail.com>
44154
44155 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44156 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44157 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44158 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44159 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44160 tidying. Don't tail-call __sigjmp_save for static lib.
44161 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44162 save location.
44163 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44164 (CALL_MCOUNT): Add eh info, and nop after bl.
44165 (TAIL_CALL_SYSCALL_ERROR): New macro.
44166 (PSEUDO_RET): Use it.
44167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44168 Correct save location of integer regs and cr.
44169 (_dl_profile_resolve): Correct cr save location. Delete nops
44170 after bl when SHARED. Reduce cfi size a little by better
44171 placement of cfi directives.
44172 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44173 make a stack frame. Instead use parm save area as a temp.
44174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44175 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44177 Don't make a stack frame for parent, use parm save area.
44178 Increase child stack frame to 112 bytes. Don't save unused reg,
44179 and adjust reg usage. Set up cfi on error recovery and
44180 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44182 (__makecontext): Add dummy nop after jump to exit.
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44184 Use correct parm save area and cr save, reduce stack frame.
44185 Correct cfi for possible PSEUDO_RET frame setup.
44186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44187 Branch to local label emitted by PSEUDO_RET rather than
44188 __syscall_error.
44189
02637374
AS
441902010-08-12 Andreas Schwab <schwab@redhat.com>
44191
44192 [BZ #11904]
44193 * locale/programs/locale.c (print_assignment): New function.
44194 (show_locale_vars): Use it.
44195
c3e2f19b
UD
441962010-08-11 Ulrich Drepper <drepper@redhat.com>
44197
3cdaa6ad
UD
44198 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44199 field.
44200 (struct statfs64): Likewise.
44201 (_STATFS_F_FLAGS): Define.
44202 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44204 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44205 (ST_VALID): Define locally.
44206 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44207 __statvfs_getflags, use the provided value.
44208 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44209 __ASSUME_STATFS_F_FLAGS.
44210
754f7da3
UD
44211 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44212
10b3bedc
UD
44213 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44214 Add sys/fanotify.h.
44215 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44216 fanotify_mask for GLIBC_2.13.
44217 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44218 fanotify_init and fanotify_mark.
44219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44220 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44221
c08fb0d7
UD
44222 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44223 Add prlimit.
44224 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44225 prlimit64 for GLIBC_2.13.
44226 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44227 prlimit64.
44228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44229 syscall.
44230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44232 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44233 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44235 add prlimit alias.
44236 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44237
15bac72b
UD
44238 [BZ #11903]
44239 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44240 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44241
c3e2f19b
UD
44242 * nss/Makefile: Add rules to build and run tst-nss-test1.
44243 * shlib-versions: Add entry for libnss_test1.
44244 * nss/nss_test1.c: New file.
44245 * nss/tst-nss-test1.c: New file.
44246
44247 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44248 (__nss_configure_lookup): Set appropriate entry in
44249 __nss_configure_lookup to true.
44250 * nss/nsswitch.h: Define enum with indeces of databases in
44251 databases and __nss_database_custom arrays. Declare
44252 __nss_database_custom.
44253 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44254 to avoid using nscd when custom rules are installed.
44255 * nss/getXXbyYY_r.c: Likewise.
44256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44257
44258 * nss/nss_files/files-parse.c: Whitespace fixes.
44259
f15ce4d8
UD
442602010-08-09 Ulrich Drepper <drepper@redhat.com>
44261
44262 [BZ #11883]
44263 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44264 * posix/fnmatch_loop.c: Likewise.
44265
d22e4cc9
AK
442662010-07-17 Andi Kleen <ak@linux.intel.com>
44267
44268 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44269 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44270 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44271 * Versions.def [GLIBC_2.13]: Add.
44272
805bc17d
UD
442732010-08-06 Ulrich Drepper <drepper@redhat.com>
44274
44275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44276 Also fail if tpwd after pwuid call is NULL.
44277
5a42321d
ST
442782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44279
44280 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44281 when converting to ms.
44282
fd3ebeda
ST
442832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44284
44285 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44286 EOPNOTSUPP errors with ENOTTY.
44287 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44288 EOPNOTSUPP errors with ENOTTY.
44289
73507d3a
UD
442902010-07-31 Ulrich Drepper <drepper@redhat.com>
44291
44292 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44293 Add strcasecmp_l-ssse3.
44294 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44295 strcasecmp.
44296 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44297 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44298 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44299
fe36dd02
UD
443002010-07-30 Ulrich Drepper <drepper@redhat.com>
44301
66f6765a
UD
44302 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44303
42e08a54
UD
44304 * string/Makefile (strop-tests): Add strcasecmp.
44305 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44306 strcasecmp_l-nonascii.
44307 (gen-as-const-headers): Add locale-defines.sym.
44308 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44309 * sysdeps/x86_64/strcasecmp.S: New file.
44310 * sysdeps/x86_64/strcasecmp_l.S: New file.
44311 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44312 * sysdeps/x86_64/locale-defines.sym: New file.
44313 * string/test-strcasecmp.c: New file.
44314
fe36dd02
UD
44315 * string/test-strcasestr.c: Test both ends of the range of characters.
44316 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44317
48cbc0d6
RM
443182010-07-29 Roland McGrath <roland@redhat.com>
44319
76e6d6bc 44320 [BZ #11856]
48cbc0d6
RM
44321 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44322
880113d9
UD
443232010-07-27 Ulrich Drepper <drepper@redhat.com>
44324
44325 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44326 for ld.so.
44327
deb9cabb
AS
443282010-07-27 Andreas Schwab <schwab@redhat.com>
44329
44330 * manual/memory.texi (Malloc Tunable Parameters): Document
44331 M_PERTURB.
44332
1c7570ff
RM
443332010-07-26 Roland McGrath <roland@redhat.com>
44334
44335 [BZ #11840]
44336 * configure.in (-fgnu89-inline check): Set and substitute
44337 gnu89_inline, not libc_cv_gnu89_inline.
44338 * configure: Regenerated.
44339 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44340
24fb0f88
UD
443412010-07-26 Ulrich Drepper <drepper@redhat.com>
44342
44343 * string/test-strnlen.c: New file.
44344 * string/Makefile (strop-tests): Add strnlen.
44345 * string/tester.c (test_strnlen): Add a few more test cases.
44346 * string/tst-strlen.c: Better error reporting.
44347
44348 * sysdeps/x86_64/strnlen.S: New file.
44349
8e96b93a
UD
443502010-07-24 Ulrich Drepper <drepper@redhat.com>
44351
44352 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44353 lower-latency instructions.
44354
dbc676d4
UD
443552010-07-23 Ulrich Drepper <drepper@redhat.com>
44356
44357 * string/test-strcasestr.c: New file.
44358 * string/test-strstr.c: New file.
44359 * string/Makefile (strop-tests): Add strstr and strcasestr.
44360 * string/str-two-way.h: Don't undefine MAX.
44361 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44362
f6a31e0e
AS
443632010-07-21 Andreas Schwab <schwab@redhat.com>
44364
44365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44366 strcasestr-nonascii.
44367 (CFLAGS-strcasestr-nonascii.c): Define.
44368 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44370 Remove unused attribute.
44371
5dbc3b6c
RM
443722010-07-20 Roland McGrath <roland@redhat.com>
44373
44374 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44375 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44376 ld.so.cache was broken. With it, there is no way to disable dsocaps
44377 like LD_HWCAP_MASK can disable hwcaps.
44378
23d101d8
EPM
443792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44380
44381 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44382
cc9f2e47
UD
443832010-07-16 Ulrich Drepper <drepper@redhat.com>
44384
44385 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44386 call in strcasestr.
44387 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44388 __strcasestr_sse42_nonascii.
44389 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44390 strcasestr-nonascii.c.
44391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44392
77c1b069
LM
443932010-06-15 Luis Machado <luisgpm@br.ibm.com>
44394
44395 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44396 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44398 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44399
440566c3
UD
444002010-07-09 Ulrich Drepper <drepper@redhat.com>
44401
44402 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44403 fcntl.
44404
5be9d05d
AS
444052010-07-06 Andreas Schwab <schwab@redhat.com>
44406
c30b7ee2 44407 [BZ #11577]
5be9d05d
AS
44408 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44409 dl_signal_cerror.
44410
8a492a67
UD
444112010-07-06 Ulrich Drepper <drepper@redhat.com>
44412
44413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44414 _PC_PIPE_BUF using F_GETPIPE_SZ.
44415
713df3d5
RM
444162010-07-05 Roland McGrath <roland@redhat.com>
44417
44418 * manual/arith.texi (Rounding Functions): Fix rint description
44419 implicit in round description.
44420
702e8f14
UD
444212010-07-02 Ulrich Drepper <drepper@redhat.com>
44422
44423 * elf/Makefile: Fix linking for a few tests to make recent linker
44424 happy.
44425
52ed8be9
AS
444262010-06-30 Andreas Schwab <schwab@redhat.com>
44427
44428 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44429 $(common-objpfx)libc_nonshared.a.
44430
f47c9a11
LM
444312010-06-21 Luis Machado <luisgpm@br.ibm.com>
44432
44433 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44434 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44435 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44436 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44437 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44438 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44439 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44440 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44455 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44456 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44457 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44458 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44459 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44460 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44461 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44462 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44463 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44464 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44465 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44466 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44481
6fb8cbcb
L
444822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44483
44484 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44485 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44486 * string/memmove.c (memmove): Renamed to ...
44487 (MEMMOVE): ...this. Default to memmove.
44488 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44489 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44490 (END_CHK): Define.
44491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44492 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44493 mempcpy-ssse3-back memmove-ssse3-back.
44494 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44497 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44498 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44499 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44500 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44501 * sysdeps/x86_64/multiarch/memmove.c: New file.
44502 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44503 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44504 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44505 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44506 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44508 Define.
44509 (index_Fast_Copy_Backward): Define.
44510 (HAS_ARCH_FEATURE): Define.
44511 (HAS_FAST_REP_STRING): Define.
44512 (HAS_FAST_COPY_BACKWARD): Define.
44513
4e733bac 445142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44515
44516 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44517 Restore proper fallback handling.
44518
63c4ed22
UD
445192010-06-19 Ulrich Drepper <drepper@redhat.com>
44520
ac2b484c
UD
44521 [BZ #11701]
44522 * posix/group_member.c (__group_member): Correct checking loop.
44523
63c4ed22
UD
44524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44525 OOM in getpwuid_r correctly. Return error number when the caller
44526 should return, otherwise -1.
44527 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44528 call returning > 0 value.
44529 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44530
765ade4b
AS
445312010-06-07 Andreas Schwab <schwab@redhat.com>
44532
44533 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44534 libc_nonshared.a from targets in modules-names.
44535
80da2e09
KS
445362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44537
44538 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44539 requires it.
44540
158db122
LM
445412010-06-10 Luis Machado <luisgpm@br.ibm.com>
44542
44543 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44547
caa78cf8
AS
445482010-06-02 Andreas Schwab <schwab@redhat.com>
44549
44550 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44551
b2ef2c01
UD
445522010-06-14 Ulrich Drepper <drepper@redhat.com>
44553
44554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44555 and F_GETPIPE_SZ.
44556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44562
fbd643b6
RM
445632010-06-14 Roland McGrath <roland@redhat.com>
44564
44565 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44566
f32f2869
JJ
445672010-06-07 Jakub Jelinek <jakub@redhat.com>
44568
44569 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44570 __REDIRECT followed by __THROW.
44571 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44572 * posix/getopt.h (getopt): Likewise.
44573
2a50c078
EPM
445742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44575
44576 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44577 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44578 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44579 in AT_FLAGS.
44580 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44581 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44582
eb5ad2eb
LM
445832010-05-28 Luis Machado <luisgpm@br.ibm.com>
44584
44585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44586
3c88fe1e
L
445872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44588
44589 [BZ #11640]
44590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44591 Properly check family and model.
44592
d2f73151
TY
445932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44594
44595 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44596
ebd2e13d
LM
445972010-05-24 Luis Machado <luisgpm@br.ibm.com>
44598
44599 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44600
b32b8b45
UD
446012010-05-21 Ulrich Drepper <drepper@redhat.com>
44602
44603 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44604 symbol reference.
44605
9acbe24d
AS
446062010-05-19 Andreas Schwab <schwab@redhat.com>
44607
44608 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44609 symbol reference.
44610
f0ccf6ea
AS
446112010-05-21 Andreas Schwab <schwab@redhat.com>
44612
3d04ff3a
AS
44613 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44614 and internal_recvmmsg.
44615 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44616 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44617 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44618 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44619
f0ccf6ea
AS
44620 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44621 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44622 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44623
5b08ac57
AS
446242010-05-20 Andreas Schwab <schwab@redhat.com>
44625
44626 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44627
4828935d
LM
446282010-05-17 Luis Machado <luisgpm@br.ibm.com>
44629
44630 POWER7 optimizations.
44631 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44632 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44633
373d545e
UD
446342010-05-19 Ulrich Drepper <drepper@redhat.com>
44635
44636 * version.h: Update for 2.13 development version.
44637
21a2b1ae
AS
446382010-05-12 Andrew Stubbs <ams@codesourcery.com>
44639
44640 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44641 exceptions. Return 0.
44642
3f7dcb2b
RM
446432010-05-07 Roland McGrath <roland@redhat.com>
44644
44645 * elf/ldconfig.c (main): Add a const.
44646
5f24d53a 446472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44648
a160f8d8
UD
44649 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44650 (args_options): Add no-idn option.
44651 (ahosts_keys_int): Add idn_flags to ai_flags.
44652 (parse_option): Handle 'i' option to clear idn_flags.
44653
5f24d53a
UD
44654 * malloc/malloc.c (_int_free): Possible race in the most recently
44655 added check. Only act on the data if no current modification
44656 happened.
265bb1ce
UD
44657
44658See ChangeLog.17 for earlier changes.