]> sourceware.org Git - glibc.git/blame - ChangeLog
AArch64: Convert fork.c to arch-fork.h
[glibc.git] / ChangeLog
CommitLineData
df54acbb
RM
12014-05-16 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5
4134b50d
JM
62014-05-21 Joseph Myers <joseph@codesourcery.com>
7
bb7d0337
JM
8 * nscd/Depend (linuxthreads): Remove.
9 (nptl): Add.
10 * resolv/Depend (linuxthreads): Remove.
11 * rt/Depend (linuxthreads): Remove.
12
4134b50d
JM
13 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15 $(common-objpfx)elf/.
16 (link-libc-before-gnulib): Likewise.
17 (elfobjdir): Remove variable.
18 * Makefile (install): Use $(elf-objpfx) instead of
19 $(common-objpfx)elf/.
20 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21 $(elfobjdir)/.
22 (link-libc-deps): Likewise.
23 ($(common-objpfx)libc.so): Likewise.
24 ($(common-objpfx)linkobj/libc.so): Likewise.
25 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26 instead of $(common-objpfx)elf/.
27 (symbolic-link-list): Likewise.
28 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29 [$(cross-compiling) = no]: Likewise.
30 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31 $(elfobjdir)/.
32 (static-gnulib-arch): Likewise.
33 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35 $(common-objpfx)elf/.
36
3612eb8f
RH
372014-05-21 Richard Henderson <rth@redhat.com>
38
a6b3657b
RH
39 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40 (SINGLE_THREAD_P): Use the correct width load. Fold
41 into the ldr offset.
42
3612eb8f
RH
43 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45
175cef41
JM
462014-05-20 Joseph Myers <joseph@codesourcery.com>
47
48 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49 (libgcc_s_resume): Use __attribute_used__.
50 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51 Likewise.
52
e13bccd3
AZ
532014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
56 optimization when used with float constants.
57
7c112a38
AZ
58 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59
ae75a883
AJ
602014-05-20 Aurelien Jarno <aurelien@aurel32.net>
61
62 [BZ #16915]
63 * locale/nl_langinfo_l.c: Make direct reference to every
64 _nl_current_CATEGORY symbol.
65 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
66 (tests-static): Add tst-langinfo-static.
67 (tests-special): Add tst-langinfo-static.out.
68 ($(objpfx)tst-langinfo.out): Redirect output.
69 ($(objpfx)tst-langinfo-static.out): New.
70 * localedata/tst-langinfo.sh: Send output to stdout.
71 * localedata/tst-langinfo-static.c: New file.
72
4406c41c
AJ
73 [BZ #16965]
74 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
75 when the shift amount is modulo the limb size.
76
4c0a1e63
RH
772014-05-20 Richard Henderson <rth@redhat.com>
78
de9d8f20
RH
79 [BZ #16967]
80 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
81 Change type of sa_flags from unsigned int to int.
82
4c0a1e63
RH
83 [BZ #16966]
84 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
85
86 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
87
a60339aa
WN
882014-05-20 Will Newton <will.newton@linaro.org>
89
90 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
91 Test the return value of the system call in the nocancel case.
92
7d05a816
YR
932014-05-20 Will Newton <will.newton@linaro.org>
94 Yvan Roux <yvan.roux@linaro.org>
95
96 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
97 #include of asm/ptrace.h.
98 (PTRACE_GET_THREAD_AREA): Remove #undef.
99 (PTRACE_GETHBPREGS): Likewise.
100 (PTRACE_SETHBPREGS): Likewise.
101 (struct user_regs_struct): New structure.
102 (struct user_fpsimd_struct): New structure.
103 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
104 #include of asm/ptrace.h and second #include of sys/user.h.
105 (PTRACE_GET_THREAD_AREA): Remove #undef.
106 (PTRACE_GETHBPREGS): Likewise.
107 (PTRACE_SETHBPREGS): Likewise.
108 (ELF_NGREG): Use new struct user_regs_struct.
109 (elf_fpregset_t): Use new struct user_fpsimd_struct.
110
af121e37
AZ
1112014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
112
113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
115
834caf06
JM
1162014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
117
118 [BZ #16958]
119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
120 membar to avoid block loads/stores to overlap previous stores.
121
e184a918
RH
1222014-05-17 Richard Henderson <rth@redhat.com>
123
124 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
125 Create the __##syscall_name##_nocancel entry point.
126 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
127 Remove; let the sysdep-cancel.h code create it.
128
f56c7a6a
DM
1292014-05-17 David S. Miller <davem@davemloft.net>
130
131 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
132 Protect with __USE_GNU.
133 (TIOCSET_TEMPT): Likewise.
134 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
135 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
136 these are already provided in bits/ioctl-types.h
137
f75616b2
RM
1382014-05-16 Roland McGrath <roland@hack.frob.com>
139
3edeca86
RM
140 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
141 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
142
f75616b2
RM
143 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
144 Use wait4 regardless of [__NR_waitpid].
145
deb0f7f6
MR
1462014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
147
148 PR libgcc/60166
149 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
150 (_FP_NANSIGN_Q): Set the quiet bit.
151
79520f4b
JM
1522014-05-16 Joseph Myers <joseph@codesourcery.com>
153
154 * benchtests/Makefile
155 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
156 not $(common-objpfx)math/libm.so.
157 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
158 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
159 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
160 $(common-objpfx)dlfcn/libdl.so.
161 ($(objpfx)tst-audit8): Depend on $(libm), not
162 $(common-objpfx)math/libm.so.
163 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
164 not $(common-objpfx)dlfcn/libdl.so.
165 * math/Makefile
166 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
167 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
168 [$(build-shared) = yes].
169 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
170 $(common-objpfx)nptl/libpthread.so.
171 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
172 $(common-objpfx)math/libm.so$(libm.so-version) or
173 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
174 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
175 $(common-objpfx)dlfcn/libdl.so.
176 * setjmp/Makefile (link-libm): Remove variable.
177 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
178 * stdio-common/Makefile (link-libm): Remove variable.
179 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
180 * stdlib/Makefile (link-libm): Remove variable.
181 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
182 ($(objpfx)tst-strtod-round): Likewise.
183 ($(objpfx)tst-tininess): Likewise.
184 ($(objpfx)tst-strtod-underflow): Likewise.
185 ($(objpfx)tst-strtod6): Likewise.
186 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
187 $(libdl), not $(common-objpfx)nptl/libpthread.so and
188 $(common-objpfx)dlfcn/libdl.so.
189
026b0fe4
AZ
1902014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191
192 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
193 BSD terminal modes definitions.
194
def4bcb2
RM
1952014-05-16 Roland McGrath <roland@hack.frob.com>
196
fe39b021
RM
197 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
198 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
199
1d1fc46e 200 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
201 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
202 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
203 Don't do #include_next.
204 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
205 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
206 Don't do #include_next.
207 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
208 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
209 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
210 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
211
c72399fb
AM
2122014-05-16 Allan McRae <allan@archlinux.org>
213
d51d659d
AM
214 * po/sv.po: Update Swedish translation from translation project.
215
c72399fb
AM
216 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
217 in sed expression.
218
d0583c40
AJ
2192014-05-16 Aurelien Jarno <aurelien@aurel32.net>
220
221 [BZ #16917]
222 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
223 errno if the TIOCGPTN ioctl fails with an error different than
224 EINVAL.
225 * login/tst-ptsname.c: New file.
226 * login/Makefile (tests): Add tst-ptsname.
227
d16e6ec7
AJ
228 [BZ #16943]
229 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
230 and prlimit64.
231
cf26a0cb
SP
2322014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
233
234 [BZ #16849]
235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
236 herrno to return EAI_AGAIN.
237
5675da1e
RM
2382014-05-14 Roland McGrath <roland@hack.frob.com>
239
a5d87b3d
RM
240 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
241 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
242 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
243 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
244 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
246 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
249 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
250 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
252 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
254 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
256 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
260 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
261 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
262 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
264 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
266 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
268 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
269 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
271 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
273 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
275 Moved ...
276 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
300 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
304 Moved ...
305 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
311 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
315 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
319 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
325 Moved ...
326 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
328 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
329
039890a6
RM
330 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
331 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
332 (libpthread-sysdep_routines): Add elision-related stuff here instead.
333 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
334 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
335 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
336 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
337 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
338 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
339 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
340 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
341 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
342 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
343 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
344 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
345 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
346 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
347 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
348 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
349 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
350 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
351 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
352 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
353 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
354 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
355 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
359 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
360 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
361
65c89320
RM
362 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
363 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
364
348f8e8c
RM
365 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
366 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
367 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
368 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
369 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
371 Moved ...
372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
374 Moved ...
375 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
377 Moved ...
378 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
380 Moved ...
381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
383 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
384 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
385 Moved ...
386 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
387 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
388 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
389 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
390 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
391 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
392 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
393 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
394 Moved ...
395 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
397 Moved ...
398 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
399 ... here.
400 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
401 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
402 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
403 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
405 Moved ...
406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
407 ... here.
408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
409 Moved ...
410 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
411 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
412 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
413 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
414 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
416 Moved ...
417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
419 Moved ...
420 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
422 Moved ...
423 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
425 Moved ...
426 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
427 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
428 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
429 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
430 Moved ...
431 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
432 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
433 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
434 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
436 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
437 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
438 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
439 Moved ...
440 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
442 Moved ...
443 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
444 ... here.
445 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
446 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
447 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
448 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
450 Moved ...
451 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
452 ... here.
453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
454 Moved ...
455 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
456 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
457 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
458 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
459 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
460 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
461 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
462 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
463 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
465 Moved ...
466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
468 Moved ...
469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
471 Moved ...
472 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
474 Moved ...
475 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
476 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
477 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
478 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
479 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
481 Moved ...
482 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
483 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
484 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
485 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
486 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
487 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
488 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
490 Moved ...
491 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
493 Moved ...
494 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
495 ... here.
496 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
497 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
498 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
499 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
500 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
501 Moved ...
502 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
503 ... here.
504 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
505 Moved ...
506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
507 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
508 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
510 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
511 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
512 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
513 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
514 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
515 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
516 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
517
5085af05
RM
518 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
519 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
520
708f0813
RM
521 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
522 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
523
c96067bc
RM
524 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
525 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
526 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
527 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
528 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
529 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
530 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
531 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
532 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
533 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
534 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
535 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
537 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
538 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
540 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
542 Moved ...
543 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
545 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
547 Moved ...
548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
552 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
554 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
556 Moved ...
557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
559 Moved ...
560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
563 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
566 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
568 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
570 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
572 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
573 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
574 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
575 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
576 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
577
ec136444
RM
578 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
579 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
580 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
581 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
582 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
583
2fbdf533
RM
584 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
585 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
586 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
587 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
588 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
589 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
590 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
591 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
592 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
593 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
594
4c68138b
RM
595 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
597
4eaae765
RM
598 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
599 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
600 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
601 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
602 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
603 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
604 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
605 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
607 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
609 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
610 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
611 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
613 Update #include.
614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
615 Likewise.
616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
617 Likewise.
618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
619 Likewise.
620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
621 Likewise.
622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
623 Likewise.
624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
625 Likewise.
626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
627 Likewise.
628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
629 Likewise.
630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
631 Likewise.
4ef6befa
RM
632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
638 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
640 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 647
941d7dfd
RM
648 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
649 that was previously under [RESET_PID].
650 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
651 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
652 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
653
1b731c35
RM
654 * sysdeps/i386/nptl/Implies: New file.
655 * sysdeps/x86_64/nptl/Implies: New file.
656 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
657 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
658 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
659 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
660
e2787137
RM
661 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
662 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
663 (__libc_vfork): New strong alias.
664 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
665 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
666
667 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
668 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
669 (__libc_vfork): New strong alias.
670 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
671 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
672
5675da1e
RM
673 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
674 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
675 (__libc_vfork): New strong alias.
676 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
677 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
678 * nptl/pt-vfork.c: New file.
679 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
680 (libpthread: GLIBC_2.20): New version set (empty).
681
4f02e2b8
WN
6822014-05-14 Will Newton <will.newton@linaro.org>
683
684 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
685 rather than #if.
686
0bf061d3
JM
6872014-05-14 Joseph Myers <joseph@codesourcery.com>
688
1a84c3d6
JM
689 [BZ #16564]
690 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
691 arguments with exponent 65 or above.
692 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
693 arguments 0x1p113L or above.
694 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
695 to arguments 0x1p107L or above.
696 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
697 positive arguments with exponent 65 or above.
698 * math/auto-libm-test-in: Add more tests of log1p.
699 * math/auto-libm-test-out: Regenerated.
700
01dbacd2
JM
701 [BZ #16928]
702 * math/s_cacos.c (__cacos): Ensure zero real part of result from
703 non-finite arguments is +0.
704 * math/s_cacosf.c (__cacosf): Likewise.
705 * math/s_cacosl.c (__cacosl): Likewise.
706 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
707 * sysdeps/i386/fpu/libm-test-ulps: Update.
708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
709
913d03c8
JM
710 [BZ #16927]
711 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
712 value.
713 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
714 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
715 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
716 for explicit high bit of mantissa when testing for argument equal
717 to 1.
718 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
719 * sysdeps/i386/fpu/libm-test-ulps: Update.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
721
0bf061d3
JM
722 [BZ #16516]
723 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
724 (__erf): Scale by 16 instead of 8 in potentially underflowing
725 case. Ensure exception if result actually underflows.
726 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
727 (__erff): Scale by 16 instead of 8 in potentially underflowing
728 case. Ensure exception if result actually underflows.
729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
730 (efx8): Remove variable.
731 (__erfl): Scale by 16 instead of 8 in potentially underflowing
732 case. Ensure exception if result actually underflows.
733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
734 (efx8): Remove variable.
735 (__erfl): Scale by 16 instead of 8 in potentially underflowing
736 case. Ensure exception if result actually underflows.
737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
738 (efx8): Remove variable.
739 (__erfl): Scale by 16 instead of 8 in potentially underflowing
740 case. Ensure exception if result actually underflows.
741 * math/auto-libm-test-in: Add more tests of erf.
742 * math/auto-libm-test-out: Regenerated.
743
73ba67cb
AS
7442014-05-14 Andreas Schwab <schwab@suse.de>
745
3d8c8bff
AS
746 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
747 Remove code conditionalized on USE___THREAD.
748
73ba67cb
AS
749 * config.h.in (HAVE_PT_CHOWN): Define as 0.
750 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
751 not definedness.
752
5c521ecd
JM
7532014-05-14 Joseph Myers <joseph@codesourcery.com>
754
5e7698c6
JM
755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
756 Define unconditionally.
757 (__ASSUME_O_CLOEXEC): Likewise.
758 (__ASSUME_SOCK_CLOEXEC): Likewise.
759 (__ASSUME_IN_NONBLOCK): Likewise.
760 (__ASSUME_PIPE2): Likewise.
761 (__ASSUME_EVENTFD2): Likewise.
762 (__ASSUME_SIGNALFD4): Likewise.
763 (__ASSUME_DUP3): Likewise.
764 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
765 (__ASSUME_DUP3): Do not define.
766 (__ASSUME_EVENTFD2): Likewise.
767 (__ASSUME_IN_NONBLOCK): Likewise.
768 (__ASSUME_O_CLOEXEC): Likewise.
769 (__ASSUME_PIPE2): Likewise.
770 (__ASSUME_SIGNALFD4): Likewise.
771 (__ASSUME_SOCK_CLOEXEC): Likewise.
772 (__ASSUME_UTIMES): Undefine.
773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
774 (__ASSUME_UTIMES): Do not define.
775 (__ASSUME_O_CLOEXEC): Likewise.
776 (__ASSUME_SOCK_CLOEXEC): Likewise.
777 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
778 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
779 0x020621].
780 (__ASSUME_PIPE2): Likewise.
781 (__ASSUME_EVENTFD2): Likewise.
782 (__ASSUME_SIGNALFD4): Likewise.
783 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
784 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
785 Do not define.
786 (__ASSUME_EVENTFD2): Likewise.
787 (__ASSUME_SIGNALFD4): Likewise.
788 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
789 (__ASSUME_32BITUIDS): Likewise.
790 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
791 (__ASSUME_IPC64): Likewise.
792 (__ASSUME_ST_INO_64_BIT): Likewise.
793 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
794 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
796 (__ASSUME_UTIMES): Do not define.
797 (__ASSUME_PSELECT): Likewise.
798 (__ASSUME_PPOLL): Likewise.
799 (__ASSUME_O_CLOEXEC): Likewise.
800 (__ASSUME_SOCK_CLOEXEC): Likewise.
801 (__ASSUME_IN_NONBLOCK): Likewise.
802 (__ASSUME_PIPE2): Likewise.
803 (__ASSUME_EVENTFD2): Likewise.
804 (__ASSUME_SIGNALFD4): Likewise.
805 (__ASSUME_DUP3): Likewise.
806 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
807 (__ASSUME_UTIMES): Likewise.
808 (__ASSUME_O_CLOEXEC): Likewise.
809 (__ASSUME_SOCK_CLOEXEC): Likewise.
810 (__ASSUME_IN_NONBLOCK): Likewise.
811 (__ASSUME_PIPE2): Likewise.
812 (__ASSUME_EVENTFD2): Likewise.
813 (__ASSUME_SIGNALFD4): Likewise.
814 (__ASSUME_DUP3): Likewise.
815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
816 (__ASSUME_UTIMES): Likewise.
817 (__ASSUME_O_CLOEXEC): Likewise.
818 (__ASSUME_SOCK_CLOEXEC): Likewise.
819 (__ASSUME_IN_NONBLOCK): Likewise.
820 (__ASSUME_PIPE2): Likewise.
821 (__ASSUME_EVENTFD2): Likewise.
822 (__ASSUME_SIGNALFD4): Likewise.
823 (__ASSUME_DUP3): Likewise.
824 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
825 Likewise.
826 (__ASSUME_UTIMES): Likewise.
827 (__ASSUME_EVENTFD2): Likewise.
828 (__ASSUME_SIGNALFD4): Likewise.
829 * sysdeps/unix/sysv/linux/tile/kernel-features.h
830 (__ASSUME_O_CLOEXEC): Likewise.
831 (__ASSUME_SOCK_CLOEXEC): Likewise.
832 (__ASSUME_IN_NONBLOCK): Likewise.
833 (__ASSUME_PIPE2): Likewise.
834 (__ASSUME_EVENTFD2): Likewise.
835 (__ASSUME_SIGNALFD4): Likewise.
836 (__ASSUME_DUP3): Likewise.
837 (__ASSUME_UTIMES): Undefine.
838
5c521ecd
JM
839 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
840 feclearexcept. Remove symbol versioning code.
841 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
842 symbol versioning code.
843 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
844 symbol versioning code.
845 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
846 feupdateenv. Remove symbol versioning code.
847 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
848 fegetexceptflag. Remove symbol versioning code.
849 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
850 fesetexceptflag. Remove symbol versioning code.
851 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
852 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
853 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
854 (__posix_fadvise64_l32): Remove prototype.
855 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
856 code.
857
5da9dfad
RM
8582014-05-13 Roland McGrath <roland@hack.frob.com>
859
860 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
861 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
862 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
863 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
864
893b4f37
SK
8652014-05-13 Sami Kerola <kerolasa@iki.fi>
866
867 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
868 current working directory
869
e0db6517
RM
8702014-05-13 Roland McGrath <roland@hack.frob.com>
871
58aa195d
RM
872 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
873 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
874 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
875 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
876 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
877 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
878 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
880 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
882 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
884 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
886 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
888 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
890 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
892 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
893 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
894 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
896 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
898 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
899 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
900 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
901 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
902 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
904 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
905 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
906 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
907 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
908 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
909 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
910 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
911 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
912 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
913 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
914
8c6d01f0
RM
915 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
916 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
917
918 * sysdeps/unix/sysv/linux/arm/Makefile
919 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
920 Add rt-aeabi_unwind_cpp_pr1.
921 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
922 Add nptl-aeabi_unwind_cpp_pr1.
923 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
924 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
925 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
926 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
927 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
928 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
929
930 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
931 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
932 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
933 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
934
bba6da4e
RM
935 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
936 Deconditionalize the code that was previously under [RESET_PID].
937 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
938
e0db6517
RM
939 * sysdeps/generic/exit-thread.h: New file.
940 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
941 * include/unistd.h (__exit_thread): Remove declaration.
942 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
943 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
944 * csu/libc-start.c: Include <exit-thread.h>.
945 (LIBC_START_MAIN): Pass no argument to __exit_thread.
946 * nptl/pthread_create.c: Include <exit-thread.h>.
947 (start_thread): Call __exit_thread in place of __exit_thread_inline.
948 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
949 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
950 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
951 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
952 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
953 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
954 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
955 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
956 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
957 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
958 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
959 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
960 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
961 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
962 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
963 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
964
01eb16fd
AS
9652014-05-13 Andreas Schwab <schwab@suse.de>
966
967 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
968
637461d9
JM
9692014-05-12 Joseph Myers <joseph@codesourcery.com>
970
971 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
972 (__ASSUME_UTIMES): Do not condition on kernel version.
973 (__ASSUME_PSELECT): Define unconditionally.
974 (__ASSUME_PPOLL): Likewise.
975 (__ASSUME_ATFCTS): Likewise.
976 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
977 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
978 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
979 (__ASSUME_UTIMENSAT): Define unconditionally.
980 (__ASSUME_PRIVATE_FUTEX): Likewise.
981 (__ASSUME_FALLOCATE): Likewise.
982 (__ASSUME_O_CLOEXEC): Likewise.
983 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
984 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
985 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
986 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
987 (__ASSUME_IN_NONBLOCK): Likewise.
988 (__ASSUME_PIPE2): Likewise.
989 (__ASSUME_EVENTFD2): Likewise.
990 (__ASSUME_SIGNALFD4): Likewise.
991 (__ASSUME_DUP3): Likewise.
992 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
993 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
994 (__ASSUME_AT_RANDOM): Likewise.
995 (__ASSUME_PREADV): Likewise.
996 (__ASSUME_PWRITEV): Likewise.
997 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
998 (__ASSUME_F_GETOWN_EX): Define unconditionally.
999 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1000 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1001 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1003 (__ASSUME_O_CLOEXEC): Define unconditionally.
1004 (__ASSUME_PSELECT): Do not undefine conditionally.
1005 (__ASSUME_PPOLL): Likewise.
1006 (__ASSUME_ATFCTS): Likewise.
1007 (__ASSUME_SET_ROBUST_LIST): Likewise.
1008 (__ASSUME_UTIMENSAT): Likewise.
1009 (__ASSUME_FDATASYNC): Define unconditionally.
1010 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1011 (__ASSUME_SIGFRAME_V2): Likewise.
1012 )__ASSUME_EVENTFD2): Likewise.
1013 (__ASSUME_SIGNALFD4): Likewise.
1014 (__ASSUME_PSELECT): Do not undefine conditionally.
1015 (__ASSUME_PPOLL): Likewise.
1016 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1017 (__ASSUME_PSELECT): Define unconditionally.
1018 (__ASSUME_PPOLL): Likewise.
1019 (__ASSUME_O_CLOEXEC): Likewise.
1020 (__ASSUME_SOCK_CLOEXEC): Likewise.
1021 (__ASSUME_IN_NONBLOCK): Likewise.
1022 (__ASSUME_PIPE2): Likewise.
1023 (__ASSUME_EVENTFD2): Likewise.
1024 (__ASSUME_SIGNALFD4): Likewise.
1025 (__ASSUME_DUP3): Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1027 (__ASSUME_O_CLOEXEC): Likewise.
1028 (__ASSUME_SOCK_CLOEXEC): Likewise.
1029 (__ASSUME_IN_NONBLOCK): Likewise.
1030 (__ASSUME_PIPE2): Likewise.
1031 (__ASSUME_EVENTFD2): Likewise.
1032 (__ASSUME_SIGNALFD4): Likewise.
1033 (__ASSUME_DUP3): Likewise.
1034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1035 (__ASSUME_EVENTFD2): Likewise.
1036 (__ASSUME_SIGNALFD4): Likewise.
1037 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1038
315eb1d8
AS
10392014-05-12 Andreas Schwab <schwab@suse.de>
1040
1041 [BZ #16932]
1042 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1043 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1044 than maximum RPC packet size.
1045 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1046 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1047 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1048 (_nss_nis_getservbyport_r): Likewise.
1049
91df99f7
WN
10502014-05-12 Will Newton <will.newton@linaro.org>
1051
1052 * malloc/Makefile (tests): Add tst-mallopt.
1053 * malloc/tst-mallopt.c: New file.
1054
0a982a29
RM
10552014-05-09 Roland McGrath <roland@hack.frob.com>
1056
1057 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1058 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1059
0ded08a5
AZ
10602014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061
1062 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1063 (tst-tlsmod6.so): Likewise.
1064
55d4d550
RM
10652014-05-09 Roland McGrath <roland@hack.frob.com>
1066
1067 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1068
77d08aca
JM
10692014-05-09 Joseph Myers <joseph@codesourcery.com>
1070
1071 [BZ #16064]
1072 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1073 and <dl-procinfo.h>.
1074 (__fegetenv): Save SSE state in envp->__eip if supported.
1075 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1076 envp->__eip if supported.
1077 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1078 and <dl-procinfo.h>.
1079 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1080 __data_offset and __data_selector in environment to 0. Set SSE
1081 state if supported.
1082 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1083 test-fenv-sse.
1084 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1085 -mfpmath=sse.
1086 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1087
28162f4d
WN
10882014-05-09 Will Newton <will.newton@linaro.org>
1089
1090 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1091 and libc_relro_required for ARM.
1092 * sysdeps/arm/preconfigure: Regenerate.
1093
5a414ff7
DV
10942014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1095 Stefan Liebler <stli@linux.vnet.ibm.com>
1096
1097 * config.make.in (enable-lock-elision): New Makefile variable.
1098 * configure.ac: Likewise.
1099 * configure: Regenerate.
1100 * sysdeps/s390/configure.ac:
1101 Add check for gcc transactions support.
1102 * sysdeps/s390/configure: Regenerate.
1103 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1104 Build elision files if enabled.
1105 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1106 Add lock elision support for s390.
1107 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1108 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1109 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1110 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1111 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1112 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1114 Likewise.
1115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1116 Likewise.
1117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1118 Likewise.
1119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1120 Likewise.
1121 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1122 (__lll_timedlock_elision, __lll_lock_elision)
1123 (__lll_unlock_elision, __lll_trylock_elision)
1124 (lll_timedlock_elision, lll_lock_elision)
1125 (lll_unlock_elision, lll_trylock_elision): Add.
1126 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1127 (pthread_mutex_t): Add lock elision support for s390.
1128
1a2f40e5
W
11292014-05-14 Wilco <wdijkstr@arm.com>
1130
1131 * sysdeps/arm/fclrexcpt.c: Cleanup.
1132 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1133 * sysdeps/arm/feenablxcpt.c: Cleanup.
1134 * sysdeps/arm/fegetenv.c: Cleanup.
1135 * sysdeps/arm/fegetexcept.c: Cleanup.
1136 * sysdeps/arm/fegetround.c: Cleanup.
1137 * sysdeps/arm/feholdexcpt.c: Cleanup.
1138 * sysdeps/arm/fesetenv.c: Cleanup.
1139 * sysdeps/arm/fesetround.c: Cleanup.
1140 * sysdeps/arm/feupdateenv.c: Cleanup.
1141 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1142 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1143 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1144 * sysdeps/arm/ftestexcept.c: Cleanup.
1145 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1146 * sysdeps/arm/setfpucw.c: Cleanup.
1147
f63c86fe
WN
11482014-05-09 Will Newton <will.newton@linaro.org>
1149
1150 * sysdeps/arm/armv7/strcmp.S: New file.
1151 * NEWS: Mention addition of ARMv7 optimized strcmp.
1152
7a1a51b5
RM
11532014-05-08 Roland McGrath <roland@hack.frob.com>
1154
95afbbe5
RM
1155 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1156 look for %.ac rather than %.in.
1157
1158 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1159 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1160 * sysdeps/mach/hurd/configure: Regenerated.
1161 * sysdeps/unix/sysv/linux/configure: Regenerated.
1162
7a1a51b5
RM
1163 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1164
5057ad3b
SE
11652014-05-07 Steve Ellcey <sellcey@mips.com>
1166
1167 [BZ# 16922]
1168 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1169 (LONG_SUB): Ditto.
1170 (PTR_SUB): Ditto.
1171
8dc97517
AS
11722014-05-07 Andreas Schwab <schwab@suse.de>
1173
1174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1175 when skipping over non-matching result from nscd.
1176
ce0c5b8f
OB
11772014-05-07 Ondřej Bílka <neleai@seznam.cz>
1178
1179 [BZ #16876]
1180 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1181
a1189263
OB
1182 [BZ #16877]
1183 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1184 nscd security class.
ce0c5b8f 1185
0f58d252
RM
11862014-05-06 Roland McGrath <roland@hack.frob.com>
1187
1188 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1189 * sysdeps/arm/unwind.h: ... here.
1190
83df9ad0
AJ
11912014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1192
ce0c5b8f
OB
1193 [BZ# 16916]
1194 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1195 Define.
83df9ad0 1196
f360f94a
VR
11972014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1198
1199 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1200 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1201 multiarch strncpy for PPC64.
1202 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1203 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1205 multiarch optimizations.
1206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1207 (__libc_ifunc_impl_list): Likewise.
1208 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1209 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1210 multiarch stpncpy for PPC64.
1211 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1212 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1213
978a41c3
AS
12142014-05-06 Andreas Schwab <schwab@suse.de>
1215
1216 [BZ #16912]
1217 * gmon/mcount.c (_MCOUNT_DECL): Use
1218 atomic_compare_and_exchange_bool_acq instead of
1219 catomic_compare_and_exchange_bool_acq.
1220
eb1ed03d
RM
12212014-05-05 Roland McGrath <roland@hack.frob.com>
1222
fe658845
RM
1223 * elf/Makefile (others, install-bin): Remove pldd.
1224 (pldd-modules): Variable removed.
1225 ($(objpfx)pldd): Target removed.
1226 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1227 (others, install-bin): Append pldd here.
1228 ($(objpfx)pldd): New target.
1229
eb1ed03d
RM
1230 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1231 to 0, so the first #if test emitted later doesn't see it undefined.
1232 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1233 * sysdeps/gnu/errlist.c: Regenerated.
1234
19c4bec0
AZ
12352014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1238 [libc_hidden_builtin_def]: Define to empty value.
1239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1240 [libc_hidden_builtin_def]: Likewise.
1241 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1242 [libc_hidden_builtin_def]: Likewise.
1243 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1244 [libc_hidden_builtin_def]: Likewise.
1245 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1246 __redirect_memcpy and define ifunc as default hidden symbol.
1247 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1249
7776e669
AC
12502014-05-04 Adam Conrad <adconrad@0c3.net>
1251
1252 * locale/iso-4217.def: Reintroduce XDR currency.
1253
d69aeb12
AM
12542014-05-04 Allan McRae <allan@archlinux.org>
1255
1256 * po/eo.po: Update Esperanto translation from translation project.
1257
8f1df5cf
CD
12582014-05-02 Carlos O'Donell <carlos@redhat.com>
1259
1260 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1261 and FEATURE_INDEX_MAX to 1.
1262 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1263
13e402e7
SE
12642014-05-01 Steve Ellcey <sellcey@mips.com>
1265
1266 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1267 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1268 * iconvdata/big5.c (ONE_DIRECTION): Define.
1269 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1270 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1271 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1272 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1273 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1274 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1275 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1276 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1277 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1278 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1279 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1280 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1281 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1282 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1283 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1284 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1285 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1286 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1287 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1288 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1289 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1290 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1291 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1292 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1293 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1294 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1295 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1296 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1297 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1298 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1299 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1300 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1301 * iconvdata/johab.c (ONE_DIRECTION): Define.
1302 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1303 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1304 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1305 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1306 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1307 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1308 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1309 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1310 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1311 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1312
c727f032
RM
13132014-05-01 Roland McGrath <roland@hack.frob.com>
1314
8f2f08d0
RM
1315 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1316 (_IO_JUMPS_OFFSET): Define to 0.
1317
c727f032
RM
1318 * nptl/sysdeps/pthread/bits/libc-lock.h
1319 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1320 (__libc_lock_define_initialized_recursive): Always define using
1321 initializer. Modern compilers treat uninitialized (implicit zero) and
1322 explicit zero initializers the same (i.e. put the datum in bss).
1323
a849e800
AS
13242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * nscd/nscd-client.h: Include <string.h>.
1327
5331255b
DM
13282014-05-01 David S. Miller <davem@davemloft.net>
1329
1330 [BZ #16885]
1331 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1332 multiple zero bytes exist at the end of a string.
1333 Reported by Aurelien Jarno <aurelien@aurel32.net>
1334
1335 * string/test-strcmp.c (check): Add explicit test for situations where
1336 there are multiple zero bytes after the first.
1337
4fdfe821
AS
13382014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1339
1340 [BZ #16890]
1341 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1342 when compiling wprintf.
1343 * stdio-common/tstdiomisc.c (t3): New function.
1344 (main): Call it.
1345
0cdddc25
SE
13462014-05-01 Steve Ellcey <sellcey@mips.com>
1347
1348 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1349 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1350 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1351 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1352
6426d77e
SE
13532014-05-01 Steve Ellcey <sellcey@mips.com>
1354
1355 * stdlib/longlong.h: Updated from GCC.
1356
6d96f5e4
WN
13572014-05-01 Will Newton <will.newton@linaro.org>
1358 Bernard Ogden <bernie.ogden@linaro.org>
1359
7470db0c
WN
1360 * NEWS: Update fixed bug list.
1361
6d96f5e4
WN
1362 [BZ #15119]
1363 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1364
211d653c
DM
13652014-04-30 David S. Miller <davem@davemloft.net>
1366
4fa262fa
DM
1367 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1368 (libc_feholdexcept_setround_sparc_ctx): New function.
1369 (libc_fesetenv_sparc_ctx): Likewise.
1370 (libc_feupdateenv_sparc_ctx): Likewise.
1371 (libc_feholdsetround_sparc_ctx): Likewise.
1372 (libc_feholdexcept_setround_ctx): Define.
1373 (libc_feholdexcept_setroundf_ctx): Likewise.
1374 (libc_feholdexcept_setroundl_ctx): Likewise.
1375 (libc_fesetenv_ctx): Likewise.
1376 (libc_fesetenvf_ctx): Likewise.
1377 (libc_fesetenvl_ctx): Likewise.
1378 (libc_feupdateenv_ctx): Likewise.
1379 (libc_feupdateenvf_ctx): Likewise.
1380 (libc_feupdateenvl_ctx): Likewise.
1381 (libc_feresetround_ctx): Likewise.
1382 (libc_feresetroundf_ctx): Likewise.
1383 (libc_feresetroundl_ctx): Likewise.
1384 (libc_feholdsetround_ctx): Likewise.
1385 (libc_feholdsetroundf_ctx): Likewise.
1386 (libc_feholdsetroundl_ctx): Likewise.
1387
1d3d93ef
DM
1388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1389 with __USE_GNU instead of XOPEN cpp guards.
1390
8aa583c3
DM
1391 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1392 0.
1393
211d653c
DM
1394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1395 with XOPEN cpp guards.
1396
60c8f1f6
JB
13972014-04-30 Julian Brown <julian@codesourcery.com>
1398
1399 [BZ #16888]
1400 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1401 handling.
1402
9a461d46
JM
14032014-04-30 Joseph Myers <joseph@codesourcery.com>
1404
d0f5b3f8
JM
1405 [BZ #9894]
1406 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1407 Change to 2.6.32.
1408 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1409 * sysdeps/unix/sysv/linux/configure: Regenerated.
1410 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1411 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1412 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1413 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1414 * README: Update reference to required Linux kernel version.
1415 * manual/install.texi (Linux): Update reference to required Linux
1416 kernel headers version.
1417 * INSTALL: Regenerated.
1418
9a461d46
JM
1419 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1420 header inclusion.
1421 [POSIX] (limits.h): Likewise.
1422 [POSIX] (math.h): Likewise.
1423 [POSIX] (sys/wait.h): Likewise.
1424 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1425 function.
1426 [POSIX] (stddef.h): Do not allow header inclusion.
1427
1775babf
AZ
14282014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429
57f41c40 1430 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1431
8f630cca
YY
14322014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1433
1434 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1435 Return immediately after lll_futex_wake.
1436
1cdeb237
SP
14372014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1438
bc8f194c
SP
1439 [BZ #16791]
1440 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1441 structure.
1442 (datahead_init_pos): Call datahead_init_common early.
1443 (datahead_init_neg): Likewise.
1444
1cdeb237
SP
1445 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1446 datahead_init_neg): New functions.
1447 * nscd/aicache.c (addhstaiX): Use them.
1448 * nscd/grpcache.c (cache_addgr): Likewise.
1449 * nscd/hstcache.c (cache_addhst): Likewise.
1450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1451 * nscd/netgroupcache.c (do_notfound): Likewise.
1452 (addgetnetgrentX): Likewise.
1453 (addinnetgrX): Likewise.
1454 * nscd/pwdcache.c (cache_addpw): Likewise.
1455 * nscd/servicescache.c (cache_addserv): Likewise.
1456
16b293a7
SP
14572014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1458 Atsushi Onoe <atsushi@onoe.org>
1459
1460 [BZ #14308]
1461 [BZ #12994]
1462 [BZ #13651]
1463 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1464 one response is valid.
1465 * resolv/res_send.c (send_dg): Check for validity of other
1466 response if the current response is a referral.
1467
a28a9b94
SE
14682014-04-29 Steve Ellcey <sellcey@mips.com>
1469
1470 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1471
2ca180e9
SL
14722014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1473
1474 [BZ #16823]
1475 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1476 Always divide by positive zero when computing -Inf result.
1477 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1478 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1479
18f2945a
AZ
14802014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1483 FPSCR if value do not change.
1484 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1485 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1486 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1487 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1488 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1489 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1490 function.
1491
5abebba4
CD
14922014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1493
1494 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1495 * sysdeps/unix/sysv/linux/hppa: Move directory from
1496 ports/systeps/unix/sysv/linux/hppa.
1497 * README: Update listing for hppa-*-linux-gnu.
1498
f7ed60c2
OB
14992014-04-28 Ondřej Bílka <neleai@seznam.cz>
1500
fff763a5
OB
1501 [BZ #16754]
1502 * manual/stdio.texi (Hook functions): Fix types of stream hook
1503 functions.
f7ed60c2
OB
1504 [BZ #16854]
1505 * socket/sys/socket.h: Fix typo in comment.
1506
df639d73
WD
15072014-04-28 Wilco <wdijkstr@arm.com>
1508
f7ed60c2 1509 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1510 * sysdeps/arm/math_private.h: New file.
1511 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1512
48332d82
L
15132014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1516 with __int128_t.
1517 (La_x86_64_retval): Likewise.
1518
e5e0d9a4
IB
15192014-04-24 Ian Bolton <ian.bolton@arm.com>
1520
1521 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1522 fpsr if value didn't change.
1523 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1524 to fpcr if value didn't change.
1525 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1526 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1527 fpsr or fpcr if value didn't change.
1528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1529 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1530 fpcr if value didn't change.
1531 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1532 to fpsr if value didn't change.
1533
bacc75f7
SP
15342014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1535
1536 * nptl/tst-sem3.c: Use test-skeleton.c
1537 (main): Rename to do_test. Use return instead of
1538 exit.
1539 * nptl/tst-sem4.c: Use test-skeleton.c
1540 (main): Rename to do_test.
1541
a059d359
DM
15422014-04-22 David S. Miller <davem@davemloft.net>
1543
1544 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1545 (struct sigaction): New struct member __glibc_reserved0, change
1546 type of sa_flags to int.
1547
ea6c92f3
YZ
15482014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1549
1550 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1551 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1552
766c4a36
SP
15532014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1554
1555 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1556 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1557
140cc7ab
VK
15582014-04-22 Will Newton <will.newton@linaro.org>
1559 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1560
1561 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1562 (__longjmp): Add longjmp and longjmp_target SystemTap
1563 probes.
1564 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1565 (__sigsetjmp): Add setjmp SystemTap probe.
1566
c54e5cf7
CD
15672014-04-17 Carlos O'Donell <carlos@redhat.com>
1568
1569 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1570 match manual order.
1571
75ffb047
AZ
15722014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
1574 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1575
2cd925f7
AZ
1576 * sysdeps/powerpc/fpu/fenv_private.h
1577 (libc_feholdexcept_setroundl_ctx): Define to
1578 libc_feholdexcept_setround_ppc_ctx.
1579 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1580 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1581 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1582 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1583
39e6cd8d
IB
15842014-04-17 Ian Bolton <ian.bolton@arm.com>
1585
1586 * sysdeps/aarch64/math-tests.h: New file.
1587
f9281df9
SY
15882014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1589
1590 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1591 New.
1592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1593 Check and set bit_AVX2_Usable.
1594 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1595 macro.
1596 (bit_AVX2): Likewise.
1597 (index_AVX2_Usable): Likewise.
1598 (CPUID_AVX2): Likewise.
1599 (HAS_AVX2): Likewise.
1600
37d35007
WN
16012014-04-17 Will Newton <will.newton@linaro.org>
1602
7c677662
WN
1603 * manual/setjmp.texi (System V contexts): Add note that
1604 calling setcontext on a context created by a call to a
1605 signal handler is undefined. Update text to note that
1606 setcontext from a signal handler is possible but not
1607 recommended.
1608
37d35007 1609 [BZ #16629]
e04a4e9d
WN
1610 * stdlib/tst-setcontext.c: Include signal.h.
1611 (main): Check that the signal stack before and
1612 after swapcontext is the same.
1613
37d35007
WN
1614 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1615 Re-implement to restore registers in user code and avoid
1616 rt_sigreturn system call.
1617
423a7160
W
16182014-04-17 Wilco <wdijkstr@arm.com>
1619
1620 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1621 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1622 * math/test-fenv.c: Skip exception trap tests on targets which only
1623 support non-stop mode.
1624
bc93ab29
IB
16252014-04-17 Ian Bolton <ian.bolton@arm.com>
1626 Wilco Dijkstra <wilco.dijkstra@arm.com>
1627
1628 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1629 (libc_feholdsetround_aarch64_ctx)
1630 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1631 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1632 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1633 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1634 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1635 (libc_feresetround_noexl_ctx): Define.
1636
95fc5fa3
RH
16372014-04-16 Richard Henderson <rth@redhat.com>
1638
ddb04724
RH
1639 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1640
d77c0899
RH
1641 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1642 unwind tables.
1643
a3df56fc
RH
1644 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1645 const from the non-libc, non-ldso copy.
1646
95fc5fa3
RH
1647 * sysdeps/alpha/libm-test-ulps: Regenerate.
1648
7e0b6763
IB
16492014-04-16 Ian Bolton <ian.bolton@arm.com>
1650 Wilco Dijkstra <wilco.dijkstra@arm.com>
1651
1652 * sysdeps/aarch64/fpu/math_private.h: New file.
1653
a9ea2e0c
MS
16542014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1655
1656 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1657
ea8ba7cd
IZ
16582014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1659
1660 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1661 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1663 Intel MPX bound registers before _dl_profile_fixup.
1664 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1665 registers after _dl_profile_fixup. Save and restore bound
1666 registers bnd0/bnd1 when calling _dl_call_pltexit.
1667 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1668 (LR_BND_OFFSET): Likewise.
1669 (LRV_BND0_OFFSET): Likewise.
1670 (LRV_BND1_OFFSET): Likewise.
1671
9f2a4fbc
ST
16722014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1673
1674 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1675 to...
1676 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1677 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1678 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1679 fields.
9f2a4fbc 1680
fd15a59b
ST
16812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1682
1683 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1684
f19dfa0a
SL
16852014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1686
1687 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1688
4fa8bc3b
SL
16892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1690
1691 [BZ #14770]
1692 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1693 * sysdeps/s390/configure: Regenerate.
1694
8ea587db
SL
1695 [BZ #16824]
1696 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1697 Set round-to-nearest internally to reduce error accumulation.
1698
aa5f0ff1
AM
16992014-04-16 Alan Modra <amodra@gmail.com>
1700
1701 [BZ #16740]
1702 [BZ #16619]
1703 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1704 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1705 * NEWS: Update fixed bug list.
aa5f0ff1 1706
bb9c256f
SP
17072014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1708
1709 * benchtests/Makefile: Depend on libraries in build directory.
1710 (bench-math): Separate out math tests.
1711 (bench-pthread): Separate out pthread tests.
1712 (bench): Include math and pthread tests.
1713
f737dfd0
CD
17142014-04-14 Carlos O'Donell <carlos@redhat.com>
1715
1716 [BZ #16831]
1717 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1718 _dl_debug_initialize.
1719
0699f766
CD
1720 * configure.ac: Remove SELinux header check.
1721 * configure: Regenerate.
1722 * nscd/selinux.c (perms): Array of const char* to permission names.
1723 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1724 default policy. Call string_to_security_class and string_to_av_perm to
1725 translate strings. Enforce default policy and call avs_has_perm with
1726 results of translated strings.
1727
809bd45f
DM
17282014-04-13 David S. Miller <davem@davemloft.net>
1729
1730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1731
89e691f2
AM
17322014-04-12 Allan McRae <allan@archlinux.org>
1733
1734 [BZ #16838]
1735 * manual/string.texi (Collation Functions): Fix qsort argument
1736 order in example.
1737 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1738
9c9daaeb
CM
17392014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1740
1741 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1742 Make the test a no-op if there are no exceptions defined.
1743
95561fb9
PP
17442014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1745
fe8d072c 1746 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1747 enable-hardcoded-path-in-tests
1748
970c602a
WN
17492014-04-11 Will Newton <will.newton@linaro.org>
1750
1751 * benchtests/Makefile (extra-objs): Add json-lib.o.
1752 (bench-func): Tidy up JSON output.
1753 * benchtests/bench-skeleton.c: Include json-lib.h.
1754 (main): Use JSON library functions to do output of
1755 benchmark results.
1756 * benchtests/bench-timing-type.c (main): Output the
1757 timing type simply, leaving formatting to the user.
1758 * benchtests/json-lib.c: New file.
1759 * benchtests/json-lib.h: Likewise.
1760
36875b06
TR
17612014-04-11 Torvald Riegel <triegel@redhat.com>
1762
1763 [BZ #15215]
1764 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1765 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1766 memory barriers. Add comments.
1767 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1768 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1769 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1770 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1771 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1772 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1773
579db35a
SL
17742014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1775
1776 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1777 * sysdeps/s390/s390-64/configure.ac: ... this ...
1778 * sysdeps/s390/configure.ac: ... to here.
1779 * sysdeps/s390/s390-32/configure: Delete file.
1780 * sysdeps/s390/s390-64/configure: Delete file.
1781 * sysdeps/s390/configure: Regenerate.
1782
c12e9f37
JAPH
17832014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1784
1785 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1786
439bda32
WN
17872014-04-11 Will Newton <will.newton@linaro.org>
1788
1789 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1790 to zero if it is not defined elsewhere. (mtrim): Test
1791 the value of MALLOC_DEBUG with #if rather than #ifdef.
1792
6a5d6ea1
TR
17932014-04-10 Torvald Riegel <triegel@redhat.com>
1794
1795 * benchtests/pthread_once-inputs: New file.
1796 * benchtests/pthread_once-source.c: New file.
1797 * benchtests/README: Update documentation.
1798
a4c75cfd
IZ
17992014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1800 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1803 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1804 * sysdeps/x86_64/configure: Regenerated.
1805 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1806 macro.
1807 (REGISTER_SAVE_RAX): Likewise.
1808 (REGISTER_SAVE_RCX): Likewise.
1809 (REGISTER_SAVE_RDX): Likewise.
1810 (REGISTER_SAVE_RSI): Likewise.
1811 (REGISTER_SAVE_RDI): Likewise.
1812 (REGISTER_SAVE_R8): Likewise.
1813 (REGISTER_SAVE_R9): Likewise.
1814 (REGISTER_SAVE_BND0): Likewise.
1815 (REGISTER_SAVE_BND1): Likewise.
1816 (REGISTER_SAVE_BND2): Likewise.
1817 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1818 bound registers when calling _dl_fixup.
1819
27822ce6
AZ
18202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1823 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1824 of its definition.
27822ce6
AZ
1825 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1826 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1827 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1828 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1829 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1830 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1831 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1832
a88ddc90
PTB
18332014-04-09 Peter Brett <peter@peter-b.co.uk>
1834
1835 [BZ #15514]
1836 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1837 pathconf(_PC_NAME_MAX).
1838
01f8eac2
AZ
18392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1840
1841 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1842 Remove macro usage.
1843 (__PTHREAD_SPINS): Move definition to ...
1844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1845 (__PTHREAD_SPINS): ... here.
1846 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1847 (__PTHREAD_SPIN): Likewise.
1848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1849 (__PTHREAD_SPIN): Likewise.
1850 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1851 (__PTHREAD_SPIN): Likewise.
1852 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1853 (__PTHREAD_SPIN): Likewise.
1854 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1855 (__PTHREAD_SPIN): Likewise.
1856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1857 (__PTHREAD_SPIN): Likewise.
1858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1859 (__PTHREAD_SPIN): Likewise.
1860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1861 (__PTHREAD_SPIN): Likewise.
1862 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1863 (__PTHREAD_SPIN): Likewise.
1864 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1865 (__PTHREAD_SPIN): Likewise.
1866 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1867 (__PTHREAD_SPIN): Likewise.
1868 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1869 (__PTHREAD_SPIN): Likewise.
1870
de21c33c
AZ
1871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1873 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1875 imply folder.
1876 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1877 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1878 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1879 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1880 correct imply path.
1881 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1882 strlen symbol for non multi-arch builds.
1883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1884 missing hidden_def and weak_alias.
1885
862c472e
CD
18862014-04-08 Carlos O'Donell <carlos@redhat.com>
1887
1888 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1889
8667f90e
WN
18902014-04-07 Will Newton <will.newton@linaro.org>
1891
1892 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1893 and contents. [!_LIBC] Remove #ifndef and contents.
1894 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1895 * string/memccpy.c (__memccpy): Use ANSI prototype.
1896 * string/memfrob.c (memfrob): Likewise.
1897 * string/strcoll.c (STRCOLL): Likewise.
1898 * string/strlen.c (strlen): Likewise.
1899 * string/strtok.c (STRTOK): Likewise.
1900 * string/strcat.c: Remove unused #include of memcopy.h.
1901 (strcat): Use ANSI prototype.
1902 * string/strchr.c: Remove unused #include of memcopy.h.
1903 (strchr): Use ANSI prototype.
1904 * string/strcmp.c: Remove unused #include of memcopy.h.
1905 (strcmp): Use ANSI prototype.
1906 * string/strcpy.c: Remove unused #include of memcopy.h.
1907 (strcpy): Use ANSI prototype.
1908
7ffa9423
AZ
19092014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910
1911 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1912 * config.make.in (config-extra-cppflags): Set it from
1913 libc_extra_cppflags.
1914 * configure.ac (libc_extra_cflags): Make it accumulate over
1915 configure fragments.
1916 (libc_extra_cppflags): New flag.
1917 * configure. Regenerate.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1919 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1920 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1922
8bd70862
AZ
1923 [BZ #16815]
1924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1925 result for FE_DOWNWARD rounding mode.
1926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1927 Likewise.
1928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1929
d42f3448
CM
19302014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1931
1932 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1933 in function argument name.
1934
1c21d115
DS
19352014-04-03 David Svoboda <svoboda@cert.org>
1936
1937 [BZ #5666]
1938 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1939 explicitly.
1940
fcccd512
RM
19412014-04-03 Roland McGrath <roland@hack.frob.com>
1942
1943 * elf/dl-unmap-segments.h: New file.
1944 * sysdeps/generic/ldsodefs.h
1945 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1946 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1947 * elf/dl-fptr.c: Likewise.
1948 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1949 * sysdeps/aarch64/tlsdesc.c: Likewise.
1950 * sysdeps/arm/tlsdesc.c: Likewise.
1951 * sysdeps/i386/tlsdesc.c: Likewise.
1952 * sysdeps/tile/dl-runtime.c: Likewise.
1953 * sysdeps/x86_64/tlsdesc.c: Likewise.
1954 * elf/dl-load.h: New file.
1955 * elf/dl-load.c: Include it.
1956 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1957 Macros moved to dl-load.h.
1958 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1959 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1960 Use _dl_unmap_segments in place of __munmap.
1961 Break out segment-mapping loop into ...
1962 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1963
f6488e2b
WN
19642014-04-03 Will Newton <will.newton@linaro.org>
1965
1966 * elf/dl-lookup.c (do_lookup_x): Remove comment
1967 referring to nested function and move variable
1968 declarations down to before first use.
1969
6f05bafe
JM
19702014-04-02 Joseph Myers <joseph@codesourcery.com>
1971
a84e78c8
JM
1972 [BZ #16799]
1973 [BZ #16800]
1974 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1975 with 0 numerator.
1976 * math/s_catanf.c (__catanf): Likewise.
1977 * math/s_catanh.c (__catanh): Likewise.
1978 * math/s_catanhf.c (__catanhf): Likewise.
1979 * math/s_catanhl.c (__catanhl): Likewise.
1980 * math/s_catanl.c (__catanl): Likewise.
1981 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1982 by positive zero when computing -Inf result.
1983 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1984 (catanh_test): Likewise.
1985 * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1987
6f05bafe
JM
1988 [BZ #16789]
1989 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1990 instead of using underflowing value in computing result.
1991 * math/s_clog10.c (__clog10): Likewise.
1992 * math/s_clog10f.c (__clog10f): Likewise.
1993 * math/s_clog10l.c (__clog10l): Likewise.
1994 * math/s_clogf.c (__clogf): Likewise.
1995 * math/s_clogl.c (__clogl): Likewise.
1996 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1997 (clog10_test): Likewise.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000
b0abbc21
AM
20012014-04-02 Alan Modra <amodra@gmail.com>
2002
2003 [BZ #16739]
2004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2005 output when value is near a power of two. Use int64_t for lx and
2006 remove casts. Use decimal rather than hex exponent constants.
2007 Don't use long double multiplication when double will suffice.
2008 * math/libm-test.inc (nextafter_test_data): Add tests.
2009 * NEWS: Add 16739 and 16786 to bug list.
2010
af6b1797
AM
2011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2012
483818d7
AM
2013 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2014
f6c55796
WN
20152014-04-01 Will Newton <will.newton@linaro.org>
2016
2017 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2018 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2019
13f7fe35
FW
20202014-04-01 Florian Weimer <fweimer@redhat.com>
2021
2022 [BZ #13347]
2023 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2024 * nptl/tst-setuid2.c: New file.
2025 * nptl/Makefile (xtests): Add tst-setuid2.
2026
c859b32e
AM
20272014-04-01 Alan Modra <amodra@gmail.com>
2028
2029 [BZ #16786]
2030 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2031
54fa2475
JM
20322014-03-31 Joseph Myers <joseph@codesourcery.com>
2033
8795b4a4
JM
2034 [BZ #6803]
2035 [BZ #6804]
2036 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2037 set errno as appropriate.
2038 * math/w_scalbf.c (__scalbf): Likewise.
2039 * math/w_scalbl.c (__scalbl): Likewise.
2040 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2041 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2042 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2043 Add more NaN tests.
2044
54fa2475
JM
2045 [BZ #16349]
2046 * math/w_atan2.c: Include <errno.h>.
2047 (__atan2): Set errno for result underflowing to zero.
2048 * math/w_atan2f.c: Include <errno.h>.
2049 (__atan2f): Set errno for result underflowing to zero.
2050 * math/w_atan2l.c: Include <errno.h>.
2051 (__atan2l): Set errno for result underflowing to zero.
2052 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2053 tests.
2054 * math/auto-libm-test-out: Regenerated.
2055
757d9dd5
AZ
20562014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057
2058 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2059 Encode instruction correctly in little endian.
2060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2061 Likewise.
2062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2063 Likewise.
2064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2065 Likewise.
2066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2067 Likewise.
2068
d7a68734
JM
20692014-03-31 Joseph Myers <joseph@codesourcery.com>
2070
47c5adeb
JM
2071 [BZ #9894]
2072 * sysdeps/unix/sysv/linux/kernel-features.h
2073 [__sparc__ && !__arch64__ && !__sparc_v9__]
2074 (__ASSUME_SET_ROBUST_LIST): Do not define.
2075 [__sparc__ && !__arch64__ && !__sparc_v9__]
2076 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2077 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2078 Likewise.
2079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2080 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2081 (__ASSUME_REQUEUE_PI): Likewise.
2082 (__ASSUME_SET_ROBUST_LIST): Likewise.
2083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2084 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2085 Undefine.
2086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2087 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2088 Likewise.
2089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2090 Likewise.
2091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2092 Likewise.
2093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2094 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2095 Undefine.
2096 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2097 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2098 Likewise.
2099
d7a68734
JM
2100 [BZ #16648]
2101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2102 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2103 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2104
c760f5c2
WN
21052014-03-31 Will Newton <will.newton@linaro.org>
2106
2107 * benchtests/Makefile (bench): Add ffs and ffsll to list
2108 of tests.
2109 * benchtests/ffs-inputs: New file.
2110 * benchtests/ffsll-inputs: Likewise.
2111
ea6029b1
JM
21122014-03-29 Joseph Myers <joseph@codesourcery.com>
2113
2114 [BZ #16770]
2115 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2116 too large before casting to int.
2117 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2118 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2119 * math/libm-test.inc (scalb_test_data): Add more tests.
2120
cf806aff
SP
21212014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
56737508
SP
2123 * benchtests/Makefile (DETAILED_OPT): New make option.
2124 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2125 set.
2126 * benchtests/bench-skeleton.c: Include stdbool.h.
2127 (main): Store and print timings per input.
2128 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2129 member to each argument value.
2130 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2131 (_print_arg_data): Initialize per-input timing to 0.
2132
cb5e4aad
SP
2133 * benchtests/Makefile (timing-type): New binary.
2134 (bench-clean): Also remove bench-timing-type.
2135 (bench): New target for timing-type.
2136 (bench-func): Print output in JSON format.
2137 * benchtests/bench-skeleton.c (main): Print output in JSON
2138 format.
2139 * benchtests/bench-timing-type.c: New file.
2140 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2141 (TIMING_PRINT_STATS): Remove.
2142 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2143 name separately.
2144
cf806aff
SP
2145 * benchtests/bench-modf.c: Remove.
2146 * benchtests/modf-inputs: New inputs file.
2147
289e0779
JM
21482014-03-28 Joseph Myers <joseph@codesourcery.com>
2149
2150 [BZ #16362]
2151 * math/s_clog10.c (M_PI_LOG10E): New macro.
2152 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2153 imaginary parts are 0.
2154 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2155 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2156 imaginary parts are 0.
2157 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2158 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2159 imaginary parts are 0.
2160 * math/libm-test.inc (clog10_test_data): Update expected results
2161 for when real and imaginary parts are 0.
2162
277ae3f1
PP
21632014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2164
2165 * elf/dl-load.c: Finish conversion of __builtin_expect into
2166 __glibc_{un}likely.
2167
03a7091f
JM
21682014-03-27 Joseph Myers <joseph@codesourcery.com>
2169
2170 [BZ #16348]
2171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2172 1+x for argument with exponent below -67.
2173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2174 Likewise.
2175 * math/auto-libm-test-in: Add more tests of exp.
2176 * math/auto-libm-test-out: Regenerated.
2177
ea7d8b95
SP
21782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2179
dd3022d7
SP
2180 [BZ #16759]
2181 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2182 (nscd_getnetgrent): Use it.
2183
ea7d8b95
SP
2184 [BZ #16760]
2185 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2186 of stpcpy.
2187
df5b85da
AK
21882014-03-27 Andi Kleen <ak@linux.intel.com>
2189
57f41c40
AS
2190 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2191 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2192 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2193 (lll_robust_unlock): Remove out of line section. Use cfi
2194 intrinsics.
df5b85da 2195 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2196 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2197 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2198 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2199 (lll_robust_unlock): Remove out of line section. Use cfi
2200 intrinsics.
df5b85da
AK
2201 (LLL_STUB_UNWIND_INFO*): Remove.
2202
fbd6b5a4
SP
22032014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
2205 [BZ #16758]
2206 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2207 blank values.
2208
1b26b855
PP
22092014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2210
2211 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2212
9be36fb8
JM
22132014-03-26 Joseph Myers <joseph@codesourcery.com>
2214
2215 [BZ #16198]
2216 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2217 fnstenv.
2218 * math/test-fenv-preserve.c: New file.
2219 * math/Makefile (tests): Add test-fenv-preserve.
2220
60a2f3c1
WN
22212014-03-26 Will Newton <will.newton@linaro.org>
2222
2223 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2224
a5e5f1e2
RM
22252014-03-25 Roland McGrath <roland@hack.frob.com>
2226
2227 * scripts/versionlist.awk: Partition the version sets and emit all
2228 GLIBC_* (sorted) before all others (sorted).
2229
00f4012a
JM
22302014-03-25 Joseph Myers <joseph@codesourcery.com>
2231
2232 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2233 GLIBC_2.2.5 version.
2234
7bc5a741
AZ
22352014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236
2237 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2238 calls.
2239
7578473b
AZ
2240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2241 previous change.
2242
f3f1dab3
AZ
2243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2244
6da36183
AS
22452014-03-25 Andreas Schwab <schwab@suse.de>
2246
2247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2248 label to be used after in6ailist is initialized.
2249
f3f1dab3 22502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2251
7578473b 2252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2253 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2254
046651c1
JM
22552014-03-25 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #16357]
2258 [BZ #16599]
2259 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2260 min_plus_half.
2261 (fp_formats): Update initializers.
2262 (init_fp_formats): Initialize new field.
2263 (output_for_one_input_case): Allow underflow for results up to
2264 min_plus_half.
2265 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2266 * math/auto-libm-test-in: Don't mark some underflows from asin and
2267 atanh as spurious.
2268 * math/auto-libm-test-out: Regenerated.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271
003e49ed
AS
22722014-03-25 Andreas Schwab <schwab@suse.de>
2273
2274 * libio/Makefile (tst-ftell-partial-wide-ENV)
2275 (tst-ftell-active-handler-ENV): Define.
2276
de031874
SL
22772014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2278
2279 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2280
55a81e3b
PP
22812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2282
2283 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2284
f3426898
JM
22852014-03-24 Joseph Myers <joseph@codesourcery.com>
2286
2287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2288 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2289 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2290
a42faf59
PP
22912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2292
2293 [BZ #16634]
a42faf59 2294 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2295 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2296 (open_path): Change from boolean 'secure' to complete flag 'mode'
2297 (_dl_map_object): Adjust.
a42faf59
PP
2298 * elf/Makefile (tests): Add tst-dlopen-aout.
2299 * elf/tst-dlopen-aout.c: New test.
2300
50936127
SL
23012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2302
2303 [BZ #16714]
2304 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2305 (struct stat): Rename member pad0 to __glibc_reserved0.
2306
26011b5c
SL
2307 [BZ #16712]
2308 * sysdeps/s390/s390-32/bits/wordsize.h
2309 (__WORDSIZE32_SIZE_ULONG): New define.
2310 * sysdeps/s390/s390-64/bits/wordsize.h
2311 (__WORDSIZE32_SIZE_ULONG): Likewise.
2312 * sysdeps/generic/stdint.h (SIZE_MAX):
2313 Define as UL if __WORDSIZE32_SIZE_ULONG.
2314
a2d86bf1
SL
2315 [BZ #16713]
2316 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2317 (__glibc_reserved0): New variable.
2318 (sa_flags): Change type to int.
2319
78b6eebc
SL
2320 * posix/Makefile (before-compile): Use += before-compile instead
2321 of a :=.
2322
f1399b5a
SL
2323 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2324 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2325
a071766e
AS
23262014-03-20 Andreas Schwab <schwab@suse.de>
2327
2328 [BZ #16743]
2329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2330 non-matching result from nscd.
2331
27c673b8
SP
23322014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2333
2334 * scripts/bench.py: Moved to ...
2335 * benchtests/scripts/bench.py: ... here.
2336 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2337
44152e4b
AS
23382014-03-24 Andreas Schwab <schwab@suse.de>
2339
2340 [BZ #16002]
2341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2342 alloca_account and account alloca use for struct in6ailist.
2343
b376a11a
JM
23442014-03-24 Joseph Myers <joseph@codesourcery.com>
2345
2346 [BZ #16284]
2347 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2348 rounding mode to recompute results that overflow to infinity or
2349 underflow to zero.
2350 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2351 bug 16284.
2352 * math/auto-libm-test-out: Regenerated.
2353 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2354 (ccosh_test): Likewise.
2355 (csin_test_data): Use plus_oflow.
2356 (csin_test): Use ALL_RM_TEST.
2357 (csinh_test_data): Use plus_oflow.
2358 (csinh_test): Use ALL_RM_TEST.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2361
f7be7376
JM
23622014-03-21 Joseph Myers <joseph@codesourcery.com>
2363
1ca2d03e
JM
2364 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2365 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2366 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2367
f7be7376
JM
2368 [BZ #16731]
2369 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2370 when x - 1 is zero.
2371 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2375 argument is 1.
2376 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2377 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2378 zero.
2379 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382
fdf4534d
SP
23832014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
df26ea53
SP
2385 * scripts/bench.pl: Remove file.
2386 * scripts/bench.py: New benchmark script.
2387 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2388 * benchtests/README: Mention python dependency.
2389 * scripts/pylintrc: New file.
2390 * scripts/pylint: New file.
2391
fdf4534d
SP
2392 * bits/mathdef.h: Use #ifdef instead of #if.
2393 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2394 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2395 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2396 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2397 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2399
6f23d093
AZ
24002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2402
2403 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2405 and strpbrk-ppc64 objects.
2406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2407 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2408 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2409 multiarch strpbrk for POWER7.
2410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2411 multiarch strpbrk for PPC64.
2412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2413 ifunc selector.
2414 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2415 strpbrk for POWER7.
2416
8c92dfff
JM
24172014-03-20 Joseph Myers <joseph@codesourcery.com>
2418
2419 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2420 (atan_test): Likewise.
2421 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2422 (atanh_test): Use ALL_RM_TEST.
2423 (atan2_test_data): Likewise.
2424 (cabs_test): Likewise.
2425 (cacosh_test): Likewise.
2426 (carg_test): Likewise.
2427 (casin_test): Likewise.
2428 (casinh_test): Likewise.
2429 (cbrt_test): Likewise.
2430 (csqrt_test): Likewise.
2431 (erf_test): Likewise.
2432 (erfc_test): Likewise.
2433 (pow10_test): Likewise.
2434 (exp2_test): Likewise.
2435 (hypot_test): Likewise.
2436 (j0_test): Likewise.
2437 (j1_test): Likewise.
2438 (lgamma_test): Likewise.
2439 (gamma_test): Likewise.
2440 (sincos_test): Likewise.
2441 (tanh_test): Likewise.
2442 (y0_test): Likewise.
2443 (y1_test): Likewise.
2444 * sysdeps/i386/fpu/libm-test-ulps: Update.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
6eaf95cb
AZ
24472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
a387428c
SP
2449 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2451 and strcspn-ppc64 objects.
2452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2453 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2454 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2455 multiarch strcspn for POWER7.
2456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2457 multiarch strcspn for PPC64.
2458 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2459 ifunc selector.
2460 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2461 strcspn for POWER7.
2462
ae3a5dff
JM
24632014-03-20 Joseph Myers <joseph@codesourcery.com>
2464
2465 * math/gen-libm-test.pl (generate_testfile): Expect only function
2466 name as argument to AUTO_TESTS_* and pass results for all rounding
2467 modes to parse_args.
2468 (parse_auto_input): Separate inputs of automatic tests from
2469 outputs before storing in %auto_tests.
2470 * math/libm-test.inc (acos_test_data): Update call to
2471 AUTO_TESTS_f_f.
2472 (acos_test): Use ALL_RM_TEST.
2473 (acos_tonearest_test_data): Remove.
2474 (acos_test_tonearest): Likewise.
2475 (acos_towardzero_test_data): Likewise.
2476 (acos_test_towardzero): Likewise.
2477 (acos_downward_test_data): Likewise.
2478 (acos_test_downward): Likewise.
2479 (acos_upward_test_data): Likewise.
2480 (acos_test_upward): Likewise.
2481 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2482 (asin_test_data): Likewise.
2483 (asin_test): Use ALL_RM_TEST.
2484 (asin_tonearest_test_data): Remove.
2485 (asin_test_tonearest): Likewise.
2486 (asin_towardzero_test_data): Likewise.
2487 (asin_test_towardzero): Likewise.
2488 (asin_downward_test_data): Likewise.
2489 (asin_test_downward): Likewise.
2490 (asin_upward_test_data): Likewise.
2491 (asin_test_upward): Likewise.
2492 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2493 (atan_test_data): Likewise.
2494 (atanh_test_data): Likewise.
2495 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2496 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2497 (carg_test_data): Likewise.
2498 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2499 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2500 (ccosh_test_data): Likewise.
2501 (cexp_test_data): Likewise.
2502 (clog_test_data): Likewise.
2503 (clog10_test_data): Likewise.
2504 (cos_test_data): Update call to AUTO_TESTS_f_f.
2505 (cos_test): Use ALL_RM_TEST.
2506 (cos_tonearest_test_data): Remove.
2507 (cos_test_tonearest): Likewise.
2508 (cos_towardzero_test_data): Likewise.
2509 (cos_test_towardzero): Likewise.
2510 (cos_downward_test_data): Likewise.
2511 (cos_test_downward): Likewise.
2512 (cos_upward_test_data): Likewise.
2513 (cos_test_upward): Likewise.
2514 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2515 (cosh_test): Use ALL_RM_TEST.
2516 (cosh_tonearest_test_data): Remove.
2517 (cosh_test_tonearest): Likewise.
2518 (cosh_towardzero_test_data): Likewise.
2519 (cosh_test_towardzero): Likewise.
2520 (cosh_downward_test_data): Likewise.
2521 (cosh_test_downward): Likewise.
2522 (cosh_upward_test_data): Likewise.
2523 (cosh_test_upward): Likewise.
2524 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2525 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2526 (ctan_test_data): Likewise.
2527 (ctan_test): Use ALL_RM_TEST.
2528 (ctan_tonearest_test_data): Remove.
2529 (ctan_test_tonearest): Likewise.
2530 (ctan_towardzero_test_data): Likewise.
2531 (ctan_test_towardzero): Likewise.
2532 (ctan_downward_test_data): Likewise.
2533 (ctan_test_downward): Likewise.
2534 (ctan_upward_test_data): Likewise.
2535 (ctan_test_upward): Likewise.
2536 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2537 (ctanh_test): Use ALL_RM_TEST.
2538 (ctanh_tonearest_test_data): Remove.
2539 (ctanh_test_tonearest): Likewise.
2540 (ctanh_towardzero_test_data): Likewise.
2541 (ctanh_test_towardzero): Likewise.
2542 (ctanh_downward_test_data): Likewise.
2543 (ctanh_test_downward): Likewise.
2544 (ctanh_upward_test_data): Likewise.
2545 (ctanh_test_upward): Likewise.
2546 (erf_test_data): Update call to AUTO_TESTS_f_f.
2547 (erfc_test_data): Likewise.
2548 (exp_test_data): Likewise.
2549 (exp_test): Use ALL_RM_TEST.
2550 (exp_tonearest_test_data): Remove.
2551 (exp_test_tonearest): Likewise.
2552 (exp_towardzero_test_data): Likewise.
2553 (exp_test_towardzero): Likewise.
2554 (exp_downward_test_data): Likewise.
2555 (exp_test_downward): Likewise.
2556 (exp_upward_test_data): Likewise.
2557 (exp_test_upward): Likewise.
2558 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2559 (exp10_test): Use ALL_RM_TEST.
2560 (exp10_tonearest_test_data): Remove.
2561 (exp10_test_tonearest): Likewise.
2562 (exp10_towardzero_test_data): Likewise.
2563 (exp10_test_towardzero): Likewise.
2564 (exp10_downward_test_data): Likewise.
2565 (exp10_test_downward): Likewise.
2566 (exp10_upward_test_data): Likewise.
2567 (exp10_test_upward): Likewise.
2568 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2569 (expm1_test_data): Likewise.
2570 (expm1_test): Use ALL_RM_TEST.
2571 (expm1_tonearest_test_data): Remove.
2572 (expm1_test_tonearest): Likewise.
2573 (expm1_towardzero_test_data): Likewise.
2574 (expm1_test_towardzero): Likewise.
2575 (expm1_downward_test_data): Likewise.
2576 (expm1_test_downward): Likewise.
2577 (expm1_upward_test_data): Likewise.
2578 (expm1_test_upward): Likewise.
2579 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2580 (fma_test): Use ALL_RM_TEST.
2581 (fma_towardzero_test_data): Remove.
2582 (fma_test_towardzero): Likewise.
2583 (fma_downward_test_data): Likewise.
2584 (fma_test_downward): Likewise.
2585 (fma_upward_test_data): Likewise.
2586 (fma_test_upward): Likewise.
2587 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2588 (j0_test_data): Update call to AUTO_TESTS_f_f.
2589 (j1_test_data): Likewise.
2590 (jn_test_data): Update call to AUTO_TESTS_if_f.
2591 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2592 (log_test_data): Update call to AUTO_TESTS_f_f.
2593 (log10_test_data): Likewise.
2594 (log1p_test_data): Likewise.
2595 (log2_test_data): Likewise.
2596 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2597 (pow_tonearest_test_data): Likewise.
2598 (sin_test_data): Update call to AUTO_TESTS_f_f.
2599 (sin_test): Use ALL_RM_TEST.
2600 (sin_tonearest_test_data): Remove.
2601 (sin_test_tonearest): Likewise.
2602 (sin_towardzero_test_data): Likewise.
2603 (sin_test_towardzero): Likewise.
2604 (sin_downward_test_data): Likewise.
2605 (sin_test_downward): Likewise.
2606 (sin_upward_test_data): Likewise.
2607 (sin_test_upward): Likewise.
2608 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2609 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2610 (sinh_test): Use ALL_RM_TEST.
2611 (sinh_tonearest_test_data): Remove.
2612 (sinh_test_tonearest): Likewise.
2613 (sinh_towardzero_test_data): Likewise.
2614 (sinh_test_towardzero): Likewise.
2615 (sinh_downward_test_data): Likewise.
2616 (sinh_test_downward): Likewise.
2617 (sinh_upward_test_data): Likewise.
2618 (sinh_test_upward): Likewise.
2619 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2620 (sqrt_test): Use ALL_RM_TEST.
2621 (sqrt_tonearest_test_data): Remove.
2622 (sqrt_test_tonearest): Likewise.
2623 (sqrt_towardzero_test_data): Likewise.
2624 (sqrt_test_towardzero): Likewise.
2625 (sqrt_downward_test_data): Likewise.
2626 (sqrt_test_downward): Likewise.
2627 (sqrt_upward_test_data): Likewise.
2628 (sqrt_test_upward): Likewise.
2629 (tan_test_data): Update call to AUTO_TESTS_f_f.
2630 (tan_test): Use ALL_RM_TEST.
2631 (tan_tonearest_test_data): Remove.
2632 (tan_test_tonearest): Likewise.
2633 (tan_towardzero_test_data): Likewise.
2634 (tan_test_towardzero): Likewise.
2635 (tan_downward_test_data): Likewise.
2636 (tan_test_downward): Likewise.
2637 (tan_upward_test_data): Likewise.
2638 (tan_test_upward): Likewise.
2639 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2640 (tgamma_test_data): Likewise.
2641 (y0_test_data): Likewise.
2642 (y1_test_data): Likewise.
2643 (yn_test_data): Update call to AUTO_TESTS_if_f.
2644 (main): Do not call removed functions.
2645
d71aeee8
JM
26462014-03-19 Joseph Myers <joseph@codesourcery.com>
2647
2648 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2649 (ldexp_test_data): Remove.
2650 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2651 scalbn_test_data.
2652 (scalb_test): Use ALL_RM_TEST.
2653
baaf1ded
AS
26542014-03-19 Andreas Schwab <schwab@suse.de>
2655
2656 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2657
b1115e91
JM
26582014-03-19 Joseph Myers <joseph@codesourcery.com>
2659
2660 [BZ #16649]
2661 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2662 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2665 (__ASSUME_PREADV): Undefine.
2666 (__ASSUME_PWRITEV): Likewise.
2667
0283ecca
RM
26682014-03-18 Roland McGrath <roland@hack.frob.com>
2669
7d375303
RM
2670 * bits/mman-linux.h: Add comment about non-Linux use.
2671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2672 bits/mman-linux.h resting place.
2673
0283ecca
RM
2674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2675 * bits/mman-linux.h: ... here.
2676
aebe1003
AZ
26772014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678
2679 * conform/conformtest.pl: Add standard definition when calling C
2680 preprocessor on data files.
2681 (checknamespace): Remove unused variable.
2682
b29b6bb8
JM
26832014-03-18 Joseph Myers <joseph@codesourcery.com>
2684
2685 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2686 minus_oflow, plus_uflow and minus_uflow in expected results.
2687 * math/libm-test.inc (scalbn_test_data): Add more tests of
2688 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2689 minus_uflow.
2690 (scalbn_test): Use ALL_RM_TEST.
2691 (scalbln_test_data): Add more tests of negative arguments. Use
2692 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2693 (scalbln_test): Use ALL_RM_TEST.
2694
c8f8fa15
RM
26952014-03-18 Roland McGrath <roland@hack.frob.com>
2696
2697 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2698
fede7a5f
WN
26992014-03-18 Will Newton <will.newton@linaro.org>
2700
2701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2702 inaccurate comment.
2703
80cf0a58
JM
27042014-03-18 Joseph Myers <joseph@codesourcery.com>
2705
2706 * Makerules [!subdir] (check-abi): Exit with error status if a
2707 test failed.
2708
b3620862
JM
27092014-03-17 Joseph Myers <joseph@codesourcery.com>
2710
2711 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2712 for rint. Include results for all rounding modes.
2713 (nearbyint_test): Use ALL_RM_TEST.
2714 (rint_test_data): Include all tests used for nearbyint.
2715
788bba36
WN
27162014-03-17 Will Newton <will.newton@linaro.org>
2717
04ec140a
WN
2718 * nptl/sysdeps/pthread/pthread.h: Revert previous
2719 change.
2720
7579d8d5
WN
2721 * sysdeps/generic/ldsodefs.h: Revert previous
2722 change.
2723
c15cf13a
WN
2724 * libio/genops.c: Revert previous change.
2725 * libio/libioP.h: Likewise.
2726 * stdio-common/vfprintf.c: Likewise.
2727
d0ac1324
WN
2728 * sysdeps/generic/math_private.h: Revert previous
2729 change.
2730
9290130a
WN
2731 * sysdeps/generic/math_private.h: Check whether
2732 HAVE_RM_CTX is defined with #ifdef rather
2733 than #if.
2734
afb466fc
WN
2735 * argp/argp-fmtstream.h: Check whether
2736 __STRICT_ANSI__ is defined with #ifdef rather
2737 than #if.
2738 * argp/argp.h: Likewise.
2739
f7efd7c3
WN
2740 * libio/genops.c: Check whether
2741 _IO_JUMPS_OFFSET is defined with #ifdef rather
2742 than #if.
2743 * libio/libioP.h: Likewise.
2744 * stdio-common/vfprintf.c: Likewise.
2745
53f1bed3
WN
2746 * sysdeps/generic/ldsodefs.h: Check whether
2747 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2748 than #if.
2749
788bba36
WN
2750 * nptl/sysdeps/pthread/pthread.h: Check
2751 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2752 its value.
2753
fcd89ebe
SP
27542014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2755
ae42bbc5
SP
2756 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2757 setting O_APPEND.
2758 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2759 test case.
2760
ea33158c
SP
2761 [BZ #16680]
2762 * libio/fileops.c (_IO_file_open): Seek to end of file but
2763 don't cache the offset.
2764 (get_file_offset): Remove function.
2765 (do_ftell): Use cached offset when available.
2766 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2767 don't cache the offset.
2768 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2769 case.
2770 (do_one_test): Call it.
2771 (do_ftell_test): Fix up expected old offset for a+ mode.
2772 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2773 available.
2774
b1dbb426
SP
2775 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2776 up test status with function return status.
2777 (do_write_test): Likewise.
2778 (do_append_test): Likewise.
2779
fcd89ebe
SP
2780 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2781 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2782 Remove.
2783
9962a2d3
JM
27842014-03-17 Joseph Myers <joseph@codesourcery.com>
2785
2786 * math/gen-libm-test.pl (parse_args): Handle results specified for
2787 each rounding mode separately.
2788 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2789 tests and results from lrint_tonearest_test_data,
2790 lrint_towardzero_test_data, lrint_downward_test_data and
2791 lrint_upward_test_data.
2792 (lrint_test): Use ALL_RM_TEST.
2793 (lrint_tonearest_test_data): Remove.
2794 (lrint_test_tonearest): Likewise.
2795 (lrint_towardzero_test_data): Likewise.
2796 (lrint_test_towardzero): Likewise.
2797 (lrint_downward_test_data): Likewise.
2798 (lrint_test_downward): Likewise.
2799 (lrint_upward_test_data): Likewise.
2800 (lrint_test_upward): Likewise.
2801 (llrint_test_data): Merge in per-rounding-mode tests and results
2802 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2803 llrint_downward_test_data and llrint_upward_test_data.
2804 (llrint_test): Use ALL_RM_TEST.
2805 (llrint_tonearest_test_data): Remove.
2806 (llrint_test_tonearest): Likewise.
2807 (llrint_towardzero_test_data): Likewise.
2808 (llrint_test_towardzero): Likewise.
2809 (llrint_downward_test_data): Likewise.
2810 (llrint_test_downward): Likewise.
2811 (llrint_upward_test_data): Likewise.
2812 (llrint_test_upward): Likewise.
2813 (rint_test_data): Merge in per-rounding-mode tests and results
2814 from rint_tonearest_test_data, rint_towardzero_test_data,
2815 rint_downward_test_data and rint_upward_test_data. Add
2816 per-rounding-mode results for tests not in those arrays.
2817 (rint_test): Use ALL_RM_TEST.
2818 (rint_tonearest_test_data): Remove.
2819 (rint_test_tonearest): Likewise.
2820 (rint_towardzero_test_data): Likewise.
2821 (rint_test_towardzero): Likewise.
2822 (rint_downward_test_data): Likewise.
2823 (rint_test_downward): Likewise.
2824 (rint_upward_test_data): Likewise.
2825 (rint_test_upward): Likewise.
2826 (main): Don't call removed functions.
2827
5006148e
RM
28282014-03-14 Roland McGrath <roland@hack.frob.com>
2829
2830 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2831 "Compiled on ..." crapola. It is anti-useful.
2832
d6fe5e58
JM
28332014-03-14 Joseph Myers <joseph@codesourcery.com>
2834
2835 * scripts/evaluate-test.sh: Handle fourth argument to determine
2836 whether test run should stop on failure.
2837 * Makeconfig (stop-on-test-failure): New variable.
2838 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2839 $(stop-on-test-failure).
2840 * Makefile (tests): Give a summary of results from testing and
2841 exit with failure status if they include an ERROR or FAIL.
2842 (xtests): Likewise.
2843 * manual/install.texi (Configuring and compiling): Mention
2844 stop-on-test-failure=y.
2845 * INSTALL: Regenerated.
2846
498a2233
RM
28472014-03-14 Roland McGrath <roland@hack.frob.com>
2848
22dbc19d
RM
2849 * scripts/versionlist.awk: New file.
2850 * Makerules [$(build-shared) = yes]
2851 (postclean-generated): Add Versions.def, not Versions.def.v and
2852 Versions.def.v.i.
2853 ($(common-objpfx)Versions.def.v.i): Target removed.
2854 ($(common-objpfx)Versions.def): New target.
2855 ($(common-objpfx)Versions.all): Depend on that rather that
2856 $(common-objpfx)Versions.def.v.
2857 * Versions.def: File removed.
2858
498a2233
RM
2859 * Makeconfig (+gccwarn): Add -Wundef.
2860 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2861 a dl-sysdep.h breaking its contract.
2862 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2863 * include/stackinfo.h: New file.
2864 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2865 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2866 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2867 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2868 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2869 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2870 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2871 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2872 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2873 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2874 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2875 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2876 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2877 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2878 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2879
c7de5025
AZ
28802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881
2882 [BZ #16707]
2883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2884 implementation.
2885 * math/libm-test.inc (round_test_data): Add more tests.
2886
98fb27a3
AZ
2887 [BZ #16706]
2888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2889 implementation.
2890 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2891
374f7f61
AZ
2892 [BZ #16701]
2893 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2894 implementation.
2895 * math/libm-test.inc (ceil_test_data): Add more tests.
2896
4655c291
AZ
2897 * math/libm-test.inc (trunc_test_data): Add more tests related to
2898 BZ#16414.
2899
d7329d4b
RM
29002014-03-14 Roland McGrath <roland@hack.frob.com>
2901
2902 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2903 with #if rather than #ifdef.
2904 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2905
aa4de9ce
L
29062014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2909 first. Disable AVX-512 GCC support if assembler doesn't support
2910 it.
2911 * sysdeps/x86_64/configure: Regenerated.
2912
2e03fae7
CD
29132014-03-13 Carlos O'Donell <carlos@redhat.com>
2914
2915 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2916 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2917 (__old_pthread_attr_setstack): Likewise.
2918 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2919 [!_STACK_GROWS_DOWN]: Likewise.
2920
43ca83ec
MF
29212014-03-13 Mike Frysinger <vapier@gentoo.org>
2922
2923 * config.make.in (have-bash2): Delete.
2924 * configure.ac (libc_cv_have_bash2): Delete.
2925 * configure: Regenerate.
2926 * elf/Makefile (common-ldd-rewrite): Rename to ...
2927 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2928 (sh-ldd-rewrite): Delete.
2929 (bash-ldd-rewrite): Delete.
2930 (have-bash2): Delete checks.
57f41c40
AS
2931 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2932 ldd-rewrite.
c66e48b4
MF
2933
2934 * config.make.in (have-ksh): Delete.
2935 (KSH): Delete.
2936 * configure.ac (libc_cv_have_ksh): Delete.
2937 * configure: Regenerate.
2938
b93834ef
MF
2939 * elf/Makefile: Delete $(have-ksh) check.
2940 ($(objpfx)sotruss): Change KSH to BASH.
2941 * elf/sotruss.ksh: Rename to ...
2942 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2943 function style to match POSIX. Drop ksh vim mode setting.
2944
f3a4632a
MF
2945 * manual/time.texi (Specifying the Time Zone with TZ): Change
2946 Tuesday to Thursday.
2947
5896c8bd
MF
2948 * debug/tst-longjmp_chk2.c: Update header comment.
2949 (stackoverflow_handler): Add comment. Call assert on pass value.
2950
2d63a517
IZ
29512014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2952
2953 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2954 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2955 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2956 (La_x86_64_vector): Add zmm.
2957 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2958 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2959 ($(objpfx)tst-audit10): New target.
2960 ($(objpfx)tst-audit10.out): Likewise.
2961 (tst-audit10-ENV): New.
2962 (AVX512-CFLAGS): Likewise.
2963 (CFLAGS-tst-audit10.c): Likewise.
2964 (CFLAGS-tst-auditmod10a.c): Likewise.
2965 (CFLAGS-tst-auditmod10b.c): Likewise.
2966 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2967 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2968 * sysdeps/x86_64/configure: Regenerated.
2969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2970 AVX-512 zmm register support.
2971 (_dl_x86_64_save_sse): Likewise.
2972 (_dl_x86_64_restore_sse): Likewise.
2973 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2974 size vector registers.
2975 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2976 (ZMM_SIZE): Likewise.
2977 * sysdeps/x86_64/tst-audit10.c: New file.
2978 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2979 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2980
44c4e5d5
RM
29812014-03-13 Roland McGrath <roland@hack.frob.com>
2982
2983 * configure.ac (HAVE_EHDR_START): New check.
2984 * configure: Regenerated.
2985 * config.h.in (HAVE_EHDR_START): New #undef.
2986 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2987 assuming the lowest-addressed segment maps the start of the file.
2988
acd6e389
JM
29892014-03-13 Joseph Myers <joseph@codesourcery.com>
2990
2991 * INSTALL: Regenerated.
2992
6f918f36
WN
29932014-03-13 Will Newton <will.newton@linaro.org>
2994
2995 * manual/setjmp.texi (System V contexts): Improve
2996 clarity and grammar of documentation.
2997
798212a0
PP
29982014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2999
3000 [BZ #16381]
798212a0 3001 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3002 (tests-pie): Add tst-pie2.
798212a0
PP
3003 * elf/tst-pie2.c: New file.
3004 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3005 for ET_EXEC.
3006 * elf/rtld.c (map_doit): Load executable as lt_executable.
3007 (dl_main): Likewise.
3008
abe6d90c
JM
30092014-03-12 Joseph Myers <joseph@codesourcery.com>
3010
3011 [BZ #16642]
3012 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3013 (__ASSUME_PSELECT): Undefine.
3014
dd3946c6
AZ
30152014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 [BZ #16689]
3018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3019 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3020 static build.
3021 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3022 selector for static builds.
3023
c44496df
SP
30242014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3025
3026 [BZ #16695]
3027 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3028 key in the buffer.
3029
27c7220a
AZ
30302014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3031
57f41c40
AS
3032 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3033 IFUNC selector for static builds.
27c7220a 3034
600fa361
JM
30352014-03-11 Joseph Myers <joseph@codesourcery.com>
3036
76c96cf7
JM
3037 * sysdeps/mips/math_private.h [__mips_hard_float]
3038 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3039 libc_feresetround_mips_ctx.
3040 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3041 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3042 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3043
600fa361
JM
3044 [BZ #16677]
3045 * math/s_nextafter.c (__nextafter): Do not return value from
3046 overflowing computation.
3047 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3048 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3049 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3050 Likewise.
3051 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3052 Likewise.
3053 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3054 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3055
d7706c32
RM
30562014-03-11 Roland McGrath <roland@hack.frob.com>
3057
3058 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3059 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3060 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3061 the new mov targetting sp.
3062
4facea47
AZ
30632014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3064
3065 [BZ #16683]
3066 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3067 Define it for static builds as well.
3068 (NO_BZERO_IMPL): Likewise.
3069
e65caf1f
VR
30702014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3071
3072 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3073 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3074 multiarch strspn for PPC64.
3075 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3076 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3078 (__libc_ifunc_impl_list): Likewise.
3079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3080 multiarch optimizations
3081 * string/strspn.c (strspn): Using macro to redefine symbol name.
3082
ba9cc071
AZ
30832014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3084 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085
3086 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3087 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3088 multiarch strncat for PPC64.
3089 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3090 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3092 (__libc_ifunc_impl_list): Likewise.
3093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3094 multiarch optimizations
3095
8b4ff974
SP
30962014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3097
3098 [BZ #16639]
3099 * nscd/nscd.service: Make service type forking.
3100
54b46a4b
AZ
31012014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3102
3103 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3104 sign in non default rounding modes.
3105 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3106
e9996ef7
JM
31072014-03-08 Joseph Myers <joseph@codesourcery.com>
3108
3109 * math/libm-test.inc (ALL_RM_TEST): New macro.
3110 (ceil_test): Use ALL_RM_TEST.
3111 (cimag_test): Likewise.
3112 (conj_test): Likewise.
3113 (copysign_test): Likewise.
3114 (cproj_test): Likewise.
3115 (creal_test): Likewise.
3116 (fabs_test): Likewise.
3117 (floor_test): Likewise.
3118 (fmax_test): Likewise.
3119 (fmin_test): Likewise.
3120 (fmod_test): Likewise.
3121 (fpclassify_test): Likewise.
3122 (frexp_test): Likewise.
3123 (ilogb_test): Likewise.
3124 (isfinite_test): Likewise.
3125 (finite_test): Likewise.
3126 (isgreater_test): Likewise.
3127 (isgreaterequal_test): Likewise.
3128 (isinf_test): Likewise.
3129 (isless_test): Likewise.
3130 (islessequal_test): Likewise.
3131 (islessgreater_test): Likewise.
3132 (isnan_test): Likewise.
3133 (isnormal_test): Likewise.
3134 (issignaling_test): Likewise.
3135 (isunordered_test): Likewise.
3136 (logb_test): Likewise.
3137 (logb_downward_test_data): Remove.
3138 (logb_test_downward): Likewise.
3139 (lround_test): Use ALL_RM_TEST.
3140 (llround_test): Likewise.
3141 (modf_test): Likewise.
3142 (nexttoward_test): Likewise.
3143 (remainder_test): Likewise.
3144 (drem_test): Likewise.
3145 (remainder_tonearest_test_data): Likewise.
3146 (remainder_test_tonearest): Likewise.
3147 (drem_test_tonearest): Likewise.
3148 (remainder_towardzero_test_data): Likewise.
3149 (remainder_test_towardzero): Likewise.
3150 (drem_test_towardzero): Likewise.
3151 (remainder_downward_test_data): Likewise.
3152 (remainder_test_downward): Likewise.
3153 (drem_test_downward): Likewise.
3154 (remainder_upward_test_data): Likewise.
3155 (remainder_test_upward): Likewise.
3156 (drem_test_upward): Likewise.
3157 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3158 (round_test): Use ALL_RM_TEST.
3159 (signbit_test): Likewise.
3160 (trunc_test): Likewise.
3161 (significand_test): Likewise.
3162 (main): Don't call removed functions.
3163
bc61d27c
JM
31642014-03-07 Joseph Myers <joseph@codesourcery.com>
3165
5c780849
JM
3166 [BZ #16674]
3167 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3168 || __USE_XOPEN2K8].
3169 (ILL_ILLOPN): Likewise.
3170 (ILL_ILLADR): Likewise.
3171 (ILL_ILLTRP): Likewise.
3172 (ILL_PRVOPC): Likewise.
3173 (ILL_PRVREG): Likewise.
3174 (ILL_COPROC): Likewise.
3175 (ILL_BADSTK): Likewise.
3176 (FPE_INTDIV): Likewise.
3177 (FPE_INTOVF): Likewise.
3178 (FPE_FLTDIV): Likewise.
3179 (FPE_FLTOVF): Likewise.
3180 (FPE_FLTUND): Likewise.
3181 (FPE_FLTRES): Likewise.
3182 (FPE_FLTINV): Likewise.
3183 (FPE_FLTSUB): Likewise.
3184 (SEGV_MAPERR): Likewise.
3185 (SEGV_ACCERR): Likewise.
3186 (BUS_ADRALN): Likewise.
3187 (BUS_ADRERR): Likewise.
3188 (BUS_OBJERR): Likewise.
3189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3190 (TRAP_TRACE): Likewise.
3191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3192 __USE_XOPEN2K8].
3193 (CLD_KILLED): Likewise.
3194 (CLD_DUMPED): Likewise.
3195 (CLD_TRAPPED): Likewise.
3196 (CLD_STOPPED): Likewise.
3197 (CLD_CONTINUED): Likewise.
3198 (POLL_IN): Likewise.
3199 (POLL_OUT): Likewise.
3200 (POLL_MSG): Likewise.
3201 (POLL_ERR): Likewise.
3202 (POLL_PRI): Likewise.
3203 (POLL_HUP): Likewise.
3204 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3205 Likewise.
3206 (ILL_ILLOPN): Likewise.
3207 (ILL_ILLADR): Likewise.
3208 (ILL_ILLTRP): Likewise.
3209 (ILL_PRVOPC): Likewise.
3210 (ILL_PRVREG): Likewise.
3211 (ILL_COPROC): Likewise.
3212 (ILL_BADSTK): Likewise.
3213 (FPE_INTDIV): Likewise.
3214 (FPE_INTOVF): Likewise.
3215 (FPE_FLTDIV): Likewise.
3216 (FPE_FLTOVF): Likewise.
3217 (FPE_FLTUND): Likewise.
3218 (FPE_FLTRES): Likewise.
3219 (FPE_FLTINV): Likewise.
3220 (FPE_FLTSUB): Likewise.
3221 (SEGV_MAPERR): Likewise.
3222 (SEGV_ACCERR): Likewise.
3223 (BUS_ADRALN): Likewise.
3224 (BUS_ADRERR): Likewise.
3225 (BUS_OBJERR): Likewise.
3226 (BUS_MCEERR_AR): Likewise.
3227 (BUS_MCEERR_AO): Likewise.
3228 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3229 (TRAP_TRACE): Likewise.
3230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3231 __USE_XOPEN2K8].
3232 (CLD_KILLED): Likewise.
3233 (CLD_DUMPED): Likewise.
3234 (CLD_TRAPPED): Likewise.
3235 (CLD_STOPPED): Likewise.
3236 (CLD_CONTINUED): Likewise.
3237 (POLL_IN): Likewise.
3238 (POLL_OUT): Likewise.
3239 (POLL_MSG): Likewise.
3240 (POLL_ERR): Likewise.
3241 (POLL_PRI): Likewise.
3242 (POLL_HUP): Likewise.
3243 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3244 (ILL_ILLOPN): Likewise.
3245 (ILL_ILLADR): Likewise.
3246 (ILL_ILLTRP): Likewise.
3247 (ILL_PRVOPC): Likewise.
3248 (ILL_PRVREG): Likewise.
3249 (ILL_COPROC): Likewise.
3250 (ILL_BADSTK): Likewise.
3251 (FPE_INTDIV): Likewise.
3252 (FPE_INTOVF): Likewise.
3253 (FPE_FLTDIV): Likewise.
3254 (FPE_FLTOVF): Likewise.
3255 (FPE_FLTUND): Likewise.
3256 (FPE_FLTRES): Likewise.
3257 (FPE_FLTINV): Likewise.
3258 (FPE_FLTSUB): Likewise.
3259 (SEGV_MAPERR): Likewise.
3260 (SEGV_ACCERR): Likewise.
3261 (BUS_ADRALN): Likewise.
3262 (BUS_ADRERR): Likewise.
3263 (BUS_OBJERR): Likewise.
3264 (BUS_MCEERR_AR): Likewise.
3265 (BUS_MCEERR_AO): Likewise.
3266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3267 (TRAP_TRACE): Likewise.
3268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3269 __USE_XOPEN2K8].
3270 (CLD_KILLED): Likewise.
3271 (CLD_DUMPED): Likewise.
3272 (CLD_TRAPPED): Likewise.
3273 (CLD_STOPPED): Likewise.
3274 (CLD_CONTINUED): Likewise.
3275 (POLL_IN): Likewise.
3276 (POLL_OUT): Likewise.
3277 (POLL_MSG): Likewise.
3278 (POLL_ERR): Likewise.
3279 (POLL_PRI): Likewise.
3280 (POLL_HUP): Likewise.
3281 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3282 Likewise.
3283 (ILL_ILLOPN): Likewise.
3284 (ILL_ILLADR): Likewise.
3285 (ILL_ILLTRP): Likewise.
3286 (ILL_PRVOPC): Likewise.
3287 (ILL_PRVREG): Likewise.
3288 (ILL_COPROC): Likewise.
3289 (ILL_BADSTK): Likewise.
3290 (ILL_BADIADDR): Likewise.
3291 (ILL_BREAK): Likewise.
3292 (FPE_INTDIV): Likewise.
3293 (FPE_INTOVF): Likewise.
3294 (FPE_FLTDIV): Likewise.
3295 (FPE_FLTOVF): Likewise.
3296 (FPE_FLTUND): Likewise.
3297 (FPE_FLTRES): Likewise.
3298 (FPE_FLTINV): Likewise.
3299 (FPE_FLTSUB): Likewise.
3300 (FPE_DECOVF): Likewise.
3301 (FPE_DECDIV): Likewise.
3302 (FPE_DECERR): Likewise.
3303 (FPE_INVASC): Likewise.
3304 (FPE_INVDEC): Likewise.
3305 (SEGV_MAPERR): Likewise.
3306 (SEGV_ACCERR): Likewise.
3307 (SEGV_PSTKOVF): Likewise.
3308 (BUS_ADRALN): Likewise.
3309 (BUS_ADRERR): Likewise.
3310 (BUS_OBJERR): Likewise.
3311 (BUS_MCEERR_AR): Likewise.
3312 (BUS_MCEERR_AO): Likewise.
3313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3314 (TRAP_TRACE): Likewise.
3315 (TRAP_BRANCH): Likewise.
3316 (TRAP_HWBKPT): Likewise.
3317 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3318 __USE_XOPEN2K8].
3319 (CLD_KILLED): Likewise.
3320 (CLD_DUMPED): Likewise.
3321 (CLD_TRAPPED): Likewise.
3322 (CLD_STOPPED): Likewise.
3323 (CLD_CONTINUED): Likewise.
3324 (POLL_IN): Likewise.
3325 (POLL_OUT): Likewise.
3326 (POLL_MSG): Likewise.
3327 (POLL_ERR): Likewise.
3328 (POLL_PRI): Likewise.
3329 (POLL_HUP): Likewise.
3330 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3331 (ILL_ILLOPN): Likewise.
3332 (ILL_ILLADR): Likewise.
3333 (ILL_ILLTRP): Likewise.
3334 (ILL_PRVOPC): Likewise.
3335 (ILL_PRVREG): Likewise.
3336 (ILL_COPROC): Likewise.
3337 (ILL_BADSTK): Likewise.
3338 (FPE_INTDIV): Likewise.
3339 (FPE_INTOVF): Likewise.
3340 (FPE_FLTDIV): Likewise.
3341 (FPE_FLTOVF): Likewise.
3342 (FPE_FLTUND): Likewise.
3343 (FPE_FLTRES): Likewise.
3344 (FPE_FLTINV): Likewise.
3345 (FPE_FLTSUB): Likewise.
3346 (SEGV_MAPERR): Likewise.
3347 (SEGV_ACCERR): Likewise.
3348 (BUS_ADRALN): Likewise.
3349 (BUS_ADRERR): Likewise.
3350 (BUS_OBJERR): Likewise.
3351 (BUS_MCEERR_AR): Likewise.
3352 (BUS_MCEERR_AO): Likewise.
3353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3354 (TRAP_TRACE): Likewise.
3355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3356 __USE_XOPEN2K8].
3357 (CLD_KILLED): Likewise.
3358 (CLD_DUMPED): Likewise.
3359 (CLD_TRAPPED): Likewise.
3360 (CLD_STOPPED): Likewise.
3361 (CLD_CONTINUED): Likewise.
3362 (POLL_IN): Likewise.
3363 (POLL_OUT): Likewise.
3364 (POLL_MSG): Likewise.
3365 (POLL_ERR): Likewise.
3366 (POLL_PRI): Likewise.
3367 (POLL_HUP): Likewise.
3368 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3369 (ILL_ILLOPN): Likewise.
3370 (ILL_ILLADR): Likewise.
3371 (ILL_ILLTRP): Likewise.
3372 (ILL_PRVOPC): Likewise.
3373 (ILL_PRVREG): Likewise.
3374 (ILL_COPROC): Likewise.
3375 (ILL_BADSTK): Likewise.
3376 (FPE_INTDIV): Likewise.
3377 (FPE_INTOVF): Likewise.
3378 (FPE_FLTDIV): Likewise.
3379 (FPE_FLTOVF): Likewise.
3380 (FPE_FLTUND): Likewise.
3381 (FPE_FLTRES): Likewise.
3382 (FPE_FLTINV): Likewise.
3383 (FPE_FLTSUB): Likewise.
3384 (SEGV_MAPERR): Likewise.
3385 (SEGV_ACCERR): Likewise.
3386 (BUS_ADRALN): Likewise.
3387 (BUS_ADRERR): Likewise.
3388 (BUS_OBJERR): Likewise.
3389 (BUS_MCEERR_AR): Likewise.
3390 (BUS_MCEERR_AO): Likewise.
3391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3392 (TRAP_TRACE): Likewise.
3393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3394 __USE_XOPEN2K8].
3395 (CLD_KILLED): Likewise.
3396 (CLD_DUMPED): Likewise.
3397 (CLD_TRAPPED): Likewise.
3398 (CLD_STOPPED): Likewise.
3399 (CLD_CONTINUED): Likewise.
3400 (POLL_IN): Likewise.
3401 (POLL_OUT): Likewise.
3402 (POLL_MSG): Likewise.
3403 (POLL_ERR): Likewise.
3404 (POLL_PRI): Likewise.
3405 (POLL_HUP): Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3407 (ILL_ILLOPN): Likewise.
3408 (ILL_ILLADR): Likewise.
3409 (ILL_ILLTRP): Likewise.
3410 (ILL_PRVOPC): Likewise.
3411 (ILL_PRVREG): Likewise.
3412 (ILL_COPROC): Likewise.
3413 (ILL_BADSTK): Likewise.
3414 (FPE_INTDIV): Likewise.
3415 (FPE_INTOVF): Likewise.
3416 (FPE_FLTDIV): Likewise.
3417 (FPE_FLTOVF): Likewise.
3418 (FPE_FLTUND): Likewise.
3419 (FPE_FLTRES): Likewise.
3420 (FPE_FLTINV): Likewise.
3421 (FPE_FLTSUB): Likewise.
3422 (SEGV_MAPERR): Likewise.
3423 (SEGV_ACCERR): Likewise.
3424 (BUS_ADRALN): Likewise.
3425 (BUS_ADRERR): Likewise.
3426 (BUS_OBJERR): Likewise.
3427 (BUS_MCEERR_AR): Likewise.
3428 (BUS_MCEERR_AO): Likewise.
3429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3430 (TRAP_TRACE): Likewise.
3431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3432 __USE_XOPEN2K8].
3433 (CLD_KILLED): Likewise.
3434 (CLD_DUMPED): Likewise.
3435 (CLD_TRAPPED): Likewise.
3436 (CLD_STOPPED): Likewise.
3437 (CLD_CONTINUED): Likewise.
3438 (POLL_IN): Likewise.
3439 (POLL_OUT): Likewise.
3440 (POLL_MSG): Likewise.
3441 (POLL_ERR): Likewise.
3442 (POLL_PRI): Likewise.
3443 (POLL_HUP): Likewise.
3444 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3445 (ILL_ILLOPN): Likewise.
3446 (ILL_ILLADR): Likewise.
3447 (ILL_ILLTRP): Likewise.
3448 (ILL_PRVOPC): Likewise.
3449 (ILL_PRVREG): Likewise.
3450 (ILL_COPROC): Likewise.
3451 (ILL_BADSTK): Likewise.
3452 (ILL_DBLFLT): Likewise.
3453 (ILL_HARDWALL): Likewise.
3454 (FPE_INTDIV): Likewise.
3455 (FPE_INTOVF): Likewise.
3456 (FPE_FLTDIV): Likewise.
3457 (FPE_FLTOVF): Likewise.
3458 (FPE_FLTUND): Likewise.
3459 (FPE_FLTRES): Likewise.
3460 (FPE_FLTINV): Likewise.
3461 (FPE_FLTSUB): Likewise.
3462 (SEGV_MAPERR): Likewise.
3463 (SEGV_ACCERR): Likewise.
3464 (BUS_ADRALN): Likewise.
3465 (BUS_ADRERR): Likewise.
3466 (BUS_OBJERR): Likewise.
3467 (BUS_MCEERR_AR): Likewise.
3468 (BUS_MCEERR_AO): Likewise.
3469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3470 (TRAP_TRACE): Likewise.
3471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3472 __USE_XOPEN2K8].
3473 (CLD_KILLED): Likewise.
3474 (CLD_DUMPED): Likewise.
3475 (CLD_TRAPPED): Likewise.
3476 (CLD_STOPPED): Likewise.
3477 (CLD_CONTINUED): Likewise.
3478 (POLL_IN): Likewise.
3479 (POLL_OUT): Likewise.
3480 (POLL_MSG): Likewise.
3481 (POLL_ERR): Likewise.
3482 (POLL_PRI): Likewise.
3483 (POLL_HUP): Likewise.
3484 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3485 (ILL_ILLOPN): Likewise.
3486 (ILL_ILLADR): Likewise.
3487 (ILL_ILLTRP): Likewise.
3488 (ILL_PRVOPC): Likewise.
3489 (ILL_PRVREG): Likewise.
3490 (ILL_COPROC): Likewise.
3491 (ILL_BADSTK): Likewise.
3492 (FPE_INTDIV): Likewise.
3493 (FPE_INTOVF): Likewise.
3494 (FPE_FLTDIV): Likewise.
3495 (FPE_FLTOVF): Likewise.
3496 (FPE_FLTUND): Likewise.
3497 (FPE_FLTRES): Likewise.
3498 (FPE_FLTINV): Likewise.
3499 (FPE_FLTSUB): Likewise.
3500 (SEGV_MAPERR): Likewise.
3501 (SEGV_ACCERR): Likewise.
3502 (BUS_ADRALN): Likewise.
3503 (BUS_ADRERR): Likewise.
3504 (BUS_OBJERR): Likewise.
3505 (BUS_MCEERR_AR): Likewise.
3506 (BUS_MCEERR_AO): Likewise.
3507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3508 (TRAP_TRACE): Likewise.
3509 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3510 __USE_XOPEN2K8].
3511 (CLD_KILLED): Likewise.
3512 (CLD_DUMPED): Likewise.
3513 (CLD_TRAPPED): Likewise.
3514 (CLD_STOPPED): Likewise.
3515 (CLD_CONTINUED): Likewise.
3516 (POLL_IN): Likewise.
3517 (POLL_OUT): Likewise.
3518 (POLL_MSG): Likewise.
3519 (POLL_ERR): Likewise.
3520 (POLL_PRI): Likewise.
3521 (POLL_HUP): Likewise.
3522 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3523 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3524
bc61d27c
JM
3525 [BZ #16670]
3526 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3527 before #include of <time.h>.
3528 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3529 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3530 (test-xfail-UNIX98/sched.h/conform): Likewise.
3531
302949e2
MS
35322014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3533
3534 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3535 error absence of trapping exception support.
3536 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3537
a00f522a
JM
35382014-03-07 Joseph Myers <joseph@codesourcery.com>
3539
6f99f280
JM
3540 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3541 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3542 * timezone/Makefile (testdata): Move definition above include of
3543 Rules.
3544 (test-zones): New variable.
3545 (tests-special): Add zone files.
3546 (build-testdata): Use $(evaluate-test).
3547
0b20a9e8
JM
3548 * elf/Makefile (tests-special): Rename tests to end with .out.
3549 ($(objpfx)noload-mem): Likewise.
3550 ($(objpfx)tst-leaks1-mem): Likewise.
3551 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3552 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3553 $(objpfx)test-iconvconfig.out.
3554 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3555 set -e inside subshell and redirect output to file.
3556 * iconvdata/Makefile (generated): Rename tests to end with .out.
3557 Correct type.
3558 (tests-special): Rename tests to end with .out.
3559 ($(objpfx)mtrace-tst-loading): Likewise.
3560 * intl/Makefile (generated): Likewise.
3561 (tests-special): Likewise.
3562 ($(objpfx)mtrace-tst-gettext): Likewise.
3563 * misc/Makefile (generated): Likewise.
3564 (tests-special): Likewise.
3565 ($(objpfx)tst-error1-mem): Likewise.
3566 * nptl/Makefile (tests-special): Likewise.
3567 ($(objpfx)tst-stack3-mem): Likewise.
3568 (generated): Likewise.
3569 * posix/Makefile (generated): Likewise.
3570 (tests-special): Likewise.
3571 (xtests-special): Likewise.
3572 ($(objpfx)tst-fnmatch-mem): Likewise.
3573 ($(objpfx)bug-regex2-mem): Likewise.
3574 ($(objpfx)bug-regex14-mem): Likewise.
3575 ($(objpfx)bug-regex21-mem): Likewise.
3576 ($(objpfx)bug-regex31-mem): Likewise.
3577 ($(objpfx)tst-vfork3-mem): Likewise.
3578 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3579 ($(objpfx)tst-pcre-mem): Likewise.
3580 ($(objpfx)tst-boost-mem): Likewise.
3581 ($(objpfx)bug-ga2-mem): Likewise.
3582 ($(objpfx)bug-glob2-mem): Likewise.
3583 * resolv/Makefile (generate): Likewise.
3584 (tests-special): Likewise.
3585 (xtests-special): Likewise.
3586 (generated): Likewise.
3587 ($(objpfx)mtrace-tst-leaks): Likewise.
3588 ($(objpfx)mtrace-tst-leaks2): Likewise.
3589
265d52ab
JM
3590 * scripts/merge-test-results.sh: New file.
3591 * Makefile (tests-special-notdir): New variable.
3592 (tests): Run merge-test-results.sh.
3593 (xtests): Likewise.
3594 * Rules (tests-special-notdir): New variable.
3595 (xtests-special-notdir): Likewise.
3596 (tests): Run merge-test-results.sh
3597 (xtests): Likewise.
3598
54ee292d
JM
3599 * Makeconfig (test-xfail-name): New variable.
3600 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3601 compute variable name for expected failures.
3602 * conform/Makefile (conformtest-headers-data): New variable.
3603 (conformtest-standards): Likewise.
3604 (conformtest-headers-ISO): Likewise.
3605 (conformtest-headers-ISO99): Likewise.
3606 (conformtest-headers-ISO11): Likewise.
3607 (conformtest-headers-POSIX): Likewise.
3608 (conformtest-headers-XPG3): Likewise.
3609 (conformtest-headers-XPG4): Likewise.
3610 (conformtest-headers-UNIX98): Likewise.
3611 (conformtest-headers-XOPEN2K): Likewise.
3612 (conformtest-headers-POSIX2008): Likewise.
3613 (conformtest-headers-XOPEN2K8): Likewise.
3614 (conformtest-header-list-base): Likewise.
3615 (conformtest-header-list-tests): Likewise.
3616 (conformtest-header-base): Likewise.
3617 (conformtest-header-tests): Likewise.
3618 (tests-special): Add $(conformtest-header-list-tests). If
3619 [$(fast-check) && !$(cross-compiling)], add
3620 $(conformtest-header-tests) instead of
3621 $(objpfx)run-conformtest.out.
3622 (generated): Add $(conformtest-header-list-base). If
3623 [$(fast-check) && !$(cross-compiling)], add
3624 $(conformtest-header-base). Remove previous setting.
3625 ($(conformtest-header-list-tests)): New target.
3626 (test-xfail-run-conformtest): Remove variable.
3627 ($(objpfx)run-conformtest.out): Remove target.
3628 (test-xfail-ISO11/complex.h/conform): New variable.
3629 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3630 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3631 (test-xfail-XPG3/varargs.h/conform): Likewise.
3632 (test-xfail-XPG4/varargs.h/conform): Likewise.
3633 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3634 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3635 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3636 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3637 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3638 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3639 (test-xfail-XPG3/ftw.h/conform): Likewise.
3640 (test-xfail-XPG3/grp.h/conform): Likewise.
3641 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3642 (test-xfail-XPG3/limits.h/conform): Likewise.
3643 (test-xfail-XPG3/pwd.h/conform): Likewise.
3644 (test-xfail-XPG3/search.h/conform): Likewise.
3645 (test-xfail-XPG3/signal.h/conform): Likewise.
3646 (test-xfail-XPG3/stdio.h/conform): Likewise.
3647 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3648 (test-xfail-XPG3/string.h/conform): Likewise.
3649 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3650 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3651 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3652 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3653 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3654 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3655 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3656 (test-xfail-XPG3/termios.h/conform): Likewise.
3657 (test-xfail-XPG3/time.h/conform): Likewise.
3658 (test-xfail-XPG3/unistd.h/conform): Likewise.
3659 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3660 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3661 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3662 (test-xfail-XPG4/netdb.h/conform): Likewise.
3663 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3664 (test-xfail-XPG4/signal.h/conform): Likewise.
3665 (test-xfail-XPG4/stdio.h/conform): Likewise.
3666 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3667 (test-xfail-XPG4/stropts.h/conform): Likewise.
3668 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3669 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3670 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3671 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3672 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3673 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3674 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3675 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3676 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3677 (test-xfail-XPG4/termios.h/conform): Likewise.
3678 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3679 (test-xfail-XPG4/unistd.h/conform): Likewise.
3680 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3681 (test-xfail-POSIX/sched.h/conform): Likewise.
3682 (test-xfail-POSIX/signal.h/conform): Likewise.
3683 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3684 (test-xfail-POSIX/tar.h/conform): Likewise.
3685 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3686 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3687 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3688 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3689 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3690 (test-xfail-UNIX98/sched.h/conform): Likewise.
3691 (test-xfail-UNIX98/signal.h/conform): Likewise.
3692 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3693 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3694 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3695 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3696 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3697 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3698 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3699 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3700 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3701 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3702 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3703 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3704 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3705 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3706 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3707 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3708 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3709 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3710 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3711 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3712 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3713 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3714 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3715 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3716 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3717 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3718 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3719 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3720 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3721 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3722 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3723 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3724 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3725 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3726 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3727 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3728 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3729 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3730 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3731 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3732 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3733 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3734 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3735 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3736 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3737 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3738 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3739 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3740 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3741 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3742 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3743 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3744 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3745 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3746 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3747 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3748 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3749 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3750 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3751 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3752 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3753 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3754 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3755 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3756 (conformtest-cc-flags): Likewise.
3757 ($(conformtest-header-tests): New target.
3758 * conform/check-header-lists.sh: New file.
3759 * conform/run-conformtest.sh: Remove.
3760
a00f522a
JM
3761 * conform/conformtest.pl: Allow ' and \ in values given for
3762 constants.
3763 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3764 inclusion.
3765 [POSIX] (sys/types.h): Likewise.
3766 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3767 inclusion.
3768 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3769 inclusion.
3770 * conform/data/signal.h-data (SIGIO): Remove expectation.
3771 [XPG3] (SIGBUS): Do not expect.
3772 [POSIX || XPG3] (SIGPOLL): Likewise.
3773 [POSIX || XPG3] (SIGPROF): Likewise.
3774 [POSIX || XPG3] (SIGSYS): Likewise.
3775 [XPG3] (SIGTRAP): Likewise.
3776 [POSIX || XPG3] (SIGURG): Likewise.
3777 [POSIX || XPG3] (SIGVTALRM): Likewise.
3778 [POSIX || XPG3] (SIGXCPU): Likewise.
3779 [POSIX || XPG3] (SIGXFSZ): Likewise.
3780 [POSIX] (SA_SIGINFO): Expect.
3781 [XPG3] (siginfo_t): Do not expect type or contents.
3782 [POSIX] (si_pid): Do not expect element.
3783 [POSIX] (si_uid): Likewise.
3784 [POSIX] (si_addr): Likewise.
3785 [POSIX] (si_status): Likewise.
3786 [POSIX] (si_band): Likewise.
3787 [XPG4] (si_value): Likewise.
3788 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3789 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3790 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3791 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3792 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3793 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3794 [POSIX || XPG3] (ILL_COPROC): Likewise.
3795 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3796 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3797 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3798 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3799 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3800 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3801 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3802 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3803 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3804 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3805 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3806 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3807 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3808 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3809 [POSIX || XPG3] (CLD_EXITED): Likewise.
3810 [POSIX || XPG3] (CLD_KILLED): Likewise.
3811 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3812 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3813 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3814 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3815 [POSIX || XPG3] (POLL_IN): Likewise.
3816 [POSIX || XPG3] (POLL_OUT): Likewise.
3817 [POSIX || XPG3] (POLL_MSG): Likewise.
3818 [POSIX || XPG3] (POLL_ERR): Likewise.
3819 [POSIX || XPG3] (POLL_PRI): Likewise.
3820 [POSIX || XPG3] (POLL_HUP): Likewise.
3821 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3822 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3823 (SIG*): Do not allow.
3824 [XPG3] (si_*): Likewise.
3825 [XPG3] (SI_*): Likewise.
3826 [XPG3 || XPG4] (sigev_*): Likewise.
3827 [XPG3 || XPG4] (SIGEV_*): Likewise.
3828 [XPG3 || XPG4] (sival_*): Likewise.
3829 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3830 [POSIX || XPG3] (BUS_*): Likewise.
3831 [POSIX || XPG3] (CLD_*): Likewise.
3832 [POSIX || XPG3] (FPE_*): Likewise.
3833 [POSIX || XPG3] (ILL_*): Likewise.
3834 [POSIX || XPG3] (POLL_*): Likewise.
3835 [POSIX || XPG3] (SEGV_*): Likewise.
3836 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3837 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3838 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3839 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3840 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3841 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3842 Specify type and value.
3843 (TVERSLEN): Likewise.
3844 (REGTYPE): Likewise.
3845 (AREGTYPE): Likewise.
3846 (LNKTYPE): Likewise.
3847 (SYMTYPE): Likewise.
3848 (CHRTYPE): Likewise.
3849 (BLKTYPE): Likewise.
3850 (DIRTYPE): Likewise.
3851 (FIFOTYPE): Likewise.
3852 (CONTTYPE): Likewise.
3853 (TSUID): Likewise.
3854 (TSGID): Likewise.
3855 (TSVTX): Likewise.
3856 (TUREAD): Likewise.
3857 (TUWRITE): Likewise.
3858 (TUEXEC): Likewise.
3859 (TGREAD): Likewise.
3860 (TGWRITE): Likewise.
3861 (TGEXEC): Likewise.
3862 (TOREAD): Likewise.
3863 (TOWRITE): Likewise.
3864 (TOEXEC): Likewise.
3865 [POSIX] (TSVTX): Expect constant.
3866
aa97dee1
JM
38672014-03-06 Joseph Myers <joseph@codesourcery.com>
3868
f214606a
JM
3869 * Makefile (tests): Change dependencies to ....
3870 (tests-special): ... additions to this variable.
3871 (tests): Depend on $(tests-special).
3872 * Makerules (check-abi-list): New variable.
3873 (check-abi): Depend on $(check-abi-list).
3874 [$(subdir) = elf] (tests-special): Add
3875 $(objpfx)check-abi-libc.out.
3876 [$(build-shared) = yes && subdir] (tests-special): Add
3877 $(check-abi-list).
3878 [$(build-shared) = yes && subdir] (tests): Do not depend on
3879 check-abi.
3880 * Rules (tests): Depend on $(tests-special).
3881 (xtests): Depend on $(xtests-special).
3882 * catgets/Makefile (tests): Change dependencies to ....
3883 (tests-special): ... additions to this variable.
3884 * conform/Makefile (tests): Change dependencies to ....
3885 (tests-special): ... additions to this variable.
3886 * elf/Makefile (tests): Change dependencies to ....
3887 (tests-special): ... additions to this variable.
3888 * grp/Makefile (tests): Change dependencies to ....
3889 (tests-special): ... additions to this variable.
3890 * iconv/Makefile (xtests): Change dependencies to ....
3891 (xtests-special): ... additions to this variable.
3892 * iconvdata/Makefile (tests): Change dependencies to ....
3893 (tests-special): ... additions to this variable.
3894 * intl/Makefile (tests): Change dependencies to ....
3895 (tests-special): ... additions to this variable. Also add
3896 $(objpfx)tst-gettext.out.
3897 * io/Makefile (tests): Change dependencies to ....
3898 (tests-special): ... additions to this variable.
3899 * libio/Makefile (tests): Change dependencies to ....
3900 (tests-special): ... additions to this variable.
3901 * malloc/Makefile (tests): Change dependencies to ....
3902 (tests-special): ... additions to this variable.
3903 * misc/Makefile (tests): Change dependencies to ....
3904 (tests-special): ... additions to this variable.
3905 * nptl/Makefile (tests): Change dependencies to ....
3906 (tests-special): ... additions to this variable.
3907 * nptl_db/Makefile (tests): Change dependencies to ....
3908 (tests-special): ... additions to this variable.
3909 * posix/Makefile (tests): Change dependencies to ....
3910 (tests-special): ... additions to this variable.
3911 (xtests): Change dependencies to ....
3912 (xtests-special): ... additions to this variable.
3913 * resolv/Makefile (tests): Change dependencies to ....
3914 (tests-special): ... additions to this variable.
3915 (xtests): Change dependencies to ....
3916 (xtests-special): ... additions to this variable.
3917 * stdio-common/Makefile (tests): Change dependencies to ....
3918 (tests-special): ... additions to this variable.
3919 (do-tst-unbputc): Remove target.
3920 (do-tst-printf): Likewise.
3921 * stdlib/Makefile (tests): Change dependencies to ....
3922 (tests-special): ... additions to this variable.
3923 * string/Makefile (tests): Change dependencies to ....
3924 (tests-special): ... additions to this variable.
3925 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3926 (tests-special): ... additions to this variable.
3927
81700b53
JM
3928 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3929 whole file.
3930 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3931 whole file.
3932 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3933 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3934
2ea18461
JM
3935 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3936 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3937 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3938 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3939 * conform/data/libgen.h-data [XPG3]: Likewise.
3940 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3941 * conform/data/ndbm.h-data [XPG3]: Likewise.
3942 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3943 * conform/data/netdb.h-data [XPG3]: Likewise.
3944 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3945 * conform/data/poll.h-data [XPG3]: Likewise.
3946 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3947 * conform/data/strings.h-data [XPG3]: Likewise.
3948 * conform/data/stropts.h-data [XPG3]: Likewise.
3949 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3950 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3951 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3952 Likewise.
3953 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3954 * conform/data/sys/time.h-data [XPG3]: Likewise.
3955 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3956 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3957 * conform/data/sys/un.h-data [XPG3]: Likewise.
3958 * conform/data/syslog.h-data [XPG3]: Likewise.
3959 * conform/data/ucontext.h-data [XPG3]: Likewise.
3960 * conform/data/utmpx.h-data [XPG3]: Likewise.
3961 * conform/data/varargs.h-data [UNIX98]: Enable file.
3962
355bc986
JM
3963 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3964
215db402
JM
3965 * math/libm-test.inc (struct test_f_f_data): Move expected results
3966 into structure for each rounding mode.
3967 (struct test_ff_f_data): Likewise.
3968 (struct test_ff_f_data_nexttoward): Likewise.
3969 (struct test_fi_f_data): Likewise.
3970 (struct test_fl_f_data): Likewise.
3971 (struct test_if_f_data): Likewise.
3972 (struct test_fff_f_data): Likewise.
3973 (struct test_c_f_data): Likewise.
3974 (struct test_f_f1_data): Likewise.
3975 (struct test_fF_f1_data): Likewise.
3976 (struct test_ffI_f1_data): Likewise.
3977 (struct test_c_c_data): Likewise.
3978 (struct test_cc_c_data): Likewise.
3979 (struct test_f_i_data): Likewise.
3980 (struct test_ff_i_data): Likewise.
3981 (struct test_f_l_data): Likewise.
3982 (struct test_f_L_data): Likewise.
3983 (struct test_fFF_11_data): Likewise.
3984 (RM_): New macro.
3985 (RM_FE_DOWNWARD): Likewise.
3986 (RM_FE_TONEAREST): Likewise.
3987 (RM_FE_TOWARDZERO): Likewise.
3988 (RM_FE_UPWARD): Likewise.
3989 (RUN_TEST_LOOP_f_f): Update references to expected results.
3990 (RUN_TEST_LOOP_2_f): Likewise.
3991 (RUN_TEST_LOOP_fff_f): Likewise.
3992 (RUN_TEST_LOOP_c_f): Likewise.
3993 (RUN_TEST_LOOP_f_f1): Likewise.
3994 (RUN_TEST_LOOP_fF_f1): Likewise.
3995 (RUN_TEST_LOOP_fI_f1): Likewise.
3996 (RUN_TEST_LOOP_ffI_f1): Likewise.
3997 (RUN_TEST_LOOP_c_c): Likewise.
3998 (RUN_TEST_LOOP_cc_c): Likewise.
3999 (RUN_TEST_LOOP_f_i): Likewise.
4000 (RUN_TEST_LOOP_f_i_tg): Likewise.
4001 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4002 (RUN_TEST_LOOP_f_b): Likewise.
4003 (RUN_TEST_LOOP_f_b_tg): Likewise.
4004 (RUN_TEST_LOOP_f_l): Likewise.
4005 (RUN_TEST_LOOP_f_L): Likewise.
4006 (RUN_TEST_LOOP_fFF_11): Likewise.
4007 * math/gen-libm-test.pl (parse_args): Output four copies of
4008 expected results for each test.
4009
67737b8f
JM
4010 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4011 (__ASSUME_UTIMES): Remove.
4012 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4013 (__ASSUME_UTIMES): Likewise.
4014
aa97dee1
JM
4015 * math/gen-auto-libm-tests.c: Update comment on output format.
4016 (output_for_one_input_case): Generate before-rounding and
4017 after-rounding information as conditions on output flags not
4018 floating-point format.
4019 * math/auto-libm-test-out: Regenerated.
4020 * math/gen-libm-test.pl (cond_value): New function.
4021 (or_cond_value): Use cond_value.
4022 (generate_testfile): Handle conditional exceptions.
4023
e6b6a857
JM
40242014-03-05 Joseph Myers <joseph@codesourcery.com>
4025
2f0a0f44
JM
4026 * math/libm-test.inc (max_valid_error): New variable.
4027 (init_max_error): Take new argument specifying whether function
4028 results are exactly determined. Set max_valid_error and bound
4029 other variables for errors based on this argument.
4030 (set_max_error): Do not record results above max_valid_error.
4031 (check_float_internal): Only accept errors of up to 0.5ulps if
4032 also at most max_valid_error.
4033 (START): Take new argument EXACT and pass it to init_max_error.
4034 (acos_test): Update call to START.
4035 (acos_test_tonearest): Likewise.
4036 (acos_test_towardzero): Likewise.
4037 (acos_test_downward): Likewise.
4038 (acos_test_upward): Likewise.
4039 (acosh_test): Likewise.
4040 (asin_test): Likewise.
4041 (asin_test_tonearest): Likewise.
4042 (asin_test_towardzero): Likewise.
4043 (asin_test_downward): Likewise.
4044 (asin_test_upward): Likewise.
4045 (asinh_test): Likewise.
4046 (atan_test): Likewise.
4047 (atanh_test): Likewise.
4048 (atan2_test): Likewise.
4049 (cabs_test): Likewise.
4050 (cacos_test): Likewise.
4051 (cacosh_test): Likewise.
4052 (carg_test): Likewise.
4053 (casin_test): Likewise.
4054 (casinh_test): Likewise.
4055 (catan_test): Likewise.
4056 (catanh_test): Likewise.
4057 (cbrt_test): Likewise.
4058 (ccos_test): Likewise.
4059 (ccosh_test): Likewise.
4060 (ceil_test): Likewise.
4061 (cexp_test): Likewise.
4062 (cimag_test): Likewise.
4063 (clog_test): Likewise.
4064 (clog10_test): Likewise.
4065 (conj_test): Likewise.
4066 (copysign_test): Likewise.
4067 (cos_test): Likewise.
4068 (cos_test_tonearest): Likewise.
4069 (cos_test_towardzero): Likewise.
4070 (cos_test_downward): Likewise.
4071 (cos_test_upward): Likewise.
4072 (cosh_test): Likewise.
4073 (cosh_test_tonearest): Likewise.
4074 (cosh_test_towardzero): Likewise.
4075 (cosh_test_downward): Likewise.
4076 (cosh_test_upward): Likewise.
4077 (cpow_test): Likewise.
4078 (cproj_test): Likewise.
4079 (creal_test): Likewise.
4080 (csin_test): Likewise.
4081 (csinh_test): Likewise.
4082 (csqrt_test): Likewise.
4083 (ctan_test): Likewise.
4084 (ctan_test_tonearest): Likewise.
4085 (ctan_test_towardzero): Likewise.
4086 (ctan_test_downward): Likewise.
4087 (ctan_test_upward): Likewise.
4088 (ctanh_test): Likewise.
4089 (ctanh_test_tonearest): Likewise.
4090 (ctanh_test_towardzero): Likewise.
4091 (ctanh_test_downward): Likewise.
4092 (ctanh_test_upward): Likewise.
4093 (erf_test): Likewise.
4094 (erfc_test): Likewise.
4095 (exp_test): Likewise.
4096 (exp_test_tonearest): Likewise.
4097 (exp_test_towardzero): Likewise.
4098 (exp_test_downward): Likewise.
4099 (exp_test_upward): Likewise.
4100 (exp10_test): Likewise.
4101 (exp10_test_tonearest): Likewise.
4102 (exp10_test_towardzero): Likewise.
4103 (exp10_test_downward): Likewise.
4104 (exp10_test_upward): Likewise.
4105 (pow10_test): Likewise.
4106 (exp2_test): Likewise.
4107 (expm1_test): Likewise.
4108 (expm1_test_tonearest): Likewise.
4109 (expm1_test_towardzero): Likewise.
4110 (expm1_test_downward): Likewise.
4111 (expm1_test_upward): Likewise.
4112 (fabs_test): Likewise.
4113 (fdim_test): Likewise.
4114 (floor_test): Likewise.
4115 (fma_test): Likewise.
4116 (fma_test_towardzero): Likewise.
4117 (fma_test_downward): Likewise.
4118 (fma_test_upward): Likewise.
4119 (fmax_test): Likewise.
4120 (fmin_test): Likewise.
4121 (fmod_test): Likewise.
4122 (fpclassify_test): Likewise.
4123 (frexp_test): Likewise.
4124 (hypot_test): Likewise.
4125 (ilogb_test): Likewise.
4126 (isfinite_test): Likewise.
4127 (finite_test): Likewise.
4128 (isgreater_test): Likewise.
4129 (isgreaterequal_test): Likewise.
4130 (isinf_test): Likewise.
4131 (isless_test): Likewise.
4132 (islessequal_test): Likewise.
4133 (islessgreater_test): Likewise.
4134 (isnan_test): Likewise.
4135 (isnormal_test): Likewise.
4136 (issignaling_test): Likewise.
4137 (isunordered_test): Likewise.
4138 (j0_test): Likewise.
4139 (j1_test): Likewise.
4140 (jn_test): Likewise.
4141 (ldexp_test): Likewise.
4142 (lgamma_test): Likewise.
4143 (gamma_test): Likewise.
4144 (lrint_test): Likewise.
4145 (lrint_test_tonearest): Likewise.
4146 (lrint_test_towardzero): Likewise.
4147 (lrint_test_downward): Likewise.
4148 (lrint_test_upward): Likewise.
4149 (llrint_test): Likewise.
4150 (llrint_test_tonearest): Likewise.
4151 (llrint_test_towardzero): Likewise.
4152 (llrint_test_downward): Likewise.
4153 (llrint_test_upward): Likewise.
4154 (log_test): Likewise.
4155 (log10_test): Likewise.
4156 (log1p_test): Likewise.
4157 (log2_test): Likewise.
4158 (logb_test): Likewise.
4159 (logb_test_downward): Likewise.
4160 (lround_test): Likewise.
4161 (llround_test): Likewise.
4162 (modf_test): Likewise.
4163 (nearbyint_test): Likewise.
4164 (nextafter_test): Likewise.
4165 (nexttoward_test): Likewise.
4166 (pow_test): Likewise.
4167 (pow_test_tonearest): Likewise.
4168 (pow_test_towardzero): Likewise.
4169 (pow_test_downward): Likewise.
4170 (pow_test_upward): Likewise.
4171 (remainder_test): Likewise.
4172 (drem_test): Likewise.
4173 (remainder_test_tonearest): Likewise.
4174 (drem_test_tonearest): Likewise.
4175 (remainder_test_towardzero): Likewise.
4176 (drem_test_towardzero): Likewise.
4177 (remainder_test_downward): Likewise.
4178 (drem_test_downward): Likewise.
4179 (remainder_test_upward): Likewise.
4180 (drem_test_upward): Likewise.
4181 (remquo_test): Likewise.
4182 (rint_test): Likewise.
4183 (rint_test_tonearest): Likewise.
4184 (rint_test_towardzero): Likewise.
4185 (rint_test_downward): Likewise.
4186 (rint_test_upward): Likewise.
4187 (round_test): Likewise.
4188 (scalb_test): Likewise.
4189 (scalbn_test): Likewise.
4190 (scalbln_test): Likewise.
4191 (signbit_test): Likewise.
4192 (sin_test): Likewise.
4193 (sin_test_tonearest): Likewise.
4194 (sin_test_towardzero): Likewise.
4195 (sin_test_downward): Likewise.
4196 (sin_test_upward): Likewise.
4197 (sincos_test): Likewise.
4198 (sinh_test): Likewise.
4199 (sinh_test_tonearest): Likewise.
4200 (sinh_test_towardzero): Likewise.
4201 (sinh_test_downward): Likewise.
4202 (sinh_test_upward): Likewise.
4203 (sqrt_test): Likewise.
4204 (sqrt_test_tonearest): Likewise.
4205 (sqrt_test_towardzero): Likewise.
4206 (sqrt_test_downward): Likewise.
4207 (sqrt_test_upward): Likewise.
4208 (tan_test): Likewise.
4209 (tan_test_tonearest): Likewise.
4210 (tan_test_towardzero): Likewise.
4211 (tan_test_downward): Likewise.
4212 (tan_test_upward): Likewise.
4213 (tanh_test): Likewise.
4214 (tgamma_test): Likewise.
4215 (trunc_test): Likewise.
4216 (y0_test): Likewise.
4217 (y1_test): Likewise.
4218 (yn_test): Likewise.
4219 (significand_test): Likewise.
4220
e6b6a857
JM
4221 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4222 individual tests in comment.
4223 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4224 (prev_max_error): New variable.
4225 (prev_real_max_error): Likewise.
4226 (prev_imag_max_error): Likewise.
4227 (compare_ulp_data): Don't refer to test names in comment.
4228 (find_test_ulps): Remove function.
4229 (find_function_ulps): Likewise.
4230 (find_complex_function_ulps): Likewise.
4231 (init_max_error): Take function name as argument. Look up ulps
4232 for that function.
4233 (print_ulps): Remove function.
4234 (print_max_error): Use prev_max_error instead of calling
4235 find_function_ulps.
4236 (print_complex_max_error): Use prev_real_max_error and
4237 prev_imag_max_error instead of calling find_complex_function_ulps.
4238 (check_float_internal): Take max_ulp parameter instead of calling
4239 find_test_ulps. Don't call print_ulps.
4240 (check_float): Update call to check_float_internal.
4241 (check_complex): Update calls to check_float_internal.
4242 (START): Pass argument to init_max_error.
4243 * math/gen-libm-test.pl (%results): Don't include "kind"
4244 information.
4245 (parse_ulps): Don't handle ulps of individual tests.
4246 (print_ulps_file): Likewise.
4247 (output_ulps): Likewise.
4248 * math/README.libm-test: Update.
4249 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4250 individual tests.
4251 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4252 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4253 * sysdeps/arm/libm-test-ulps: Likewise.
4254 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4255 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4256 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4257 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4258 * sysdeps/microblaze/libm-test-ulps: Likewise.
4259 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4262 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4263 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4264 * sysdeps/sh/libm-test-ulps: Likewise.
4265 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4266 * sysdeps/tile/libm-test-ulps: Likewise.
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4268
45adef3c
JM
42692014-03-04 Joseph Myers <joseph@codesourcery.com>
4270
4271 * math/libm-test.inc (print_complex_max_error): Check separately
4272 whether real and imaginary errors are within allowed range and
4273 pass 0 to print_complex_function_ulps instead of value within
4274 allowed range.
4275
000232b9
SP
42762014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4277
d4b17258
SP
4278 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4279 formatting.
4280 (get_handles_fopen): Likewise.
4281 (do_write_test): Likewise.
4282
091eff71
SP
4283 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4284
fa3cd248
SP
4285 * libio/fileops.c (do_ftell): Use cached offset when
4286 available.
4287 * libio/iofwide.c (do_ftell_wide): Likewise.
4288 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4289 _IO_file_attach.
4290 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4291
000232b9
SP
4292 [BZ #16532]
4293 * libio/libioP.h (get_file_offset): New function.
4294 * libio/fileops.c (get_file_offset): Likewise.
4295 (do_ftell): Likewise.
4296 (_IO_new_file_seekoff): Split out ftell logic.
4297 * libio/wfileops.c (do_ftell_wide): Likewise.
4298 (_IO_wfile_seekoff): Split out ftell logic.
4299 * libio/tst-ftell-active-handler.c: New test case.
4300 * libio/Makefile (tests): Add it.
4301
116f4d1a
RM
43022014-03-03 Roland McGrath <roland@hack.frob.com>
4303
4304 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4305 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4306
532a6035
SP
43072014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4308
4309 [BZ #16639]
4310 * nscd/connections.c (nscd_init): Call do_exit.
4311 (start_threads): Call do_exit and notify_parent.
4312 (begin_drop_privileges): Call do_exit.
4313 (finish_drop_privileges): Likewise.
4314 * nscd/selinux.c (preserve_capabilities): Likewise.
4315 (install_real_capabilities): Likewise.
4316 (nscd_selinux_enabled): Likewise.
4317 (avc_create_thread): Likewise.
4318 (avc_alloc_lock): Likewise.
4319 (nscd_avc_init): Likewise.
4320 * nscd/nscd.c (parent_fd): New static variable.
4321 (main): Create a pipe between parent and child processes.
4322 Skip closing parent_fd.
4323 (monitor_child): New function.
4324 (do_exit): Likewise.
4325 (notify_parent): Likewise.
4326 * nscd/nscd.h (notify_parent): Likewise.
4327 (do_exit): Likewise.
4328
d6285c9f
CD
43292014-03-03 Carlos O'Donell <carlos@redhat.com>
4330
4331 * malloc/malloc.c (__libc_calloc): Revert last change.
4332
2b85d2a0
AZ
43332014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334
4335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4336
c7debbdf
RS
43372014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4338
4339 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4341 implementation.
4342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4343 (__libc_ifunc_impl_list): Likewise.
4344 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4345 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4346 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4347 * string/strrchr.c: Define STRRCHR.
4348
235eed86
OB
43492014-02-28 Ondřej Bílka <neleai@seznam.cz>
4350
4351 * benchtest/bench-strtok.c (simple_strtok): Delete.
4352 (strtok_string): Use as benchmark.
4353 * string/strtok (STRTOK): New macro.
4354
8e25d1e7
CD
43552014-02-28 Carlos O'Donell <carlos@redhat.com>
4356
ef563f92
CD
4357 * manual/threads.texi: Add header and standard comments to all
4358 functions.
4359
8e25d1e7
CD
4360 * elf/dl-lookup.c (check_match): New function.
4361 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4362 (do_lookup_x): Remove nested function check_match. Use non-nested
4363 function check_match.
4364
ff71cc37
RM
43652014-02-28 Roland McGrath <roland@hack.frob.com>
4366
f08e9a26
RM
4367 * csu/Makefile (generated, before-compile): Use += rather than =.
4368 * catgets/Makefile (generated, generated-dirs): Likewise.
4369 * debug/Makefile (generated): Likewise.
4370 * dlfcn/Makefile (generated): Likewise.
4371 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4372 * iconvdata/Makefile (before-compile, generated): Likewise.
4373 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4374 * libio/Makefile (generated): Likewise.
4375 * malloc/Makefile (generated): Likewise.
4376 * manual/Makefile (generated, generated-dirs): Likewise.
4377 * misc/Makefile (generated): Likewise.
4378 * posix/Makefile (generated): Likewise.
4379 * resolv/Makefile (generated): Likewise.
4380 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4381 * timezone/Makefile (generated, generated-dirs): Likewise.
4382
ff71cc37
RM
4383 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4384
fe13a20c
AZ
43852014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
57f41c40
AS
4387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4388 power8 implementation.
4389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4390 file: POWER8 llround ifunc implementation.
4391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4392 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4393 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4394 POWER8 llround implementation.
4395
57f41c40
AS
4396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4397 power8 implementation.
4398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4399 file: POWER8 llrint ifunc implementation.
4400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4401 Add POWER8 implementation.
1ad8950a
AZ
4402 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4403 POWER8 llrint implementation.
4404
57f41c40
AS
4405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4406 power8 implementation.
4407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4408 file: POWER8 finite ifunc implementation.
4409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4410 Add POWER8 implementation.
cac626d6
AZ
4411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4412 Likewise.
4413 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4414 POWER8 finite implementation.
4415 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4416
57f41c40
AS
4417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4418 power8 implementation.
4419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4420 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4422 POWER8 implementation.
4423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4424 Likewise.
57f41c40
AS
4425 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4426 isinf implementation.
4393fc11
AZ
4427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4428
57f41c40
AS
4429 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4430 (INIT_ARCH): Add hwcap2 initialization.
4431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4432 power8 implementation.
4433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4434 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4436 POWER8 implementation.
4437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4438 Likewise.
57f41c40
AS
4439 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4440 isnan implementation.
487972ae
AZ
4441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4442
7d92b787
JY
44432014-02-27 Joey Ye <joey.ye@arm.com>
4444
4445 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4446 (_FP_NANFRAC_Q): Set to zero.
4447
1cadc858
SP
44482014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4449
4450 [BZ #16623]
4451 * math/auto-libm-test-in: New test inputs.
4452 * math/auto-libm-test-out: Regenerate.
4453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4454 and DA.
4455 (__cos): Likewise.
4456 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4457
f8c17e79
JM
44582014-02-27 Joseph Myers <joseph@codesourcery.com>
4459
4460 * scripts/evaluate-test.sh: Take new argument indicating whether
4461 failure is expected.
4462 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4463 indicating whether failure is expected.
4464 * conform/Makefile (test-xfail-run-conformtest): New variable.
4465 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4466 level.
4467 * posix/Makefile (test-xfail-annexc): New variable.
4468 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4469
a5f891ac
JM
44702014-02-26 Joseph Myers <joseph@codesourcery.com>
4471
4472 * argp/Makefile: Include Makeconfig immediately after defining
4473 subdir.
4474 * assert/Makefile: Likewise.
4475 * benchtests/Makefile: Likewise.
4476 * catgets/Makefile: Likewise.
4477 * conform/Makefile: Likewise.
4478 * crypt/Makefile: Likewise.
4479 * csu/Makefile: Likewise.
4480 (all): Remove target.
4481 * ctype/Makefile: Include Makeconfig immediately after defining
4482 subdir.
4483 * debug/Makefile: Likewise.
4484 * dirent/Makefile: Likewise.
4485 * dlfcn/Makefile: Likewise.
4486 * gmon/Makefile: Likewise.
4487 * gnulib/Makefile: Likewise.
4488 * grp/Makefile: Likewise.
4489 * gshadow/Makefile: Likewise.
4490 * hesiod/Makefile: Likewise.
4491 * hurd/Makefile: Likewise.
4492 (all): Remove target.
4493 * iconvdata/Makefile: Include Makeconfig immediately after
4494 defining subdir.
4495 * inet/Makefile: Likewise.
4496 * intl/Makefile: Likewise.
4497 * io/Makefile: Likewise.
4498 * libio/Makefile: Likewise.
4499 (all): Remove target.
4500 * locale/Makefile: Include Makeconfig immediately after defining
4501 subdir.
4502 * login/Makefile: Likewise.
4503 * mach/Makefile: Likewise.
4504 (all): Remove target.
4505 * malloc/Makefile: Include Makeconfig immediately after defining
4506 subdir.
4507 (all): Remove target.
4508 * manual/Makefile: Include Makeconfig immediately after defining
4509 subdir.
4510 * math/Makefile: Likewise.
4511 * misc/Makefile: Likewise.
4512 * nis/Makefile: Likewise.
4513 * nss/Makefile: Likewise.
4514 * po/Makefile: Likewise.
4515 (all): Remove target.
4516 * posix/Makefile: Include Makeconfig immediately after defining
4517 subdir.
4518 * pwd/Makefile: Likewise.
4519 * resolv/Makefile: Likewise.
4520 * resource/Makefile: Likewise.
4521 * rt/Makefile: Likewise.
4522 * setjmp/Makefile: Likewise.
4523 * shadow/Makefile: Likewise.
4524 * signal/Makefile: Likewise.
4525 * socket/Makefile: Likewise.
4526 * soft-fp/Makefile: Likewise.
4527 * stdio-common/Makefile: Likewise.
4528 * stdlib/Makefile: Likewise.
4529 * streams/Makefile: Likewise.
4530 * string/Makefile: Likewise.
4531 * sunrpc/Makefile: Likewise.
4532 (all): Remove target.
4533 * sysvipc/Makefile: Include Makeconfig immediately after defining
4534 subdir.
4535 * termios/Makefile: Likewise.
4536 * time/Makefile: Likewise.
4537 * timezone/Makefile: Likewise.
4538 (all): Remove target.
4539 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4540 subdir.
4541 * wctype/Makefile: Likewise.
4542
5b456e9d
SE
45432014-02-26 Steve Ellcey <sellcey@mips.com>
4544
4545 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4546 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4547 (libc_feholdexcept_setround_mips): Ditto.
4548 (libc_feholdsetround): New.
4549 (libc_feholdsetroundf): New.
4550 (libc_feholdsetroundl): New.
4551 (libc_feupdateenv_test_mips): New.
4552 (libc_feupdateenv_test): New.
4553 (libc_feupdateenv_testf): New.
4554 (libc_feupdateenv_testl): New.
4555 (libc_feresetround): New.
4556 (libc_feresetroundf): New.
4557 (libc_feresetroundl): New.
4558 (libc_fetestexcept_mips): New.
4559 (libc_fetestexcept): New.
4560 (libc_fetestexceptf): New.
4561 (libc_fetestexceptl): New.
4562 (HAVE_RM_CTX): New.
4563 (libc_feholdexcept_setround_mips_ctx): New.
4564 (libc_feholdexcept_setround_ctx): New.
4565 (libc_feholdexcept_setroundf_ctx): New.
4566 (libc_feholdexcept_setroundl_ctx): New.
4567 (libc_fesetenv_mips_ctx): New.
4568 (libc_fesetenv_ctx): New.
4569 (libc_fesetenv_ctxf): New.
4570 (libc_fesetenv_ctxl): New.
4571 (libc_feupdateenv_mips_ctx): New.
4572 (libc_feupdateenv_ctx): New.
4573 (libc_feupdateenvf_ctx): New.
4574 (libc_feupdateenvl_ctx): New.
4575 (libc_feholdsetround_mips_ctx): New.
4576 (libc_feholdsetround_ctx): New.
4577 (libc_feholdsetroundf_ctx): New.
4578 (libc_feholdsetroundl_ctx): New.
4579 (libc_feresetround_mips_ctx): New.
4580 (libc_feresetround_ctx): New.
4581 (libc_feresetroundf_ctx): New.
4582 (libc_feresetroundl_ctx): New.
4583
085d0e35
CD
45842014-02-26 Carlos O'Donell <carlos@redhat.com>
4585
f067bf1f
CD
4586 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4587
085d0e35
CD
4588 * manual/ipc.texi: New file.
4589 * manual/Makefile (chapters): Add ipc.
4590 * manual/job.texi: Add "Inter-Process Communication" to next.
4591 * manual/process.texi: Add "Inter-Process Communication" to prev.
4592
86e58c08
AZ
45932014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594
4595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4596
4248f0da
OB
45972014-02-26 Ondřej Bílka <neleai@seznam.cz>
4598
4599 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4600
cf822e3c
OB
4601 * manual/arith.texi: Fix spaces after sentences.
4602 * manual/charset.texi: Likewise.
4603 * manual/errno.texi: Likewise.
4604 * manual/install.texi: Likewise.
4605 * manual/llio.texi: Likewise.
4606 * manual/locale.texi: Likewise.
4607 * manual/maint.texi: Likewise.
4608 * manual/math.texi: Likewise.
4609 * manual/memory.texi: Likewise.
4610 * manual/message.texi: Likewise.
4611 * manual/probes.texi: Likewise.
4612 * manual/resource.texi: Likewise.
4613 * manual/signal.texi: Likewise.
4614 * manual/socket.texi: Likewise.
4615 * manual/stdio.texi: Likewise.
4616 * manual/string.texi: Likewise.
4617 * manual/time.texi: Likewise.
4618 * manual/users.texi: Likewise.
4619
ade40b10
CD
46202014-02-25 Carlos O'Donell <carlos@redhat.com>
4621
4622 [BZ #16632]
4623 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4624 _DEFAULT_SOURCE is defined.
4625
d0503676
CD
46262014-02-25 Ulrich Drepper <drepper@gmail.com>
4627 Carlos O'Donell <carlos@redhat.com>
4628
4629 [BZ #16613]
4630 * elf/dl-tls.c (_dl_count_modids): New function.
4631 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4632 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4633 audit library and increment generation counter.
4634 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4635 * elf/tst-audit9.c: New file.
4636 * elf/tst-auditmod9a.c: New file.
4637 * elf/tst-auditmod9b.c: New file.
4638 * elf/Makefile: Add rules to build and run tst-audit9.
4639
4cbf380c
FW
46402014-02-25 Florian Weimer <fweimer@redhat.com>
4641
4642 [BZ #15347]
4643 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4644
80a56cc3
WN
46452014-02-25 Will Newton <will.newton@linaro.org>
4646
4647 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4648 (__longjmp): Restore sp and lr before restoring callee
4649 saved registers. Add longjmp and longjmp_target
4650 SystemTap probe point.
4651 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4652 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4653 Define to zero to match jmpbuf layout.
4654 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4655 (__sigsetjmp): Save sp and lr before saving callee
4656 saved registers. Add setjmp SystemTap probe point.
4657
3ea0f74e
SL
46582014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4659
4660 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4661
b04acb26
AS
46622014-02-24 Andreas Schwab <schwab@suse.de>
4663
4664 [BZ #15804]
4665 * elf/pldd.c (wait_for_ptrace_stop): New function.
4666 (main): Call it after attaching.
4667
098ad55c
RM
46682014-02-22 Roland McGrath <roland@hack.frob.com>
4669
d4ec6ae1
RM
4670 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4671 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4672 Versions files is now verboten.
4673 * hurd/Versions (libc: GLIBC_2.0):
4674 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4675 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4676 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4677 * mach/Versions: Likewise.
4678
098ad55c
RM
4679 * csu/Versions: Remove unused %include.
4680 * resolv/Versions: Likewise.
4681
acd7f096
JM
46822014-02-21 Joseph Myers <joseph@codesourcery.com>
4683
f0881698
JM
4684 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4685 ($(objpfx)check-local-headers.out): Likewise.
4686 ($(objpfx)begin-end-check.out): Likewise.
4687 * Makerules (check-abi-%.out): Likewise.
4688 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4689 ($(objpfx)test2.cat): Likewise.
4690 ($(objpfx)de/libc.cat): Likewise.
4691 ($(objpfx)test-gencat.out): Likewise.
4692 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4693 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4694 ($(objpfx)noload-mem): Likewise.
4695 ($(objpfx)tst-pathopt.out): Likewise.
4696 ($(objpfx)tst-rtld-load-self.out): Likewise.
4697 ($(objpfx)tst-array1-cmp.out): Likewise.
4698 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4699 ($(objpfx)tst-array2-cmp.out): Likewise.
4700 ($(objpfx)tst-array3-cmp.out): Likewise.
4701 ($(objpfx)tst-array4-cmp.out): Likewise.
4702 ($(objpfx)tst-array5-cmp.out): Likewise.
4703 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4704 ($(objpfx)check-textrel.out): Likewise.
4705 ($(objpfx)check-execstack.out): Likewise.
4706 ($(objpfx)check-localplt.out): Likewise.
4707 ($(objpfx)order2-cmp.out): Likewise.
4708 ($(objpfx)tst-leaks1-mem): Likewise.
4709 ($(objpfx)tst-leaks1-static-mem): Likewise.
4710 ($(objpfx)tst-initorder-cmp.out): Likewise.
4711 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4712 ($(objpfx)tst-unused-dep.out): Likewise.
4713 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4714 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4715 * iconv/Makefile (test-iconvconfig): Likewise.
4716 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4717 ($(objpfx)iconv-test.out): Likewise.
4718 ($(objpfx)tst-tables.out): Likewise.
4719 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4720 ($(objpfx)tst-gettext.out): Likewise.
4721 ($(objpfx)tst-translit.out): Likewise.
4722 ($(objpfx)tst-gettext2.out): Likewise.
4723 ($(objpfx)tst-gettext4.out): Likewise.
4724 ($(objpfx)tst-gettext6.out): Likewise.
4725 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4726 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4727 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4728 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4730 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4731 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4732 ($(objpfx)wordexp-tst.out): Likewise.
4733 ($(objpfx)annexc.out): Likewise.
4734 ($(objpfx)tst-fnmatch-mem): Likewise.
4735 ($(objpfx)bug-regex2-mem): Likewise.
4736 ($(objpfx)bug-regex14-mem): Likewise.
4737 ($(objpfx)bug-regex21-mem): Likewise.
4738 ($(objpfx)bug-regex31-mem): Likewise.
4739 ($(objpfx)tst-vfork3-mem): Likewise.
4740 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4741 ($(objpfx)tst-pcre-mem): Likewise.
4742 ($(objpfx)tst-boost-mem): Likewise.
4743 ($(objpfx)tst-getconf.out): Likewise.
4744 ($(objpfx)bug-ga2-mem): Likewise.
4745 ($(objpfx)bug-glob2-mem): Likewise.
4746 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4747 ($(objpfx)mtrace-tst-leaks2): Likewise.
4748 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4749 ($(objpfx)tst-printf.out): Likewise.
4750 ($(objpfx)tst-setvbuf1.out): Likewise.
4751 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4752 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4753 ($(objpfx)tst-fmtmsg.out): Likewise.
4754 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4755 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4756
acd7f096
JM
4757 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4758 * bits/sigaction.h [__USE_MISC]: Likewise.
4759 * bits/waitstatus.h: Update #endif comments.
4760 * ctype/ctype.h: Likewise.
4761 * dirent/dirent.h: Likewise.
4762 [__USE_MISC]: Remove redundant conditionals.
4763 * grp/grp.h: Update #endif comments.
4764 [__USE_GNU]: Remove redundant conditionals.
4765 [__USE_MISC]: Likewise.
4766 * inet/netinet/in.h [__USE_GNU]: Likewise.
4767 * io/sys/stat.h [__USE_MISC]: Likewise.
4768 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4769 * libio/bits/stdio.h: Update #endif comments.
4770 [__USE_MISC]: Remove redundant conditionals.
4771 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4772 * libio/stdio.h: Update #endif comments.
4773 [__USE_MISC]: Remove redundant conditionals.
4774 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4775 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4776 * math/math.h: Update #else and #endif comments.
4777 [__USE_MISC]: Remove redundant conditionals.
4778 * misc/sys/uio.h: Update #endif comments.
4779 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4780 * posix/glob.h [__USE_MISC]: Likewise.
4781 * posix/sys/types.h: Update #endif comments.
4782 [__USE_MISC]: Remove redundant conditionals.
4783 * posix/sys/wait.h: Update #endif comments.
4784 [__USE_MISC]: Remove redundant conditionals.
4785 * posix/unistd.h: Update #endif comments.
4786 [__USE_MISC]: Remove redundant conditionals.
4787 * pwd/pwd.h [__USE_GNU]: Likewise.
4788 [__USE_MISC]: Likewise.
4789 * resolv/netdb.h [__USE_GNU]: Likewise.
4790 * signal/signal.h: Update #endif comments.
4791 [__USE_MISC]: Remove redundant conditionals.
4792 * stdlib/stdlib.h: Update #else and #endif comments.
4793 [__USE_MISC]: Remove redundant conditionals.
4794 [__USE_GNU]: Likewise.
4795 * string/bits/string2.h [__USE_MISC]: Likewise.
4796 * string/string.h: Update #endif comments.
4797 [__USE_MISC]: Remove redundant conditionals.
4798 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4799 Likewise.
4800 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4801 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4802 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4803 Likewise.
4804 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4805 Likewise.
4806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4807 comments.
4808 [__USE_MISC]: Remove redundant conditionals.
4809 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4810 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4811 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4812 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4813 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4814 Likewise.
4815 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4816 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4817 Likewise.
4818 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4820 Likewise.
4821 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4825 Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4827 Likewise.
4828 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4829 * sysdeps/x86/bits/string.h: Update #endif comments.
4830 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4831 conditionals.
4832 * time/sys/time.h: Update #endif comments.
4833 * time/time.h: Likewise.
4834 [__USE_MISC]: Remove redundant conditionals.
4835
a5d82e4e
YG
48362014-02-21 Yury Gribov <y.gribov@samsung.com>
4837
4838 [BZ #16600]
4839 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4840
9a80491d
AS
48412014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4842
4843 * Versions.def (librt): Add GLIBC_2.17.
4844
105fa381
AC
48452014-02-21 Adam Conrad <adconrad@0c3.net>
4846
4847 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4848 synonym for _SYS_AUXV_H to allow direct inclusion.
4849 * sysdeps/sparc/bits/hwcap.h: Likewise.
4850 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4851 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4852 * sysdeps/sparc/sysdep.h: Likewise.
4853
b8cd1c4e
SP
48542014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4855
4856 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4857
bd939d23
RS
48582014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4859
4860 * benchtests/bench-strrchr.c: Print length instead of position.
4861
5d7b57ca
JM
48622014-02-20 Joseph Myers <joseph@codesourcery.com>
4863
bc688c10
JM
4864 [BZ #16611]
4865 * sysdeps/unix/sysv/linux/kernel-features.h
4866 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4867 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4868 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4869 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4870 Likewise.
4871 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4872 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4873 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4874 (__ASSUME_SENDMMSG): Define instead of using previous
4875 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4876 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4877 (__ASSUME_SENDMMSG_SYSCALL): Define.
4878 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4879 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4880 Likewise.
4881 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4882 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4883 Likewise.
4884 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4885 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4886 Likewise.
4887 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4888 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4889 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4890 [__ASSUME_SENDMMSG]: Change conditionals to
4891 [__ASSUME_SENDMMSG_SOCKETCALL].
4892 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4893 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4894 Define.
4895 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4896 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4899 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4900 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4901 [!__ASSUME_SENDMMSG]: Change conditional to
4902 [!__ASSUME_SENDMMSG_SOCKETCALL].
4903 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4904 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4905 Define.
4906
0e31b18c
JM
4907 [BZ #16610]
4908 * sysdeps/unix/sysv/linux/kernel-features.h
4909 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4910 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4911 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4912 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4913 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4914 [__i386__ || __sparc__]
4915 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4916 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4917 (__ASSUME_RECVMMSG): Define instead of using previous
4918 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4919 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4920 (__ASSUME_RECVMMSG_SYSCALL): Define.
4921 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4923 Likewise.
4924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4925 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4926 Likewise.
4927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4929 Likewise.
4930 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4931 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4932 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4933 [__ASSUME_RECVMMSG]: Change condition to
4934 [__ASSUME_RECVMMSG_SOCKETCALL].
4935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4936 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4937 Define.
4938 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4939 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4941 Likewise.
4942 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4943 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4944 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4945 [!__ASSUME_RECVMMSG]: Change condition to
4946 [!__ASSUME_RECVMMSG_SOCKETCALL].
4947 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4948 (__ASSUME_RECVMMSG_SYSCALL): Define.
4949
dd481ccf
JM
4950 [BZ #16609]
4951 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4952 __powerpc__ || __s390__ || __sh__ || __sparc__]
4953 (__ASSUME_SOCKETCALL): Define.
4954 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4955 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4956 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4957 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4958 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4959 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4960 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4961 (__ASSUME_ACCEPT4): Define instead of using previous
4962 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4963 __powerpc__ || __sparc__ || __s390__)] condition.
4964 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4965 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4966 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4967 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4968 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4969 [!__ASSUME_ACCEPT4]: Change condition to
4970 [!__ASSUME_ACCEPT4_SOCKETCALL].
4971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4972 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4973 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4975 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4976 __ASSUME_ACCEPT4_SYSCALL.
4977 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4978 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4980 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4981 __ASSUME_ACCEPT4_SYSCALL.
4982 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4983 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4984 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4985 [__ASSUME_ACCEPT4]: Change condition to
4986 [__ASSUME_ACCEPT4_SOCKETCALL].
4987 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4988 (__ASSUME_SOCKETCALL): Define.
4989 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4990 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4991 (__ASSUME_SOCKETCALL): Define.
4992 (__ASSUME_ACCEPT4): Remove.
4993 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4994 Define.
4995 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4996 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4997 Likewise.
4998 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4999 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5000
5d7b57ca
JM
5001 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5002 macro.
5003 (HWCAP_ARM_LPAE): Likewise.
5004 (HWCAP_ARM_EVTSTRM): Likewise.
5005 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5006 Add vpfd32, lpae and evtstrm.
5007 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5008 Increase to 22.
5009
63689d61
JM
50102014-02-19 Joseph Myers <joseph@codesourcery.com>
5011
5012 * math/auto-libm-test-in: Add tests of clog10.
5013 * math/auto-libm-test-out: Regenerated.
5014 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5015 * sysdeps/i386/fpu/libm-test-ulps: Update.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017
ab09bf61
AS
50182014-02-18 Andreas Schwab <schwab@suse.de>
5019
5020 [BZ #16574]
5021 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5022 Store non-zero if the second buffer was newly allocated.
5023 (send_dg): Likewise.
5024 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5025 to send_vc and send_dg.
5026 (res_nsend): Pass NULL for ansp2_malloced.
5027 * resolv/res_query.c (__libc_res_nquery): Add parameter
5028 answerp2_malloced and pass it down to __libc_res_nsend.
5029 (res_nquery): Pass additional NULL to __libc_res_nquery.
5030 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5031 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5032 second answer buffer if answerp2_malloced was set.
5033 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5034 (__libc_res_nquerydomain): Add parameter
5035 answerp2_malloced and pass it down to __libc_res_nquery.
5036 (res_nquerydomain): Pass additional NULL to
5037 __libc_res_nquerydomain.
5038 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5039 additional NULL to __libc_res_nsend and __libc_res_nquery.
5040 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5041 additional NULL to __libc_res_nsearch.
5042 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5043 parameter of __libc_res_nsearch to check for separately allocated
5044 second buffer.
5045 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5046 __libc_res_nquery.
5047 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5048 additional NULL to __libc_res_nquery.
5049 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5050 __libc_res_nsearch.
5051 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5052 * include/resolv.h: Update prototypes of __libc_res_nquery,
5053 __libc_res_nsearch, __libc_res_nsend.
5054
a4fb7861
JM
50552014-02-18 Joseph Myers <joseph@codesourcery.com>
5056
c6af2d89
JM
5057 * math/auto-libm-test-in: Add tests of fma.
5058 * math/auto-libm-test-out: Regenerated.
5059 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5060 (fma_towardzero_test_data): Likewise.
5061 (fma_downward_test_data): Likewise.
5062 (fma_upward_test_data): Likewise.
5063 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5064 mpc_mode.
5065 (rounding_modes): Add values for new field.
5066 (func_calc_method): Add value mpfr_fff_f.
5067 (func_calc_desc): Add mpfr_fff_f union field.
5068 (test_function): Add field exact_args.
5069 (FUNC): Add macro argument EXACT_ARGS.
5070 (FUNC_mpfr_f_f): Update call to FUNC.
5071 (FUNC_mpfr_f_f): Likewise.
5072 (FUNC_mpfr_ff_f): Likewise.
5073 (FUNC_mpfr_if_f): Likewise.
5074 (FUNC_mpc_c_f): Likewise.
5075 (FUNC_mpc_c_c): Likewise.
5076 (test_functions): Add fma. Update calls to FUNC.
5077 (handle_input_arg): Add argument exact_args.
5078 (add_test): Update call to handle_input_arg.
5079 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5080 (output_for_one_input_case): Update call to calc_generic_results.
5081 Recalculate exact zero results in each rounding mode.
5082
a4fb7861
JM
5083 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5084 non-negative before setting low bit.
5085 * math/auto-libm-test-in: Mark one asin test possibly having
5086 spurious underflow.
5087 * math/auto-libm-test-out: Regenerated.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090
ef114eaf
DH
50912014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5092
2b7f4f2c
SP
5093 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5094 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5095 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5096 * README: Add missing listing for microblaze*-*-linux-gnu.
5097
c70a4b1d
MF
50982014-02-16 Mike Frysinger <vapier@gentoo.org>
5099
5100 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5101 * sysdeps/unix/sysv/linux/ia64: Move directory from
5102 ports/sysdeps/unix/sysv/linux/ia64.
5103 * README: Update listing for ia64-*-linux-gnu.
5104
591aeaf7
TD
51052014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5106 Joseph Myers <joseph@codesourcery.com>
5107
5108 * Makeconfig (test-name): New variable.
5109 (evaluate-test): Likewise.
5110 * Makerules (do-test-clean): Remove .test-result files.
5111 (common-mostlyclean): Likewise.
5112 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5113 * scripts/evaluate-test.sh: New file.
5114
6e89caf1
JM
51152014-02-14 Joseph Myers <joseph@codesourcery.com>
5116
7f98f180
JM
5117 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5118 separate $(objpfx)tst-fopenloc-cmp.out and
5119 $(objpfx)tst-fopenloc-mem.out targets.
5120 (tests): Update dependencies.
5121 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5122 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5123 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5124 (tst-rxspencer-no-utf8-ARGS): New variable.
5125 (tst-rxspencer-no-utf8-ENV): Likewise.
5126 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5127 instead of $(objpfx)tst-rxspencer-mem.
5128 ($(objpfx)tst-rxspencer-mem): Change target to
5129 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5130 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5131 * posix/tst-rxspencer-no-utf8.c: New file.
5132
6e89caf1
JM
5133 * elf/Makefile ($(objpfx)order.out): Remove rule.
5134 [$(run-built-tests) = yes] (tests): Depend on
5135 $(objpfx)order-cmp.out.
5136 ($(objpfx)order-cmp.out): New rule.
5137 [$(run-built-tests) = yes] (tests): Depend on
5138 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5139 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5140 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5141 $(objpfx)tst-array5-static-cmp.out.
5142 ($(objpfx)tst-array1.out): Remove rule.
5143 ($(objpfx)tst-array1-cmp.out): New rule.
5144 ($(objpfx)tst-array1-static.out): Remove rule.
5145 ($(objpfx)tst-array1-static-cmp.out): New rule.
5146 ($(objpfx)tst-array2.out): Remove rule.
5147 ($(objpfx)tst-array2-cmp.out): New rule.
5148 ($(objpfx)tst-array3.out): Remove rule.
5149 ($(objpfx)tst-array3-cmp.out): New rule.
5150 ($(objpfx)tst-array4.out): Remove rule.
5151 ($(objpfx)tst-array4-cmp.out): New rule.
5152 ($(objpfx)tst-array5.out): Remove rule.
5153 ($(objpfx)tst-array5-cmp.out): New rule.
5154 ($(objpfx)tst-array5-static.out): Remove rule.
5155 ($(objpfx)tst-array5-static-cmp.out): New rule.
5156 [$(run-built-tests) = yes] (tests): Depend on
5157 $(objpfx)order2-cmp.out.
5158 ($(objpfx)order2.out): Remove rule.
5159 ($(objpfx)order2-cmp.out): New rule.
5160 ($(objpfx)tst-initorder.out): Remove rule.
5161 [$(run-built-tests) = yes] (tests): Depend on
5162 $(objpfx)tst-initorder-cmp.out.
5163 ($(objpfx)tst-initorder-cmp.out): New rule.
5164 ($(objpfx)tst-initorder2.out): Remove rule.
5165 [$(run-built-tests) = yes] (tests): Depend on
5166 $(objpfx)tst-initorder2-cmp.out.
5167 ($(objpfx)tst-initorder2-cmp.out): New rule.
5168 [$(run-built-tests) = yes] (tests): Depend on
5169 $(objpfx)tst-unused-dep-cmp.out.
5170 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5171 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5172 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5173 on $(objpfx)tst-setvbuf1-cmp.out.
5174 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5175 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5176 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5177 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5178 ($(objpfx)tst-svc.out): Remove rule.
5179 ($(objpfx)tst-svc-cmp.out): New rule.
5180
ed9a38e2
JM
51812014-02-13 Joseph Myers <joseph@codesourcery.com>
5182
5183 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5184 * ctype/ctype.h [__USE_MISC]: Likewise.
5185 * dirent/dirent.h [__USE_MISC]: Likewise.
5186 * grp/grp.h [__USE_MISC]: Likewise.
5187 * io/fcntl.h [__USE_MISC]: Likewise.
5188 * io/sys/stat.h [__USE_MISC]: Likewise.
5189 * libio/stdio.h [__USE_MISC]: Likewise.
5190 * posix/unistd.h [__USE_MISC]: Likewise.
5191 * pwd/pwd.h [__USE_MISC]: Likewise.
5192 * stdlib.h [__USE_MISC]: Likewise.
5193 * string/bits/string2.h [__USE_MISC]: Likewise.
5194 * string/string.h [__USE_MISC]: Likewise.
5195 * time/time.h [__USE_MISC]: Likewise.
5196
d6680619
AS
51972014-02-13 Andreas Schwab <schwab@suse.de>
5198
5199 [BZ #16574]
5200 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5201 second answer buffer if it was separately allocated.
5202
ace614b8
JM
52032014-02-12 Joseph Myers <joseph@codesourcery.com>
5204
743151ae
JM
5205 * sysdeps/mips/math-tests.h: Include <features.h>.
5206 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5207 (ROUNDING_TESTS_long_double): Do not define.
5208 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5209 (EXCEPTION_TESTS_long_double): Likewise.
5210 * sysdeps/mips/mips64/libm-test-ulps: Update.
5211
498afc54
JM
5212 * include/features.h (__USE_BSD): Remove macro definitions.
5213 (__USE_SVID): Likewise.
5214 (_BSD_SOURCE): Likewise.
5215 (_SVID_SOURCE): Likewise.
5216 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5217 from definition of _DEFAULT_SOURCE.
5218 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5219 [_DEFAULT_SOURCE].
5220 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5221 * bits/mman.h [__USE_BSD]: Likewise.
5222 * bits/termios.h [__USE_BSD]: Likewise.
5223 * bits/waitstatus.h [__USE_BSD]: Likewise.
5224 * ctype/ctype.h [__USE_SVID]: Likewise.
5225 * dirent/dirent.h [__USE_BSD]: Likewise.
5226 * grp/grp.h [__USE_SVID]: Likewise.
5227 [__USE_BSD]: Likewise.
5228 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5229 * io/fcntl.h [__USE_BSD]: Likewise.
5230 * io/ftw.h [__USE_BSD]: Likewise.
5231 * io/sys/stat.h [__USE_BSD]: Likewise.
5232 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5233 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5234 * libio/stdio.h [__USE_SVID]: Likewise.
5235 [__USE_BSD]: Likewise.
5236 * math/math.h [__USE_SVID]: Likewise.
5237 [__USE_BSD]: Likewise.
5238 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5239 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5240 * misc/search.h [__USE_SVID]: Likewise.
5241 * misc/sys/mman.h [__USE_BSD]: Likewise.
5242 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5243 * misc/sys/uio.h [__USE_BSD]: Likewise.
5244 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5245 * posix/glob.h [__USE_BSD]: Likewise.
5246 * posix/regex.h [__USE_BSD]: Likewise.
5247 * posix/sys/types.h [__USE_BSD]: Likewise.
5248 [__USE_SVID]: Likewise.
5249 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5250 * posix/sys/wait.h [__USE_BSD]: Likewise.
5251 [__USE_SVID]: Likewise.
5252 * posix/unistd.h [__USE_BSD]: Likewise.
5253 [__USE_SVID]: Likewise.
5254 * pwd/pwd.h [__USE_SVID]: Likewise.
5255 * resolv/netdb.h [__USE_BSD]: Likewise.
5256 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5257 * signal/signal.h [__USE_BSD]: Likewise.
5258 [__USE_SVID]: Likewise.
5259 * socket/sys/socket.h [__USE_BSD]: Likewise.
5260 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5261 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5262 [__USE_SVID]: Likewise.
5263 * string/bits/string2.h [__USE_BSD]: Likewise.
5264 [__USE_SVID]: Likewise.
5265 * string/bits/string3.h [__USE_BSD]: Likewise.
5266 * string/endian.h [__USE_BSD]: Likewise.
5267 * string/string.h [__USE_SVID]: Likewise.
5268 [__USE_BSD]: Likewise.
5269 * string/strings.h [__USE_BSD]: Likewise.
5270 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5271 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5272 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5273 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5274 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5275 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5276 Likewise.
5277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5280 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5283 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5284 Likewise.
5285 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5286 Likewise.
5287 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5288 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5289 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5292 Likewise.
5293 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5294 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5295 * termios/termios.h [__USE_BSD]: Likewise.
5296 * time/sys/time.h [__USE_BSD]: Likewise.
5297 * time/time.h [__USE_BSD]: Likewise.
5298 [__USE_SVID]: Likewise.
5299
dd7b064c
JM
5300 * Makefile (subdir_targets): Remove subdir_lint.out.
5301
a2c4c199
JM
5302 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5303 (do-tst-printf): Likewise.
5304 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5305 $(objpfx)tst-printf.out.
5306
8756f740
JM
5307 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5308
1b6dd3f1
JM
5309 * Makerules (check-abi-%): Change target to
5310 $(objpfx)check-abi-%.out.
5311 (check-abi target): Update dependencies.
5312 (check-abi-pattern variable): Redirect output of diff to $@.
5313 (check-abi variable): Likewise.
5314 * elf/Makefile (check-abi): Update dependencies.
5315
ace614b8
JM
5316 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5317 unused.
5318 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5319 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5320 subnormal range.
5321 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5322 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5323 value has largest subnormal exponent.
5324 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5325 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5326 * sysdeps/aarch64/soft-fp/sfp-machine.h
5327 (_FP_TININESS_AFTER_ROUNDING): New macro.
5328 * sysdeps/alpha/soft-fp/sfp-machine.h
5329 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5330 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5331 Likewise.
5332 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5333 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5334 * sysdeps/mips/soft-fp/sfp-machine.h
5335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5336 * sysdeps/powerpc/soft-fp/sfp-machine.h
5337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5338 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5339 Likewise.
5340 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5342 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5344 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5345 Likewise.
5346
fbfdf9cb
DAS
53472014-02-12 Dylan Alex Simon <dylan@dylex.net>
5348
5349 [BZ #16545]
5350 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5351 model 1.
5352
68b7efaa
RH
53532014-02-12 Richard Henderson <rth@redhat.com>
5354
c70a4b1d 5355 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5356 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5357 * sysdeps/unix/sysv/linux/alpha: Move directory from
5358 ports/sysdeps/unix/sysv/linux/alpha.
5359 * README: Update listing for alpha-*-linux-gnu.
5360
cb4a2928
JM
53612014-02-11 Joseph Myers <joseph@codesourcery.com>
5362
c941736c
JM
5363 * include/features.h: Update comment documenting feature test
5364 macros.
5365 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5366 _DEFAULT_SOURCE.
5367 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5368 (_SVID_SOURCE): Likewise.
5369 (_DEFAULT_SOURCE): Update description of default features.
5370 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5371 with _GNU_SOURCE.
5372 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5373 (S_ISVTX): Likewise.
5374 * manual/math.texi (Mathematical Constants): Likewise.
5375 * manual/signal.texi (Interrupted Primitives): Likewise.
5376 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5377 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5378 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5379 Don't refer to _SVID_SOURCE in warning text.
5380
e8d8d7ec
JM
5381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5382
cb4a2928
JM
5383 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5384 already defined.
5385 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5386 * sysdeps/mips/dl-lookup.c: Remove.
5387 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5388
7e6424e3
AK
53892014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5390
5391 [BZ #16447]
5392 * math/auto-libm-test-in: Add testcase for expl.
5393 * math/auto-libm-test-out: Regenerate.
5394 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5395 calculation of unsafe.
5396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5397
75eff3fe
MS
53982014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5399
5400 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5401 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5402 ports/sysdeps/unix/sysv/linux/aarch64.
5403 * README: Update listing for aarch64*-*-linux-gnu.
5404
d35f1e80
WN
54052014-02-11 Will Newton <will.newton@linaro.org>
5406
5407 * manual/probes.texi (Mathematical Function Probes): Use
5408 "triggered" instead of "hit".
5409
7b3436d4
WN
5410 * manual/probes.texi (Internal Probes): Add documentation
5411 of setjmp, longjmp and longjmp_target probes.
5412
b4f12ca3
WN
5413 * include/stap-probe.h: Add comment about probe argument
5414 format.
5415
c13a72b7
WN
5416 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5417 definition. (tr_where, tr_freehook, tr_mallochook,
5418 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5419
195b8165
DM
54202014-02-11 David S. Miller <davem@davemloft.net>
5421
5422 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5423 processing int_tests.
5424
2ad7600b
JM
54252014-02-10 Joseph Myers <joseph@codesourcery.com>
5426
5427 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5428 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5429 * sysdeps/unix/sysv/linux/mips: Move directory from
5430 ports/sysdeps/unix/sysv/linux/mips.
5431 * README: Update listing for mips-*-linux-gnu and
5432 mips64-*-linux-gnu.
5433
73588a72
AS
54342014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5435
5436 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5437 * sysdeps/unix/sysv/linux/m68k: Move directory from
5438 ports/sysdeps/unix/sysv/linux/m68k.
5439 * README: Update listing for m68k-*-linux-gnu.
5440
4372980f
CM
54412014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5442
5443 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5444 * sysdeps/unix/sysv/linux/generic: Move directory from
5445 ports/sysdeps/unix/sysv/linux/generic.
5446 * sysdeps/unix/sysv/linux/tile: Move directory from
5447 ports/sysdeps/unix/sysv/linux/tile.
5448 * README: Update listing for tile*-*-linux-gnu.
5449
a1ffb40e
OB
54502014-02-10 Ondřej Bílka <neleai@seznam.cz>
5451
57f41c40
AS
5452 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5453 __builtin_expect.
a1ffb40e
OB
5454 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5455 * catgets/open_catalog.c (__open_catalog): Likewise.
5456 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5457 * debug/confstr_chk.c: Likewise.
5458 * debug/fread_chk.c (__fread_chk): Likewise.
5459 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5460 * debug/getgroups_chk.c: Likewise.
5461 * debug/mbsnrtowcs_chk.c: Likewise.
5462 * debug/mbsrtowcs_chk.c: Likewise.
5463 * debug/mbstowcs_chk.c: Likewise.
5464 * debug/memcpy_chk.c: Likewise.
5465 * debug/memmove_chk.c: Likewise.
5466 * debug/mempcpy_chk.c: Likewise.
5467 * debug/memset_chk.c: Likewise.
5468 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5469 * debug/strcat_chk.c (__strcat_chk): Likewise.
5470 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5471 * debug/strncat_chk.c (__strncat_chk): Likewise.
5472 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5473 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5474 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5475 * debug/wcpncpy_chk.c: Likewise.
5476 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5477 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5478 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5479 * debug/wcsncpy_chk.c: Likewise.
5480 * debug/wcsnrtombs_chk.c: Likewise.
5481 * debug/wcsrtombs_chk.c: Likewise.
5482 * debug/wcstombs_chk.c: Likewise.
5483 * debug/wmemcpy_chk.c: Likewise.
5484 * debug/wmemmove_chk.c: Likewise.
5485 * debug/wmempcpy_chk.c: Likewise.
5486 * debug/wmemset_chk.c: Likewise.
5487 * dirent/scandirat.c (SCANDIRAT): Likewise.
5488 * dlfcn/dladdr1.c (dladdr1): Likewise.
5489 * dlfcn/dladdr.c (dladdr): Likewise.
5490 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5491 * dlfcn/dlerror.c (__dlerror): Likewise.
5492 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5493 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5494 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5495 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5496 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5497 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5498 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5499 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5500 Likewise.
5501 * elf/dl-conflict.c: Likewise.
5502 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5503 * elf/dl-dst.h: Likewise.
5504 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5505 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5506 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5507 * elf/dl-init.c (call_init, _dl_init): Likewise.
5508 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5509 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5510 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5511 Likewise.
a1ffb40e
OB
5512 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5513 Likewise.
5514 * elf/dl-minimal.c (__libc_memalign): Likewise.
5515 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5516 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5517 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5518 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5519 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5520 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5521 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5522 * elf/dl-writev.h (_dl_writev): Likewise.
5523 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5524 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5525 (dl_main): Likewise.
a1ffb40e
OB
5526 * elf/setup-vdso.h (setup_vdso): Likewise.
5527 * grp/compat-initgroups.c (compat_call): Likewise.
5528 * grp/fgetgrent.c (fgetgrent): Likewise.
5529 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5530 * grp/putgrent.c (putgrent): Likewise.
5531 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5532 Likewise.
5533 * hurd/hurdinit.c: Likewise.
5534 * iconvdata/8bit-gap.c (struct): Likewise.
5535 * iconvdata/ansi_x3.110.c : Likewise.
5536 * iconvdata/big5.c : Likewise.
5537 * iconvdata/big5hkscs.c : Likewise.
5538 * iconvdata/cp1255.c: Likewise.
5539 * iconvdata/cp1258.c : Likewise.
5540 * iconvdata/cp932.c : Likewise.
5541 * iconvdata/euc-cn.c: Likewise.
5542 * iconvdata/euc-jisx0213.c : Likewise.
5543 * iconvdata/euc-jp.c: Likewise.
5544 * iconvdata/euc-jp-ms.c : Likewise.
5545 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5546 * iconvdata/gb18030.c : Likewise.
5547 * iconvdata/gbbig5.c (const): Likewise.
5548 * iconvdata/gbgbk.c: Likewise.
5549 * iconvdata/gbk.c : Likewise.
5550 * iconvdata/ibm1364.c : Likewise.
5551 * iconvdata/ibm930.c : Likewise.
5552 * iconvdata/ibm932.c: Likewise.
5553 * iconvdata/ibm933.c : Likewise.
5554 * iconvdata/ibm935.c : Likewise.
5555 * iconvdata/ibm937.c : Likewise.
5556 * iconvdata/ibm939.c : Likewise.
5557 * iconvdata/ibm943.c: Likewise.
5558 * iconvdata/iso_11548-1.c: Likewise.
5559 * iconvdata/iso-2022-cn.c : Likewise.
5560 * iconvdata/iso-2022-cn-ext.c : Likewise.
5561 * iconvdata/iso-2022-jp-3.c: Likewise.
5562 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5563 * iconvdata/iso-2022-kr.c : Likewise.
5564 * iconvdata/iso646.c (gconv_end): Likewise.
5565 * iconvdata/iso_6937-2.c : Likewise.
5566 * iconvdata/iso_6937.c : Likewise.
5567 * iconvdata/iso8859-1.c: Likewise.
5568 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5569 * iconvdata/shift_jisx0213.c : Likewise.
5570 * iconvdata/sjis.c : Likewise.
5571 * iconvdata/t.61.c : Likewise.
5572 * iconvdata/tcvn5712-1.c : Likewise.
5573 * iconvdata/tscii.c: Likewise.
5574 * iconvdata/uhc.c : Likewise.
5575 * iconvdata/unicode.c (gconv_end): Likewise.
5576 * iconvdata/utf-16.c (gconv_end): Likewise.
5577 * iconvdata/utf-32.c (gconv_end): Likewise.
5578 * iconvdata/utf-7.c (base64): Likewise.
5579 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5580 * iconv/gconv_close.c (__gconv_close): Likewise.
5581 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5582 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5583 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5584 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5585 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5586 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5587 * iconv/iconv.c (iconv): Likewise.
5588 * iconv/iconv_close.c: Likewise.
5589 * iconv/loop.c (SINGLE): Likewise.
5590 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5591 * include/atomic.h: Likewise.
5592 * inet/inet6_option.c (option_alloc): Likewise.
5593 * intl/bindtextdom.c (set_binding_values): Likewise.
5594 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5595 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5596 * intl/localealias.c (read_alias_file): Likewise.
5597 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5598 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5599 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5600 * libio/fmemopen.c (fmemopen): Likewise.
5601 * libio/iofgets.c (_IO_fgets): Likewise.
5602 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5603 * libio/iofgetws.c (fgetws): Likewise.
5604 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5605 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5606 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5607 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5608 * locale/findlocale.c (_nl_find_locale): Likewise.
5609 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5610 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5611 Likewise.
5612 * locale/setlocale.c (setlocale): Likewise.
5613 * login/programs/pt_chown.c (main): Likewise.
5614 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5615 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5616 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5617 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5618 * math/e_exp2l.c: Likewise.
5619 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5620 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5621 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5622 * math/s_catan.c (__catan): Likewise.
5623 * math/s_catanf.c (__catanf): Likewise.
5624 * math/s_catanh.c (__catanh): Likewise.
5625 * math/s_catanhf.c (__catanhf): Likewise.
5626 * math/s_catanhl.c (__catanhl): Likewise.
5627 * math/s_catanl.c (__catanl): Likewise.
5628 * math/s_ccosh.c (__ccosh): Likewise.
5629 * math/s_ccoshf.c (__ccoshf): Likewise.
5630 * math/s_ccoshl.c (__ccoshl): Likewise.
5631 * math/s_cexp.c (__cexp): Likewise.
5632 * math/s_cexpf.c (__cexpf): Likewise.
5633 * math/s_cexpl.c (__cexpl): Likewise.
5634 * math/s_clog10.c (__clog10): Likewise.
5635 * math/s_clog10f.c (__clog10f): Likewise.
5636 * math/s_clog10l.c (__clog10l): Likewise.
5637 * math/s_clog.c (__clog): Likewise.
5638 * math/s_clogf.c (__clogf): Likewise.
5639 * math/s_clogl.c (__clogl): Likewise.
5640 * math/s_csin.c (__csin): Likewise.
5641 * math/s_csinf.c (__csinf): Likewise.
5642 * math/s_csinh.c (__csinh): Likewise.
5643 * math/s_csinhf.c (__csinhf): Likewise.
5644 * math/s_csinhl.c (__csinhl): Likewise.
5645 * math/s_csinl.c (__csinl): Likewise.
5646 * math/s_csqrt.c (__csqrt): Likewise.
5647 * math/s_csqrtf.c (__csqrtf): Likewise.
5648 * math/s_csqrtl.c (__csqrtl): Likewise.
5649 * math/s_ctan.c (__ctan): Likewise.
5650 * math/s_ctanf.c (__ctanf): Likewise.
5651 * math/s_ctanh.c (__ctanh): Likewise.
5652 * math/s_ctanhf.c (__ctanhf): Likewise.
5653 * math/s_ctanhl.c (__ctanhl): Likewise.
5654 * math/s_ctanl.c (__ctanl): Likewise.
5655 * math/w_pow.c: Likewise.
5656 * math/w_powf.c: Likewise.
5657 * math/w_powl.c: Likewise.
5658 * math/w_scalb.c (sysv_scalb): Likewise.
5659 * math/w_scalbf.c (sysv_scalbf): Likewise.
5660 * math/w_scalbl.c (sysv_scalbl): Likewise.
5661 * misc/error.c (error_tail): Likewise.
5662 * misc/pselect.c (__pselect): Likewise.
5663 * nis/nis_callback.c (__nis_create_callback): Likewise.
5664 * nis/nis_call.c (__nisfind_server): Likewise.
5665 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5666 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5667 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5668 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5669 * nis/nis_lookup.c (nis_lookup): Likewise.
5670 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5671 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5672 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5673 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5674 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5675 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5676 * nis/nss_compat/compat-initgroups.c (add_group)
5677 (internal_getgrent_r): Likewise.
5678 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5679 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5680 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5681 (internal_getspnam_r): Likewise.
5682 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5683 (_nss_nis_getaliasbyname_r): Likewise.
5684 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5685 (_nss_nis_getntohost_r): Likewise.
5686 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5687 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5688 (_nss_nis_getgrgid_r): Likewise.
5689 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5690 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5691 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5692 (_nss_nis_gethostbyname4_r): Likewise.
5693 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5694 (initgroups_netid): Likewise.
a1ffb40e 5695 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5696 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5697 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5698 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5699 (_nss_nis_getprotobynumber_r): Likewise.
5700 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5701 (_nss_nis_getsecretkey): Likewise.
5702 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5703 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5704 (_nss_nis_getpwuid_r): Likewise.
5705 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5706 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5707 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5708 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5709 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5710 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5711 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5712 Likewise.
57f41c40
AS
5713 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5714 (_nss_nisplus_getntohost_r): Likewise.
5715 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5716 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5717 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5718 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5719 Likewise.
57f41c40
AS
5720 * nis/nss_nisplus/nisplus-initgroups.c
5721 (_nss_nisplus_initgroups_dyn): Likewise.
5722 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5723 (_nss_nisplus_getnetbyaddr_r): Likewise.
5724 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5725 (_nss_nisplus_getprotobynumber_r): Likewise.
5726 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5727 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5728 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5729 Likewise.
57f41c40
AS
5730 * nis/nss_nisplus/nisplus-service.c
5731 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5732 (_nss_nisplus_getservbyport_r): Likewise.
5733 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5734 (_nss_nisplus_getspnam_r): Likewise.
5735 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5736 Likewise.
a1ffb40e
OB
5737 * nscd/aicache.c (addhstaiX): Likewise.
5738 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5739 * nscd/connections.c (register_traced_file, send_ro_fd)
5740 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5741 (main_loop_epoll): Likewise.
a1ffb40e
OB
5742 * nscd/grpcache.c (addgrbyX): Likewise.
5743 * nscd/hstcache.c (addhstbyX): Likewise.
5744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5745 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5746 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5747 (addinnetgrX): Likewise.
5748 * nscd/nscd-client.h (__nscd_acquire_maplock)
5749 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5750 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5751 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5752 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5753 Likewise.
5754 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5756 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5757 (__nscd_get_map_ref): Likewise.
a1ffb40e 5758 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5759 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5760 Likewise.
a1ffb40e
OB
5761 * nscd/pwdcache.c (addpwbyX): Likewise.
5762 * nscd/selinux.c (preserve_capabilities): Likewise.
5763 * nscd/servicescache.c (addservbyX): Likewise.
5764 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5765 * posix/fnmatch.c (fnmatch): Likewise.
5766 * posix/getopt.c (_getopt_internal_r): Likewise.
5767 * posix/glob.c (glob, glob_in_dir): Likewise.
5768 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5769 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5770 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5771 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5772 * resolv/res_init.c: Likewise.
5773 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5774 * resolv/res_query.c (__libc_res_nquery): Likewise.
5775 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5776 Likewise.
5777 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5778 * stdio-common/perror.c (perror): Likewise.
5779 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5780 * stdio-common/tmpnam.c (tmpnam): Likewise.
5781 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5782 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5783 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5784 Likewise.
a1ffb40e
OB
5785 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5786 * stdlib/putenv.c (putenv): Likewise.
5787 * stdlib/setenv.c (__add_to_environ): Likewise.
5788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5789 * stdlib/strtol_l.c (INTERNAL): Likewise.
5790 * string/memmem.c (memmem): Likewise.
5791 * string/strerror.c (strerror): Likewise.
5792 * string/strnlen.c (__strnlen): Likewise.
5793 * string/test-memmem.c (simple_memmem): Likewise.
5794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5795 * sunrpc/pm_getport.c (__get_socket): Likewise.
5796 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5797 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5798 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5799 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5800 Likewise.
5801 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5802 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5803 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5804 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5805 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5806 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5807 Likewise.
5808 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5809 Likewise.
a1ffb40e
OB
5810 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5811 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5813 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5814 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5816 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5817 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5818 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5819 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5820 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5821 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5822 Likewise.
5823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5824 Likewise.
5825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5826 Likewise.
5827 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5829 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5830 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5831 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5832 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5833 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5836 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5837 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5843 Likewise.
a1ffb40e
OB
5844 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5845 Likewise.
5846 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5847 Likewise.
5848 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5849 Likewise.
5850 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5852 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5853 Likewise.
5854 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5855 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5856 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5857 * sysdeps/posix/sleep.c: Likewise.
5858 * sysdeps/posix/tempname.c: Likewise.
5859 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5861 Likewise.
57f41c40
AS
5862 * sysdeps/powerpc/powerpc32/dl-machine.h
5863 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5864 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5866 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5868 Likewise.
5869 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5870 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5871 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5872 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5873 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5874 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5875 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5876 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5877 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5878 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5880 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5881 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5883 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5884 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5885 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5886 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5887 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5888 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5889 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5890 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5892 Likewise.
5893 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5894 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5895 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5896 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5897 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5898 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5899 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5900 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5901 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5902 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5903 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5904 Likewise.
5905 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5906 (__posix_fallocate64_l64): Likewise.
5907 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5908 (posix_fallocate): Likewise.
57f41c40
AS
5909 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5910 Likewise.
a1ffb40e 5911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5912 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5913 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5914 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5915 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5916 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5917 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5918 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5919 (__posix_fallocate64_l64): Likewise.
5920 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5921 Likewise.
5922 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5923 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5924 (__get_clockfreq): Likewise.
a1ffb40e
OB
5925 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5926 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5927 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5930 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5931 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5932 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5933 Likewise.
5934 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5935 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5936 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5938 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5939 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5940 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5941 Likewise.
5942 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5943 (posix_fallocate): Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5945 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5946 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5947 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5948 (elf_machine_rela, elf_machine_rela_relative)
5949 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5950 * time/asctime.c (asctime_internal): Likewise.
5951 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5952 * time/tzset.c (__tzset_parse_tz): Likewise.
5953 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5954 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5955 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5956 * wcsmbs/wcsmbsload.h: Likewise.
5957
f3d338c9
OB
5958 [BZ #15894]
5959 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5960
57f41c40
AS
5961 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5962 (arena_get2): Remove THREAD_STATS conditionals.
5963 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5964 (__malloc_stats, int): Likewise.
bdfe308a 5965
d674667c
MF
59662014-02-08 Mike Frysinger <vapier@gentoo.org>
5967
5968 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5969 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5970
6349768c
MF
5971 * manual/setjmp.texi: Fix typos/grammar errors.
5972
0b7c7473
MF
5973 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5974 Only return early when n is <= 0. Delete unused return statement.
5975
ac8cc9e3
MF
5976 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5977 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5978 * debug/tst-longjmp_chk3.c: New file.
5979
c5bb8e23
MF
5980 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5981 (test_main): Replace code with set_fortify_handler call.
5982 * debug/test-strcpy_chk.c: Likewise.
5983 * debug/tst-chk1.c: Likewise.
5984 * debug/tst-longjmp_chk.c: Likewise.
5985 * test-skeleton.c: Include fcntl.h & paths.h
5986 (set_fortify_handler): Define.
5987
10444e42
MF
5988 * debug/tst-longjmp_chk.c: Add header comment and include
5989 ../test-skeleton.c.
5990 (do_test): Mark static.
5991 (TEST_FUNCTION): Define.
5992
1e805e8d
MF
5993 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5994 (IP_PMTUDISC_INTERFACE): Likewise.
5995 (IP_MULTICAST_IF): Likewise.
5996 (IP_MULTICAST_TTL): Likewise.
5997 (IP_MULTICAST_LOOP): Likewise.
5998 (IP_ADD_MEMBERSHIP): Likewise.
5999 (IP_DROP_MEMBERSHIP): Likewise.
6000 (IP_UNBLOCK_SOURCE): Likewise.
6001 (IP_BLOCK_SOURCE): Likewise.
6002 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6003 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6004 (IP_MSFILTER): Likewise.
6005 (MCAST_JOIN_GROUP): Likewise.
6006 (MCAST_BLOCK_SOURCE): Likewise.
6007 (MCAST_UNBLOCK_SOURCE): Likewise.
6008 (MCAST_LEAVE_GROUP): Likewise.
6009 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6010 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6011 (MCAST_MSFILTER): Likewise.
6012 (IP_MULTICAST_ALL): Likewise.
6013 (IP_UNICAST_IF): Likewise.
6014
73f79bb7
MF
6015 * timezone/Makefile: Delete $(have-ksh) check.
6016 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6017 * timezone/tzselect.ksh: Add +x mode bits.
6018
8da79b60
MF
6019 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6020 (ANON_INODE_FS_MAGIC): Likewise.
6021 (BDEVFS_MAGIC): Likewise.
6022 (BINFMTFS_MAGIC): Likewise.
6023 (BTRFS_TEST_MAGIC): Likewise.
6024 (CRAMFS_MAGIC_WEND): Likewise.
6025 (DEBUGFS_MAGIC): Likewise.
6026 (ECRYPTFS_SUPER_MAGIC): Likewise.
6027 (EXT3_SUPER_MAGIC): Likewise.
6028 (EXT4_SUPER_MAGIC): Likewise.
6029 (FUTEXFS_SUPER_MAGIC): Likewise.
6030 (HOSTFS_SUPER_MAGIC): Likewise.
6031 (HUGETLBFS_MAGIC): Likewise.
6032 (MINIX3_SUPER_MAGIC): Likewise.
6033 (MTD_INODE_FS_MAGIC): Likewise.
6034 (NILFS_SUPER_MAGIC): Likewise.
6035 (OPENPROM_SUPER_MAGIC): Likewise.
6036 (PIPEFS_MAGIC): Likewise.
6037 (PSTOREFS_MAGIC): Likewise.
6038 (QNX6_SUPER_MAGIC): Likewise.
6039 (RAMFS_MAGIC): Likewise.
6040 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6041 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6042 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6043 (SECURITYFS_MAGIC): Likewise.
6044 (SELINUX_MAGIC): Likewise.
6045 (SMACK_MAGIC): Likewise.
6046 (SOCKFS_MAGIC): Likewise.
6047 (SQUASHFS_MAGIC): Likewise.
6048 (STACK_END_MAGIC): Likewise.
6049 (TMPFS_MAGIC): Likewise.
6050 (USBDEVICE_SUPER_MAGIC): Likewise.
6051 (V9FS_MAGIC): Likewise.
6052 (XENFS_SUPER_MAGIC): Likewise.
6053 (CRAMFS_MAGIC): Fix typo in comment.
6054 (EXT2_SUPER_MAGIC): Update comment.
6055 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6056
464263cc
JM
60572014-02-08 Joseph Myers <joseph@codesourcery.com>
6058
c6bfe5c4
JM
6059 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6060 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6061 * sysdeps/unix/sysv/linux/arm: Move directory from
6062 ports/sysdeps/unix/sysv/linux/arm.
6063 * README: Update listing for arm-*-linux-gnueabi.
6064
464263cc
JM
6065 * README: Remove mention of am33.
6066
32749f6c
RM
60672014-02-07 Roland McGrath <roland@hack.frob.com>
6068
6069 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6070 than the comma operator, to avoid "rhs of comma has no effect"
6071 compiler warnings.
6072 (__sigfillset, __sigandset, __sigorset): Likewise.
6073 * include/signal.h (__sigemptyset): Likewise.
6074 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6075
d5b396c1
AM
60762014-02-07 Allan McRae <allan@archlinux.org>
6077
6078 * version.h (RELEASE): Set to "development".
6079 (VERSION): Set to "2.19.90"
6080 * NEWS: Add 2.20 section.
6081
3bfff2ed
CD
60822014-02-06 Carlos O'Donell <carlos@redhat.com>
6083
6084 [BZ #16529]
6085 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6086
ee7cc385
SP
60872014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6088
6089 * manual/contrib.texi: Update entry for Carlos O'Donell,
6090 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6091
f877c4f2
CD
60922014-02-05 Carlos O'Donell <carlos@rehdat.com>
6093
27e839f6
CD
6094 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6095
f877c4f2
CD
6096 * sysdeps/unix/sysv/linux/kernel-features.h
6097 [__LINUX_KERNEL_VERSION >= 0x020621]
6098 (__ASSUME_PROC_PID_TASK_COMM): Define.
6099
68159946
SP
61002014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6101
ba17cdbd
SP
6102 [BZ #16398]
6103 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6104 conversion when destination buffer does not have enough space.
6105 * libio/tst-ftell-partial-wide.c: New test case.
6106 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6107
68159946
SP
6108 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6109 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6110 Leonard and Allan McRae.
6111
2b528732
DM
61122014-02-04 David S. Miller <davem@davemloft.net>
6113
6114 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6115 32-bit.
6116
0ff82463
AZ
61172014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118
57f41c40
AS
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6120 New file
c01603f7
AZ
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6122 New file
57f41c40
AS
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6124 New file.
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6126 New file.
c01603f7
AZ
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6128 New file.
57f41c40
AS
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6130 New file.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6132 New file.
c01603f7
AZ
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6134 New file.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6136 New file.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6138 New file.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6140 New file.
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6142 New file.
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6144 New file.
6145
61462014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6147
0ff82463
AZ
6148 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6149 * shlib-versions: Likewise.
6150
1695c773
AZ
61512014-02-04 Roland McGrath <roland@hack.frob.com>
6152 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6155 (abilist-pattern): New variable, set to %-le.abilist.
6156
6157 * Makerules (abilist-pattern): New variable.
6158 (vpath): Use $(abilist-pattern) in place of %.abilist.
6159 (check-abi-% pattern rule): Likewise.
6160 (check-abi, update-abi): Likewise.
6161
6c0ce4b4
EW
61622014-02-04 Eric Wong <normalperson@yhbt.net>
6163
6164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6165
481e3524
CD
61662014-02-03 Carlos O'Donell <carlos@redhat.com>
6167
6168 * manual/startup.texi: Add next, previous, and top entries for
6169 the `Program Arguments' and `Environment Variables' nodes.
6170
375592d3
AO
61712014-02-03 Alexandre Oliva <aoliva@redhat.com>
6172
6173 * manual/macros.texi: Add comments before MTASC-safety macros.
6174
f54838ba
AO
6175 * manual/users.texi: Document MTASC-safety properties.
6176
57f41c40
AS
6177 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6178 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6179 @deftypefun, and add @safety note.
6180 * manual/signal.texi: Move comments that analyze the above
6181 functions to their home place.
6182
fd3daba4
AM
61832014-02-03 Allan McRae <allan@archlinux.org>
6184
6185 * po/sl.po: Update Slovenian translation from translation project.
6186
597636d7
AO
61872014-02-02 Alexandre Oliva <aoliva@redhat.com>
6188
6189 * manual/time.texi (timegm): Add missing blank after @c.
6190 Reported by Joseph Myers <joseph@codesourcery.com>.
6191
ee196e3c
AO
61922014-02-01 Alexandre Oliva <aoliva@redhat.com>
6193
6194 * manual/check-safety.sh: New.
6195 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6196
f8d529d5
AO
6197 * manual/terminal.texi: Document MTASC-safety properties.
6198
de55fdf4
AO
6199 * manual/filesys.texi: Document MTASC-safety properties.
6200
c3299c08
AO
6201 * manual/errno.texi: Document MTASC-safety properties.
6202
06e90b14
AO
6203 * manual/intro.texi: Document safety identifiers and
6204 conditionals.
6205
1acd4371
AO
6206 * manual/string.texi (wcstok): Fix prototype.
6207 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6208
23e5b8cb
AO
6209 * manual/time.texi: Document MTASC-safety properties.
6210
11087373
AO
6211 * manual/string.texi: Document MTASC-safety properties.
6212
5da2c93d
AO
6213 * manual/threads.texi: Document MTASC-safety properties.
6214
171e9210
AO
6215 * manual/stdio.texi: Document MTASC-safety properties.
6216
d9e02532
AO
6217 * manual/syslog.texi: Document MTASC-safety properties.
6218
6af8bab7
AO
6219 * manual/sysinfo.texi: Document MTASC-safety properties.
6220
663b02d7
AO
6221 * manual/startup.texi: Document MTASC-safety properties.
6222
973f180b
AO
6223 * manual/socket.texi: Document MTASC-safety properties.
6224
8f3c25c8
AO
6225 * manual/signal.texi: Document MTASC-safety properties.
6226
542210fb
AO
62272014-01-31 Alexandre Oliva <aoliva@redhat.com>
6228
6229 * manual/setjmp.texi: Document MTASC-safety properties.
6230
433c45a2
AO
6231 * manual/search.texi: Document MTASC-safety properties.
6232
c8ce789c
AO
6233 * manual/resource.texi: Document MTASC-safety properties.
6234
19f5d29c
AO
6235 * manual/process.texi: Document MTASC-safety properties.
6236
e2dfb7f4
AO
6237 * manual/platform.texi: Document MTASC-safety properties.
6238
8c1413f5
AO
6239 * manual/pipe.texi: Document MTASC-safety properties.
6240
03483ada
AO
6241 * manual/pattern.texi: Document MTASC-safety properties.
6242
29e7e2df
AO
6243 * manual/message.texi: Document MTASC-safety properties.
6244
9f529d7c
AO
6245 [BZ #12751]
6246 * manual/memory.texi: Document MTASC-safety properties.
6247
27aaa791
AO
6248 * manual/math.texi: Document MTASC-safety properties.
6249
f2d58726
AO
6250 * manual/locale.texi: Document MTASC-safety properties.
6251
2cc3615c
AO
6252 * manual/llio.texi: Document MTASC-safety properties.
6253
d9f0ec97
AO
6254 * manual/libdl.texi: New.
6255
e7c4409a
AO
6256 * manual/lang.texi: Document MTASC-safety properties.
6257
27bdc63c
AO
6258 * manual/job.texi: Document MTASC-safety properties.
6259
a7b90ea9
AO
6260 * manual/getopt.texi: Document MTASC-safety properties.
6261
c49130e3
AO
6262 * manual/ctype.texi: Document MTASC-safety properties.
6263
0d23a5c1
MR
62642014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6265
6266 [BZ #16046]
6267 * csu/libc-tls.c (static_map): Remove variable.
6268 (__libc_setup_tls): Use main executable's link map for TLS data.
6269 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6270 casing for LM_ID_BASE and GL(dl_nns).
6271 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6272 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6273 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6274 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6275 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6276 member.
6277 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6278 l_phnum members.
6279
0037bb60
AO
62802014-01-30 Alexandre Oliva <aoliva@redhat.com>
6281
6282 * manual/debug.texi: Document MTASC-safety properties.
6283
409e00bd
L
62842014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6285
6286 [BZ #16510]
6287 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6288 of __x86_64__ when disabling x87 inline functions.
6289
86e60666
AO
62902014-01-29 Alexandre Oliva <aoliva@redhat.com>
6291
6292 * manual/charset.texi: Document MTASC-safety properties.
6293
76167637
AO
6294 * manual/crypt.texi: Document MTASC-safety properties.
6295
e567f2a0
AO
6296 * manual/conf.texi: Document MTASC-safety properties.
6297
b719dafd
AO
6298 * manual/arith.texi: Document MTASC-safety properties.
6299
4a16c662
AO
6300 * manual/argp.texi: Document MTASC-safety properties.
6301
0a57b83e
AO
6302 * manual/macros.texi: Introduce macros to document multi
6303 thread, asynchronous signal and asynchronous cancellation
6304 safety properties.
6305 * manual/intro.texi: Introduce the properties themselves.
6306
feab2397
KK
63072014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6308
6309 * sysdeps/sh/sh4/Makefile: New file.
6310
1c0d11bc
AS
63112014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6312
6313 * math/gen-libm-test.pl ($srcdir): New variable.
6314 ($auto_input): Use it.
6315
af37a8a3
SP
63162014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6317
d7b00f98
SP
6318 [BZ #16506]
6319 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6320 access beyond array bounds when parsing netgroups file.
6321
af37a8a3
SP
6322 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6323 the old buffer before realloc.
6324
0c00f062
AM
63252014-01-27 Allan McRae <allan@archlinux.org>
6326
6327 * po/fr.po: Update French translation from translation project.
6328
7d69a1b0
KK
63292014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6330
6331 * sysdeps/sh/libm-test-ulps: Regenerate.
6332
6e697ff7
DM
63332014-01-24 David S. Miller <davem@davemloft.net>
6334
6335 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6336
9cadb35c
KK
63372014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6338
6339 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6340 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6341
5d41dadf
SP
63422013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
6344 [BZ #16474]
6345 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6346 string pointers after reallocation.
6347
0bad441c
KK
63482014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6349
6350 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6351 __SH4A__ instead of __SH_FPU_ANY__.
6352
7007c661
KK
63532014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6354
6355 * sysdeps/sh/fpu_control.h: New file.
6356 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6357 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6358 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6359 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6360 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6361 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6362 * sysdeps/sh/sys/ucontext.h: Remove.
6363 * sysdeps/sh/sys: Remove directory.
6364
0f0c35e4
AK
63652014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6366
6367 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6368 s390/sys/ucontext.h.
6369 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6371
4959e284
L
63722014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 [BZ #15605]
6375 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6376
d98720e0
AZ
63772014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 [BZ#16431]
6380 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6381 Adjust the vDSO correctly for internal calls.
6382 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6383
91cbd0bc
AM
63842014-01-20 Allan McRae <allan@archlinux.org>
6385
6386 * po/ca.po: Update Catalan translation from translation project.
6387
7a02cfad
MF
63882014-01-16 Mike Frysinger <vapier@gentoo.org>
6389
6390 * sysdeps/s390/sotruss-lib.c: New file.
6391
736c304a
AZ
63922014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6393
6394 [BZ#16430]
6e077ee5 6395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6396 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6397 local calls issues by not having a PLT stub required for IFUNC calls.
6398 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6399
94d0cea0
JM
64002014-01-16 Joseph Myers <joseph@codesourcery.com>
6401
6402 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6403 * math/test-fpucw-static.c: Likewise.
6404
980cb518
SP
64052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 [BZ #16453]
6408 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6409
2393fc01
AZ
64102014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411
6412 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6413 implementation for powerpc.
6414
d359bcc2
OB
64152014-01-15 Ondřej Bílka <neleai@seznam.cz>
6416
6417 [BZ #14782]
6418 * sysdeps/posix/system.c (__libc_system): Do not enable
6419 asynchronous cancellation.
6420
7beb48cb
AK
64212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6422
6423 [BZ #16427]
6424 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6425 handling only for numbers special also in the IEEE case.
6426
c20d5bf5
AK
64272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6428
6429 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6430
e83bd4ee
AM
64312014-01-11 Allan McRae <allan@archlinux.org>
6432
76d0ea69
AM
6433 * po/bg.po: Update Bulgarian translation from translation project.
6434
e83bd4ee
AM
6435 * po/de.po: Update German translation from translation project.
6436
bc2ba20a
RM
64372014-01-10 Roland McGrath <roland@hack.frob.com>
6438
6439 * sysdeps/generic/gcc-compat.h: New file.
6440
649ecea2
SP
64412014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6442
6443 * benchtests/asin-inputs: Correct slow inputs.
6444 * benchtests/acos-inputs: Likewise.
6445
1b19c006
AM
64462014-01-10 Allan McRae <allan@archlinux.org>
6447
a46dab08
AM
6448 * po:sv.po: Update Swedish translation from translation project.
6449
421df74a
AM
6450 * po/vi.po: Update Vietnamese translation from translation project.
6451
d61c51a7
AM
6452 * po/eo.po: Update Esperanto translation from translation project.
6453
0339a319
AM
6454 * po/cs.po: Update Czech translation from translation project.
6455
94ad3e99
AM
6456 * po/nl.po: Update Dutch translation from translation project.
6457
e349ca71
AM
6458 * po/pl.po: Update Polish translation from translation project.
6459
ddf930c1
AM
6460 * po/ru.po: Update Russian translation from translation project.
6461
1b19c006
AM
6462 * po/uk.po: Update Ukrainian translation from translation project.
6463
9f236c49
BM
64642014-01-08 Brooks Moses <bmoses@google.com>
6465
6466 * elf/dl-load.c: Fix comment typo.
6467
cd6701cf
CD
64682014-01-08 Carlos O'Donell <carlos@redhat.com>
6469
6470 * po/header.pot: Rename to...
6471 * po/pot.header: ... this.
6472 * po/Makefile: Use pot.header.
6473
66671c84
YK
64742014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6475 Maxim Kuvyrkov <maxim@kugelworks.com>
6476
6477 [BZ #16394]
cd6701cf
CD
6478 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6479 SRC and DEST against LEN.
66671c84 6480
38f34581
AZ
64812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6482
6483 [BZ #16414]
6484 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6485 implementation.
6486 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6487
64882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6489
6490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6491
4c327f2a
JM
64922014-01-08 Joseph Myers <joseph@codesourcery.com>
6493
6494 [BZ #16408]
6495 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6496 for large positive arguments.
6497
b821f414
JM
64982014-01-07 Joseph Myers <joseph@codesourcery.com>
6499
1f0f2067
JM
6500 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6501
a5a326f6
JM
6502 * math/auto-libm-test-in: Mark various tests with
6503 xfail-rounding:ldbl-128ibm.
6504 * math/auto-libm-test-out: Regenerated.
6505
b821f414
JM
6506 [BZ #16407]
6507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6508 Increase overflow threshold.
6509
94c8a4bc
OB
65102014-01-07 Ondřej Bílka <neleai@seznam.cz>
6511
6512 [BZ #14286]
6513 * stdio-common/vfprintf.c: Check for integer overflow.
6514
87ded0c3
AK
65152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6516
6517 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6518 the first argument and return value of __tls_get_addr_internal.
6519
c5eebdd0
AK
65202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6521
6522 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6523 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6524
05d138ef
AK
65252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6526
6527 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6528 * sysdeps/s390/rtld-global-offsets.sym: New file.
6529 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6530 GLIBC_2.19 symbol.
6531 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6532 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6533 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6534 ... this.
6535 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6536 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6537 ... this.
6538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6539 Regenerate.
6540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6541 Regenerate.
6542 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6543 halfs of GPRs for high_gprs contexts.
6544 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6545 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6546 field.
6547 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6548 uc_flags field.
6549 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6550 64 bit versions:
6551 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6552 for high GPRs (uc_high_gprs) and for future extensions
6553 (__reserved).
6554 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6555 for future extensions (__reserved).
6556 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6557 64 bit versions:
6558 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6559 SC_HIGHGPRS offset definition.
6560 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6561 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6562
93a45ff1
AK
6563 * Versions.def: Add GLIBC_2.19 for libpthread.
6564 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6565 siglongjmp for libpthread with GLIBC_2.19 symver.
6566 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6567 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6568 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6569 * sysdeps/s390/__longjmp.c: New file.
6570 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6571 * sysdeps/s390/longjmp.c: New file.
6572 * sysdeps/s390/setjmp.S: New file.
6573 * sysdeps/s390/sigjmp.S: New file.
6574 * sysdeps/s390/v1-longjmp.c: New file.
6575 * sysdeps/s390/v1-setjmp.h: New file.
6576 * sysdeps/s390/v1-sigjmp.c: New file.
6577 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6578 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6579 GLIBC_2.19 version.
6580 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6581 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6582 versioned symbols for ____longjmp_chk.
6583 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6584 Likewise.
6585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6586 Regenerate.
6587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6588 Regenerate.
6589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6590 Regenerate.
6591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6592 Regenerate.
6593 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6594 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6595 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6596 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6597 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6598 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6599 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6600 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6601 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6602 * sysdeps/s390/rtld-__longjmp.c: New file.
6603 * sysdeps/s390/rtld-setjmp.S: New file.
6604
eb3fc44b
JM
66052014-01-06 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #16400]
6608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6609 Return -__logl (x) for small positive arguments without evaluating
6610 a polynomial.
6611
9341dde4
MF
66122014-01-06 Mike Frysinger <vapier@gentoo.org>
6613
6614 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6615 Rename to ...
6616 (__ptrace_peeksiginfo_args): ... this.
6617 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6620
4cff0293
AM
66212014-01-06 Allan McRae <allan@archlinux.org>
6622
6623 * inet/netinet/in.h: Fix typo in comment.
6624
75595dcf
AJ
66252014-01-05 Andreas Jaeger <aj@suse.de>
6626
6627 * sysdeps/i386/fpu/libm-test-ulps: Update.
6628
79c1e109
AM
66292014-01-05 Allan McRae <allan@archlinux.org>
6630
dd804818
AM
6631 * po/libc.pot: Regenerated.
6632
79c1e109
AM
6633 * malloc/memusagestat.c: Fix gettext call formatting.
6634
0c813d1f
SK
66352014-01-04 Sami Kerola <kerolasa@iki.fi>
6636
6637 * nscd/nscd.c: Improve usage() output.
6638
20f4a8d9
MF
66392014-01-04 Mike Frysinger <vapier@gentoo.org>
6640
6641 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6642 * sysdeps/unix/sysv/linux/configure: Regenerated.
6643 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6644 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6645
22562bb2
JM
66462014-01-03 Joseph Myers <joseph@codesourcery.com>
6647
6648 [BZ #16390]
6649 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6650 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6651
d7ad2d9b
AZ
66522014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653
6654 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6655 extra tokens at end of #undef directive.
6656 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6659
7dd009d8
JM
66602014-01-03 Joseph Myers <joseph@codesourcery.com>
6661
24db925a
JM
6662 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6663
7dd009d8
JM
6664 * math/auto-libm-test-in: Mark various tests with
6665 xfail-rounding:ldbl-128ibm.
6666 * math/auto-libm-test-out: Regenerated.
6667
396e3ecf
JM
66682014-01-02 Joseph Myers <joseph@codesourcery.com>
6669
819e5d50
JM
6670 [BZ #16386]
6671 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6672 numbers with subnormal high part when calculating exponent.
6673
90b6a1e5
JM
6674 [BZ #16385]
6675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6676 fabs.
6677
396e3ecf
JM
6678 [BZ #16384]
6679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6680 M_LN2l.
6681 (__ieee754_acoshl): Use __log1pl not __log1p.
6682
6c8dbf00
OB
66832013-01-02 Ondřej Bílka <neleai@seznam.cz>
6684
57f41c40
AS
6685 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6686 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6687 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6688 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6689 (reused_arena, arena_get2): Convert to GNU style.
6690 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6691 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6692 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6693 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6694 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6695 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6696 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6697 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6698 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6699 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6700 * malloc/malloc.h: Likewise.
57f41c40
AS
6701 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6702 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6703 * malloc/mcheck.h: Likewise.
57f41c40
AS
6704 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6705 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6706 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6707 * malloc/morecore.c (__default_morecore): Likewise.
6708 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6709 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6710 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6711 (print_and_abort): Likewise.
6c8dbf00
OB
6712 * malloc/obstack.h: Likewise.
6713 * malloc/set-freeres.c (__libc_freeres): Likewise.
6714 * malloc/tst-mallocstate.c (main): Likewise.
6715 * malloc/tst-mtrace.c (main): Likewise.
6716 * malloc/tst-realloc.c (do_test): Likewise.
6717
d4124212
SP
67182013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
9a3c6a6f
SP
6720 [BZ #16366]
6721 * nscd/netgroupcache.c (do_notfound): New function.
6722 (addgetnetgrentX): Use it.
6723
d4124212
SP
6724 [BZ # 16365]
6725 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6726 NSS_STATUS_NOTFOUND.
6727
97b9a009
JM
67282014-01-01 Joseph Myers <joseph@codesourcery.com>
6729
6730 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6732
d4697bc9
AM
67332014-01-01 Allan McRae <allan@archlinux.org>
6734
ddb3687f
AM
6735 * scripts/update-copyrights: Update configure input file suffix.
6736
88726d48
AM
6737 * NEWS: Update copyright year.
6738 * catgets/gencat.c: Likewise.
6739 * csu/version.c: Likewise.
6740 * debug/catchsegv.sh: Likewise.
6741 * debug/pcprofiledump.c: Likewise.
6742 * debug/xtrace.sh: Likewise.
6743 * elf/ldconfig.c: Likewise.
6744 * elf/ldd.bash.in: Likewise.
6745 * elf/pldd.c: Likewise.
6746 * elf/sotruss.ksh: Likewise.
6747 * elf/sprof.c: Likewise.
6748 * iconv/iconv_prog.c: Likewise.
6749 * iconv/iconvconfig.c: Likewise.
6750 * locale/programs/locale.c: Likewise.
6751 * locale/programs/localedef.c: Likewise.
6752 * login/programs/pt_chown.c: Likewise.
6753 * malloc/memusage.sh: Likewise.
6754 * malloc/memusagestat.c: Likewise.
6755 * malloc/mtrace.pl: Likewise.
6756 * manual/libc.texinfo: Likewise.
6757 * nscd/nscd.c: Likewise.
6758 * nss/getent.c: Likewise.
6759 * nss/makedb.c: Likewise.
6760 * posix/getconf.c: Likewise.
6761 * scripts/test-installation.pl: Likewise.
6762
d4697bc9
AM
6763 * All files with FSF copyright notices: Update copyright dates
6764 using scripts/update-copyrights.
6765 * intl/plural.c: Regenerated.
6766 * locale/programs/charmap-kw.h: Likewise.
6767 * locale/programs/locfile-kw.h: Likewise.
6768
c8590f9d
MF
67692013-12-31 Mike Frysinger <vapier@gentoo.org>
6770
6771 * sysdeps/unix/sysv/linux/configure: Regenerated.
6772 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6773 the linux/fanotify.h header.
6774 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6775 HAVE_LINUX_FANOTIFY_H is defined.
6776
b19221b9
SP
67772013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6778
dd1d85e5
SP
6779 * benchtests/cos-inputs: New inputs.
6780 * benchtests/sin-inputs: Likewise.
6781
1acbb90f
SP
6782 * benchtests/atan-inputs: New inputs. Fix name of multiple
6783 precision fallback inputs.
6784
4c012ed3
SP
6785 * benchtests/atanh-inputs: New inputs.
6786 * benchtests/tanh-inputs: Likewise.
6787
eff98324
SP
6788 * benchtests/acosh-inputs: New inputs.
6789 * benchtests/asinh-inputs: Likewise.
6790
ce641152
SP
6791 * benchtests/cosh-inputs: New inputs.
6792 * benchtests/sinh-inputs: Likewise.
6793
b19221b9
SP
6794 * benchtests/acos-inputs: Add more inputs.
6795 * benchtests/asin-inputs: Likewise.
6796
030a4976 67972013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6798
030a4976 6799 [BZ #16375]
9dcc8f11
VS
6800 * manual/arith.texi: Fix spelling.
6801 * manual/charset.texi: Likewise.
6802 * manual/errno.texi: Likewise.
6803 * manual/filesys.texi: Likewise.
6804 * manual/lang.texi: Likewise.
6805 * manual/llio.texi: Likewise.
6806 * manual/locale.texi: Likewise.
6807 * manual/message.texi: Likewise.
6808 * manual/resource.texi: Likewise.
6809 * manual/search.texi: Likewise.
6810 * manual/setjmp.texi: Likewise.
6811 * manual/stdio.texi: Likewise.
6812 * manual/string.texi: Likewise.
6813 * manual/sysinfo.texi: Likewise.
6814 * manual/time.texi: Likewise.
6815
11520a57
CD
68162013-12-27 Carlos O'Donell <carlos@redhat.com>
6817
6818 * po/sl.po: New file.
6819
471103ae
MF
68202013-12-27 Mike Frysinger <vapier@gentoo.org>
6821
6822 * .gitignore: Add core/.gdbinit/.gdb_history.
6823
6c9642ed
AM
68242013-12-27 Allan McRae <allan@archlinux.org>
6825
6826 [BZ #16369]
6827 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6828 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6829
3f637079
BM
68302013-12-24 Brooks Moses <bmoses@google.com>
6831
6832 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6833 all compilers that claim C++98 compliance, not just GCC.
6834 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6835 Likewise.
6836
abc26e99
MK
68372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6838
6839 * NEWS: Restore accidentally deleted bug-fix entries.
6840
362b47fe
MK
68412013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6842 Ondřej Bílka <neleai@seznam.cz>
6843
6844 [BZ #15073]
6845 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6846 have_lock.
362b47fe 6847
b9bcbbcb
OB
68482013-12-23 Ondřej Bílka <neleai@seznam.cz>
6849
6850 [BZ #12986]
6851 * manual/stdio.texi (String Input Conversions): Clarify that character
6852 classes are not supported.
6853
fb55fcd2
AZ
68542013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
6856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6857
ef7344f0
JM
68582013-12-22 Joseph Myers <joseph@codesourcery.com>
6859
4f40e4b3
JM
6860 [BZ #16337]
6861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6862 Calculate results for small negative arguments directly rather
6863 than using reflection formula with special underflow handling.
6864
ef7344f0
JM
6865 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6866 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6867 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6868 (fchflags): Likewise.
6869 (revoke): Likewise.
6870 (setlogin): Likewise.
6871 (sigaltstack): Likewise.
6872 (wait4): Likewise.
6873 (sigblock): Remove.
6874 (sigsetmask): Likewise.
6875 (wait3): Likewise.
6876 (waitpid): Likewise.
6877 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6878 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6879 file.
6880 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6881 * sysdeps/unix/bsd/Makefile: ... here.
6882 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6883 * sysdeps/unix/bsd/Versions: ... here.
6884 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6885 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6886 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6887 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6888 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6889 * sysdeps/unix/bsd/sigblock.c: ... here.
6890 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6891 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6892 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6893 * sysdeps/unix/bsd/sigvec.c: ... here.
6894 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6895 * sysdeps/unix/bsd/tcdrain.c: ... here.
6896 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6897 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6898 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6899 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6900 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6901 * sysdeps/unix/bsd/wait.c: ... here.
6902 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6903 * sysdeps/unix/bsd/wait3.c: ... here.
6904 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6905 * sysdeps/unix/bsd/waitpid.c: ... here.
6906
5b0626b9
JM
69072013-12-21 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #16356]
6910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6911 round-to-nearest for [!USE_AS_EXPM1L].
6912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6913 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6914 more tests of exp and exp10. Expect some exp10 tests to miss
6915 exceptions or fail in directed rounding modes.
6916 * math/auto-libm-test-out: Regenerated.
6917 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6918 (exp10_test_tonearest): New function.
6919 (exp10_towardzero_test_data): New array.
6920 (exp10_test_towardzero): New function.
6921 (exp10_downward_test_data): New array.
6922 (exp10_test_downward): New function.
6923 (exp10_upward_test_data): New array.
6924 (exp10_test_upward): New function.
6925 (main): Call the new functions.
6926 * sysdeps/i386/fpu/libm-test-ulps: Update.
6927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6928
7fda5682
JM
69292013-12-20 Joseph Myers <joseph@codesourcery.com>
6930
31e3a405
JM
6931 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6932 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6933 * math/auto-libm-test-out: Regenerated.
6934 * math/libm-test.inc (acosh_test_data): Add more tests.
6935 (atanh_test_data): Likewise.
6936 (ceil_test_data): Likewise.
6937 (copysign_test_data): Likewise.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6940
85bff96a
JM
6941 * timezone/checktab.awk: Update from tzcode 2013i.
6942 * timezone/private.h: Likewise.
6943 * timezone/scheck.c: Likewise.
6944 * timezone/tzfile.h: Likewise.
6945 * timezone/tzselect.ksh: Likewise.
6946 * timezone/zdump.c: Likewise.
6947 * timezone/zic.c: Likewise.
6948
b7867a3b
JM
6949 * math/auto-libm-test-in: Add tests of cpow.
6950 * math/auto-libm-test-out: Regenerated.
6951 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6952 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6953 mpc_cc_c.
6954 (func_calc_desc): Add mpc_cc_c union field.
6955 (test_functions): Add cpow.
6956 (special_fill_2pi): New function.
6957 (special_real_inputs): Add 2pi.
6958 (calc_generic_results): Handle mpc_cc_c.
6959 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961
7fda5682
JM
6962 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6963 csqrt, ctan and ctanh.
6964 * math/auto-libm-test-out: Regenerated.
6965 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6966 (TEST_COND_x86): Likewise.
6967 (ccos_test_data): Use AUTO_TESTS_c_c.
6968 (ccosh_test_data): Likewise.
6969 (cexp_test_data): Likewise.
6970 (clog_test_data): Likewise.
6971 (csqrt_test_data): Likewise.
6972 (ctan_test_data): Likewise.
6973 (ctan_tonearest_test_data): Likewise.
6974 (ctan_towardzero_test_data): Likewise.
6975 (ctan_downward_test_data): Likewise.
6976 (ctan_upward_test_data): Likewise.
6977 (ctanh_test_data): Likewise.
6978 (ctanh_tonearest_test_data): Likewise.
6979 (ctanh_towardzero_test_data): Likewise.
6980 (ctanh_downward_test_data): Likewise.
6981 (ctanh_upward_test_data): Likewise.
6982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6983 mpc_c_c.
6984 (func_calc_desc): Add mpc_c_c union field.
6985 (FUNC_mpc_c_c): New macro.
6986 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6987 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6988 ctanh.
6989 (special_fill_min_subnorm_p120): New function.
6990 (special_real_inputs): Add min_subnorm_p120.
6991 (calc_generic_results): Handle mpc_c_c.
6992 * sysdeps/i386/fpu/libm-test-ulps: Update.
6993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6994
5ff8d60e
SP
69952013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6996
57f41c40
AS
6997 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6998 (do_sin_slow): New functions.
6999 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7000 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7001
84ba214c
SP
7002 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7003 Use M to change sign of result instead of X. Assume X is
7004 positive.
7005 (csloww1): Likewise.
7006 (__sin): Adjust.
7007 (__cos): Adjust.
7008
975195e4
SP
7009 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7010 arguments A and DA.
7011 (__sin): Adjust.
7012 (__cos): Likewise.
7013
5ff8d60e
SP
7014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7015 (__cos): Likewise.
7016 (sloww1): Don't adjust sign of DX.
7017 (csloww1): Likewise.
7018 (sloww2): Use X directly and don't adjust sign of DX.
7019 (csloww2): Likewise.
7020
eb983568
JM
70212013-12-19 Joseph Myers <joseph@codesourcery.com>
7022
64a17f1a
JM
7023 * math/auto-libm-test-in: Add tests of cabs and carg.
7024 * math/auto-libm-test-out: Regenerated.
7025 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7026 (carg_test_data): Likewise.
7027 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7028 mpc_c_f.
7029 (func_calc_desc): Add mpc_c_f union field.
7030 (test_functions): Add cabs and carg.
7031 (calc_generic_results): Handle mpc_c_f.
7032
eb983568
JM
7033 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7034 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7035 as a macro and a compat symbol.
7036 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7037 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7038 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7039 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7040 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7041 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7042 not use .hidden.
7043 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7044 Likewise.
7045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7046 Likewise.
7047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7048 Likewise.
7049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7050 Likewise.
7051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7052 Likewise.
7053 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7054 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7055 from GLIBC_2.3.2.
7056
6eeb678a
AZ
70572013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7058
7059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7060
6f6fc482
JM
70612013-12-19 Joseph Myers <joseph@codesourcery.com>
7062
21fea2e2
JM
7063 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7064 trailing whitespace removed.
7065 * scripts/config.guess: Update to version 2013-11-29.
7066 * scripts/config.sub: Update to version 2013-10-01.
7067
6f6fc482
JM
7068 * math/auto-libm-test-in: Add tests of sincos.
7069 * math/auto-libm-test-out: Regenerated.
7070 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7071 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7072 mpfr_f_11.
7073 (func_calc_desc): Add mpfr_f_11 union field.
7074 (test_functions): Add sincos.
7075 (calc_generic_results): Handle mpfr_f_11.
7076 * sysdeps/i386/fpu/libm-test-ulps: Update.
7077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7078
83f5c32d
AS
70792013-12-19 Andreas Schwab <schwab@suse.de>
7080
7081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7082 CALL_MCOUNT.
7083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7085 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7086
c688b419
JM
70872013-12-19 Joseph Myers <joseph@codesourcery.com>
7088
335ee092
JM
7089 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7090 * sysdeps/i386/fpu/libm-test-ulps: Update.
7091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7092
f88acd39
JM
7093 [BZ #16293]
7094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7095 round-to-nearest mode when using frndint.
7096 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7097 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7099 Likewise.
7100 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7101 sinh test to fail.
7102 * math/auto-libm-test-out: Regenerated.
7103 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7104 (TEST_COND_x86): Likewise.
7105 (expm1_tonearest_test_data): New array.
7106 (expm1_test_tonearest): New function.
7107 (expm1_towardzero_test_data): New array.
7108 (expm1_test_towardzero): New function.
7109 (expm1_downward_test_data): New array.
7110 (expm1_test_downward): New function.
7111 (expm1_upward_test_data): New array.
7112 (expm1_test_upward): New function.
7113 (main): Run the new test functions.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
c688b419
JM
7117 * include/features.h: Update comment documenting feature test
7118 macros. Mention _DEFAULT_SOURCE in comment.
7119 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7120 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7121 _BSD_SOURCE and _SVID_SOURCE.
7122 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7123 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7124 !_SVID_SOURCE]: Likewise.
7125 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7126 (__USE_POSIX_IMPLICITLY): Define.
7127 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7128 (_POSIX_SOURCE): Undefine and redefine.
7129 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7130 (_POSIX_C_SOURCE): Likewise.
7131 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7132 (Feature Test Macros): Update documentation of default features.
7133
9f6e964c
RS
71342013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7135
7136 * benchtests/Makefile: Add bench-strtok.
7137 * benchtests/bench-strtok.c: New file: strtok benchtest.
7138
ee0a148a
AM
71392013-12-19 Allan McRae <allan@archlinux.org>
7140
7141 * manual/install.texi: Suppress menu for plain text output.
7142 * INSTALL: Regenerated.
7143
b9ab448f
BM
71442013-12-18 Brooks Moses <bmoses@google.com>
7145
7146 [BZ #15846]
7147 * misc/getauxval.c: Include errno.h.
7148 (__getauxval): Set errno to ENOENT if the requested type is not
7149 found.
7150 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7151 don't declare with __attribute_const__.
7152 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7153 * manual/startup.texi: Document that getauxval sets errno.
7154
23776487
JM
71552013-12-18 Joseph Myers <joseph@codesourcery.com>
7156
f889953b
JM
7157 * math/auto-libm-test-in: Add tests of jn and yn.
7158 * math/auto-libm-test-out: Regenerated.
7159 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7160 (yn_test_data): Likewise.
7161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7162 mpfr_if_f.
7163 (func_calc_desc): Add mpfr_if_f union field.
7164 (FUNC_mpfr_if_f): New macro.
7165 (test_functions): Add jn and yn.
7166 (calc_generic_results): Assert type of second input for
7167 mpfr_ff_f. Handle mpfr_if_f.
7168 (output_for_one_input_case): Disable all checking for arguments
7169 fitting floating-point types in case of an integer argument.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
23776487
JM
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7174 Don't expect fegetround reference in libm.so.
7175
cb756c6d
MS
71762013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7177
7178 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7179 $(config-cflags-nofma).
7180
2dec468f
JM
71812013-12-18 Joseph Myers <joseph@codesourcery.com>
7182
5953eb3a
JM
7183 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7184 * math/auto-libm-test-out: Regenerated.
7185
2dec468f
JM
7186 [BZ #16338]
7187 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7188 to determine exponent and adjust argument to have exponent of -1.
7189 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7190 log2.
7191 * math/auto-libm-test-out: Regenerated.
7192 * sysdeps/i386/fpu/libm-test-ulps: Update.
7193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7194
4d84e6ad
OB
71952013-12-18 Ondřej Bílka <neleai@seznam.cz>
7196
7197 * manual/probes.texi: Remove cases when per-thread arenas are
7198 disabled.
7199
1818483b
AS
72002013-12-18 Andreas Schwab <schwab@suse.de>
7201
7202 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7203 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7204 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7205 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7206 * sysdeps/i386/i686/multiarch/Makefile: Update.
7207 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7208
25de95bf
JM
72092013-12-17 Joseph Myers <joseph@codesourcery.com>
7210
7211 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7212 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7213
674762d9
PE
72142013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7215
ed27ed83 7216 [BZ #15968]
0748546f
PE
7217 Support TZ transition times < 00:00:00.
7218 This is needed for version-3 tz-format files; it supports time
7219 stamps past 2037 for America/Godthab (the only entry in the tz
7220 database for which this change is relevant).
7221 * manual/time.texi (TZ Variable): Document transition times
7222 from -167:59:59 through -00:00:01.
7223 * time/tzset.c (tz_rule): Time of day is now signed.
7224 (__tzset_parse_tz): Parse negative time of day.
7225
4480e934
PE
7226 Document TZ transition times >= 25:00:00.
7227 * manual/time.texi (TZ Variable): Document transition times from
7228 25:00:00 through 167:59:59. These are already supported, and this
7229 support will help with version-3 tz-format files.
7230
69947401
PE
7231 * manual/time.texi (TZ Variable): Modernize North America example
7232 to reflect current (i.e., 2007-and-later) daylight saving rules.
7233
674762d9
PE
7234 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7235
7011c262
JM
72362013-12-17 Joseph Myers <joseph@codesourcery.com>
7237
2fc6557e
JM
7238 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7239 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7242 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7243 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7244 * sysdeps/unix/bsd/clock.c: Likewise.
7245 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7246 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7247 * sysdeps/unix/bsd/init-posix.c: Likewise.
7248 * sysdeps/unix/bsd/poll.c: Likewise.
7249 * sysdeps/unix/bsd/ptsname.c: Likewise.
7250 * sysdeps/unix/bsd/seekdir.c: Likewise.
7251 * sysdeps/unix/bsd/setegid.c: Likewise.
7252 * sysdeps/unix/bsd/seteuid.c: Likewise.
7253 * sysdeps/unix/bsd/setgid.c: Likewise.
7254 * sysdeps/unix/bsd/setrgid.c: Likewise.
7255 * sysdeps/unix/bsd/setruid.c: Likewise.
7256 * sysdeps/unix/bsd/setsid.c: Likewise.
7257 * sysdeps/unix/bsd/setuid.c: Likewise.
7258 * sysdeps/unix/bsd/sigaction.c: Likewise.
7259 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7260 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7261 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7262 * sysdeps/unix/bsd/telldir.c: Likewise.
7263 * sysdeps/unix/bsd/times.c: Likewise.
7264 * sysdeps/unix/bsd/usleep.c: Likewise.
7265
029c7b25
JM
7266 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7267 ($(objpfx)libbsd-compat.a): Remove rule.
7268
7011c262
JM
7269 * include/features.h (__FAVOR_BSD): Do not define.
7270 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7271 features conflicting with POSIX.
7272 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7273 (_BSD_SOURCE): Remove description of not being a subset of other
7274 feature test macros.
7275 * manual/job.texi (getpgrp): Do not document BSD version.
7276 (getpgid): Do not document by reference to BSD getpgrp.
7277 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7278 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7279 * signal/signal.h [__FAVOR_BSD]: Likewise.
7280 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7281 instead of making contents conditional on [__FAVOR_BSD].
7282 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7283
affb6f78
AZ
72842013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7285
7286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7287
c88769dd
JM
72882013-12-17 Joseph Myers <joseph@codesourcery.com>
7289
6432a540
JM
7290 [BZ #16314]
7291 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7292 values below 2**-450, not 2**-500.
7293 * math/auto-libm-test-in: Don't allow spurious underflow from
7294 hypot.
7295 * math/auto-libm-test-out: Regenerated.
7296
c88769dd
JM
7297 [BZ #16316]
7298 [BZ #16330]
7299 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7300 values of ha and hb and sort them after adjusting subnormal
7301 arguments.
7302 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7303 Likewise.
7304 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7305 values of ea and eb and sort them after adjusting subnormal
7306 arguments.
7307 * math/auto-libm-test-in: Do not expect some hypot tests of
7308 subnormals to fail. Add more hypot tests.
7309 * math/auto-libm-test-out: Regenerated.
7310
29618f6b
KK
73112013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7312
7313 [BZ #13304]
7314 * sysdeps/sh/s_fma.c: New file.
7315 * sysdeps/sh/s_fmaf.c: New file.
7316 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7317 version.
7318 * sysdeps/sh/Implies: Add sh/soft-fp.
7319
eacfdfbf
RM
73202013-12-16 Roland McGrath <roland@hack.frob.com>
7321
7322 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7323 level of indirection to members `objname', `errstring', `malloced'.
7324 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7325 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7326 it as the __longjmp argument (just pass 1 instead).
7327 (_dl_catch_error): Initialize C with argument pointers and address of
7328 volatile local ERRCODE rather than copying values out of C at return.
7329
ff362e5b
JM
73302013-12-16 Joseph Myers <joseph@codesourcery.com>
7331
7332 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7333 * math/auto-libm-test-out: Regenerated.
7334 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7335 (hypot_test_data): Likewise.
7336 (pow_test_data): Likewise.
7337 (pow_tonearest_test_data): Likewise.
7338 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7339 mpfr_ff_f.
7340 (func_calc_desc): Add mpfr_ff_f union field.
7341 (FUNC_mpfr_ff_f): New macro.
7342 (test_functions): Add atan2, hypot and pow.
7343 (special_fill_min): New function.
7344 (special_fill_minus_min): Likewise.
7345 (special_fill_min_subnorm): Likewise.
7346 (special_fill_minus_min_subnorm): Likewise.
7347 (special_real_inputs): Add min, -min, min_subnorm and
7348 -min_subnorm.
7349 (calc_generic_results): Handle mpfr_ff_f.
7350 * sysdeps/i386/fpu/libm-test-ulps: Update.
7351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7352
5764c27f
WN
73532013-12-16 Will Newton <will.newton@linaro.org>
7354
7355 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7356 (Aligned Memory Blocks): Add documentation for aligned_alloc
7357 and suggest it as an alternative to posix_memalign.
7358 (Hooks for Malloc): Document __memalign_hook is also called
7359 for aligned_alloc. (Summary of Malloc): Add summary for
7360 aligned alloc. Document __memalign_hook is also called
7361 for aligned_alloc.
7362
0a096e44
WN
73632013-12-16 Will Newton <will.newton@linaro.org>
7364
7365 * manual/memory.texi (Malloc Examples): Clarify default
7366 alignment documentation. Suggest posix_memalign rather
7367 than memalign or valloc.
7368 (Aligned Memory Blocks): Remove suggestion to use memalign
7369 or valloc. Remove obsolete comment about BSD.
7370 Document memalign errno values and mark the function obsolete.
7371 Document posix_memalign returned error codes. Mark valloc
7372 as obsolete. (Hooks for Malloc): __memalign_hook is also
7373 called for posix_memalign and valloc.
7374 (Summary of Malloc): Add posix_memalign to function summary.
7375 __memalign_hook is also called for posix_memalign and valloc.
7376
8d561986
SP
73772013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7378
7379 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7380 TAYLOR_SIN.
7381 (__sin): Adjust.
7382 (__cos): Likewise.
7383 (sloww): Use mynumber union. Expand ternary operator into
7384 if-else statements.
7385 (cslow): use mynumber union.
7386
73616a74
AM
73872013-12-16 Allan McRae <allan@archlinux.org>
7388
9e8ac24b
AM
7389 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7390 * configure: Regenerated.
7391
6f8e37eb
AM
7392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7393
8894bad3
AM
7394 [BZ #14120]
7395 * configure.ac: Added --enable-maintainer-mode. Check for
7396 autoconf when enabled.
7397 * configure: Regenerated.
7398
73616a74
AM
7399 * nscd/nscd.service: New file.
7400 * nscd/nscd.tmpfiles: New file.
7401
584b18eb
OB
74022013-12-14 Ondřej Bílka <neleai@seznam.cz>
7403
7404 [BZ #12100]
7405 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7406 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7407 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7408 (strstr): Add __strstr_sse2_unaligned ifunc.
7409 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7410 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7411 (strcasestr): Remove __strcasestr_sse42 ifunc.
7412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7415
8a5c7897
KK
74162013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7417
7418 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7419 * sysdeps/sh/bits/fenv.h: ... here.
7420 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7421
fd712ef3
AZ
74222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423
7424 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7425
42fcb46c
AZ
7426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7427 hypotf multiarch implementations.
7428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7431 multiarch hypot for PPC64.
7432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7435 multiarch hypotf for PPC64.
7436
83efded4
AZ
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7438 modff multiarch implementations.
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7442 multiarch modf for PPC64.
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7446 multiarch modff for PPC64.
7447
43e246d2
AZ
7448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7449 and logl multiarch implementations.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7453 multiarch logb for PPC64.
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7457 multiarch logb for PPC64.
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7461 multiarch logb for PPC64.
7462
8fdad123
AZ
7463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7464 isinff multiarch implementation.
7465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7466 file.
7467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7469 multiarch isinf for PPC64.
7470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7471 file.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7473 multiarch isinff for PPC64.
7474
1481d706
AZ
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7476 finitef multiarch implementation.
7477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7478 file.
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7481 multiarch finite for PPC64.
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7483 file.
7484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7485 multiarch finitef for PPC64.
7486
5ccd5fc8
AZ
7487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7488 lrint multiarch implementation.
7489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7490 file.
7491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7493 multiarch llrint for PPC64.
7494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7495 multiarch lrint for PPC64.
7496
2568f3fa
AZ
7497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7498 copysignf multiarch implementation.
7499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7500 file.
7501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7502 file.
7503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7504 multiarch copysign for PPC64.
7505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7506 multiarch copysignf for PPC64.
7507
1cb341fd
AZ
7508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7509 multiarch implementation.
7510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7511 file.
7512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7513 file.
7514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7515 file.
7516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7517 file.
7518 multiarch llround for PPC64.
7519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7520 multiarch trunc for PPC64.
7521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7522 multiarch truncf for PPC64.
7523
59a3e194
AZ
7524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7525 multiarch implementation.
7526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7527 file.
7528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7529 file.
7530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7531 file.
7532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7533 file.
7534 multiarch llround for PPC64.
7535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7536 multiarch round for PPC64.
7537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7538 multiarch roundf for PPC64.
7539
357fd3b4
AZ
7540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7541 multiarch implementation.
7542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7543 file.
7544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7545 file.
7546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7547 file.
7548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7549 file.
7550 multiarch llround for PPC64.
7551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7552 multiarch floor for PPC64.
7553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7554 multiarch floorf for PPC64.
7555
96770f12
AZ
7556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7557 multiarch implementation.
7558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7559 file.
7560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7561 file.
7562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7563 file.
7564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7565 file.
7566 multiarch llround for PPC64.
7567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7568 multiarch ceil for PPC64.
7569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7570 multiarch ceilf for PPC64.
7571
c3627f6e
AZ
7572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7573 multiarch implementation.
7574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7575 file.
7576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7577 file.
7578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7579 file.
7580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7581 multiarch llround for PPC64.
7582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7583 multiarch lround for PPC64.
7584
b2284ad7
AZ
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7586 multiarch implementation.
7587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7590 file.
7591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7594 multiarch isnan for PPC64.
7595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7596 multiarch isnanf for PPC64.
7597
69bbc63d
AZ
7598 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7599 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7600 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7601 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7602 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7604
c24517c9
AZ
7605 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7606 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7609
a52374e8
AZ
7610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7611 multiarch implementations.
7612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613 (__libc_ifunc_impl_list): Likewise.
7614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7616 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7617 multiarch stpcpy for PPC64.
7618
7f5ec113
AZ
7619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7620 multiarch implementations.
7621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7622 (__libc_ifunc_impl_list): Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7624 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7625 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7626 multiarch strcpy for PPC64.
7627
e28bcd42
AZ
7628 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7629 redefine function name.
7630 (_wordcopy_fwd_dest_aligned): Likewise.
7631 (_wordcopy_bwd_aligned): Likewise.
7632 (_wordcopy_bwd_dest_aligned): Likewise.
7633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7634 multiarch implementations.
7635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7636 (__libc_ifunc_impl_list): Likewise.
7637 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7640 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7641 multiarch wcscpy for PPC64.
7642
92cacfce
AZ
7643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7644 multiarch implementations.
7645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7646 (__libc_ifunc_impl_list): Likewise.
7647 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7648 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7649 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7651 multiarch wcscpy for PPC64.
7652
7b714620
AZ
7653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7654 multiarch implementations.
7655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7656 (__libc_ifunc_impl_list): Likewise.
7657 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7658 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7660 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7661 multiarch wcsrchr for PPC64.
7662
16fd2ae3
AZ
7663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7664 multiarch implementations.
7665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7666 (__libc_ifunc_impl_list): Likewise.
7667 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7668 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7669 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7670 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7671 multiarch wcschr for PPC64.
7672
9ee2969b
AZ
7673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7674 multiarch implementations.
7675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7676 (__libc_ifunc_impl_list): Likewise.
7677 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7678 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7680 multiarch strchrnul for PPC64.
7681
372dc060
AZ
7682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7683 implementations.
7684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7685 (__libc_ifunc_impl_list): Likewise.
7686 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7687 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7688 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7689 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7690 strchr for PPC64.
7691
24c2c3b9
AZ
7692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7693 implementations.
7694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7695 (__libc_ifunc_impl_list): Likewise.
7696 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7697 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7698 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7699 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7700 strncmp for PPC64.
7701
1c92d9a0
AZ
7702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7703 multiarch implementations.
7704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7705 (__libc_ifunc_impl_list): Likewise.
7706 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7707 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7708 strncasecmp for PPC64.
7709 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7710 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7711 multiarch strncasecmp_l for PPC64.
7712
17de3ee3
AZ
7713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7714 multiarch implementations.
7715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7716 (__libc_ifunc_impl_list): Likewise.
7717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7719 multiarch strcasecmp for PPC64.
7720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7721 file.
7722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7723 multiarch strcasecmp_l for PPC64.
7724
62982bf9
AZ
7725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7726 implementations.
7727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7728 (__libc_ifunc_impl_list): Likewise.
7729 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7730 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7731 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7732 strnlen for PPC64.
7733
a65f4904
AZ
7734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7735 implementations.
7736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7737 (__libc_ifunc_impl_list): Likewise.
7738 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7739 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7740 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7741 strlen for PPC64.
7742
1fd005ad
AZ
7743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7744 implementations.
7745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7746 (__libc_ifunc_impl_list): Likewise.
7747 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7748 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7749 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7750 rawmemrchr for PPC64.
7751
cd05ba91
AZ
7752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7753 implementation.
7754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7755 (__libc_ifunc_impl_list): Likewise.
7756 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7757 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7758 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7759 memrchr for PPC64.
7760
870f8676
AZ
7761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7762 implementation.
7763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7764 (__libc_ifunc_impl_list): Likewise.
7765 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7766 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7767 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7768 memchr for PPC64.
7769
f00be62b
AZ
7770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7771 implementation.
7772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7773 (__libc_ifunc_impl_list): Likewise.
7774 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7775 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7777 mempcpy for PPC64.
7778
8a29a3d0
AZ
7779 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7780 avoid cretion of __bzero symbol.
7781 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7782 Likewise.
7783 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7784 Likewise.
7785 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7786 Likewise.
7787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7788 multiarch implementations.
7789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7790 (__libc_ifunc_impl_list): Likewise.
7791 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7792 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7793 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7794 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7795 bzero for PPC32.
7796 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7797 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7798 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7799 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7800 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7801 memset for PPC64.
7802 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7803
07253fcf
AZ
7804 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7806 implementations.
7807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7808 (__libc_ifunc_impl_list): Likewise.
7809 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7810 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7811 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7812 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7813 memcmp for PPC64.
7814
b5beafbc
AZ
7815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7816 multiarch for POWER/PPC64.
7817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7818 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7825 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7826 memcpy for PPC64.
7827
5e6a4d4b
AZ
7828 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7829 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7830 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7831 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7832 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7833 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7834 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7835 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7836 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7837 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7838 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7839 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7840 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7841 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7842 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7850
ddfab6dc
KK
78512013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7852
7853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7854
19b5525e
SP
78552013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7856
7857 * benchtests/Makefile (bench): Add exp2 and log2.
7858 (LDLIBS-bench-exp2): Add -lm.
7859 (LDLIBS-bench-log2): Likewise.
7860 * benchtests/exp2-inputs: New inputs file.
7861 * benchtests/log2-inputs: New inputs file.
7862 * benchtests/log-inputs: Add new inputs.
7863 * benchtests/tan-inputs: Likewise.
7864
196f7f5d
SP
78652013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7866
7a74607f
SP
7867 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7868 definition...
57f41c40
AS
7869 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7870 (csloww2): ... from here.
7a74607f 7871
196f7f5d
SP
7872 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7873 instead of structures.
7874 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7875 (POLYNOMIAL): Likewise.
7876 (TAYLOR_SLOW): Likewise.
7877 (__sin): Likewise.
7878 (__cos): Likewise.
7879 (slow1): Likewise.
7880 (slow2): Likewise.
7881 (sloww): Likewise.
7882 (sloww1); Likewise.
7883 (sloww2): Likewise.
7884 (bsloww1): Likewise.
7885 (bsloww2): Likewise.
7886 (cslow2): Likewise.
7887 (csloww): Likewise.
7888 (csloww1): Likewise.
7889 (csloww2): Likewise.
7890
0dfa665c
OB
78912013-12-10 Ondřej Bílka <neleai@seznam.cz>
7892
7893 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7894 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7895 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7896 * malloc/hooks.c (realloc_check): Likewise.
7897
5782a80f
OB
7898 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7899 * malloc/arena.c: Remove PER_THREAD conditional.
7900 [!PER_THREAD]: Remove code.
7901 (ptmalloc_unlock_all2): Likewise.
7902 (ptmalloc_init): Likewise.
7903 (_int_new_arena): Likewise.
7904 (arena_get2): Likewise.
7905 * malloc/hooks.c (__malloc_get_state): Likewise.
7906 (__malloc_set_state): Likewise.
7907 * malloc/malloc.c: Likewise.
7908 (struct malloc_state): Likewise.
7909 (struct malloc_par): Likewise.
7910 (__libc_realloc): Likewise.
7911 (__libc_mallopt): Likewise.
7912
aeb95445
AZ
79132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7914
7915 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7916
e8349efd
OB
79172013-12-09 Ondřej Bílka <neleai@seznam.cz>
7918
7919 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7920 macro to a function. Check for zero perturb_byte.
7921 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7922
f3eeb3fc 7923 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7924 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7925 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7926 force_reg by atomic_forced_read.
7927 * malloc/arena.c (ptmalloc_init): Likewise.
7928 * malloc/hooks.c (top_check): Likewise.
7929
be2f9009
AZ
79302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7931
7932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7933
e7b914bd
MT
79342013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7935
7936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7937
9f0be4f8
JM
79382013-12-08 Joseph Myers <joseph@codesourcery.com>
7939
7940 * math/auto-libm-test-in: Add tests of lgamma.
7941 * math/auto-libm-test-out: Regenerated.
7942 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7943 (M_LOG_2_SQRT_PIl): Likewise.
7944 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7946 mpfr_f_f1.
7947 (func_calc_desc): Add mpfr_f_f1 union field.
7948 (ARGS1): New macro.
7949 (ARGS2): Likewise.
7950 (ARGS3): Likewise.
7951 (ARGS4): Likewise.
7952 (RET1): Likewise.
7953 (RET2): Likewise.
7954 (CALC): Likewise.
7955 (FUNC): Likewise.
7956 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7957 (test_functions): Add lgamma.
7958 (calc_generic_results): Handle mpfr_f_f1.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7961
24eeafdb
AZ
79622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7963
7964 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7965 __mpn_add_n for PowerPC64/POWER7.
7966 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7967 __mpn_sub_n for PowerPC64/POWER7.
7968
4a2c0fd4
AZ
7969 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7970 __mpn_addmul_1 for PowerPC64.
7971 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7972 __mpn_submul_1 for PowerPC64.
7973 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7974 for PowerPC64.
7975 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7976 for PowerPC64.
7977
4b5b548c
FS
79782013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7979
7980 [BZ #15089]
7981 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7982
0a3ac0aa
AZ
79832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7984
7985 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7986
ccdc8438
AZ
7987 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7988 add multiarch folders.
7989 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7990 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7991 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7992 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7993 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7994 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7995 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7996 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7997 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7998 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7999 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8006
2e973d99
AZ
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8008 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8010 New file.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8012 New file.
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8014 multiarch __ieee754_hypot for PowerPC32.
8015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8016 New file.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8018 New file.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8020 multiarch __ieee754_hypotf for PowerPC32.
8021
2d9470b2
AZ
8022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8023 long_double_symbol only if __logbl is defined.
8024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8025 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8027 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8029 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8031 path for implementation.
8032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8035 logb, and logbl multiarch implementations for PowerPC32.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8037 file.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8039 file.
8040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8041 multiarch logb for PowerPC32.
8042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8043 file.
8044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8045 file.
8046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8047 multiarch logbf for PowerPC32.
8048 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8050 file.
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8052 multiarch logbl implementation for PowerPC32.
8053
5212ffce
AZ
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8055 and modff multiarch implementations.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8057 New file.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8059 New file.
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8061 multiarch modf for PowerPC32.
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8063 New file.
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8065 New file.
8066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8067 multiarch modff for PowerPC32.
8068
79dccf31
AZ
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8070 and lrintf multiarch implementations.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8072 New file.
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8074 New file.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8076 multiarch lrint for PowerPC32.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8078 file: multiarch lrintf for PowerPC32.
8079
deb66480
AZ
8080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8081 and lroundf multiarch implementations.
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8083 New file.
8084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8085 New file.
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8087 New file.
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8089 multiarch lround for PowerPC32.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8091 file: multiarch lroundf for PowerPC32.
8092
264b036b
AZ
8093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8094 copysign and copysignf multiarch implementations.
8095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8096 New file.
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8098 New file.
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8100 file: multiarch copysign for PowerPC32.
8101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8102 file: multiarch copysignf for PowerPC32.
8103
d47db6c9
AZ
8104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8105 and truncf multiarch implementations.
8106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8107 New file.
8108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8109 file.
8110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8111 multiarch trunc for PowerPC32.
8112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8113 New file.
8114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8115 New file.
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8117 multiarch truncf for PowerPC32.
8118
ddb60b5a
AZ
8119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8120 and roundf multiarch implementations.
8121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8122 New file.
8123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8124 file.
8125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8126 multiarch round for PowerPC32.
8127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8128 New file.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8130 New file.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8132 multiarch roundf for PowerPC32.
8133
bedcf49b
AZ
8134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8135 and floorf multiarch implementations.
8136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8137 New file.
8138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8139 file.
8140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8141 multiarch floor for PowerPC32.
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8143 New file.
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8145 New file.
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8147 multiarch floorf for PowerPC32.
8148
35ae5b40
AZ
8149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8150 and ceilf multiarch implementations.
8151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8152 New file.
8153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8154 file.
8155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8156 multiarch ceil for PowerPC32.
8157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8158 New file.
8159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8160 file.
8161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8162 multiarch ceilf for PowerPC32.
8163
ae1a4cd9
AZ
8164 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8165 is defined.
8166 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8167 FINITEF is defined.
8168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8169 and finitef multiarch implementations.
8170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8171 New file.
8172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8173 file.
8174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8175 multiarch finite for PowerPC32.
8176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8177 New file.
8178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8179 file: multiarch finitef for PowerPC32.
8180
64fffd65
AZ
8181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8182 and isinff multiarch implementations.
8183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8184 file.
8185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8186 file.
8187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8188 multiarch isinf for PowerPC32.
8189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8190 New file.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8192 multiarch isinff for PowerPC32.
8193
8e4e7ba2
AZ
8194 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8195 alias when __isnan is defined.
8196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8197 and isnanf multiarch implementations.
8198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8199 file.
8200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8201 file.
8202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8203 file.
8204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8205 file.
8206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8207 multiarch isnan for PowerPC32.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8209 New file.
8210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8211 New file.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8213 multiarch isnanf for PowerPC32.
8214
ddba588e
AZ
8215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8216 and sqrtf multiarch implementations.
8217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8218 file.
8219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8220 file.
8221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8222 multiarch sqrt for PowerPC32.
8223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8224 file.
8225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8226 file.
8227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8228 multiarch sqrtf for PowerPC32.
8229
0f96a2f0
AZ
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8231 and llroundf multiarch implementations.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8233 New file.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8235 New file.
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8237 New file.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8239 file: multiarch llround for PowerPC32.
8240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8241 file: multiarch llroundf for PowerPC32.
8242
c9b5d79e
AZ
8243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8244 multiarch PowerPC32 fpu implementations.
8245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8246 New file.
8247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8248 New file.
8249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8250 multiarch llrint for PowerPC32.
8251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8252 New file.
8253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8254 New file.
8255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8256 file.
8257
9cbb3aab
AZ
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8259
ea5a72f8
AZ
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8261 file.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8263 file.
8264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8265 file.
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8267 multiarch wordcopy for PPC32.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8269 wordcopy objects.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8271 (__libc_ifunc_impl_list): Likewise.
8272 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8273 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8275 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8276 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8277 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8278
93be09e7
AZ
8279 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8281 file.
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8283 file.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8285 file.
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8287 multiarch wcscpy for PPC32.
8288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8289 multiarch objects.
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8291 (__libc_ifunc_impl_list): Likewise.
8292 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8293 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8294 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8295 sysdeps/powerpc/power6/wcscpy.c.
8296
bb04e529
AZ
8297 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8299 file.
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8301 file.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8303 file.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8305 multiarch wcsrchr for PPC32.
8306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8307 multiarch objects.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8309 (__libc_ifunc_impl_list): Likewise.
8310 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8311 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8312 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8313 sysdeps/powerpc/power6/wcsrchr.c.
8314
05b5cd1c
AZ
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8316 file.
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8318 file.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8321 multiarch wcschr for PPc32.
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8323 multiarch objects.
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8325 (__libc_ifunc_impl_list): Likewise.
8326 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8327 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8328 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8329 sysdeps/powerpc/power6/wcschr.c.
8330
ba964147
AZ
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8332 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8333 file.
8334 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8335 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8336 file: multiarch strchr for PPC32.
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8338 multiarch objects.
8339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8340 (__libc_ifunc_impl_list): Likewise.
8341
31c81aaa
AZ
8342 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8343 name.
8344 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8345 file.
8346 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8347 file.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8349 multiarch strchrnul for PPC32.
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8351 multiarch objects.
8352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8353 (__libc_ifunc_impl_list): Likewise.
8354
0d0607d9
AZ
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8356 file.
8357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8358 multiarch strncasecmp for PPC32.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8360 file.
8361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8362 multiarch strncasecmp_l for PPC32.
8363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8364 strncasecmp multiarch objects.
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8366 (__libc_ifunc_impl_list): Likewise.
8367
4dfd5c86
AZ
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8369 file.
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8371 multiarch strncasecmp for PPC32.
8372 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8373 New file.
8374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8375 multiarch strcasecmp_l for PPC32.
8376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8377 multiarch objects.
8378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8379 (__libc_ifunc_impl_list): Likewise.
8380
a19e01a3
AZ
8381 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8382 file.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8384 file.
8385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8386 multiarch strncmp for PPC32.
8387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8388 multiarch objects.
8389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8390 (__libc_ifunc_impl_list): Likewise.
8391
ae9cf7a2
AZ
8392 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8393 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8394 file.
8395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8396 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8398 multiarch objects.
8399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8400 (__libc_ifunc_impl_list): Likewise.
8401
3148bb7d
AZ
8402 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8403 file.
8404 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8405 file.
8406 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8408 multiarch objects.
8409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8410 (__libc_ifunc_impl_list): Likewise.
8411
7af8b946
AZ
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8413 file.
8414 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8415 file.
8416 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8417 multiarch rawmemchr for PPC32.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8419 multiarch objects.
8420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8421 (__libc_ifunc_impl_list): Likewise.
8422
03a6aa6a
AZ
8423 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8424 file.
8425 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8426 file.
8427 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8428 file: memrchr multiarch for PPC32.
8429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8430 multiarch objects.
8431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8432 (__libc_ifunc_impl_list): Likewise.
8433
1c62e6d9
AZ
8434 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8435 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8436 file.
8437 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8438 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8439 multiarch memchr for PPC32.
8440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8441 multiarch objects.
8442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8443 (__libc_ifunc_impl_list): Likewise.
8444
87da8bdb
AZ
8445 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8446 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8447 file.
8448 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8449 file.
8450 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8451 file: multiarch mempcpy for PPC32.
8452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8453 multiarch objects.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8455 (__libc_ifunc_impl_list): Likewise.
8456
20ed4714
AZ
8457 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8460 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8461 multiarch bzero for PPC32.
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8463 file.
8464 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8465 file.
8466 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8467 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8468 file: multiarch memset for PPC32.
8469 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8471 memset multiarch objects.
8472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8473 (__libc_ifunc_impl_list): Likewise.
8474
ab3e3a46
AZ
8475 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8476 file.
8477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8479 memcmp for PPC32.
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8482 multiarch objects.
8483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8484 (__libc_ifunc_impl_list): Likewise.
8485
930de6f0
AZ
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8489 file.
8490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8491 file.
8492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8493 file.
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8495 multiarch memcpy for PPC32.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8497 multiarch objects.
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8499 (__libc_ifunc_impl_list): Likewise.
8500
4c628e00
AZ
8501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8502 support multiarch for POWER/PPC32.
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8504 Likewise.
8505 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8507 Implies file to make multiarch folder appers before the fpu and
8508 default folder for power4 configuration.
8509
f4479220
SP
85102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8511
8512 * scripts/bench.pl: Append volatile keyword to type.
8513
8517800f
KK
85142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8515
8516 * sysdeps/sh/sotruss-lib.c: New file.
8517 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8518
180138f1
AZ
85192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8520
8521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8522
bbf37bdc
JM
85232013-12-05 Joseph Myers <joseph@codesourcery.com>
8524
e47cc4e0
JM
8525 [BZ #6810]
8526 * math/w_tgamma.c: Include <errno.h>.
8527 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8528 * math/w_tgammaf.c: Include <errno.h>.
8529 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8530 * math/w_tgammal.c: Include <errno.h>.
8531 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8532 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8533 underflow. Add more tgamma tests.
8534 * math/auto-libm-test-out: Regenerated.
8535 * sysdeps/i386/fpu/libm-test-ulps: Update.
8536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8537
bbf37bdc
JM
8538 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8539 sin, sinh, tan, tanh, tgamma, y0 and y1.
8540 * math/auto-libm-test-out: Regenerated.
8541 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8542 (TEST_COND_x86): Likewise.
8543 (M_E2l): Remove macro.
8544 (M_E3l): Likewise.
8545 (M_2_SQRT_PIl): Likewise.
8546 (M_SQRT_PIl): Likewise.
8547 (M_1_DIV_El): Likewise.
8548 (log_test_data): Use AUTO_TESTS_f_f.
8549 (log10_test_data): Likewise.
8550 (log1p_test_data): Likewise.
8551 (log2_test_data): Likewise.
8552 (sin_test_data): Likewise.
8553 (sin_tonearest_test_data): Likewise.
8554 (sin_towardzero_test_data): Likewise.
8555 (sin_downward_test_data): Likewise.
8556 (sin_upward_test_data): Likewise.
8557 (sinh_test_data): Likewise.
8558 (sinh_tonearest_test_data): Likewise.
8559 (sinh_towardzero_test_data): Likewise.
8560 (sinh_downward_test_data): Likewise.
8561 (sinh_upward_test_data): Likewise.
8562 (tan_test_data): Likewise.
8563 (tan_tonearest_test_data): Likewise.
8564 (tan_towardzero_test_data): Likewise.
8565 (tan_downward_test_data): Likewise.
8566 (tan_upward_test_data): Likewise.
8567 (tanh_test_data): Likewise.
8568 (tgamma_test_data): Likewise.
8569 (y0_test_data): Likewise.
8570 (y1_test_data): Likewise.
8571 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8572 (special_real_inputs): Add pi/4.
8573 * sysdeps/i386/fpu/libm-test-ulps: Update.
8574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575
eb5ad6b9
AZ
85762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8577
8578 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8579 "longjmp_target" static probes.
8580 (__longjmp): Rename to __longjmp_symbol.
8581 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8583 on which longjmp to generate.
8584 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8586 probe.
8587 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8588 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8589 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8591 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8594 __longjmp_symbol based on which __longjmp to generate.
8595 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8596 probe.
8597 (setjmp): Rename to setjmp_symbol.
8598 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8599 (_setjmp): Rename to _setjmp_symbol.
8600 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8601 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8602 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8603 which setjmp to generate.
8604 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8605 "longjmp_target" static probes.
8606
d136c6dc
SP
86072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8608
9298ecba
SP
8609 * benchtests/README: Add note about output arguments.
8610 * benchtests/bench-sincos.c: Remove file.
8611 * benchtests/sincos-inputs: New file.
8612 * scripts/bench.pl: Identify output arguments and define
8613 static variables for them.
8614
232983e9
SP
8615 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8616
d136c6dc
SP
8617 [BZ #15941]
8618 * Makefile (INSTALL): Add install-plain.texi as the primary
8619 dependency.
8620 * manual/install-plain.texi: New file.
8621 * manual/install.texi: Include node directive only for
8622 non-plaintext output.
8623
699ff837
JM
86242013-12-04 Joseph Myers <joseph@codesourcery.com>
8625
ab07cea8
JM
8626 * stdlib/longlong.h: Update from GCC.
8627
699ff837
JM
8628 [BZ #6807]
8629 [BZ #15901]
8630 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8631 * math/w_j0f.c (y0f): Likewise.
8632 * math/w_j0l.c (__y0l): Likewise.
8633 * math/w_j1.c (y1): Likewise.
8634 * math/w_j1f.c (y1f): Likewise.
8635 * math/w_j1l.c (__y1l): Likewise
8636 * math/w_jn.c (yn): Likewise.
8637 * math/w_jnf.c (ynf): Likewise.
8638 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8639 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8640 value for Bessel function domain errors outside _SVID_ mode.
8641 Adjust sign of return value for yn (negative integer, 0).
8642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8643 by zero in return for negative x and set sign appropriately for
8644 negative n.
8645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8647 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8648 expectations in error cases.
8649 (y1_test_data): Likewise.
8650 (yn_test_data): Likewise.
8651 * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653
5b118558
UW
86542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8655
8656 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8657 "64" to "64-v1". Add "64-v2".
8658 (abi-64-options): Rename to ...
8659 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8660 (abi-64-condition): Rename to ...
8661 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8662 (abi-64-ld-soname): Rename to ...
8663 (abi-64-v1-ld-soname): ... this.
8664 (abi-64-v2-options): Define.
8665 (abi-64-v2-condition): Likewise.
8666 (abi-64-v2-ld-soname): Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8668 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8672
61cd8fe4
UW
86732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8674 Alan Modra <amodra@gmail.com>
8675
8676 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8677 New versions for use with the ELFv2 ABI.
8678 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8679 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8680 declaration.
8681 (struct La_ppc64v2_retval): Likewise.
8682 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8683 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8684 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8685 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8686 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8688 Do not save or restore CR.
8689 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8690 (_dl_profile_resolve): Do no save or restore CR. Support extended
8691 return values for ELFv2 ABI. Fix location of FPR return registers.
8692 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8693 updated values for _CALL_ELF == 2.
8694 (La_regs, La_retval, int_retval): Likewise.
8695
8b8a692c
UW
86962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8697
8698 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8699 (FRAME_MIN_SIZE_PARM): Likewise.
8700 (FRAME_BACKCHAIN): Likewise.
8701 (FRAME_CR_SAVE): Likewise.
8702 (FRAME_LR_SAVE): Likewise.
8703 (FRAME_TOC_SAVE): Likewise.
8704 (FRAME_PARM_SAVE): Likewise.
8705 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8706 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8707 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8708 (call_mcount_parm_offset): New macro.
8709 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8710 (PROF): Use symbolic stack frame offsets.
8711 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8712 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8713 Redefine in terms of FRAME_MIN_SIZE.
8714 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8715 (_dl_profile_resolve): Likewise. Update comment.
8716 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8717 symbols stack frame offsets.
8718 (__sigsetjmp): Likewise.
8719 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8720 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8721 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8722 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8723
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8725 (FRAME_BACKCHAIN): Remove.
8726 (FRAME_CR_SAVE): Likewise.
8727 (FRAME_LR_SAVE): Likewise.
8728 (FRAME_COMPILER_DW): Likewise.
8729 (FRAME_LINKER_DW): Likewise.
8730 (FRAME_TOC_SAVE): Likewise.
8731 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8732 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8733 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8734 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8736 (CHECK_SP): Use symbolic stack frame offsets.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8738 zone" instead of caller's parameter save area for temp storage.
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8740 Likewise. Also, use symbolic stack frame offsets.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8742 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8743 our own stack frame instead of the caller's.
8744 (__socket): Use symbolic stack frame offsets.
8745
122b66de
UW
87462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8747 Alan Modra <amodra@gmail.com>
8748
8749 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8750 Define.
57f41c40
AS
8751 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8752 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8753 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8754 New function.
8755 (elf_machine_fixup_plt): Call it.
8756 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8757 reloc arguments.
8758 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8759 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8760 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8761 r2 before calling target.
8762
696caf1d
UW
87632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8764 Alan Modra <amodra@gmail.com>
8765
8766 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8767 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8768 versions of macros to support ELFv2 ABI.
8769 (LOCALENTRY): New macro.
8770 (ENTRY, EALIGN): Use it.
8771 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8772 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8773 fall through into ENTRY entry point.
8774 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8775 Only define if _CALL_ELF != 2.
8776
8777 (elf_machine_matches_host): Verify ABI version matches.
8778 (RTLD_START): Use LOCALENTRY.
8779 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8780 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8781 (PLT_ENTRY_WORDS): New macro.
8782 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8783 (elf_machine_runtime_setup): Support ELFv2 ABI.
8784 (elf_machine_fixup_plt): Likewise.
8785 (elf_machine_plt_conflict): Likewise.
8786 (resolve_ifunc): Likewise.
8787 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8789 Likewise.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8791 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8793 (makecontext): Support ELFv2 ABI.
8794 * elf/elf.h (EF_PPC64_ABI): Define.
8795
d31beafa
UW
87962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8797
57f41c40
AS
8798 * sysdeps/powerpc/powerpc64/sysdep.h
8799 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8800 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8801 (ENTRY) [ASSEMBLER]: ... but instead here ...
8802 (EALIGN) [ASSEMBLER]: ... and here.
8803 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8804 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8805 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8806 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8807 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8809 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8810 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8812 Use PPC64_LOAD_FUNCPTR.
8813
b525166b
UW
8814 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8815
7ec07d9a
AM
88162013-12-04 Alan Modra <amodra@gmail.com>
8817
8818 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8819 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8820 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8821 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8822
8823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8824 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8825 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8826 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8827 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8828 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8829
5162e7dd
UW
88302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8831
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8833 (__makecontext): Fix incorrect CFI when backtracing out of
8834 context created via makecontext.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8836 (__setcontext): Fix incorrect CFI during switch to new context.
8837 (__novec_setcontext): Likewise.
8838
19e3372b
OB
88392013-12-04 Ondřej Bílka <neleai@seznam.cz>
8840
8841 [BZ #4772]
8842 * time/strptime_l.c (__strptime_internal): Allow modifiers
8843 in strptime.
8844 * time/tst-strptime.c (day_tests): Add testcase.
8845
ecaf142d
SP
88462013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8847
8848 * scripts/bench.pl: Skip over blank lines.
8849
fbf964ae
PE
88502013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8851
8852 [BZ #926]
8853 * manual/time.texi (Calendar Time): Clarify what timezone functions
8854 use.
8855
fa60a674
AZ
88562013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8857
8858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8859
d674f0ef
OB
88602013-12-04 Ondřej Bílka <neleai@seznam.cz>
8861
8862 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8863 implementation.
8864 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8865 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8866 * debug/memset_chk.c (__memset_chk): Likewise.
8867 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8868 * debug/strncpy_chk.c: Likewise.
8869
17dea188
JM
88702013-12-03 Joseph Myers <joseph@codesourcery.com>
8871
749008ff
JM
8872 [BZ #15268]
8873 [BZ #15425]
8874 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8875 (__ieee754_exp): For possibly underflowing results, check size of
8876 result and force underflow exception if required.
8877 * math/auto-libm-test-in: Add more tests of exp.
8878 * math/auto-libm-test-out: Regenerated.
8879 * sysdeps/i386/fpu/libm-test-ulps: Update.
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8881
17dea188
JM
8882 [BZ #16283]
8883 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8884 * math/w_exp2f.c (__exp2f): Likewise.
8885 * math/w_exp2l.c (__exp2l): Likewise.
8886 * math/auto-libm-test-in: Do not allow missing errno on exp2
8887 underflow.
8888 * math/auto-libm-test-out: Regenerated.
8889
b20de2c3
OB
88902013-12-03 Ondřej Bílka <neleai@seznam.cz>
8891
8892 [BZ #16274]
8893 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8894 handle filename validation.
8895 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8896 (do_open): Delete.
8897
d8e2dbe3
JM
88982013-12-03 Joseph Myers <joseph@codesourcery.com>
8899
34e16df5
JM
8900 [BZ #6786]
8901 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8902 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8903 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8904 <float.h>.
8905 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8907 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8909 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8911 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8912 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8913 Add more erfc tests.
8914 * math/auto-libm-test-out: Regenerated.
8915 * sysdeps/i386/fpu/libm-test-ulps: Update.
8916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8917
d8e2dbe3
JM
8918 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8919 exp2, expm1, j0 and j1.
8920 * math/auto-libm-test-out: Regenerated.
8921 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8922 (erfc_test_data): Likewise.
8923 (exp_test_data): Likewise.
8924 (exp_tonearest_test_data): Likewise.
8925 (exp_towardzero_test_data): Likewise.
8926 (exp_downward_test_data): Likewise.
8927 (exp_upward_test_data): Likewise.
8928 (exp10_test_data): Likewise.
8929 (exp2_test_data): Likewise.
8930 (expm1_test_data): Likewise.
8931 (j0_test_data): Likewise.
8932 (j1_test_data): Likewise.
8933 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8934 (input_flag_type): Add flag_xfail_rounding.
8935 (input_flags): Add xfail-rounding.
8936 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8937 (output_for_one_input_case): Handle flag_xfail_rounding.
8938 * sysdeps/i386/fpu/libm-test-ulps: Update.
8939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940
18d14251
AJ
89412013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8942
3d2e6075 8943 [BZ #16289]
18d14251
AJ
8944 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8945 division by 0.
8946
520d437b
SP
89472013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8948
8949 [BZ #16195]
8950 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8951 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8952 (STAP_PROBE0): New macro.
8953 (STAP_PROBE1): Likewise.
8954 (STAP_PROBE2): Likewise.
8955 (STAP_PROBE3): Likewise.
8956 (STAP_PROBE4): Likewise.
8957
416e0145
OB
89582013-12-02 Ondřej Bílka <neleai@seznam.cz>
8959
8960 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8961
9d17796a
SE
89622013-12-02 Steve Ellcey <sellcey@mips.com>
8963
8964 * benchtests/Makefile (bench): Add sqrt.
8965 (LDLIBS-bench-sqrt): New.
8966 * benchtests/sqrt-input: New.
8967
f524d6a8
PS
89682013-12-02 Pavel Simerda <psimerda@redhat.com>
8969
639a0ef8
PS
8970 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8971 (GAIH_EAI): Likewise.
8972 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8973 (gaih_inet): Likewise.
8974 (getaddrinfo): Don't use GAIH_EAI.
8975
f524d6a8
PS
8976 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8977 (struct gaih): Remove definition.
8978
df3aedaf
SP
89792013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
8981 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8982 Use HERRNOP directly.
8983
1ab19dec
AZ
89842013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8985
b42ad38d 8986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8987
176b0c79
JM
89882013-11-30 Joseph Myers <joseph@codesourcery.com>
8989
8990 * math/gen-auto-libm-tests.c (test_functions): Add more
8991 single-argument functions.
8992 (special_fill_pi_2): New function.
8993 (special_fill_minus_pi_2): Likewise.
8994 (special_fill_pi_6): Likewise.
8995 (special_fill_minus_pi_6): Likewise.
8996 (special_fill_pi_3): Likewise.
8997 (special_fill_2pi_3): Likewise.
8998 (special_fill_e): Likewise.
8999 (special_fill_1_e): Likewise.
9000 (special_fill_e_minus_1): Likewise.
9001 (special_real_inputs): Add more special inputs.
9002 (output_for_one_input_case): Do not require ERANGE on underflow to
9003 zero if round-to-nearest result does not underflow to zero, unless
9004 exact results required.
9005 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9006 atan, atanh, cbrt, cos and cosh.
9007 * math/auto-libm-test-out: Regenerated.
9008 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9009 (acos_tonearest_test_data): Likewise.
9010 (acos_towardzero_test_data): Likewise.
9011 (acos_downward_test_data): Likewise.
9012 (acos_upward_test_data): Likewise.
9013 (acosh_test_data): Likewise.
9014 (asin_test_data): Likewise.
9015 (asin_tonearest_test_data): Likewise.
9016 (asin_towardzero_test_data): Likewise.
9017 (asin_upward_test_data): Likewise.
9018 (asinh_test_data): Likewise.
9019 (atan_test_data): Likewise.
9020 (atanh_test_data): Likewise.
9021 (cbrt_test_data): Likewise.
9022 (cos_test_data): Likewise.
9023 (cos_tonearest_test_data): Likewise.
9024 (cos_towardzero_test_data): Likewise.
9025 (cos_downward_test_data): Likewise.
9026 (cos_upward_test_data): Likewise.
9027 (cosh_test_data): Likewise.
9028 (cosh_tonearest_test_data): Likewise.
9029 (cosh_towardzero_test_data): Likewise.
9030 (cosh_downward_test_data): Likewise.
9031 (cosh_upward_test_data): Likewise.
9032 * sysdeps/i386/fpu/libm-test-ulps: Update.
9033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9034
ffb536d0
JM
90352013-11-29 Joseph Myers <joseph@codesourcery.com>
9036
2a77a467
JM
9037 [BZ #6787]
9038 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9039 * math/w_exp10f.c (__exp10f): Likewise.
9040 * math/w_exp10l.c (__exp10l): Likewise.
9041 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9042 errno settings in existing tests.
9043
ea3bc4e8
JM
9044 [BZ #14032]
9045 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9046 precision control set to double precision.
9047 * sysdeps/i386/fpu/w_sqrt.c: New file.
9048 * math/auto-libm-test-in: Add more tests.
9049 * math/auto-libm-test-out: Update.
9050
0712c9d8
JM
9051 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9052 (sqrt_test_tonearest): New function.
9053 (sqrt_towardzero_test_data): New variable.
9054 (sqrt_test_towardzero): New function.
9055 (sqrt_downward_test_data): New variable.
9056 (sqrt_test_downward): New function.
9057 (sqrt_upward_test_data): New variable.
9058 (sqrt_test_upward): New function.
9059 (main): Call the new functions.
9060
ffb536d0
JM
9061 * math/gen-auto-libm-tests.c: New file.
9062 * math/auto-libm-test-in: Likewise.
9063 * math/auto-libm-test-out: New generated file.
9064 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9065 variables.
9066 (%beautify): Add generated representations of zero.
9067 (top level): Set $auto_input and call parse_auto_input.
9068 (beautify): Remove trailing "f" from hex float constants.
9069 (parse_args): Handle XFAIL_TEST.
9070 (convert_condition): New function.
9071 (or_value): Likewise.
9072 (or_cond_value): Likewise.
9073 (generate_testfile): Handle AUTO_TESTS_* lines.
9074 (parse_auto_input): New function.
9075 * math/libm-test.inc (XFAIL_TEST): New macro.
9076 (ERRNO_UNCHANGED): Update value.
9077 (ERRNO_EDOM): Likewise.
9078 (ERRNO_ERANGE): Likewise.
9079 (IGNORE_RESULT): Likewise.
9080 (TEST_COND_flt_32): New macro.
9081 (TEST_COND_dbl_64): Likewise.
9082 (TEST_COND_ldbl_96_intel): Likewise.
9083 (TEST_COND_ldbl_96_m68k): Likewise.
9084 (TEST_COND_ldbl_128): Likewise.
9085 (TEST_COND_ldbl_128ibm): Likewise.
9086 (TEST_COND_long32): Likewise.
9087 (TEST_COND_long64): Likewise.
9088 (TEST_COND_before_rounding): Likewise.
9089 (TEST_COND_after_rounding): Likewise.
9090 (enable_test): Handle XFAIL_TEST flag.
9091 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9092 with finite results.
9093 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9094 auto-libm-test-out.
9095
acd98a8e
AK
90962013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9098
9099 [BZ #16214]
9100 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9101 __tls_get_addr_internal instead of __tls_get_offset in order to
9102 avoid GOT pointer dependency. Make rtld export
9103 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9104 __tls_get_addr since we are a __tls_get_offset platform.
9105 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9106 GOT pointer being set up before.
9107 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9108
3c1c46a6
JM
91092013-11-28 Joseph Myers <joseph@codesourcery.com>
9110
7475aef5
JM
9111 * manual/math.texi (Errors in Math Functions): Document accuracy
9112 goals.
9113
8bca7cd8
JM
9114 [BZ #15004]
9115 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9116 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9131
91a1f3fe
JM
9132 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9133 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9134 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9135 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9136 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9137 Likewise.
9138 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9139 Likewise.
9140 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9141 Likewise.
9142 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9143 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9144 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9145 atomic-feupdateenv and flt-rounds.
9146 * sysdeps/powerpc/nofpu/Versions (libc): Add
9147 __atomic_feholdexcept, __atomic_feclearexcept,
9148 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9149 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9150 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9151 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9152 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9153 here.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9155 Update.
9156
c5df7609
JM
9157 * manual/arith.texi (FP Exceptions): Document that exceptions may
9158 not be raised when matherr is used.
9159 (Math Error Reporting): Document overflow in directed rounding
9160 modes. Document that errno may not be set when finite values are
9161 returned on overflow. Document intent to set errno on underflow
9162 only for underflow to zero.
9163
3c1c46a6
JM
9164 [BZ #16271]
9165 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9166 round-to-nearest then adjust result for other rounding modes.
9167 * include/fenv.h (fegetround): Use libm_hidden_proto.
9168 * math/fegetround.c (fegetround): Use libm_hidden_def.
9169 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9170 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9171 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9173 Likewise.
9174 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9175 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9176 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9177 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9178
5a4c6d53
SP
91792013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
9181 [BZ #16077]
9182 * nss/Versions (libnss_files): Add
9183 _nss_files_gethostbyname3_r.
9184 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9185 New function.
9186 (HOST_DB_LOOKUP): Remove macro.
9187 (_nss_files_gethostbyname_r): Implement function without the
9188 HOST_DB_LOOKUP macro.
9189 (_nss_files_gethostbyname2_r): Likewise.
9190
897b98ba
OB
91912013-11-28 Ondřej Bílka <neleai@seznam.cz>
9192
9193 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9194
6f476861
UB
91952013-11-26 Uros Bizjak <ubizjak@gmail.com>
9196
9197 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9198 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9199 warning.
9200
bd12ab55
AZ
92012013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9202
9203 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9204 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9205 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9206 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9207 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9208 __fe_nomask_env_priv and attribute_hidden.
9209 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9210 (libc_feupdateenv_test_ppc): Likewise.
9211 (libc_feresetround_ppc): Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9213 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9214 compat_symbol macro.
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9216 (__fe_nomask_env): Likewise.
9217 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9218
52bb6543
OB
92192013-11-26 Ondřej Bílka <neleai@seznam.cz>
9220
9221 * string/Makefile: Remove ifunc tests.
9222 * string/test-string.h: Define TEST_IFUNC.
9223 * string/test-bcopy-ifunc.c: Remove.
9224 * string/test-bzero-ifunc.c: Likewise.
9225 * string/test-memccpy-ifunc.c: Likewise.
9226 * string/test-memchr-ifunc.c: Likewise.
9227 * string/test-memcmp-ifunc.c: Likewise.
9228 * string/test-memcpy-ifunc.c: Likewise.
9229 * string/test-memmem-ifunc.c: Likewise.
9230 * string/test-memmove-ifunc.c: Likewise.
9231 * string/test-mempcpy-ifunc.c: Likewise.
9232 * string/test-memrchr-ifunc.c: Likewise.
9233 * string/test-memset-ifunc.c: Likewise.
9234 * string/test-rawmemchr-ifunc.c: Likewise.
9235 * string/test-stpcpy-ifunc.c: Likewise.
9236 * string/test-stpncpy-ifunc.c: Likewise.
9237 * string/test-strcasecmp-ifunc.c: Likewise.
9238 * string/test-strcasestr-ifunc.c: Likewise.
9239 * string/test-strcat-ifunc.c: Likewise.
9240 * string/test-strchr-ifunc.c: Likewise.
9241 * string/test-strchrnul-ifunc.c: Likewise.
9242 * string/test-strcmp-ifunc.c: Likewise.
9243 * string/test-strcpy-ifunc.c: Likewise.
9244 * string/test-strcspn-ifunc.c: Likewise.
9245 * string/test-strlen-ifunc.c: Likewise.
9246 * string/test-strncasecmp-ifunc.c: Likewise.
9247 * string/test-strncat-ifunc.c: Likewise.
9248 * string/test-strncmp-ifunc.c: Likewise.
9249 * string/test-strncpy-ifunc.c: Likewise.
9250 * string/test-strnlen-ifunc.c: Likewise.
9251 * string/test-strpbrk-ifunc.c: Likewise.
9252 * string/test-strrchr-ifunc.c: Likewise.
9253 * string/test-strspn-ifunc.c: Likewise.
9254 * string/test-strstr-ifunc.c: Likewise.
9255
ab260039 92562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9257
9258 * benchtests/Makefile: Remove ifunc tests.
9259 * benchtests/bench-string.h: Define TEST_IFUNC.
9260 * benchtests/bench-bcopy-ifunc.c: Remove.
9261 * benchtests/bench-bzero-ifunc.c: Likewise.
9262 * benchtests/bench-memccpy-ifunc.c: Likewise.
9263 * benchtests/bench-memchr-ifunc.c: Likewise.
9264 * benchtests/bench-memcmp-ifunc.c: Likewise.
9265 * benchtests/bench-memcpy-ifunc.c: Likewise.
9266 * benchtests/bench-memmem-ifunc.c: Likewise.
9267 * benchtests/bench-memmove-ifunc.c: Likewise.
9268 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9269 * benchtests/bench-memrchr-ifunc.c: Likewise.
9270 * benchtests/bench-memset-ifunc.c: Likewise.
9271 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9272 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9273 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9274 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9275 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9276 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9277 * benchtests/bench-strcat-ifunc.c: Likewise.
9278 * benchtests/bench-strchr-ifunc.c: Likewise.
9279 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9280 * benchtests/bench-strcmp-ifunc.c: Likewise.
9281 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9282 * benchtests/bench-strcpy-ifunc.c: Likewise.
9283 * benchtests/bench-strcspn-ifunc.c: Likewise.
9284 * benchtests/bench-strlen-ifunc.c: Likewise.
9285 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9286 * benchtests/bench-strncat-ifunc.c: Likewise.
9287 * benchtests/bench-strncmp-ifunc.c: Likewise.
9288 * benchtests/bench-strncpy-ifunc.c: Likewise.
9289 * benchtests/bench-strnlen-ifunc.c: Likewise.
9290 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9291 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9292 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9293 * benchtests/bench-strspn-ifunc.c: Likewise.
9294 * benchtests/bench-strstr-ifunc.c: Likewise.
9295
92962013-11-26 Ondřej Bílka <neleai@seznam.cz>
9297
ab260039
OB
9298 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9299
d1d9eaf4 93002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9301
d1d9eaf4
OB
9302 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9303 * rt/aio.h: Likewise.
9304 * sysdeps/gnu/bits/utmp.h: Likewise.
9305 * sysdeps/gnu/bits/utmpx.h: Likewise.
9306 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9307 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9308 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9309 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9310 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9311 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9312 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9313 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9314 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9315 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9316 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9318 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9321 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9322 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9323 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9325 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9327 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9333 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9335 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9336 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9338 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9340 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9341 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9342 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9343 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9344 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9345 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9346 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9347 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9348
a7624ed9
CD
93492013-11-25 Carlos O'Donell <carlos@redhat.com>
9350
9351 [BZ #16245]
9352 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9353 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9354
63cfe52b
JM
93552013-11-25 Joseph Myers <joseph@codesourcery.com>
9356
9357 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9358 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9359 Likewise.
9360
41e8926a
AZ
93612013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362
9363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9364 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9365 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9366 (__fesetround): Remove define.
9367 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9368 rounding and exceptions handling.
9369 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9370 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9371 (__fe_nomask_env): Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9373 __fegetround instead of fegetround.
9374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9375 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9376
6851bd4d
RM
93772013-11-21 Roland McGrath <roland@hack.frob.com>
9378
070906ff
RM
9379 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9380 it's there.
9381
6851bd4d
RM
9382 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9383
84ae135d
MI
93842013-11-21 Meador Inge <meadori@codesourcery.com>
9385
9386 [BZ #11157]
9387 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9388 (encrypt_r): Likewise.
9389 * malloc/obstack.h (obstack_free): Likewise.
9390 * posix/unistd.h (encrypt): Likewise.
9391
daf75146
GM
93922013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9393
9394 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9395 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9396 DL_CALL_DT_FINI() that call the functions directly.
9397 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9398 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9399 * elf/dl-fini.c: Likewise.
9400
10ad46bc
OB
94012013-11-20 Ondřej Bílka <neleai@seznam.cz>
9402
9403 * malloc/hooks.c (memalign_check): Add alignment rounding.
9404 * malloc/malloc.c (_mid_memalign): New function.
9405 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9406 Implement by calling _mid_memalign.
9407 * manual/probes.texi (Memory Allocation Probes): Remove
9408 memory_valloc_retry and memory_pvalloc_retry.
9409
f3fd2628
SP
94102013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
4712799f
SP
9412 * locale/programs/locarchive.c (open_archive): Add const
9413 qualifier to ARCHIVEFNAME and copy default fname to
9414 DEFAULT_FNAME.
9415
0417b20f
SP
9416 [BZ #15601]
9417 * libio/tst-widetext.input: Rename Oriya to Odia.
9418 * locale/iso-639.def: Likewise.
9419
f3fd2628
SP
9420 * manual/probes.texi (Mathematical Function Probes): Add
9421 documentation for sin, cos, asin and acos probes.
9422 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9423 (__sin32): Add slowasin probe.
9424 (__cos32): Add slowacos probe.
9425 (__mpsin): Add slowsin probe.
9426 (__mpcos): Add slowcos probe.
9427
73c1ce4f
JM
94282013-11-19 Joseph Myers <joseph@codesourcery.com>
9429
9430 [BZ #15483]
9431 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9432 thread-local __sim_exceptions_thread and global
9433 __sim_exceptions_global.
9434 (__sim_disabled_exceptions): Change to thread-local
9435 __sim_disabled_exceptions_thread and global
9436 __sim_disabled_exceptions_global.
9437 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9438 and global __sim_round_mode_global.
9439 (__simulate_exceptions): Use thread-local floating-point state and
9440 set global state from it as needed.
9441 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9442 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9443 __sim_round_mode_thread.
9444 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9445 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9446 and global __sim_exceptions_global.
9447 (__sim_disabled_exceptions): Change to thread-local
9448 __sim_disabled_exceptions_thread and global
9449 __sim_disabled_exceptions_global.
9450 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9451 and global __sim_round_mode_global.
9452 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9453 (SIM_SET_GLOBAL): Likewise.
9454 * sysdeps/powerpc/soft-fp/sfp-machine.h
9455 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9456 __sim_round_mode_thread.
9457 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9458 __sim_disabled_exceptions_thread.
9459 (__sim_exceptions): Change to __sim_exceptions_thread.
9460 (__sim_disabled_exceptions): Change to
9461 __sim_disabled_exceptions_thread.
9462 (__sim_round_mode): Change to __sim_round_mode_thread.
9463 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9464 thread-local floating-point state and set global state from it as
9465 needed.
9466 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9467 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9468 (__sim_disabled_exceptions): Remove extern declaration.
9469 (feenableexcept): Use thread-local floating-point state and set
9470 global state from it as needed.
9471 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9472 extern declaration.
9473 (__sim_disabled_exceptions): Likewise.
9474 (__sim_round_mode): Likewise.
9475 (__fegetenv): Use thread-local floating-point state.
9476 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9477 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9478 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9479 floating-point state and set global state from it as needed.
9480 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9481 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9482 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9483 Likewise.
9484 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9485 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9486 Likewise.
9487 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9488 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9489 Use __sim_round_mode_thread.
9490 * math/test-fenv-tls.c: New file.
9491 * math/Makefile (tests): Add test-fenv-tls.
9492 ($(objpfx)test-fenv-tls): Depend on
9493 $(common-objpfx)nptl/libpthread.so.
9494
b5449b12
AS
94952013-11-19 Andreas Schwab <schwab@suse.de>
9496
9497 * locale/programs/locale.c (show_info): Decode wordarray elements.
9498 * locale/categories.def (LC_MONETARY): Add element for
9499 _NL_MONETARY_CRNCYSTR.
9500 * locale/C-monetary.c (conversion_rate): New variable.
9501 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9502 element.
9503
e186536b
CM
95042013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9505
9506 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9507 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9508
5c349950
PP
95092013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9510
9511 * elf/Makefile (tst-auxv): New test.
9512 * elf/tst-auxv.c: New
9513 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9514
699df45b
JM
95152013-11-18 Joseph Myers <joseph@codesourcery.com>
9516
9517 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9518 (hidden_proto): Caller changed.
9519 (hidden_tls_proto): New macro.
9520 (libc_hidden_tls_proto): Likewise.
9521 (rtld_hidden_tls_proto): Likewise.
9522 (libm_hidden_tls_proto): Likewise.
9523 (libresolv_hidden_tls_proto): Likewise.
9524 (librt_hidden_tls_proto): Likewise.
9525 (libdl_hidden_tls_proto): Likewise.
9526 (libnss_files_hidden_tls_proto): Likewise.
9527 (libnsl_hidden_tls_proto): Likewise.
9528 (libnss_nisplus_hidden_tls_proto): Likewise.
9529 (libutil_hidden_tls_proto): Likewise.
9530
b7589107
OB
95312013-11-18 Ondřej Bílka <neleai@seznam.cz>
9532
9533 [BZ #10253]
9534 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9535 (decompose_rpath): Defer expansion to fillin_rpath.
9536 (_dl_init_paths): Pass linkmap to fillin_rpath.
9537
250c23bd
RS
95382013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9539
9540 * benchtests/Makefile: Add strsep.
9541 * benchtests/bench-strsep.c: New file: strsep benchtest.
9542 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9543
a7931fcf
AS
95442013-11-18 Andreas Schwab <schwab@suse.de>
9545
9546 * locale/programs/locale.c (show_info) [case byte]: Check for
9547 '\377' instead of '\177'.
9548 * locale/C-monetary.c (not_available): Always use "\377".
9549 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9550 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9551 detect unavailable sign_posn locale elements.
9552 * locale/localeconv.c (__localeconv): For grouping and
9553 mon_grouping handle "\177" and "\377" like no grouping.
9554 (INT_ELEM): New macro. Use it to set all numeric members.
9555 * locale/programs/ld-monetary.c (monetary_read)
9556 <tok_mon_grouping>: Normalize single -1 to the empty string.
9557 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9558 Likewise.
9559
728dab0e
OB
95602013-11-07 Ondřej Bílka <neleai@seznam.cz>
9561
9562 [BZ #16055]
9563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9564 when we match (nil).
9565 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9566
66294491
JM
95672013-11-16 Joseph Myers <joseph@codesourcery.com>
9568
ce665817
JM
9569 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9570 (NO_TEST_INLINE): Update value.
9571 (ERRNO_UNCHANGED): Likewise.
9572 (ERRNO_EDOM): Likewise.
9573 (ERRNO_ERANGE): Likewise.
9574 (IGNORE_RESULT): Likewise.
9575 (check_float_internal): Check signs of NaN results if
9576 TEST_NAN_SIGN used.
9577 (check_complex): Pass TEST_NAN_SIGN flag through to second
9578 check_float_internal call.
9579 (copysign_test_data): Add tests with quiet NaNs as second
9580 argument. Use TEST_NAN_SIGN.
9581 (fabs_test_data): Add test of negative quiet NaN argument. Use
9582 TEST_NAN_SIGN.
9583 (signbit_test_data): Add tests of quiet NaN argument.
9584 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9585
ee1466a9
JM
9586 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9587 $ignore_result.
9588 (parse_args): Handle function results specified as IGNORE.
9589 * math/libm-test.inc (IGNORE_RESULT): New macro.
9590 (check_float_internal): Do not check numerical result if flag
9591 IGNORE_RESULT set.
9592 (check_complex): Pass through IGNORE_RESULT to second
9593 check_float_internal call.
9594 (check_int): Do not check numerical result if flag IGNORE_RESULT
9595 set.
9596 (check_long): Likewise.
9597 (check_bool): Likewise.
9598 (check_longlong): Likewise.
9599 (lrint_test_data): Add tests of infinite and NaN arguments.
9600 (lrint_tonearest_test_data): Likewise.
9601 (lrint_towardzero_test_data): Likewise.
9602 (lrint_downward_test_data): Likewise.
9603 (lrint_upward_test_data): Likewise.
9604 (llrint_test_data): Likewise.
9605 (llrint_tonearest_test_data): Likewise.
9606 (llrint_towardzero_test_data): Likewise.
9607 (llrint_downward_test_data): Likewise.
9608 (llrint_upward_test_data): Likewise.
9609 (lround_test_data): Likewise.
9610 (llround_test_data): Likewise.
9611
14407b7e
JM
9612 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9613 (ERRNO_UNCHANGED): Update value.
9614 (ERRNO_EDOM): Likewise.
9615 (ERRNO_ERANGE): Likewise.
9616 (NO_TEST_INLINE_FLOAT): New macro.
9617 (NO_TEST_INLINE_DOUBLE): Likewise.
9618 (enable_test): New function.
9619 (RUN_TEST_f_f): Check enable_test before running test.
9620 (RUN_TEST_2_f): Likewise.
9621 (RUN_TEST_fff_f): Likewise.
9622 (RUN_TEST_c_f): Likewise.
9623 (RUN_TEST_f_f1): Likewise.
9624 (RUN_TEST_fF_f1): Likewise.
9625 (RUN_TEST_fI_f1): Likewise.
9626 (RUN_TEST_ffI_f1): Likewise.
9627 (RUN_TEST_c_c): Likewise.
9628 (RUN_TEST_cc_c): Likewise.
9629 (RUN_TEST_f_i): Likewise.
9630 (RUN_TEST_f_i_tg): Likewise.
9631 (RUN_TEST_ff_i_tg): Likewise.
9632 (RUN_TEST_f_b): Likewise.
9633 (RUN_TEST_f_b_tg): Likewise.
9634 (RUN_TEST_f_l): Likewise.
9635 (RUN_TEST_f_L): Likewise.
9636 (RUN_TEST_fFF_11): Likewise.
9637 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9638 conditionals.
9639 (cosh_test_data): Likewise.
9640 (exp_test_data): Likewise.
9641 (expm1_test_data): Likewise.
9642 (hypot_test_data): Likewise.
9643 (pow_test_data): Likewise.
9644 (sinh_test_data): Likewise.
9645 (tanh_test_data): Likewise.
9646 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9647 flags argument.
9648
ca07f197
JM
9649 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9650 tests with quiet NaN input and output.
9651 (acosh_test_data): Likewise.
9652 (asin_test_data): Likewise.
9653 (asinh_test_data): Likewise.
9654 (atan_test_data): Likewise.
9655 (atanh_test_data): Likewise.
9656 (atan2_test_data): Likewise.
9657 (cbrt_test_data): Likewise.
9658 (cos_test_data): Likewise.
9659 (cosh_test_data): Likewise.
9660 (erf_test_data): Likewise.
9661 (erfc_test_data): Likewise.
9662 (exp_test_data): Likewise.
9663 (exp10_test_data): Likewise.
9664 (exp2_test_data): Likewise.
9665 (expm1_test_data): Likewise.
9666 (hypot_test_data): Likewise.
9667 (j0_test_data): Likewise.
9668 (j1_test_data): Likewise.
9669 (jn_test_data): Likewise.
9670 (lgamma_test_data): Likewise.
9671 (log_test_data): Likewise.
9672 (log10_test_data): Likewise.
9673 (log1p_test_data): Likewise.
9674 (log2_test_data): Likewise.
9675 (pow_test_data): Likewise.
9676 (scalb_test_data): Likewise.
9677 (sin_test_data): Likewise.
9678 (sincos_test_data): Likewise.
9679 (sinh_test_data): Likewise.
9680 (tan_test_data): Likewise.
9681 (tanh_test_data): Likewise.
9682 (tgamma_test_data): Likewise.
9683 (y0_test_data): Likewise.
9684 (y1_test_data): Likewise.
9685 (yn_test_data): Likewise.
9686
66294491
JM
9687 [BZ #16167]
9688 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9689 argument being NaN and avoid computations with second argument in
9690 that case.
9691 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9692 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9693 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9694
1820b143
CL
96952013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9696
9697 * locale/iso-639.def: Add Chitwani Tharu (the).
9698
714bd261
AS
96992013-11-14 Andreas Schwab <schwab@suse.de>
9700
9701 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9702 word instead of empty string.
9703
7ab44563
AZ
97042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9707 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9709 (__fe_nomask_env): Likewise.
9710
e8470ea2
SE
97112013-11-13 Steve Ellcey <sellcey@mips.com>
9712
9713 * benchtests/bench-timing.h: Include time.h.
9714
17c1d9f0
L
97152013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 [BZ #15997]
9718 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9719 to 3.4.0 for x32.
9720 * sysdeps/unix/sysv/linux/configure: Regenerated.
9721
9310c284
JM
97222013-11-13 Joseph Myers <joseph@codesourcery.com>
9723
9724 [BZ #16151]
9725 * stdlib/strtod_l.c (round_and_return): Do not consider
9726 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9727 exponent one less than half the least subnormal exponent.
9728 * stdlib/test-strtod-round-data: Add more tests.
9729 * stdlib/tst-strtod-round.c (tests): Regenerated.
9730
7a2ad8cf
AZ
97312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9732
9733 [BZ #14143]
9734 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9735 (__fe_mask_env): Likewise.
9736 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9737 libm_hidden_proto and add function prototype.
9738 (__fe_mask_env): Add function prototype.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9740 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9742 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9744 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9745
50727aa7
MS
97462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9747
b2f386c1 9748 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9749 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9750
a615be46
MS
97512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9752
9753 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9754 of htab_find_slot().
9755
7ddace62
DM
97562013-11-11 David S. Miller <davem@davemloft.net>
9757
9758 [BZ #16150]
9759 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9760 symbol in the non-vis3 case in static builds.
9761 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9762 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9763 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9764 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9765
9182aa67
JK
97662013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9767
9768 [BZ #387]
9769 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9770 it is empty.
9771
450a2e2d
AZ
97722013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9773
b2f386c1
SP
9774 * benchtests/Makefile: Add bench-strtod.
9775 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9776
8ec3f656
AS
97772013-11-11 Andreas Schwab <schwab@suse.de>
9778
9779 [BZ #16153]
9780 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9781 terminating NUL in key length.
9782
76a9b998
AZ
97832013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784
9785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9786 Add artificial ODP entry for vDSO symbol for PPC64.
9787 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9788 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9789
e4368156
OB
97902013-11-07 Ondřej Bílka <neleai@seznam.cz>
9791
9792 [BZ #15374]
9793 * nss/getent.c (services_keys): Recognize services starting with digit.
9794
8d6bb57c
DM
97952013-11-06 David S. Miller <davem@davemloft.net>
9796
9797 [BZ #15985]
9798 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9799 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9800
e256c421
WN
98012013-11-06 Will Newton <will.newton@linaro.org>
9802
9803 * manual/memory.texi (Malloc Examples): Remove register
9804 keyword from examples.
9805
f6e12daa 98062013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9807
f6e12daa 9808 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9809
9d880655
AS
98102013-11-04 Joseph Myers <joseph@codesourcery.com>
9811
fd2f9486 9812 [BZ #6981]
9d880655
AS
9813 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9814 depending on [__GCC_IEC_559 > 0].
9815 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9816 depending on [__GCC_IEC_559_COMPLEX > 0].
9817
ae129d3c
CL
98182013-11-03 Chris Leonard <cjl@sugarlabs.org>
9819
9820 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9821 to iso-639.def.
9822
4a15c2a4 98232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9824
9825 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9826
8b35e35d
OB
98272013-11-01 Ondřej Bílka <neleai@seznam.cz>
9828
9829 [BZ #16112]
9830 * malloc/malloc (malloc_info): Do not handle first bin as
9831 special case.
9832
1d70fd6c
CL
98332013-11-01 Chris Leonard <cjl@sugarlabs.org>
9834
9835 * locale/iso-639.def: Add Central Nahuatl (nhn).
9836
8c5c2600
BH
98372013-11-01 Bruno Haible <bruno@clisp.org>
9838
9839 [BZ #7003]
9840 * manual/math.texi (BSD Random): Specify range upper bound as
9841 in POSIX.
9842
da5579c2
CL
98432013-10-31 Chris Leonard <cjl@sugarlabs.org>
9844
9845 * locale/iso-639.def: Add Meadow Mari (mhr).
9846
5d30d853
OB
98472013-10-31 Ondřej Bílka <neleai@seznam.cz>
9848
9849 [BZ #14752], [BZ #15763]
9850 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9851 Validate name.
9852 * rt/tst_shm.c: Add test for escaping directory.
9853
a4966c61
AS
98542013-10-31 Andreas Schwab <schwab@suse.de>
9855
8a43e768 9856 [BZ #15917]
a4966c61
AS
9857 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9858 followed by 'x' as part of digit sequence.
9859 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9860
28d708c4
MAP
98612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9862
9863 [BZ #16037]
9864 * configure.ac: allow GNU Make 4.0 and greater.
9865 * configure: Regenerated.
9866
a56ee40b
WN
98672013-10-30 Will Newton <will.newton@linaro.org>
9868
9869 [BZ #16038]
9870 * malloc/hooks.c (memalign_check): Limit alignment to the
9871 maximum representable power of two.
9872 * malloc/malloc.c (__libc_memalign): Likewise.
9873 * malloc/tst-memalign.c (do_test): Add test for very
9874 large alignment values.
9875 * malloc/tst-posix_memalign.c (do_test): Likewise.
9876
c6e4925d
OB
98772013-10-30 Ondřej Bílka <neleai@seznam.cz>
9878
9879 [BZ #11087]
9880 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9881 (munmap_chunk): Likewise.
9882 (mremap_chunk): Likewise.
9883
98842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9885
8a43e768 9886 [BZ #15799]
bbea82f7
OB
9887 * stdlib/div.c (div): Remove obsolete code.
9888 * stdlib/ldiv.c (ldiv): Likewise.
9889 * stdlib/lldiv.c (lldiv): Likewise.
9890
977f4b31
SP
98912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9892
9893 [BZ #16071]
9894 * nss/nss_files/files-XXX.c (get_contents_ret): New
9895 enumerator.
9896 (get_contents): New function.
9897 (internal_getent): Use it. Expand size of LINEBUFLEN.
9898
cb8a6dbd
MF
98992013-10-30 Mike Frysinger <vapier@gentoo.org>
9900
9901 * configure.in: Moved to ...
9902 * configure.ac: ... here. Change reference to configure.in
9903 to configure.ac.
9904 * sysdeps/arm/preconfigure.ac: ... here.
9905 configure.in to configure.ac.
9906 * sysdeps/gnu/configure.in: Moved to ...
9907 * sysdeps/gnu/configure.ac: ... here.
9908 * sysdeps/i386/configure.in: Moved to ...
9909 * sysdeps/i386/configure.ac: ... here.
9910 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9911 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9912 * sysdeps/mach/configure.in: Moved to ...
9913 * sysdeps/mach/configure.ac: ... here.
9914 * sysdeps/mach/hurd/configure.in: Moved to ...
9915 * sysdeps/mach/hurd/configure.ac: ... here.
9916 * sysdeps/powerpc/configure.in: Moved to ...
9917 * sysdeps/powerpc/configure.ac: ... here.
9918 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9919 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9920 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9921 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9922 * sysdeps/s390/s390-32/configure.in: Moved to ...
9923 * sysdeps/s390/s390-32/configure.ac: ... here.
9924 * sysdeps/s390/s390-64/configure.in: Moved to ...
9925 * sysdeps/s390/s390-64/configure.ac: ... here.
9926 * sysdeps/sh/configure.in: Moved to ...
9927 * sysdeps/sh/configure.ac: ... here.
9928 * sysdeps/sparc/configure.in: Moved to ...
9929 * sysdeps/sparc/configure.ac: ... here.
9930 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9931 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9932 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9933 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9934 * sysdeps/x86_64/configure.in: Moved to ...
9935 * sysdeps/x86_64/configure.ac: ... here.
9936 * sysdeps/x86_64/preconfigure.in: Moved to ...
9937 * sysdeps/x86_64/preconfigure.ac: ... here.
9938 * aclocal.m4: Change reference to configure.in to configure.ac.
9939 * config.h.in: Likewise.
9940 * manual/install.texi: Likewise.
9941 * manual/maint.texi: Likewise.
9942 * Makefile: Likewise.
9943 * malloc/Makefile: Likewise.
9944 * nscd/Makefile: Likewise.
9945 * Makeconfig: Change reference to configure.in and
9946 preconfigure.in to configure.ac and preconfigure.ac
9947 respectively.
9948 * INSTALL: Regenerated.
9949 * configure: Likewise.
9950 * sysdeps/gnu/configure: Likewise.
9951 * sysdeps/i386/configure: Likewise.
9952 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9953 * sysdeps/mach/configure: Likewise.
9954 * sysdeps/mach/hurd/configure: Likewise.
9955 * sysdeps/powerpc/configure: Likewise.
9956 * sysdeps/powerpc/powerpc32/configure: Likewise.
9957 * sysdeps/powerpc/powerpc64/configure: Likewise.
9958 * sysdeps/s390/s390-32/configure: Likewise.
9959 * sysdeps/s390/s390-64/configure: Likewise.
9960 * sysdeps/sh/configure: Likewise.
9961 * sysdeps/sparc/configure: Likewise.
9962 * sysdeps/unix/sysv/linux/configure: Likewise.
9963 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9964 * sysdeps/x86_64/configure: Likewise.
9965 * sysdeps/x86_64/preconfigure: Likewise.
9966
36a4953a
AS
99672013-10-29 Andreas Schwab <schwab@suse.de>
9968
9969 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9970
c79a1204
SP
99712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9972
dfa1b402
SP
9973 * benchtests/pow-inputs: Add new inputs.
9974
54f73d9c
SP
9975 * benchtests/exp-inputs: Add new inputs.
9976
c79a1204
SP
9977 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9978 conditional check for return value.
9979 (__cos32): Likewise.
9980
67beb545 99812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9982
9983 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9984 to provide a boost for large inputs with word alignment.
9985 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9986 implementation based on optimized PPC64 strcpy.
9987 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9988 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9989 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9990 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9991
151659f6
OB
99922013-10-25 Ondřej Bílka <neleai@seznam.cz>
9993
482a077e 9994 [BZ #2801]
151659f6
OB
9995 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9996
10b0f26b
OB
99972013-10-25 Ondřej Bílka <neleai@seznam.cz>
9998
9999 [BZ #14876]
10000 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10001 * time/tst-strptime.c (day_tests): Add testcase.
10002
ca42d35e
OB
100032013-10-25 Ondřej Bílka <neleai@seznam.cz>
10004
482a077e 10005 [BZ #14029]
ca42d35e
OB
10006 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10007
52e6d801
FB
100082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10009
10010 [BZ #16074]
10011 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10012 MAP_FAILED on error.
10013
7cbcdb36
SP
100142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10015
10016 [BZ #16072]
10017 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10018 heap for large requests.
10019
894f3f10
AM
100202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10021
10022 [BZ #9954]
10023 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10024 result if the result has no associated interface.
10025 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10026 interface for all 127.X.Y.Z addresses.
10027
b85545a6
CL
100282013-10-24 Chris Leonard <cjl@sugarlabs.org>
10029
10030 * locale/iso-639.def: Add Ligurian (lij)
10031
d1f23d46
OB
100322013-10-21 Ondřej Bílka <neleai@seznam.cz>
10033
10034 [BZ #15825]
10035 * sunrpc/rpc_main.c: Document rpcgen -5.
10036
4db5b08f
MS
100372013-10-19 Michael Stahl <mstahl@redhat.com>
10038
10039 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10040
a471e96a
OB
100412013-10-19 Ondřej Bílka <neleai@seznam.cz>
10042
d1f23d46 10043 [BZ #10278]
a471e96a
OB
10044 * posix/glob.c: Match only directories when trailing slash is present.
10045 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10046 (main): Add testcase.
10047
45c30c61
OB
100482013-10-19 Ondřej Bílka <neleai@seznam.cz>
10049
10050 [BZ #15670]
10051 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10052
484c12fb
CD
100532013-10-18 Carlos O'Donell <carlos@redhat.com>
10054
3d7dc513
CD
10055 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10056 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10057 AUTH_DES and cindex for FIPS 140-2.
10058 (DES Encryption): Add cindex FIPS 46-3.
10059
484c12fb
CD
10060 * locale/locarchive.h (struct locarhandle): Add fname.
10061 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10062 if an optional argument was specified to --list-archive,
10063 otherwise NULL.
10064 * locale/programs/locarchive.c (show_archive_content): Take new
10065 argument fname and pass it via ah.fname to open_archive.
10066 * locale/programs/localedef.h: Update decl.
10067 (open_archive): If AH->fname is non-null, open that file
10068 rather than the default file name, and don't ignore ENOENT.
10069 (create_archive): Set AH.fname to NULL.
10070 (delete_locales_from_archive): Likewise.
10071 (add_locales_to_archive): Likewise.
10072 * locale/programs/locfile.c (write_all_categories): Likewise.
10073
3c8325fb
JM
100742013-10-18 Joseph Myers <joseph@codesourcery.com>
10075 Aldy Hernandez <aldyh@redhat.com>
10076
10077 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10078 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10079 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10080 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10081 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10082 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10085 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10086 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10087 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10088 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10089 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10090 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10091 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10092 Likewise.
10093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10094 Likewise.
10095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10096 Likewise.
10097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10098 Likewise.
10099 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10100 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10101 Likewise.
10102 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10103 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10104 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10105 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10106 Likewise.
10107 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10108 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10109 * sysdeps/powerpc/preconfigure: Likewise.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10111 Likewise.
10112 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10113 Replace contents of file by #include of <fenv_libc.h>.
10114 * sysdeps/powerpc/soft-fp/sfp-machine.h
10115 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10116 and <sys/prctl.h>.
10117 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10130 Allow copysignl PLT reference to be missing.
10131
5abe0682
RS
101322013-10-18 Richard Sandiford <richard@codesourcery.com>
10133 Joseph Myers <joseph@codesourcery.com
10134
10135 [BZ #15948]
10136 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10137 single character.
10138 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10139
c7738d08
SP
101402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10141
10142 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10143 * elf/tst-tls1.c: Likewise.
10144 * elf/tst-tls10.h: Likewise.
10145 * elf/tst-tls14.c: Likewise.
10146 * elf/tst-tls2.c: Likewise.
10147 * elf/tst-tls3.c: Likewise.
10148 * elf/tst-tls4.c: Likewise.
10149 * elf/tst-tls5.c: Likewise.
10150 * elf/tst-tls6.c: Likewise.
10151 * elf/tst-tls7.c: Likewise.
10152 * elf/tst-tls8.c: Likewise.
10153 * elf/tst-tls9.c: Likewise.
10154 * elf/tst-tlsmod1.c: Likewise.
10155 * elf/tst-tlsmod13.c: Likewise.
10156 * elf/tst-tlsmod13a.c: Likewise.
10157 * elf/tst-tlsmod14a.c: Likewise.
10158 * elf/tst-tlsmod16a.c: Likewise.
10159 * elf/tst-tlsmod16b.c: Likewise.
10160 * elf/tst-tlsmod2.c: Likewise.
10161 * elf/tst-tlsmod3.c: Likewise.
10162 * elf/tst-tlsmod4.c: Likewise.
10163 * elf/tst-tlsmod5.c: Likewise.
10164 * elf/tst-tlsmod6.c: Likewise.
10165
0bfcf2c7
OB
101662013-10-18 Ondřej Bílka <neleai@seznam.cz>
10167
10168 [BZ #12486]
10169 * malloc/malloc.c: remove checks for statistics.
10170
264aad1e
OB
101712013-10-17 Ondřej Bílka <neleai@seznam.cz>
10172
10173 [BZ #15277]
10174 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10175 * inet/tst-network.c: Add testcase.
10176
b957ced8
AS
101772013-10-17 Andreas Schwab <schwab@suse.de>
10178
10179 [BZ #15218]
10180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10181 to determine canonical name.
10182
c5d5d574
OB
101832013-10-17 Ondřej Bílka <neleai@seznam.cz>
10184
10185 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10186 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10209 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10243
e5c2c2d0
JM
102442013-10-17 Joseph Myers <joseph@codesourcery.com>
10245
10246 [BZ #16041]
10247 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10248 make result into a quiet NaN.
10249
51ca9e29
JM
102502013-10-16 Joseph Myers <joseph@codesourcery.com>
10251
10252 * soft-fp/adddf3.c: Fix horizontal whitespace.
10253 * soft-fp/addsf3.c: Likewise.
10254 * soft-fp/addtf3.c: Likewise.
10255 * soft-fp/divdf3.c: Likewise.
10256 * soft-fp/divsf3.c: Likewise.
10257 * soft-fp/divtf3.c: Likewise.
10258 * soft-fp/double.h: Likewise.
10259 * soft-fp/eqdf2.c: Likewise.
10260 * soft-fp/eqsf2.c: Likewise.
10261 * soft-fp/eqtf2.c: Likewise.
10262 * soft-fp/extenddftf2.c: Likewise.
10263 * soft-fp/extended.h: Likewise.
10264 * soft-fp/extendsfdf2.c: Likewise.
10265 * soft-fp/extendsftf2.c: Likewise.
10266 * soft-fp/extendxftf2.c: Likewise.
10267 * soft-fp/fixdfdi.c: Likewise.
10268 * soft-fp/fixdfsi.c: Likewise.
10269 * soft-fp/fixdfti.c: Likewise.
10270 * soft-fp/fixsfdi.c: Likewise.
10271 * soft-fp/fixsfsi.c: Likewise.
10272 * soft-fp/fixsfti.c: Likewise.
10273 * soft-fp/fixtfdi.c: Likewise.
10274 * soft-fp/fixtfsi.c: Likewise.
10275 * soft-fp/fixtfti.c: Likewise.
10276 * soft-fp/fixunsdfdi.c: Likewise.
10277 * soft-fp/fixunsdfsi.c: Likewise.
10278 * soft-fp/fixunsdfti.c: Likewise.
10279 * soft-fp/fixunssfdi.c: Likewise.
10280 * soft-fp/fixunssfsi.c: Likewise.
10281 * soft-fp/fixunssfti.c: Likewise.
10282 * soft-fp/fixunstfdi.c: Likewise.
10283 * soft-fp/fixunstfsi.c: Likewise.
10284 * soft-fp/fixunstfti.c: Likewise.
10285 * soft-fp/floatdidf.c: Likewise.
10286 * soft-fp/floatdisf.c: Likewise.
10287 * soft-fp/floatditf.c: Likewise.
10288 * soft-fp/floatsidf.c: Likewise.
10289 * soft-fp/floatsisf.c: Likewise.
10290 * soft-fp/floatsitf.c: Likewise.
10291 * soft-fp/floattidf.c: Likewise.
10292 * soft-fp/floattisf.c: Likewise.
10293 * soft-fp/floattitf.c: Likewise.
10294 * soft-fp/floatundidf.c: Likewise.
10295 * soft-fp/floatundisf.c: Likewise.
10296 * soft-fp/floatunditf.c: Likewise.
10297 * soft-fp/floatunsidf.c: Likewise.
10298 * soft-fp/floatunsisf.c: Likewise.
10299 * soft-fp/floatunsitf.c: Likewise.
10300 * soft-fp/floatuntidf.c: Likewise.
10301 * soft-fp/floatuntisf.c: Likewise.
10302 * soft-fp/floatuntitf.c: Likewise.
10303 * soft-fp/fmadf4.c: Likewise.
10304 * soft-fp/fmasf4.c: Likewise.
10305 * soft-fp/fmatf4.c: Likewise.
10306 * soft-fp/gedf2.c: Likewise.
10307 * soft-fp/gesf2.c: Likewise.
10308 * soft-fp/getf2.c: Likewise.
10309 * soft-fp/ledf2.c: Likewise.
10310 * soft-fp/lesf2.c: Likewise.
10311 * soft-fp/letf2.c: Likewise.
10312 * soft-fp/muldf3.c: Likewise.
10313 * soft-fp/mulsf3.c: Likewise.
10314 * soft-fp/multf3.c: Likewise.
10315 * soft-fp/negdf2.c: Likewise.
10316 * soft-fp/negsf2.c: Likewise.
10317 * soft-fp/negtf2.c: Likewise.
10318 * soft-fp/op-1.h: Likewise.
10319 * soft-fp/op-2.h: Likewise.
10320 * soft-fp/op-4.h: Likewise.
10321 * soft-fp/op-8.h: Likewise.
10322 * soft-fp/op-common.h: Likewise.
10323 * soft-fp/quad.h: Likewise.
10324 * soft-fp/single.h: Likewise.
10325 * soft-fp/soft-fp.h: Likewise.
10326 * soft-fp/sqrtdf2.c: Likewise.
10327 * soft-fp/sqrtsf2.c: Likewise.
10328 * soft-fp/sqrttf2.c: Likewise.
10329 * soft-fp/subdf3.c: Likewise.
10330 * soft-fp/subsf3.c: Likewise.
10331 * soft-fp/subtf3.c: Likewise.
10332 * soft-fp/truncdfsf2.c: Likewise.
10333 * soft-fp/trunctfdf2.c: Likewise.
10334 * soft-fp/trunctfsf2.c: Likewise.
10335 * soft-fp/trunctfxf2.c: Likewise.
10336 * soft-fp/unorddf2.c: Likewise.
10337 * soft-fp/unordsf2.c: Likewise.
10338 * soft-fp/unordtf2.c: Likewise.
10339
9ebb0332
JM
103402013-10-15 Joseph Myers <joseph@codesourcery.com>
10341
10342 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10343 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10344
4b1a6d8b
OB
103452013-10-15 Ondřej Bílka <neleai@seznam.cz>
10346
10347 * elf/dl-libc.c: Clear initfini list after freeing.
10348
1e145589
JM
103492013-10-14 Joseph Myers <joseph@codesourcery.com>
10350
10351 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10352 * soft-fp/addsf3.c: Likewise.
10353 * soft-fp/addtf3.c: Likewise.
10354 * soft-fp/divdf3.c: Likewise.
10355 * soft-fp/divsf3.c: Likewise.
10356 * soft-fp/divtf3.c: Likewise.
10357 * soft-fp/double.h: Likewise.
10358 * soft-fp/eqdf2.c: Likewise.
10359 * soft-fp/eqsf2.c: Likewise.
10360 * soft-fp/eqtf2.c: Likewise.
10361 * soft-fp/extenddftf2.c: Likewise.
10362 * soft-fp/extended.h: Likewise.
10363 * soft-fp/extendsfdf2.c: Likewise.
10364 * soft-fp/extendsftf2.c: Likewise.
10365 * soft-fp/extendxftf2.c: Likewise.
10366 * soft-fp/fixdfdi.c: Likewise.
10367 * soft-fp/fixdfsi.c: Likewise.
10368 * soft-fp/fixdfti.c: Likewise.
10369 * soft-fp/fixsfdi.c: Likewise.
10370 * soft-fp/fixsfsi.c: Likewise.
10371 * soft-fp/fixsfti.c: Likewise.
10372 * soft-fp/fixtfdi.c: Likewise.
10373 * soft-fp/fixtfsi.c: Likewise.
10374 * soft-fp/fixtfti.c: Likewise.
10375 * soft-fp/fixunsdfdi.c: Likewise.
10376 * soft-fp/fixunsdfsi.c: Likewise.
10377 * soft-fp/fixunsdfti.c: Likewise.
10378 * soft-fp/fixunssfdi.c: Likewise.
10379 * soft-fp/fixunssfsi.c: Likewise.
10380 * soft-fp/fixunssfti.c: Likewise.
10381 * soft-fp/fixunstfdi.c: Likewise.
10382 * soft-fp/fixunstfsi.c: Likewise.
10383 * soft-fp/fixunstfti.c: Likewise.
10384 * soft-fp/floatdidf.c: Likewise.
10385 * soft-fp/floatdisf.c: Likewise.
10386 * soft-fp/floatditf.c: Likewise.
10387 * soft-fp/floatsidf.c: Likewise.
10388 * soft-fp/floatsisf.c: Likewise.
10389 * soft-fp/floatsitf.c: Likewise.
10390 * soft-fp/floattidf.c: Likewise.
10391 * soft-fp/floattisf.c: Likewise.
10392 * soft-fp/floattitf.c: Likewise.
10393 * soft-fp/floatundidf.c: Likewise.
10394 * soft-fp/floatundisf.c: Likewise.
10395 * soft-fp/floatunsidf.c: Likewise.
10396 * soft-fp/floatunsisf.c: Likewise.
10397 * soft-fp/floatuntidf.c: Likewise.
10398 * soft-fp/floatuntisf.c: Likewise.
10399 * soft-fp/floatuntitf.c: Likewise.
10400 * soft-fp/fmadf4.c: Likewise.
10401 * soft-fp/fmasf4.c: Likewise.
10402 * soft-fp/fmatf4.c: Likewise.
10403 * soft-fp/gedf2.c: Likewise.
10404 * soft-fp/gesf2.c: Likewise.
10405 * soft-fp/getf2.c: Likewise.
10406 * soft-fp/ledf2.c: Likewise.
10407 * soft-fp/lesf2.c: Likewise.
10408 * soft-fp/letf2.c: Likewise.
10409 * soft-fp/muldf3.c: Likewise.
10410 * soft-fp/mulsf3.c: Likewise.
10411 * soft-fp/multf3.c: Likewise.
10412 * soft-fp/negdf2.c: Likewise.
10413 * soft-fp/negsf2.c: Likewise.
10414 * soft-fp/negtf2.c: Likewise.
10415 * soft-fp/op-1.h: Likewise.
10416 * soft-fp/op-2.h: Likewise.
10417 * soft-fp/op-4.h: Likewise.
10418 * soft-fp/op-8.h: Likewise.
10419 * soft-fp/op-common.h: Likewise.
10420 * soft-fp/quad.h: Likewise.
10421 * soft-fp/single.h: Likewise.
10422 * soft-fp/soft-fp.h: Likewise.
10423 * soft-fp/sqrtdf2.c: Likewise.
10424 * soft-fp/sqrtsf2.c: Likewise.
10425 * soft-fp/sqrttf2.c: Likewise.
10426 * soft-fp/subdf3.c: Likewise.
10427 * soft-fp/subsf3.c: Likewise.
10428 * soft-fp/subtf3.c: Likewise.
10429 * soft-fp/truncdfsf2.c: Likewise.
10430 * soft-fp/trunctfdf2.c: Likewise.
10431 * soft-fp/trunctfsf2.c: Likewise.
10432 * soft-fp/trunctfxf2.c: Likewise.
10433 * soft-fp/unorddf2.c: Likewise.
10434 * soft-fp/unordsf2.c: Likewise.
10435 * soft-fp/unordtf2.c: Likewise.
10436
17c48a60
OB
104372013-10-14 Ondřej Bílka <neleai@seznam.cz>
10438
10439 [BZ #15672]
10440 * misc/error.c (error_tail): Fix possible buffer overflow.
10441
cabba934
OB
104422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10443
10444 [BZ #13028]
10445 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10446 address.
10447
94bf958a
PM
104482013-10-14 P. J. McDermott <pj@pehjota.net>
10449
10450 [BZ #832]
10451 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10452 testing pipefail option.
10453
71b4dea7
JM
104542013-10-12 Joseph Myers <joseph@codesourcery.com>
10455
10456 * soft-fp/double.h: Indent preprocessor directives inside #if.
10457 * soft-fp/extended.h: Likewise.
10458 * soft-fp/op-2.h: Likewise.
10459 * soft-fp/op-4.h: Likewise.
10460 * soft-fp/op-common.h: Likewise.
10461 * soft-fp/quad.h: Likewise.
10462 * soft-fp/single.h: Likewise.
10463 * soft-fp/soft-fp.h: Likewise.
10464
55602758
YC
104652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10466
10467 * iconv/iconv_prog.c: Fix typos.
10468 * stdio-common/psiginfo-data.h: Likewise.
10469
9cd83302
RT
104702013-10-12 Reuben Thomas <rrt@sc3d.org>
10471
10472 [BZ #15764]
10473 * locale/setlocale.c: Fix typo.
10474
99fd9f47
JM
104752013-10-12 Joseph Myers <joseph@codesourcery.com>
10476
b7ea74f0
JM
10477 [BZ #16036]
10478 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10479 signaling NaN arguments.
10480 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10481 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10482
8a509447
JM
10483 [BZ #14910]
10484 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10485 unordered operands.
10486 * soft-fp/gesf2.c (__gesf2): Likewise.
10487 * soft-fp/getf2.c (__getf2): Likewise.
10488 * soft-fp/ledf2.c (__ledf2): Likewise.
10489 * soft-fp/lesf2.c (__lesf2): Likewise.
10490 * soft-fp/letf2.c (__letf2): Likewise.
10491
98998e9f
JM
10492 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10493 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10494 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10495 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10496 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10497 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10498 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10499 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10500 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10501 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10502 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10503 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10504 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10505 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10506 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10507 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10508 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10509 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10510 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10511 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10512 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10513 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10514 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10515 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10516 * soft-fp/floattidf.c (__floattidf): Likewise.
10517 * soft-fp/floattisf.c (__floattisf): Likewise.
10518 * soft-fp/floattitf.c (__floattitf): Likewise.
10519 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10520 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10521 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10522 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10523 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10524 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10525 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10526 * soft-fp/gesf2.c (__gesf2): Likewise.
10527 * soft-fp/getf2.c (__getf2): Likewise.
10528 * soft-fp/ledf2.c (__ledf2): Likewise.
10529 * soft-fp/lesf2.c (__lesf2): Likewise.
10530 * soft-fp/letf2.c (__letf2): Likewise.
10531
8edc4a11
JM
10532 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10533 Undefine and redefine.
10534 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10535 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10536 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10537 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10538 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10539 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10540 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10541 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10542 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10543 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10544 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10545 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10546 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10547 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10548 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10549
8399acaf
JM
10550 [BZ #16032]
10551 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10552 without decrementing exponent if mantissa >= that for the
10553 denominator, not >.
10554 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10555 denominator, not >. Decrement exponent in < case instead of
10556 incrementing in >= case.
10557 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10558 without decrementing exponent if mantissa >= that for the
10559 denominator, not >.
10560
99fd9f47
JM
10561 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10562 computing saturated result for unsigned overflow.
10563
10e1cf6b
SP
105642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10565 Jeff Law <law@redhat.com>
10566
10567 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10568 (atan2Mp): Add systemtap probe marker.
10569 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10570 (__ieee754_log): Add systemtap probe marker.
10571 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10572 (atanMp): Add systemtap probe marker.
10573 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10574 (tanMp): Add systemtap probe marker.
10575 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10576 (__slowexp): Add systemtap probe marker.
10577 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10578 (__slowpow): Add systemtap probe marker.
10579 * manual/probes.texi: Document probes.
10580
3d110c7c
EB
105812013-10-11 Eric Biggers <ebiggers3@gmail.com>
10582
10583 [BZ #15362]
10584 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10585 written.
10586 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10587 written.
10588 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10589 written to buffer but not flushed.
10590 * libio/iofwrite_u.c: Likewise.
10591 * libio/iopadn.c: Return bytes returned even if EOF was
10592 encountered.
10593 * libio/iowpadn.c: Likewise.
10594 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10595 if _IO_padn does not write the whole buffer.
10596 [!COMPILE_WPRINTF] (PAD): Likewise.
10597
75b4202a
DM
105982013-10-10 David S. Miller <davem@davemloft.net>
10599
10600 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10601 directory block.
10602
6c6352e6
JM
106032013-10-10 Joseph Myers <joseph@codesourcery.com>
10604
33b853c3
JM
10605 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10606 instead of FSF address.
10607 * soft-fp/fixdfti.c: Likewise.
10608 * soft-fp/fixsfti.c: Likewise.
10609 * soft-fp/fixtfti.c: Likewise.
10610 * soft-fp/fixunsdfti.c: Likewise.
10611 * soft-fp/fixunssfti.c: Likewise.
10612 * soft-fp/fixunstfti.c: Likewise.
10613 * soft-fp/floattidf.c: Likewise.
10614 * soft-fp/floattisf.c: Likewise.
10615 * soft-fp/floattitf.c: Likewise.
10616 * soft-fp/floatuntidf.c: Likewise.
10617 * soft-fp/floatuntisf.c: Likewise.
10618 * soft-fp/floatuntitf.c: Likewise.
10619 * soft-fp/trunctfxf2.c: Likewise.
10620
6c6352e6
JM
10621 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10622 * soft-fp/fixdfti.c: Likewise.
10623 * soft-fp/fixsfti.c: Likewise.
10624 * soft-fp/fixtfti.c: Likewise.
10625 * soft-fp/fixunsdfti.c: Likewise.
10626 * soft-fp/fixunssfti.c: Likewise.
10627 * soft-fp/fixunstfti.c: Likewise.
10628 * soft-fp/floattidf.c: Likewise.
10629 * soft-fp/floattisf.c: Likewise.
10630 * soft-fp/floattitf.c: Likewise.
10631 * soft-fp/floatuntidf.c: Likewise.
10632 * soft-fp/floatuntisf.c: Likewise.
10633 * soft-fp/floatuntitf.c: Likewise.
10634 * soft-fp/trunctfxf2.c: Likewise.
10635
3bf78b71
DM
106362013-10-10 David S. Miller <davem@davemloft.net>
10637
10638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10639
6f10289e
JM
106402013-10-10 Joseph Myers <joseph@codsourcery.com>
10641
bd878fc0
JM
10642 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10643 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10644 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10645 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10646 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10647 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10648 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10649
6f10289e
JM
10650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10651 for NaNs before doing comparisons on argument.
10652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10653 Likewise.
10654
321e2684
WN
106552013-10-10 Will Newton <will.newton@linaro.org>
10656
10657 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10658 passed to _int_memalign does not overflow.
10659
40fefba1
TR
106602013-10-10 Torvald Riegel <triegel@redhat.com>
10661
10662 * scripts/bench.pl: Add include-sources directive.
10663 * benchtests/README: Update documentation.
10664
2ae21ed2
JM
106652013-10-10 Joseph Myers <joseph@codesourcery.com>
10666
dcc2dd3f
JM
10667 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10668 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10669 instead of FP_INIT_ROUNDMODE.
10670 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10671 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10672
2ae21ed2
JM
10673 [BZ #16034]
10674 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10675 copy class of input value.
10676 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10677 not handle exceptions.
10678 * soft-fp/negsf2.c (__negsf2): Likewise.
10679 * soft-fp/negtf2.c (__negtf2): Likewise.
10680 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10681
cb8f9562
JM
106822013-10-09 Joseph Myers <joseph@codesourcery.com>
10683
10684 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10685 semicolon. From Linux kernel.
10686
5b60c59d
AB
106872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10688
10689 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10690
b86835ca
YC
106912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10692
10693 [BZ #156]
10694 * manual/socket.texi: Added statement about buffer
10695 for gethostbyname2_r.
10696
e7044ea7
OB
106972013-10-08 Ondřej Bílka <neleai@seznam.cz>
10698
10699 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10700 Use .p2align directive instead, throughout.
10701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10702 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10703 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10704 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10705 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10706 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10707 * sysdeps/x86_64/strchr.S: Likewise.
10708 * sysdeps/x86_64/strrchr.S: Likewise.
10709
09544cbc
SP
107102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10711
88576635
SP
10712 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10713
e7b2d1dd
SP
10714 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10715
09544cbc
SP
10716 * sysdeps/generic/math_private.h (__mpsin1): Remove
10717 declaration.
10718 (__mpcos1): Likewise.
10719 (__mpsin): New argument __range_reduce.
10720 (__mpcos): Likewise.
10721 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10722 (slow): Use __mpsin and __mpcos.
10723 (slow1): Likewise.
10724 (slow2): Likewise.
10725 (sloww): Likewise.
10726 (sloww1): Likewise.
10727 (sloww2): Likewise.
10728 (bsloww): Likewise.
10729 (bsloww1): Likewise.
10730 (bsloww2): Likewise.
10731 (cslow2): Likewise.
10732 (csloww): Likewise.
10733 (csloww1): Likewise.
10734 (csloww2): Likewise.
10735 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10736 range_reduce. Merge in __mpsin1.
10737 (__mpcos): Likewise.
10738 (__mpsin1): Remove.
10739 (__mpcos1): Likewise.
10740
7602d070
JM
107412013-10-07 Joseph Myers <joseph@codesourcery.com>
10742
10743 * locale/loadlocale.c (_nl_intern_locale_data): Use
10744 LOCFILE_ALIGNED_P.
10745 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10746 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10747 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10748 obstack data is appropriately aligned.
10749 (obstack_int32_grow_fast): Likewise.
10750 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10751 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10752 (add_locale_uint32_array): Likewise.
10753
a357259b
SP
107542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10755
10756 * benchtests/Makefile: Remove ARGLIST and RET variables.
10757 ($(objpfx)bench-%.c): Pass only function name to the script.
10758 * benchtests/README: Update documentation.
10759 * benchtests/acos-inputs: Add new directives.
10760 * benchtests/acosh-inputs: Likewise.
10761 * benchtests/asin-inputs: Likewise.
10762 * benchtests/asinh-inputs: Likewise.
10763 * benchtests/atan-inputs: Likewise.
10764 * benchtests/atanh-inputs: Likewise.
10765 * benchtests/cos-inputs: Likewise.
10766 * benchtests/cosh-inputs: Likewise.
10767 * benchtests/exp-inputs: Likewise.
10768 * benchtests/log-inputs: Likewise.
10769 * benchtests/pow-inputs: Likewise.
10770 * benchtests/rint-inputs: Likewise.
10771 * benchtests/sin-inputs: Likewise.
10772 * benchtests/sinh-inputs: Likewise.
10773 * benchtests/tan-inputs: Likewise.
10774 * benchtests/tanh-inputs: Likewise.
10775 * scripts/bench.pl: Add support for new directives.
10776
9ec1b13d
AM
107772013-10-07 Alan Modra <amodra@gmail.com>
10778
10779 * README: Fix careless merge.
10780
8b7d57cd
AM
107812013-10-05 Alan Modra <amodra@gmail.com>
10782
10783 * NEWS: Mention powerpc64le support and bugs fixed.
10784 * README: Both big-endian and little-endian powerpc64 supported.
10785
7b7bab13
ST
107862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10787
57f41c40
AS
10788 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10789 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10790 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10791 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10792
d39baad1
RA
107932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10794
10795 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10796 match prototype.
10797
cd78f7e7
JM
107982013-10-04 Joseph Myers <joseph@codesourcery.com>
10799
29d73d86
JM
10800 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10801 Move -mhard-float appending from
10802 ports/sysdeps/powerpc/powerpc32/Makefile.
10803 [$(with-fp) = yes] (ASFLAGS): Likewise.
10804 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10805 * sysdeps/powerpc/nofpu: Move directory from
10806 ports/sysdeps/powerpc/nofpu.
10807 * sysdeps/powerpc/soft-fp: Move directory from
10808 ports/sysdeps/powerpc/soft-fp.
10809 * sysdeps/powerpc/powerpc32/405: Move directory from
10810 ports/sysdeps/powerpc/powerpc32/405.
10811 * sysdeps/powerpc/powerpc32/440: Move directory from
10812 ports/sysdeps/powerpc/powerpc32/440.
10813 * sysdeps/powerpc/powerpc32/464: Move directory from
10814 ports/sysdeps/powerpc/powerpc32/464.
10815 * sysdeps/powerpc/powerpc32/476: Move directory from
10816 ports/sysdeps/powerpc/powerpc32/476.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10827 * README: Update for powerpc-*-linux-gnu software floating point
10828 support in libc.
10829
e246b347
JM
10830 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10831 case to powerpc/powerpc32*.
10832 * sysdeps/unix/sysv/linux/configure: Regenerated.
10833
89c2003e
JM
10834 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10835 (_FPU_MASK_OM): Define as 0x04.
10836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10838 0x00c10080.
10839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10840 0x0000003c.
10841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10842
cd78f7e7
JM
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10844 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10845 getcontext_e500.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10847 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10848 setcontext_e500.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10851 and setcontext_e500.
10852
c755294d
CL
108532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10854
10855 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10856
e16d221c
SP
108572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
10859 * manual/threads.texi (Default Thread Attributes): Fix typo.
10860
215c7d43
WN
108612013-10-04 Will Newton <will.newton@linaro.org>
10862
10863 * malloc/Makefile: Add tst-memalign.
10864 * malloc/tst-memalign.c: New file.
10865
27d0461b
WN
10866 * malloc/tst-posix_memalign.c: Add comments.
10867 (do_test): Add comments and call free on all potentially
10868 allocated pointers. Add space after cast.
10869
1bc92709
WN
10870 * malloc/tst-pvalloc.c: Add comments.
10871 (do_test): Add comments and call free on all potentially
10872 allocated pointers. Remove duplicate check for NULL pointer.
10873 Add space after cast.
10874
66a9be9d
WN
10875 * malloc/tst-valloc.c: Add comments.
10876 (do_test): Add comments and call free on all potentially
10877 allocated pointers. Remove duplicate check for NULL pointer.
10878 Add space after cast.
10879
4cb81307
AM
108802013-10-04 Alan Modra <amodra@gmail.com>
10881
10882 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10883 Use stdint types in rather than __attribute__((mode())).
10884 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10885
f8e3e9f3
AM
108862013-10-04 Alan Modra <amodra@gmail.com>
10887
10888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10889 Correct handling of unaligned relocs for little-endian.
10890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10891
8f9ebb08
AM
108922013-10-04 Alan Modra <amodra@gmail.com>
10893
10894 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10895 * configure: Regenerate.
10896 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10897 * shlib-versions: Likewise.
10898
0edf96c2
AM
108992013-10-04 Alan Modra <amodra@gmail.com>
10900
10901 * string/tester.c (test_memrchr): Increment reported test cycle.
10902
e0f7a380
AM
109032013-10-04 Alan Modra <amodra@gmail.com>
10904
10905 * string/test-memcpy.c (do_one_test): When reporting errors, print
10906 string address and don't overrun end of string.
10907
466b0393
AM
109082013-10-04 Alan Modra <amodra@gmail.com>
10909
10910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10911 insrdi. Make better use of reg selection to speed exit slightly.
10912 Schedule entry path a little better. Remove useless "are we done"
10913 checks on entry to main loop. Handle wrapping around zero address.
10914 Correct main loop count. Handle single left-over word from main
10915 loop inline rather than by using loop_small. Remove extra word
10916 case in loop_small caused by wrong loop count. Add little-endian
10917 support.
10918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10920 cache hint.
10921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10923 support. Avoid rlwimi.
10924 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10925
3be87c77
AM
109262013-10-04 Alan Modra <amodra@gmail.com>
10927
10928 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10929 insrdi. Formatting.
3be87c77
AM
10930 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10933 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10934 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10935 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10936
759cfef3
AM
109372013-10-04 Alan Modra <amodra@gmail.com>
10938
10939 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10943 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10944 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10946 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10948 use of regs. Use power7 mtocrf. Tidy function tails.
10949
fe6e95d7
AM
109502013-10-04 Alan Modra <amodra@gmail.com>
10951
10952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10953 Formatting. Consistently use rXXX register defines or rN defines.
10954 Use early exit labels that avoid restoring unused non-volatile regs.
10955 Make cr field use more consistent with rWORDn compares. Rename
10956 regs used as shift registers for unaligned loop, using rN defines
10957 for short lifetime/multiple use regs.
10958 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10960 addi 1,1,64 to pop stack frame. Simplify return value code.
10961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10962
664318c3
AM
109632013-10-04 Alan Modra <amodra@gmail.com>
10964
10965 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10966 support. Correct typos, formatting. Optimize tail. Use insrdi
10967 rather than rlwimi.
10968 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10970 little-endian support. Correct typos.
10971 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10972 rather than rlwimi.
10973 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10974 in loop and entry code to keep "and." results.
10975 (strchr): Add little-endian support. Comment. Move cntlzd
10976 earlier in tail.
10977 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10978
43b84013
AM
109792013-10-04 Alan Modra <amodra@gmail.com>
10980
10981 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10982 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10983 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10984 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10985
8a7413f9
AM
109862013-10-04 Alan Modra <amodra@gmail.com>
10987
10988 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10989 (rTMP): Define as r11.
10990 (strcmp): Add little-endian support. Optimise tail.
10991 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10992 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10993 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10998
33ee81de
AM
109992013-10-04 Alan Modra <amodra@gmail.com>
11000
11001 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11002 little-endian support. Remove unnecessary "are we done" tests.
11003 Handle "s" wrapping around zero and extremely large "size".
11004 Correct main loop count. Handle single left-over word from main
11005 loop inline rather than by using small_loop. Correct comments.
11006 Delete "zero" tail, use "end_max" instead.
11007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11008
db9b4570
AM
110092013-10-04 Alan Modra <amodra@gmail.com>
11010
11011 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11012 support. Don't branch over align.
11013 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11014 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11015 support. Rearrange tmp reg use to suit. Comment.
11016 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11017
f7c399cf
AM
110182013-10-04 Alan Modra <amodra@gmail.com>
11019
11020 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11021
0b2c2ace
AM
110222013-10-04 Alan Modra <amodra@gmail.com>
11023
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11025 conditional form of branch and link when obtaining pc.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11027
02f04a6c
AM
110282013-10-04 Alan Modra <amodra@gmail.com>
11029
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11031 HIWORD/LOWORD.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11034
9b874b2f
AM
110352013-10-04 Alan Modra <amodra@gmail.com>
11036
11037 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11038 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11039 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11041 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11044 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11045 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11046 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11047
be1e5d31
AB
110482013-10-04 Anton Blanchard <anton@au1.ibm.com>
11049 Alistair Popple <alistair@ozlabs.au.ibm.com>
11050 Alan Modra <amodra@gmail.com>
11051
11052 [BZ #15723]
11053 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11055 _dl_hwcap access for little-endian.
11056 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11057 destroy vmx regs when saving unaligned.
11058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11059 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11060 destroy vmx regs when saving unaligned.
11061
fef13a78
AM
110622013-10-04 Alan Modra <amodra@gmail.com>
11063
11064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11065 Don't use a union to pack hi/low value.
11066
76a66d51
AB
110672013-10-04 Anton Blanchard <anton@au1.ibm.com>
11068
11069 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11070 for little-endian.
11071 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11073 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11074 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11075 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11076
6a31fe7f
AM
110772013-10-04 Alan Modra <amodra@gmail.com>
11078
11079 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11080 constants to usual value for .cst8 section, and remove redundant
11081 high address load.
11082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11083 constant for 0x1p52. Load little-endian words of double from
11084 correct stack offsets.
11085
7b88401f
AM
110862013-10-04 Alan Modra <amodra@gmail.com>
11087
11088 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11089 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11090 words of double from correct stack offsets.
11091 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11092 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11093 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11098 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11103 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11106 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11107 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11108
9c008155
AM
111092013-10-04 Alan Modra <amodra@gmail.com>
11110
11111 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11112 64-bit int/double union.
11113 (_FPU_SETCW): Likewise.
11114 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11115 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11116
da13146d
AM
111172013-10-04 Alan Modra <amodra@gmail.com>
11118
11119 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11120 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11121
603e8410
AM
111222013-10-04 Alan Modra <amodra@gmail.com>
11123
11124 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11125 use vector int constants.
11126 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11127
4a28b3ca
AB
111282013-10-04 Anton Blanchard <anton@au1.ibm.com>
11129
11130 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11131 array with long long.
11132 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11133 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11134 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11135 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11136 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11137 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11138 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11139 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11140 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11141 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11142 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11143 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11144 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11145
2ca85d2b
AB
111462013-10-04 Anton Blanchard <anton@au1.ibm.com>
11147
11148 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11149 (__signbit): Likewise. Correct for little-endian.
11150 (__signbitl): Call __signbit.
11151 (lrint): Correct for little-endian.
11152 (lrintf): Call lrint.
11153
62a728ae
AM
111542013-10-04 Alan Modra <amodra@gmail.com>
11155
11156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11157 union 32-bit int array member with 64-bit int array.
11158 (t515, tm256): Double rather than long double.
11159 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11160
32c301df
AM
111612013-10-04 Alan Modra <amodra@gmail.com>
11162
11163 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11164 Delete.
11165 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11167 version of math_ldbl.h.
11168
650ef4bd
AM
111692013-10-04 Alan Modra <amodra@gmail.com>
11170
11171 [BZ #15734], [BZ #15735]
11172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11173 all uses of ieee875 long double macros and unions. Simplify test
11174 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11175 ldbl_extract_mantissa value for ix,iy exponents. Properly
11176 normalize after ldbl_extract_mantissa, and don't add hidden bit
11177 already handled. Don't treat low word of ieee854 mantissa like
11178 low word of IBM long double and mask off bit when testing for
11179 zero.
11180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11181 all uses of ieee875 long double macros and unions. Simplify tests
11182 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11183 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11184 two1022, instead use their values. Recognise that tests for large
11185 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11187 Rewrite all uses of ieee875 long double macros and unions. Simplify
11188 test for 0.0L and nan. Correct negation.
11189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11190 ieee875 long double macros and unions. Correct output for large
11191 magnitude x. Correct absolute value calculation.
11192 (__erfcl): Likewise.
11193 * math/libm-test.inc: Add tests for errors discovered in IBM long
11194 double versions of fmodl, remainderl, erfl and erfcl.
11195
765714ca
AM
111962013-10-04 Alan Modra <amodra@gmail.com>
11197
11198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11199 all uses of ieee854 long double macros and unions. Simplify tests
11200 for long doubles that are fully specified by the high double.
11201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11202 Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11204 Remove dead code too.
11205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11206 (__ieee754_ynl): Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11210 Remove dead code too.
11211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11213 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11215 Simplify.
11216 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11217 Simplify.
11218 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11221 Comment on variable precision.
11222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11224 Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11230
4ebd120c
AM
112312013-10-04 Alan Modra <amodra@gmail.com>
11232
11233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11235 all uses of ieee854 long double macros and unions.
11236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11242 Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11249 Simplify sign and nan test too.
11250 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11254 Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11257 Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11264
1b6adf88
AM
112652013-10-04 Alan Modra <amodra@gmail.com>
11266
11267 * stdio-common/printf_size.c (__printf_size): Don't use
11268 union ieee854_long_double in fpnum union.
11269 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11270 signbit macro to retrieve sign from long double.
11271 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11272 retrieve sign from long double.
11273 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11274 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11276 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11277 * math/test-misc.c (main): Don't use union ieee854_long_double.
11278
4cf69995
AM
112792013-10-04 Alan Modra <amodra@gmail.com>
11280
11281 [BZ #15680]
11282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11283 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11284 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11285 calculation. Remove unnecessary test for denormal exponent.
11286 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11287 Correct handling of denormals. Avoid undefined shift behaviour.
11288 Correct normalisation of low mantissa when low double is denormal.
11289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11290 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11291 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11292 Correct normalisation of low mantissa. Test for overflow of high
11293 mantissa and normalise.
11294 (ldbl_nearbyint): Use more readable constant for two52.
11295 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11296 (__mpn_construct_long_double): Fix test for overflow of high
11297 mantissa and correct normalisation. Avoid undefined shift.
11298
9605ca6c
AM
112992013-10-04 Alan Modra <amodra@gmail.com>
11300
11301 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11302 (union ibm_extended_long_double): Define as an array of ieee754_double.
11303 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11304 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11305 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11306 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11314
975569d0
JM
113152013-10-03 Joseph Myers <joseph@codesourcery.com>
11316
d3d23756
JM
11317 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11318 page size instead of calling getpagesize.
11319
975569d0
JM
11320 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11321 (LOCFILE_ALIGN_MASK): Likewise.
11322 (LOCFILE_ALIGN_UP): Likewise.
11323 (LOCFILE_ALIGNED_P): Likewise.
11324 * locale/programs/ld-collate.c (collate_output): Use the new
11325 macros instead of __alignof__ (int32_t).
11326 * locale/weight.h (findidx): Likewise.
11327
b1fe1f2b
OB
113282013-10-03 Ondřej Bílka <neleai@seznam.cz>
11329
11330 [BZ #431]
11331 * manual/string.texi: Fix strncat and wcsncat.
11332
5f855e35
BM
113332013-10-03 Brooks Moses <bmoses@google.com>
11334
11335 [BZ #15915]
11336 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11337 * Makerules: ...here, and adjust associated comments.
11338
3cef6009
WN
113392013-10-02 Will Newton <will.newton@linaro.org>
11340
11341 * malloc/Makefile: Add tst-pvalloc.
11342 * malloc/tst-pvalloc.c: New file.
11343
7815420b
WN
113442013-10-02 Will Newton <will.newton@linaro.org>
11345
11346 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11347 improve test coverage.
11348
4868b204
WN
113492013-10-02 Will Newton <will.newton@linaro.org>
11350
11351 * malloc/Makefile: Add tst-posix_memalign.
11352 * malloc/tst-posix_memalign.c: New file.
11353
29c793b3
EB
113542013-10-01 Eric Blake <eblake@redhat.com>
11355
11356 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11357 Use __THROWNL rather than __THROW on static functions.
11358
fd967522
PM
113592013-09-30 Petr Machata <pmachata@redhat.com>
11360
11361 * elf/elf.h (R_AARCH64_ABS16): New macro.
11362 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11363 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11364 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11365 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11366 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11367 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11368 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11369 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11370 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11371 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11372 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11373 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11374 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11375 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11376 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11377 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11378 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11379 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11380 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11381 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11382 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11383 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11384 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11385 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11386 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11387 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11388 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11389 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11390 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11391 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11392 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11393 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11394 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11395 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11396 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11397 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11398 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11399 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11400 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11401 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11402 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11403 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11404 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11405 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11406 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11407 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11408 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11409 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11410 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11411 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11412 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11413 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11414 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11415 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11416 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11417 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11418 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11419 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11420 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11421 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11422 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11423 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11424 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11425 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11426 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11427 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11428 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11429 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11430 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11431 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11432 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11433 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11434 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11435 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11436 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11437 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11438 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11439 (R_AARCH64_TLSDESC_LDR): Likewise.
11440 (R_AARCH64_TLSDESC_ADD): Likewise.
11441 (R_AARCH64_TLSDESC_CALL): Likewise.
11442
b2179107
AS
114432013-09-30 Andreas Schwab <schwab@suse.de>
11444
11445 [BZ #15048]
11446 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11447 the nss database lookup.
11448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11450
47f28d0a
MF
114512013-09-28 Mike Frysinger <vapier@gentoo.org>
11452
11453 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11454
114552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11456
11457 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11458 ${Bash-specific parameter/pattern/string} parameter expansion.
11459 * sysdeps/unix/make-syscalls.sh: Likewise.
11460
f4518a17
KK
114612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11462
11463 * sysdeps/sh/stackguard-macros.h: New file.
11464
dc1a95c7
OB
114652013-09-26 Ondřej Bílka <neleai@seznam.cz>
11466
11467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11469 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11470 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11471 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11472 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11473
5ebbff8f
AZ
114742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11475
11476 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11477 Fix thread ID register.
11478
4fd2cf9f
JM
114792013-09-25 Joseph Myers <joseph@codesourcery.com>
11480
11481 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11482 [POSIX || UNIX98]: Require rather than permitting all symbols from
11483 <time.h>.
11484 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11485 element of struct sched_param.
11486 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11487 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11488 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11489 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11490 constant.
11491
12c22bc4
OL
114922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11493
11494 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11495 argument calculation.
11496
a03d8ea7
JM
114972013-09-24 Joseph Myers <joseph@codesourcery.com>
11498
11499 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11500 Expect macro.
11501 [POSIX] (pthread_attr_t): Do not require type.
11502 [POSIX] (pthread_cond_t): Likewise.
11503 [POSIX] (pthread_condattr_t): Likewise.
11504 [POSIX] (pthread_key_t): Likewise.
11505 [POSIX] (pthread_mutex_t): Likewise.
11506 [POSIX] (pthread_mutexattr_t): Likewise.
11507 [POSIX] (pthread_once_t): Likewise.
11508 [POSIX] (pthread_t): Likewise.
11509 [POSIX-based standards] (pthread_atfork): Expect function.
11510
6055173a
JM
115112013-09-24 Joseph Myers <joseph@codesourcery.com>
11512 Richard Sandiford <richard@codesourcery.com>
11513
11514 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11515 (swap_endianness_p): New extern variable.
11516 (set_big_endian): New inline function.
11517 (maybe_swap_uint32): Likewise.
11518 (maybe_swap_uint32_array): Likewise.
11519 (maybe_swap_uint32_obstack): Likewise.
11520 * locale/programs/locfile.c: Include <stdbool.h>.
11521 (swap_endianness_p): New variable.
11522 (add_locale_uint32): Call maybe_swap_uint32.
11523 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11524 (write_locale_data): Call maybe_swap_uint32_array.
11525 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11526 maybe_swap_uint32.
11527 (obstack_int32_grow_fast): Likewise.
11528 (output_weightwc): Call maybe_swap_uint32_obstack.
11529 (collate_output): Likewise.
11530 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11531 (OPT_LITTLE_ENDIAN): Likewise.
11532 (options): Add --little-endian and --big-endian options.
11533 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11534 * locale/programs/locarchive.c: Include "locfile.h".
11535 (GET): New macro.
11536 (SET): Likewise.
11537 (INC): Likewise.
11538 (create_archive): Use the new macros to access fields of
11539 structures directly mapped from or written to locale archives.
11540 (oldlocrecentcmp): Likewise.
11541 (enlarge_archive): Likewise.
11542 (insert_name): Likewise.
11543 (add_alias): Likewise.
11544 (add_locale): Likewise.
11545 (delete_locales_from_archive): Likewise.
11546 (show_archive_content): Likewise.
11547 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11548 locale data.
11549
39bf0bb4
RM
115502013-09-24 Roland McGrath <roland@hack.frob.com>
11551
11552 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11553 http://www.gnu.org/doc/freemanuals.texi.
11554 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11555
f02eed10
WN
115562013-09-24 Will Newton <will.newton@linaro.org>
11557
11558 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11559 macro.
11560
a3a6c312
JM
115612013-09-23 Joseph Myers <joseph@codesourcery.com>
11562
11563 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11564 unsigned char.
11565
107375ac
MR
115662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11567
11568 * manual/threads.texi (POSIX Threads): Fix a typo.
11569
141f3a77
SP
115702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
303e567a
SP
11572 [BZ #14547]
11573 * string/tst-strcoll-overflow.c: New test case.
11574 * string/Makefile (xtests): Add tst-strcoll-overflow.
11575 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11576 cache if string sizes may cause integer overflow.
11577
141f3a77
SP
11578 [BZ #14547]
11579 * string/strcoll_l.c (coll_seq): New members rule, idx,
11580 save_idx and back_us.
11581 (get_next_seq_nocache): New function.
11582 (do_compare_nocache): New function.
11583 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11584 when malloc fails.
11585
c61b4d41
CD
115862013-09-23 Carlos O'Donell <carlos@redhat.com>
11587
0b1f8e35
CD
11588 [BZ #15754]
11589 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11590 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11591 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11592
c61b4d41
CD
11593 [BZ #15754]
11594 * elf/Makefile (tests): Add tst-ptrguard1.
11595 (tests-static): Add tst-ptrguard1-static.
11596 (tst-ptrguard1-ARGS): Define.
11597 (tst-ptrguard1-static-ARGS): Define.
11598 * elf/tst-ptrguard1.c: New file.
11599 * elf/tst-ptrguard1-static.c: New file.
11600 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11601 * sysdeps/i386/stackguard-macros.h: Likewise.
11602 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11603 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11604 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11605 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11606 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11607 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11608
116092013-09-23 Hector Marco <hecmargi@upv.es>
11610 Ismael Ripoll <iripoll@disca.upv.es>
11611 Carlos O'Donell <carlos@redhat.com>
11612
11613 [BZ #15754]
11614 * sysdeps/generic/stackguard-macros.h: Define
11615 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11616 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11617 Define __pointer_chk_guard_local.
11618 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11619 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11620
f5f4e7b4
VV
116212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11622
11623 [BZ #15859]
11624 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11625
5bb43a43
AS
116262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11627
11628 * include/string.h (__ffs): Declare as hidden.
11629 * string/ffs.c (__ffs): Define as hidden.
11630 * sysdeps/i386/ffs.c (__ffs): Likewise.
11631 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11632 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11633 * sysdeps/s390/ffs.c (__ffs): Likewise.
11634 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11635
3ea5be54
AO
116362013-09-20 Alexandre Oliva <aoliva@redhat.com>
11637
ffb89e53
AO
11638 * NEWS: Mention malloc probes.
11639
322dea08
AO
11640 * malloc/arena.c (new_heap): New memory_heap_new probe.
11641 (grow_heap): New memory_heap_more probe.
11642 (shrink_heap): New memory_heap_less probe.
11643 (heap_trim): New memory_heap_free probe.
11644 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11645 (systrim): New memory_sbrk_less probe.
11646 * manual/probes.texi: Document them.
11647
655673f3
AO
11648 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11649 * manual/probes.texi: Document it.
11650
35fed6f1
AO
11651 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11652 (__libc_realloc): Add memory_realloc_retry probe.
11653 (__libc_memalign): Add memory_memalign_retry probe.
11654 (__libc_valloc): Add memory_valloc_retry probe.
11655 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11656 (__libc_calloc): Add memory_calloc_retry probe.
11657 * manual/probes.texi: Document them.
11658
6999d38c
AO
11659 * malloc/arena.c (get_free_list): Add probe
11660 memory_arena_reuse_free_list.
11661 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11662 and memory_arena_reuse.
11663 (arena_get2) [!PER_THREAD]: Likewise.
11664 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11665 memory_arena_reuse_realloc.
11666 * manual/probes.texi: Document them.
11667
0653427f
AO
11668 * malloc/malloc.c (__libc_free): Add
11669 memory_mallopt_free_dyn_thresholds probe.
11670 (__libc_mallopt): Add multiple memory_mallopt probes.
11671 * manual/probes.texi: Document them.
11672
3ea5be54
AO
11673 * malloc/malloc.c: Include stap-probe.h.
11674 (__libc_mallopt): Add memory_mallopt probe.
11675 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11676 * manual/probes.texi: New.
11677 * manual/Makefile (chapters): Add probes.
11678 * manual/threads.texi: Set next node.
11679
e35696c3 116802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11681
e35696c3
CL
11682 [BZ #15963, #13985]
11683 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11684 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11685 Add `Chinese' to `nan' entry name.
11686
4aafb73c
SP
116872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11688
11689 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11690 (POLYNOMIAL): Likewise.
11691 (TAYLOR_SINCOS): Likewise.
11692 (TAYLOR_SLOW): Likewise.
11693 (__sin): Use TAYLOR_SINCOS.
11694 (__cos): Likewise.
11695 (slow): Use TAYLOR_SLOW.
11696 (sloww): Likewise.
11697 (bsloww): Likewise.
11698 (csloww): Likewise.
11699
d84f25c7
LD
117002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11701
11702 * stdlib/strtod_l.c: Fix buffer overrun.
11703
5eea0404
SP
117042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11705
7849ff93
SP
11706 * benchtests/Makefile (bench): Add sincos.
11707 * benchtests/bench-sincos.c: New file.
11708
cfa3c886
SP
11709 * math/libm-test.inc (cos_test_data): New test inputs.
11710 (sin_test_data): Likewise.
11711
b348e1e3
SP
11712 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11713 macro.
11714 (__sin): Use it.
11715 (__cos): Likewise.
11716 (slow1): Likewise.
11717 (slow2): Likewise.
11718 (sloww1): Likewise.
11719 (sloww2): Likewise.
11720 (bsloww1): Likewise.
11721 (bsloww2): Likewise.
11722 (cslow2): Likewise.
11723 (csloww1): Likewise.
11724 (csloww2): Likewise.
11725
6cce25f8
SP
11726 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11727 function.
11728 (__sin): Use it.
11729 (__cos): Likewise.
11730
5eea0404
SP
11731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11732 gotos.
11733 (__cos): Likewise.
11734
9c21573c
MR
117352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11736
11737 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11738 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11739 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11740 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11741 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11742 * elf/cache.c (print_entry): Handle the new cache flags.
11743
24d22e65
JM
117442013-09-18 Joseph Myers <joseph@codesourcery.com>
11745 Aldy Hernandez <aldyh@redhat.com>
11746
11747 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11748 Change condition to [_SOFT_FLOAT].
11749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11761 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11764 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11765 declaration.
11766
d13ef066
JM
117672013-09-18 Joseph Myers <joseph@codesourcery.com>
11768
2e071de0
JM
11769 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11770 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11771 (__longjmp): Use LOAD_GP to load saved GPRs.
11772 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11773 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11774 (__sigsetjmp): Use SAVE_GP to save GPRs.
11775
d13ef066
JM
11776 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11777 Do not append -msoft-float.
11778 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11779
97a0650b
SP
117802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11781
11782 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11783
11ca09e9
JM
117842013-09-17 Joseph Myers <joseph@codesourcery.com>
11785
11786 [BZ #15966]
11787 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11788 (_FPU_GETCW): Use initial "__" on variable and field names but not
11789 on macro parameter name.
11790 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11791 parentheses around reference to macro parameter.
11792
08ffcf34
RS
117932013-09-13 Richard Sandiford <richard@codesourcery.com>
11794
11795 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11796 prototype.
11797 (ctype_startup): Use uint32_t in cast and sizeof for
11798 ctype->charnames.
11799
ae7080d3
JL
118002013-09-11 Jia Liu <proljc@gmail.com>
11801
11802 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11803 __daddr_t_defined.
11804 [__FreeBSD__]: Likewise.
11805
5905e7b3
OB
118062013-09-11 Ondřej Bílka <neleai@seznam.cz>
11807
11808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11809 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11810 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11811 (strchr): Remove __strchr_sse42 ifunc selection.
11812 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11813 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11814
b987c776
WN
118152013-09-11 Will Newton <will.newton@linaro.org>
11816
11817 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11818 parameter to RES. Remove hardcoded 1000 value.
11819 * benchtests/bench-skeleton.c (main): Pass RES parameter
11820 to TIMING_INIT and multiply result by 1000.
11821
ddf985af
AZ
118222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823
11824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11825
ffdd3181
AS
118262013-09-11 Andreas Schwab <schwab@suse.de>
11827
11828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11829 if not defined.
11830 (O_TMPFILE) [__USE_GNU]: Define.
11831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11832 Define.
11833
b73ed247
WN
118342013-09-11 Will Newton <will.newton@linaro.org>
11835
11836 [BZ #15857]
11837 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11838 does not overflow.
11839
55e17aad
WN
118402013-09-11 Will Newton <will.newton@linaro.org>
11841
11842 [BZ #15856]
11843 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11844 does not overflow.
11845
1159a193
WN
118462013-09-11 Will Newton <will.newton@linaro.org>
11847
11848 [BZ #15855]
11849 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11850 does not overflow.
11851
5905e7b3 118522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11853
11854 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11859
cdfc721b
AM
118602013-09-10 Allan McRae <allan@archlinux.org>
11861
aa04af00
AM
11862 [BZ #15748]
11863 * manual/arith.texi (Parsing of Floats): Clarify
11864 cross-reference.
11865
cdfc721b
AM
11866 [BZ #15849]
11867 * manual/install.texi (Running make install): Mention
11868 --enable-pt-chown.
11869 * INSTALL: Regenerated.
11870
95e7cf29
MR
118712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11872
11873 * csu/init-first.c (_init): Remove the !SHARED condition around
11874 FPU control word initialization.
11875 * elf/dl-support.c (_dl_fpu_control): New variable.
11876 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11877 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11878 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11879 * math/test-fpucw-static.c: New file.
11880 * math/test-fpucw-ieee.c: New file.
11881 * math/test-fpucw-ieee-static.c: New file.
11882 * math/Makefile (tests): Add `test-fpucw-ieee' and
11883 `$(tests-static)'.
11884 (tests-static): New variable.
11885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11886 dependency to...
11887 [($(build-shared),yes)]
11888 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11889 ... this.
11890 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11891 New dependency.
11892
83e43bf0
AM
118932013-09-09 Allan McRae <allan@archlinux.org>
11894
a9f5ce09
AM
11895 [BZ #15939]
11896 * manual/string.texi (Collation Functions): Fix typo in
11897 strcoll example.
11898 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11899
34829bc2
AM
11900 [BZ #15893]
11901 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11902
3932737d
AM
11903 [BZ #15892]
11904 * libio/memstream.c (open_memstream): Fix memory leak.
11905 * libio/wmemstream.c (open_wmemstream): Likewise.
11906
83e43bf0
AM
11907 [BZ #15895]
11908 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11909
0c66b8e9
WN
119102013-09-09 Will Newton <will.newton@linaro.org>
11911
11912 * malloc/Makefile: Add tst-realloc to tests.
11913 * malloc/tst-realloc.c: New file.
11914
f6b00fd1
AM
119152013-09-09 Allan McRae <allan@archlinux.org>
11916
11917 [BZ #15844]
11918 * COPYING: Update from GNU website to fix FSF address.
11919 * COPYING.LIB: Likewise.
11920
eec55e16
DM
119212013-09-06 David S. Miller <davem@davemloft.net>
11922
11923 * po/zh_TW.po: Update Chinese (traditional) translation from
11924 translation project.
11925
1ecbb381
RS
119262013-09-06 Richard Sandiford <richard@codesourcery.com>
11927 Joseph Myers <joseph@codesourcery.com>
11928
11929 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11930 "localeinfo.h".
11931 (obstack_chunk_alloc): New macro.
11932 (obstack_chunk_free): Likewise.
11933 (record_offset): New function.
11934 (init_locale_data): Likewise.
11935 (align_locale_data): Likewise.
11936 (add_locale_empty): Likewise.
11937 (add_locale_raw_data): Likewise.
11938 (add_locale_raw_obstack): Likewise.
11939 (add_locale_string): Likewise.
11940 (add_locale_wstring): Likewise.
11941 (add_locale_uint32): Likewise.
11942 (add_locale_uint32_array): Likewise.
11943 (add_locale_char): Likewise.
11944 (start_locale_structure): Likewise.
11945 (end_locale_structure): Likewise.
11946 (start_locale_prelude): Likewise.
11947 (end_locale_prelude): Likewise.
11948 (write_locale_data): Take locale_file structure rather than an
11949 iovec.
11950 * locale/programs/locfile.h: Include "obstack.h".
11951 (struct locale_file): Change to store locale file contents instead
11952 of header.
11953 (init_locale_data): New prototype.
11954 (align_locale_data): Likewise.
11955 (add_locale_empty): Likewise.
11956 (add_locale_raw_data): Likewise.
11957 (add_locale_raw_obstack): Likewise.
11958 (add_locale_string): Likewise.
11959 (add_locale_wstring): Likewise.
11960 (add_locale_uint32): Likewise.
11961 (add_locale_uint32_array): Likewise.
11962 (add_locale_char): Likewise.
11963 (start_locale_structure): Likewise.
11964 (end_locale_structure): Likewise.
11965 (start_locale_prelude): Likewise.
11966 (end_locale_prelude): Likewise.
11967 (write_locale_data): Update prototype.
11968 * locale/programs/3level.h (struct TABLE): Remove result field.
11969 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11970 Use new locale_file interface.
11971 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11972 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11973 * locale/programs/ld-address.c (address_output): Use new
11974 locale_file interface.
11975 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11976 NO_ADD_LOCALE.
11977 (collate_finish): Don't call collseq_table_finalize.
11978 (collate_output): Use new locale_file interface.
11979 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11980 in file.
11981 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11982 (TABLE): Move defines earlier in file.
11983 (ELEMENT): Likewise.
11984 (DEFAULT): Likewise.
11985 (wctrans_table_add): Move macro and inline function earlier in
11986 file.
11987 (struct wctype_table): Move type earlier in file.
11988 (add_locale_wctype_table): New static prototype.
11989 (struct locale_ctype_t): Use logical types instead of struct iovec
11990 pointers for members.
11991 (ctype_output): Use new locale_file interface.
11992 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11993 new locale_file interface.
11994 (allocate_arrays): Update for use of new locale_file interface.
11995 * locale/programs/ld-identification.c (identification_output): Use
11996 new locale_file interface.
11997 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11998 * locale/programs/ld-messages.c (messages_output): Likewise.
11999 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12000 * locale/programs/ld-name.c (name_output): Likewise.
12001 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12002 * locale/programs/ld-paper.c (paper_output): Likewise.
12003 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12004 * locale/programs/ld-time.c (time_output): Likewise.
12005
e029e2e5
AZ
120062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12007
12008 * benchtests/Makefile: Add memrchr benchmark.
12009 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12010 benchmark as memrchr.
12011 * benchtests/bench-memrchr-ifunc.c: New file.
12012 * benchtests/bench-memrchr.c: New file.
12013
bbf6e8e4
WN
120142013-09-06 Will Newton <will.newton@linaro.org>
12015
12016 * benchtests/Makefile (string-bench): Add memcpy.
12017
6c82a2f8
CD
120182013-09-05 Carlos O'Donell <carlos@redhat.com>
12019 Cong Wang <amwang@redhat.com>
12020
e732c5f0 12021 [BZ #15850]
6c82a2f8
CD
12022 * sysdeps/unix/sysv/linux/bits/in.h
12023 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12024 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12025 before __USE_KERNEL_IPV6_DEFS uses.
12026 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12027 IPPROTO_BEETPH.
12028 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12029 sockaddr_in6, or ipv6_mreq.
12030
5430fc65
AZ
120312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12032
12033 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12034 memory access for final bytes in some large inputs.
12035 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12036
4660856c
AZ
120372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12038
12039 * string/test-memrchr.c: New file.
12040 * string/test-memrchr-ifunc.c: New file.
12041 * string/Makefile: Add new memrchr testcase.
12042
bb8ea713
MF
120432013-09-05 Mike Frysinger <vapier@gentoo.org>
12044
12045 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12046 fanotify_init returns EPERM.
12047
b92a20b5
JM
120482013-09-04 Joseph Myers <joseph@codesourcery.com>
12049
12050 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12051 errors.
12052 (top level): Treat second token from macro or constant entries for
12053 allowed headers as allowed.
12054 * include/complex.h: Condition internal declarations on
12055 [!_ISOMAC].
12056 * include/fenv.h: Condition include of <stdbool.h> and internal
12057 declarations on [!_ISOMAC].
7447ccd9
CL
12058
120592013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12060
3e181dda 12061 [BZ #15923]
7447ccd9
CL
12062 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12063
3f2e46a4
JM
120642013-09-04 Joseph Myers <joseph@codesourcery.com>
12065
12066 * configure.in (--enable-versioning): Remove configure option.
12067 (libc_cv_asm_symver_directive): Remove configure test.
12068 (libc_cv_ld_version_script_option): Likewise.
12069 (VERSIONING): Remove variable and AC_SUBST.
12070 (DO_VERSIONING): Remove AC_DEFINE.
12071 * configure: Regenerated.
12072 * config.h.in (DO_VERSIONING): Remove macro.
12073 * Makerules [$(versioning) = yes]: Change conditionals to
12074 [$(build-shared) = yes].
12075 * config.make.in (versioning): Remove variable.
12076 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12077 [$(build-shared) = yes].
12078 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12079 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12080 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12081 [$(build-shared) = yes].
12082 * extra-lib.mk [$(versioning) = yes]: Likewise.
12083 * hurd/Makefile [$(versioning) = yes]: Likewise.
12084 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12085 [SHARED].
12086 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12087 [SHARED].
12088 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12089 [SHARED && !NO_HIDDEN].
12090 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12091 [SHARED].
12092 [SHARED && DO_VERSIONING]: Likewise..
12093 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12094 [$(build-shared) = yes].
12095 * manual/install.texi (--disable-versioning): Remove
12096 documentation.
12097 * INSTALL: Regenerated.
12098 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12099 to [SHARED].
12100 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12101 [$(build-shared) = yes].
12102 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12103 * sysdeps/i386/i686/multiarch/strstr-c.c
12104 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12105 [SHARED && !NO_HIDDEN].
12106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12107 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12108 * sysdeps/powerpc/powerpc32/dl-machine.c
12109 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12110 * sysdeps/powerpc/powerpc32/sysdep.h
12111 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12112 to [SHARED && PIC && !NO_HIDDEN].
12113 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12114 conditional to [SHARED].
12115
44558701
WN
121162013-09-04 Will Newton <will.newton@linaro.org>
12117
12118 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12119 * benchtests/bench-string.h: Include bench-timing.h instead
12120 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12121 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12122 call to HP_TIMING_DIFF_INIT.
12123 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12124 instead of hp-timing.h macros.
12125 * benchtests/bench-memchr.c: Likewise.
12126 * benchtests/bench-memcmp.c: Likewise.
12127 * benchtests/bench-memcpy.c: Likewise.
12128 * benchtests/bench-memmem.c: Likewise.
12129 * benchtests/bench-memmove.c: Likewise.
12130 * benchtests/bench-memset.c: Likewise.
12131 * benchtests/bench-rawmemchr.c: Likewise.
12132 * benchtests/bench-strcasecmp.c: Likewise.
12133 * benchtests/bench-strcasestr.c: Likewise.
12134 * benchtests/bench-strcat.c: Likewise.
12135 * benchtests/bench-strchr.c: Likewise.
12136 * benchtests/bench-strcmp.c: Likewise.
12137 * benchtests/bench-strcpy.c: Likewise.
12138 * benchtests/bench-strcpy_chk.c: Likewise.
12139 * benchtests/bench-strlen.c: Likewise.
12140 * benchtests/bench-strncasecmp.c: Likewise.
12141 * benchtests/bench-strncat.c: Likewise.
12142 * benchtests/bench-strncmp.c: Likewise.
12143 * benchtests/bench-strncpy.c: Likewise.
12144 * benchtests/bench-strnlen.c: Likewise.
12145 * benchtests/bench-strpbrk.c: Likewise.
12146 * benchtests/bench-strrchr.c: Likewise.
12147 * benchtests/bench-strspn.c: Likewise.
12148 * benchtests/bench-strstr.c: Likewise.
12149
cae16d66
WN
121502013-09-04 Will Newton <will.newton@linaro.org>
12151
12152 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12153
ffa3cd7f
JM
121542013-09-03 Joseph Myers <joseph@codesourcery.com>
12155
12156 [BZ #15427]
12157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12158 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12159 * math/libm-test.inc (lgamma_test_data): Add more tests.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
8f02859f
OB
121632013-09-03 Ondřej Bílka <neleai@seznam.cz>
12164
12165 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12167 Add ifunc.
12168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12169 Add strcmp-sse2-unaligned
12170 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12171
18d43716
MF
121722013-09-02 Mike Frysinger <vapier@gentoo.org>
12173
12174 * Versions.def (libc): Add GLIBC_2.19.
12175
ac444012
MF
121762013-09-02 Mike Frysinger <vapier@gentoo.org>
12177
12178 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12179 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12180
b7835e32
JM
121812013-09-02 Joseph Myers <joseph@codesourcery.com>
12182
12183 [BZ #14155]
12184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12185 intermediate calculations in recurrence.
12186 (__ieee754_ynf): Likewise.
12187 * math/libm-test.inc (jn_test_data): Do not allow spurious
12188 underflow exception. Add more tests.
12189 (yn_test_data): Add more tests.
12190 * sysdeps/i386/fpu/libm-test-ulps: Update.
12191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192
8220f4f0
OB
121932013-09-02 Ondřej Bílka <neleai@seznam.cz>
12194
12195 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12196
f24a6d08
OB
121972013-08-30 Ondřej Bílka <neleai@seznam.cz>
12198
12199 * csu/init-first.c: Fix then/than typos.
12200 * locale/programs/ld-collate.c: Likewise.
12201 * locale/programs/linereader.h: Likewise.
12202 * manual/charset.texi: Likewise.
12203 * manual/filesys.texi: Likewise.
12204 * manual/stdio.texi: Likewise.
12205 * manual/string.texi: Likewise.
12206 * stdlib/fmtmsg.c: Likewise.
12207 * sysdeps/i386/stpncpy.S: Likewise.
12208 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12209 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12210 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12211 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12212
382466e0
OB
122132013-08-30 Ondřej Bílka <neleai@seznam.cz>
12214
12215 * elf/dl-open.c: Fix typos.
12216 * iconvdata/gbbig5.c: Likewise.
12217 * iconvdata/iso-2022-jp.c: Likewise.
12218 * iconv/gconv_int.h: Likewise.
12219 * iconv/loop.c: Likewise.
12220 * nis/rpcsvc/nis.h: Likewise.
12221 * resolv/ns_name.c: Likewise.
12222 * stdio-common/vfscanf.c: Likewise.
12223 * streams/stropts.h: Likewise.
12224 * sunrpc/rpc_thread.c: Likewise.
12225 * sysdeps/i386/strpbrk.S: Likewise.
12226 * sysdeps/ieee754/k_standard.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12229 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12230 * sysdeps/mach/hurd/profil.c: Likewise.
12231 * sysdeps/s390/dl-procinfo.h: Likewise.
12232 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12233 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12235 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12237
0186c6e9
OB
122382013-08-30 Ondřej Bílka <neleai@seznam.cz>
12239
12240 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12242
d4e16af1
OB
122432013-08-29 Ondřej Bílka <neleai@seznam.cz>
12244
12245 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12246 aix specific files.
12247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12250 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12252 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12254 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12255
88335980
TS
122562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12257 Roland McGrath <roland@hack.frob.com>
12258
12259 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12260 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12261
ed479b02
ST
122622013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12263
12264 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12265 __executable_start symbol instead of _start.
12266
f1cc4c86
TS
122672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12268
d821f07c
TS
12269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12270 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12271 Move macros to...
12272 * sysdeps/gnu/ldsodefs.h: ... this new file.
12273
c54290cf
TS
12274 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12275 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12276 instead of ELFOSABI_LINUX.
12277
0007fc9b 12278 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12279 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12280 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12281 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12282 Likewise.
12283 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12284 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12286 Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12288 (ibm_extended_long_double): Add ieee_nan member.
12289 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12290 (do_test): New function.
12291
f1cc4c86
TS
12292 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12293 TEST_TRUNC.
12294 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12295 functions, renamed from truncdfsf_test, trunctfsf_test,
12296 trunctfdf_test.
12297 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12298 functions.
12299 (do_test): Run all these.
12300
6f65e668
OB
123012013-08-29 Ondřej Bílka <neleai@seznam.cz>
12302
12303 * argp/argp-help.c: Fix typos.
12304 * argp/argp-parse.c: Likewise.
12305 * debug/backtracesyms.c: Likewise.
12306 * elf/elf.h: Likewise.
12307 * malloc/malloc.c: Likewise.
12308 * nis/nis_print.c: Likewise.
12309 * resolv/res_comp.c: Likewise.
12310 * stdlib/stdlib.h: Likewise.
12311 * sunrpc/clnt_tcp.c: Likewise.
12312 * sunrpc/clnt_udp.c: Likewise.
12313 * sunrpc/clnt_unix.c: Likewise.
12314 * sysdeps/unix/bsd/ptsname.c: Likewise.
12315 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12318 Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12320 Likewise.
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12322 Likewise.
6f65e668
OB
12323 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12324
3a309239
SP
123252013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12326
12327 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12329
3b813b29
MF
123302013-08-27 Mike Frysinger <vapier@gentoo.org>
12331
12332 [BZ #15897]
12333 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12334 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12335 ($(objpfx)bug-dl-leaf): New rule.
12336 ($(objpfx)bug-dl-leaf.so): Likewise.
12337 ($(objpfx)bug-dl-leaf.out): Likewise.
12338 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12339 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12340 * dlfcn/bug-dl-leaf.c: New test.
12341 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12342 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12343 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12344 (dlclose): Likewise.
12345 (dlmopen): Likewise.
12346
8cc3269f
RM
123472013-08-27 Roland McGrath <roland@hack.frob.com>
12348
7f9d0034
RM
12349 * include/netdb.h [!_ISOMAC]:
12350 Don't include <tls.h>.
12351 (h_errno, __libc_h_errno): Move declaration and macros out of
12352 [_LIBC_REENTRANT].
12353
fb431262
RM
12354 * include/resolv.h [_RESOLV_H_]:
12355 Don't include <tls.h>.
12356 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12357 * resolv/res_libc.c: Don't include <tls.h>.
12358 (_res): Use __attribute__ ((nocommon)) in place of
12359 __attribute__ ((section (".bss"))).
12360
bd81123a
RM
12361 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12362 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12363
c4e42566
RM
12364 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12365
f890a59b
RM
12366 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12367 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12368
12369 * resolv/res_mkquery.c: Include <sys/time.h>.
12370
5d1f0a09
RM
12371 * inet/ifreq.c: Moved to ...
12372 * sysdeps/unix/ifreq.c: ... here.
12373 * inet/ifreq.c: New file, true stub version.
12374
6fcf28b3
RM
12375 * socket/sa_len.c: New file.
12376 * socket/Makefile (aux): Add it.
12377 * sysdeps/unix/sysv/linux/Makefile
12378 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12379 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12380 and #include <socket/sa_len.c>.
12381 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12382 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12383
e041fb8b
RM
12384 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12385 * bits/socket.h: ... here.
12386
8cc3269f
RM
12387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12388 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12389 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12390
5d228a43
AS
123912013-08-27 Andreas Schwab <schwab@suse.de>
12392
45b8accc
AS
12393 [BZ #15736]
12394 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12395 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12396 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12397 * string/test-strcasecmp.c (test_main): Run tests in several
12398 locales.
12399 * string/test-strncasecmp.c (test_main): Likewise.
12400
5d228a43
AS
12401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12402 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12403 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12405 (__strncasecmp_ssse3) [PIC]: Likewise.
12406
59d112a4
RM
124072013-08-26 Roland McGrath <roland@hack.frob.com>
12408
53234cc3
RM
12409 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12410
59d112a4
RM
12411 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12412 instead of explicitly declaring xdecrypt.
12413 * nis/nss_nis/nis-publickey.c: Likewise.
12414
595aba70
SP
124152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
12417 [BZ #15890]
12418 * nscd/aicache.c: Include res_hconf.h.
12419 (addhstaiX): Initialize res_hconf.
12420
ffabd393
AS
124212013-08-26 Andreas Schwab <schwab@suse.de>
12422
12423 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12424 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12425
e0a69f5c
SP
124262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12427
12428 * nscd/aicache.c (addhstaiX): Fix indentation.
12429
8c12f01d
MF
124302013-08-25 Mike Frysinger <vapier@gentoo.org>
12431
12432 * configure.ac: Quote $build_pt_chown test.
12433 * configure: Regenerated.
12434
8fe89494
JM
124352013-08-23 Joseph Myers <joseph@codesourcery.com>
12436
12437 [BZ #15532]
12438 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12439 * math/s_cexpf.c (__cexpf): Likewise.
12440 * math/s_cexpl.c (__cexpl): Likewise.
12441 * math/libm-test.inc (cexp_test_data): Correct expected return
12442 value for NaN + i0. Add another test.
12443
75b181d6
DM
124442013-08-22 David S. Miller <davem@davemloft.net>
12445
12446 * po/ca.po: Update Catalan translation from translation project.
936241e4 12447 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12448
acd06bb1
JM
124492013-08-21 Joseph Myers <joseph@codesourcery.com>
12450
12451 [BZ #15797]
12452 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12453 is infinite, not alongside NaN test.
12454 * math/s_fdimf.c (__fdimf): Likewise.
12455 * math/s_fdiml.c (__fdiml): Likewise.
12456 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12457 errno is unchanged.
12458
c0c3f78a
OB
124592013-08-21 Ondřej Bílka <neleai@seznam.cz>
12460
12461 * argp/argp-help.c: Fix typos.
12462 * crypt/speeds.c: Likewise.
12463 * csu/check_fds.c: Likewise.
12464 * elf/dl-load.c: Likewise.
12465 * elf/dl-open.c: Likewise.
12466 * elf/reldep3.c: Likewise.
12467 * elf/reldep.c: Likewise.
12468 * elf/sprof.c: Likewise.
12469 * iconv/iconv_charmap.c: Likewise.
12470 * iconv/skeleton.c: Likewise.
12471 * iconv/strtab.c: Likewise.
12472 * io/lockf64.c: Likewise.
12473 * libio/libioP.h: Likewise.
12474 * resolv/gai_notify.c: Likewise.
12475 * resolv/ns_name.c: Likewise.
12476 * resolv/ns_samedomain.c: Likewise.
12477 * resolv/res_send.c: Likewise.
12478 * stdlib/random.c: Likewise.
12479 * sunrpc/rpc/xdr.h: Likewise.
12480 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12488 * sysdeps/mach/hurd/check_fds.c: Likewise.
12489 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12495 * sysdeps/pthread/aio_notify.c: Likewise.
12496 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12497 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12499 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12500 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12501
46ed1038
LD
125022013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12503
12504 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12505 version if bit_Slow_SSE4_2 is set.
12506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12508
d400dcac
AZ
125092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12510
12511 [BZ #15867]
12512 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12513 trampoline stack frame information.
12514 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12516 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12517 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12518 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12519 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12520 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12521 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12522 sa_flags value.
12523 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12524 interrupting a syscall and set with option SA_SIGINFO.
12525
42c8fdd8
JM
125262013-08-20 Joseph Myers <joseph@codesourcery.com>
12527
c980f2f4
JM
12528 [BZ #15531]
12529 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12530 argument is infinite.
12531 * math/s_cprojf.c (__cprojf): Likewise.
12532 * math/s_cprojl.c (__cprojl): Likewise.
12533 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12534 * math/libm-test.inc (cproj_test_data): Add more tests.
12535
0716c4fc
JM
12536 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12537
42c8fdd8
JM
12538 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12539 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12540 size. Use __ffs to determine corresponding shift.
12541
b31469d0
JM
125422013-08-20 Joseph Myers <joseph@codesourcery.com>
12543 Roland McGrath <roland@hack.frob.com>
12544
12545 * Makefile (INSTALL): Remove trailing blank lines from output of
12546 makeinfo.
12547
4e39af6e
AK
125482013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12549
12550 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12551 Align 32 bit compat elf_greg to 8 bytes.
12552
f315524e
AA
125532013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12554
12555 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12556
1326ba1a
SP
125572013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12558
12559 * string/strcoll_l.c (coll_seq): New structure.
12560 (get_next_seq_cached): New function.
12561 (get_next_seq): New function.
12562 (do_compare): New function.
12563 (STRCOLL): Use GNU style definition. Simplify implementation
12564 by using get_next_seq, get_next_seq_cached and do_compare.
12565
91ce4085
FW
125662013-08-16 Florian Weimer <fweimer@redhat.com>
12567
12568 [BZ #14699]
12569 CVE-2013-4237
12570 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12571 member.
12572 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12573 member.
12574 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12575 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12576 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12577 conditional.
12578 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12579 GETDENTS_64BIT_ALIGNED.
12580 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12581 * manual/filesys.texi (Reading/Closing Directory): Document
12582 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12583 strongly.
12584 * manual/conf.texi (Limits for Files): Add portability note to
12585 NAME_MAX, PATH_MAX.
12586 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12587
ca0a6bc4
AS
125882013-08-13 Andreas Schwab <schwab@suse.de>
12589
12590 [BZ #15749]
12591 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12592 of fabs.
12593 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12594 LDBL_MAX_EXP >= 16384]: Add tests for it.
12595
6c1fd795
DM
125962013-08-12 David S. Miller <davem@davemloft.net>
12597
12598 * version.h (RELEASE): Set to "development".
12599 (VERSION): Set to "2.18.90".
12600 * NEWS: Add 2.19 section.
12601
31ad488d
DM
126022013-08-03 David S. Miller <davem@davemloft.net>
12603
12604 * po/ko.po: Update Korean translation from translation project.
12605
db24e684
DM
126062013-08-01 David S. Miller <davem@davemloft.net>
12607
12608 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12609 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12610 Bilka.
12611
f723285b
DM
126122013-07-30 David S. Miller <davem@davemloft.net>
12613
12614 * po/fr.po: Update French translation from translation project.
12615
3cbc52db
DM
126162013-07-28 David S. Miller <davem@davemloft.net>
12617
30bbc0cc
DM
12618 * po/cs.po: Update Czech translation from translation project.
12619
3cbc52db
DM
12620 * po/sv.po: Update Swedish translation from translation project.
12621
d492e6d0
DM
126222013-07-27 David S. Miller <davem@davemloft.net>
12623
f1a7f492
DM
12624 * po/eo.po: Update Esperanto translation from translation project.
12625
90e62a4a
DM
12626 * po/vi.po: Update Vietnamese translation from translation project.
12627
d492e6d0
DM
12628 * po/de.po: Update German translation from translation project.
12629
d4baa62d
DM
126302013-07-26 David S. Miller <davem@davemloft.net>
12631
641aa7b4
DM
12632 * po/bg.po: Update Bulgarian translation from translation project.
12633
d4baa62d
DM
12634 * po/nl.po: Update Dutch translation from translation project.
12635 * po/pl.po: Update Polish translation from translation project.
12636 * po/ru.po: Update Russian translation from translation project.
12637
61a9dcb9
DM
126382013-07-24 David S. Miller <davem@davemloft.net>
12639
12640 * po/libc.pot: Update.
12641
7b1f8b58
AZ
126422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12643
12644 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12645 variable page size.
12646 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12648 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12649
a8fc7a03
AK
126502013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12651
12652 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12653
e4608715
CD
126542013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 Andreas Schwab <schwab@suse.de>
12656 Roland McGrath <roland@hack.frob.com>
12657 Joseph Myers <joseph@codesourcery.com>
12658 Carlos O'Donell <carlos@redhat.com>
12659
12660 [BZ #15755]
12661 * config.h.in: Define HAVE_PT_CHOWN.
12662 * config.make.in (build-pt-chown): New variable.
12663 * configure.in (--enable-pt_chown): New configure option.
12664 * configure: Regenerate.
12665 * login/Makefile: Include Makeconfig. Build pt_chown only if
12666 build-pt-chown is enabled.
12667 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12668 pt_chown to fix pty ownership.
12669 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12670 CLOSE_ALL_FDS.
12671 * manual/install.texi (Configuring and compiling): Mention
12672 --enable-pt_chown. Add @findex for grantpt.
12673 * INSTALL: Regenerate.
12674
da2d62df
DM
126752013-07-20 David S. Miller <davem@davemloft.net>
12676
12677 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12678 difference between 32-bit and 64-bit.
12679
d7e06450
CD
126802013-07-15 Carlos O'Donell <carlos@redhat.com>
12681
12682 [BZ #15711]
12683 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12684 Avoid system header dependency with -ffreestanding.
12685 ($(objpfx)bits/syscall%d): Likewise.
12686
f959cfd7
DM
126872013-07-13 David S. Miller <davem@davemloft.net>
12688
12689 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12690 underflows from atanl/atan2l due to bug 15319.
12691 (casinh_test_data): Likewise.
12692
c61f8513
DM
126932013-07-07 David S. Miller <davem@davemloft.net>
12694
12695 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12696
72c90ed0
JA
126972013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12698
12699 * sysdeps/i386/fpu/libm-test-ulps: Update.
12700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12701
52dfbe13
SP
127022013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12703
12704 * configure.in (--enable-lock-elision): Fix message text.
12705 * INSTALL: Regenerate.
12706 * configure: Regenerate.
12707
3f169543
AZ
127082013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12709
12710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12711
521c6785
AJ
127122013-07-03 Andreas Jaeger <aj@suse.de>
12713
12714 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12715 define.
12716 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12717 (ptrace_peeksiginfo_args): Add.
12718 (__ptrace_peeksiginfo_flags): Add.
12719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12722
d2cc15cb
AM
127232013-07-03 Allan McRae <allan@archlinux.org>
12724
12725 * sysdeps/i386/fpu/libm-test-ulps: Update.
12726
3aaeeca7
DM
127272013-07-02 David S. Miller <davem@davemloft.net>
12728
12729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12730
5314ed1a
MT
127312013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12732
12733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12734
67338156
JM
127352013-07-02 Joseph Myers <joseph@codesourcery.com>
12736
12737 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12739
1717da59
AK
127402013-07-02 Andi Kleen <ak@linux.intel.com>
12741
12742 * config.h.in (ENABLE_LOCK_ELISION): Add.
12743 * configure.in (--enable-lock-elision): Add option.
12744 * manual/install.texi: Document --enable lock elision.
12745 * configure: Regenerate
12746 * INSTALL: Regenerate.
12747
1c81621c
L
127482013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12751 SSE4.2 strcasecmp for libc.a.
12752 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12753
77f01ab5
JM
127542013-07-02 Joseph Myers <joseph@codesourcery.com>
12755
12756 [BZ #13304]
12757 * soft-fp/op-common.h (_FP_FMA): New macro.
12758 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12759 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12760 (_FP_MUL_MEAT_1_imm): ... here.
12761 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12762 (_FP_MUL_MEAT_1_wide): ... here.
12763 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12764 (_FP_MUL_MEAT_1_hard): ... here.
12765 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12766 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12767 (_FP_MUL_MEAT_2_wide): ... here.
12768 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12769 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12770 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12771 (_FP_MUL_MEAT_2_gmp): ... here.
12772 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12773 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12774 (_FP_MUL_MEAT_4_wide): ... here.
12775 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12776 (_FP_MUL_MEAT_4_gmp): ... here.
12777 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12778 (_FP_WFRACBITS_DW_S): Likewise.
12779 (_FP_WFRACXBITS_DW_S): Likewise.
12780 (_FP_HIGHBIT_DW_S): Likewise.
12781 (FP_FMA_S): Likewise.
12782 (_FP_FRAC_HIGH_DW_S): Likewise.
12783 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12784 (_FP_WFRACBITS_DW_D): Likewise.
12785 (_FP_WFRACXBITS_DW_D): Likewise.
12786 (_FP_HIGHBIT_DW_D): Likewise.
12787 (FP_FMA_D): Likewise.
12788 (_FP_FRAC_HIGH_DW_D): Likewise.
12789 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12790 (_FP_WFRACBITS_DW_E): Likewise.
12791 (_FP_WFRACXBITS_DW_E): Likewise.
12792 (_FP_HIGHBIT_DW_E): Likewise.
12793 (FP_FMA_E): Likewise.
12794 (_FP_FRAC_HIGH_DW_E): Likewise.
12795 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12796 (_FP_WFRACBITS_DW_Q): Likewise.
12797 (_FP_WFRACXBITS_DW_Q): Likewise.
12798 (_FP_HIGHBIT_DW_Q): Likewise.
12799 (FP_FMA_Q): Likewise.
12800 (_FP_FRAC_HIGH_DW_Q): Likewise.
12801 * soft-fp/fmasf4.c: New file.
12802 * soft-fp/fmadf4.c: Likewise.
12803 * soft-fp/fmatf4.c: Likewise.
12804
6308fd9a
LD
128052013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12806
12807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12808 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12809 Silvermont.
12810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12811 macro.
12812 (index_Slow_SSE4_2): Likewise.
12813 (index_Prefer_PMINUB_for_stringop): Likewise.
12814 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12815 bit_Slow_SSE4_2 is set.
12816 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12817 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12818
89cd9569
RA
128192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12820
12821 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12822 rtld_global._dl_hwcap2.
12823 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12824 POWER8.
12825 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12826 POWER8 feature descriptions defined in _dl_hwcap2.
12827 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12828 string handling for POWER8 feature bits.
12829 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12830 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12831 _dl_powerpc_cap_flags.
12832 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12833 * sysdeps/powerpc/rtld-global-offsets.sym
12834 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12835 _dl_hwcap2 in the rtld_global_ro structure.
12836
1ae8bfe0
RA
128372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12838
12839 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12840 hardware capabilities in support of AT_HWCAP2.
12841 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12842 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12843 GLRO(dl_hwcap2).
12844 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12845 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12846 explicitly the unknown a_type display mechanism is used.
12847 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12848 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12849 struct member.
12850 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12851 to macro prototype for AT_HWCAP2 support.
12852 * sysdeps/i386/dl-procinfo.h: Likewise.
12853 * sysdeps/s390/dl-procinfo.h: Likewise.
12854 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12855 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12856 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12857 return -1 for unknown a_type display fallback.
12858 * sysdeps/sparc/dl-procinfo.h: Likewise.
12859 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12860 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12861
8fbec010
JM
128622013-06-28 Joseph Myers <joseph@codesourcery.com>
12863
12864 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12865 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12866
0432680e
PY
128672013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12868
12869 [BZ #12492]
12870 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12871 mprotect making __stack_prot writable.
12872
ce61a2ad
NF
128732013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12874 Joseph Myers <joseph@codesourcery.com>
12875
12876 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12877 as being properly aligned.
12878
f91f1c0f
MR
128792013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12880
3d0f5d0c
MR
12881 * dlfcn/modstatic5.c: New file.
12882 * dlfcn/tststatic5.c: New file.
12883 * dlfcn/Makefile (tests): Add tststatic5.
12884 (tests-static): Likewise.
12885 (modules-names): Add modstatic5.
12886 (tststatic5-ENV): New variable.
12887 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12888
f91f1c0f
MR
12889 [BZ #15022]
12890 * elf/dl-support.c (_dl_main_map): New variable.
12891 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12892 (_dl_nns, _dl_load_adds): Set to 1.
12893 (_dl_initial_searchlist): Refer to _dl_main_map.
12894 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12895 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12896 call to _dl_get_origin.
12897 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12898 around call_map.
12899 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12900 * dlfcn/modstatic3.c: New file.
12901 * dlfcn/tststatic3.c: New file.
12902 * dlfcn/tststatic4.c: New file.
12903 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12904 (tests-static): Likewise.
12905 (modules-names): Add modstatic3.
12906 (tststatic3-ENV, tststatic4-ENV): New variables.
12907 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12908 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12909
cbe7d24b
JM
129102013-06-26 Joseph Myers <joseph@codesourcery.com>
12911
12912 * configure.in (CC): Require GCC version 4.4 or later.
12913 * configure: Regenerated.
12914 * manual/install.texi (Tools for Compilation): Update GCC version
12915 requirement.
12916 * INSTALL: Regenerated.
12917
11b8a0e1
LD
129182013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12919
12920 [BZ #15674]
bb5bb87c
L
12921 * string/test-memcmp.c (check2): New.
12922 (main): Call check2.
12923
11b8a0e1
LD
12924 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12925
b0037103
MR
129262013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12927
12928 [BZ #15022]
12929 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12930 over to...
12931 (dl_open_worker) [!SHARED]: ... here.
12932
c18c701d
RA
129332013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12934
12935 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12936
1d17fa5f
RH
129372013-06-25 Richard Henderson <rth@redhat.com>
12938
12939 * locale/programs/locarchive.c: Include <libc-internal.h>
12940
8fcb833a
JM
129412013-06-25 Joseph Myers <joseph@codesourcery.com>
12942
12943 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12944 trailing whitespace removed.
12945
17db6e8d
MF
129462013-06-24 Mike Frysinger <vapier@gentoo.org>
12947
12948 [BZ #10283]
17db6e8d
MF
12949 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12950 * locale/programs/locarchive.c: Include libc-mmap.h.
12951 (prepare_address_space): Take two new outputs (the mmap base and len).
12952 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12953 values.
12954 (create_archive): Declare new mmap base and len values for
12955 prepare_address_space, and store the result in ah.
12956 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12957 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12958 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12959 Declare new mmap base and len values for
12960 prepare_address_space, and store the result in new_ah.
12961 (open_archive): Declare new mmap base and len values for
12962 prepare_address_space, and store the result in ah.
12963 (close_archive): If ah->mmap_base is not NULL, use that and
12964 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12965 * sysdeps/generic/libc-mmap.h: New file.
12966
d605071e
MF
129672013-06-24 Mike Frysinger <vapier@gentoo.org>
12968
12969 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12970 (ALIGN_UP): Likewise.
12971 (PTR_ALIGN_DOWN): Likewise.
12972 (PTR_ALIGN_UP): Likewise.
12973
2f063a6e
RA
129742013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12975
12976 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12977 entry mapped to PPC_PLATFORM_POWER8.
12978 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12979 POWER8.
12980 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12981 (_dl_string_platform): Add case for exporting platform position for
12982 POWER8.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12984 search path to sysdeps/powerpc/powerpc32/power8 directory.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12986 search path to sysdeps/powerpc/powerpc64/power8 directory.
12987 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12988 power7 directories.
12989 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12990 power7 directories.
12991
a31ee4b3
SP
129922013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12993
a74ca98f
SP
12994 * INSTALL: Regenerate.
12995
a31ee4b3
SP
12996 * nscd/connections.c (nscd_init): Fix comment.
12997
695c378f
JM
129982013-06-22 Joseph Myers <joseph@codesourcery.com>
12999
d8412221
JM
13000 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13001
695c378f
JM
13002 [BZ #15667]
13003 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13004 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13005
d1d54715
MR
130062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13007
13008 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13009 DL_DST_REQ_STATIC.
13010 (DL_DST_REQ_STATIC): Remove macro.
13011
8fdda7af
JM
130122013-06-21 Joseph Myers <joseph@codesourcery.com>
13013
13014 [BZ #7006]
13015 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13016 with a shift of 0 bits.
13017
f3bc5e5a
MR
130182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13019
13020 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13021 $(tststatic-ENV).
13022
be09e8c9
KK
130232013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13024
13025 [BZ #15655]
13026 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13027
85c2e611
AZ
130282013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13029
13030 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13031 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13032 accepts -fno-tree-loop-distribute-patterns.
13033 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13034 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13035 recursive call.
13036 * string/memset.c (memset): Likewise.
13037 * string/test-memmove.c (simple_memmove): Disable loop transformation
13038 to library calls.
13039 * string/test-memset.c (simple_memset): Likewise.
13040 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13041 * benchtests/bench-memset.c (simple_memset): Likewise.
13042 * configure: Regenerated.
13043
c91e0825
JM
130442013-06-20 Joseph Myers <joseph@codesourcery.com>
13045
b8c792af
JM
13046 * math/test-misc.c (main): Ignore fesetround failure when failures
13047 of subsequent rounding tests would be ignored.
13048
c91e0825
JM
13049 [BZ #15654]
13050 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13051 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13052 * math/fegetenv.c (__fegetenv): Return 0.
13053 * math/fegetexcept.c (fegetexcept): Return 0.
13054 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13055 FE_TONEAREST.
13056 * math/feholdexcpt.c (feholdexcept): Return 0.
13057 * math/fesetenv.c (__fesetenv): Return 0.
13058 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13059 argument FE_TONEAREST.
13060 * math/feupdateenv.c (__feupdateenv): Return 0.
13061 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13062
bfcacbde
RM
130632013-06-18 Roland McGrath <roland@hack.frob.com>
13064
13065 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13066 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13067 ($(objpfx)rtld-%.os rules): Use them.
13068
e55a9b25
AZ
130692013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13070
13071 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13072 fields.
13073
346d65b3
RM
130742013-06-17 Roland McGrath <roland@hack.frob.com>
13075
12086fb4
RM
13076 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13077 length of target pattern, then descending length of dependency pattern.
13078 * configure.in (AWK): Require gawk 3.1.2 or newer.
13079 * manual/install.texi (Tools for Compilation): Say that we do.
13080 * configure: Regenerated.
13081
346d65b3
RM
13082 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13083 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13084 * scripts/sysd-rules.awk: ... this new script.
13085 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13086 than a glob-style pattern.
13087
1a846317
JM
130882013-06-17 Joseph Myers <joseph@codesourcery.com>
13089
13090 * math/test-misc.c (main): Do not treat incorrectly rounded
13091 conversions as failure unless ROUNDING_TESTS passes.
13092
8fc75e6f
JM
130932013-06-15 Joseph Myers <joseph@codesourcery.com>
13094
3711a167
JM
13095 [BZ #15631]
13096 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13097 restore exception state around main square root computation, then
13098 check for inexactness explicitly.
13099
8fc75e6f
JM
13100 * math/libm-test.inc (fma_test_data): Add another test.
13101
61dd6208
SP
131022013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13103
adf23d2c
SP
13104 * manual/threads.texi (Non-POSIX Extensions): New document
13105 node. Document pthread_getattr_default_np and
13106 pthread_setattr_default_np.
13107
61dd6208
SP
13108 * Versions.def (libpthread): Add GLIBC_2.18.
13109 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13111 Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13113 Likewise.
13114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13115 Likewise.
13116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13117 Likewise.
13118 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13119 Likewise.
13120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13121 Likewise.
13122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13123 Likewise.
13124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13125 Likewise.
13126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13127 Likewise.
13128
d086fc7b
LD
131292013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13130
13131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13132 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13133
747ef469
SP
131342013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13135 H.J. Lu <hjl.tools@gmail.com>
13136
13137 [BZ #15627]
13138 * sysdeps/x86_64/rtld-memset.c: Remove file.
13139 * sysdeps/x86_64/rtld-memset.S: New file.
13140
1b2feed2
JM
131412013-06-14 Joseph Myers <joseph@codesourcery.com>
13142
13143 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13144 (test_in_one_mode): Take arguments for whether the rounding mode
13145 is supported for each floating-point type.
13146 (do_test): Pass new arguments to test_in_one_mode using
13147 ROUNDING_TESTS.
13148
a58ad3f8
RM
131492013-06-13 Roland McGrath <roland@hack.frob.com>
13150
13151 * posix/tst-waitid.c (do_test): Distinguish different instances of
13152 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13153 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13154 before entering the kernel for waitpid.
13155
c204ab28
SP
131562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13157
13158 * NEWS: Fix note on clock function precision. Text by Roland
13159 McGrath.
13160
f4a29fba
RM
131612013-06-13 Roland McGrath <roland@hack.frob.com>
13162
13163 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13164 it into place only when and if the sanity check passes.
13165
1f24b9ad
JM
131662013-06-13 Joseph Myers <joseph@codesourcery.com>
13167
13168 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13169 output for whether conversion result is exact. Take argument
13170 indicating whether type is IBM long double.
13171 (round_for_all): Change need_exact field to ibm_ld.
13172 * stdlib/tst-strtod-round.c (struct exactness): New type.
13173 (struct test): Change bool ld_ok field to struct exactness exact.
13174 (TEST): Update all definitions for change to field.
13175 (tests): Regenerate array contents.
13176 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13177 field value. Check for IBM long double here.
13178 (do_test): Update calls to test_in_one_mode.
13179
58206c68
SP
131802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13181
13182 [BZ #12515]
13183 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13184 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13185
2d6f4c5b 131862013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13187
13188 [BZ #15605]
13189 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13190 generated by the compiler on loop optimizations.
13191 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13192 general definitions.
13193
94f2c076
JM
131942013-06-12 Joseph Myers <joseph@codesourcery.com>
13195
13196 * math/bug-nextafter.c: Include <math-tests.h>.
13197 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13198 the relevant type.
13199 * math/bug-nexttoward.c: Include <math-tests.h>.
13200 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13201 the relevant type.
13202 * math/test-misc.c: Include <math-tests.h>.
13203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13204 the relevant type.
13205
e0e50a0a
AJ
132062013-06-12 Andreas Jaeger <aj@suse.de>
13207
13208 * po/ia.po: Update Interlingua translation from translation
13209 project.
13210
25061094
SP
132112013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13212
13213 * include/fenv.h: Include stdbool.h.
13214 (struct rm_ctx): New structure.
13215 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13216 Define macro.
13217 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13218 (SET_RESTORE_ROUNDF): Likewise.
13219 (SET_RESTORE_ROUNDL): Likewise.
13220 (SET_RESTORE_ROUND_NOEX): Likewise.
13221 (SET_RESTORE_ROUND_NOEXF): Likewise.
13222 (SET_RESTORE_ROUND_NOEXL): Likewise.
13223 (SET_RESTORE_ROUND_53BIT): Likewise.
13224 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13225 (libc_feresetround_noexf_ctx): Likewise.
13226 (libc_feresetround_noexl_ctx): Likewise.
13227 (libc_feholdsetround_53bit_ctx): Likewise.
13228 (libc_feresetround_53bit_ctx): Likewise.
13229 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13230 (libc_feholdexcept_setround_sse_ctx): New function.
13231 (libc_fesetenv_sse_ctx): Likewise.
13232 (libc_feupdateenv_sse_ctx): Likewise.
13233 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13234 (libc_feholdexcept_setround_387_ctx): Likewise.
13235 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13236 (libc_feholdsetround_387_prec_ctx): Likewise.
13237 (libc_feholdsetround_387_ctx): Likewise.
13238 (libc_feholdsetround_387_53bit_ctx): Likewise.
13239 (libc_feholdsetround_sse_ctx): Likewise.
13240 (libc_feresetround_sse_ctx): Likewise.
13241 (libc_feresetround_387_ctx): Likewise.
13242 (libc_feupdateenv_387_ctx): Likewise.
13243 (libc_feholdexcept_setroundf_ctx): Define macro.
13244 (libc_fesetenvf_ctx): Likewise.
13245 (libc_feupdateenvf_ctx): Likewise.
13246 (libc_feholdsetroundf_ctx): Likewise.
13247 (libc_feresetroundf_ctx): Likewise.
13248 (libc_feholdexcept_setround_ctx): Likewise.
13249 (libc_fesetenv_ctx): Likewise.
13250 (libc_feupdateenv_ctx): Likewise.
13251 (libc_feholdsetround_ctx): Likewise.
13252 (libc_feresetround_ctx): Likewise.
13253 (libc_feholdexcept_setroundl_ctx): Likewise.
13254 (libc_feupdateenvl_ctx): Likewise.
13255 (libc_feholdsetroundl_ctx): Likewise.
13256 (libc_feresetroundl_ctx): Likewise.
13257 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13258 (libc_feresetround_53bit_ctx): Likewise.
13259
59b30555
SP
132602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13261
13262 * locale/iso-639.def: Convert to UTF-8.
13263
f1d73d30
JM
132642013-06-11 Joseph Myers <joseph@codesourcery.com>
13265
13266 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13267 (EXCEPTION_TESTS_double): Likewise.
13268 (EXCEPTION_TESTS_long_double): Likewise.
13269 (EXCEPTION_TESTS): Likewise.
13270 * math/libm-test.inc (test_exceptions): Only test exceptions if
13271 EXCEPTION_TESTS (FLOAT).
13272
94aca5e7
SP
132732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13274
13275 * benchtests/Makefile (string-bench): Add strcpy_chk and
13276 stpcpy_chk.
13277 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13278 * benchtests/bench-stpcpy_chk.c: New file.
13279 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13280 * benchtests/bench-strcpy_chk.c: New file.
13281 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13282 code.
13283 (do_test): Likewise.
13284
fac0c5f2
RA
132852013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13286
13287 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13288 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13289 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13290 with tabs where appropriate.
13291 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13292 dl-procinfo.h.
13293 [PPC_PLATFORM_PPC440]: Likewise.
13294 [PPC_PLATFORM_PPC464]: Likewise.
13295 [PPC_PLATFORM_PPC476]: Likewise.
13296 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13297 ppc464, and ppc476 platform strings merging from ports/
13298 dl-procinfo.h.
13299
f22bc486
AS
133002013-06-11 Andreas Schwab <schwab@suse.de>
13301
13302 [BZ #14991]
13303 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13304 (from_ucs4_idx): Regenerate.
13305 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13306 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13307 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13308 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13309 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13310 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13311 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13312 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13313 from FROM_LOOP and TO_LOOP specific macros.
13314 (BODY): Handle combining characters.
13315 * iconvdata/BIG5HKSCS.irreversible: Update.
13316 * iconvdata/BIG5HKSCS.precomposed: New file.
13317 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13318 characters.
13319 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13320
c1f75dc3
SP
133212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13322
4eacded2
SP
13323 * include/sys/time.h: Fix indentation and add copyright header.
13324
fec799f8
SP
13325 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13326 (do_test): Likewise.
13327 * string/test-memchr.c (do_one_test): Likewise.
13328 (do_test): Likewise.
13329 * string/test-memcmp.c (do_one_test): Likewise.
13330 (do_test): Likewise.
13331 * string/test-memcpy.c (do_one_test): Likewise.
13332 (do_test): Likewise.
13333 * string/test-memmem.c (do_one_test): Likewise.
13334 (do_test): Likewise.
13335 (do_random_tests): Likewise.
13336 * string/test-memmove.c (do_one_test): Likewise.
13337 (do_test): Likewise.
13338 * string/test-memset.c (do_one_test): Likewise.
13339 (do_test): Likewise.
13340 * string/test-rawmemchr.c (do_one_test): Likewise.
13341 (do_test): Likewise.
13342 * string/test-strcasecmp.c (do_one_test): Likewise.
13343 (do_test): Likewise.
13344 * string/test-strcasestr.c (do_one_test): Likewise.
13345 (do_test): Likewise.
13346 * string/test-strcat.c (do_one_test): Likewise.
13347 (do_test): Likewise.
13348 * string/test-strchr.c (do_one_test): Likewise.
13349 (do_test): Likewise.
13350 * string/test-strcmp.c (do_one_test): Likewise.
13351 (do_test): Likewise.
13352 * string/test-strcpy.c (do_one_test): Likewise.
13353 (do_test): Likewise.
13354 * string/test-string.h: Likewise.
13355 (test_init): Likewise.
13356 * string/test-strlen.c (do_one_test): Likewise.
13357 (do_test): Likewise.
13358 * string/test-strncasecmp.c (do_one_test): Likewise.
13359 (do_test): Likewise.
13360 * string/test-strncat.c (do_one_test): Likewise.
13361 (do_test): Likewise.
13362 * string/test-strncmp.c (do_one_test): Likewise.
13363 (do_test_limit): Likewise.
13364 (do_test): Likewise.
13365 * string/test-strncpy.c (do_one_test): Likewise.
13366 (do_test): Likewise.
13367 * string/test-strnlen.c (do_one_test): Likewise.
13368 (do_test): Likewise.
13369 * string/test-strpbrk.c (do_one_test): Likewise.
13370 (do_test): Likewise.
13371 * string/test-strrchr.c (do_one_test): Likewise.
13372 (do_test): Likewise.
13373 * string/test-strspn.c (do_one_test): Likewise.
13374 (do_test): Likewise.
13375 * string/test-strstr.c (do_one_test): Likewise.
13376 (do_test): Likewise.
13377
97020474
SP
13378 * benchtests/Makefile (string-bench): Add string benchmarks.
13379 * benchtests/bench-bcopy-ifunc.c: New file.
13380 * benchtests/bench-bcopy.c: New file.
13381 * benchtests/bench-bzero-ifunc.c: New file.
13382 * benchtests/bench-bzero.c: New file.
13383 * benchtests/bench-memccpy-ifunc.c: New file.
13384 * benchtests/bench-memccpy.c: New file.
13385 * benchtests/bench-memchr-ifunc.c: New file.
13386 * benchtests/bench-memchr.c: New file.
13387 * benchtests/bench-memcmp-ifunc.c: New file.
13388 * benchtests/bench-memcmp.c: New file.
13389 * benchtests/bench-memmem-ifunc.c: New file.
13390 * benchtests/bench-memmem.c: New file.
13391 * benchtests/bench-memmove-ifunc.c: New file.
13392 * benchtests/bench-memmove.c: New file.
13393 * benchtests/bench-mempcpy-ifunc.c: New file.
13394 * benchtests/bench-mempcpy.c: New file.
13395 * benchtests/bench-memset-ifunc.c: New file.
13396 * benchtests/bench-memset.c: New file.
13397 * benchtests/bench-rawmemchr-ifunc.c: New file.
13398 * benchtests/bench-rawmemchr.c: New file.
13399 * benchtests/bench-stpcpy-ifunc.c: New file.
13400 * benchtests/bench-stpcpy.c: New file.
13401 * benchtests/bench-stpncpy-ifunc.c: New file.
13402 * benchtests/bench-stpncpy.c: New file.
13403 * benchtests/bench-strcasecmp-ifunc.c: New file.
13404 * benchtests/bench-strcasecmp.c: New file.
13405 * benchtests/bench-strcasestr-ifunc.c: New file.
13406 * benchtests/bench-strcasestr.c: New file.
13407 * benchtests/bench-strcat-ifunc.c: New file.
13408 * benchtests/bench-strcat.c: New file.
13409 * benchtests/bench-strchr-ifunc.c: New file.
13410 * benchtests/bench-strchr.c: New file.
13411 * benchtests/bench-strchrnul-ifunc.c: New file.
13412 * benchtests/bench-strchrnul.c: New file.
13413 * benchtests/bench-strcmp-ifunc.c: New file.
13414 * benchtests/bench-strcmp.c: New file.
13415 * benchtests/bench-strcpy-ifunc.c: New file.
13416 * benchtests/bench-strcpy.c: New file.
13417 * benchtests/bench-strcspn-ifunc.c: New file.
13418 * benchtests/bench-strcspn.c: New file.
13419 * benchtests/bench-strlen-ifunc.c: New file.
13420 * benchtests/bench-strlen.c: New file.
13421 * benchtests/bench-strncasecmp-ifunc.c: New file.
13422 * benchtests/bench-strncasecmp.c: New file.
13423 * benchtests/bench-strncat-ifunc.c: New file.
13424 * benchtests/bench-strncat.c: New file.
13425 * benchtests/bench-strncmp-ifunc.c: New file.
13426 * benchtests/bench-strncmp.c: New file.
13427 * benchtests/bench-strncpy-ifunc.c: New file.
13428 * benchtests/bench-strncpy.c: New file.
13429 * benchtests/bench-strnlen-ifunc.c: New file.
13430 * benchtests/bench-strnlen.c: New file.
13431 * benchtests/bench-strpbrk-ifunc.c: New file.
13432 * benchtests/bench-strpbrk.c: New file.
13433 * benchtests/bench-strrchr-ifunc.c: New file.
13434 * benchtests/bench-strrchr.c: New file.
13435 * benchtests/bench-strspn-ifunc.c: New file.
13436 * benchtests/bench-strspn.c: New file.
13437 * benchtests/bench-strstr-ifunc.c: New file.
13438 * benchtests/bench-strstr.c: New file.
13439
c1f75dc3
SP
13440 * benchtests/Makefile: Disable parallel execution of targets.
13441 (string-bench): Add memcpy.
13442 (benchset): New variable to store a list of benchmark sets.
13443 (bench-func): Renamed from bench.
13444 (bench-set): New target.
13445 (bench): Depend on bench-func and bench-set.
13446 * benchtests/README: Add section on benchmark sets.
13447 * benchtests/bench-memcpy-ifunc.c: New file.
13448 * benchtests/bench-memcpy.c: New file.
13449 * benchtests/bench-string.h: New file.
13450
50fd745b
AS
134512013-06-11 Andreas Schwab <schwab@suse.de>
13452
13453 [BZ #15577]
13454 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13455 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13456 values in the triple.
13457 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13458 terminator in the group key.
13459
3ee7e9fe
AJ
134602013-06-11 Andreas Jaeger <aj@suse.de>
13461
13462 * po/zh_TW.po: Update Chinese (traditional) translation from
13463 translation project.
13464
89fb6835
SP
134652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13466
13467 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13468 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13469 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13470 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13471 (clock_getcpuclockid): Likewise.
13472 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13473 Add weak_alias and libc_hidden_def.
13474 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13475 * rt/clock_gettime.c (clock_gettime): Rename to
13476 __clock_gettime. Add weak_alias and libc_hidden_def.
13477 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13478 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13479 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13480 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13481 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13482 Likewise.
13483 * rt/clock_settime.c (clock_settime): Rename to
13484 __clock_settime. Add weak_alias and libc_hidden_def.
13485 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13486
0efa6f8b
JM
134872013-06-10 Joseph Myers <joseph@codesourcery.com>
13488
b8c61b4b
JM
13489 * mach/err_boot.sub: Remove trailing whitespace.
13490 * mach/err_ipc.sub: Likewise.
13491 * mach/err_mach.sub: Likewise.
13492
0efa6f8b
JM
13493 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13494 (ROUNDING_TESTS_double): Likewise.
13495 (ROUNDING_TESTS_long_double): Likewise.
13496 (ROUNDING_TESTS): Likewise.
13497 * math/libm-test.inc: Include <math-tests.h>.
13498 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13499 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13500 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13501 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13502
50b818bf
SP
135032013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13504
13505 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13506 of assigning.
13507
60d2f8f3
JM
135082013-06-08 Joseph Myers <joseph@codesourcery.com>
13509
4902d2c3
JM
13510 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13511 otherwise empty TRANS lines.
13512 * sysdeps/gnu/errlist.c: Regenerated.
13513
60d2f8f3
JM
13514 * catgets/gencat.c (error_print): Use (void) in function
13515 definition.
13516 * crypt/crypt_util.c (__init_des): Likewise.
13517 * crypt/speeds.c (Stop): Likewise.
13518 (main): Likewise.
13519 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13520 * inet/ruserpass.c (token): Likewise.
13521 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13522 * intl/localealias.c (extend_alias_table): Likewise.
13523 * intl/plural-exp.c (init_germanic_plural): Likewise.
13524 * libio/fcloseall.c (__fcloseall): Likewise.
13525 * libio/genops.c (_IO_flush_all): Likewise.
13526 (_IO_flush_all_linebuffered): Likewise.
13527 (_IO_cleanup): Likewise.
13528 (_IO_iter_begin): Likewise.
13529 (_IO_iter_end): Likewise.
13530 (_IO_list_lock): Likewise.
13531 (_IO_list_unlock): Likewise.
13532 (_IO_list_resetlock): Likewise.
13533 * libio/getchar.c (getchar): Likewise.
13534 * libio/getchar_u.c (getchar_unlocked): Likewise.
13535 * libio/getwchar.c (getwchar): Likewise.
13536 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13537 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13538 * login/getpt.c (__getpt): Likewise.
13539 * login/tst-utmp.c (main): Likewise.
13540 * malloc/hooks.c (__malloc_check_init): Likewise.
13541 * malloc/malloc.c (__malloc_stats): Likewise.
13542 * malloc/mtrace.c (tr_break): Likewise.
13543 (mtrace): Likewise.
13544 (muntrace): Likewise.
13545 * misc/fstab.c (endfsent): Likewise.
13546 * misc/getclktck.c (__getclktck): Likewise.
13547 * misc/getdtsz.c (__getdtablesize): Likewise.
13548 * misc/gethostid.c (gethostid): Likewise.
13549 * misc/getpagesize.c (__getpagesize): Likewise.
13550 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13551 (__get_nprocs): Likewise.
13552 (__get_phys_pages): Likewise.
13553 (__get_avphys_pages): Likewise.
13554 * misc/getttyent.c (getttyent): Likewise.
13555 (setttyent): Likewise.
13556 (endttyent): Likewise.
13557 * misc/getusershell.c (getusershell): Likewise.
13558 (endusershell): Likewise.
13559 (setusershell): Likewise.
13560 (initshells): Likewise.
13561 * misc/hsearch.c (__hdestroy): Likewise.
13562 * misc/sync.c (sync): Likewise.
13563 * misc/syslog.c (closelog_internal): Likewise.
13564 (closelog): Likewise.
13565 * misc/ttyslot.c (ttyslot): Likewise.
13566 * misc/vhangup.c (vhangup): Likewise.
13567 * posix/fork.c (__fork): Likewise.
13568 * posix/getegid.c (__getegid): Likewise.
13569 * posix/geteuid.c (__geteuid): Likewise.
13570 * posix/getgid.c (__getgid): Likewise.
13571 * posix/getpid.c (__getpid): Likewise.
13572 * posix/getppid.c (__getppid): Likewise.
13573 * posix/getuid.c (__getuid): Likewise.
13574 * posix/pause.c (pause): Likewise.
13575 * posix/setpgrp.c (setpgrp): Likewise.
13576 * posix/setsid.c (__setsid): Likewise.
13577 * posix/test-vfork.c (noop): Likewise.
13578 * resolv/gethnamaddr.c (_endhtent): Likewise.
13579 (_gethtent): Likewise.
13580 (ht_endhostent): Likewise.
13581 (gethostent): Likewise.
13582 (dns_service): Likewise.
13583 * stdlib/drand48.c (drand48): Likewise.
13584 * stdlib/lrand48.c (lrand48): Likewise.
13585 * stdlib/mrand48.c (mrand48): Likewise.
13586 * stdlib/rand.c (rand): Likewise.
13587 * stdlib/random.c (__random): Likewise.
13588 * stdlib/setenv.c (clearenv): Likewise.
13589 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13590 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13591 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13592 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13593 (__get_nprocs): Likewise.
13594 (__get_phys_pages): Likewise.
13595 (__get_avphys_pages): Likewise.
13596 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13597 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13598 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13599 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13600 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13601 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13602 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13603 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13604 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13605 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13606 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13607 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13608 * sysdeps/posix/clock.c (clock): Likewise.
13609 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13610 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13611 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13612 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13613 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13615 (__get_nprocs_conf): Likewise.
13616 (__get_phys_pages): Likewise.
13617 (__get_avphys_pages): Likewise.
13618 * time/clock.c (clock): Likewise.
13619 * time/tzset.c (__tzname_max): Likewise.
13620
2e09a79a
JM
136212013-06-07 Joseph Myers <joseph@codesourcery.com>
13622
13623 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13624 (__bswap_32): Do not use "register".
13625 * crypt/crypt.c (_ufc_doit_r): Likewise.
13626 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13627 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13628 * gmon/gmon.c (__monstartup): Likewise.
13629 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13630 * hurd/hurdmalloc.c (more_memory): Likewise.
13631 (malloc): Likewise.
13632 (free): Likewise.
13633 (realloc): Likewise.
13634 (malloc_fork_prepare): Likewise.
13635 (malloc_fork_parent): Likewise.
13636 (malloc_fork_child): Likewise.
13637 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13638 (_svcauth_des): Likewise.
13639 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13640 * inet/inet_net.c (inet_network): Likewise.
13641 * inet/inet_netof.c (inet_netof): Likewise.
13642 * inet/rcmd.c (__validuser2_sa): Likewise.
13643 * io/fts.c (fts_open): Likewise.
13644 (fts_load): Likewise.
13645 (fts_close): Likewise.
13646 (fts_read): Likewise.
13647 (fts_children): Likewise.
13648 (fts_build): Likewise.
13649 (fts_stat): Likewise.
13650 (fts_sort): Likewise.
13651 (fts_alloc): Likewise.
13652 (fts_lfree): Likewise.
13653 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13654 (_IO_file_xsgetn): Likewise.
13655 (_IO_file_xsgetn_mmap): Likewise.
13656 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13657 (_IO_cookie_write): Likewise.
13658 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13659 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13660 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13661 * malloc/obstack.c (_obstack_begin): Likewise.
13662 (_obstack_begin_1): Likewise.
13663 (_obstack_newchunk): Likewise.
13664 (_obstack_allocated_p): Likewise.
13665 (obstack_free): Likewise.
13666 (_obstack_memory_used): Likewise.
13667 * misc/getttyent.c (getttynam): Likewise.
13668 (getttyent): Likewise.
13669 (skip): Likewise.
13670 (value): Likewise.
13671 * misc/getusershell.c (initshells): Likewise.
13672 * misc/syslog.c (__vsyslog_chk): Likewise.
13673 * misc/ttyslot.c (ttyslot): Likewise.
13674 * nis/nis_hash.c (__nis_hash): Likewise.
13675 * posix/fnmatch_loop.c (FCT): Likewise.
13676 * posix/getconf.c (print_all): Likewise.
13677 (main): Likewise.
13678 * posix/getopt.c (exchange): Likewise.
13679 * posix/glob.c (globfree): Likewise.
13680 (prefix_array): Likewise.
13681 (__glob_pattern_type): Likewise.
13682 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13683 (NS_GET32): Likewise.
13684 (NS_PUT16): Likewise.
13685 (NS_PUT32): Likewise.
13686 * resolv/gethnamaddr.c (getanswer): Likewise.
13687 (gethostbyname2): Likewise.
13688 (gethostbyaddr): Likewise.
13689 (_gethtent): Likewise.
13690 (_gethtbyname2): Likewise.
13691 (_gethtbyaddr): Likewise.
13692 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13693 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13694 * resolv/res_init.c (__res_vinit): Likewise.
13695 (net_mask): Likewise.
13696 * resolv/res_mkquery.c (outchar): Likewise.
13697 (PRINT): Likewise.
13698 * stdio-common/printf_fp.c (outchar): Likewise.
13699 (PRINT): Likewise.
13700 * stdio-common/printf_fphex.c (outchar): Likewise.
13701 (PRINT): Likewise.
13702 * stdio-common/printf_size.c (outchar): Likewise.
13703 (PRINT): Likewise.
13704 * stdio-common/test_rdwr.c (main): Likewise.
13705 * stdio-common/tfformat.c (matches): Likewise.
13706 * stdio-common/vfprintf.c (outchar): Likewise.
13707 (printf_unknown): Likewise.
13708 (buffered_vfprintf): Likewise.
13709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13710 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13711 (ReadFile): Likewise.
13712 * stdlib/qsort.c (SWAP): Likewise.
13713 (_quicksort): Likewise.
13714 * stdlib/setenv.c (__add_to_environ): Likewise.
13715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13716 * stdlib/strtol_l.c (__strtol_l): Likewise.
13717 * stdlib/tst-strtod.c (main): Likewise.
13718 * stdlib/tst-strtol.c (main): Likewise.
13719 * stdlib/tst-strtoll.c (main): Likewise.
13720 * string/bits/string2.h (__strcmp_cc): Likewise.
13721 (__strcmp_cg): Likewise.
13722 (__strcspn_c1): Likewise.
13723 (__strcspn_c2): Likewise.
13724 (__strcspn_c3): Likewise.
13725 (__strspn_c1): Likewise.
13726 (__strspn_c2): Likewise.
13727 (__strspn_c3): Likewise.
13728 (__strsep_1c): Likewise.
13729 (__strsep_2c): Likewise.
13730 (__strsep_3c): Likewise.
13731 * string/memccpy.c (__memccpy): Likewise.
13732 * string/stpcpy.c (__stpcpy): Likewise.
13733 * string/strcmp.c (strcmp): Likewise.
13734 * string/strrchr.c (strrchr): Likewise.
13735 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13736 Likewise.
13737 * sysdeps/mach/hurd/getcwd.c
13738 (_hurd_canonicalize_directory_name_internal): Likewise.
13739 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13740 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13741 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13742 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13743 Likewise, in both definitions.
13744 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13745 definitions.
13746 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13747 64] (__bswap_64): Likewise.
13748 * time/test_time.c (main): Likewise.
13749 * time/tzfile.c (__tzfile_read): Likewise.
13750 (__tzfile_compute): Likewise.
13751 * time/tzset.c (__tzset_parse_tz): Likewise.
13752 (tzset_internal): Likewise.
13753 (compute_change): Likewise.
13754 * wcsmbs/wcscat.c (__wcscat): Likewise.
13755 * wcsmbs/wcschr.c (wcschr): Likewise.
13756 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13757 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13758 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13759 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13760 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13761 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13762 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13763 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13764 * wcsmbs/wmemset.c (wmemset): Likewise.
13765
9e54314b
JM
137662013-06-06 Joseph Myers <joseph@codesourcery.com>
13767
13768 * scripts/config.guess: Update to version 2013-05-16.
13769 * scripts/config.sub: Update to version 2013-04-24.
13770 * scripts/install-sh: Update to version 2011-11-20.07.
13771 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13772 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13773
350635a5
OB
137742013-06-06 Ondřej Bílka <neleai@seznam.cz>
13775
13776 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13777 * elf/sln.c: Likewise.
13778 * hurd/hurd/ioctl.h: Likewise.
13779 * hurd/hurdmalloc.c: Likewise.
13780 * hurd/xattr.c: Likewise.
13781 * include/shlib-compat.h: Likewise.
13782 * inet/ruserpass.c: Likewise.
13783 * libio/iofgets_u.c: Likewise.
13784 * libio/iofgetws_u.c: Likewise.
13785 * locale/programs/ld-identification.c: Likewise.
13786 * locale/programs/ld-time.c: Likewise.
13787 * mach/msg-destroy.c: Likewise.
13788 * nss/nss_files/files-netgrp.c: Likewise.
13789 * resolv/res_data.c: Likewise.
13790 * soft-fp/op-1.h: Likewise.
13791 * soft-fp/op-2.h: Likewise.
13792 * soft-fp/op-4.h: Likewise.
13793 * soft-fp/op-common.h: Likewise.
13794 * stdio-common/printf_fphex.c: Likewise.
13795 * stdlib/strtod_l.c: Likewise.
13796 * sunrpc/rpc/clnt.h: Likewise.
13797 * sysdeps/generic/framestate.c: Likewise.
13798 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13799 * sysdeps/i386/bsd-setjmp.S: Likewise.
13800 * sysdeps/i386/__longjmp.S: Likewise.
13801 * sysdeps/i386/setjmp.S: Likewise.
13802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13820 * sysdeps/ieee754/support.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13822 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13823 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13824 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13825 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13826 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13827 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13828 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13829 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13830 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13831 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13832 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13836 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13837 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13839
44a988af
OB
138402013-06-05 Ondřej Bílka <neleai@seznam.cz>
13841
25506f09 13842 * posix/transbug.c: Remove executable mode.
44a988af 13843
9c84384c
JM
138442013-06-05 Joseph Myers <joseph@codesourcery.com>
13845
13846 * crypt/speeds.c: Remove trailing whitespace.
13847 * dlfcn/default.c: Likewise.
13848 * elf/ifuncdep2.c: Likewise.
13849 * elf/ifuncmain1.c: Likewise.
13850 * elf/ifuncmain1vis.c: Likewise.
13851 * elf/testobj.h: Likewise.
13852 * elf/tst-stackguard1.c: Likewise.
13853 * gmon/sys/gmon.h: Likewise.
13854 * hurd/hurdmsg.c: Likewise.
13855 * hurd/new-fd.c: Likewise.
13856 * hurd/ports-get.c: Likewise.
13857 * iconvdata/ibm1008_420.c: Likewise.
13858 * inet/tst-getni1.c: Likewise.
13859 * inet/tst-getni2.c: Likewise.
13860 * libio/ioungetc.c: Likewise.
13861 * libio/wfiledoalloc.c: Likewise.
13862 * manual/libm-err-tab.pl: Likewise.
13863 * math/w_dremf.c: Likewise.
13864 * misc/ftruncate.c: Likewise.
13865 * posix/bug-glob2.c: Likewise.
13866 * posix/tst-pcre.c: Likewise.
13867 * posix/wait4.c: Likewise.
13868 * resolv/README: Likewise.
13869 * resolv/res_debug.h: Likewise.
13870 * resolv/tst-inet_ntop.c: Likewise.
13871 * setjmp/bug269-setjmp.c: Likewise.
13872 * soft-fp/extended.h: Likewise.
13873 * soft-fp/op-1.h: Likewise.
13874 * soft-fp/op-2.h: Likewise.
13875 * soft-fp/op-4.h: Likewise.
13876 * soft-fp/op-8.h: Likewise.
13877 * soft-fp/testit.c: Likewise.
13878 * stdio-common/bug16.c: Likewise.
13879 * stdlib/random.c: Likewise.
13880 * sunrpc/rpcsvc/rquota.x: Likewise.
13881 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13882 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13889 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13891 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13910 * sysdeps/ieee754/s_lib_version.c: Likewise.
13911 * sysdeps/mach/hurd/check_fds.c: Likewise.
13912 * sysdeps/mach/hurd/getsockname.c: Likewise.
13913 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13914 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13915 * sysdeps/powerpc/bits/link.h: Likewise.
13916 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13917 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13918 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13919 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13920 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13921 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13922 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13923 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13924 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13925 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13926 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13927 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13928 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13929 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13930 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13931 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13937 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13938 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13939 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13940 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13947 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13948 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13950 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13951 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13952 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13953 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13954 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13955 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13956 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13957 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13958 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13959 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13960 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13961 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13962 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13963 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13964 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13965 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13968 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13969 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13970 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13971 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13973 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13974 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13978 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13980 * sysdeps/powerpc/sysdep.h: Likewise.
13981 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13982 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13983 * sysdeps/sh/dl-trampoline.S: Likewise.
13984 * sysdeps/sh/memset.S: Likewise.
13985 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13986 * sysdeps/sh/strlen.S: Likewise.
13987 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13988 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13989 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13990 * sysdeps/sparc/sparc32/rem.S: Likewise.
13991 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13992 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13993 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13994 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13995 * sysdeps/sparc/sparc32/urem.S: Likewise.
13996 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13997 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13998 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13999 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14001 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14002 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14003 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14004 * sysdeps/unix/bsd/times.c: Likewise.
14005 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14006 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14010 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14011 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14012 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14015 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14016 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14017 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14018 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14019 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14020 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14021 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14023 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14024 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14025 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14026 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14027 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14028 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14029 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14030 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14031 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14033 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14034 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14035 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14036 * sysdeps/x86_64/strcspn.S: Likewise.
14037
869378a5
RA
140382013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14039
14040 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14041 generated file. Regenerate properly from gen-translit.pl.
14042 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14043 locale/C-translit.h.
14044
840e2943
AS
140452013-06-05 Andreas Schwab <schwab@suse.de>
14046
14047 [BZ #15100]
14048 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14049 week as 6 instead of -1.
14050 * time/tst-strptime.c (day_tests): Add test case.
14051
4c60cb0c
SP
140522013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14053
14054 * sysdeps/generic/math_private.h
14055 (libc_feholdexcept_setround_53bit): Replace with
14056 libc_feholdsetround_53bit.
14057 (libc_feupdateenv_53bit): Replace with
14058 libc_feresetround_53bit.
14059 (SET_RESTORE_ROUND_53BIT): Adjust.
14060
d180203e
SP
140612013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
96df079a
SP
14063 * string/test-strchrnul.c: Add copyright header.
14064
d180203e
SP
14065 * posix/tst-getaddrinfo4.c: Increase test timeout.
14066
8b0ccb2d
CD
140672013-06-03 Carlos O'Donell <carlos@redhat.com>
14068
14069 [BZ #15536]
14070 * math/libm-test.inc (MAX_EXP): Remove
14071 (MIN_EXP): Define.
14072 (ulp): Use MIN_EXP - MANT_DIG.
14073 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14074
3b3c4d40
CD
140752013-05-31 Carlos O'Donell <carlos@redhat.com>
14076
14077 * po/be.po: Revert last change.
14078 * po/zh_CN.po: Likewise.
14079 * po/header.pot: Likewise.
14080
fab7ce3f
JM
140812013-05-31 Joseph Myers <joseph@codesourcery.com>
14082
14083 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14084 link-libc-deps to empty as target-specific variable.
14085 * Makerules (link-libc-args): New variable.
14086 (libc-for-link): Likewise.
14087 (link-libc-deps): Likewise.
14088 (lib%.so): Depend on $(link-libc-deps). Link with
14089 $(link-libc-args).
14090 (build-module): Link with $(link-libc-args).
14091 (build-module-asneeded): Likewise.
14092 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14093 list of objects.
14094 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14095 target-specific variable.
14096 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14097 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14098 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14099 libc.
14100 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14101 libc and ld.so.
14102 ($(objpfx)libpcprofile.so): Likewise.
14103 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14104 libc_nonshared.a.
14105 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14106 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14107 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14108 $(link-libc-deps).
14109 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14110 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14111 * login/Makefile ($(objpfx)libutil.so): Likewise.
14112 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14113 * math/Makefile ($(objpfx)libm.so): Likewise.
14114 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14115 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14116 variable instead of depending directly on libc.
14117 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14118 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14119 $(link-libc-deps).
14120 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14121 libc.
14122 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14123 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14124 ($(objpfx)libanl.so): Likewise.
14125 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14126 ld.so.
14127 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14128 $(link-libc-deps).
14129 * sysdeps/i386/fpu/Makefile: Remove file.
14130 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14131 ($(objpfx)libm.so): Remove dependency on ld.so.
14132
eca5920c
PF
141332013-05-30 Patsy Franklin <pfrankli@redhat.com>
14134
14135 [BZ # 15553]
14136 * nis/yp_xdr.c (XDRMAXNAME): Define.
14137 (XDRMAXRECORD): Define.
14138 (xdr_domainname): Use XDRMAXNAME.
14139 (xdr_mapname): Likewise.
14140 (xdr_peername): Likewise.
14141 (xdr_keydat): Use XDRMAXRECORD.
14142 (xdr_valdat): Likewise.
14143
141442013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14145
14146 [BZ #14256]
14147 * manual/errno.texi (ESTALE): Update to account for more than
14148 just NFS file systems.
14149 * sysdeps/gnu/errlist.c: Regenerated.
14150
b9375348
SP
141512013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14152
14153 [BZ #15465]
14154 * elf/Makefile (tests): Add tst-null-argv.
14155 (modules-names): Add tst-null-argv-lib.
14156 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14157 (tst-null-argv-ENV): Set environment for tst-null-argv.
14158 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14159 (RTLD_PROGNAME): New macro.
14160 * elf/tst-null-argv.c: New test case.
14161 * elf/tst-null-argv-lib.c: Library for test case.
14162 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14163 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14164 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14165 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14166 * elf/dl-init.c (call_init): Likewise.
14167 (_dl_init): Likewise.
14168 * elf/dl-load.c (print_search_path): Likewise.
14169 (_dl_map_object): Likewise.
14170 * elf/dl-lookup.c (do_lookup_x): Likewise.
14171 (add_dependency): Likewise.
14172 (_dl_lookup_symbol_x): Likewise.
14173 (_dl_debug_bindings): Likewise.
14174 * elf/dl-open.c (_dl_show_scope): Likewise.
14175 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14176 * elf/dl-version.c (match_symbol): Likewise.
14177 (_dl_check_map_versions): Likewise.
14178 * elf/rtld.c (dl_main): Likewise.
14179 (print_unresolved): Use RTLD_PROGNAME.
14180 (print_missing_version): Likewise.
14181 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14182 (elf_machine_rela): Likewise.
14183 * sysdeps/powerpc/powerpc32/dl-machine.c
14184 (__process_machine_rela): Likewise.
14185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14186 Likewise.
14187 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14188 Likewise.
14189 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14190 Likewise.
14191 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14193 Likewise.
14194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14195 Likewise.
14196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14197
8a9f20c8
CD
141982013-05-28 Carlos O'Donell <carlos@redhat.com>
14199
14200 * po/be.po: Add descriptive title.
14201 * po/zh_CN.po: Likewise.
14202 * po/header.pot: Likewise.
14203
0e60d68e
MF
142042013-05-28 Mike Frysinger <vapier@gentoo.org>
14205
14206 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14207 error message.
14208 (enlarge_archive): Likewise.
14209
56b672e9
BN
142102013-05-28 Ben North <ben@redfrontdoor.org>
14211
14212 * manual/arith.texi (frexp): It is the magnitude of the return
14213 value which lies in [0.5, 1), not the return value itself.
14214
5e056687
AZ
142152013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14216
14217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14218
2b66ef5d
TS
142192013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14220
528c2405
TS
14221 * stdio-common/bug26.c (main): Correct fscanf template.
14222
07b4c13d
TS
14223 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14224 declare _dl_skip_args.
14225
ec9dd97c
TS
14226 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14227 Don't declare.
14228
2b66ef5d
TS
14229 * manual/platform.texi: Add missing @end deftypefun.
14230
4f8dfe27
JM
142312013-05-24 Joseph Myers <joseph@codesourcery.com>
14232
0323d086
JM
14233 [BZ #15529]
14234 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14235 bit of mantissa of 2^16382.
14236 * math/libm-test.inc (hypot_test_data): Add more tests.
14237
dd4259b9
JM
14238 * math/libm-test.inc: Add drem and pow10 to list of tested
14239 functions.
14240 (pow10_test): New function.
14241 (drem_test): Likewise.
14242 (drem_test_tonearest): Likewise.
14243 (drem_test_towardzero): Likewise.
14244 (drem_test_downward): Likewise.
14245 (drem_test_upward): Likewise.
14246 (main): Call the new functions.
14247
4f8dfe27
JM
14248 * math/libm-test.inc (finite_test_data): Remove.
14249 (finite_test): Run tests from isfinite_test_data.
14250 (gamma_test_data): Remove.
14251 (gamma_test): Run tests from lgamma_test_data.
14252 * sysdeps/i386/fpu/libm-test-ulps: Update.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254
d116b7c4
AZ
142552013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14256
14257 * manual/platform.texi: Add PowerPC PPR function set documentation.
14258 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14259 implementation.
14260
e96e3767
CD
142612013-05-24 Carlos O'Donell <carlos@redhat.com>
14262
14263 * math/libm-test.inc (MAX_EXP): Define.
14264 (ULPDIFF): Define.
14265 (ulp): New function.
14266 (check_float_internal): Use ULPDIFF.
14267 (cpow_test): Disable failing test.
14268 (check_ulp): Test ulp() implemetnation.
14269 (main): Call check_ulp before starting tests.
14270
b679a606
JM
142712013-05-24 Joseph Myers <joseph@codesourcery.com>
14272
e8bdba36
JM
14273 * math/gen-libm-test.pl (generate_testfile): Do not handle
14274 START_DATA and END_DATA.
14275 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14276 END_DATA.
14277 (acos_tonearest_test_data): Likewise.
14278 (acos_towardzero_test_data): Likewise.
14279 (acos_downward_test_data): Likewise.
14280 (acos_upward_test_data): Likewise.
14281 (acosh_test_data): Likewise.
14282 (asin_test_data): Likewise.
14283 (asin_tonearest_test_data): Likewise.
14284 (asin_towardzero_test_data): Likewise.
14285 (asin_downward_test_data): Likewise.
14286 (asin_upward_test_data): Likewise.
14287 (asinh_test_data): Likewise.
14288 (atan_test_data): Likewise.
14289 (atanh_test_data): Likewise.
14290 (atan2_test_data): Likewise.
14291 (cabs_test_data): Likewise.
14292 (cacos_test_data): Likewise.
14293 (cacosh_test_data): Likewise.
14294 (carg_test_data): Likewise.
14295 (casin_test_data): Likewise.
14296 (casinh_test_data): Likewise.
14297 (catan_test_data): Likewise.
14298 (catanh_test_data): Likewise.
14299 (cbrt_test_data): Likewise.
14300 (ccos_test_data): Likewise.
14301 (ccosh_test_data): Likewise.
14302 (ceil_test_data): Likewise.
14303 (cexp_test_data): Likewise.
14304 (cimag_test_data): Likewise.
14305 (clog_test_data): Likewise.
14306 (clog10_test_data): Likewise.
14307 (conj_test_data): Likewise.
14308 (copysign_test_data): Likewise.
14309 (cos_test_data): Likewise.
14310 (cos_tonearest_test_data): Likewise.
14311 (cos_towardzero_test_data): Likewise.
14312 (cos_downward_test_data): Likewise.
14313 (cos_upward_test_data): Likewise.
14314 (cosh_test_data): Likewise.
14315 (cosh_tonearest_test_data): Likewise.
14316 (cosh_towardzero_test_data): Likewise.
14317 (cosh_downward_test_data): Likewise.
14318 (cosh_upward_test_data): Likewise.
14319 (cpow_test_data): Likewise.
14320 (cproj_test_data): Likewise.
14321 (creal_test_data): Likewise.
14322 (csin_test_data): Likewise.
14323 (csinh_test_data): Likewise.
14324 (csqrt_test_data): Likewise.
14325 (ctan_test_data): Likewise.
14326 (ctan_tonearest_test_data): Likewise.
14327 (ctan_towardzero_test_data): Likewise.
14328 (ctan_downward_test_data): Likewise.
14329 (ctan_upward_test_data): Likewise.
14330 (ctanh_test_data): Likewise.
14331 (ctanh_tonearest_test_data): Likewise.
14332 (ctanh_towardzero_test_data): Likewise.
14333 (ctanh_downward_test_data): Likewise.
14334 (ctanh_upward_test_data): Likewise.
14335 (erf_test_data): Likewise.
14336 (erfc_test_data): Likewise.
14337 (exp_test_data): Likewise.
14338 (exp_tonearest_test_data): Likewise.
14339 (exp_towardzero_test_data): Likewise.
14340 (exp_downward_test_data): Likewise.
14341 (exp_upward_test_data): Likewise.
14342 (exp10_test_data): Likewise.
14343 (exp2_test_data): Likewise.
14344 (expm1_test_data): Likewise.
14345 (fabs_test_data): Likewise.
14346 (fdim_test_data): Likewise.
14347 (finite_test_data): Likewise.
14348 (floor_test_data): Likewise.
14349 (fma_test_data): Likewise.
14350 (fma_towardzero_test_data): Likewise.
14351 (fma_downward_test_data): Likewise.
14352 (fma_upward_test_data): Likewise.
14353 (fmax_test_data): Likewise.
14354 (fmin_test_data): Likewise.
14355 (fmod_test_data): Likewise.
14356 (fpclassify_test_data): Likewise.
14357 (frexp_test_data): Likewise.
14358 (gamma_test_data): Likewise.
14359 (hypot_test_data): Likewise.
14360 (ilogb_test_data): Likewise.
14361 (isfinite_test_data): Likewise.
14362 (isgreater_test_data): Likewise.
14363 (isgreaterequal_test_data): Likewise.
14364 (isinf_test_data): Likewise.
14365 (isless_test_data): Likewise.
14366 (islessequal_test_data): Likewise.
14367 (islessgreater_test_data): Likewise.
14368 (isnan_test_data): Likewise.
14369 (isnormal_test_data): Likewise.
14370 (issignaling_test_data): Likewise.
14371 (isunordered_test_data): Likewise.
14372 (j0_test_data): Likewise.
14373 (j1_test_data): Likewise.
14374 (jn_test_data): Likewise.
14375 (ldexp_test_data): Likewise.
14376 (lgamma_test_data): Likewise.
14377 (lrint_test_data): Likewise.
14378 (lrint_tonearest_test_data): Likewise.
14379 (lrint_towardzero_test_data): Likewise.
14380 (lrint_downward_test_data): Likewise.
14381 (lrint_upward_test_data): Likewise.
14382 (llrint_test_data): Likewise.
14383 (llrint_tonearest_test_data): Likewise.
14384 (llrint_towardzero_test_data): Likewise.
14385 (llrint_downward_test_data): Likewise.
14386 (llrint_upward_test_data): Likewise.
14387 (log_test_data): Likewise.
14388 (log10_test_data): Likewise.
14389 (log1p_test_data): Likewise.
14390 (log2_test_data): Likewise.
14391 (logb_test_data): Likewise.
14392 (logb_downward_test_data): Likewise.
14393 (lround_test_data): Likewise.
14394 (llround_test_data): Likewise.
14395 (modf_test_data): Likewise.
14396 (nearbyint_test_data): Likewise.
14397 (nextafter_test_data): Likewise.
14398 (nexttoward_test_data): Likewise.
14399 (pow_test_data): Likewise.
14400 (pow_tonearest_test_data): Likewise.
14401 (pow_towardzero_test_data): Likewise.
14402 (pow_downward_test_data): Likewise.
14403 (pow_upward_test_data): Likewise.
14404 (remainder_test_data): Likewise.
14405 (remainder_tonearest_test_data): Likewise.
14406 (remainder_towardzero_test_data): Likewise.
14407 (remainder_downward_test_data): Likewise.
14408 (remainder_upward_test_data): Likewise.
14409 (remquo_test_data): Likewise.
14410 (rint_test_data): Likewise.
14411 (rint_tonearest_test_data): Likewise.
14412 (rint_towardzero_test_data): Likewise.
14413 (rint_downward_test_data): Likewise.
14414 (rint_upward_test_data): Likewise.
14415 (round_test_data): Likewise.
14416 (scalb_test_data): Likewise.
14417 (scalbn_test_data): Likewise.
14418 (scalbln_test_data): Likewise.
14419 (signbit_test_data): Likewise.
14420 (sin_test_data): Likewise.
14421 (sin_tonearest_test_data): Likewise.
14422 (sin_towardzero_test_data): Likewise.
14423 (sin_downward_test_data): Likewise.
14424 (sin_upward_test_data): Likewise.
14425 (sincos_test_data): Likewise.
14426 (sinh_test_data): Likewise.
14427 (sinh_tonearest_test_data): Likewise.
14428 (sinh_towardzero_test_data): Likewise.
14429 (sinh_downward_test_data): Likewise.
14430 (sinh_upward_test_data): Likewise.
14431 (sqrt_test_data): Likewise.
14432 (tan_test_data): Likewise.
14433 (tan_tonearest_test_data): Likewise.
14434 (tan_towardzero_test_data): Likewise.
14435 (tan_downward_test_data): Likewise.
14436 (tan_upward_test_data): Likewise.
14437 (tanh_test_data): Likewise.
14438 (tgamma_test_data): Likewise.
14439 (trunc_test_data): Likewise.
14440 (y0_test_data): Likewise.
14441 (y1_test_data): Likewise.
14442 (yn_test_data): Likewise.
14443 (significand_test_data): Likewise.
14444
b679a606
JM
14445 * math/gen-libm-test.pl (@functions): Remove variable.
14446 (generate_testfile): Don't handle START and END lines.
14447 * math/libm-test.inc (START): New macro.
14448 (END): Likewise.
14449 (END_COMPLEX): Likewise.
14450 (acos_test): Use END macro without arguments.
14451 (acos_test_tonearest): Likewise.
14452 (acos_test_towardzero): Likewise.
14453 (acos_test_downward): Likewise.
14454 (acos_test_upward): Likewise.
14455 (acosh_test): Likewise.
14456 (asin_test): Likewise.
14457 (asin_test_tonearest): Likewise.
14458 (asin_test_towardzero): Likewise.
14459 (asin_test_downward): Likewise.
14460 (asin_test_upward): Likewise.
14461 (asinh_test): Likewise.
14462 (atan_test): Likewise.
14463 (atanh_test): Likewise.
14464 (atan2_test): Likewise.
14465 (cabs_test): Likewise.
14466 (cacos_test): Use END_COMPLEX macro without arguments.
14467 (cacosh_test): Likewise.
14468 (carg_test): Use END macro without arguments.
14469 (casin_test): Use END_COMPLEX macro without arguments.
14470 (casinh_test): Likewise.
14471 (catan_test): Likewise.
14472 (catanh_test): Likewise.
14473 (cbrt_test): Use END macro without arguments.
14474 (ccos_test): Use END_COMPLEX macro without arguments.
14475 (ccosh_test): Likewise.
14476 (ceil_test): Use END macro without arguments.
14477 (cexp_test): Use END_COMPLEX macro without arguments.
14478 (cimag_test): Use END macro without arguments.
14479 (clog_test): Use END_COMPLEX macro without arguments.
14480 (clog10_test): Likewise.
14481 (conj_test): Likewise.
14482 (copysign_test): Use END macro without arguments.
14483 (cos_test): Likewise.
14484 (cos_test_tonearest): Likewise.
14485 (cos_test_towardzero): Likewise.
14486 (cos_test_downward): Likewise.
14487 (cos_test_upward): Likewise.
14488 (cosh_test): Likewise.
14489 (cosh_test_tonearest): Likewise.
14490 (cosh_test_towardzero): Likewise.
14491 (cosh_test_downward): Likewise.
14492 (cosh_test_upward): Likewise.
14493 (cpow_test): Use END_COMPLEX macro without arguments.
14494 (cproj_test): Likewise.
14495 (creal_test): Use END macro without arguments.
14496 (csin_test): Use END_COMPLEX macro without arguments.
14497 (csinh_test): Likewise.
14498 (csqrt_test): Likewise.
14499 (ctan_test): Likewise.
14500 (ctan_test_tonearest): Likewise.
14501 (ctan_test_towardzero): Likewise.
14502 (ctan_test_downward): Likewise.
14503 (ctan_test_upward): Likewise.
14504 (ctanh_test): Likewise.
14505 (ctanh_test_tonearest): Likewise.
14506 (ctanh_test_towardzero): Likewise.
14507 (ctanh_test_downward): Likewise.
14508 (ctanh_test_upward): Likewise.
14509 (erf_test): Use END macro without arguments.
14510 (erfc_test): Likewise.
14511 (exp_test): Likewise.
14512 (exp_test_tonearest): Likewise.
14513 (exp_test_towardzero): Likewise.
14514 (exp_test_downward): Likewise.
14515 (exp_test_upward): Likewise.
14516 (exp10_test): Likewise.
14517 (exp2_test): Likewise.
14518 (expm1_test): Likewise.
14519 (fabs_test): Likewise.
14520 (fdim_test): Likewise.
14521 (finite_test): Likewise.
14522 (floor_test): Likewise.
14523 (fma_test): Likewise.
14524 (fma_test_towardzero): Likewise.
14525 (fma_test_downward): Likewise.
14526 (fma_test_upward): Likewise.
14527 (fmax_test): Likewise.
14528 (fmin_test): Likewise.
14529 (fmod_test): Likewise.
14530 (fpclassify_test): Likewise.
14531 (frexp_test): Likewise.
14532 (gamma_test): Likewise.
14533 (hypot_test): Likewise.
14534 (ilogb_test): Likewise.
14535 (isfinite_test): Likewise.
14536 (isgreater_test): Likewise.
14537 (isgreaterequal_test): Likewise.
14538 (isinf_test): Likewise.
14539 (isless_test): Likewise.
14540 (islessequal_test): Likewise.
14541 (islessgreater_test): Likewise.
14542 (isnan_test): Likewise.
14543 (isnormal_test): Likewise.
14544 (issignaling_test): Likewise.
14545 (isunordered_test): Likewise.
14546 (j0_test): Likewise.
14547 (j1_test): Likewise.
14548 (jn_test): Likewise.
14549 (ldexp_test): Likewise.
14550 (lgamma_test): Likewise.
14551 (lrint_test): Likewise.
14552 (lrint_test_tonearest): Likewise.
14553 (lrint_test_towardzero): Likewise.
14554 (lrint_test_downward): Likewise.
14555 (lrint_test_upward): Likewise.
14556 (llrint_test): Likewise.
14557 (llrint_test_tonearest): Likewise.
14558 (llrint_test_towardzero): Likewise.
14559 (llrint_test_downward): Likewise.
14560 (llrint_test_upward): Likewise.
14561 (log_test): Likewise.
14562 (log10_test): Likewise.
14563 (log1p_test): Likewise.
14564 (log2_test): Likewise.
14565 (logb_test): Likewise.
14566 (logb_test_downward): Likewise.
14567 (lround_test): Likewise.
14568 (llround_test): Likewise.
14569 (modf_test): Likewise.
14570 (nearbyint_test): Likewise.
14571 (nextafter_test): Likewise.
14572 (nexttoward_test): Likewise.
14573 (pow_test): Likewise.
14574 (pow_test_tonearest): Likewise.
14575 (pow_test_towardzero): Likewise.
14576 (pow_test_downward): Likewise.
14577 (pow_test_upward): Likewise.
14578 (remainder_test): Likewise.
14579 (remainder_test_tonearest): Likewise.
14580 (remainder_test_towardzero): Likewise.
14581 (remainder_test_downward): Likewise.
14582 (remainder_test_upward): Likewise.
14583 (remquo_test): Likewise.
14584 (rint_test): Likewise.
14585 (rint_test_tonearest): Likewise.
14586 (rint_test_towardzero): Likewise.
14587 (rint_test_downward): Likewise.
14588 (rint_test_upward): Likewise.
14589 (round_test): Likewise.
14590 (scalb_test): Likewise.
14591 (scalbn_test): Likewise.
14592 (scalbln_test): Likewise.
14593 (signbit_test): Likewise.
14594 (sin_test): Likewise.
14595 (sin_test_tonearest): Likewise.
14596 (sin_test_towardzero): Likewise.
14597 (sin_test_downward): Likewise.
14598 (sin_test_upward): Likewise.
14599 (sincos_test): Likewise.
14600 (sinh_test): Likewise.
14601 (sinh_test_tonearest): Likewise.
14602 (sinh_test_towardzero): Likewise.
14603 (sinh_test_downward): Likewise.
14604 (sinh_test_upward): Likewise.
14605 (sqrt_test): Likewise.
14606 (tan_test): Likewise.
14607 (tan_test_tonearest): Likewise.
14608 (tan_test_towardzero): Likewise.
14609 (tan_test_downward): Likewise.
14610 (tan_test_upward): Likewise.
14611 (tanh_test): Likewise.
14612 (tgamma_test): Likewise.
14613 (trunc_test): Likewise.
14614 (y0_test): Likewise.
14615 (y1_test): Likewise.
14616 (yn_test): Likewise.
14617 (significand_test): Likewise.
14618
bae143d2
OB
146192013-05-24 Ondřej Bílka <neleai@seznam.cz>
14620
14621 [BZ #15381]
14622 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14623
9323d39b
EM
146242013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14625
d4ea44a0 14626 [BZ #14894]
9323d39b
EM
14627 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14628 __ppc_mdoio and __ppc_mdoom.
14629 * manual/platform.texi: Document new functions __ppc_yield,
14630 __ppc_mdoio and __ppc_mdoom.
14631
13e23af7
CD
146322013-05-22 Carlos O'Donell <carlos@redhat.com>
14633
14634 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14635 (main): Mention "tls" pseudo-hwcap is legacy.
14636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14637
351fe550
JM
146382013-05-22 Joseph Myers <joseph@codesourcery.com>
14639
14640 * math/gen-libm-test.pl (parse_args): Output only string of
14641 arguments as text for test name, not full call or descriptions of
14642 tests for extra outputs.
14643 (generate_testfile): Do not pass function name to parse_args.
14644 Generate this_func variable from START.
14645 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14646 field to arg_str.
14647 (struct test_ff_f_data): Likewise.
14648 (test_ff_f_data_nexttoward): Likewise.
14649 (struct test_fi_f_data): Likewise.
14650 (struct test_fl_f_data): Likewise.
14651 (struct test_if_f_data): Likewise.
14652 (struct test_fff_f_data): Likewise.
14653 (struct test_c_f_data): Likewise.
14654 (struct test_f_f1_data): Likewise. Remove field extra_name.
14655 (struct test_fF_f1_data): Likewise.
14656 (struct test_ffI_f1_data): Likewise.
14657 (struct test_c_c_data): Rename test_name field to arg_str.
14658 (struct test_cc_c_data): Likewise.
14659 (struct test_f_i_data): Likewise.
14660 (struct test_ff_i_data): Likewise.
14661 (struct test_f_l_data): Likewise.
14662 (struct test_f_L_data): Likewise.
14663 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14664 and extra2_name.
14665 (COMMON_TEST_SETUP): New macro.
14666 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14667 (COMMON_TEST_CLEANUP): Likewise.
14668 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14669 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14670 macros.
14671 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14672 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14673 macros.
14674 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14675 (RUN_TEST_fff_f): Take argument string. Call new setup and
14676 cleanup macros.
14677 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14678 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14679 macros.
14680 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14681 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14682 macros.
14683 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14684 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14685 cleanup macros.
14686 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14687 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14688 cleanup macros.
14689 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14690 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14691 cleanup macros.
14692 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14693 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14694 macros.
14695 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14696 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14697 macros.
14698 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14699 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14700 macros.
14701 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14702 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14703 cleanup macros.
14704 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14705 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14706 cleanup macros.
14707 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14708 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14709 macros.
14710 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14711 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14712 cleanup macros.
14713 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14714 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14715 macros.
14716 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14717 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14718 macros.
14719 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14720 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14721 cleanup macros.
14722 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14723
85118d4d
EBM
147242013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14725
14726 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14727 to _sifields.sigfault.
14728 (si_addr_lsb): Define new macro.
14729 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14732
7a44c18f
CD
147332013-05-03 Carlos O'Donell <carlos at redhat.com>
14734
14735 [BZ #15441]
14736 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14737 returns -1.
14738 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14739 null return -1.
14740 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14741 loading the domain.
14742
b50a7181
JM
147432013-05-22 Joseph Myers <joseph@codesourcery.com>
14744
14745 * math/gen-libm-test.pl (parse_args): Do not include expected
14746 result in test name.
14747 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14748 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14749 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14750 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14751 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14753
051063c8
SP
147542013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14755
3ce9e010
SP
14756 * benchtests/Makefile: Sort function entries.
14757
051063c8
SP
14758 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14759 tanh, asinh, acosh, atanh.
14760 * benchtests/acos-inputs: New file.
14761 * benchtests/acosh-inputs: New file.
14762 * benchtests/asin-inputs: New file.
14763 * benchtests/asinh-inputs: New file.
14764 * benchtests/atanh-inputs: New file.
14765 * benchtests/cosh-inputs: New file.
14766 * benchtests/log-inputs: New file.
14767 * benchtests/sinh-inputs: New file.
14768 * benchtests/tanh-inputs: New file.
14769
47c22455
DL
147702013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14771
14772 [BZ #15339]
14773 * posix/tst-getaddrinfo4.c: New test.
14774 * posix/Makefile (tests): Add it.
14775
3d04f5db
SP
147762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14777
14778 [BZ #15339]
14779 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14780 when no services were used.
14781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14782 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14783
d5dd6189
AS
147842013-05-21 Andreas Schwab <schwab@suse.de>
14785
14786 [BZ #15014]
14787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14788 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14789 successful.
14790 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14791 redundant variable declarations and reallocation of buffer when
14792 parsing as IPv6 address. Always set NSS status when called from
14793 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14794 buffer too small. Correct computation of needed size.
14795 * nss/Makefile (tests): Add test-digits-dots.
14796 * nss/test-digits-dots.c: New test.
14797
fef94eab
SP
147982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14799
14800 * benchtests/Makefile: Remove instructions for adding
14801 benchmark tests.
14802 * benchtests/README: New file to explain how to execute and
14803 enhance the benchmark tests.
14804
e39adf43
AS
148052013-05-21 Andreas Schwab <schwab@suse.de>
14806
14807 [BZ #15493]
14808 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14809 * setjmp/tst-sigsetjmp.c: New test.
14810
b2b671b6
OB
148112013-05-20 Ondřej Bílka <neleai@seznam.cz>
14812
14813 * sysdeps/x86_64/memset.S (memset): New implementation.
14814 (__bzero): Likewise.
14815 (__memset_tail): New function.
14816
2d48b41c
OB
148172013-05-20 Ondřej Bílka <neleai@seznam.cz>
14818
14819 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14820 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14821 __memcpy_sse2_unaligned ifunc selection.
14822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14823 Add memcpy-sse2-unaligned.S.
14824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14825 Add: __memcpy_sse2_unaligned.
14826
f16cc3eb
JM
148272013-05-19 Joseph Myers <joseph@codesourcery.com>
14828
3e694268
JM
14829 [BZ #15490]
14830 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14831 math_force_eval before restoring floating-point envrionment.
14832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14834 Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14836 <math_private.h>.
14837 (__nearbyintl): Use math_force_eval before restoring
14838 floating-point environment.
14839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14840
db62a907
JM
14841 * math/gen-libm-test.pl (special_functions): Remove.
14842 (parse_args): Don't handle TEST_extra. Handle functions with no
14843 return value.
14844 * math/libm-test.inc (struct test_sincos_data): Replace with
14845 struct test_fFF_11_data.
14846 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14847 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14848 (sincos_test_data): Change element type to struct
14849 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14850 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14851 RUN_TEST_LOOP_sincos.
14852 * math/README.libm-test: Don't mention special handling of
14853 individual functions.
14854 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14860
f16cc3eb
JM
14861 * math/gen-libm-test.pl (get_variable): Remove function.
14862 (parse_args): Don't show pointer parameters to call in test
14863 names. Use "extra output N" in test names for extra outputs
14864 rather than naming variables.
14865
3779b5b6
JM
148662013-05-18 Joseph Myers <joseph@codesourcery.com>
14867
2ee094ff
JM
14868 [BZ #15488]
14869 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14870 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14871 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14872 double tests.
14873 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14874 disable.
14875 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14876 check_long_double.
14877
3779b5b6
JM
14878 * math/gen-libm-test.pl (@tests): Remove variable.
14879 ($count): Likewise.
14880 (new_test): Remove function.
14881 (show_exceptions): New function.
14882 (special_functions): Use show_exceptions instead of new_test.
14883 (parse_args): Likewise.
14884 (generate_testfile): Pass only function name in generated call to
14885 print_max_error or print_complex_max_error.
14886 (get_ulps): Do not handle complex tests specially.
14887 (output_test): Rename to ...
14888 (get_all_ulps_for_test): ... this. Return a string rather than
14889 printing to a file. Require ulps to be present.
14890 (output_ulps): Generate arrays rather than #defines.
14891 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14892 (struct ulp_data): New type.
14893 (BUILD_COMPLEX_ULP): Remove macro.
14894 (compare_ulp_data): New function.
14895 (find_ulps): Likewise.
14896 (find_test_ulps): Likewise.
14897 (find_function_ulps): Likewise.
14898 (find_complex_function_ulps): Likewise.
14899 (print_max_error): Determine allowed ulps using
14900 find_function_ulps.
14901 (print_complex_max_error): Determine allowed ulps using
14902 find_complex_function_ulps.
14903 (check_float_internal): Determine max ulps using find_test_ulps.
14904 (check_float): Do not take max_ulp parameter. Update call to
14905 check_float_internal.
14906 (check_complex): Likewise.
14907 (check_int): Do not take max_ulp parameter.
14908 (check_long): Likewise.
14909 (check_bool): Likewise.
14910 (check_longlong): Likewise.
14911 (struct test_f_f_data): Remove max_ulp field.
14912 (struct test_ff_f_data): Likewise.
14913 (struct test_ff_f_data_nexttoward): Likewise.
14914 (struct test_fi_f_data): Likewise.
14915 (struct test_fl_f_data): Likewise.
14916 (struct test_if_f_data): Likewise.
14917 (struct test_fff_f_data): Likewise.
14918 (struct test_c_f_data): Likewise.
14919 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14920 (struct test_fF_f1_data): Likewise.
14921 (struct test_ffI_f1_data): Likewise.
14922 (struct test_c_c_data): Remove max_ulp field.
14923 (struct test_cc_c_data): Likewise.
14924 (struct test_f_i_data): Likewise.
14925 (struct test_ff_i_data): Likewise.
14926 (struct test_f_l_data): Likewise.
14927 (struct test_f_L_data): Likewise.
14928 (struct test_sincos_data): Likewise.
14929 (RUN_TEST_f_f): Do not handle ulps.
14930 (RUN_TEST_LOOP_f_f): Likewise.
14931 (RUN_TEST_2_f): Likewise.
14932 (RUN_TEST_LOOP_2_f): Likewise.
14933 (RUN_TEST_fff_f): Likewise.
14934 (RUN_TEST_LOOP_fff_f): Likewise.
14935 (RUN_TEST_c_f): Likewise.
14936 (RUN_TEST_LOOP_c_f): Likewise.
14937 (RUN_TEST_f_f1): Likewise.
14938 (RUN_TEST_LOOP_f_f1): Likewise.
14939 (RUN_TEST_fF_f1): Likewise.
14940 (RUN_TEST_LOOP_fF_f1): Likewise.
14941 (RUN_TEST_fI_f1): Likewise.
14942 (RUN_TEST_LOOP_fI_f1): Likewise.
14943 (RUN_TEST_ffI_f1): Likewise.
14944 (RUN_TEST_LOOP_ffI_f1): Likewise.
14945 (RUN_TEST_c_c): Likewise.
14946 (RUN_TEST_LOOP_c_c): Likewise.
14947 (RUN_TEST_cc_c): Likewise.
14948 (RUN_TEST_LOOP_cc_c): Likewise.
14949 (RUN_TEST_f_i): Likewise.
14950 (RUN_TEST_LOOP_f_i): Likewise.
14951 (RUN_TEST_f_i_tg): Likewise.
14952 (RUN_TEST_LOOP_f_i_tg): Likewise.
14953 (RUN_TEST_ff_i_tg): Likewise.
14954 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14955 (RUN_TEST_f_b): Likewise.
14956 (RUN_TEST_LOOP_f_b): Likewise.
14957 (RUN_TEST_f_b_tg): Likewise.
14958 (RUN_TEST_LOOP_f_b_tg): Likewise.
14959 (RUN_TEST_f_l): Likewise.
14960 (RUN_TEST_LOOP_f_l): Likewise.
14961 (RUN_TEST_f_L): Likewise.
14962 (RUN_TEST_LOOP_f_L): Likewise.
14963 (RUN_TEST_sincos): Likewise.
14964 (RUN_TEST_LOOP_sincos): Likewise.
14965
8269107f
JM
149662013-05-17 Joseph Myers <joseph@codesourcery.com>
14967
bb38759d
JM
14968 [BZ #15480]
14969 [BZ #15485]
14970 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14971 main case of finite arguments, set rounding mode to FE_TONEAREST
14972 and discard exceptions.
14973 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14974 exceptions.
14975 (remainder_tonearest_test_data): New variable.
14976 (remainder_test_tonearest): New function.
14977 (remainder_towardzero_test_data): New variable.
14978 (remainder_test_towardzero): New function.
14979 (remainder_downward_test_data): New variable.
14980 (remainder_test_downward): New function.
14981 (remainder_upward_test_data): New variable.
14982 (remainder_test_upward): New function.
14983 (main): Call the new test functions.
14984
a00bdcf0
JM
14985 * math/libm-test.inc (struct test_f_f1_data): Remove field
14986 extra_init.
14987 (struct test_fF_f1_data): Likewise.
14988 (struct test_ffI_f1_data): Likewise.
14989 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14990 based on value of EXTRA_EXPECTED.
14991 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14992 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14993 EXTRA_VAR based on value of EXTRA_EXPECTED.
14994 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14995 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14996 EXTRA_VAR based on value of EXTRA_EXPECTED.
14997 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14998 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14999 EXTRA_VAR based on value of EXTRA_EXPECTED.
15000 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15001 * math/gen-libm-test.pl (parse_args): Don't output initializers
15002 for extra output values.
15003
de407f79
JM
15004 * math/libm-test.inc (check_int): Expect result to be exactly
15005 equal to expected value and do not handle ulps.
15006 (check_long): Likewise.
15007 (check_longlong): Likewise.
15008
8269107f
JM
15009 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15010 exceptions.
15011 (cimag_test_data): Likewise.
15012 (conj_test_data): Likewise.
15013 (copysign_test_data): Likewise.
15014 (cproj_test_data): Likewise.
15015 (creal_test_data): Likewise.
15016 (fabs_test_data): Likewise.
15017 (fdim_test_data): Likewise.
15018 (finite_test_data): Likewise.
15019 (floor_test_data): Likewise.
15020 (fmax_test_data): Likewise.
15021 (fmin_test_data): Likewise.
15022 (fmod_test_data): Likewise.
15023 (fpclassify_test_data): Likewise.
15024 (frexp_test_data): Likewise.
15025 (ilogb_test_data): Likewise.
15026 (isfinite_test_data): Likewise.
15027 (isgreater_test_data): Likewise.
15028 (isgreaterequal_test_data): Likewise.
15029 (isinf_test_data): Likewise.
15030 (isless_test_data): Likewise.
15031 (islessequal_test_data): Likewise.
15032 (islessgreater_test_data): Likewise.
15033 (isnan_test_data): Likewise.
15034 (isnormal_test_data): Likewise.
15035 (issignaling_test_data): Likewise.
15036 (isunordered_test_data): Likewise.
15037 (ldexp_test_data): Likewise.
15038 (lrint_test_data): Likewise.
15039 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15040 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15041 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15042 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15043 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15044 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15045 test input.
15046 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15047 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15048 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15049 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15050 that test input.
15051 (lrint_downward_test_data): Test for "inexact" exceptions.
15052 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15053 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15054 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15055 test input.
15056 (lrint_upward_test_data): Test for "inexact" exceptions.
15057 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15058 test input.
15059 (llrint_test_data): Test for "inexact" exceptions.
15060 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15061 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15062 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15063 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15064 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15065 (llrint_downward_test_data): Test for "inexact" exceptions.
15066 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15067 (llrint_upward_test_data): Test for "inexact" exceptions.
15068 (logb_test_data): Likewise.
15069 (logb_downward_test_data): Likewise.
15070 (nextafter_test_data): Likewise.
15071 (nexttoward_test_data): Likewise.
15072 (remainder_test_data): Likewise.
15073 (remquo_test_data): Likewise.
15074 (scalbn_test_data): Likewise.
15075 (scalbln_test_data): Likewise.
15076 (signbit_test_data): Likewise.
15077 (sqrt_test_data): Likewise.
15078 (significand_test_data): Likewise.
15079
48a18de1
SP
150802013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15081
15082 [BZ #15424]
15083 * benchtests/bench-modf.c (struct args): Mark arg0 as
15084 volatile.
15085 * scripts/bench.pl: Mark members of struct args as volatile.
15086
13d3b41a
AZ
150872013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15088
68191c1d 15089 [BZ # 15497]
13d3b41a
AZ
15090 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15091 negative infinity on POWER6 or lower.
15092 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15093
2848b105
MR
150942013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15095
15096 [BZ #15442]
15097 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15098 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15099 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15100 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15101 (_FP_SETQNAN): New macro.
15102 (_FP_SETQNAN_SEMIRAW): Likewise.
15103 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15104 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15105 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15106 (FP_EXTEND): Use _FP_FRAC_SNANP.
15107 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15108 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15109 into account.
15110 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15111 New macro.
15112 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15113 Likewise.
15114
323e5cb7
JM
151152013-05-16 Joseph Myers <joseph@codesourcery.com>
15116
c58b274f
JM
15117 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15118 with DIVIDE_BY_ZERO_EXCEPTION.
15119 (gamma_test_data): Likewise.
15120 (lgamma_test_data): Likewise.
15121 (log_test_data): Likewise.
15122 (log10_test_data): Likewise.
15123 (log2_test_data): Likewise.
15124 (tgamma_test_data): Likewise.
15125
0ab34904
JM
15126 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15127 (acos_test_tonearest): Likewise.
15128 (acos_test_towardzero): Likewise.
15129 (acos_test_downward): Likewise.
15130 (acos_test_upward): Likewise.
15131 (acosh_test): Likewise.
15132 (asin_test): Likewise.
15133 (asin_test_tonearest): Likewise.
15134 (asin_test_towardzero): Likewise.
15135 (asin_test_downward): Likewise.
15136 (asin_test_upward): Likewise.
15137 (asinh_test): Likewise.
15138 (atan_test): Likewise.
15139 (atanh_test): Likewise.
15140 (atan2_test): Likewise.
15141 (cabs_test): Likewise.
15142 (cacos_test): Likewise.
15143 (cacosh_test): Likewise.
15144 (casin_test): Likewise.
15145 (casinh_test): Likewise.
15146 (catan_test): Likewise.
15147 (catanh_test): Likewise.
15148 (cbrt_test): Likewise.
15149 (ccos_test): Likewise.
15150 (ccosh_test): Likewise.
15151 (cexp_test): Likewise.
15152 (clog_test): Likewise.
15153 (clog10_test): Likewise.
15154 (cos_test): Likewise.
15155 (cos_test_tonearest): Likewise.
15156 (cos_test_towardzero): Likewise.
15157 (cos_test_downward): Likewise.
15158 (cos_test_upward): Likewise.
15159 (cosh_test): Likewise.
15160 (cosh_test_tonearest): Likewise.
15161 (cosh_test_towardzero): Likewise.
15162 (cosh_test_downward): Likewise.
15163 (cosh_test_upward): Likewise.
15164 (cpow_test): Likewise.
15165 (csin_test): Likewise.
15166 (csinh_test): Likewise.
15167 (csqrt_test): Likewise.
15168 (ctan_test): Likewise.
15169 (ctan_test_tonearest): Likewise.
15170 (ctan_test_towardzero): Likewise.
15171 (ctan_test_downward): Likewise.
15172 (ctan_test_upward): Likewise.
15173 (ctanh_test): Likewise.
15174 (ctanh_test_tonearest): Likewise.
15175 (ctanh_test_towardzero): Likewise.
15176 (ctanh_test_downward): Likewise.
15177 (ctanh_test_upward): Likewise.
15178 (erf_test): Likewise.
15179 (erfc_test): Likewise.
15180 (exp_test): Likewise.
15181 (exp_test_tonearest): Likewise.
15182 (exp_test_towardzero): Likewise.
15183 (exp_test_downward): Likewise.
15184 (exp_test_upward): Likewise.
15185 (exp10_test): Likewise.
15186 (exp2_test): Likewise.
15187 (expm1_test): Likewise.
15188 (fmod_test): Likewise.
15189 (gamma_test): Likewise.
15190 (hypot_test): Likewise.
15191 (j0_test): Likewise.
15192 (j1_test): Likewise.
15193 (jn_test): Likewise.
15194 (lgamma_test): Likewise.
15195 (log_test): Likewise.
15196 (log10_test): Likewise.
15197 (log1p_test): Likewise.
15198 (log2_test): Likewise.
15199 (logb_test_downward): Likewise.
15200 (pow_test): Likewise.
15201 (pow_test_tonearest): Likewise.
15202 (pow_test_towardzero): Likewise.
15203 (pow_test_downward): Likewise.
15204 (pow_test_upward): Likewise.
15205 (remainder_test): Likewise.
15206 (remquo_test): Likewise.
15207 (sin_test): Likewise.
15208 (sin_test_tonearest): Likewise.
15209 (sin_test_towardzero): Likewise.
15210 (sin_test_downward): Likewise.
15211 (sin_test_upward): Likewise.
15212 (sincos_test): Likewise.
15213 (sinh_test): Likewise.
15214 (sinh_test_tonearest): Likewise.
15215 (sinh_test_towardzero): Likewise.
15216 (sinh_test_downward): Likewise.
15217 (sinh_test_upward): Likewise.
15218 (sqrt_test): Likewise.
15219 (tan_test): Likewise.
15220 (tan_test_tonearest): Likewise.
15221 (tan_test_towardzero): Likewise.
15222 (tan_test_downward): Likewise.
15223 (tan_test_upward): Likewise.
15224 (tanh_test): Likewise.
15225 (tgamma_test): Likewise.
15226 (y0_test): Likewise.
15227 (y1_test): Likewise.
15228 (yn_test): Likewise.
15229
323e5cb7
JM
15230 * math/gen-libm-test.pl (adjust_arg): Remove function.
15231 (special_function): Remove argument $in_func. Only handle
15232 generating output for tables of tests, not inside functions.
15233 (parse_args): Likewise.
15234 (generate_testfile): Remove variable $in_func. Update call to
15235 parse_args.
15236 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15237 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15238 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15239 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15240 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15241 (MAX_VALUE_INIT): Rename macro to max_value.
15242 (MIN_VALUE_INIT): Rename macro to min_value.
15243 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15244 (plus_zero): Remove variable.
15245 (minus_zero): Likewise.
15246 (plus_infty): Likewise.
15247 (minus_infty): Likewise.
15248 (qnan_value): Likewise.
15249 (max_value): Likewise.
15250 (min_value): Likewise.
15251 (min_subnorm_value): Likewise.
15252
e054f494
RA
152532013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15254
15255 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15256 uint64_t or uint32_t usage.
15257 * crypt/sha256-block.c: Likewise.
15258 * crypt/sha256-crypt.c: Likewise.
15259 * crypt/sha256.c: Likewise.
15260 * crypt/sha512-block.c: Likewise.
15261 * crypt/sha512-crypt.c: Likewise.
15262 * crypt/sha512.c: Likewise.
15263 * debug/backtrace-tst.c: Likewise.
15264 * debug/pcprofiledump.c: Likewise.
15265 * elf/cache.c: Likewise.
15266 * elf/dl-cache.c: Likewise.
15267 * elf/dl-misc.c: Likewise.
15268 * elf/dl-profile.c: Likewise.
15269 * elf/dl-support.c: Likewise.
15270 * elf/ldconfig.c: Likewise.
15271 * elf/sprof.c: Likewise.
15272 * iconv/dummy-repertoire.c: Likewise.
15273 * iconv/iconv_charmap.c: Likewise.
15274 * iconv/skeleton.c: Likewise.
15275 * iconvdata/8bit-generic.c: Likewise.
15276 * iconvdata/cp737.h: Likewise.
15277 * iconvdata/cp775.h: Likewise.
15278 * iconvdata/ibm1008.h: Likewise.
15279 * iconvdata/ibm1025.h: Likewise.
15280 * iconvdata/ibm1046.h: Likewise.
15281 * iconvdata/ibm1097.h: Likewise.
15282 * iconvdata/ibm1112.h: Likewise.
15283 * iconvdata/ibm1122.h: Likewise.
15284 * iconvdata/ibm1123.h: Likewise.
15285 * iconvdata/ibm1124.h: Likewise.
15286 * iconvdata/ibm1129.h: Likewise.
15287 * iconvdata/ibm1130.h: Likewise.
15288 * iconvdata/ibm1132.h: Likewise.
15289 * iconvdata/ibm1133.h: Likewise.
15290 * iconvdata/ibm1137.h: Likewise.
15291 * iconvdata/ibm1140.h: Likewise.
15292 * iconvdata/ibm1141.h: Likewise.
15293 * iconvdata/ibm1142.h: Likewise.
15294 * iconvdata/ibm1143.h: Likewise.
15295 * iconvdata/ibm1144.h: Likewise.
15296 * iconvdata/ibm1145.h: Likewise.
15297 * iconvdata/ibm1146.h: Likewise.
15298 * iconvdata/ibm1147.h: Likewise.
15299 * iconvdata/ibm1148.h: Likewise.
15300 * iconvdata/ibm1149.h: Likewise.
15301 * iconvdata/ibm1153.h: Likewise.
15302 * iconvdata/ibm1154.h: Likewise.
15303 * iconvdata/ibm1155.h: Likewise.
15304 * iconvdata/ibm1156.h: Likewise.
15305 * iconvdata/ibm1157.h: Likewise.
15306 * iconvdata/ibm1158.h: Likewise.
15307 * iconvdata/ibm1160.h: Likewise.
15308 * iconvdata/ibm1161.h: Likewise.
15309 * iconvdata/ibm1162.h: Likewise.
15310 * iconvdata/ibm1163.h: Likewise.
15311 * iconvdata/ibm1164.h: Likewise.
15312 * iconvdata/ibm1166.h: Likewise.
15313 * iconvdata/ibm1167.h: Likewise.
15314 * iconvdata/ibm12712.h: Likewise.
15315 * iconvdata/ibm1390.h: Likewise.
15316 * iconvdata/ibm1399.h: Likewise.
15317 * iconvdata/ibm16804.h: Likewise.
15318 * iconvdata/ibm4517.h: Likewise.
15319 * iconvdata/ibm4899.h: Likewise.
15320 * iconvdata/ibm4909.h: Likewise.
15321 * iconvdata/ibm4971.h: Likewise.
15322 * iconvdata/ibm5347.h: Likewise.
15323 * iconvdata/ibm803.h: Likewise.
15324 * iconvdata/ibm856.h: Likewise.
15325 * iconvdata/ibm901.h: Likewise.
15326 * iconvdata/ibm902.h: Likewise.
15327 * iconvdata/ibm9030.h: Likewise.
15328 * iconvdata/ibm9066.h: Likewise.
15329 * iconvdata/ibm921.h: Likewise.
15330 * iconvdata/ibm922.h: Likewise.
15331 * iconvdata/ibm9448.h: Likewise.
15332 * iconvdata/isiri-3342.h: Likewise.
15333 * iconvdata/jis0201.h: Likewise.
15334 * include/link.h: Likewise.
15335 * include/netdb.h: Likewise.
15336 * inet/check_native.c: Likewise.
15337 * inet/check_pf.c: Likewise.
15338 * inet/getipv4sourcefilter.c: Likewise.
15339 * inet/getnameinfo.c: Likewise.
15340 * inet/getsourcefilter.c: Likewise.
15341 * inet/htonl.c: Likewise.
15342 * inet/setipv4sourcefilter.c: Likewise.
15343 * inet/setsourcefilter.c: Likewise.
15344 * inet/test-inet6_opt.c: Likewise.
15345 * inet/tst-network.c: Likewise.
15346 * locale/C-collate.c: Likewise.
15347 * locale/C-ctype.c: Likewise.
15348 * locale/C-time.c: Likewise.
15349 * locale/C-translit.h: Likewise.
15350 * locale/loadarchive.c: Likewise.
15351 * locale/programs/3level.h: Likewise.
15352 * locale/programs/charmap.c: Likewise.
15353 * locale/programs/charmap.h: Likewise.
15354 * locale/programs/ld-address.c: Likewise.
15355 * locale/programs/ld-collate.c: Likewise.
15356 * locale/programs/ld-ctype.c: Likewise.
15357 * locale/programs/ld-identification.c: Likewise.
15358 * locale/programs/ld-measurement.c: Likewise.
15359 * locale/programs/ld-messages.c: Likewise.
15360 * locale/programs/ld-monetary.c: Likewise.
15361 * locale/programs/ld-name.c: Likewise.
15362 * locale/programs/ld-numeric.c: Likewise.
15363 * locale/programs/ld-paper.c: Likewise.
15364 * locale/programs/ld-telephone.c: Likewise.
15365 * locale/programs/ld-time.c: Likewise.
15366 * locale/programs/linereader.c: Likewise.
15367 * locale/programs/locale.c: Likewise.
15368 * locale/programs/locarchive.c: Likewise.
15369 * locale/programs/locfile.h: Likewise.
15370 * locale/programs/repertoire.c: Likewise.
15371 * locale/programs/simple-hash.c: Likewise.
15372 * locale/programs/simple-hash.h: Likewise.
15373 * malloc/memusage.c: Likewise.
15374 * malloc/memusagestat.c: Likewise.
15375 * nis/nis_defaults.c: Likewise.
15376 * nis/nis_hash.c: Likewise.
15377 * nis/nis_print.c: Likewise.
15378 * nis/nis_xdr.c: Likewise.
15379 * nscd/connections.c: Likewise.
15380 * nscd/hstcache.c: Likewise.
15381 * nscd/nscd_gethst_r.c: Likewise.
15382 * nscd/nscd_getserv_r.c: Likewise.
15383 * nscd/nscd_helper.c: Likewise.
15384 * nscd/servicescache.c: Likewise.
15385 * nss/makedb.c: Likewise.
15386 * nss/nss_db/db-XXX.c: Likewise.
15387 * nss/nss_db/db-initgroups.c: Likewise.
15388 * nss/nss_db/db-netgrp.c: Likewise.
15389 * nss/nss_files/files-network.c: Likewise.
15390 * nss/nss_files/files-parse.c: Likewise.
15391 * posix/bug-regex5.c: Likewise.
15392 * posix/fnmatch_loop.c: Likewise.
15393 * posix/regcomp.c: Likewise.
15394 * posix/regexec.c: Likewise.
15395 * posix/tst-rfc3484-2.c: Likewise.
15396 * posix/tst-rfc3484-3.c: Likewise.
15397 * posix/tst-rfc3484.c: Likewise.
15398 * resolv/nss_dns/dns-canon.c: Likewise.
15399 * resolv/nss_dns/dns-network.c: Likewise.
15400 * resolv/res_init.c: Likewise.
15401 * resolv/res_mkquery.c: Likewise.
15402 * resolv/tst-aton.c: Likewise.
15403 * stdlib/cxa_atexit.c: Likewise.
15404 * stdlib/cxa_finalize.c: Likewise.
15405 * stdlib/gen-fpioconst.c: Likewise.
15406 * stdlib/strtol_l.c: Likewise.
15407 * string/tst-endian.c: Likewise.
15408 * sunrpc/auth_des.c: Likewise.
15409 * sunrpc/clnt_udp.c: Likewise.
15410 * sunrpc/rtime.c: Likewise.
15411 * sunrpc/svcauth_des.c: Likewise.
15412 * sunrpc/xdr.c: Likewise.
15413 * sunrpc/xdr_intXX_t.c: Likewise.
15414 * sunrpc/xdr_rec.c: Likewise.
15415 * sysdeps/generic/ldconfig.h: Likewise.
15416 * sysdeps/generic/ldsodefs.h: Likewise.
15417 * sysdeps/generic/memusage.h: Likewise.
15418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15428 * sysdeps/posix/getaddrinfo.c: Likewise.
15429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15431 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15432 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15433 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15434 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15435 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15436 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15437 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15438 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15439 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15440 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15441 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15442 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15443 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15444 * sysdeps/x86_64/dl-tls.h: Likewise.
15445 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15446 * time/alt_digit.c: Likewise.
15447 * time/era.c: Likewise.
15448 * wcsmbs/tst-c16c32-1.c: Likewise.
15449
8c75f674
JM
154502013-05-16 Joseph Myers <joseph@codesourcery.com>
15451
15452 * math/libm-test.inc (struct test_sincos_data): New type.
15453 (RUN_TEST_LOOP_sincos): New macro.
15454 (sincos_test_data): New variable.
15455 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15456
e6e49e59
RH
154572013-05-16 Richard Henderson <rth@redhat.com>
15458
15459 * math/atest-exp2.c (LIMB64): New macro.
15460 (CONSTSZ): New macro.
15461 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15462 (hexdig): Move ...
15463 (print_mpn_fp): ... to function scope.
15464 (read_mpn_hex): Remove.
15465 (get_log2): Remove.
15466 (exp2_mpn): Use mp_log2.
15467 (main): Use mp_exp1.
15468
15c7c18d
JM
154692013-05-16 Joseph Myers <joseph@codesourcery.com>
15470
105a07df
JM
15471 * math/libm-test.inc: Remove comment about not testing "inexact"
15472 exceptions.
15473 (INEXACT_EXCEPTION): New macro.
15474 (NO_INEXACT_EXCEPTION): Likewise.
15475 (INVALID_EXCEPTION_OK): Update value.
15476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15477 (OVERFLOW_EXCEPTION_OK): Likewise.
15478 (UNDERFLOW_EXCEPTION_OK): Likewise.
15479 (IGNORE_ZERO_INF_SIGN): Likewise.
15480 (ERRNO_UNCHANGED): Likewise.
15481 (ERRNO_EDOM): Likewise.
15482 (ERRNO_ERANGE): Likewise.
15483 (test_exceptions): Handle testing "inexact" exceptions.
15484 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15485 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15486 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15487 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15488 INEXACT_EXCEPTION.
15489 (rint_towardzero_test_data): Likewise.
15490 (rint_downward_test_data): Likewise.
15491 (rint_upward_test_data): Likewise.
15492
e9eee333
JM
15493 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15494 with OVERFLOW_EXCEPTION.
15495 (exp10_test_data): Likewise.
15496 (exp2_test_data): Likewise.
15497 (expm1_test_data): Likewise.
15498 (lgamma_test_data): Likewise.
15499 (pow_test_data): Likewise.
15500 (tgamma_test_data): Likewise.
15501 (yn_test_data): Remove duplicate test of overflow.
15502
1c38ff73
JM
15503 * math/libm-test.inc (struct test_cc_c_data): New type.
15504 (RUN_TEST_LOOP_cc_c): New macro.
15505 (cpow_test_data): New variable.
15506 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15507
15c7c18d
JM
15508 * math/libm-test.inc (struct test_f_L_data): New type.
15509 (RUN_TEST_LOOP_f_L): New macro.
15510 (llrint_test_data): New variable.
15511 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15512 (llrint_tonearest_test_data): New variable.
15513 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15514 (llrint_towardzero_test_data): New variable.
15515 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15516 (llrint_downward_test_data): New variable.
15517 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15518 (llrint_upward_test_data): New variable.
15519 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15520 (llround_test_data): New variable.
15521 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15522
f137ff13
PC
155232013-05-13 Peter Collingbourne <pcc@google.com>
15524
15525 * math/atest-exp2.c (get_log2): Remove const attribute.
15526
3608cb24
JM
155272013-05-15 Joseph Myers <joseph@codesourcery.com>
15528
15529 * math/libm-test.inc (struct test_f_l_data): New type.
15530 (RUN_TEST_LOOP_f_l): New macro.
15531 (lrint_test_data): New variable.
15532 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15533 (lrint_tonearest_test_data): New variable.
15534 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15535 (lrint_towardzero_test_data): New variable.
15536 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15537 (lrint_downward_test_data): New variable.
15538 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15539 (lrint_upward_test_data): New variable.
15540 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15541 (lround_test_data): New variable.
15542 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15543
39b1f617
PC
155442013-05-15 Peter Collingbourne <pcc@google.com>
15545
1deff3dc
PC
15546 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15547 (EXTRACT_WORDS64) Use where appropriate.
15548 (INSERT_WORDS64) Likewise.
15549
791f3ba0
PC
15550 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15551 constraints with x constraints.
15552 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15553
39b1f617
PC
15554 * malloc/obstack.c (_obstack_compat): Add initializer.
15555
12fba011
EM
155562013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15557
15558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15559 si_trapno and add si_addr_lsb to _sifields.sigfault.
15560 (si_trapno): Remove macro.
15561 (si_addr_lsb): Define new macro.
15562 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15563
d369f531
JM
155642013-05-15 Joseph Myers <joseph@codesourcery.com>
15565
b861c6c4
JM
15566 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15567 instead of TEST_f_l.
15568 (llrint_test_tonearest): Likewise.
15569 (llrint_test_towardzero): Likewise.
15570 (llrint_test_downward): Likewise.
15571 (llrint_test_upward): Likewise.
15572 (llround_test): Likewise.
15573
7abeee12
JM
15574 * math/libm-test.inc (struct test_f_i_data): Add comment.
15575 (RUN_TEST_LOOP_f_b): New macro.
15576 (RUN_TEST_LOOP_f_b_tg): Likewise.
15577 (finite_test_data): New variable.
15578 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15579 (isfinite_test_data): New variable.
15580 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15581 (isinf_test_data): New variable.
15582 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15583 (isnan_test_data): New variable.
15584 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15585 (isnormal_test_data): New variable.
15586 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15587 (issignaling_test_data): New variable.
15588 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15589 (signbit_test_data): New variable.
15590 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15591
cbe8c4d3
JM
15592 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15593 with INVALID_EXCEPTION.
15594 (acosh_test_data): Likewise.
15595 (asin_test_data): Likewise.
15596 (atanh_test_data): Likewise.
15597 (fmod_test_data): Likewise.
15598 (log_test_data): Likewise.
15599 (log10_test_data): Likewise.
15600 (log2_test_data): Likewise.
15601 (pow_test_data): Likewise.
15602 (sqrt_test_data): Likewise.
15603 (y0_test_data): Likewise.
15604 (y1_test_data): Likewise.
15605 (yn_test_data): Likewise.
15606
5575c0e5
JM
15607 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15608 function contents.
15609
d369f531
JM
15610 * math/libm-test.inc (struct test_ff_i_data): New type.
15611 (RUN_TEST_LOOP_ff_i_tg): New macro.
15612 (isgreater_test_data): New variable.
15613 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15614 (isgreaterequal_test_data): New variable.
15615 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15616 (isless_test_data): New variable.
15617 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15618 (islessequal_test_data): New variable.
15619 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15620 (islessgreater_test_data): New variable.
15621 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15622 (isunordered_test_data): New variable.
15623 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15624
781fd748
DM
156252013-05-14 David S. Miller <davem@davemloft.net>
15626
15627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15628
87aa21df
JM
156292013-05-14 Joseph Myers <joseph@codesourcery.com>
15630
5e908270
JM
15631 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15632
f71172e5
JM
15633 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15634 extra_test to int.
15635 (struct test_f_i_data): Change type of max_ulp to int.
15636
8cfa635a
JM
15637 * math/libm-test.inc (test_ffI_f1_data): New type.
15638 (RUN_TEST_LOOP_ffI_f1): New macro.
15639 (remquo_test_data): New variable.
15640 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15641
2bcb36b2
JM
15642 * setjmp/tst-setjmp-fp.c: New file.
15643 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15644 (link-libm): New variable.
15645 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15646
acbd839a
JM
15647 * math/libm-test.inc (struct test_f_i_data): New type.
15648 (RUN_TEST_LOOP_f_i): New macro.
15649 (RUN_TEST_LOOP_f_i_tg): Likewise.
15650 (fpclassify_test_data): New variable.
15651 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15652 (ilogb_test_data): New variable.
15653 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15654
e414d745
JM
15655 * math/libm-test.inc (scalbln_test): Correct function name in END
15656 call.
15657
d9c2a0fd
JM
15658 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15659 (RUN_TEST_LOOP_fI_f1): New macro.
15660 (frexp_test_data): New variable.
15661 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15662
9dc9095d
JM
15663 * math/libm-test.inc (struct test_fF_f1_data): New type.
15664 (RUN_TEST_LOOP_fF_f1): New macro.
15665 (modf_test_data): New variable.
15666 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15667
87aa21df
JM
15668 * math/libm-test.inc (struct test_f_f1_data): New type.
15669 (RUN_TEST_LOOP_f_f1): New macro.
15670 (gamma_test_data): New variable.
15671 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15672 (lgamma_test_data): New variable.
15673 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15674
141af660
CD
156752013-05-13 Carlos O'Donell <carlos@redhat.com>
15676
15677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15678 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15679 (main): Comment "tls" pseudo-hwcap.
15680
6d33265c
JM
156812013-05-13 Joseph Myers <joseph@codesourcery.com>
15682
68fc074c
JM
15683 * math/libm-test.inc (struct test_fl_f_data): New type.
15684 (RUN_TEST_LOOP_fl_f): New variable.
15685 (scalbln_test_data): New variable.
15686 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15687
243216e1
JM
15688 * math/libm-test.inc (struct test_fi_f_data): New type.
15689 (RUN_TEST_LOOP_fi_f): New macro.
15690 (ldexp_test_data): New variable.
15691 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15692 (scalbn_test_data): New variable.
15693 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15694
6a1992e2
JM
15695 * math/libm-test.inc (struct test_c_f_data): New type.
15696 (RUN_TEST_LOOP_c_f): New macro.
15697 (cabs_test_data): New variable.
15698 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15699 (carg_test_data): New variable.
15700 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15701 (cimag_test_data): New variable.
15702 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15703 (creal_test_data): New variable.
15704 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15705
0e400df5
JM
15706 * math/libm-test.inc (struct test_if_f_data): New type.
15707 (RUN_TEST_LOOP_if_f): New macro.
15708 (jn_test_data): New variable.
15709 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15710 (yn_test_data): New variable.
15711 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15712
6d33265c
JM
15713 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15714
f98ece5f
AZ
157152013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15716
15717 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15718 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15719
0f7d347b
SP
157202013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15721
43fe811b
SP
15722 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15723 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15724 (bench-deps): Add bench-timing.h.
15725 * benchtests-bench-skeleton.c: Include bench-timing.h.
15726 (main): Use TIMING_* macros instead of clock_gettime.
15727 * benchtests/bench-timing.h: New file.
15728
0f7d347b
SP
15729 [BZ #14582]
15730 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15731 Renamed from _LIB_VERSION.
15732 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15733
601a3a5f
JM
157342013-05-12 Joseph Myers <joseph@codesourcery.com>
15735
4f184d30
JM
15736 * math/libm-test.inc (struct test_fff_f_data): New type.
15737 (RUN_TEST_LOOP_fff_f): New macro.
15738 (fma_test_data): New variable.
15739 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15740 (fma_towardzero_test_data): New variable.
15741 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15742 (fma_downward_test_data): New variable.
15743 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15744 (fma_upward_test_data): New variable.
15745 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15746
08198877
JM
15747 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15748 (struct test_c_c_data): New type.
15749 (RUN_TEST_LOOP_c_c): New macro.
15750 (cacos_test_data): New variable.
15751 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15752 (cacosh_test_data): New variable.
15753 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15754 (casin_test_data): New variable.
15755 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15756 (casinh_test_data): New variable.
15757 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15758 (catan_test_data): New variable.
15759 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15760 (catanh_test_data): New variable.
15761 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15762 (ccos_test_data): New variable.
15763 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15764 (ccosh_test_data): New variable.
15765 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15766 (cexp_test_data): New variable.
15767 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15768 (clog_test_data): New variable.
15769 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15770 (clog10_test_data): New variable.
15771 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15772 (conj_test_data): New variable.
15773 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15774 (cproj_test_data): New variable.
15775 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15776 (csin_test_data): New variable.
15777 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15778 (csinh_test_data): New variable.
15779 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15780 (csqrt_test_data): New variable.
15781 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15782 (ctan_test_data): New variable.
15783 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15784 (ctan_tonearest_test_data): New variable.
15785 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15786 (ctan_towardzero_test_data): New variable.
15787 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15788 (ctan_downward_test_data): New variable.
15789 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15790 (ctan_upward_test_data): New variable.
15791 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15792 (ctanh_test_data): New variable.
15793 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15794 (ctanh_tonearest_test_data): New variable.
15795 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15796 (ctanh_towardzero_test_data): New variable.
15797 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15798 (ctanh_downward_test_data): New variable.
15799 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15800 (ctanh_upward_test_data): New variable.
15801 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15802 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15803 of BUILD_COMPLEX.
15804
601a3a5f
JM
15805 * math/libm-test.inc (struct test_ff_f_data): New type.
15806 (struct test_ff_f_data_nexttoward): Likewise.
15807 (RUN_TEST_LOOP_2_f): New macro.
15808 (RUN_TEST_LOOP_ff_f): Likewise.
15809 (atan2_test_data): New variable.
15810 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15811 (copysign_test_data): New variable.
15812 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15813 (fdim_test_data): New variable.
15814 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15815 (fmax_test_data): New variable.
15816 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15817 (fmin_test_data): New variable.
15818 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15819 (fmod_test_data): New variable.
15820 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15821 (hypot_test_data): New variable.
15822 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15823 (nextafter_test_data): New variable.
15824 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15825 (nexttoward_test_data): New variable.
15826 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15827 (pow_test_data): New variable.
15828 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15829 (pow_tonearest_test_data): New variable.
15830 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15831 (pow_towardzero_test_data): New variable.
15832 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15833 (pow_downward_test_data): New variable.
15834 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15835 (pow_upward_test_data): New variable.
15836 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15837 (remainder_test_data): New variable.
15838 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15839 (scalb_test_data): New variable.
15840 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842
74c57478
JM
158432013-05-11 Joseph Myers <joseph@codesourcery.com>
15844
8329e4da
JM
15845 * math/libm-test.inc (fma_test): Use max_value instead of local
15846 variable fltmax.
15847 (nextafter_test): Likewise.
15848
74c57478
JM
15849 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15850 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15851 (acos_downward_test_data): New variable.
15852 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15853 (acos_upward_test_data): New variable.
15854 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15855 (acosh_test_data): New variable.
15856 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15857 (asin_test_data): New variable.
15858 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15859 (asin_tonearest_test_data): New variable.
15860 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15861 (asin_towardzero_test_data): New variable.
15862 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15863 (asin_downward_test_data): New variable.
15864 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15865 (asin_upward_test_data): New variable.
15866 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15867 (asinh_test_data): New variable.
15868 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15869 (atan_test_data): New variable.
15870 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15871 (atanh_test_data): New variable.
15872 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15873 (cbrt_test_data): New variable.
15874 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15875 (ceil_test_data): New variable.
15876 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15877 (cos_test_data): New variable.
15878 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15879 (cos_tonearest_test_data): New variable.
15880 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15881 (cos_towardzero_test_data): New variable.
15882 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15883 (cos_downward_test_data): New variable.
15884 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15885 (cos_upward_test_data): New variable.
15886 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15887 (cosh_test_data): New variable.
15888 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15889 (cosh_tonearest_test_data): New variable.
15890 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15891 (cosh_towardzero_test_data): New variable.
15892 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15893 (cosh_downward_test_data): New variable.
15894 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15895 (cosh_upward_test_data): New variable.
15896 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15897 (erf_test_data): New variable.
15898 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15899 (erfc_test_data): New variable.
15900 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15901 (exp_test_data): New variable.
15902 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15903 (exp_tonearest_test_data): New variable.
15904 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15905 (exp_towardzero_test_data): New variable.
15906 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15907 (exp_downward_test_data): New variable.
15908 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15909 (exp_upward_test_data): New variable.
15910 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15911 (exp10_test_data): New variable.
15912 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15913 (exp2_test_data): New variable.
15914 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15915 (expm1_test_data): New variable.
15916 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15917 (fabs_test_data): New variable.
15918 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15919 (floor_test_data): New variable.
15920 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15921 (j0_test_data): New variable.
15922 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15923 (j1_test_data): New variable.
15924 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15925 (log_test_data): New variable.
15926 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15927 (log10_test_data): New variable.
15928 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15929 (log1p_test_data): New variable.
15930 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15931 (log2_test_data): New variable.
15932 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15933 (logb_test_data): New variable.
15934 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15935 (logb_downward_test_data): New variable.
15936 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15937 (nearbyint_test_data): New variable.
15938 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15939 (rint_test_data): New variable.
15940 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15941 (rint_tonearest_test_data): New variable.
15942 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15943 (rint_towardzero_test_data): New variable.
15944 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15945 (rint_downward_test_data): New variable.
15946 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15947 (rint_upward_test_data): New variable.
15948 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15949 (round_test_data): New variable.
15950 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15951 (sin_test_data): New variable.
15952 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15953 (sin_tonearest_test_data): New variable.
15954 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15955 (sin_towardzero_test_data): New variable.
15956 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15957 (sin_downward_test_data): New variable.
15958 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15959 (sin_upward_test_data): New variable.
15960 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15961 (sinh_test_data): New variable.
15962 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15963 (sinh_tonearest_test_data): New variable.
15964 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15965 (sinh_towardzero_test_data): New variable.
15966 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15967 (sinh_downward_test_data): New variable.
15968 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15969 (sinh_upward_test_data): New variable.
15970 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15971 (sqrt_test_data): New variable.
15972 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15973 (tan_test_data): New variable.
15974 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15975 (tan_tonearest_test_data): New variable.
15976 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15977 (tan_towardzero_test_data): New variable.
15978 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15979 (tan_downward_test_data): New variable.
15980 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15981 (tan_upward_test_data): New variable.
15982 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15983 (tanh_test_data): New variable.
15984 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15985 (tgamma_test_data): New variable.
15986 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15987 (trunc_test_data): New variable.
15988 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15989 (y0_test_data): New variable.
15990 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15991 (y1_test_data): New variable.
15992 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15993 (significand_test_data): New variable.
15994 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15995
7187d844
CG
159962013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15997
15998 [BZ #12387]
15999 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16000
f63fae73
PT
160012013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16002
16003 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16004
8a67a4b3
AJ
160052013-05-10 Andreas Jaeger <aj@suse.de>
16006
16007 [BZ #15448]
16008 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16009 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16010
51df539d
JM
160112013-05-10 Joseph Myers <joseph@codesourcery.com>
16012
16013 * math/gen-libm-test.pl (adjust_arg): New function.
16014 (special_functions): Handle generating output in both functions
16015 and arrays.
16016 (parse_args): Likewise.
16017 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16018 $in_func argument to parse_args.
16019 * math/libm-test.inc (struct test_f_f_data): New type.
16020 (IF_ROUND_INIT_): New macro.
16021 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16022 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16023 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16024 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16025 (ROUND_RESTORE_): Likewise.
16026 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16027 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16028 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16029 (ROUND_RESTORE_FE_UPWARD): Likewise.
16030 (RUN_TEST_LOOP_f_f): New macro.
16031 (acos_test_data): New variable.
16032 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16033 (acos_tonearest_test_data): New variable.
16034 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16035
5c637fe5
SP
160362013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16037
16038 * benchtests/bench-skeleton.c (startup): Fix coding style.
16039
ab2b9461
JM
160402013-05-10 Joseph Myers <joseph@codesourcery.com>
16041
16042 [BZ #6809]
16043 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16044 negative infinity argument.
16045 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16046 negative infinity argument.
16047 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16048 negative infinity argument.
16049 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16050 domain errors.
16051
4c0fe6fe
FW
160522013-05-10 Florian Weimer <fweimer@redhat.com>
16053
16054 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16055 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16056 * iconv/iconv_prog.c (main): Likewise.
16057 * locale/programs/charmap-dir.c (charmap_readdir)
16058 (fopen_uncompressed): Likewise.
16059 * locale/programs/locfile.c (siblings_uncached)
16060 (write_locale_data): Use lstat64 instead of lstat.
16061 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16062 stat.
16063
a3375d29
AJ
160642013-05-10 Andreas Jaeger <aj@suse.de>
16065
16066 [BZ #15395]
16067 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16068 localization.
16069 Include <locale.h>.
16070
36129722
CD
160712013-05-09 Carlos O'Donell <carlos@redhat.com>
16072
16073 * elf/dl-close.c (_dl_close_worker): Add comments.
16074
faa7f811
JM
160752013-05-09 Joseph Myers <joseph@codesourcery.com>
16076
ed41ffef
JM
16077 [BZ #15359]
16078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16079 high part of pi/2.
16080 (__ieee754_rem_pio2l): Update comments.
16081
d0213cd0
JM
16082 [BZ #15429]
16083 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16084 high part of pi/2.
16085 (__ieee754_rem_pio2l): Update comments.
16086
0d3e777a
JM
16087 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16088 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16089
24f56066
JM
16090 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16091 M_PI_4l.
16092
faa7f811
JM
16093 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16094 (M_PI_34_LOG10El): Likewise.
16095 (M_PI2_LOG10El): Likewise.
16096 (M_PI4_LOG10El): Likewise.
16097 (M_PI_LOG10El): Likewise.
16098
e9a5e0fd
AZ
160992013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16100
16101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16102
d8cd06db
JM
161032013-05-08 Joseph Myers <joseph@codesourcery.com>
16104
a0d9f9d7
JM
16105 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16106 (MINUS_ZERO_INIT): Likewise.
16107 (PLUS_INFTY_INIT): Likewise.
16108 (MINUS_INFTY_INIT): Likewise.
16109 (QNAN_VALUE_INIT): Likewise.
16110 (MAX_VALUE_INIT): Likewise.
16111 (MIN_VALUE_INIT): Likewise.
16112 (MIN_SUBNORM_VALUE_INIT): Likewise.
16113 (plus_zero): Initialize with PLUS_ZERO_INIT.
16114 (minus_zero): Initialize with MINUS_ZERO_INIT.
16115 (plus_infty): Initialize with PLUS_INFTY_INIT.
16116 (minus_infty): Initialize with MINUS_INFTY_INIT.
16117 (qnan_value): Initialize with QNAN_VALUE_INIT.
16118 (max_value): Initialize with MAX_VALUE_INIT.
16119 (min_value): Initialize with MIN_VALUE_INIT.
16120 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16121
ae08db3b
JM
16122 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16123 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16124 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16125 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16126
f44bf14a
JM
16127 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16128 (RUN_TEST_2_f): Likewise.
16129 (RUN_TEST_ff_f): Likewise.
16130 (RUN_TEST_fi_f): Likewise.
16131 (RUN_TEST_fl_f): Likewise.
16132 (RUN_TEST_fff_f): Likewise.
16133 (RUN_TEST_c_f): Likewise.
16134 (RUN_TEST_f_f1): Likewise.
16135 (RUN_TEST_fF_f1): Likewise.
16136 (RUN_TEST_fI_f1): Likewise.
16137 (RUN_TEST_ffI_f1): Likewise.
16138 (RUN_TEST_c_c): Likewise.
16139 (RUN_TEST_cc_c): Likewise.
16140 (RUN_TEST_f_i): Likewise.
16141 (RUN_TEST_f_i_tg): Likewise.
16142 (RUN_TEST_ff_i_tg): Likewise.
16143 (RUN_TEST_f_b): Likewise.
16144 (RUN_TEST_f_b_tg): Likewise.
16145 (RUN_TEST_f_l): Likewise.
16146 (RUN_TEST_f_L): Likewise.
16147 (RUN_TEST_sincos): Likewise.
16148 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16149 whether to show exceptions. Do not include ");\n" in return
16150 value.
16151 (special_functions): Output call to RUN_TEST_sincos instead of
16152 check_float calls. Update calls to new_test.
16153 (parse_args): Output call to single RUN_TEST_* macro instead of
16154 check_* calls and other assignments. Update calls to new_test.
16155
d8cd06db
JM
16156 [BZ #2546]
16157 [BZ #2560]
16158 [BZ #5159]
16159 [BZ #15426]
16160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16161 input to result for tgamma overflow.
16162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16163 (gamma_coeff): New variable.
16164 (NCOEFF): New macro.
16165 (gamma_positive): New function.
16166 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16167 underflow here. Use gamma_positive instead of exp (lgamma) for
16168 other arguments.
16169 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16170 (gamma_coeff): New variable.
16171 (NCOEFF): New macro.
16172 (gammaf_positive): New function.
16173 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16174 underflow here. Use gamma_positive instead of exp (lgamma) for
16175 other arguments.
16176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16177 (gamma_coeff): New variable.
16178 (NCOEFF): New macro.
16179 (gammal_positive): New function.
16180 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16181 underflow here. Use gamma_positive instead of exp (lgamma) for
16182 other arguments.
16183 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16184 (gamma_coeff): New variable.
16185 (NCOEFF): New macro.
16186 (gammal_positive): New function.
16187 (__ieee754_gammal_r): Handle positive infinity, overflow and
16188 underflow here. Handle NaN the same as positive infinity. Remove
16189 check x < 0xffffffff for negative integers. Use gamma_positive
16190 instead of exp (lgamma) for other arguments.
16191 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16192 (gamma_coeff): New variable.
16193 (NCOEFF): New macro.
16194 (gammal_positive): New function.
16195 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16196 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16198 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16201 * sysdeps/generic/math_private.h (__gamma_productf): New
16202 prototype.
16203 (__gamma_product): Likewise.
16204 (__gamma_productl): Likewise.
16205 * math/Makefile (libm-calls): Add gamma_product.
16206 * math/libm-test.inc (tgamma_test): Add more tests.
16207 * sysdeps/i386/fpu/libm-test-ulps: Update.
16208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16209
bb7cf681
OB
162102013-05-08 Ondřej Bílka <neleai@seznam.cz>
16211
16212 * benchtests/bench-skeleton.c (main): Preheat CPU.
16213
ba853947
AJ
162142013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16215
16216 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16217
8347c74c
RM
162182013-05-07 Roland McGrath <roland@hack.frob.com>
16219
16220 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16221 and _dl_skip_args_internal.
16222
e8dd4791
CD
162232013-05-07 Carlos O'Donell <carlos@redhat.com>
16224
16225 * manual/message.texi (Message Translation): Talk about users.
16226 Message to key mapping impacts design.
16227
c7405830
RM
162282013-05-06 Roland McGrath <roland@hack.frob.com>
16229
a9173057
RM
16230 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16231
976e2f03
RM
16232 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16233
9723ffc5
RM
16234 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16235 * sysdeps/wordsize-64/glob64.c: ... here.
16236
962e6658
RM
16237 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16238 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16239 New macros.
16240
ee586a6d
RM
16241 * debug/getlogin_r_chk.c: Moved to ...
16242 * login/getlogin_r_chk.c: ... here.
16243 * debug/Makefile (routines): Move getlogin_r_chk to ...
16244 * login/Makefile (routines): ... here.
16245 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16246 * login/Versions (libc: GLIBC_2.4): ... here.
16247
355f9165
RM
16248 * io/poll.c (__poll): Renamed from poll.
16249 Add libc_hidden_def.
16250 (poll): Define as weak alias.
16251
bd9ffde6
RM
16252 * debug/ptsname_r_chk.c: Moved to ...
16253 * login/ptsname_r_chk.c: ... here.
16254 * debug/Makefile (routines): Move ptsname_r_chk to ...
16255 * login/Makefile (routines): ... here.
16256 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16257 * login/Versions (libc: GLIBC_2.4): ... here.
16258
8fb16a04
RM
16259 * posix/getlogin.c: Moved to ...
16260 * login/getlogin.c: ... here.
16261 * posix/getlogin_r.c: Moved to ...
16262 * login/getlogin_r.c: ... here.
16263 * posix/getlogin_r.c: Moved to ...
16264 * login/getlogin_r.c: ... here.
16265 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16266 * login/Makefile (routines): ... here.
16267 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16268 * login/Versions (libc: GLIBC_2.0): ... here.
16269
b99b892f
RM
16270 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16271 (setrlimit): Define as weak alias.
16272
c7405830
RM
16273 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16274 Call __ names for open, ftruncate, and close.
16275 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16276 (truncate): Define as weak alias.
16277
5bf96de5
JM
162782013-05-06 Joseph Myers <joseph@codesourcery.com>
16279
9ea3513c
JM
16280 * math/gen-libm-test.pl (parse_args): Initialize x before each
16281 test of frexp, modf and remquo.
16282
5bf96de5
JM
16283 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16284 test signgam value.
16285
16e616a7
AZ
162862013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16287
16288 [BZ #15418]
16289 [BZ #15419]
16290 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16291 internal tests.
16292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16293
d5e82754
RM
162942013-05-06 Roland McGrath <roland@hack.frob.com>
16295
16296 * elf/dl-writev.h: New file.
16297 * elf/dl-misc.c: Include it.
16298 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16299 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16300
a7548d41
JM
163012013-05-04 Joseph Myers <joseph@codesourcery.com>
16302
b7dab1e4
JM
16303 * math/libm-test.inc (noXFails): Remove variable.
16304 (noXPasses): Likewise.
16305 (BUILD_COMPLEX_INT): Remove macro.
16306 (print_screen): Remove xfail argument.
16307 (print_screen_max_error): Likewise.
16308 (update_stats): Likewise.
16309 (print_max_error): Likewise. Update calls to other affected
16310 functions.
16311 (print_complex_max_error): Likewise.
16312 (test_single_exception): Update calls to print_screen.
16313 (test_single_errno): Likewise.
16314 (check_float_internal): Remove xfail argument. Update calls to
16315 other affected functions.
16316 (check_float): Likewise.
16317 (check_complex): Likewise.
16318 (check_int): Likewise.
16319 (check_long): Likewise.
16320 (check_bool): Likewise.
16321 (check_longlong): Likewise.
16322 (main): Don't print noXFails and noXPasses.
16323 * math/gen-libm-test.pl (top level): Don't mention expected
16324 failure handling in comment.
16325 (new_test): Don't handle expected failures.
16326 (parse_args): Don't mention expected failure handling in comment.
16327 (generate_testfile): Don't handle expected failures.
16328 (parse_ulps): Likewise.
16329 (print_ulps_file): Likewise.
16330 (get_failure): Remove function.
16331 (output_test): Don't handle expected failures.
16332 * make/README.libm-test: Don't mention expected failure handling.
16333
a7548d41
JM
16334 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16335 (minus_zero): Likewise.
16336 (plus_infty): Likewise.
16337 (minus_infty): Likewise.
16338 (qnan_value): Likewise.
16339 (max_value): Likewise.
16340 (min_value): Likewise.
16341 (min_subnorm_value): Likewise.
16342 (initialize): Do not initialize those variables dynamically.
16343
60bfd54c
RM
163442013-05-03 Roland McGrath <roland@hack.frob.com>
16345
cc0e6ed8
RM
16346 * io/open.c (__open_2): Moved to ...
16347 * io/open_2.c: ... this new file.
16348 * io/open64.c (__open64_2): Moved to ...
16349 * io/open64_2.c: ... this new file.
16350 * io/openat.c (__openat_2): Moved to ...
16351 * io/openat_2.c: ... this new file.
16352 * io/openat64.c (__openat64_2): Moved to ...
16353 * io/openat64_2.c: ... this new file.
16354 * io/Makefile (routines): Add them.
16355 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16356 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16357 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16358 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16359 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16360 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16361 (__openat64): Add hidden_ver.
16362 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16363 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16364
60bfd54c
RM
16365 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16366 Separately conditionalize setting of GLRO(dl_sysinfo) so
16367 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16368 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16369
83e7640f
AZ
163702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16371
16372 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16373 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16374 definition.
16375 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16376 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16377 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16378 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16379 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16380
d5dc2af3
JM
163812013-05-03 Joseph Myers <joseph@codesourcery.com>
16382
c31a5b1e
JM
16383 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16384 test signgam value.
16385
d5dc2af3
JM
16386 * math/libm-test.inc (hypot_test): Do not use
16387 IGNORE_ZERO_INF_SIGN.
16388
164fd39d
AJ
163892013-05-03 Andreas Jaeger <aj@suse.de>
16390
16391 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16392 Linux 3.9.
16393 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16394 (PF_MAX): Adjust for VSOCK change.
16395
8237f48c
AZ
163962013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16399
9df02941
CD
164002013-05-02 Carlos O'Donell <carlos@redhat.com>
16401
16402 [BZ #15264]
16403 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16404 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16405 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16406
d422395e
DM
164072013-05-02 David S. Miller <davem@davemloft.net>
16408
16409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16410
a07c5731
OB
164112013-05-01 Ondřej Bílka <neleai@seznam.cz>
16412
16413 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16414
1324e37f
RM
164152013-05-01 Roland McGrath <roland@hack.frob.com>
16416
16417 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16418
0695940b
RS
164192013-05-01 Richard Smith <richard@metafoo.co.uk>
16420
bb5f27ad 16421 [BZ #14952]
0695940b
RS
16422 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16423 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16424 Use __attribute__ ((__gnu_inline__)).
16425 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16426 Don't use __attribute__ ((__gnu_inline__)).
16427
10de07f5
JM
164282013-05-01 Joseph Myers <joseph@codesourcery.com>
16429
16430 [BZ #15423]
16431 * math/s_catan.c (__catan): Handle small real or imaginary part of
16432 input specially to avoid spurious underflow.
16433 * math/s_catanf.c (__catanf): Likewise.
16434 * math/s_catanh.c (__catanh): Likewise.
16435 * math/s_catanhf.c (__catanhf): Likewise.
16436 * math/s_catanhl.c (__catanhl): Likewise.
16437 * math/s_catanl.c (__catanl): Likewise.
16438 * math/libm-test.inc (catan_test): Add more tests.
16439 (catanh_test): Likewise.
16440 * sysdeps/i386/fpu/libm-test-ulps: Update.
16441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16442
cb4d5414
AZ
164432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16444
16445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16446
caf84319
JM
164472013-04-30 Joseph Myers <joseph@codesourcery.com>
16448
16449 [BZ #15416]
16450 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16451 accurately for denominator in atan2.
16452 * math/s_catanf.c (__catanf): Likewise.
16453 * math/s_catanh.c (__catanh): Likewise.
16454 * math/s_catanhf.c (__catanhf): Likewise.
16455 * math/s_catanhl.c (__catanhl): Likewise.
16456 * math/s_catanl.c (__catanl): Likewise.
16457 * math/libm-test.inc (catan_test): Add more tests.
16458 (catanh_test): Likewise.
16459 * sysdeps/i386/fpu/libm-test-ulps: Update.
16460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461
d569c6ee
SP
164622013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16463
6dbe713d
SP
16464 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16465
f0ee064b
SP
16466 * benchtests/Makefile (bench): Remove slow benchmarks.
16467 * benchtests/atan-inputs: Add slow benchmark inputs.
16468 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16469 (BENCH_FUNC): Accept variant offset.
16470 (VARIANT): Define.
16471 * benchtests/bench-skeleton.c (main): Run benchmark for each
16472 variant.
16473 * benchtests/cos-inputs: Add slow benchmark inputs.
16474 * benchtests/exp-inputs: Likewise.
16475 * benchtests/pow-inputs: Likewise.
16476 * benchtests/sin-inputs: Likewise.
16477 * benchtests/slowatan-inputs: Remove.
16478 * benchtests/slowatan.c: Remove.
16479 * benchtests/slowcos-inputs: Remove.
16480 * benchtests/slowcos.c: Remove.
16481 * benchtests/slowexp-inputs: Remove.
16482 * benchtests/slowexp.c: Remove.
16483 * benchtests/slowpow-inputs: Remove.
16484 * benchtests/slowpow.c: Remove.
16485 * benchtests/slowsin-inputs: Remove.
16486 * benchtests/slowsin.c: Remove.
16487 * benchtests/slowtan-inputs: Remove.
16488 * benchtests/slowtan.c: Remove.
16489 * benchtests/tan-inputs: Add slow benchmark inputs.
16490 * scripts/bench.pl: Parse comments and directives.
16491
d569c6ee
SP
16492 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16493 in CPPFLAGS.
16494 ($(objpfx)bench-%.c): Remove *-ITER.
16495 * benchtests/bench-modf.c: Remove definition of ITER.
16496 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16497 (main): Loop for DURATION seconds instead of fixed number of
16498 iterations.
16499 * scripts/bench.pl: Don't expect iterations in parameters.
16500
a6a242fe
RM
165012013-04-29 Roland McGrath <roland@hack.frob.com>
16502
16503 * io/fchdir.c (__fchdir): Renamed from fchdir.
16504 (fchdir): Define as weak alias.
16505
f2da7793
JM
165062013-04-29 Joseph Myers <joseph@codesourcery.com>
16507
16508 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16509 (ERRNO_EDOM): Likewise.
16510 (ERRNO_ERANGE): Likewise.
16511 (noErrnoTests): New variable.
16512 (init_max_error): Set errno to 0.
16513 (test_single_errno): New function.
16514 (test_errno): Likewise.
16515 (check_float_internal): Call test_errno. Set errno to 0.
16516 (check_complex): Refer to errno tests in comment.
16517 (check_int): Call test_errno. Set errno to 0.
16518 (check_long): Likewise.
16519 (check_bool): Likewise.
16520 (check_longlong): Likewise.
16521 (cos_test): Use ERRNO_* flags for errno tests instead of
16522 check_int.
16523 (expm1_test): Likewise.
16524 (fmod_test): Likewise.
16525 (ilogb_test): Likewise.
16526 (lgamma_test): Likewise.
16527 (pow_test): Likewise.
16528 (remainder_test): Likewise.
16529 (sin_test): Likewise.
16530 (tan_test): Likewise.
16531 (yn_test): Likewise.
16532 (initialize): Set errno to 0.
16533 (main): Print number of errno tests.
16534 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16535
b1a36ceb
AJ
165362013-04-29 Andreas Jaeger <aj@suse.de>
16537
c3ed8088
AJ
16538 [BZ #15084]
16539 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16540 and RES_USEVC.
16541
f1a24198
AJ
16542 [BZ #15085]
16543 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16544 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16545 unimplemented.
16546
9ce3b2cb
AJ
16547 [BZ #15380]
16548 * stdlib/random.c (__initstate): Return NULL if
16549 __initstate fails.
16550
f1a24198 16551 [BZ #15086]
b1a36ceb
AJ
16552 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16553 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16554 RES_SNGLKUPREOP.
16555
7e7b6f36
AZ
165562013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16557
16558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16559
4d14f449
JM
165602013-04-29 Joseph Myers <joseph@codesourcery.com>
16561
16562 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16563 of individual tests.
16564 (casin_test): Likewise.
16565 (casinh_test): Likewise.
16566
5b4217d7
JM
165672013-04-27 Joseph Myers <joseph@codesourcery.com>
16568
16569 [BZ #15409]
16570 * math/s_catan.c (__catan): Handle arguments with large real or
16571 imaginary part separately without squaring.
16572 * math/s_catanf.c (__catanf): Likewise.
16573 * math/s_catanh.c (__catanh): Likewise.
16574 * math/s_catanhf.c (__catanhf): Likewise.
16575 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16576 and redefine.
16577 (__catanhl): Handle arguments with large real or imaginary part
16578 separately without squaring.
16579 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16580 and redefine.
16581 (__catanl): Handle arguments with large real or imaginary part
16582 separately without squaring.
16583 * math/libm-test.inc (catan_test): Add more tests.
16584 (catanh_test): Likewise.
16585 * sysdeps/i386/fpu/libm-test-ulps: Update.
16586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16587
4220c3ef
AJ
165882013-04-27 Andreas Jaeger <aj@suse.de>
16589
16590 [BZ #15007]
16591 * stdlib/stdlib.h: Update guards for qecvt.
16592 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16593 <stdlib.h>.
16594
4721b2d1
AM
165952013-04-27 Allan McRae <allan@archlinux.org>
16596
16597 * sysdeps/i386/fpu/libm-test-ulps: Update.
16598
f0302940
JM
165992013-04-26 Joseph Myers <joseph@codesourcery.com>
16600
9457fd95
JM
16601 [BZ #15406]
16602 * math/s_catan.c: Include <float.h>.
16603 (__catan): Ensure underflow exception occurs for underflowed
16604 result.
16605 * math/s_catanf.c: Include <float.h>.
16606 (__catanf): Ensure underflow exception occurs for underflowed
16607 result.
16608 * math/s_catanh.c: Include <float.h>.
16609 (__catanh): Ensure underflow exception occurs for underflowed
16610 result.
16611 * math/s_catanhf.c: Include <float.h>.
16612 (__catanhf): Ensure underflow exception occurs for underflowed
16613 result.
16614 * math/s_catanhl.c: Include <float.h>.
16615 (__catanhl): Ensure underflow exception occurs for underflowed
16616 result.
16617 * math/s_catanl.c: Include <float.h>.
16618 (__catanl): Ensure underflow exception occurs for underflowed
16619 result.
16620 * math/libm-test.inc (catan_test): Add more tests.
16621 (catanh_test): Likewise.
16622
f0302940
JM
16623 [BZ #15405]
16624 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16625 underflowed result.
16626 * math/s_ccoshf.c (__ccoshf): Likewise.
16627 * math/s_ccoshl.c (__ccoshl): Likewise.
16628 * math/s_csin.c (__csin): Likewise.
16629 * math/s_csinf.c (__csinf): Likewise.
16630 * math/s_csinh.c (__csinh): Likewise.
16631 * math/s_csinhf.c (__csinhf): Likewise.
16632 * math/s_csinhl.c (__csinhl): Likewise.
16633 * math/s_csinl.c (__csinl): Likewise.
16634 * math/libm-test.inc (ccos_test): Add more tests.
16635 (ccosh_test): Likewise.
16636 (csin_test): Likewise.
16637 (csinh_test): Likewise.
16638
aa630f59
AZ
166392013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16640
16641 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16642 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16643 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16644 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16645 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16646 powerpc/power5+/fpu folders.
16647 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16648
16649
1b835983
MT
166502013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16651
16652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16653
73709b26
JM
166542013-04-25 Joseph Myers <joseph@codesourcery.com>
16655
16656 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16657 additions to variable.
16658 [$(config-machine) = x86_64] (modules-names): Likewise.
16659 ($(objpfx)tst-audit3): Remove dependency.
16660 ($(objpfx)tst-audit3.out): Likewise.
16661 ($(objpfx)tst-audit4): Likewise.
16662 ($(objpfx)tst-audit4.out): Likewise.
16663 ($(objpfx)tst-audit5): Likewise.
16664 ($(objpfx)tst-audit5.out): Likewise.
16665 ($(objpfx)tst-audit6): Likewise.
16666 ($(objpfx)tst-audit6.out): Likewise.
16667 ($(objpfx)tst-audit7): Likewise.
16668 ($(objpfx)tst-audit7.out): Likewise.
16669 (tst-audit3-ENV): Remove variable.
16670 (tst-audit4-ENV): Likewise.
16671 (tst-audit5-ENV): Likewise.
16672 (tst-audit6-ENV): Likewise.
16673 (tst-audit7-ENV): Likewise.
16674 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16675 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16676 addition to variable.
16677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16682 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16683 tst-audit3, tst-audit4 and tst-audit5.
16684 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16685 tst-audit6 and tst-audit7.
16686 [$(subdir) = elf] (modules-names): Add audit modules for those
16687 tests.
16688 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16689 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16690 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16691 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16692 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16693 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16694 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16695 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16696 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16697 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16698 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16699 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16700 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16701 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16702 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16703 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16704 Likewise.
16705 [$(subdir) = elf && $(config-cflags-avx) = yes]
16706 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16707 [$(subdir) = elf && $(config-cflags-avx) = yes]
16708 (CFLAGS-tst-auditmod4a.c): Likewise.
16709 [$(subdir) = elf && $(config-cflags-avx) = yes]
16710 (CFLAGS-tst-auditmod4b.c): Likewise.
16711 [$(subdir) = elf && $(config-cflags-avx) = yes]
16712 (CFLAGS-tst-auditmod6b.c): Likewise.
16713 [$(subdir) = elf && $(config-cflags-avx) = yes]
16714 (CFLAGS-tst-auditmod6c.c): Likewise.
16715 [$(subdir) = elf && $(config-cflags-avx) = yes]
16716 (CFLAGS-tst-auditmod7b.c): Likewise.
16717 * elf/tst-audit3.c: Move to ...
16718 * sysdeps/x86_64/tst-audit3.c: ... here.
16719 * elf/tst-audit4.c: Move to ...
16720 * sysdeps/x86_64/tst-audit4.c: ... here.
16721 * elf/tst-audit5.c: Move to ...
16722 * sysdeps/x86_64/tst-audit5.c: ... here.
16723 * elf/tst-audit6.c: Move to ...
16724 * sysdeps/x86_64/tst-audit6.c: ... here.
16725 * elf/tst-audit7.c: Move to ...
16726 * sysdeps/x86_64/tst-audit7.c: ... here.
16727 * elf/tst-auditmod3a.c: Move to ...
16728 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16729 * elf/tst-auditmod3b.c: Move to ...
16730 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16731 * elf/tst-auditmod4a.c: Move to ...
16732 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16733 * elf/tst-auditmod4b.c: Move to ...
16734 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16735 * elf/tst-auditmod5a.c: Move to ...
16736 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16737 * elf/tst-auditmod5b.c: Move to ...
16738 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16739 * elf/tst-auditmod6a.c: Move to ...
16740 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16741 * elf/tst-auditmod6b.c: Move to ...
16742 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16743 * elf/tst-auditmod6c.c: Move to ...
16744 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16745 * elf/tst-auditmod7a.c: Move to ...
16746 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16747 * elf/tst-auditmod7b.c: Move to ...
16748 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16749
1ef74943
PP
167502013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16751
16752 [BZ #15366]
16753 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16754 define unconditionally.
16755 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16756 define unconditionally.
16757 (INT8_C, INT16_C, etc.): Likewise.
16758
93fd48c5
MR
167592013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16760
ae9552cf
MR
16761 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16762 __ehdr_start with hidden visibility.
16763
93fd48c5
MR
16764 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16765
418601aa
CD
167662013-04-24 Carlos O'Donell <carlos@redhat.com>
16767
16768 * math/libm-test.inc (cos_test): Use accurate hex constants.
16769 (sincost_test): Likewise.
16770
2f38fbfe
JM
167712013-04-24 Joseph Myers <joseph@codesourcery.com>
16772
5e221800
JM
16773 * math/libm-test.inc (catan_test): Add more tests.
16774 (catanh_test): Likewise.
16775
77f143fd
JM
16776 * math/s_catanf.c (__catanf): Use suffixed floating-point
16777 constants.
16778 * math/s_catanhf.c (__catanhf): Likewise.
16779 * math/s_catanhl.c (__catanhl): Likewise.
16780 * math/s_catanl.c (__catanl): Likewise.
16781
2f38fbfe
JM
16782 [BZ #15394]
16783 * math/s_catan.c (__catan): Calculate imaginary part of result
16784 with log1p not log unless computing log of number close to 0.
16785 * math/s_catanf.c (__catanf): Likewise.
16786 * math/s_catanl.c (__catanl): Likewise.
16787 * math/s_catanh.c (__catanh): Calculate real part of result with
16788 log1p not log unless computing log of number close to 0.
16789 * math/s_catanhf.c (__catanhf): Likewise.
16790 * math/s_catanhl.c (__catanhl): Likewise.
16791 * math/libm-test.inc (catan_test): Add more tests.
16792 (catanh_test): Likewise.
16793 * sysdeps/i386/fpu/libm-test-ulps: Update.
16794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16795
45d69176
SP
167962013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16797
16798 * benchtests/Makefile: Mention files in which fast and slow
16799 paths of math functions are implemented.
16800
87f51853
RM
168012013-04-23 Roland McGrath <roland@hack.frob.com>
16802
16803 * sysdeps/posix/timespec_get.c: New file.
16804
3c026539
AZ
168052013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806
16807 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16808 POWER.
16809 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16810 for POWER.
16811 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16812 powerpc/power5/fpu folders.
16813 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16814 * benchtests/Makefile: Add modf testcase.
16815 * benchtests/bench-modf.c: New file: Benchmark test for mo
16816
ff491d14
SP
168172013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16818
16819 [BZ #14888]
16820 * time/Makefile (tests): Add tst-strptime-whitespace.
16821 * time/strptime_l.c (get_number): Use ISSPACE.
16822 (__strptime_internal): Likewise.
16823 * time/tst-strptime-whitespace.c: New test case.
16824
7ed3f4e8
AS
168252013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16826
16827 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16828 member.
16829 (_nss_files_init): Set it here.
16830
5c95f7b6
HC
168312013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16832
16833 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16834 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16835 unsigned.
16836
d34c9158
JBG
168372013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16838
16839 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16840
2169712d
SP
168412013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16842
16843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16844 size just once.
16845
29c5de99
DM
168462013-04-21 David S. Miller <davem@davemloft.net>
16847
16848 * po/ru.po: Update Russion translation from translation project.
16849
ccdad15d
AC
168502013-04-17 Adam Conrad <adconrad@0c3.net>
16851
16852 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16853 and setfsgid.
16854
0f122b8d
CD
168552013-04-17 Carlos O'Donell <carlos@redhat.com>
16856
5c5b07da 16857 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16858 * configure: Regenerate.
5c5b07da 16859 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16860 Add example to error message.
16861 * sysdeps/i386/configure: Regenerate.
16862
037714dd
SP
168632013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16864
16865 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16866 slowtan.
16867 * benchtests/cos-inputs: New file.
16868 * benchtests/slowcos-inputs: New file.
16869 * benchtests/slowcos.c: New file.
16870 * benchtests/slowtan-inputs: New file.
16871 * benchtests/slowtan.c: New file.
16872 * benchtests/tan-inputs: New file.
16873
e913141d
RM
168742013-04-16 Roland McGrath <roland@hack.frob.com>
16875
16876 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16877 considered kosher.
16878
a2964074
SP
168792013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16880
4856bcd2
SP
16881 * benchtests/Makefile: Include cppflags-iterator.mk to add
16882 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16883
a2964074
SP
16884 * Makefile.in (bench-clean): New target.
16885 * benchtests/Makefile (bench-clean): Likewise.
16886
9fbf9aca
DH
168872013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16888
16889 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16890
207d1e2a
TS
168912013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16892
16893 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16894
306dfba9
AS
168952013-04-15 Andreas Schwab <schwab@suse.de>
16896
16897 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16899 * nscd/pwdcache.c (cache_addpw): Likewise.
16900 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16901 more than recsize.
16902
206a6699
SP
169032013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16904
16905 * benchtests/Makefile (bench): Write all output to
16906 bench-out.tmp together.
16907
0582f6b3
AS
169082013-04-15 Andreas Schwab <schwab@suse.de>
16909
16910 * nscd/nscd.c (main): Don't fork again after closing files.
16911
acb4325f
SP
169122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16913
5cb26d0a
SP
16914 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16915
acb4325f
SP
16916 * benchtests/Rules (bench-deps): Collect dependencies into a
16917 single variable. Add Makefile to dependencies.
16918 ($(objpfx)bench-%.c): Depend on bench-deps.
16919
47792506
RM
169202013-04-12 Roland McGrath <roland@hack.frob.com>
16921 Xavier Roche <roche+kml2@exalead.com>
16922
16923 [BZ #15361]
16924 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16925 just that it's a file descriptor.
16926 * manual/llio.texi (Synchronizing AIO Operations): Update description
16927 for EBADF error from aio_fsync.
16928
8fc1bee5
SP
169292013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16930
16931 * Rules (bench): Move target definition...
16932 * benchtests/Makefile: ... here.
16933
aba5e333
CD
169342013-04-11 Carlos O'Donell <carlos@redhat.com>
16935
16936 * math/libm-test.inc (cos_test): Fix PI/2 test.
16937 (sincos_test): Likewise.
16938 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16939 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16940
273cdee8
AS
169412013-04-11 Andreas Schwab <schwab@suse.de>
16942
6ecec3b6
AS
16943 [BZ #13988]
16944 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16945 accept exponent character only when digits were seen.
16946 * stdio-common/Makefile (tests): Add bug26.
16947 * stdio-common/bug26.c: New file.
16948
273cdee8
AS
16949 [BZ #14293]
16950 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16951 non-freeable.
16952
8da491f5
SP
169532013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16954
01dc6df9
SP
16955 * Makeconfig (rtld-prefix): Define built linker prefix.
16956 * Rules (run-bench): Use it.
16957 * math/Makefile (run-regen-ulps): Likewise.
16958
8da491f5
SP
16959 * Rules (bench): Remove eval.
16960
abe7f530
SP
169612013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16962 Roland McGrath <roland@hack.frob.com>
16963 Ondrej Bilka <neleai@seznam.cz>
16964
16965 [BZ #15346]
16966 * time/getdate.c: Include ctype.h and alloca.h.
16967 (__getdate_r): Trim leading and trailing spaces of input.
16968 * time/tst-getdate.c (tests): Add tests with leading and
16969 trailing spaces.
16970
61c23e62
RM
169712013-04-08 Roland McGrath <roland@hack.frob.com>
16972
16973 [BZ #14280]
16974 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16975 when computing value.
16976
7208a313
CD
169772013-04-06 Carlos O'Donell <carlos@redhat.com>
16978
085b2d41
CD
16979 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16980 Use testrun.sh to run libm tests.
16981
7208a313
CD
16982 [BZ #15309]
16983 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16984
872c0acd
MM
169852013-04-06 Marko Myllynen <myllynen@redhat.com>
16986
16987 [BZ #15264]
16988 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16989
26510bdd
CD
169902013-04-06 Carlos O'Donell <carlos@redhat.com>
16991
16992 * Makefile.in (regen-ulps): New target.
16993 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16994 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16995 [ifneq (no,$(PERL)] (regen-ulps): New target.
16996 [ifeq (no,$(PERL)] (regen-ulps): New target.
16997 * math/libm-test.inc (ulps_file_name): Define.
16998 (output_dir): New variable.
16999 (options): Add "output-dir" option.
17000 (parse_opt): Handle 'o' case.
17001 (main): If output_dir is non-NULL use it as a prefix
17002 otherwise use "".
17003 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17004
a01f19c8
CD
170052013-04-06 Carlos O'Donell <carlos@redhat.com>
17006
17007 [BZ #10060, #10062]
17008 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17009 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17010 fail configure if __sync_val_compare_and_swap is not inlined.
17011 * sysdeps/i386/configure: Regenerate.
17012 * configure.in: Build for i686 when configured for i386.
17013 * configure: Regenerate.
17014 * README: Remove i386 reference.
17015
b7a329a5
CD
170162013-04-06 Carlos O'Donell <carlos@redhat.com>
17017
17018 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17020
bf0f50df
TS
170212013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17022
ee091edf
TS
17023 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17024 (lmsnanval): New variables.
17025 (F): Add conversion tests.
17026 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17027 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17028
a8b792d6
TS
17029 * stdio-common/tstdiomisc.c (F): Properly collect individual
17030 tests' results.
17031
a1cbf437
TS
17032 [BZ #14686, #15336]
17033 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17034 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17035 Instead, use input NaN values or generate a qNaN by arithmetic
17036 operation. Also fix bugs to comply with the standard.
17037 * math/libm-test.inc (remainder_test): Add more tests.
17038
8b43a0c9
TS
17039 [BZ #15335, #15342]
17040 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17042 input NaN values or generate a qNaN by arithmetic operation.
17043
d91da4ce
TS
17044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17045 unreachable code.
17046
bf0f50df
TS
17047 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17048 definitions.
17049
05e166c8
JM
170502013-04-03 Joseph Myers <joseph@codesourcery.com>
17051
17052 [BZ #14478]
17053 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17054 underflowed result.
17055 * math/s_cexpf.c (__cexpf): Likewise.
17056 * math/s_cexpl.c (__cexpl): Likewise.
17057 * math/libm-test.inc (cexp_test): Add more tests.
17058
1cef1b19
AS
170592013-04-03 Andreas Schwab <schwab@suse.de>
17060
17061 [BZ #15330]
17062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17063 order arrays from heap if bigger than alloca cutoff.
17064
74d87055
TS
170652013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17066
17067 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17068 (SNAN_TESTS_double): Refer to GCC PR56831.
17069 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17070 GCC PR56828.
17071
d755bba4
SP
170722013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17073
90d5d5bb
SP
17074 * Rules (bench): Move bench.out after the run is complete.
17075
73e0cd5d
SP
17076 * Rules (bench): Echo currently running benchmark.
17077
64aabd4b
SP
17078 * benchtests/Makefile (bench): Add atan and slowatan.
17079 * benchtests/atan-inputs: New file.
17080 * benchtests/slowatan-inputs: New file.
17081 * benchtests/slowatan.c: New file.
17082
c871eccd
SP
17083 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17085 its value.
17086
d755bba4
SP
17087 [BZ #15305]
17088 * sysdeps/unix/sysv/linux/kernel-features.h
17089 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17090 __ASSUME_XFS_RESTRICTED_CHOWN.
17091 * sysdeps/unix/sysv/linux/pathconf.c
17092 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17093 Save and restore errno.
17094
52ce4860
JM
170952013-04-02 Joseph Myers <joseph@codesourcery.com>
17096
17097 [BZ #15327]
17098 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17099 arguments using __kernel_casinh.
17100 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17101 arguments using __kernel_casinhf.
17102 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17103 arguments using __kernel_casinhl.
17104 * math/libm-test.inc (cacosh_test): Add more tests.
17105 * sysdeps/i386/fpu/libm-test-ulps: Update.
17106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17107
81f311c2
SP
171082013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17109
e7906a47
SP
17110 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17112
92e3664b
SP
17113 * bench/Makefile (bench): Add sin and slowsin.
17114 * benchtests/sin-inputs: New file.
17115 * benchtests/slowsin-inputs: New file.
17116 * benchtests/slowsin.c: New file.
17117
81f311c2
SP
17118 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17119 (bench): Add slowexp and slowpow.
17120 (exp-ITER): Increase iterations.
17121 (pow-ITER): Likewise.
17122 * benchtests/exp-inputs: Change input.
17123 * benchtests/pow-inputs: Likewise.
17124 * benchtests/slowexp-inputs: New file.
17125 * benchtests/slowexp.c: New file.
17126 * benchtests/slowpow-inputs: New file.
17127 * benchtests/slowpow.c: New file.
17128
ab0f1aa9
AZ
171292013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130
17131 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17132 instructions.
17133 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17134 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17135 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17136 * benchtests/Makefile: Add rint benchtest.
17137 * benchtests/rint-inputs: Input for rint benchtest.
17138
57267616
TS
171392013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17140
17141 * Versions.def (libm): Add GLIBC_2.18.
17142 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17143 hidden libm prototypes.
17144 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17145 * math/Makefile (libm-calls): Add s_issignaling.
17146 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17147 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17148 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17149 declaration.
17150 * math/math.h [__USE_GNU] (issignaling): New macro.
17151 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17152 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17155 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17156 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17157 * manual/arith.texi (issignaling): New section.
17158 * manual/libm-err-tab.pl (@all_functions): Update comment.
17159 * math/gen-libm-test.pl (parse_args): Apply special handling for
17160 issignaling.
17161 * math/libm-test.inc (print_float, issignaling_test): New
17162 functions.
17163 (check_float_internal): Add issignaling checks.
17164 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17165 default definition.
17166 * sysdeps/powerpc/math-tests.h: New file.
17167 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17168 tests.
17169 * math/test-snan.c (TEST_FUNC): Likewise.
17170
6142896d
DM
171712013-03-30 David S. Miller <davem@davemloft.net>
17172
17173 * po/de.po: Update from translation team.
17174
ccc8cadf
JM
171752013-03-30 Joseph Myers <joseph@codesourcery.com>
17176
17177 [BZ #10357]
17178 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17179 imaginary part less than 1.0 and real part less than 0.5
17180 specially.
17181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17183 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17184 (cacos_test): Add more tests.
17185 (casin_test): Likewise.
17186 (casinh_test): Likewise.
17187 * sysdeps/i386/fpu/libm-test-ulps: Update.
17188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17189
0f6a8d4b
SP
171902013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17191
0d1029de
SP
17192 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17193 ONE with its value.
17194
c2d94018
SP
17195 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17196 (__pow_mp): Replace ONE and MONE with their values.
17197 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17200 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17201 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17203
27ec37f1
SP
17204 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17205
a64d7e0e
SP
17206 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17207 (__pow_mp): Replace ZERO and MZERO with their values.
17208 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17213 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17214 (__sqr): Likewise.
17215
d26dd3eb
SP
17216 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17217
0f6a8d4b
SP
17218 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17219
e57b0c61
RM
172202013-03-28 Roland McGrath <roland@hack.frob.com>
17221
17222 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17223 Declare with __attribute__ ((weak)).
17224 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17225 Call __call_tls_dtors only if it's not NULL.
17226
356b3480
RM
172272013-03-28 Roland McGrath <roland@hack.frob.com>
17228
288f7d79
RM
17229 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17230 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17231 magic __ehdr_start linker symbol if it's defined.
17232 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17233 them up here if it was already done.
17234
dc0a0263
RM
17235 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17236 (_dl_aux_init): Use const in cast when setting it.
17237 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17238 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17239 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17240
3d3436ae
RM
17241 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17242 Declare them here.
17243 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17244 * csu/libc-tls.c: Nor here.
17245 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17246
356b3480
RM
17247 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17248 (__libc_message): Never call vsyslog.
17249
b0f1246a
AM
172502013-03-28 Alan Modra <amodra@gmail.com>
17251
17252 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17253 Define as empty.
17254 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17255 Likewise.
17256
fbbe2b9a
AZ
172572013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17258
17259 [BZ #15214]
17260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17261 underflow.
17262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17263
1728ab37
SP
172642013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17265
7a86be6e
SP
17266 [BZ #15304]
17267 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17268 Don't add gid passed as argument.
17269
1728ab37
SP
17270 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17271
3a7182a1
JM
172722013-03-27 Joseph Myers <joseph@codesourcery.com>
17273
17274 [BZ #15307]
17275 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17276 imaginary part between 1.0 and 1.5 and real part less than 0.5
17277 specially.
17278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17280 * math/libm-test.inc (cacos_test): Add more tests.
17281 (casin_test): Likewise.
17282 (casinh_test): Likewise.
17283 * sysdeps/i386/fpu/libm-test-ulps: Update.
17284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17285
6f2e90e7
SP
172862013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
5739f705
SP
17288 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17289 constants.
17290 (norm): Likewise.
17291 (denorm): Likewise.
17292 (__dbl_mp): Likewise.
17293 (add_magnitudes): Likewise.
17294 (sub_magnitudes): Likewise.
17295 (__add): Likewise.
17296 (__sub): Likewise.
17297 (__mul): Likewise.
17298 (__sqr): Likewise.
17299 (__inv): Likewise.
17300 (__dvd): Likewise.
17301
e375e83d
SP
17302 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17303 commented code.
17304 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17305 (__dubcos): Likewise.
17306 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17307 (__ieee754_acos): Likewise.
17308 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17310 (__exp1): Likewise.
17311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17313 (log1): Likewise.
17314 (my_log2): Likewise.
17315 (checkint): Likewise.
17316 * sysdeps/ieee754/dbl-64/e_remainder.c
17317 (__ieee754_remainder): Likewise.
17318 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17320 (bsloww): Likewise.
17321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17322
6f2e90e7
SP
17323 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17324 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17325 MANTISSA_STORE_T to store computations on mantissa. Use
17326 macros for rounding and division.
17327 (denorm): Likewise.
17328 (__dbl_mp): Likewise.
17329 (add_magnitudes): Likewise.
17330 (sub_magnitudes): Likewise.
17331 (__mul): Likewise.
17332 (__sqr): Likewise.
17333 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17334 powers of two in terms of TWOPOW macro.
17335 (mp_no): Make type of mantissa as MANTISSA_T.
17336 [!RADIXI]: Define RADIXI.
17337 [!TWO52]: Define TWO52.
17338 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17339
fce14d4e
AZ
173402013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17341
17342 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17343 llroundl symbol when building for PPC32.
17344
9ad027fb
MW
173452013-03-24 Mark H Weaver <mhw@netris.org>
17346
17347 * manual/arith.texi (Normalization Functions): Fix prototypes for
17348 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17349
e42a38dd
AZ
173502013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17351
17352 [BZ #13889]
17353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17354 high value to check if expl overflow.
17355 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17356 to check for underflow and overflow.
17357 * math/libm-test.inc: Add exp test.
17358
2e0fb521
DL
173592013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17360
17361 [BZ #11120]
17362 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17363 with NOT_IN_libc.
17364
b5784d95
AZ
173652013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17366
17367 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17368 symbol.
17369
5aa4a1a1
TS
173702013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17371
bdef0be7
TS
17372 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17373 wrap blocks consisting of several statements.
17374
5aa4a1a1
TS
17375 * sysdeps/generic/math-tests.h: New file.
17376 * sysdeps/i386/fpu/math-tests.h: Likewise.
17377 * math/test-snan.c: Include it.
17378 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17379
98c48fe5
JM
173802013-03-21 Joseph Myers <joseph@codesourcery.com>
17381
17382 [BZ #15285]
17383 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17384 (__ieee754_j0l): Do not improve calculations using cos of twice
17385 input for inputs above LDBL_MAX / 2.0L.
17386 (__ieee754_y0l): Likewise.
17387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17388 (__ieee754_j1l): Do not improve calculations using cos of twice
17389 input for inputs above LDBL_MAX / 2.0L.
17390 (__ieee754_y1l): Likewise.
17391 * math/libm-test.inc (j0_test): Add another test.
17392 (j1_test): Likewise.
17393 (y0_test): Likewise.
17394 (y1_test): Likewise.
17395 * sysdeps/i386/fpu/libm-test-ulps: Update.
17396
3775a8bc
SP
173972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17398
17399 * Rules ($(objpfx)bench-%.c): Include code from a C source
17400 file.
17401
0a1b2ae6
JM
174022013-03-21 Joseph Myers <joseph@codesourcery.com>
17403
17404 [BZ #15287]
17405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17406 imaginary part 1.0 and real part less than 0.5 specially.
17407 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17408 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17409 * math/libm-test.inc (cacos_test): Add more tests.
17410 (casin_test): Likewise.
17411 (casinh_test): Likewise.
17412 * sysdeps/i386/fpu/libm-test-ulps: Update.
17413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17414
b33d4ce4
SP
174152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17416
17417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17418 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17419
bef0b507
JM
174202013-03-20 Joseph Myers <joseph@codesourcery.com>
17421
17422 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17423 * config.make.in (config-cflags-sse4): Remove variable.
17424 (config-cflags-avx): Likewise.
17425 (config-cflags-sse2avx): Likewise.
17426 (config-cflags-novzeroupper): Likewise.
17427 (config-asflags-i686): Likewise.
17428 (have-mfma4): Likewise.
17429 (have-as-vis3): Likewise.
17430 (MIG): Likewise.
17431 * configure.in (MIG): Do not AC_SUBST.
17432 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17433 (libc_cv_cc_sse4): Do not AC_SUBST.
17434 (libc_cv_cc_avx): Likewise.
17435 (libc_cv_cc_sse2avx): Likewise.
17436 (libc_cv_cc_novzeroupper): Likewise.
17437 (libc_cv_cc_fma4): Likewise.
17438 (libc_cv_as_i686): Likewise.
17439 (libc_cv_sparc_as_vis3): Likewise.
17440 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17441 LIBC_CONFIG_VAR.
17442 (config-asflags-i686): Likewise.
17443 (config-cflags-avx): Likewise.
17444 (config-cflags-sse2avx): Likewise.
17445 (have-mfma4): Likewise.
17446 (config-cflags-novzeroupper): Likewise.
17447 * sysdeps/mach/configure.in (MIG): Likewise.
17448 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17449 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17450 LIBC_CONFIG_VAR.
17451 (config-cflags-avx): Likewise.
17452 (config-cflags-sse2avx): Likewise.
17453 (have-mfma4): Likewise.
17454 (config-cflags-novzeroupper): Likewise.
17455 * configure: Regenerated.
17456 * sysdeps/i386/configure: Likewise.
17457 * sysdeps/mach/configure: Likewise.
17458 * sysdeps/sparc/configure: Likewise.
17459 * sysdeps/x86_64/configure: Likewise.
17460
912cc4b3
RM
174612013-03-20 Roland McGrath <roland@hack.frob.com>
17462
17463 [BZ #14812]
17464 * locale/programs/localedef.c (options): Put N_ translation marker
17465 on argument names, not just descriptions.
17466
04eed2b0
MS
174672013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17468
17469 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17470
a065ceff
OB
174712013-03-20 Ondřej Bílka <neleai@seznam.cz>
17472
9bb2a810 17473 [BZ #14176]
a065ceff
OB
17474 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17475
a600e5ce
RM
174762013-03-19 Roland McGrath <roland@hack.frob.com>
17477
17478 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17479 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17480 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17481 [!BEFORE_ABORT] (before_abort): New function.
17482 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17483 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17484 (writev_for_fatal): New function.
17485 (WRITEV_FOR_FATAL): New macro; call that.
17486 (backtrace_and_maps): New function.
17487 (BEFORE_ABORT): New macro; call that.
17488 (struct str_list): Type removed.
17489 (__libc_message, __libc_fatal): Functions removed.
17490 Include <sysdeps/posix/libc_fatal.c> instead.
17491
6b18bea6
JM
174922013-03-19 Joseph Myers <joseph@codesourcery.com>
17493
17494 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17495 constants.
17496 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17497 double constants.
17498
aaa8cb4b
AS
174992013-03-19 Andreas Schwab <schwab@suse.de>
17500
44673770
AS
17501 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17502 * sysdeps/gnu/configure: Regenerate.
17503
aaa8cb4b
AS
17504 * configure.in: Substitute libc_cv_rtlddir.
17505 * configure: Regenerate.
17506 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17507 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17508 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17509 * elf/Makefile (install-others, CFLAGS-interp.c)
17510 (ldso_install, common-ldd-rewrite): Likewise.
17511 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17512 $(inst_slibdir)/$(rtld-installed-name).
17513 * scripts/rellns-sh: Add -p option.
17514 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17515 for source.
17516
d3cfc668
SP
175172013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17518
17519 * manual/nptl.texi: Renamed to ...
17520 * manual/threads.texi: ... this.
17521 * manual/Makefile (chapters): Update.
17522
0e2b9cdd
RM
175232013-03-18 Roland McGrath <roland@hack.frob.com>
17524
17525 [BZ #14812]
17526 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17527 on argument names, not just descriptions.
0e2b9cdd
RM
17528 * malloc/memusagestat.c (options): Likewise.
17529 * nss/getent.c (options): Likewise.
63270c24
RM
17530
175312013-03-18 Benno Schulenberg <bensberg@justemail.net>
17532
17533 [BZ #14812]
17534 * iconv/iconv_prog.c (options): Put N_ translation marker
17535 on argument names, not just descriptions.
17536 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17537
b2e1393c
OB
175382013-03-18 Ondrej Bilka <neleai@seznam.cz>
17539
17540 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17541 implementation which is faster on all x86_64 architectures.
17542 Tested on AMD, Intel Nehalem, SNB, IVB.
17543 * sysdeps/x86_64/strnlen.S: Likewise.
17544
17545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17546 Remove all multiarch strlen and strnlen versions.
17547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17548 Remove strlen and strnlen related parts.
17549
17550 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17551 Inline strlen part.
17552 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17553
17554 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17556 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17557 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17558 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17559 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17560
ec4ff04d
CD
175612013-03-17 Carlos O'Donell <carlos@redhat.com>
17562
17563 * manual/memory.texi (Malloc Tunable Parameters):
17564 Sort parameters alphabetically. Add comments for missing entries.
17565
cd18e90a
DM
175662013-03-17 David S. Miller <davem@davemloft.net>
17567
17568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17569
2a185d32
JM
175702013-03-16 Joseph Myers <joseph@codesourcery.com>
17571
d2f9799e
JM
17572 [BZ #15283]
17573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17574 for arguments at most half maximum finite value.
17575 * math/libm-test.inc (j0_test): Add more tests.
17576 (j1_test): Likewise.
17577 (y0_test): Likewise.
17578 (y1_test): Likewise.
17579 * sysdeps/i386/fpu/libm-test-ulps: Update.
17580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17581
2a185d32
JM
17582 [BZ #14155]
17583 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17584 1 / x and functions P and Q for arguments above 0x1p256L.
17585 (__ieee754_y0l): Likewise.
17586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17587 (__ieee754_y1l): Likewise.
17588 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17589 (j1_test): Likewise.
17590 (y0_test): Likewise.
17591 (y1_test): Likewise.
17592
6cbec759
TS
175932013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17594
17595 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17596 variable.
17597
bc16e260
RM
175982013-03-15 Roland McGrath <roland@hack.frob.com>
17599
aefc9b8c
RM
17600 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17601 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17602 zero since it's initialized to EXEC_PAGESIZE.
17603
bc16e260
RM
17604 * sysdeps/unix/sysv/linux/ldsodefs.h
17605 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17606 * sysdeps/generic/ldsodefs.h: ... here.
17607
a57da955
TS
176082013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17609
af00a34d
TS
17610 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17611
495ded2c
TS
17612 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17613 math/test-snan.c.
17614 * math/test-snan.c: Renamed from
17615 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17616 * math/Makefile (tests): Add test-snan.
17617 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17618 test-powerpc-snan.
17619
777b0332
TS
17620 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17621 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17622 functions.
17623 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17624 __builtin_nan family of functions.
17625 * math/libm-test.inc (initialize): Initialize qnan_value with
17626 __builtin_nan family of functions.
17627 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17628 Remove variables.
17629 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17630 Remove functions.
17631 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17632 storage class. Initialize qNaN_var and sNaN_var with
17633 __builtin_nan and __builtin_nans families of functions,
17634 respectively.
17635
64d063b8
TS
17636 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17637 (sqrt_test): Remove duplicate test with qNaN input.
17638 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17639 (round_test, signbit_test, significand_test): Note missing +/-Inf
17640 as well as qNaN tests.
17641
67e971f1
TS
17642 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17643 qNaN_var. Fix a few strings, too.
17644 * math/libm-test.inc (nan_value): Rename to qnan_value.
17645 * math/gen-libm-test.pl (%beautify): Adjust to that.
17646 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17647 * math/test-misc.c (main): Likewise.
17648 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17649 to __qnan_bytes, and __qnan_union, respectively.
17650 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17651 Likewise.
17652 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17653 and lqnanval, respectively.
17654 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17655 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17657 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17658
64487e12
TS
17659 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17660 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17661 doubles.
17662
e015e27b
TS
17663 * math/test-misc.c (main): Fix copy'n'pastos.
17664 * misc/tst-efgcvt.c (special): Likewise.
17665
a57da955
TS
17666 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17667 Remove declarations.
17668
1e380345
SP
176692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17670
17671 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17672 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17673 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17674 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17675
ef26eece
AZ
176762013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17677
17678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17679 macro to return vdso values correctly in IFUNC implementations.
17680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17681 Optimization by using IFUNC.
17682
8cfdb7e0
SP
176832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17684 Richard Henderson <rth@redhat.com>
17685 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17686
17687 * Makefile.in (bench): New target.
17688 * NEWS: Mention the benchmark framework.
17689 * Rules (bench): Likewise.
17690 (binaries-bench): Generate binaries for functions to
17691 benchmark.
17692 * benchtests/Makefile: New makefile for benchmark tests.
17693 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17694 programs.
17695 * benchtests/exp-inputs: New input file for EXP function.
17696 * benchtests/pow-inputs: New input file for POW function.
17697 * scripts/bench.pl: New script to generate source files for
17698 benchmark programs.
17699
bcda9880
SP
177002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17701
d22ca8cd
SP
17702 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17704 computations on mantissa. Use macros for rounding and
17705 division.
17706 (denorm): Likewise.
17707 (__dbl_mp): Likewise.
17708 (add_magnitudes): Likewise.
17709 (sub_magnitudes): Likewise.
17710 (__mul): Likewise.
17711 (__sqr): Likewise.
17712 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17713 powers of two in terms of TWOPOW macro.
17714 (mp_no): Make type of mantissa as MANTISSA_T.
17715 [!RADIXI]: Define RADIXI.
17716 [!TWO52]: Define TWO52.
17717 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17718
bcda9880
SP
17719 * manual/nptl.texi (cindex): Modify threads to pthreads.
17720
06d5adfb
JM
177212013-03-15 Joseph Myers <joseph@codesourcery.com>
17722
17723 * sysdeps/x86_64/preconfigure: Regenerated.
17724
41c7328e
JM
177252013-03-14 Joseph Myers <joseph@codesourcery.com>
17726
17727 [BZ #14155]
17728 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17729 0x1p28 and above.
17730 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17731 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17732 0x1p28 and above.
17733 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17734 * math/libm-test.inc (j0_test): Do not allow one spurious
17735 underflow exception.
17736 (y1_test): Likewise.
17737
e25cfa60
SP
177382013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17739
0409959c
SP
17740 * manual/Makefile (chapters): Add nptl.
17741 * manual/debug.texi (Debugging Support): Add link to Threads
17742 chapter.
17743 * manual/nptl.texi: New file.
17744
e25cfa60
SP
17745 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17746
58a1335e
PB
177472013-03-14 Petr Baudis <pasky@ucw.cz>
17748
17749 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17750 for non-NULL pointer before the memory validity test. Pointed
17751 out by Holger Brunck <holger.brunck@keymile.com>.
17752
9dc7c64f
AS
177532013-03-13 Andreas Schwab <schwab@suse.de>
17754
17755 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17756 instead of .os.
17757
54206aa6
JM
177582013-03-13 Joseph Myers <joseph@codesourcery.com>
17759
17760 * timezone/zic.c: Update from tzcode 2013b.
17761
e98cdb38
CD
177622013-03-12 Carlos O'Donell <carlos@redhat.com>
17763
17764 * manual/install.texi (Configuring and compiling):
17765 Mention i686 and i586.
17766 * INSTALL: Regenerate.
17767
9967e003
RM
177682013-03-12 Roland McGrath <roland@hack.frob.com>
17769
17770 * sysdeps/init_array/elf-init.c: New file.
17771 * csu/elf-init.c
17772 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17773 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17774
17775 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17776 __gmon_start__ as global, but as static with a .preinit_array pointer.
17777 * sysdeps/init_array/gmon-start.c: New file. Use that.
17778 * sysdeps/init_array/crti.S: New file, empty except for comments.
17779 * sysdeps/init_array/crtn.S: Likewise.
17780
e6b5a293 177812013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17782
17783 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17784 definining bcopy.
80f844c9
OB
17785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17786 Remove Prefer_SSE_for_memop.
17787 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17788 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17789 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17791 memset-x86-64.
80f844c9 17792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17793 Remove bzero, memset ifunc support.
80f844c9
OB
17794 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17795 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17796 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17797 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17798
fb6b0fcb
AS
177992013-03-11 Andreas Schwab <schwab@suse.de>
17800
17801 [BZ #15234]
17802 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17803 by SHLIB_COMPAT.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17805 (GLIBC_2.16): Remove pthread_atfork.
17806
3e6bd4b1
PP
178072013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17808
17809 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17810 (ptestcases.h): Likewise.
17811
222d7f00
RM
178122013-03-08 Roland McGrath <roland@hack.frob.com>
17813
17814 * Makeconfig ($(common-objpfx)config.status): Depend on
17815 sysdeps/*/preconfigure{,.in} too.
17816
1ba4f030
JM
178172013-03-08 Joseph Myers <joseph@codesourcery.com>
17818
a222d91a
JM
17819 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17820 (__free_hook): Use void * instead of __malloc_ptr_t.
17821 (__malloc_hook): Likewise.
17822 (__realloc_hook): Likewise.
17823 (__memalign_hook): Likewise.
17824 (__after_morecore_hook): Likewise.
17825 * malloc/arena.c (save_malloc_hook): Likewise.
17826 (save_free_hook): Likewise.
17827 * malloc/hooks.c (malloc_hook_ini): Likewise.
17828 (realloc_hook_ini): Likewise.
17829 (memalign_hook_ini): Likewise.
17830 * malloc/malloc.c (malloc_hook_ini): Likewise.
17831 (realloc_hook_ini): Likewise.
17832 (memalign_hook_ini): Likewise.
17833 (__free_hook): Likewise.
17834 (__malloc_hook): Likewise.
17835 (__realloc_hook): Likewise.
17836 (__memalign_hook): Likewise.
17837 (__libc_malloc): Likewise.
17838 (__libc_free): Likewise.
17839 (__libc_realloc): Likewise.
17840 (__libc_memalign): Likewise.
17841 (__libc_valloc): Likewise.
17842 (__libc_pvalloc): Likewise.
17843 (__libc_calloc): Likewise.
17844 (__posix_memalign): Likewise.
17845 * malloc/morecore.c (__sbrk): Likewise.
17846 (__default_morecore): Likewise.
17847
5cc45e10
JM
17848 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17849
dd54b864
JM
17850 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17851 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17852 __malloc_ptrdiff_t.
17853
1ba4f030
JM
17854 * malloc/malloc.h (__malloc_size_t): Remove macro.
17855 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17856 __malloc_size_t.
17857 (old_memalign_hook): Likewise.
17858 (old_realloc_hook): Likewise.
17859 (struct hdr): Likewise.
17860 (flood): Likewise.
17861 (mallochook): Likewise.
17862 (memalignhook): Likewise.
17863 (reallochook): Likewise.
17864 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17865 (tr_old_realloc_hook): Likewise.
17866 (tr_old_memalign_hook): Likewise.
17867 (tr_mallochook): Likewise.
17868 (tr_reallochook): Likewise.
17869 (tr_memalignhook): Likewise.
17870
edf66e57
AZ
178712013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17872
17873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17874 default_ldbl_pack and using as default implementation.
17875 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17876 implementation.
17877 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17878 redundant definition.
17879 (ldbl_insert_mantissa): Likewise.
17880 (ldbl_canonicalize): Likewise.
17881 (ldbl_nearbyint): Likewise.
17882 (ldbl_pack): Rename to ldbl_pack_ppc.
17883 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17884 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17885 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17886
6d9145d8
SP
178872013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17888
17889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17890 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17891 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17892 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17895 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17896 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17897
4dd4e157
AJ
178982013-03-07 Andreas Jaeger <aj@suse.de>
17899
17900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17901 bits/mman-linux.h.
17902
adbb8027
SP
179032013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17904
ce544b5b
SP
17905 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17906 Include mpa.h and declare __MPEXP.
17907 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17909 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17912 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17913 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17914
4cc149fd
SP
17915 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17916 (__slowpow): Use long double EXPL and LOGL functions to
17917 compute POW.
17918 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17919 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17920 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17921 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17922 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17923 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17924
e6ebd4a7
SP
17925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17926 intermediate variable to calculate exponent.
17927 (__sqr): Likewise.
17928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17929 Likewise.
17930 (__sqr): Likewise.
17931
82a9811d
SP
17932 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17933 [!NO__SQR]: Define __sqr.
17934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17935 and NO__SQR. Remove all code except __mul and __sqr. Include
17936 sysdeps/ieee754/dbl-64/mpa.c.
17937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17938
adbb8027
SP
17939 [BZ #12723]
17940 * posix/Makefile (tests): Add tst-pathconf.
17941 * posix/tst-pathconf.c: New test case.
17942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17943 _PC_PIPE_BUF.
17944 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17945
39120df9
PF
179462013-03-06 Patsy Franklin <pfrankli@redhat.com>
17947
17948 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17949
67525cb8
AJ
179502013-03-06 Andreas Jaeger <aj@suse.de>
17951
664a9ce4
AJ
17952 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17953 definition via __MAP_ANONYMOUS.
17954
8e39047d
AJ
17955 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17956 it's not part of Linux headers.
17957
67525cb8
AJ
17958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17959 (MAP_HUGE_MASK): Define.
17960
17961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17962 Define.
17963 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17965 Define.
17966 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17967 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17968 Define.
17969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17971 Define.
17972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17973
17974 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17975 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17976 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17977 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17978 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17979 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17980
17981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17982 Handle f2fs.
17983
17984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17985 Handle f2fs and efivarfs.
17986
17987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17988 f2fs.
17989
17990 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17991 (EFIVARFS_MAGIC): Add.
17992 (F2FS_LINK_MAX): Add.
17993
e1b42695
PP
179942013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17995
17996 * stdio-common/vfprintf.c: Replace __builtin_expect with
17997 __glibc_unlikely.
17998
2d67d91a
JM
179992013-03-06 Joseph Myers <joseph@codesourcery.com>
18000
18001 [BZ #13550]
18002 * sysdeps/generic/bp-sym.h: Remove file.
18003 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18004 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18005 <bp-sym.h> and <bp-asm.h>.
18006 (__longjmp): Don't use BP_SYM.
18007 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18008 and <bp-asm.h>.
18009 (memcpy): Don't use BP_SYM.
18010 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18011 <bp-sym.h> and <bp-asm.h>.
18012 (memcpy): Don't use BP_SYM.
18013 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18014 <bp-asm.h>.
18015 (memcpy): Don't use BP_SYM.
18016 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18017 <bp-asm.h>.
18018 (memset): Don't use BP_SYM.
18019 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18020 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18021 (__bzero): Don't use BP_SYM.
18022 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18023 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18024 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18025 <bp-sym.h> and <bp-asm.h>.
18026 (memcmp): Don't use BP_SYM. Remove comment about bounded
18027 pointers.
18028 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18029 <bp-sym.h> and <bp-asm.h>.
18030 (memcpy): Don't use BP_SYM.
18031 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18032 <bp-sym.h> and <bp-asm.h>.
18033 (memset): Don't use BP_SYM.
18034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18036 (__bzero): Don't use BP_SYM.
18037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18039 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18040 <bp-sym.h> and <bp-asm.h>.
18041 (strncmp): Don't use BP_SYM. Remove comment about bounded
18042 pointers.
18043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18044 <bp-sym.h> and <bp-asm.h>.
18045 (memcpy): Don't use BP_SYM.
18046 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18047 <bp-sym.h> and <bp-asm.h>.
18048 (memset): Don't use BP_SYM.
18049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18051 (__bzero): Don't use BP_SYM.
18052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18055 <bp-sym.h> and <bp-asm.h>.
18056 (__memchr): Don't use BP_SYM.
18057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18058 <bp-sym.h> and <bp-asm.h>.
18059 (memcmp): Don't use BP_SYM. Remove comment about bounded
18060 pointers.
18061 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18062 <bp-sym.h> and <bp-asm.h>.
18063 (memcpy): Don't use BP_SYM.
18064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18065 <bp-sym.h> and <bp-asm.h>.
18066 (__mempcpy): Don't use BP_SYM.
18067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18068 <bp-sym.h> and <bp-asm.h>.
18069 (__memrchr): Don't use BP_SYM.
18070 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18071 <bp-sym.h> and <bp-asm.h>.
18072 (memset): Don't use BP_SYM.
18073 (__bzero): Likewise.
18074 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18075 <bp-sym.h> and <bp-asm.h>.
18076 (__rawmemchr): Don't use BP_SYM.
18077 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18078 <bp-sym.h> and <bp-asm.h>.
18079 (__STRCMP): Don't use BP_SYM.
18080 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18081 <bp-sym.h> and <bp-asm.h>.
18082 (strchr): Don't use BP_SYM.
18083 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18084 <bp-sym.h> and <bp-asm.h>.
18085 (__strchrnul): Don't use BP_SYM.
18086 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18087 <bp-sym.h> and <bp-asm.h>.
18088 (strlen): Don't use BP_SYM.
18089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18090 <bp-sym.h> and <bp-asm.h>.
18091 (strncmp): Don't use BP_SYM. Remove comment about bounded
18092 pointers.
18093 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18094 <bp-sym.h> and <bp-asm.h>.
18095 (__strnlen): Don't use BP_SYM.
18096 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18097 <bp-sym.h> and <bp-asm.h>.
18098 (__GI__setjmp): Don't use BP_SYM.
18099 (_setjmp): Likewise.
18100 (__sigsetjmp): Likewise.
18101 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18102 (L(start_addresses)): Don't use BP_SYM.
18103 (_start): Likewise.
18104 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18105 <bp-asm.h>.
18106 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18107 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18108 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18109 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18110 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18111 <bp-asm.h>.
18112 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18113 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18114 about bounded pointers.
18115 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18116 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18117 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18118 <bp-asm.h>.
18119 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18120 about bounded pointers. Remove GKM FIXME comments.
18121 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18122 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18123 <bp-asm.h>.
18124 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18125 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18126 Remove GKM FIXME comments.
18127 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18128 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18129 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18130 <bp-asm.h>.
18131 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18132 about bounded pointers. Remove GKM FIXME comment.
18133 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18134 and <bp-asm.h>.
18135 (strncmp): Don't use BP_SYM. Remove comment about bounded
18136 pointers.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18138 <bp-sym.h> and <bp-asm.h>.
18139 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18141 <bp-sym.h> and <bp-asm.h>.
18142 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18143 comment.
18144
cdcf361f
PP
181452013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18146
18147 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18148 call free(NULL).
18149
3c4a2b15
DM
181502013-03-05 David S. Miller <davem@davemloft.net>
18151
18152 * po/es.po: Update from translation team.
18153
cdcf361f 181542013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18155
18156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18157 <bits/mman-linux.h>.
18158 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18159 is fine.
18160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18161 <bits/mman-linux.h> to end of file.
18162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18163 is fine.
18164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18165 <bits/mman-linux.h> to end of file.
18166 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18167 is fine.
18168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18169 <bits/mman-linux.h> to end of file.
18170
18171 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18172 (MCL_CURRENT, MCL_FUTURE): Define here.
18173
5f67c04f
AK
181742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18175
8a4473cc 18176 [BZ #15232]
5f67c04f
AK
18177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18178 attribute_hidden.
18179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18180
c3e94a95
AK
181812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18182
18183 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18184 fourth parameter needed for rt_sigprocmask syscall.
18185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18191
cfb6382a
JM
181922013-03-04 Joseph Myers <joseph@codesourcery.com>
18193
18194 [BZ #13550]
18195 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18196 comment about bounded pointers.
18197 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18198 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18199
539d8e01
AJ
182002013-03-04 Andreas Jaeger <aj@suse.de>
18201
18202 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18203 common definitions.
18204
18205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18206 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18207 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18208 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18210 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18211
2e167a70 182122013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18213
18214 [BZ #15055]
18215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18216 __ieee754_sqrl instead of __sqrl.
18217
68508633
JM
182182013-03-01 Joseph Myers <joseph@codesourcery.com>
18219
18220 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18221 * sysdeps/powerpc/fpu_control.h: ... here.
18222 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18223 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18224 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18225 * sysdeps/powerpc/bits/mathinline.h: ... here.
18226
7775448e
RM
182272013-03-01 Roland McGrath <roland@hack.frob.com>
18228
18229 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18230 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18231 to just [NEED_DL_SYSINFO_DSO].
18232 * elf/dl-support.c: Likewise.
18233 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18234 * elf/rtld.c (dl_main): Likewise.
18235 * elf/setup-vdso.h (setup_vdso): Likewise.
18236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18237 * sysdeps/unix/sysv/linux/dl-sysdep.c
18238 (_dl_discover_osversion): Likewise.
18239
4e9b5995
CD
182402013-03-01 Carlos O'Donell <carlos@redhat.com>
18241
18242 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18243 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18244
e23872c8
SP
182452013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18246
e5c74c63
SP
18247 * NEWS: Mention libm performance improvements and non-x86 PI
18248 futex support.
18249
e23872c8
SP
18250 * csu/libc-start.c (__pthread_initialize_minimal): Change
18251 function arguments.
18252 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18253
b5510883
JM
182542013-02-28 Joseph Myers <joseph@codesourcery.com>
18255
18256 [BZ #13550]
18257 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18258 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18259 <bp-sym.h> and <bp-asm.h>.
18260 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18262 and <bp-asm.h>.
18263 (memcpy): Don't use BP_SYM.
18264 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18265 <bp-asm.h>.
18266 (__mpn_add_n): Don't use BP_SYM.
18267 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18268 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18269 and <bp-asm.h>.
18270 (__mpn_addmul_1): Don't use BP_SYM.
18271 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18272 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18273 <bp-sym.h>.
18274 (_setjmp): Don't use BP_SYM.
18275 (__novmx_setjmp): Likewise.
18276 (__GI__setjmp): Likewise.
18277 (__vmx_setjmp): Likewise.
18278 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18279 <bp-sym.h>.
18280 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18281 (__bzero): Don't use BP_SYM.
18282 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18283 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18284 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18285 <bp-sym.h> and <bp-asm.h>.
18286 (memcpy): Don't use BP_SYM.
18287 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18288 <bp-sym.h> and <bp-asm.h>.
18289 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18290 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18291 <bp-sym.h> and <bp-asm.h>.
18292 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18293 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18294 <bp-asm.h>.
18295 (__mpn_lshift): Don't use BP_SYM.
18296 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18297 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18298 <bp-asm.h>.
18299 (memset): Don't use BP_SYM.
18300 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18301 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18302 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18303 <bp-asm.h>.
18304 (__mpn_mul_1): Don't use BP_SYM.
18305 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18307 <bp-sym.h> and <bp-asm.h>.
18308 (memcmp): Don't use BP_SYM.
18309 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18310 <bp-sym.h> and <bp-asm.h>.
18311 (memcpy): Don't use BP_SYM.
18312 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18313 <bp-sym.h> and <bp-asm.h>.
18314 (memset): Don't use BP_SYM.
18315 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18316 <bp-sym.h> and <bp-asm.h>.
18317 (strncmp): Don't use BP_SYM.
18318 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18319 <bp-sym.h> and <bp-asm.h>.
18320 (memcpy): Don't use BP_SYM.
18321 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18322 <bp-sym.h> and <bp-asm.h>.
18323 (memset): Don't use BP_SYM.
18324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18325 <bp-sym.h> and <bp-asm.h>.
18326 (__memchr): Don't use BP_SYM.
18327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18328 <bp-sym.h> and <bp-asm.h>.
18329 (memcmp): Don't use BP_SYM.
18330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18331 <bp-sym.h> and <bp-asm.h>.
18332 (memcpy): Don't use BP_SYM.
18333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18334 <bp-sym.h> and <bp-asm.h>.
18335 (__mempcpy): Don't use BP_SYM.
18336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18337 <bp-sym.h> and <bp-asm.h>.
18338 (__memrchr): Don't use BP_SYM.
18339 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18340 <bp-sym.h> and <bp-asm.h>.
18341 (memset): Don't use BP_SYM.
18342 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18343 <bp-sym.h> and <bp-asm.h>.
18344 (__rawmemchr): Don't use BP_SYM.
18345 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18346 <bp-sym.h> and <bp-asm.h>.
18347 (__STRCMP): Don't use BP_SYM.
18348 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18349 <bp-sym.h> and <bp-asm.h>.
18350 (strchr): Don't use BP_SYM.
18351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18352 <bp-sym.h> and <bp-asm.h>.
18353 (__strchrnul): Don't use BP_SYM.
18354 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18355 <bp-sym.h> and <bp-asm.h>.
18356 (strlen): Don't use BP_SYM.
18357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18358 <bp-sym.h> and <bp-asm.h>.
18359 (strncmp): Don't use BP_SYM.
18360 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18361 <bp-sym.h> and <bp-asm.h>.
18362 (__strnlen): Don't use BP_SYM.
18363 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18364 <bp-asm.h>.
18365 (__mpn_rshift): Don't use BP_SYM.
18366 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18367 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18368 <bp-sym.h> and <bp-asm.h>.
18369 (__sigsetjmp): Don't use BP_SYM.
18370 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18371 (L(start_addresses)): Don't use BP_SYM.
18372 (_start): Likewise.
18373 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18374 <bp-asm.h>.
18375 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18376 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18377 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18378 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18379 <bp-asm.h>.
18380 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18381 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18382 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18383 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18384 <bp-asm.h>.
18385 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18386 comments.
18387 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18388 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18389 <bp-asm.h>.
18390 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18391 FIXME comments.
18392 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18393 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18394 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18395 <bp-asm.h>.
18396 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18397 comment.
18398 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18399 and <bp-asm.h>.
18400 (strncmp): Don't use BP_SYM,
18401 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18402 <bp-asm.h>.
18403 (__mpn_sub_n): Don't use BP_SYM.
18404 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18405 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18406 and <bp-asm.h>.
18407 (__mpn_submul_1): Don't use BP_SYM.
18408 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18410 <bp-sym.h> and <bp-asm.h>.
18411 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18413 <bp-sym.h> and <bp-asm.h>.
18414 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18415 comment.
18416
8d19fe64
SP
184172013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18418
18419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18420 Use ZK to minimize writes to Z.
18421 (sub_magnitudes): Simplify code a bit.
18422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18423 Use ZK to minimize writes to Z.
18424 (sub_magnitudes): Simplify code a bit.
18425
85bd816a
RM
184262013-02-27 Roland McGrath <roland@hack.frob.com>
18427
18428 * csu/gmon-start.c: Add special exception to license text.
18429
b5977bf2
RH
184302013-02-27 Richard Henderson <rth@redhat.com>
18431
18432 * scripts/config.guess: Update from config.git.
18433 * scripts/config.sub: Likewise.
18434
11d6e2f2
SP
184352013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18436
09c14ed2
SP
18437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18438
a688864e
SP
18439 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18440
6295157a
SP
18441 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18442
b8de2202
SP
18443 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18444
11d6e2f2
SP
18445 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18446
7e80ddb8
RM
184472013-02-26 Roland McGrath <roland@hack.frob.com>
18448
18449 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18450 [$(build-shared = yes].
7e80ddb8 18451
7da6d9ed
SP
184522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18453
45f05884
SP
18454 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18455 (__mul): Reduce iterations for calculating mantissa.
18456
2236d359
SP
18457 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18458 MPTWO.
18459 (__mpranred): Likewise.
18460
7da6d9ed
SP
18461 [BZ #15160]
18462 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18463 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18464
b7688c42
PE
184652013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18466
18467 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18468 Define __attribute__.
18469
53a5c423
SP
184702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18471
18472 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18473 unused.
18474 * posix/regex_internal.h (__attribute): Remove.
18475 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18476 (re_string_context_at): Likewise.
18477 (bitset_not): Use __attribute__ and mark function as possibly
18478 unused.
18479 (bitset_merge): Likewise.
18480 (bitset_mask): Likewise.
18481 (re_string_char_size_at): Likewise.
18482 (re_string_wchar_at): Likewise.
18483 (re_string_elem_size_at): Likewise.
18484
60f5a8b5
SP
184852013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18486
2a983a2e
SP
18487 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18488 code.
18489 (cc32): Likewise.
18490
e69804d1
SP
18491 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18492 (__acr): Likewise.
18493 (__cpy): Likewise.
18494 (norm): Likewise.
18495 (denorm): Likewise.
18496 (__dbl_mp): Likewise.
18497 (add_magnitudes): Likewise.
18498 (sub_magnitudes): Likewise.
18499 (__mul): Likewise.
18500 (__inv): Likewise.
18501
2f22a1e8
SP
18502 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18503 style.
18504
8930ddc7
SP
18505 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18506 style.
18507
dc60cb11
SP
18508 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18509 code.
18510
60f5a8b5
SP
18511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18512 up changes with default code.
18513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18514 Likewise.
18515
b4d1fd33
AM
185162013-02-24 Allan McRae <allan@archlinux.org>
18517
faf6f8bc
AM
18518 * manual/socket.texi (The Internet Namespace): Order menu items
18519 to match that in the file.
18520
b4d1fd33
AM
18521 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18522 node listing of the info page menu.
18523
2366713d
JM
185242013-02-21 Joseph Myers <joseph@codesourcery.com>
18525
18526 [BZ #13550]
18527 * sysdeps/i386/bp-asm.h: Remove file.
18528 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18529 (PARMS): Do not use macros from bp-asm.h.
18530 (S1): Likewise.
18531 (S2): Likewise.
18532 (SIZE): Likewise.
18533 (__mpn_add_n): Do not use BP_SYM
18534 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18535 "bp-asm.h".
18536 (PARMS): Do not use macros from bp-asm.h.
18537 (S1): Likewise.
18538 (SIZE): Likewise.
18539 (__mpn_addmul_1): Do not use BP_SYM
18540 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18541 "bp-asm.h".
18542 (PARMS): Do not use macros from bp-asm.h.
18543 (SIGMSK): Likewise.
18544 (_setjmp): Likewise. Do not use BP_SYM.
18545 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18546 "bp-asm.h".
18547 (PARMS): Do not use macros from bp-asm.h.
18548 (SIGMSK): Likewise.
18549 (setjmp): Likewise. Do not use BP_SYM.
18550 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18551 "bp-asm.h".
18552 (PARMS): Do not use macros from bp-asm.h.
18553 (__frexp): Do not use BP_SYM.
18554 (frexp): Likewise.
18555 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18556 "bp-asm.h".
18557 (PARMS): Do not use macros from bp-asm.h.
18558 (__frexpf): Do not use BP_SYM.
18559 (frexpf): Likewise.
18560 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18561 "bp-asm.h".
18562 (PARMS): Do not use macros from bp-asm.h.
18563 (__frexpl): Do not use BP_SYM.
18564 (frexpl): Likewise.
18565 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18566 "bp-asm.h".
18567 (PARMS): Do not use macros from bp-asm.h.
18568 (__remquo): Do not use BP_SYM.
18569 (remquo): Likewise.
18570 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18571 "bp-asm.h".
18572 (PARMS): Do not use macros from bp-asm.h.
18573 (__remquof): Do not use BP_SYM.
18574 (remquof): Likewise.
18575 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18576 "bp-asm.h".
18577 (PARMS): Do not use macros from bp-asm.h.
18578 (__remquol): Do not use BP_SYM.
18579 (remquol): Likewise.
18580 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18581 "bp-asm.h".
18582 (PARMS): Do not use macros from bp-asm.h.
18583 (DEST): Likewise.
18584 (SRC): Likewise.
18585 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18586 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18587 "bp-asm.h".
18588 (PARMS): Do not use macros from bp-asm.h.
18589 (strlen): Do not use BP_SYM.
18590 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18591 "bp-asm.h".
18592 (PARMS): Do not use macros from bp-asm.h.
18593 (S1): Likewise.
18594 (S2): Likewise.
18595 (SIZE): Likewise.
18596 (__mpn_add_n): Do not use BP_SYM.
18597 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18598 "bp-asm.h".
18599 (PARMS): Do not use macros from bp-asm.h.
18600 (S1): Likewise.
18601 (SIZE): Likewise.
18602 (__mpn_addmul_1): Do not use BP_SYM.
18603 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18604 weak_alias.
18605 (bzero): Likewise.
18606 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18607 "bp-asm.h".
18608 (PARMS): Do not use macros from bp-asm.h.
18609 (S): Likewise.
18610 (SIZE): Likewise.
18611 (__mpn_lshift): Do not use BP_SYM.
18612 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18613 "bp-asm.h".
18614 (PARMS): Do not use macros from bp-asm.h.
18615 (DEST): Likewise.
18616 (SRC): Likewise.
18617 (LEN): Likewise.
18618 (memcpy): Likewise. Do not use BP_SYM.
18619 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18620 libc_hidden_def and weak_alias.
18621 (mempcpy): Do not use BP_SYM in weak_alias.
18622 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18623 "bp-asm.h".
18624 (PARMS): Do not use macros from bp-asm.h.
18625 (DEST): Likewise.
18626 (LEN): Likewise.
18627 [!BZERO_P] (CHR): Likewise.
18628 (memset): Likewise. Do not use BP_SYM.
18629 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18630 "bp-asm.h".
18631 (PARMS): Do not use macros from bp-asm.h.
18632 (S1): Likewise.
18633 (SIZE): Likewise.
18634 (__mpn_mul_1): Do not use BP_SYM.
18635 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18636 "bp-asm.h".
18637 (PARMS): Do not use macros from bp-asm.h.
18638 (S): Likewise.
18639 (SIZE): Likewise.
18640 (__mpn_rshift): Do not use BP_SYM.
18641 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18642 "bp-asm.h".
18643 (PARMS): Do not use macros from bp-asm.h.
18644 (STR): Likewise.
18645 (CHR): Likewise.
18646 (strchr): Likewise. Do not use BP_SYM.
18647 (index): Do not use BP_SYM in weak_alias.
18648 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18654 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18655 "bp-asm.h".
18656 (PARMS): Do not use macros from bp-asm.h.
18657 (strlen): Do not use BP_SYM.
18658 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18659 "bp-asm.h".
18660 (PARMS): Do not use macros from bp-asm.h.
18661 (S1): Likewise.
18662 (S2): Likewise.
18663 (SIZE): Likewise.
18664 (__mpn_sub_n): Do not use BP_SYM.
18665 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18666 "bp-asm.h".
18667 (PARMS): Do not use macros from bp-asm.h.
18668 (S1): Likewise.
18669 (SIZE): Likewise.
18670 (__mpn_submul_1): Do not use BP_SYM.
18671 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18672 "bp-asm.h".
18673 (PARMS): Do not use macros from bp-asm.h.
18674 (S1): Likewise.
18675 (S2): Likewise.
18676 (SIZE): Likewise.
18677 (__mpn_add_n): Do not use BP_SYM.
18678 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18679 weak_alias.
18680 (bzero): Likewise.
18681 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18682 "bp-asm.h".
18683 (PARMS): Do not use macros from bp-asm.h.
18684 (BLK2): Likewise.
18685 (LEN): Likewise.
18686 (memcmp): Do not use BP_SYM.
18687 (bcmp): Do not use BP_SYM in weak_alias.
18688 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18689 "bp-asm.h".
18690 (PARMS): Do not use macros from bp-asm.h.
18691 (DEST): Likewise.
18692 (SRC): Likewise.
18693 (LEN): Likewise.
18694 (memcpy): Likewise. Do not use BP_SYM.
18695 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18696 "bp-asm.h".
18697 (PARMS): Do not use macros from bp-asm.h.
18698 (DEST): Likewise.
18699 (SRC): Likewise.
18700 (LEN): Likewise.
18701 (memmove): Likewise. Do not use BP_SYM.
18702 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18703 "bp-asm.h".
18704 (PARMS): Do not use macros from bp-asm.h.
18705 (DEST): Likewise.
18706 (SRC): Likewise.
18707 (LEN): Likewise.
18708 (__mempcpy): Likewise. Do not use BP_SYM.
18709 (mempcpy): Do not use BP_SYM in weak_alias.
18710 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18711 "bp-asm.h".
18712 (PARMS): Do not use macros from bp-asm.h.
18713 (DEST): Likewise.
18714 (LEN): Likewise.
18715 [!BZERO_P] (CHR): Likewise.
18716 (memset): Likewise. Do not use BP_SYM.
18717 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18718 "bp-asm.h".
18719 (PARMS): Do not use macros from bp-asm.h.
18720 (STR2): Likewise.
18721 (strcmp): Do not use BP_SYM.
18722 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18723 "bp-asm.h".
18724 (PARMS): Do not use macros from bp-asm.h.
18725 (STR): Likewise.
18726 (DELIM): Likewise.
18727 [USE_AS_STRTOK_R] (SAVE): Likewise.
18728 (FUNCTION): Likewise. Do not use BP_SYM.
18729 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18730 aliases.
18731 (strtok_r): Likewise.
18732 (__GI___strtok_r): Likewise.
18733 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18734 (PARMS): Do not use macros from bp-asm.h.
18735 (S): Likewise.
18736 (SIZE): Likewise.
18737 (__mpn_lshift): Do not use BP_SYM.
18738 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18739 (PARMS): Do not use macros from bp-asm.h.
18740 (STR): Likewise.
18741 (CHR): Likewise.
18742 (__memchr): Do not use BP_SYM.
18743 (memchr): Do not use BP_SYM in weak_alias.
18744 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18745 (PARMS): Do not use macros from bp-asm.h.
18746 (BLK2): Likewise.
18747 (LEN): Likewise.
18748 (memcmp): Do not use BP_SYM.
18749 (bcmp): Do not use BP_SYM in weak_alias.
18750 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18751 (PARMS): Do not use macros from bp-asm.h.
18752 (S1): Likewise.
18753 (SIZE): Likewise.
18754 (__mpn_mul_1): Do not use BP_SYM.
18755 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18756 "bp-asm.h".
18757 (PARMS): Do not use macros from bp-asm.h.
18758 (STR): Likewise.
18759 (CHR): Likewise.
18760 (__rawmemchr): Do not use BP_SYM.
18761 (rawmemchr): Do not use BP_SYM in weak_alias.
18762 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18763 (PARMS): Do not use macros from bp-asm.h.
18764 (S): Likewise.
18765 (SIZE): Likewise.
18766 (__mpn_rshift): Do not use BP_SYM.
18767 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18768 (PARMS): Do not use macros from bp-asm.h.
18769 (SIGMSK): Likewise.
18770 (__sigsetjmp): Likewise. Do not use BP_SYM.
18771 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18772 (_start): Do not use BP_SYM.
18773 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18774 (PARMS): Do not use macros from bp-asm.h.
18775 (DEST): Likewise.
18776 (SRC): Likewise.
18777 (__stpcpy): Likewise. Do not use BP_SYM.
18778 (stpcpy): Do not use BP_SYM in weak_alias.
18779 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18780 "bp-asm.h".
18781 (PARMS): Do not use macros from bp-asm.h.
18782 (DEST): Likewise.
18783 (SRC): Likewise.
18784 (LEN): Likewise.
18785 (__stpncpy): Likewise. Do not use BP_SYM.
18786 (stpncpy): Do not use BP_SYM in weak_alias.
18787 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18788 (PARMS): Do not use macros from bp-asm.h.
18789 (STR): Likewise.
18790 (CHR): Likewise.
18791 (strchr): Likewise. Do not use BP_SYM.
18792 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18793 "bp-asm.h".
18794 (PARMS): Do not use macros from bp-asm.h.
18795 (STR): Likewise.
18796 (CHR): Likewise.
18797 (__strchrnul): Likewise. Do not use BP_SYM.
18798 (strchrnul): Do not use BP_SYM in weak_alias.
18799 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18800 "bp-asm.h".
18801 (PARMS): Do not use macros from bp-asm.h.
18802 (STOP): Likewise.
18803 (strcspn): Do not use BP_SYM.
18804 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18805 "bp-asm.h".
18806 (PARMS): Do not use macros from bp-asm.h.
18807 (STR): Likewise.
18808 (STOP): Likewise.
18809 (strpbrk): Likewise. Do not use BP_SYM.
18810 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18811 "bp-asm.h".
18812 (PARMS): Do not use macros from bp-asm.h.
18813 (STR): Likewise.
18814 (CHR): Likewise.
18815 (strrchr): Likewise. Do not use BP_SYM.
18816 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18817 (PARMS): Do not use macros from bp-asm.h.
18818 (SKIP): Likewise.
18819 (strspn): Do not use BP_SYM.
18820 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18821 (PARMS): Do not use macros from bp-asm.h.
18822 (STR): Likewise.
18823 (DELIM): Likewise.
18824 (SAVE): Likewise.
18825 (FUNCTION): Likewise. Do not use BP_SYM.
18826 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18827 aliases.
18828 (strtok_r): Likewise.
18829 (__GI___strtok_r): Likewise.
18830 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18831 (PARMS): Do not use macros from bp-asm.h.
18832 (S1): Likewise.
18833 (S2): Likewise.
18834 (SIZE): Likewise.
18835 (__mpn_sub_n): Do not use BP_SYM.
18836 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18837 "bp-asm.h".
18838 (PARMS): Do not use macros from bp-asm.h.
18839 (S1): Likewise.
18840 (SIZE): Likewise.
18841 (__mpn_submul_1): Do not use BP_SYM.
18842 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18843 <bp-sym.h>.
18844 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18845 and <bp-asm.h>.
18846 (PARMS): Do not use macros from bp-asm.h.
18847 (FLAGS): Likewise.
18848 (PTID): Likewise.
18849 (TLS): Likewise.
18850 (CTID): Likewise.
18851 (__clone): Do not use BP_SYM.
18852 (clone): Do not use BP_SYM in weak_alias.
18853 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18854 and <bp-asm.h>.
18855 (PARMS): Do not use macros from bp-asm.h.
18856 (LEN): Likewise.
18857 (__mmap64): Do not use BP_SYM.
18858 (mmap64): Do not use BP_SYM in weak_alias.
18859 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18860 <bp-sym.h> and <bp-asm.h>.
18861 (PARMS): Do not use macros from bp-asm.h.
18862 (__posix_fadvise64_l64): Do not use BP_SYM.
18863 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18864 (PARMS): Do not use macros from bp-asm.h.
18865 (NSOPS): Likewise.
18866 (semtimedop): Do not use BP_SYM.
18867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18868 and <bp-asm.h>.
18869
582a3cff
AM
188702013-02-21 Allan McRae <allan@archlinux.org>
18871
18872 * manual/message.texi (Charset conversion in gettext):
18873 Move @end statement to beginning of line.
18874
bab8a695
SP
188752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18876
80945231
SP
18877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18878 static.
18879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18880 Likewise.
18881
bab8a695
SP
18882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18883 (denorm): Likewise.
18884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18886
e21d7aa7
AK
188872013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18888
18889 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18890 tail-call to the resolved function if pltexit isn't needed.
18891
4c7a4263
SP
188922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18893
18894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18895 or Y being zero as being unlikely.
18896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18897 Likewise.
18898
41f49342
CD
188992013-02-20 Carlos O'Donell <carlos@redhat.com>
18900
18901 * manual/nss.texi (System Databases and Name Service Switch):
18902 Remove frobnicate @pxref.
18903
50022a93
TS
189042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18905
18906 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18907 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18908
08cbd996
PM
189092013-02-20 Petr Machata <pmachata@redhat.com>
18910
18911 * elf/elf.h (R_ARM_TARGET1): New macro.
18912 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18913 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18914 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18915 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18916 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18917 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18918 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18919 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18920 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18921 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18922 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18923 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18924 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18925 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18926 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18927 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18928 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18929 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18930 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18931 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18932 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18933 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18934 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18935 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18936 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18937 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18938 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18939 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18940 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18941 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18942 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18943 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18944 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18945 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18946 (R_ARM_THM_GOT_BREL12): Likewise.
18947 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18948 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18949 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18950 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18951 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18952 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18953 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18954 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18955 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18956
c7b275d6
TS
189572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18958
18959 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18960 __attribute_used__ to __attribute__ ((unused)).
18961
20cd7fb3
SP
189622013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18963
18964 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18965 powerpc mpa.c.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18967 comment formatting.
18968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18969
92945b52
JM
189702013-02-19 Joseph Myers <joseph@codesourcery.com>
18971
18972 [BZ #13550]
18973 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18974 Remove macro.
18975 (ENTER): Remove both macro definitions.
18976 (LEAVE): Likewise.
18977 (CHECK_BOUNDS_LOW): Likewise.
18978 (CHECK_BOUNDS_HIGH): Likewise.
18979 (CHECK_BOUNDS_BOTH): Likewise.
18980 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18981 (RETURN_BOUNDED_POINTER): Likewise.
18982 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18983 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18984 (POP_ERRNO_LOCATION_RETURN): Likewise.
18985 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18986 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18987 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18988 macros.
18989 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18990 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18991 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18992 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18993 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18994 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18995 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18996 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18997 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18998 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18999 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19000 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19001 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19002 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19003 removed macros.
19004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19005 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19006 macros.
19007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19008 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19009 * sysdeps/i386/i586/memset.S (memset): Likewise.
19010 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19011 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19012 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19013 macros.
19014 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19015 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19016 Change uses of L(2) to L(out).
19017 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19018 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19019 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19020 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19021 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19022 removed macros.
19023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19024 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19025 macros.
19026 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19027 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19028 (RETURN): Do not use macro LEAVE.
19029 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19030 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19031 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19032 * sysdeps/i386/i686/memset.S (memset): Likewise.
19033 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19034 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19035 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19036 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19037 Likewise.
19038 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19039 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19040 L(1_2) and L(1_3) into L(1).
19041 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19042 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19043 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19044 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19045 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19046 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19047 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19048 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19049 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19050 macros.
19051 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19052 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19053 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19054 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19055 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19056 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19057 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19058 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19059 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19060 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19061 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19062 * sysdeps/i386/strspn.S (strspn): Likewise.
19063 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19064 conditional code.
19065 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19066 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19067 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19068 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19069 L(1_3) into L(1_1).
19070 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19071 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19072 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19073 macros.
19074 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19075
2389741a
JJ
190762013-02-19 Jakub Jelinek <jakub@redhat.com>
19077
19078 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19079 macro.
19080
2016b3cd
SP
190812013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19082
e4f22324
SP
19083 * math/atest-exp.c (exp_mpn): Remove ROUND.
19084 * math/atest-exp2.c (exp_mpn): Likewise.
19085 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19086
2016b3cd
SP
19087 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19088 * stdlib/tst-tls-atexit-lib.c: Likewise.
19089 * stdlib/tst-tls-atexit.c: Likewise.
19090
4be9b544
MF
190912013-02-18 Mike Frysinger <vapier@gentoo.org>
19092
19093 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19094 and __attribute_alloc_size__.
19095
2f62b9ee
MF
190962013-02-18 Mike Frysinger <vapier@gentoo.org>
19097
19098 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19099 __attribute_alloc_size__.
19100 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19101 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19102
6ff444c4
MF
191032013-02-18 Mike Frysinger <vapier@gentoo.org>
19104
19105 * include/programs/xmalloc.h: New file.
19106 * catgets/gencat.c: Include it.
19107 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19108 * elf/pldd.c: Likewise.
19109 * iconv/iconv_charmap.c: Likewise.
19110 * iconv/iconvconfig.c: Likewise.
19111 * iconv/strtab.c: Likewise.
19112 * locale/programs/locale.c: Likewise.
19113 * locale/programs/localedef.h: Likewise.
19114 * locale/programs/simple-hash.c: Likewise.
19115 * nscd/nscd.h: Likewise.
19116 * nss/makedb.c: Likewise.
19117 * sysdeps/generic/ldconfig.h: Likewise.
19118
be179c8a
SP
191192013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19120
ba384f6e
SP
19121 * Versions.def: Add GLIBC_2.18.
19122 * include/link.h (struct link_map): New member l_tls_dtor_count.
19123 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19124 (__call_tls_dtors): Likewise.
19125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19126 __cxa_thread_atexit_impl.
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19128 Likewise.
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19130 Likewise.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19132 Likewise.
19133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19134 Likewise.
19135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19137 Likewise.
19138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19139 Likewise.
19140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19142 Likewise.
19143 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19144 (tests): Add test case tst-tls-atexit.
19145 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19146 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19147 (GLIBC_PRIVATE): Add __call_tls_dtors.
19148 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19149 for libstdc++.
19150 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19151 * stdlib/tst-tls-atexit.c: New test case.
19152 * stdlib/tst-tls-atexit-lib.c: New test case.
19153
ffaa74cf 19154 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19155
be179c8a
SP
19156 * elf/Versions (ld): Add _dl_find_dso_for_object.
19157 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19158 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19159 (dl_open_worker): Use _dl_find_dso_for_object.
19160 * elf/dl-sym.c (do_sym): Likewise.
19161 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19162
f78b5caa
AK
191632013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19164
19165 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19166 Syntactic changes only.
19167 (_dl_runtime_profile): Do a tail-call to the resolved function.
19168
29691210
JM
191692013-02-17 Joseph Myers <joseph@codesourcery.com>
19170
19171 [BZ #13550]
19172 * sysdeps/x86_64/bp-asm.h: Remove file.
19173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19174 <bp-sym.h> and <bp-asm.h>.
19175 (__clone): Do not use BP_SYM.
19176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19177 <bp-sym.h> and <bp-asm.h>.
19178 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19179 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19180 "bp-asm.h".
19181 (_setjmp): Do not use BP_SYM.
19182 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19183 "bp-asm.h".
19184 (setjmp): Do not use BP_SYM.
19185 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19186 libc_hidden_def.
19187 (mempcpy): Do not use BP_SYM in weak_alias.
19188 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19189 "bp-asm.h".
19190 (strchr): Do not use BP_SYM.
19191 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19192 "bp-asm.h".
19193 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19194 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19195 (_start): Do not use BP_SYM.
19196 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19197 "bp-asm.h".
19198 (strcat): Do not use BP_SYM.
19199 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19200 "bp-asm.h".
19201 (STRCMP): Do not use BP_SYM.
19202 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19203 "bp-asm.h".
19204 (STRCPY): Do not use BP_SYM.
19205 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19206 "bp-asm.h".
19207 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19208 "bp-asm.h".
19209 (FUNCTION): Do not use BP_SYM.
19210 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19211 weak_alias.
19212 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19213
f238fd19
AJ
192142013-02-17 Andreas Jaeger <aj@suse.de>
19215
19216 * time/Versions: Sort entries.
19217 * string/Versions: Likewise.
19218 * resolv/Versions: Likewise.
19219 * posix/Versions: Likewise.
19220 * iconv/Versions: Likewise.
19221 * elf/Versions: Likewise.
19222 * wcsmbs/Versions: Likewise.
19223
bd07f23c 192242013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19225
22af19f9
SP
19226 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19227 loop termination condition.
19228
4709fe76
SP
19229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19230 variable to calculate EZ.
19231 (__sqr): Likewise.
2d0e0f29
SP
19232
19233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19234 the lower precision input.
19235
daaa7713
JM
192362013-02-15 Joseph Myers <joseph@codesourcery.com>
19237
19238 [BZ #13550]
19239 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19240 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19241 (run-via-rtld-prefix): Do not handle %-bp tests.
19242 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19243 (all-object-suffixes): Remove .ob.
19244 (bppfx): Remove variable.
19245 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19246 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19247 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19248 [$(build-bounded) = yes] (libtype.ob): Likewise.
19249 * Makerules (elide-routines.ob): Remove variable.
19250 (do-tests-clean): Do not handle *-bp.out.
19251 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19252 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19253 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19254 (tests): Do not include $(tests-bp.out).
19255 (xtests): Do not include $(xtests-bp.out).
19256 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19257 [$(build-bounded) = yes] ($(addprefix
19258 $(objpfx),$(binaries-bounded))): Remove rule.
19259 ($(objpfx)%-bp.out): Remove rule.
19260 * config.make.in (build-bounded): Remove variable.
19261 * crypt/Makefile [$(build-bounded) = yes]
19262 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19263 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19264 append to variable.
19265 [$(build-bounded) = yes] (install-lib): Likewise.
19266 [$(build-bounded) = yes] (generated): Likewise.
19267 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19268 Remove rule.
19269 * intl/Makefile [$(build-bounded) = yes]
19270 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19271 * math/Makefile [$(build-bounded) = yes]
19272 ($(tests:%=$(objpfx)%-bp): Likewise.
19273 * misc/Makefile [$(build-bounded) = yes]
19274 ($(objpfx)tst-tsearch-bp): Likewise.
19275 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19276 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19277 Remove dependency.
19278 * string/Makefile (o-objects.ob): Remove variable.
19279 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19280 (CFLAGS-.ob): Remove variable.
19281 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19282 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19283 both definitions of variable.
19284 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19285 (ASFLAGS-.ob): Remove variable.
19286
e97ed6dd
JM
192872013-02-14 Joseph Myers <joseph@codesourcery.com>
19288
2bdd4ca6
JM
19289 [BZ #13550]
19290 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19291 Remove __BOUNDED_POINTERS__ from condition.
19292 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19293 * string/bits/string2.h [!__NO_STRING_INLINES &&
19294 !__BOUNDED_POINTERS__]: Likewise.
19295 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19296 Likewise.
19297 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19298 Remove conditional code.
19299 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19300 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19301 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19302 condition.
19303
e97ed6dd
JM
19304 [BZ #13550]
19305 * csu/libc-start.c: Do not include <bp-sym.h>.
19306 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19307 * elf/dl-open.c: Do not include <bp-sym.h>.
19308 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19309 * math/fegetenv.c: Do not include <bp-sym.h>.
19310 (fegetenv): Do not use BP_SYM in versioned symbols.
19311 * nptl/sysdeps/pthread/bits/libc-lockP.h
19312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19313 <bp-sym.h>.
19314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19315 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19317 (__pthread_mutex_destroy): Likewise.
19318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19319 (__pthread_mutex_lock): Likewise.
19320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19321 (__pthread_mutex_trylock): Likewise.
19322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19323 (__pthread_mutex_unlock): Likewise.
19324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19325 (__pthread_mutexattr_init): Likewise.
19326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19327 (__pthread_mutexattr_destroy): Likewise.
19328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19329 (__pthread_mutexattr_settype): Likewise.
19330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19331 (__pthread_rwlock_init): Likewise.
19332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19333 (__pthread_rwlock_destroy): Likewise.
19334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19335 (__pthread_rwlock_rdlock): Likewise.
19336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19337 (__pthread_rwlock_tryrdlock): Likewise.
19338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19339 (__pthread_rwlock_wrlock): Likewise.
19340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19341 (__pthread_rwlock_trywrlock): Likewise.
19342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19343 (__pthread_rwlock_unlock): Likewise.
19344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19345 (__pthread_key_create): Likewise.
19346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19347 (__pthread_setspecific): Likewise.
19348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19349 (__pthread_getspecific): Likewise.
19350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19351 Likewise.
19352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19353 (_pthread_cleanup_push_defer): Likewise.
19354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19355 (_pthread_cleanup_pop_restore): Likewise.
19356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19357 (pthread_setcancelstate): Likewise.
19358 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19359 <bp-sym.h>.
19360 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19361 (memchr): Do not use BP_SYM in weak_alias.
19362 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19363 (fegetenv): Do not use BP_SYM in versioned symbols.
19364 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19365 (fesetenv): Do not use BP_SYM in versioned symbols.
19366 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19367 (feupdateenv): Do not use BP_SYM in versioned symbols.
19368 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19369 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19370 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19371 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19372 (open64): Do not use BP_SYM in weak_alias.
19373 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19374 (fegetenv): Do not use BP_SYM in versioned symbols.
19375 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19376 (fesetenv): Do not use BP_SYM in versioned symbols.
19377 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19378 (feupdateenv): Do not use BP_SYM in versioned symbols.
19379 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19380 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19381 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19382 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19383 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19384 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19386 <bp-sym.h>.
19387 (__libc_start_main): Do not use BP_SYM.
19388
d6752ccd
SP
193892013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19390
cb57ce60
SP
19391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19392 redundant return line.
19393 (norm): Likewise.
19394 (denorm): Likewise.
19395 (dbl_mp): Likewise.
19396 (sub_magnitudes): Likewise.
19397 (__add): Likewise.
19398 (__sub): Likewise.
19399 (__mul): Likewise.
19400 (__inv): Likewise.
19401 (__dvd): Likewise.
19402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19403 (norm): Likewise.
19404 (denorm): Likewise.
19405 (dbl_mp): Likewise.
19406 (sub_magnitudes): Likewise.
19407 (__add): Likewise.
19408 (__sub): Likewise.
19409 (__mul): Likewise.
19410 (__inv): Likewise.
19411 (__dvd): Likewise.
19412
f414520d
SP
19413 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19414 instead of __mul.
19415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19416 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19417 (cc32): Likewise.
19418
d6752ccd
SP
19419 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19420 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19422 of __mul for squares.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19424 function
19425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19426 Likewise.
19427 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19429
70d9946a
JM
194302013-02-13 Joseph Myers <joseph@codesourcery.com>
19431
19432 [BZ #13550]
19433 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19434 code.
19435 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19436 prototype or function definition. Rename ubp_* variables and
19437 parameters. Remove argv definitions conditional on
19438 [__BOUNDED_POINTERS__].
19439 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19440 * elf/dl-runtime.c (_dl_fixup): Likewise.
19441 * include/set-hooks.h (RUN_HOOK): Likewise.
19442 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19443 definition.
19444 * string/strcpy.c (strcpy): Do not use __unbounded.
19445 * sysdeps/generic/frame.h (struct layout): Likewise.
19446 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19447 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19448 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19449 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19450 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19451 (__backtrace): Likewise.
19452 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19453 use __ptrvalue.
19454 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19455 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19456 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19457 Likewise.
19458 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19459 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19460 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19461 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19462 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19463 Do not use __unbounded.
19464 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19465 Rename __unboundedrlimits parameter to rlimits in prototype.
19466 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19467 Do not use __unbounded.
19468 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19469 not use __ptrvalue.
19470 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19471 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19472 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19473 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19474 __ptrvalue or __unbounded.
19475 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19476 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19477 use __unbounded.
19478 (__new_msgctl): Do not use __ptrvalue.
19479 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19480 __unbounded.
19481 (__libc_msgrcv): Do not use __ptrvalue.
19482 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19483 startup_info): Do not use __unbounded.
19484 (__libc_start_main): Likewise. Rename ubp_* variables and
19485 parameters. Remove argv definitions conditional on
19486 [__BOUNDED_POINTERS__].
19487 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19488 __ptrvalue.
19489 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19490 use __unbounded.
19491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19492 or __ptrvalue.
19493 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19494 use __unbounded.
19495 (__new_shmctl): Do not use __ptrvalue.
19496 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19497 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19498 Likewise.
19499 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19500 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19501 (__libc_sigaction): Likewise.
19502 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19504 Likewise.
19505 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19506
cc7834d6
OB
195072013-02-13 Ondřej Bílka <neleai@seznam.cz>
19508
ffb1ec7b 19509 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19510
19511 * string/mempcpy.c: Implement by calling memcpy.
19512
bdf02814
SP
195132013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19514
c2af38aa
SP
19515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19516
4e92d59e
SP
19517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19518 evaluation.
19519
909279a5
SP
19520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19521 values in the mantissa.
19522
bdf02814
SP
19523 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19524 minimize writes to Z.
19525 (sub_magnitudes): Simplify code a bit.
19526
cd525923
RM
195272013-02-12 Roland McGrath <roland@hack.frob.com>
19528
19529 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19530 from the message. The linker prefixes all warnings with that already.
19531
7e2f0d2d
AS
195322013-02-12 Andreas Schwab <schwab@suse.de>
19533
a445af0b
AS
19534 [BZ #15078]
19535 * posix/regexec.c (extend_buffers): Add parameter min_len.
19536 (check_matching): Pass minimum needed length.
19537 (clean_state_log_if_needed): Likewise.
19538 (get_subexp): Likewise.
19539 * posix/Makefile (tests): Add bug-regex34.
19540 (bug-regex34-ENV): Define.
19541 * posix/bug-regex34.c: New file.
19542
7e2f0d2d
AS
19543 [BZ #11561]
19544 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19545 elements compare against the byte sequence of it, not its name.
19546 * posix/Makefile (tests): Add bug-regex35.
19547 (bug-regex35-ENV): Define.
19548 * posix/bug-regex35.c: New file.
19549
a175b684
TV
195502013-02-11 Tom de Vries <tom@codesourcery.com>
19551
19552 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19553 comment.
19554 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19555 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19556 (CHECK_EOL): Add undef.
19557
310998fe 195582013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19559
19560 * bits/stdlib-bsearch.h: New file.
19561 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19562 * stdlib/stdlib.h: Likewise.
41eda41d 19563
8ded91fb
RM
195642013-02-11 Roland McGrath <roland@hack.frob.com>
19565
19566 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19567 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19568 declaration.
19569 * manual/search.texi (Array Search Function): Add missing const in
19570 lfind prototype.
19571 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19572 declaration to use rlim_t.
19573 (Basic Scheduling Functions): Remove erroneous const from
19574 sched_getparam prototype. Remove erroneous * from
19575 sched_get_priority_max and sched_get_priority_min prototypes.
19576 (Resource Usage): Fix summary @comment on vtimes to refer to
19577 sys/vtimes.h rather than vtimes.h.
19578 Add missing *s in vtimes prototype.
19579 (Limits on Resources): Fix ulimit prototype to return long int.
19580 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19581 prototypes to use long int rather than double.
19582 (BSD Random): Fix initstate and setstate to use char *, not void *.
19583 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19584 prototype to make second argument 'struct aiocb64 *const[]'.
19585 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19586 (Status of AIO Operations): Remove erroneous const in aio_return and
19587 aio_return64 prototypes.
19588 (Synchronizing I/O): Fix sync prototype to return void.
19589 * manual/startup.texi (Suboptions): Remove an erroneous const in
19590 getsubopt prototype.
19591 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19592 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19593 use size_t rather than int.
19594 (Scanning All Users): Likewise for getpwent_r.
19595 (Setting Groups): Add missing const to setgroups prototype.
19596 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19597 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19598 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19599 'const void *' rather than 'const char *'.
19600 (Host Address Functions): Likewise for inet_ntop.
19601 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19602 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19603 ssize_t for return value.
19604 (Sending Data): Likewise for send, sendto, sendmsg.
19605 (Socket Option Functions): Add a missing const in setsockopt prototype.
19606 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19607 use wchar_t for the argument.
19608 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19609 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19610 take no arguments.
19611 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19612 double/float/long double for second argument.
19613 Fix return types of significand, significandf, significandl.
19614 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19615 argument in fchmod prototype.
19616 (File Owner): Use uid_t and gid_t in fchown prototype.
19617 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19618 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19619 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19620 use 'const struct dirent **' as argument types to CMP function pointer
19621 argument.
19622 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19623 (File Times): Fix summary magic @comment for struct utimbuf and utime
19624 to refer to utime.h, not time.h.
19625 * manual/string.texi (Argz Functions): Add missing const in
19626 argz_extract and argz_next prototypes.
19627 (Finding Tokens in a String): Likewise for basename.
19628 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19629 (Copying and Concatenation): Fix typo in wmemmove prototype.
19630 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19631 (Signal Stack): Remove erroneous const in sigstack prototype.
19632 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19633 prototype.
19634 (Simple Calendar Time): Likewise for stime.
19635 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19636 prototype.
19637 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19638 say sys/sysctl.h instead.
19639 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19640 and vsyslog prototypes.
19641
fe77fe6d
TV
196422013-02-11 Tom de Vries <tom@codesourcery.com>
19643
19644 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19645 Remove.
19646
3a09b620
RM
196472013-02-11 Roland McGrath <roland@hack.frob.com>
19648
19649 * misc/sys/mman.h: Fix typo in mremap comment.
19650
550a0b89
RM
196512013-02-08 Roland McGrath <roland@hack.frob.com>
19652
19653 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19654 the '\0' terminator.
19655
a2da1673
JM
196562013-02-08 Joseph Myers <joseph@codesourcery.com>
19657
19658 [BZ #13550]
19659 * debug/segfault.c: Don't include <bp-checks.h>.
19660 * sysdeps/generic/bp-checks.h: Remove file.
19661 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19662 (__GETDENTS): Don't use CHECK_N.
19663 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19664 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19665 (__getgroups): Don't use CHECK_N.
19666 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19667 (setgroups): Don't use CHECK_N.
19668 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19669 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19670 (__libc_msgrcv): Don't use CHECK_N.
19671 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19672 (__libc_msgsnd): Don't use CHECK_N.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19674 <bp-checks.h>.
19675 (__libc_pread): Don't use CHECK_N.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19677 include <bp-checks.h>.
19678 (__libc_pread64): Don't use CHECK_N.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19680 include <bp-checks.h>.
19681 (__libc_pwrite): Don't use CHECK_N.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19683 include <bp-checks.h>.
19684 (__libc_pwrite64): Don't use CHECK_N.
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19686 <bp-checks.h>.
19687 (__libc_pread): Don't use CHECK_N.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19689 include <bp-checks.h>.
19690 (__libc_pread64): Don't use CHECK_N.
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19692 include <bp-checks.h>.
19693 (__libc_pwrite): Don't use CHECK_N.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19695 include <bp-checks.h>.
19696 (__libc_pwrite64): Don't use CHECK_N.
19697 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19698 (do_pread): Don't use CHECK_N.
19699 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19700 (do_pread64): Don't use CHECK_N.
19701 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19702 (do_pwrite): Don't use CHECK_N.
19703 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19704 (do_pwrite64): Don't use CHECK_N.
19705 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19706 (__libc_readv): Don't use CHECK_N.
19707 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19708 (semop): Don't use CHECK_N.
19709 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19710 <bp-checks.h>.
19711 (semtimedop): Don't use CHECK_N.
19712 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19713 (__libc_pread): Don't use CHECK_N.
19714 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19715 <bp-checks.h>.
19716 (__libc_pread64): Don't use CHECK_N.
19717 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19718 <bp-checks.h>.
19719 (__libc_pwrite): Don't use CHECK_N.
19720 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19721 <bp-checks.h>.
19722 (__libc_pwrite64): Don't use CHECK_N.
19723 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19724 <bp-checks.h>.
19725 (__libc_msgrcv): Don't use CHECK_N.
19726 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19727 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19728 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19729 (__libc_writev): Don't use CHECK_N.
19730
b84660a8
RM
197312013-02-08 Roland McGrath <roland@hack.frob.com>
19732
7f3e75f8
RM
19733 * string/strcpy.c: Removed unused variable.
19734
b84660a8
RM
19735 * Makeconfig (+sysdep-includes): Define with := rather than =.
19736 Use an existing include/ subdir of each sysdeps dir before it.
19737
471514d3
CD
197382013-02-08 Carlos O'Donell <carlos@redhat.com>
19739
19740 * nscd/connection.c (register_traced_file): Comment function.
19741 [HAVE_INOTIFY] (union __inev): Define.
19742 [HAVE_INOTIFY] (inotify_check_files): New function.
19743 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19744 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19745 clear_db_cache.
19746 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19747
b2d3c3be
CD
197482013-02-08 Carlos O'Donell <carlos@redhat.com>
19749
19750 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19751 loaded if not already and that a failure is permanent.
19752
b39949d2
CD
197532013-02-08 Carlos O'Donell <carlos@redhat.com>
19754
ddacd1db 19755 [BZ #15006]
b39949d2
CD
19756 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19757 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19758
b2c9eff4
JM
197592013-02-08 Joseph Myers <joseph@codesourcery.com>
19760
f3aae3f3
JM
19761 [BZ #13550]
19762 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19763 (CHECK_1_NULL_OK): Likewise.
19764 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19765 (__fxstat): Do not use CHECK_1.
19766 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19767 <bp-checks.h>.
19768 (___fxstat64): Do not use CHECK_1.
19769 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19770 <bp-checks.h>.
19771 (__fxstatat): Do not use CHECK_1.
19772 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19773 <bp-checks.h>.
19774 (__fxstatat64): Do not use CHECK_1.
19775 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19776 <bp-checks.h>.
19777 (__fxstat): Do not use CHECK_1.
19778 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19779 <bp-checks.h>.
19780 (__fxstatat): Do not use CHECK_1.
19781 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19782 <bp-checks.h>.
19783 (__getresgid): Do not use CHECK_1.
19784 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19785 <bp-checks.h>.
19786 (__getresuid): Do not use CHECK_1.
19787 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19788 <bp-checks.h>.
19789 (__lxstat): Do not use CHECK_1.
19790 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19791 <bp-checks.h>.
19792 (__old_msgctl): Do not use CHECK_1.
19793 (__new_msgctl): Likewise.
19794 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19795 <bp-checks.h>.
19796 (__new_setrlimit): Do not use CHECK_1.
19797 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19798 <bp-checks.h>.
19799 (__old_shmctl): Do not use CHECK_1.
19800 (__new_shmctl): Likewise.
19801 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19802 <bp-checks.h>.
19803 (__xstat): Do not use CHECK_1.
19804 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19805 (__lxstat): Do not use CHECK_1.
19806 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19807 <bp-checks.h>.
19808 (___lxstat64): Do not use CHECK_1.
19809 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19810 (__old_msgctl): Do not use CHECK_1.
19811 (__new_msgctl): Likewise.
19812 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19813 <bp-checks.h>.
19814 (__gettimeofday): Do not use CHECK_1.
19815 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19816 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19817 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19818 <bp-checks.h>.
19819 (__gettimeofday): Do not use CHECK_1.
19820 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19821 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19822 (__new_shmctl): Do not use CHECK_1.
19823 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19824 <bp-checks.h>.
19825 (do_sigtimedwait): Do not use CHECK_1.
19826 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19827 <bp-checks.h>.
19828 (do_sigwaitinfo): Do not use CHECK_1.
19829 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19830 <bp-checks.h>.
19831 (msgctl): Do not use CHECK_1.
19832 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19833 <bp-checks.h>.
19834 (shmctl): Do not use CHECK_1.
19835 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19836 (ustat): Do not use CHECK_1.
19837 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19838 <bp-checks.h>.
19839 (__fxstat): Do not use CHECK_1.
19840 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19841 <bp-checks.h>.
19842 (__fxstatat): Do not use CHECK_1.
19843 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19844 <bp-checks.h>.
19845 (__lxstat): Do not use CHECK_1.
19846 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19847 <bp-checks.h>.
19848 (__xstat): Do not use CHECK_1.
19849 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19850 (__xstat): Do not use CHECK_1.
19851 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19852 (___xstat64): Do not use CHECK_1.
19853
b2c9eff4
JM
19854 [BZ #13550]
19855 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19856 definitions.
19857 (CHECK_BOUNDS_HIGH): Likewise.
19858 * string/strcpy.c: Do not include <bp-checks.h>.
19859 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19860
f1d70dad
RM
198612013-02-07 Roland McGrath <roland@hack.frob.com>
19862
19863 * nscd/nscd-client.h (__nscd_drop_map_ref):
19864 Add __attribute__ ((unused)).
19865 * nis/nss-nisplus.h (niserr2nss): Likewise.
19866
19867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19868 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19869
19870 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19871 Remove inline keyword.
19872 * include/rounding-mode.h (round_away): Likewise.
19873 * libio/wfileops.c (adjust_wide_data): Likewise.
19874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19875 (__m128i_strloadu_tolower): Likewise.
19876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19877 (__m128i_strloadu_tolower): Likewise.
19878 * time/mktime.c (ydhms_diff): Likewise.
19879 * locale/elem-hash.h (elem_hash): Likewise.
19880 * locale/setlocale.c (setdata): Likewise.
19881 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19882 (re_string_wchar_at): Likewise.
19883 (bitset_not, bitset_merge, bitset_mask): Likewise.
19884 [!(__GNUC__ > 3)] (inline): Remove macro.
19885 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19886 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19887 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19888 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19889 * string/memcmp.c (memcmp_bytes): Likewise.
19890 * locale/programs/locarchive.c (compute_hashval): Likewise.
19891 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19892 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19893 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19894 * nss/getent.c (print_rpc, print_protocols): Likewise.
19895 (print_passwd, print_group, print_aliases): Likewise.
19896 * nis/nss-nisplus.h (niserr2nss): Likewise.
19897 * nscd/connections.c (restart_p): Likewise.
19898 Change return type to bool.
19899
eab55bfb
RM
199002013-02-05 Roland McGrath <roland@hack.frob.com>
19901
7bd642f5
RM
19902 * Makeconfig (all-Depend-files): Add existing
19903 $(sorted-subdirs:=/Depend) files.
19904 (all-subdirs): Remove nss.
19905 * sysdeps/unix/inet/Subdirs: Add it here instead.
19906 * hesiod/Depend: New file.
19907
573c29b2
RM
19908 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19909 instead of calling alloca.
19910
b2e25af0
RM
19911 * io/lseek.c (__lseek): Rename to __libc_lseek.
19912 Define __lseek as an alias.
19913
eab55bfb
RM
19914 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19915
9a0d1941
CD
199162013-02-04 Carlos O'Donell <carlos@redhat.com>
19917
19918 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19919 else clause and remove check for non-standard endianness.
19920
b83bbec4
DM
199212013-02-04 David S. Miller <davem@davemloft.net>
19922
19923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19924
6277fdab
JM
199252013-02-04 Joseph Myers <joseph@codesourcery.com>
19926
19927 [BZ #13550]
19928 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19929 (__ubp_memchr): Remove prototype.
19930 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19931 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19932 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19933 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19934 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19935 Remove alias.
19936 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19937 (__ubp_memchr): Likewise.
19938 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19939 (__ubp_memchr): Likewise.
19940 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19941 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19942 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19943 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19944 CHECK_STRING.
19945 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19946 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19947 (__getcwd): Do not use CHECK_STRING.
19948 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19949 <bp-checks.h>.
19950 (__real_chown): Do not use CHECK_STRING.
19951 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19952 <bp-checks.h>.
19953 (fchownat): Do not use CHECK_STRING.
19954 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19955 CHECK_STRING.
19956 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19957 <bp-checks.h>.
19958 (__lchown): Do not use CHECK_STRING.
19959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19960 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19961 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19962 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19964 include <bp-checks.h>.
19965 (truncate64): Do not use CHECK_STRING.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19967 <bp-checks.h>.
19968 (__real_chown): Do not use CHECK_STRING.
19969 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19970 <bp-checks.h>.
19971 (__lchown): Do not use CHECK_STRING.
19972 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19973 <bp-checks.h>.
19974 (__chown): Do not use CHECK_STRING.
19975 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19976 <bp-checks.h>.
19977 (truncate64): Do not use CHECK_STRING.
19978 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19979 Likewise.
19980 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19981 (__xmknod): Do not use CHECK_STRING.
19982 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19983 <bp-checks.h>.
19984 (__xmknodat): Do not use CHECK_STRING.
19985 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19986 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19987
903ae060
AS
199882013-02-04 Andreas Schwab <schwab@suse.de>
19989
19990 [BZ #14142]
19991 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19992 * include/netdb.h: Likewise for h_errno.
19993 * elf/tst-stackguard1.c: Include <tls.h>.
19994
542f9466
JK
199952013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19996
19997 * elf/link.h (struct link_map): Extend the l_addr comment.
19998 * include/link.h (struct link_map): Likewise.
19999
e782a927
JM
200002013-02-01 Joseph Myers <joseph@codesourcery.com>
20001
20002 [BZ #13550]
20003 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20004 (BOUNDED_1): Remove macro.
20005 * debug/backtrace.c: Don't include <bp-checks.h>.
20006 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20007 (__backtrace): Likewise.
20008 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20009 <bp-checks.h>.
20010 (__backtrace): Don't use BOUNDED_1.
20011 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20012 <bp-checks.h>.
20013 (__backtrace): Don't use BOUNDED_1.
20014 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20015 (__backtrace): Don't use BOUNDED_1.
20016 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20017 (shmat): Don't use BOUNDED_N.
20018
8cf28c5e
JM
200192013-01-31 Joseph Myers <joseph@codesourcery.com>
20020
3a7ac8a0
JM
20021 [BZ #13550]
20022 * sysdeps/generic/bp-start.h: Remove file.
20023 * csu/libc-start.c: Don't include <bp-start.h>.
20024 (LIBC_START_MAIN): Set up __environ directly instead of using
20025 INIT_ARGV_and_ENVIRON.
20026 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20027 <bp-start.h>.
20028
f3499f95
JM
20029 [BZ #13550]
20030 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20031 definitions.
20032 (CHECK_FCNTL): Likewise.
20033 (CHECK_N_PAGES): Likewise.
20034
32a45bea
JM
20035 [BZ #13550]
20036 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20037 definitions.
20038 (CHECK_SIGSET_NULL_OK): Likewise.
20039 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20040 <bp-checks.h>.
20041 (sigpending): Don't use CHECK_SIGSET.
20042 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20043 <bp-checks.h>.
20044 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20045 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20046 <bp-checks.h>.
20047 (do_sigsuspend): Don't use CHECK_SIGSET.
20048 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20049 use CHECK_SIGSET.
20050 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20051 (do_sigwait): Don't use CHECK_SIGSET.
20052 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20053 use CHECK_SIGSET.
20054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20055 include <bp-checks.h>.
20056 (sigpending): Don't use CHECK_SIGSET.
20057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20058 include <bp-checks.h>.
20059 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20060 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20061 <bp-checks.h>.
20062 (sigpending): Don't use CHECK_SIGSET.
20063 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20064 <bp-checks.h>.
20065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20066
2e8a5c8c
JM
20067 [BZ #13550]
20068 * sysdeps/generic/bp-semctl.h: Remove file.
20069 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20070 <bp-checks.h> and <bp-semctl.h>.
20071 (__old_semctl): Don't use CHECK_SEMCTL.
20072 (__new_semctl): Likewise.
20073 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20074 and <bp-semctl.h>.
20075 (__old_semctl): Don't use CHECK_SEMCTL.
20076 (__new_semctl): Likewise.
20077 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20078 <bp-checks.h> and <bp-semctl.h>.
20079 (__old_semctl): Don't use CHECK_SEMCTL.
20080 (__new_semctl): Likewise.
20081 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20082 <bp-checks.h> and <bp-semctl.h>.
20083 (semctl): Don't use CHECK_SEMCTL.
20084
c2d54929
JM
20085 [BZ #13550]
20086 * Makerules (elide-bp-thunks): Remove variable.
20087 (elide-routines.oS): Don't use $(elide-bp-thunks).
20088 (elide-routines.os): Likewise.
20089 (elide-routines.o): Likewise.
20090 (elide-routines.op): Likewise.
20091 (elide-routines.og): Likewise.
20092 (objects): Don't use $(bp-thunks).
20093 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20094 include.
20095 (common-generated): Do not add s-proto-bp.d.
20096 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20097 (int): Likewise.
20098 (typ): Likewise.
20099 Do not generate makefile rules for bounded-pointer thunks.
20100 * sysdeps/generic/bp-thunks.h: Remove file.
20101 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20102 * sysdeps/unix/s-proto-bp.S: Likewise.
20103
8cf28c5e
JM
20104 [BZ #15062]
20105 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20106 parts of result separately when argument is not close to line from
20107 -i to i and one part of argument is small.
20108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20110 * math/libm-test.inc (cacos_test): Add more tests.
20111 (casin_test): Likewise.
20112 (casinh_test): Likewise.
20113 * sysdeps/i386/fpu/libm-test-ulps: Update.
20114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115
c4e33b8d
DM
201162013-01-31 David S. Miller <davem@davemloft.net>
20117
20118 * po/de.po: Update from translation team.
20119
3b60b421
MK
201202013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20121
20122 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20123
bb931195
TS
201242013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20125
b5a5da23
TS
20126 * configure.in (_AC_PROG_CC_C89): New definition.
20127 * configure: Regenerate.
20128
bb931195
TS
20129 * configure.in (AC_PROG_CPP): New definition.
20130 * configure: Regenerate.
20131
8c53a12c
JM
201322013-01-23 Joseph Myers <joseph@codesourcery.com>
20133
20134 * debug/tst-backtrace.h: New file.
20135 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20136 (ret): Remove variable.
20137 (x): Likewise.
20138 (FAIL): Remove macro.
20139 (NO_INLINE): Likewise.
20140 (fn1): Use match function instead of strstr.
20141 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20142 (ret): Remove variable.
20143 (x): Likewise.
20144 (FAIL): Remove macro.
20145 (NO_INLINE): Likewise.
20146 (fn): Use match function instead of strstr.
20147 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20148 (ret): Remove variable.
20149 (x): Likewise.
20150 (FAIL): Remove macro.
20151 (NO_INLINE): Likewise.
20152 (handle_signal): Use match function instead of strstr.
20153 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20154 (ret): Remove variable.
20155 (x): Likewise.
20156 (FAIL): Remove macro.
20157 (NO_INLINE): Likewise.
20158 (handle_signal): Use match function instead of strstr.
20159
4858fa2a
RM
201602013-01-23 Roland McGrath <roland@hack.frob.com>
20161
20162 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20163
bae8e7f5
DM
201642013-01-23 David S. Miller <davem@davemloft.net>
20165
20166 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20167 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20168 argument of CAS if possible.
20169 * sysdeps/sparc/sparc64/bits/atomic.h
20170 (__arch_compare_and_exchange_val_32_acq): Likewise.
20171 (__arch_compare_and_exchange_val_64_acq): Likewise.
20172
9cbbc4ae
PT
201732013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20174
20175 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20176 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20177 Include <limits.h>.
67b3f58c 20178 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20179
5655a0b5
AC
201802013-01-23 Adam Conrad <adconrad@0c3.net>
20181
20182 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20183 (LDFLAGS-tst-array5): Likewise.
20184
052aff95
JM
201852013-01-23 Joseph Myers <joseph@codesourcery.com>
20186
20187 [BZ #15036]
20188 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20189 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20190 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20191 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20192
7c1e01aa
DM
201932013-01-21 David S. Miller <davem@davemloft.net>
20194
20195 * sysdeps/sparc/backtrace.c: New file.
20196 * sysdeps/sparc/sparc32/backtrace.h: New file.
20197 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20198 * sysdeps/sparc/sparc64/backtrace.h: New file.
20199 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20200 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20201 -funwind-tables.
20202
ab087e0a
AS
202032013-01-21 Andreas Schwab <schwab@suse.de>
20204
20205 [BZ #15020]
20206 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20207 closed its stdout.
20208
ed689c2f
AS
202092013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20210
20211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20212 "mpa2.h".
20213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20214
31d470ac
JM
202152013-01-18 Joseph Myers <joseph@codesourcery.com>
20216 Mark Mitchell <mark@codesourcery.com>
20217 Tom de Vries <tom@codesourcery.com>
20218 Paul Pluzhnikov <ppluzhnikov@google.com>
20219
20220 * debug/tst-backtrace2.c: New file.
20221 * debug/tst-backtrace3.c: Likewise.
20222 * debug/tst-backtrace4.c: Likewise.
20223 * debug/tst-backtrace5.c: Likewise.
20224 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20225 (CFLAGS-tst-backtrace3.c): Likewise.
20226 (CFLAGS-tst-backtrace4.c): Likewise.
20227 (CFLAGS-tst-backtrace5.c): Likewise.
20228 (LDFLAGS-tst-backtrace2): Likewise.
20229 (LDFLAGS-tst-backtrace3): Likewise.
20230 (LDFLAGS-tst-backtrace4): Likewise.
20231 (LDFLAGS-tst-backtrace5): Likewise.
20232 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20233 tst-backtrace4 and tst-backtrace5.
20234
90567f30 202352013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20236 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20237
20238 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20239 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20240 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20241 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20243 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20244 "+r" and remove output regs list as redundant. Add explicit inline
20245 asm to specify register of return val to work around compiler codegen
20246 bug. Remove (int) cast on return value. Add return type parameter to
20247 use in macro so that this macro does not truncate return value for
20248 64-bit values.
20249 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20250 pass to INTERNAL_VSYSCALL_NCS.
20251 (INLINE_VSYSCALL): Add 'long int' as return type to
20252 INTERNAL_VSYSCALL_NCS macro invocation.
20253 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20254 INTERNAL_VSYSCALL_NCS macro invocation.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20256
d3b9ea61
SP
202572013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20258
0b57daeb
SP
20259 [BZ #14496]
20260 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20261 Fix application of SIMD FP exception mask.
20262
caa99d06
SP
20263 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20264 mp_no from a power of two.
20265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20266 __mpexp_twomm1. Use __pow_mp.
20267
d3b9ea61
SP
20268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20269 multiplication.
20270
1dbaee3c
DM
202712013-01-17 David S. Miller <davem@davemloft.net>
20272
20273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20274
728d7b43
JM
202752013-01-17 Joseph Myers <joseph@codesourcery.com>
20276
20277 [BZ #15023]
20278 * include/complex.h: Condition contents on [!_COMPLEX_H].
20279 (__kernel_casinhf): New prototype.
20280 (__kernel_casinh): Likewise.
20281 (__kernel_casinhl): Likewise.
20282 * math/Makefile (libm_calls): Add k_casinh.
20283 * math/k_casinh.c: New file.
20284 * math/k_casinhf.c: Likewise.
20285 * math/k_casinhl.c: Likewise.
20286 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20287 finite nonzero arguments.
20288 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20289 finite nonzero arguments.
20290 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20291 finite nonzero arguments.
20292 * math/s_casinh.c: Do not include <float.h>.
20293 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20294 * math/s_casinhf.c: Do not include <float.h>.
20295 (__casinhf): Move code for finite nonzero arguments to
20296 k_casinhf.c.
20297 * math/s_casinhl.c: Do not include <float.h>.
20298 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20299 redefine.
20300 (__casinhl): Move code for finite nonzero arguments to
20301 k_casinhl.c.
20302 * math/libm-test.inc (cacos_test): Add more tests.
20303 * sysdeps/i386/fpu/libm-test-ulps: Update.
20304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305
2a26ef3a
PT
203062013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20307
20308 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20309 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20310 [!HAVE_MREMAP]: Remove [defined linux] case.
20311 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20312
a897655d
SP
203132013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20314
20315 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20316
881ebe89 203172013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20318
20319 * elf/elf.h (R_386_SIZE32): New relocation.
20320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20321 R_386_SIZE32.
20322 (elf_machine_rela): Likewise.
20323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20324 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20325
59981e9b
JM
203262013-01-17 Joseph Myers <joseph@codesourcery.com>
20327
20328 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20329 (FP_FAST_FMA): Do not define.
20330 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20331 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20332 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20333 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20334 !_SOFT_FLOAT]: Likewise.
20335 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20337 value.
20338 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20339 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20342 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20343 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20344 file.
20345
cfa8054f
AS
203462013-01-16 Andreas Schwab <schwab@suse.de>
20347
20348 [BZ #14327]
20349 * include/stdlib.h (__mktemp): Add declaration.
20350 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20351 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20352
dd930cc5
SP
203532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20354
881ebe89
SP
20355 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20356 definitions.
20357 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20358 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20359 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20360 definitions here.
20361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20362 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20363 definitions.
20364 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20365 and ONE.
20366 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20367 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20368 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20369 definitions.
20370 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20371 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20372 definitions.
20373 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20374
dd930cc5
SP
20375 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20376
c19a9f89
DM
203772013-01-15 David S. Miller <davem@davemloft.net>
20378
1aa61767
DM
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20380 trunc{,f} to libm-sysdep_routes.
20381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20383 file.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20386 file.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20388 file.
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20395 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20396 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20397
c42d5e98
DM
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20399 nearbyint{,f} to libm-sysdep_routes.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20402 New file.
20403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20404 file.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20406 New file.
20407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20408 file.
20409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20412 file.
20413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20415 file.
20416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20417 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20418 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20419
c19a9f89
DM
20420 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20421 libc_feholdexcept and libc_fesetenv.
20422
357679d2
MF
204232013-01-15 Mike Frysinger <vapier@gentoo.org>
20424
20425 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20426
65a82e3d
DM
204272013-01-14 David S. Miller <davem@davemloft.net>
20428
8b954ab9
DM
20429 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20430 (SPARC_ASM_VIS2_IFUNC): Likewise.
20431 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20433 use of 'siam' instruction.
20434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20435 Likewise.
20436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20437 Likewise.
20438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20439 Likewise.
20440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20445 file.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20447 file.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20449 file.
20450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20451 file.
20452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20457 new VIS2 routines.
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20461 Likewise.
20462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20467 routines to libm-sysdep_routines.
20468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20469
65a82e3d
DM
20470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20471 fdim/fdimf to libm-sysdep_routines.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20473 file.
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20476 file.
20477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20480 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20481 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20482 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20483 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20484
e34ab705
SP
204852013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20486
2a91b573
SP
20487 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20488 to optimize copies.
20489
1066a534
SP
20490 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20493
e34ab705
SP
20494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20495 local variable MPTWO.
20496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20497 Likewise.
20498
aba5e596
MF
204992013-01-13 Mike Frysinger <vapier@gentoo.org>
20500
20501 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20502 GLOB_NOESCAPE.
20503
e557e9e5
MF
205042013-01-13 Mike Frysinger <vapier@gentoo.org>
20505
20506 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20507
0428cec9
MF
205082013-01-13 Mike Frysinger <vapier@gentoo.org>
20509
20510 * manual/pattern.texi (glob_t): Document gl_flags.
20511 (glob64_t): Likewise.
20512
8794a964
DM
205132013-01-11 David S. Miller <davem@davemloft.net>
20514
66438c3f
RM
20515 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20516 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20517 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20518 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20519 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20520 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20521 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20522 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20523 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20524 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20525 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20526 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20527 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20528
4ae4244d
DM
20529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20530 sparc V9 rather than using V8 code.
20531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20533
8794a964
DM
20534 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20535 Move to...
20536 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20537 Here.
20538
6270516e
RM
205392013-01-11 Roland McGrath <roland@hack.frob.com>
20540
20541 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20542 not in the main loop.
20543 * configure: Regenerated.
20544
6a57d931
JM
205452013-01-11 Joseph Myers <joseph@codesourcery.com>
20546
20547 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20548 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20549 to just #else.
20550 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20551 [!__GLIBC_HAVE_LONG_LONG] case.
20552 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20553 condition to just #else.
20554 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20555 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20556 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20557 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20558 unconditional.
20559 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20560 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20561 #elif condition to just #else.
20562 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20563 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20564 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20565 #elif condition to just #else.
20566
0e8529e9
SE
205672013-01-11 Steve Ellcey <sellcey@mips.com>
20568
20569 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20570 (EF_MIPS_ARCH_64): Fix value.
20571 (EF_MIPS_ARCH_32R2): New.
20572 (EF_MIPS_ARCH_64R2): New.
20573
740b3dbe
L
205742013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 * Makeconfig (+link-pie-before-libc): New.
20577 (+link-pie-after-libc): Likewise.
20578 (+link-pie-tests): Likewise.
20579 (+link-pie): Rewritten.
20580 (link-before-libc): Remove $(config-LDFLAGS).
20581 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20582 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20583 (config-LDFLAGS): Renamed to ...
20584 (rtld-LDFLAGS): This.
20585 (rtld-tests-LDFLAGS): New macro.
20586 (link-libc-rpath-link): Likewise.
20587 (link-libc-tests-rpath-link): Likewise.
20588 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20589 (link-libc): Prepand $(link-libc-rpath-link).
20590 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20591 (test-program-prefix): New macro.
20592 (test-via-rtld-prefix): Likewise.
20593 (test-program-cmd): Likewise.
20594 (host-test-program-cmd): Likewise.
20595 * Makefile ($(common-objpfx)testrun.sh): Replace
20596 $(run-program-prefix) with $(test-program-prefix).
20597 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20598 $(rtld-LDFLAGS).
20599 ($(common-objpfx)shlib.lds): Likewise.
20600 (build-module-helper): Likewise.
20601 ($(common-objpfx)format.lds): Likewise.
20602 * Rules (binaries-pie-tests): New.
20603 (binaries-pie-notests): Likewise.
20604 (binaries-pie): Rewritten.
20605 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20606 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20607 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20608 (make-test-out): Replace $(host-built-program-cmd) with
20609 $(host-test-program-cmd).
20610 * config.make.in (build-hardcoded-path-in-tests): New variable.
20611 * configure.in (--enable-hardcoded-path-in-tests): New configure
20612 option.
20613 (hardcoded_path_in_tests): New AC_SUBST.
20614 * configure: Regenerated.
20615 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20616 $(built-program-cmd) with $(test-program-cmd).
20617 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20618 (test_program_cmd): This.
20619 * elf/Makefile ($(objpfx)order.out): Run test with
20620 $(test-program-prefix).
20621 ($(objpfx)order2.out): Likewise.
20622 ($(objpfx)tst-initorder.out): Likewise.
20623 ($(objpfx)tst-initorder2.out): Likewise.
20624 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20625 $(test-program-cmd).
20626 ($(objpfx)tst-array1-static.out): Likewise.
20627 ($(objpfx)tst-array2.out): Likewise.
20628 ($(objpfx)tst-array3.out): Likewise.
20629 ($(objpfx)tst-array4.out): Likewise.
20630 ($(objpfx)tst-array5.out): Likewise.
20631 ($(objpfx)tst-array5-static.out): Likewise.
20632 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20633 $(test-program-cmd).
20634 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20635 $(run-program-prefix) with $(test-program-prefix).
20636 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20637 (test_program_prefix): This.
20638 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20639 $(run-program-prefix) with $(test-program-prefix).
20640 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20641 (test_program_prefix): This.
20642 * iconvdata/tst-tables.sh: Likewise.
20643 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20644 $(run-program-prefix) with $(test-program-prefix).
20645 ($(objpfx)tst-translit.out): Likewise.
20646 ($(objpfx)tst-gettext2.out): Likewise.
20647 ($(objpfx)tst-gettext4.out): Likewise.
20648 ($(objpfx)tst-gettext6.out): Likewise.
20649 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20650 (test_program_prefix): This.
20651 * intl/tst-gettext2.sh: Likewise.
20652 * intl/tst-gettext4.sh Likewise.
20653 * intl/tst-gettext6.sh: Likewise.
20654 * intl/tst-translit.sh: Likewise.
20655 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20656 with $(test-program-cmd).
20657 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20658 $(run-program-prefix) with $(test-program-prefix).
20659 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20660 (test_program_prefix): This.
20661 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20662 $(run-program-prefix) with $(test-program-prefix).
20663 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20664 (test_program_prefix): This.
20665 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20666 * posix/Makefile ($(objpfx)globtest.out): Replace
20667 $(run-via-rtld-prefix) and $(test-wrapper) with
20668 $(test-program-prefix) and $(test-via-rtld-prefix).
20669 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20670 $(test-program-prefix).
20671 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20672 $(host-test-program-cmd).
20673 (tst-spawn-ARGS): Likewise.
20674 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20675 $(test-program-prefix).
20676 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20677 (test_via_rtld_prefix): This.
20678 (test_wrapper): Renamed to ...
20679 (test_program_prefix): This.
20680 (run_program_prefix): Replaced by test_program_prefix.
20681 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20682 (test_program_prefix): This.
20683 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20684 with $(host-test-program-cmd).
20685 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20686 $(run-program-prefix) with $(test-program-prefix).
20687 ($(objpfx)tst-printf.out): Likewise.
20688 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20689 $(test-program-cmd).
20690 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20691 (test_program_prefix): This.
20692 * stdio-common/tst-unbputc.sh: Likewise.
20693 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20694 $(run-program-prefix) with $(test-program-prefix).
20695 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20696 (test_program_prefix): This.
20697 * string/Makefile ($(objpfx)tst-svc.out): Replace
20698 $(built-program-cmd) with $(test-program-cmd).
20699
c6fe55cf
AJ
207002013-01-11 Andreas Jaeger <aj@suse.de>
20701
20702 [BZ #15003]
20703 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20704 value. Sync with Linux 3.7.
20705
9e6919c8
DM
207062013-01-10 David S. Miller <davem@davemloft.net>
20707
20708 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20709 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20710 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20711
1c9f1a02
RM
207122013-01-10 Roland McGrath <roland@hack.frob.com>
20713
20714 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20715 never set.
20716 * configure: Regenerated.
20717
b9de2dde
DM
207182013-01-10 David S. Miller <davem@davemloft.net>
20719
20720 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20721 sparc V9 rather than using V8 code.
20722 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20723 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20724
e7f68ef4
RM
207252013-01-10 Roland McGrath <roland@hack.frob.com>
20726
20727 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20728 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20729 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20730 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20731 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20732 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20733 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20734 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20735 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20736 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20737 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20738 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20739 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20740 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20741 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20742 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20743 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20744 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20745 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20746 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20747 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20748 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20749 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20750 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20751 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20752 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20753 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20754
5a47cc9c
DM
207552013-01-10 David S. Miller <davem@davemloft.net>
20756
20757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20758
4cf8f209
L
207592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20760
20761 * posix/Makefile (tests-static): New variable.
20762 (tests): Add $(tests-static).
20763 (tst-exec-static-ARGS): New variable.
20764 (tst-spawn-static-ARGS): Likewise.
20765 * posix/tst-exec-static.c: New file.
20766 * posix/tst-spawn-static.c: Likewise.
20767 * posix/tst-exec.c: Support run directly.
20768 * posix/tst-spawn.c: Likewise.
20769
fed0faa1
JM
207702013-01-10 Joseph Myers <joseph@codesourcery.com>
20771
828beb13
JM
20772 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20773 long.
20774 * math/bits/mathcalls.h (llrint): Likewise.
20775 (llround): Likewise.
20776 * stdlib/stdlib.h (struct drand48_data): Likewise.
20777 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20778 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20779 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20780 Likewise.
20781 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20782 Likewise.
20783 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20784 (elf_greg_t): Likewise.
20785 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20786 (__jmp_buf): Likewise.
20787 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20788 definitions.
20789 (llrint): Likewise, for all definitions.
20790 (llrintl): Likewise.
20791
fed0faa1
JM
20792 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20793 Remove [__GNUC__] condition.
20794 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20795 condition to just [__USE_ISOC99].
20796 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20797
1a20cb20
L
207982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 [BZ #14200]
20801 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20802 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20803 defined.
20804 (_POSIX_V6_ILP32_OFF32): Likewise.
20805 (_XBS5_ILP32_OFF32): Likewise.
20806 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20807 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20808
751b85f7
SP
208092013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20810
7490eb81
SP
20811 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20812
751b85f7
SP
20813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20814 doubles __mpexp_twomm1. Adjust usage.
20815 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20816 Remove.
20817
988197f0
AS
208182013-01-10 Andreas Schwab <schwab@suse.de>
20819
20820 [BZ #14964]
20821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20822 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20823
e83d7298
DM
208242013-01-09 David S. Miller <davem@davemloft.net>
20825
034ed64b 20826 [BZ #15003]
57f41c40
AS
20827 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20828 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20829 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20830 (TCP_FASTOPEN): Define.
e83d7298
DM
20831 (tcp_repair_opt): New structure.
20832 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20833 enum values.
57f41c40
AS
20834 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20835 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20836 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20837 (tcp_cookie_transactions): New structure.
20838
d5e0b9bd
AB
208392013-01-09 Anton Blanchard <anton@samba.org>
20840
20841 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20842 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20843 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20844 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20845
0c07e3ea
JM
208462013-01-09 Joseph Myers <joseph@codesourcery.com>
20847
20848 * include/features.h (__USE_ANSI): Remove.
20849
232f7002
RM
208502013-01-09 Roland McGrath <roland@hack.frob.com>
20851
ad98e30c
RM
20852 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20853
232f7002
RM
20854 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20855
950c99ca
SP
208562013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20857
b5792741
SP
20858 * sysdeps/s390/fpu/libm-test-ulps: Update.
20859
47cf2278
SP
20860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20861
950c99ca
SP
20862 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20863 (__acr): Likewise.
20864 (__cpy): Likewise.
20865 (norm): Likewise.
20866 (denorm): Likewise.
20867 (__mp_dbl): Likewise.
20868 (__dbl_mp): Likewise.
20869 (add_magnitudes): Likewise.
20870 (sub_magnitudes): Likewise.
20871 (__add): Likewise.
20872 (__sub): Likewise.
20873 (__mul): Likewise.
20874 (__inv): Likewise.
20875 (__dvd): Likewise.
20876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20877 (__acr): Likewise.
20878 (__cpy): Likewise.
20879 (norm): Likewise.
20880 (denorm): Likewise.
20881 (__mp_dbl): Likewise.
20882 (__dbl_mp): Likewise.
20883 (add_magnitudes): Likewise.
20884 (sub_magnitudes): Likewise.
20885 (__add): Likewise.
20886 (__sub): Likewise.
20887 (__mul): Likewise.
20888 (__inv): Likewise.
20889 (__dvd): Likewise.
20890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20891 (__acr): Likewise.
20892 (__cpy): Likewise.
20893 (norm): Likewise.
20894 (denorm): Likewise.
20895 (__mp_dbl): Likewise.
20896 (__dbl_mp): Likewise.
20897 (add_magnitudes): Likewise.
20898 (sub_magnitudes): Likewise.
20899 (__add): Likewise.
20900 (__sub): Likewise.
20901 (__mul): Likewise.
20902 (__inv): Likewise.
20903 (__dvd): Likewise.
20904
eede9df9
JM
209052013-01-08 Joseph Myers <joseph@codesourcery.com>
20906
20907 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20908 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20909 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20910 2 && __USE_EXTERN_INLINES]: Likewise.
20911
c40ea3d9
AJ
209122013-01-08 Andreas Jaeger <aj@suse.de>
20913
20914 [BZ# 14985]
20915 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20916 Remove.
20917 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20918 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20919
2ccdea26
AB
209202013-01-07 Anton Blanchard <anton@samba.org>
20921
20922 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20923 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20924 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20925 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20926 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20928 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20929 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20939 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20940 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20941 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20942 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20943 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20945 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20946 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20947 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20949 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20951 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20952 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20954 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20955 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20957 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20958 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20959 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20961 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20962 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20965
a9708fed
JM
209662013-01-07 Joseph Myers <joseph@codesourcery.com>
20967
375607b9
JM
20968 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20969 (__MALLOC_PMT): Likewise.
20970 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20971 [__GNUC__], only on [_LIBC].
20972 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20973 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20974 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20975 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20976 forward declaration.
20977 (realloc_hook_ini): Likewise.
20978 (memalign_hook_ini): Likewise.
20979 (__libc_memalign): Do not use __MALLOC_PMT in variable
20980 declaration.
20981 (__libc_valloc): Likewise.
20982 (__libc_pvalloc): Likewise.
20983 (__libc_calloc): Likewise.
20984 (__posix_memalign): Likewise.
20985
a9708fed
JM
20986 [BZ #14996]
20987 * math/s_casinh.c: Include <float.h>.
20988 (__casinh): Do not do computation with squaring and square root
20989 for large arguments.
20990 * math/s_casinhf.c: Include <float.h>.
20991 (__casinhf): Do not do computation with squaring and square root
20992 for large arguments.
20993 * math/s_casinhl.c: Include <float.h>.
20994 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20995 (__casinhl): Do not do computation with squaring and square root
20996 for large arguments.
20997 * math/libm-test.inc (casin_test): Add more tests.
20998 (casinh_test): Likewise.
20999 * sysdeps/i386/fpu/libm-test-ulps: Update.
21000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21001
afec409a
L
210022013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21003
21004 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21005 (__x86_64_raw_data_cache_size): Likewise.
21006 (__x86_64_data_cache_size_half): Likewise.
21007 (__x86_64_raw_data_cache_size_half): Likewise.
21008 (__x86_64_shared_cache_size): Likewise.
21009 (__x86_64_raw_shared_cache_size): Likewise.
21010 (__x86_64_shared_cache_size_half): Likewise.
21011 (__x86_64_raw_shared_cache_size_half): Likewise.
21012 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21013 to ...
21014 (__x86_data_cache_size): This.
21015 (__x86_64_raw_data_cache_size): Renamed to ...
21016 (__x86_raw_data_cache_size): This.
21017 (__x86_64_data_cache_size_half): Renamed to ...
21018 (__x86_data_cache_size_half): This.
21019 (__x86_64_raw_data_cache_size_half): Renamed to ...
21020 (__x86_raw_data_cache_size_half): This.
21021 (__x86_64_shared_cache_size): Renamed to ...
21022 (__x86_shared_cache_size): This.
21023 (__x86_64_raw_shared_cache_size): Renamed to ...
21024 (__x86_raw_shared_cache_size): This.
21025 (__x86_64_shared_cache_size_half): Renamed to ...
21026 (__x86_shared_cache_size_half): This.
21027 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21028 (__x86_raw_shared_cache_size_half): This.
21029 * sysdeps/x86_64/memcpy.S: Updated.
21030 * sysdeps/x86_64/memset.S: Likewise.
21031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21034
0b3986d0
DM
210352013-01-04 David S. Miller <davem@davemloft.net>
21036
21037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21038
e47686e9
AS
210392013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21040
d643bac1
AS
21041 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21042 1 to avoid redefinition warning.
21043 (__USE_GNU): Don't define.
21044 (init_signaling_nan): Protoize.
21045
e47686e9
AS
21046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21047
b18decba
SP
210482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
fffb407f
SP
21050 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21052 (__cpymn): Likewise.
21053 (norm): Remove commented code.
21054 (denorm): Likewise.
21055 (__mp_dbl): Likewise.
21056 (__inv): Likewise.
21057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21058 (__cpymn): Likewise.
21059 (norm): Remove commented code.
21060 (denorm): Likewise.
21061 (__mp_dbl): Likewise.
21062 (__inv): Likewise.
21063
b18decba
SP
21064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21065 mp_no value for 1.0 and 2.0.
21066 (norm): Use RADIXI instead of radixi.d.
21067 (denorm): Likewise.
21068 (__mul): Use 0.0 instead of zero.d.
21069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21070 mp_no value for 1.0 and 2.0.
21071 (norm): Use RADIXI instead of radixi.d.
21072 (denorm): Likewise.
21073 (__mul): Use 0.0 instead of zero.d.
21074
cdc1c96f
JM
210752013-01-04 Joseph Myers <joseph@codesourcery.com>
21076
21077 [BZ #14994]
21078 * math/s_casinh.c (__casinh): Reduce finite argument to first
21079 quadrant then set signs of results at the end.
21080 * math/s_casinhf.c (__casinhf): Likewise.
21081 * math/s_casinhl.c (__casinhl): Likewise.
21082 * math/libm-test.inc (casin_test): Add more tests.
21083 (casinh_test): Likewise.
21084 * sysdeps/i386/fpu/libm-test-ulps: Update.
21085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21086
302913e1
SP
210872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21088
6420d207
SP
21089 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21090
a9e48ab4
SP
21091 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21092
b7837264
SP
21093 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21094 declarations.
21095 (denorm): Likewise.
21096 (__mp_dbl): Likewise.
21097 (__inv): Likewise.
21098
f8af25d2
SP
21099 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21100 and adjust the header comment.
21101
302913e1
SP
21102 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21103 variable name from declaration.
21104
5d7dd1ca
L
211052013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21106
21107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21108 Initialize COMMON_CPUID_INDEX_7 element.
21109 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21110 (CPUID_RTM): Likewise.
21111 (HAS_RTM): Likewise.
21112 (COMMON_CPUID_INDEX_7): New enum.
21113
2f5f40f4
AS
211142013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21115
21116 [BZ #14981]
21117 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21118 size is zero, record memory as freed.
21119
4056f4a0
AJ
211202013-01-03 Andreas Jaeger <aj@suse.de>
21121
21122 * po/ia.po: Add new Interlingua translation.
21123
ab15736f 211242012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21125
21126 * locale/programs/localedef.c: Fix description of '--posix' flag.
21127
568035b7
JM
211282013-01-02 Joseph Myers <joseph@codesourcery.com>
21129
e6898b8d
JM
21130 * NEWS: Update dates in second copyright notice.
21131 * README: Update copyright dates in example.
21132 * manual/libc.texinfo: Update copyright dates.
21133 * scripts/test-installation.pl: Update copyright date in --version
21134 output.
21135
0e2f9562
JM
21136 * hurd/ctty-input.c: Fix copyright notice formatting.
21137 * hurd/ctty-output.c: Likewise.
21138 * hurd/dtable.c: Likewise.
21139 * hurd/hurd-raise.c: Likewise.
21140 * hurd/hurdprio.c: Likewise.
21141 * hurd/msgportdemux.c: Likewise.
21142 * misc/sys/file.h: Likewise.
21143 * misc/sys/ioctl.h: Likewise.
21144 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21145 * sysdeps/mach/hurd/chdir.c: Likewise.
21146 * sysdeps/mach/hurd/fchdir.c: Likewise.
21147 * sysdeps/mach/hurd/rename.c: Likewise.
21148 * sysdeps/mach/hurd/rmdir.c: Likewise.
21149 * sysdeps/mach/hurd/seekdir.c: Likewise.
21150 * sysdeps/mach/hurd/setsid.c: Likewise.
21151 * sysdeps/posix/wait3.c: Likewise.
21152
568035b7
JM
21153 * All files with FSF copyright notices: Update copyright dates
21154 using scripts/update-copyrights.
21155 * intl/plural.c: Regenerated.
21156 * locale/programs/charmap-kw.h: Likewise.
21157 * locale/programs/locfile-kw.h: Likewise.
21158
da08f647
SP
211592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21160
0f5477af
SP
21161 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21162 four values.
21163
44e0d4c2
SP
21164 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21165 calculation loop and add branch prediction.
21166
4d55b4e5
SP
21167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21168 check access beyond bounds of m1np.
21169
da08f647
SP
21170 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21171 MPTWO.
21172 (__inv): Remove local variable MPTWO to use the global
21173 constant.
21174 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21176 variable MPTWO.
21177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21178 MP3HALFS static const.
21179
8e051029
DM
211802013-01-01 David S. Miller <davem@davemloft.net>
21181
21182 * po/ca.po: Update from translation team.
21183
f4cf5f2d
JM
211842013-01-01 Joseph Myers <joseph@codesourcery.com>
21185
21186 * scripts/update-copyrights: New file.
21187 * Makeconfig: Reformat copyright notice.
21188 * ctype/ctype.h: Likewise.
21189 * debug/swprintf_chk.c: Likewise.
21190 * elf/dl-cache.c: Likewise.
21191 * elf/dl-debug.c: Likewise.
21192 * elf/dl-object.c: Likewise.
21193 * grp/initgroups.c: Likewise.
21194 * hurd/Makefile: Likewise.
21195 * hurd/hurd/signal.h: Likewise.
21196 * hurd/hurdfault.c: Likewise.
21197 * hurd/hurdioctl.c: Likewise.
21198 * hurd/hurdlookup.c: Likewise.
21199 * hurd/intr-msg.c: Likewise.
21200 * iconv/gconv_open.c: Likewise.
21201 * libio/swprintf.c: Likewise.
21202 * locale/lc-ctype.c: Likewise.
21203 * locale/nl_langinfo.c: Likewise.
21204 * mach/Machrules: Likewise.
21205 * mach/Makefile: Likewise.
21206 * malloc/obstack.h: Likewise.
21207 * manual/Makefile: Likewise.
21208 * manual/tsort.awk: Likewise.
21209 * misc/bits/stab.def: Likewise.
21210 * nis/nis_print_group_entry.c: Likewise.
21211 * nis/nis_table.c: Likewise.
21212 * nis/nss_compat/compat-pwd.c: Likewise.
21213 * nis/nss_compat/compat-spwd.c: Likewise.
21214 * po/Makefile: Likewise.
21215 * posix/fnmatch.c: Likewise.
21216 * posix/regex.h: Likewise.
21217 * resolv/Makefile: Likewise.
21218 * resolv/nss_dns/dns-network.c: Likewise.
21219 * resolv/res_hconf.c: Likewise.
21220 * scripts/gen-sorted.awk: Likewise.
21221 * soft-fp/soft-fp.h: Likewise.
21222 * stdio-common/printf.h: Likewise.
21223 * stdlib/monetary.h: Likewise.
21224 * stdlib/random.c: Likewise.
21225 * stdlib/random_r.c: Likewise.
21226 * sysdeps/generic/Makefile: Likewise.
21227 * sysdeps/gnu/Makefile: Likewise.
21228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21238 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21242 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21244 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21245 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21251 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21252 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21256 * sysdeps/mach/hurd/errnos.awk: Likewise.
21257 * sysdeps/mach/hurd/fork.c: Likewise.
21258 * sysdeps/mach/hurd/getcwd.c: Likewise.
21259 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21260 * sysdeps/mach/hurd/mmap.c: Likewise.
21261 * sysdeps/mach/hurd/utimes.c: Likewise.
21262 * sysdeps/mach/hurd/xmknod.c: Likewise.
21263 * sysdeps/posix/profil.c: Likewise.
21264 * sysdeps/posix/readdir_r.c: Likewise.
21265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21266 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21267 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21268 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21276 * sysdeps/pthread/lio_listio.c: Likewise.
21277 * sysdeps/sparc/dl-procinfo.h: Likewise.
21278 * sysdeps/unix/i386/sysdep.S: Likewise.
21279 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21280 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21281 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21282 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21284 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21285 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21286 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21287 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21288 * sysdeps/wordsize-32/divdi3.c: Likewise.
21289 * time/sys/time.h: Likewise.
21290 * wcsmbs/Makefile: Likewise.
21291
0549fbba
DM
212922013-01-01 David S. Miller <davem@davemloft.net>
21293
a141f1a7
DM
21294 * po/fr.po: Update from translation team.
21295
0549fbba
DM
21296 * catgets/gencat.c: Update copyright year.
21297 * csu/version.c: Likewise.
21298 * debug/catchsegv.sh: Likewise.
21299 * debug/pcprofiledump.c: Likewise.
21300 * debug/xtrace.sh: Likewise.
21301 * elf/ldconfig.c: Likewise.
21302 * elf/ldd.bash.in: Likewise.
21303 * elf/pldd.c: Likewise.
21304 * elf/sotruss.ksh: Likewise.
21305 * elf/sprof.c: Likewise.
21306 * iconv/iconv_prog.c: Likewise.
21307 * iconv/iconvconfig.c: Likewise.
21308 * locale/programs/locale.c: Likewise.
21309 * locale/programs/localedef.c: Likewise.
21310 * login/programs/pt_chown.c: Likewise.
21311 * malloc/memusage.sh: Likewise.
21312 * malloc/memusagestat.c: Likewise.
21313 * malloc/mtrace.pl: Likewise.
21314 * nscd/nscd.c: Likewise.
21315 * nss/getent.c: Likewise.
21316 * nss/makedb.c: Likewise.
21317 * posix/getconf.c: Likewise.
21318
18ea052c
SP
213192012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
21321 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21322 numbers.
21323
9c89fca6
MF
213242012-12-30 Mike Frysinger <vapier@gentoo.org>
21325
21326 * math/bits/mathcalls.h (modf): Use __nonnull.
21327
085ec079
SP
213282012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21329
21330 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21331 (split): Use macro CN instead of the bare value.
21332 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21333 could be used.
21334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21335 instead of the bare value.
21336 (power1): Likewise.
21337
6d9f97e1
SP
213382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21339
d63f73be
SP
21340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21341 __ATAN_TWOM.
21342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21343
6d9f97e1
SP
21344 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21345 their values.
21346 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21348 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21349 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21350
4c4febf5
AJ
213512012-12-28 Andreas Jaeger <aj@suse.de>
21352
af5843ef
AJ
21353 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21354 values are from Linux 3.7.
21355
4c4febf5
AJ
21356 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21357 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21358
99136f82
SP
213592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21360
2f216c3c 21361 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21362 TRUE case.
21363
99136f82
SP
21364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21365 (norm): Likewise.
21366 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21367 variables with preprocessor constants.
21368 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21369 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21370 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21371
7fffbdff
BH
213722012-12-27 Bruno Haible <bruno@clisp.org>
21373
21374 [BZ #14317]
21375 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21376 only if needed.
21377
b76eb5f0
SP
213782012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21379
31a7fe5c
SP
21380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21381 and use variable directly.
21382 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21383
b76eb5f0
SP
21384 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21385 MPONE.
21386 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21388 variable MPONE.
21389 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21391 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21392 include directive. Remove local variable MPONE.
21393 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21394 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21396
2c8bfe7d
DM
213972012-12-25 David S. Miller <davem@davemloft.net>
21398
21399 * version.h (RELEASE): Set to "development".
21400 (VERSION): Set to "2.17.90".
21401 * NEWS: Add 2.18 section.
21402
147d03b0
DM
214032012-12-21 David S. Miller <davem@davemloft.net>
21404
21405 * po/hr.po: Update from translation team.
21406
a8ebb2b9
AK
214072012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21408
21409 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21410
95b4f1b6
SE
214112012-12-19 Steve Ellcey <sellcey@mips.com>
21412
b2d94007 21413 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21414
cedb2a90
MS
214152012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21416
21417 * manual/contrib.texi (Contributors): Spelling correction.
21418
bbf527d6
DM
214192012-12-15 David S. Miller <davem@davemloft.net>
21420
21421 * po/ru.po: Update from translation team.
21422
bc38c906
DM
214232012-12-13 David S. Miller <davem@davemloft.net>
21424
85429b1a
DM
21425 * NEWS: Mention IFUNC testsuite enhancements.
21426
d283e353
DM
21427 * po/pl.po: Update from translation team.
21428 * po/bg.po: Likewise.
21429
bc38c906
DM
21430 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21431 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21432
a181b0d7
DM
214332012-12-11 David S. Miller <davem@davemloft.net>
21434
4641d57e
DM
21435 * po/sv.po: Update from translation team.
21436
f7bc6495
DM
21437 * po/vi.po: Update from translation team.
21438
6fc9048f
DM
21439 * po/cs.po: Update from translation team.
21440
a181b0d7
DM
21441 * po/de.po: Update from translation team.
21442 * po/eo.po: Likewise.
21443 * po/nl.po: Likewise.
21444
f70bfe80
SP
214452012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21446
3c8b4190
SP
21447 [BZ #14246]
21448 * manual/argp.texi (Argp Helper Functions): Move node to follow
21449 Argp Parsing State.
21450
f70bfe80
SP
21451 [BZ #14872]
21452 * manual/conf.texi (Limits on File System Capacity): Mention if
21453 terminating null is included in the max size.
21454
188f0adf
AJ
214552012-12-10 Andreas Jaeger <aj@suse.de>
21456
21457 * po/cs.po: Update from translation team.
21458
56e7d3ad
SP
214592012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21460
21461 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21462 void pointer and cast to uintptr_t.
21463 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21464 path.
21465 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21466 * sysdeps/s390/s390-64/memset.S: Likewise.
21467
76f2d2ea 214682012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21469
21470 [BZ #14833]
21471 * menual/message.texi (Message Translation): Fix typos.
21472 (Helper programs for gettext): Likewise.
21473
67cbf9a2
AS
214742012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21475
21476 [BZ #14898]
21477 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21478 Change to -1.
21479
682d0e9a
DM
214802012-12-07 David S. Miller <davem@davemloft.net>
21481
21482 * po/libc.pot: Update.
21483
573cd484
RH
214842012-12-07 Richard Henderson <rth@redhat.com>
21485
7e9da188 21486 [BZ #10114]
573cd484
RH
21487 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21488 normal/normal case to before the switch.
21489 (_FP_DIV): Likewise.
21490
e933a943
MF
214912012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21492 Mike Frysinger <vapier@gentoo.org>
21493
21494 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21495 check for __NR_fadvise64_64.
21496
82123268
CM
214972012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21498
21499 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21500 0, not just to plain "0" as a statement.
21501 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21502 with cw.
21503
d9814526
JM
215042012-12-06 Joseph Myers <joseph@codesourcery.com>
21505
21506 * NEWS: Use sourceware.org in Bugzilla URL.
21507
7728c574
SP
215082012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21509
f16946dd
SP
21510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21511 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21512
5704bbcb
SP
21513 * stdio-common/tst-put-error.c (do_test): Add newline to the
21514 padded test to ensure flush.
21515
17aa0516
JL
215162012-12-05 Jeff Law <law@redhat.com>
21517
21518 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21519
363313b5
JM
215202012-12-05 Joseph Myers <joseph@codesourcery.com>
21521
effbd42a
JM
21522 * README: Don't refer to ports add-on as distributed separately.
21523 Mention AArch64 in list of systems supported in the ports add-on.
21524
87600365
JM
21525 * LICENSES: Add more non-FSF copyright and license notices.
21526
a0d7066a
JM
21527 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21528 ((unused)).
21529
66ca5a5b
JM
21530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21531
363313b5
JM
21532 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21533 10000 as width of padded output.
21534
b37984ad
JM
215352012-12-04 Joseph Myers <joseph@codesourcery.com>
21536
9003570a
JM
21537 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21538
b37984ad
JM
21539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21540 variable LX with __attribute__ ((unused)).
21541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21542 Likewise.
21543 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21546 with __attribute__ ((unused)).
21547
c8df52ec
DM
215482012-12-04 David S. Miller <davem@abraco.davemloft.net>
21549
21550 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21551
b3b099af
JM
215522012-12-04 Joseph Myers <joseph@codesourcery.com>
21553
c33aa6e3
JM
21554 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21555 (CFLAGS-nldbl-acos.c): New variable.
21556 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21557 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21558 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21559 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21560 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21561 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21562 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21563 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21564 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21565 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21566 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21567 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21568 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21569 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21570 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21571 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21572 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21573 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21574 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21575 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21576 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21577 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21578 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21579 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21580 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21581 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21582 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21583 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21584 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21585 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21586 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21587 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21588 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21589 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21590 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21591 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21592 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21593 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21594 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21595 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21596 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21597 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21598 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21599 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21600 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21601 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21602 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21603 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21604 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21605 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21606 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21607 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21608 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21609 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21610 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21611 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21612 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21613 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21614 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21615 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21616 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21617 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21618 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21619 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21620 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21621 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21622 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21623 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21624 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21625 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21626 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21627 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21628 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21629 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21630 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21631 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21632 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21633 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21634 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21635 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21636 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21637 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21638 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21639 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21640 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21641 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21642 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21643 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21644 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21645 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21646 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21647 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21648 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21649 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21650 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21651 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21652 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21653
20f0018d
JM
21654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21655 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21656
b3b099af
JM
21657 [BZ #14914]
21658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21659 whole low double instead of just low 47 bits when splitting values
21660 into two parts.
21661
029264d1
AM
216622012-12-03 Allan McRae <allan@archlinux.org>
21663
21664 * manual/stdio.texi (Predefined Printf Handlers): Remove
21665 @hsep and @vsep usage.
21666
c9d6789e
MF
216672012-12-03 Mike Frysinger <vapier@gentoo.org>
21668
21669 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21670 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21671
4b7634a5
JL
216722012-12-03 Jeff Law <law@redhat.com>
21673
21674 * time/sys/time.h (settimeofday): Do not mark TV argument
21675 as __nonnull.
21676
eb6cbd24
MF
216772012-12-01 Mike Frysinger <vapier@gentoo.org>
21678
21679 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21680 when currently writing and seek to current position when not.
21681 * libio/Makefile (tests): Remove bug-fclose1.
21682 * libio/bug-fclose1.c: Delete.
21683
f638872a
JM
216842012-12-01 Joseph Myers <joseph@codesourcery.com>
21685
21686 * manual/arith.texi (feenableexcept): Fix typo.
21687 (fedisableexcept): Likewise.
21688
48085d14
RM
216892012-11-30 Roland McGrath <roland@hack.frob.com>
21690
21691 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21692 second, differently-typed declaration, rather than a cast.
21693
1a538b9f
SP
216942012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21695
21696 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21697 * include/rpc/svc.h: ... here.
21698
d07f2ff1 216992012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21700
21701 [BZ #13013]
21702 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21703 depending n and resplen2 to catch cases where answer
21704 equals answerp2.
21705
c93ec1f0
CD
217062012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21707
21708 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21709 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21710
37db69de
MF
217112012-11-29 Mike Frysinger <vapier@gentoo.org>
21712
21713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21714
e10c4e4f
RM
217152012-11-29 Roland McGrath <roland@hack.frob.com>
21716
21717 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21718
2af1b328
JL
217192012-11-28 Jeff Law <law@redhat.com>
21720
21721 [BZ #13761]
21722 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21723 dataset_temporary. Track alloca usage into alloca_used.
21724 If dataset is large allocate and release it via malloc/free.
21725
111db5b1
FW
217262012-06-04 Florian Weimer <fweimer@redhat.com>
21727
f06cc227 21728 [BZ #14197]
111db5b1
FW
21729 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21730
dd694abd
DM
217312012-11-28 David S. Miller <davem@davemloft.net>
21732
21733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21734
9984dd01
JM
217352012-11-28 Joseph Myers <joseph@codesourcery.com>
21736
21737 [BZ #14803]
21738 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21739 of pi/2 rounded to nearest to 64 bits.
21740 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21741 nearest to 64 bits.
21742 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21743 bits.
21744
14bc93a9
JL
217452012-11-28 Jeff Law <law@redhat.com>
21746 Martin Osvald <mosvald@redhat.com>
21747
21748 [BZ #14889]
21749 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21750 * sunrpc/svc.c: Include time.h.
21751 (__svc_accept_failed): New function.
21752 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21753 any reason other than EINTR, call __svc_accept_failed.
21754 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21755 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21756
e3c6aa3a
AS
217572012-11-28 Andreas Schwab <schwab@suse.de>
21758
21759 * scripts/abilist.awk: Also handle indirect functions in .opd
21760 section.
21761
1bead169
JM
217622012-11-28 Joseph Myers <joseph@codesourcery.com>
21763
21764 [BZ #13881]
21765 * sysdeps/x86/fpu/powl_helper.c: New file.
21766 * sysdeps/x86/fpu/Makefile: Likewise.
21767 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21768 (p3): New object.
21769 (__ieee754_powl): Use __powl_helper for finite arguments except
21770 integer exponents below 8.
21771 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21772 (p3): New object.
21773 (__ieee754_powl): Use __powl_helper for finite arguments except
21774 integer exponents below 8.
21775 * math/libm-test.inc (pow_test): Add more tests and enable some
21776 previously disabled tests.
21777 * sysdeps/i386/fpu/libm-test-ulps: Update.
21778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21779
0817d63d
SP
217802012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21781 Carlos O'Donell <carlos_odonell@mentor.com>
21782
21783 * nss/makedb.c (is_prime): Assert that input is odd and greater
21784 than 4. Note that fact in a comment too.
21785 (next_prime): Add 4 to input.
21786
de2fd463
SP
217872012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21788
21789 [BZ #11741]
21790 * libio/Makefile (tests): Add test case tst-fwrite-error.
21791 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21792 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21793 * libio/tst-fwrite-error.c: New test case.
21794
c515fb51
L
217952012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21796
21797 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21798 before casting to void *.
21799 * include/libc-internal.h (__pointer_type): New macro.
21800 (__integer_if_pointer_type_sub): Likewise.
21801 (__integer_if_pointer_type): Likewise.
21802 (cast_to_integer): Likewise.
21803 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21804 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21805 before casting to atomic64_t.
21806 (atomic_exchange_acq): Likewise.
21807 (__arch_exchange_and_add_body): Likewise.
21808 (__arch_add_body): Likewise.
21809 (atomic_add_negative): Likewise.
21810 (atomic_add_zero): Likewise.
21811
4cf77aa9
JM
218122012-11-26 Joseph Myers <joseph@codesourcery.com>
21813
21814 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21815 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21816 (add_fdes): Likewise.
21817 (linear_search_fdes): Likewise.
21818 (binary_search_unencoded_fdes): Likewise.
21819
d260b3b4
AS
218202012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21821
21822 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21823
67060746
AC
218242012-11-24 Adam Conrad <adconrad@0c3.net>
21825
21826 * configure.in: Autodetect C++ header directories.
21827 * configure: Regenerated.
21828
800938a1
MF
218292012-11-23 Mike Frysinger <vapier@gentoo.org>
21830
21831 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21832
4e6e34e6
AS
218332012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21834
21835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21836
7c7feb47
JM
218372012-11-22 Joseph Myers <joseph@codesourcery.com>
21838
7184dcdf
JM
21839 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21840 LDBL_MANT_DIG == 106]: Disable some tests.
21841 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21842 Likewise.
21843 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21844 Likewise.
21845
0a42601f
JM
21846 [BZ #14871]
21847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21848 input for small inputs. Return +/- pi/2 for large inputs.
21849 * math/libm-test.inc (atan_test): Add more tests.
21850
79c9b9fe
JM
21851 * sysdeps/generic/unwind-dw2-fde-glibc.c
21852 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21853 __attribute__ ((unused)).
21854
c60d3bf2
JM
21855 [BZ #14645]
21856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21857 x * y if x and y are nonzero and z is zero.
21858
ef1e0867
JM
21859 [BZ #14811]
21860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21861 nonzero exponents with absolute value below 0x1p-117 to +/-
21862 0x1p-117.
21863
1468ded3
JM
21864 [BZ #14869]
21865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21866 up arguments below 2**-450, not just those below 2**-500.
21867 * math/libm-test.inc (hypot_test): Add another test.
21868
8e27e3cc
JM
21869 [BZ #14868]
21870 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21871 Return a+b for ratio over 2**120, not 2**60.
21872 * math/libm-test.inc (hypot_test): Add another test.
21873
c9c0279b
JM
21874 * math/libm-test.inc (clog_test): Use
21875 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21876 (clog10_test): Likewise.
21877
7c7feb47
JM
21878 [BZ #6778]
21879 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21880
fff1530e
AS
218812012-11-22 Andreas Schwab <schwab@suse.de>
21882
21883 * sysdeps/i386/fpu/libm-test-ulps: Update.
21884
94558d30
PT
218852012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21886
21887 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21888 printf output with newline.
21889
7e1be741
L
218902012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21891
6bfea974
L
21892 [BZ #14865]
21893 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21894 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21895 -z nodlopen, -z initfirst and -z execstack support.
21896 * configure: Regenerated.
21897
7e1be741
L
21898 * elf/elf.h (DF_1_NODIRECT): New macro.
21899 (DF_1_IGNMULDEF): Likewise.
21900 (DF_1_NOKSYMS): Likewise.
21901 (DF_1_NOHDR): Likewise.
21902 (DF_1_EDITED): Likewise.
21903 (DF_1_NORELOC): Likewise.
21904 (DF_1_SYMINTPOSE): Likewise.
21905 (DF_1_GLOBAUDIT): Likewise.
21906 (DF_1_SINGLETON): Likewise.
21907 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21908 DT_1_SUPPORTED_MASK bits.
21909 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21910
105ce2ce
CD
219112012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21912
21913 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21914
123be9de
TS
219152012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21916
d072f3f7
TS
21917 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21918 macro.
21919
123be9de
TS
21920 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21921 (sendmmsg): Move declarations...
21922 * socket/sys/socket.h: ... here.
21923 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21924 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21925 include it from...
21926 * socket/recvmmsg.c: ... this new file.
21927 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21928 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21929 definition of __sendmmsg hidden.
21930 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21931 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21932 Move ENOSYS stub into and include it from...
21933 * socket/sendmmsg.c: ... this new file.
21934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21935 (sysdep_routines): Move recvmmsg and sendmmsg...
21936 * socket/Makefile (routines): ... here.
21937 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21938 (GLIBC_PRIVATE): Add __sendmmsg.
21939 * include/sys/socket.h (__sendmmsg): Add declarations.
21940 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21941 sendmmsg.
21942
cf9a5d18
JM
219432012-11-20 Joseph Myers <joseph@codesourcery.com>
21944
21945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21946 variable I1 with __attribute__ ((unused)).
21947 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21948
ecd4caf9
JM
219492012-11-19 Joseph Myers <joseph@codesourcery.com>
21950
be14d48f
JM
21951 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21952 DUMMY variables with __attribute__ ((unused)).
21953
ecd4caf9
JM
21954 * bits/byteswap.h: Include <bits/types.h>.
21955 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21956
986cab95
PT
219572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21958
21959 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21960 string_t. Do not manually set errno.
21961 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21962 length with __strnlen. Make sure to both set errno and return it on
21963 failure.
21964
6d33cc9d
DM
219652012-11-19 David S. Miller <davem@davemloft.net>
21966
21967 With help from Joseph Myers.
21968 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21969 very large arguments properly.
21970 * math/libm-test.inc (atan_test): New tests.
21971 (atan2_test): New tests.
21972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21974
ee663277
JM
219752012-11-19 Joseph Myers <joseph@codesourcery.com>
21976
877f2d8e
JM
21977 [BZ #14856]
21978 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21979 Define to 3.
21980
116fc08a
JM
21981 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21982 [POSIX] (EADDRNOTAVAIL): Likewise.
21983 [POSIX] (EAFNOSUPPORT): Likewise.
21984 [POSIX] (EALREADY): Likewise.
21985 [POSIX] (ECONNABORTED): Likewise.
21986 [POSIX] (ECONNREFUSED): Likewise.
21987 [POSIX] (ECONNRESET): Likewise.
21988 [POSIX] (EDESTADDRREQ): Likewise.
21989 [POSIX] (EDQUOT): Likewise.
21990 [POSIX] (EHOSTUNREACH): Likewise.
21991 [POSIX] (EIDRM): Likewise.
21992 [POSIX] (EISCONN): Likewise.
21993 [POSIX] (ELOOP): Likewise.
21994 [POSIX] (EMULTIHOP): Likewise.
21995 [POSIX] (ENETDOWN): Likewise.
21996 [POSIX] (ENETUNREACH): Likewise.
21997 [POSIX] (ENOBUFS): Likewise.
21998 [POSIX] (ENODATA): Likewise.
21999 [POSIX] (ENOLINK): Likewise.
22000 [POSIX] (ENOMSG): Likewise.
22001 [POSIX] (ENOPROTOOPT): Likewise.
22002 [POSIX] (ENOSR): Likewise.
22003 [POSIX] (ENOSTR): Likewise.
22004 [POSIX] (ENOTCONN): Likewise.
22005 [POSIX] (ENOTSOCK): Likewise.
22006 [POSIX] (EOPNOTSUPP): Likewise.
22007 [POSIX] (EOVERFLOW): Likewise.
22008 [POSIX] (EPROTO): Likewise.
22009 [POSIX] (EPROTONOSUPPORT): Likewise.
22010 [POSIX] (EPROTOTYPE): Likewise.
22011 [POSIX] (ESTALE): Likewise.
22012 [POSIX] (ETIME): Likewise.
22013 [POSIX] (ETXTBSY): Likewise.
22014 [POSIX] (EWOULDBLOCK): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22016 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22017 [POSIX] (SEEK_CUR): Likewise.
22018 [POSIX] (SEEK_END): Likewise.
22019 [POSIX || UNIX98] (mode_t): Do not require.
22020 [POSIX] (off_t): Likewise.
22021 [POSIX] (pid_t): Likewise.
22022 [POSIX] (sys/stat.h): Do not allow header.
22023 [POSIX] (unistd.h): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22025 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22027 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22028 require.
22029 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22030 sigevent): Specify elements.
22031 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22032 entry.
22033 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22034 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22035
a483863f
JM
22036 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22037 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22038 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22039 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22040 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22041 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22042 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22043 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22044 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22045 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22046 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22047 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22048 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22050 Likewise.
22051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22052 Likewise.
22053 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22054 Likewise.
22055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22056 Likewise.
22057 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22061 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22062 Specify lower bound on value.
22063 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22066 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22068 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22069 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22070 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22071 value.
22072 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22073 as optional.
22074 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22075 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22076 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22077 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22078 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22079 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22081 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22083 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22084 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22085 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22086 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22087 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22088 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22090 entry.
22091 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22092 optional.
22093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22094 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22099 Likewise.
22100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22102 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22103 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22104 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22105 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22106 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22107 as optional.
22108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22111 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22112 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22113 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22114 specify as optional.
22115 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22116 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22117 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22118 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22119 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22120 [XPG3] (NL_LANGMAX): Likewise.
22121 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22122 [POSIX || XPG3] (NL_NMAX): Likewise.
22123 [POSIX || XPG3] (NL_SETMAX): Likewise.
22124 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22125 [XPG3] (NZERO): Likewise.
22126 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22127 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22128 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22129 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22130 (REG_ERANGE): Expect.
22131 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22132 optional-constant.
22133 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22134 Use (void) in prototype.
22135 [POSIX] (*_t): Allow.
22136 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22137 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22138 (WRDE_BADVAL): Expect.
22139
5ba924e3
JM
22140 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22141 expect.
22142 [XPG3 || XPG4] (O_RSYNC): Likewise.
22143 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22144 Likewise.
22145 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22146 [XPG3 || XPG4] (sigqueue): Likewise.
22147 [XPG3 || XPG4] (sigtimedwait): Likewise.
22148 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22149 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22150 [XPG3 || XPG4] (vsnprintf): Likewise.
22151 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22152 Likewise.
22153 [XPG3 || XPG4] (blksize_t): Likewise.
22154 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22155 Likewise.
22156 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22157 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22158 [XPG3 || XPG4] (struct itimerspec): Likewise.
22159 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22160 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22161 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22162 [XPG3 || XPG4] (clockid_t): Likewise.
22163 [XPG3 || XPG4] (timer_t): Likewise.
22164 [XPG3 || XPG4] (clock_getres): Likewise.
22165 [XPG3 || XPG4] (clock_gettime): Likewise.
22166 [XPG3 || XPG4] (clock_settime): Likewise.
22167 [XPG3 || XPG4] (nanosleep): Likewise.
22168 [XPG3 || XPG4] (timer_create): Likewise.
22169 [XPG3 || XPG4] (timer_delete): Likewise.
22170 [XPG3 || XPG4] (timer_gettime): Likewise.
22171 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22172 [XPG3 || XPG4] (timer_settime): Likewise.
22173 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22174 [XPG3 || XPG4] (getlogin_r): Likewise.
22175 [XPG3 || XPG4] (pread): Likewise.
22176 [XPG3 || XPG4] (pthread_atfork): Likewise.
22177 [XPG3 || XPG4] (pwrite): Likewise.
22178
ee663277
JM
22179 [BZ #14835]
22180 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22181 <bits/siginfo.h>.
22182
942caa16
PT
221832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22184
e19af380
PT
22185 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22186 finalizing MALLSTREAM.
22187
942caa16
PT
22188 * sysdeps/mach/hurd/syncfs.c: New file.
22189
cfde9b46
SP
221902012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22191
22192 [BZ #14719]
22193 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22194 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22196 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22197 (_nss_dns_gethostbyname4_r): Likewise.
22198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22199 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22200
f6da27e5
PH
222012012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22202
22203 [BZ #13763]
22204 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22205
6665d4a2
SM
222062012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22207
1f51ee92
SM
22208 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22209 * elf/cache.c (print_entry): Print ",AArch64" for
22210 FLAG_AARCH64_LIB64
22211
6665d4a2
SM
22212 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22213 * elf/cache.c (print_entry): Print ",hard-float" for
22214 FLAG_ARM_LIBHF.
22215
05b227bd
DM
222162012-11-18 David S. Miller <davem@davemloft.net>
22217
22218 With help from Joseph Myers.
22219 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22220 cutoff to 2**-13.
22221 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22222 cutoff to 2**-25.
22223 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22224 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22225 small.
22226 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22227 * math/libm-test.inc (y0_test): New tests.
22228 (y1_test): New tests.
22229 * sysdeps/i386/fpu/libm-test-ulps: Update.
22230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22232
786b0b67
AS
222332012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22234
22235 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22236 64-bit targets.
22237 * configure: Regenerated.
22238
8e18b86d
DM
222392012-11-17 David S. Miller <davem@davemloft.net>
22240
22241 [BZ #14811]
22242 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22243 nonzero exponents with absolute value below 0x1p-128 to +/-
22244 0x1p-128.
22245
531f1ae0
JM
222462012-11-17 Joseph Myers <joseph@codesourcery.com>
22247
12df29e2
JM
22248 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22249
150dc1a0
JM
22250 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22251
531f1ae0
JM
22252 * posix/getconf-speclist.c: New file.
22253 * posix/posix-envs.def: Likewise.
22254 * posix/confstr.c (START_ENV_GROUP): New macro.
22255 (END_ENV_GROUP): Likewise.
22256 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22257 (KNOWN_PRESENT_ENV_STRING): Likewise.
22258 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22259 (UNKNOWN_ENVIRONMENT): Likewise.
22260 (confstr): Include posix-envs.def instead of handling
22261 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22262 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22263 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22264 (END_ENV_GROUP): Likewise.
22265 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22266 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22267 (UNKNOWN_ENVIRONMENT): Likewise.
22268 (__sysconf): Include posix-envs.def instead of handling associated
22269 cases directly here.
22270 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22271 preprocessing getconf-speclist.c rather than running getconf or
22272 generating empty file.
22273
a93f9cbc
PT
222742012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22275
22276 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22277
d64d9f87
AL
222782012-11-16 Andrej Lajovic <natrij@gmail.com>
22279
22280 [BZ #14672]
22281 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22282
447885eb
DM
222832012-11-16 David S. Miller <davem@davemloft.net>
22284
22285 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22286 smaller than LDBL_EPSILON/2.0L, just return xm1.
22287
bcbf9830
L
222882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22289
22290 * elf/tst-array1.c (init): Set constructor priority to 1000.
22291 (fini): Set destructor priority to 1000.
22292 * elf/tst-array2dep.c: Likewise.
22293
2b766585
SP
222942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22295
22296 [BZ #11741]
22297 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22298 (_IO_new_file_xsputn): Also return EOF if none of the input
22299 data was written when overflow failed.
22300 * libio/iopadn.c (_IO_padn): Likewise.
22301 * libio/iowpadn.c (_IO_wpadn): Likewise.
22302 * stdio-common/tst-put-error.c: Add copyright notice.
22303 (do_test): Add case for printing padded string.
22304 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22305 _IO_padn returned error.
22306 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22307 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22308 return EOF.
22309
b1848fde
SP
223102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22311
22312 * libio/libioP.h: Add comment note that the references to C++
22313 bits are now obsolete.
22314
2fd89785
MS
223152012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22316
22317 * math/libm-test.inc (check_complex): Use asprintf.
22318
e3ea5409
JM
223192012-11-14 Joseph Myers <joseph@codesourcery.com>
22320
22321 * debug/pcprofiledump.c (print_version): Update copyright year.
22322 * malloc/memusagestat.c (print_version): Likewise.
22323
2e64d265
L
223242012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 [BZ #14831]
22327 * elf/Makefile (tests): Add tst-audit8.
22328 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22329 ($(objpfx)tst-audit8.out): New target.
22330 (tst-audit8-ENV): New variable.
22331 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22332 audit if l_reloc_result is NULL.
22333 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22334 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22335 * elf/tst-audit8.c: New file.
22336
c485e4d2
MS
223372012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22338
22339 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22340 * misc/Makefile (CFLAGS-select.c): Define.
22341 * posix/Makefile (CFLAGS-pause.c): Define.
22342
3a0d900a
DM
223432012-11-13 David S. Miller <davem@davemloft.net>
22344
22345 * crypt/Makefile: Move test targets after toplevel Rules
22346 inclusion. Grab any necessary sysdep routines when linking.
22347 * crypt/md5.c (md5_process_block): Remove define, we will always
22348 name it __md5_process_block.
22349 (md5_finish_ctx): Update md5_process_block call.
22350 (md5_stream): Likewise.
22351 (md5_process_bytes): Likewise.
22352 (md5_process_block): Rename to __md5_process_block and move to ...
22353 * crypt/md5-block.c: ... here.
22354 * crypt/sha256.c (sha256_process_block): Move to ...
22355 * crypt/sha256-block.c: ... here.
22356 * crypt/sha512.c (sha512_process_block): Move to ...
22357 * crypt/sha512-block.c: ... here.
22358 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22359 path.
22360 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22361 * sysdeps/sparc/sparc64/multiarch/Makefile
22362 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22363 crypt subdir.
22364 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22365 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22366 multiarch changes.
22367 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22368 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22369 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22370 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22371 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22372 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22374 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22376 file.
22377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22379 file.
22380 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22381
8ca89318
JM
223822012-11-13 Joseph Myers <joseph@codesourcery.com>
22383
e27d476a
JM
22384 * timezone/tzselect.ksh: Update from tzcode git revision
22385 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22386 * timezone/zdump.c: Likewise.
22387 * timezone/zic.c: Likewise.
22388 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22389 in TZVERSION setting, not $(PKGVERSION).
22390 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22391 REPORT_BUGS_TO settings.
22392
8ca89318
JM
22393 [BZ #14838]
22394 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22395 macro.
22396
47594329
MS
223972012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22398
22399 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22400 detection to immediately after _FP_ROUND().
22401 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22402 bits are 0.
22403
640ac3f1
DM
224042012-11-11 David S. Miller <davem@davemloft.net>
22405
22406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22407 inttypes.h
22408 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22409 __close rather than their public counterparts.
22410
3d2577bb
JM
224112012-11-10 Joseph Myers <joseph@codesourcery.com>
22412
22413 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22414 file.
22415 [UNIX98] (sem_timedwait): Do not expect.
22416 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22417 [XPG4 || UNIX98] (sockatmark): Do not expect.
22418 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22419 (clock_getcpuclockid): Do not expect.
22420 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22421 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22422 Do not expect.
22423 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22424 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22425 [UNIX98] (vwscanf): Likewise.
22426 [UNIX98] (vswscanf): Likewise.
22427
fb1ae1ee
JM
224282012-11-09 Joseph Myers <joseph@codesourcery.com>
22429
9ec6f8bd
JM
22430 * timezone/version.h: Remove file.
22431 * timezone/README: Do not refer to version.h.
22432 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22433 $(objpfx)version.h.
22434 ($(objpfx)zdump.o): Likewise.
c3f81911 22435 ($(objpfx)version.h): New target.
9ec6f8bd 22436
0aa8f8a1
JM
22437 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22438 2012i.
22439 * timezone/README: Don't mention modification to tzselect.ksh.
22440 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22441 work on unmodified tzselect.ksh. Substitute version numbers in
22442 tzselect.ksh.
22443
4e87147f
JM
22444 * Makefile (format-me): Remove.
22445 (INSTALL): Adjust indentation. Use commands directly instead of
22446 using $(format-me).
22447
8b748aed
JM
22448 * aclocal.m4 (ACX_PKGVERSION): New macro.
22449 (ACX_BUGURL): Likewise.
22450 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22451 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22452 (REPORT_BUGS_TO): Likewise.
22453 * configure: Regenerated.
22454 * config.h.in (PKGVERSION): New macro.
22455 (REPORT_BUGS_TO): Likewise.
22456 * config.make.in (PKGVERSION): New variable.
22457 (PKGVERSION_TEXI): Likewise.
22458 (REPORT_BUGS_TO): Likewise.
22459 (REPORT_BUGS_TEXI): Likewise.
22460 * Makefile (format-me): Use -I$(common-objpfx)manual.
22461 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22462 ($(common-objpfx)manual/%): New target.
22463 (manual/%): Remove target.
22464 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22465 (print_version): Use PKGVERSION.
22466 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22467 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22468 and REPORT_BUGS_TO.
22469 ($(objpfx)xtrace): Likewise.
22470 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22471 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22472 (print_version): Use PKGVERSION.
22473 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22474 (do_version): Use PKGVERSION.
22475 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22476 REPORT_BUGS_TO.
22477 (common-ldd-rewrite): Likewise.
22478 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22479 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22480 (print_version): Use PKGVERSION.
22481 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22482 * elf/pldd.c (argp_program_bug_address): Remove variable.
22483 (more_help): New function.
22484 (argp): Use more_help.
22485 (print_version): Use PKGVERSION.
22486 * elf/sln.c (main): Use PKGVERSION.
22487 (usage): Use REPORT_BUGS_TO.
22488 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22489 (top level): Use PKGVERSION.
22490 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22491 (print_version): Use PKGVERSION.
22492 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22493 (print_version): Use PKGVERSION.
22494 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22495 (print_version): Use PKGVERSION.
22496 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22497 (print_version): Use PKGVERSION.
22498 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22499 (print_version): Use PKGVERSION.
22500 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22501 (print_version): Use PKGVERSION.
22502 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22503 and BUGURL.
22504 ($(objpfx)memusage): Likewise.
22505 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22506 (do_version): Use PKGVERSION.
22507 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22508 (print_version): Use PKGVERSION.
22509 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22510 ($PKGVERSION): New variable.
22511 ($REPORT_BUGS_TO): Likewise.
22512 (usage): Use $REPORT_BUGS_TO.
22513 (top level): Use $PKGVERSION.
22514 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22515 ($(objpfx)pkgvers.texi): New rule.
22516 ($(objpfx)stamp-pkgvers): Likewise.
22517 * manual/install.texi: Include pkgvers.texi.
22518 (--with-pkgversion): Document new configure option.
22519 (--with-bugurl): Likewise.
22520 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22521 than necessarily for this particular distribution. Use
22522 REPORT_BUGS_TO for where to report bugs.
22523 * INSTALL: Regenerated.
22524 * manual/libc.texinfo: Include pkgvers.texi.
22525 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22526 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22527 (print_version): Use PKGVERSION.
22528 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22529 (print_version): Use PKGVERSION.
22530 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22531 (print_version): Use PKGVERSION.
22532 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22533 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22534 macro.
22535 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22536 (print_version): Use PKGVERSION.
22537 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22538 (print_version): Use PKGVERSION.
22539 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22540 and PKGVERSION.
22541
92e4b6a9
JM
22542 * timezone/checktab.awk: Update from tzcode 2012i.
22543 * timezone/ialloc.c: Likewise.
22544 * timezone/private.h: Likewise.
22545 * timezone/scheck.c: Likewise.
22546 * timezone/tzfile.h: Likewise.
22547 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22548 (TZVERSION): Hardcode tzcode version number.
22549 * timezone/zdump.c: Update from tzcode 2012i.
22550 * timezone/zic.c: Likewise.
22551 * timezone/version.h: New file.
22552 * timezone/README: Describe version.h. Update upstream location.
22553
9bde902c
JM
22554 [BZ #14824]
22555 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22556 (mktemp): Enable declaration.
22557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22561 Likewise.
22562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22563 Likewise.
22564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22565 Likewise.
22566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22567 Likewise.
22568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22569 Likewise.
22570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22571 Likewise.
22572
fb1ae1ee
JM
22573 [BZ #14821]
22574 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22575 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22576 for copies of such integer values.
22577 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22578 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22579
2c1adbcb
AJ
225802012-11-09 Andreas Jaeger <aj@suse.de>
22581
22582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22583 definitions and declarations that are provided by
22584 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22585
d0f8457e
AK
225862012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22587
3a235abb 22588 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22589 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22590 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22591 definition.
22592
57241e26
MS
225932012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22594
22595 * elf/elf.h: Update comment before AArch64 relocations.
22596
60e8270d
DM
225972012-11-07 David S. Miller <davem@davemloft.net>
22598
22599 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22600 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22601 (__start_context): Declare.
22602 (__makecontext_ret): Delete.
22603 (__makecontext): Hook up __start_context instead of
22604 __makecontext_ret.
22605 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22606 (sysdep_routines): Add __start_context when in stdlib.
22607
0fbb0fbc
JM
226082012-11-07 Joseph Myers <joseph@codesourcery.com>
22609
22610 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22611 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22612 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22613 hardcoded "nm".
22614 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22615 (READELF): New variable. Use it instead of hardcoded "readelf".
22616
eb48db7e
L
226172012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22618
22619 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22620 * sysdeps/x86/Makefile: Here.
22621 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22622 * sysdeps/x86/tst-xmmymm.sh: This.
22623
05bcf62a
JM
226242012-11-07 Joseph Myers <joseph@codesourcery.com>
22625
c4b6cf53
JM
22626 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22627 expectations.
22628 [UNIX98] (pthread_barrier_t): Do not expect.
22629 [UNIX98] (pthread_barrierattr_t): Likewise.
22630 [UNIX98] (pthread_spinlock_t): Likewise.
22631 [UNIX98] (pthread_barrier_destroy): Likewise.
22632 [UNIX98] (pthread_barrier_init): Likewise.
22633 [UNIX98] (pthread_barrier_wait): Likewise.
22634 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22635 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22636 [UNIX98] (pthread_barrierattr_init): Likewise.
22637 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22638 [UNIX98] (pthread_getcpuclockid): Likewise.
22639 [UNIX98] (pthread_mutex_timedlock): Likewise.
22640 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22641 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22642 [UNIX98] (pthread_sigmask): Likewise.
22643 [UNIX98] (pthread_spin_destroy): Likewise.
22644 [UNIX98] (pthread_spin_init): Likewise.
22645 [UNIX98] (pthread_spin_lock): Likewise.
22646 [UNIX98] (pthread_spin_trylock): Likewise.
22647 [UNIX98] (pthread_spin_unlock): Likewise.
22648 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22649 Do not expect.
22650 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22652 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22653 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22654 [XPG3 || XPG4] (pthread_key_t): Likewise.
22655 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22656 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22657 [XPG3 || XPG4] (pthread_once_t): Likewise.
22658 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22659 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22661 [XPG3 || XPG4] (pthread_t): Likewise.
22662
cbe6e120
JM
22663 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22664 not expect.
22665 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22666
1b126443
JM
22667 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22668 Change function return type to int.
22669
b961a573
JM
22670 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22671 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22672 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22673 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22674 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22675 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22676 [!POSIX] (posix_madvise): Likewise.
22677 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22678 && !UNIX98].
22679 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22680 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22681 (mode_t): Likewise.
22682 (posix_mem_offset): Likewise.
22683 (posix_typed_mem_get_info): Likewise.
22684 (posix_typed_mem_open): Likewise.
22685
9e188909
JM
22686 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22687 Change condition to [XOPEN2K8].
22688
05bcf62a
JM
22689 * conform/conformtest.pl: Preprocess allow-header data with -x c
22690 instead of from stdin.
22691 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22692 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22693 [C99-based standards] (cerfc): Likewise.
22694 [C99-based standards] (cexp2): Likewise.
22695 [C99-based standards] (cexpm1): Likewise.
22696 [C99-based standards] (clog10): Likewise.
22697 [C99-based standards] (clog1p): Likewise.
22698 [C99-based standards] (clog2): Likewise.
22699 [C99-based standards] (clgamma): Likewise.
22700 [C99-based standards] (ctgamma): Likewise.
22701 [C99-based standards] (cerff): Likewise.
22702 [C99-based standards] (cerfcf): Likewise.
22703 [C99-based standards] (cexp2f): Likewise.
22704 [C99-based standards] (cexpm1f): Likewise.
22705 [C99-based standards] (clog10f): Likewise.
22706 [C99-based standards] (clog1pf): Likewise.
22707 [C99-based standards] (clog2f): Likewise.
22708 [C99-based standards] (clgammaf): Likewise.
22709 [C99-based standards] (ctgammaf): Likewise.
22710 [C99-based standards] (cerfl): Likewise.
22711 [C99-based standards] (cerfcl): Likewise.
22712 [C99-based standards] (cexp2l): Likewise.
22713 [C99-based standards] (cexpm1l): Likewise.
22714 [C99-based standards] (clog10l): Likewise.
22715 [C99-based standards] (clog1pl): Likewise.
22716 [C99-based standards] (clog2l): Likewise.
22717 [C99-based standards] (clgammal): Likewise.
22718 [C99-based standards] (ctgammal): Likewise.
22719 * conform/data/inttypes.h-data [C99-based standards]: Include
22720 stdint.h-data. Remove all expectations for stdint.h contents.
22721 [C99-based standards] (PRI*): Do not allow.
22722 [C99-based standards] (SCN*): Likewise.
22723 [C99-based standards] (*_t): Likewise.
22724 [C99-based-standards] (PRId8): Expect macro.
22725 [C99-based-standards] (PRIi8): Likewise.
22726 [C99-based-standards] (PRIo8): Likewise.
22727 [C99-based-standards] (PRIu8): Likewise.
22728 [C99-based-standards] (PRIx8): Likewise.
22729 [C99-based-standards] (PRIX8): Likewise.
22730 [C99-based-standards] (SCNd8): Likewise.
22731 [C99-based-standards] (SCNi8): Likewise.
22732 [C99-based-standards] (SCNo8): Likewise.
22733 [C99-based-standards] (SCNu8): Likewise.
22734 [C99-based-standards] (SCNx8): Likewise.
22735 [C99-based-standards] (PRIdLEAST8): Likewise.
22736 [C99-based-standards] (PRIiLEAST8): Likewise.
22737 [C99-based-standards] (PRIoLEAST8): Likewise.
22738 [C99-based-standards] (PRIuLEAST8): Likewise.
22739 [C99-based-standards] (PRIxLEAST8): Likewise.
22740 [C99-based-standards] (PRIXLEAST8): Likewise.
22741 [C99-based-standards] (SCNdLEAST8): Likewise.
22742 [C99-based-standards] (SCNiLEAST8): Likewise.
22743 [C99-based-standards] (SCNoLEAST8): Likewise.
22744 [C99-based-standards] (SCNuLEAST8): Likewise.
22745 [C99-based-standards] (SCNxLEAST8): Likewise.
22746 [C99-based-standards] (PRIdFAST8): Likewise.
22747 [C99-based-standards] (PRIiFAST8): Likewise.
22748 [C99-based-standards] (PRIoFAST8): Likewise.
22749 [C99-based-standards] (PRIuFAST8): Likewise.
22750 [C99-based-standards] (PRIxFAST8): Likewise.
22751 [C99-based-standards] (PRIXFAST8): Likewise.
22752 [C99-based-standards] (SCNdFAST8): Likewise.
22753 [C99-based-standards] (SCNiFAST8): Likewise.
22754 [C99-based-standards] (SCNoFAST8): Likewise.
22755 [C99-based-standards] (SCNuFAST8): Likewise.
22756 [C99-based-standards] (SCNxFAST8): Likewise.
22757 [C99-based-standards] (PRId16): Likewise.
22758 [C99-based-standards] (PRIi16): Likewise.
22759 [C99-based-standards] (PRIo16): Likewise.
22760 [C99-based-standards] (PRIu16): Likewise.
22761 [C99-based-standards] (PRIx16): Likewise.
22762 [C99-based-standards] (PRIX16): Likewise.
22763 [C99-based-standards] (SCNd16): Likewise.
22764 [C99-based-standards] (SCNi16): Likewise.
22765 [C99-based-standards] (SCNo16): Likewise.
22766 [C99-based-standards] (SCNu16): Likewise.
22767 [C99-based-standards] (SCNx16): Likewise.
22768 [C99-based-standards] (PRIdLEAST16): Likewise.
22769 [C99-based-standards] (PRIiLEAST16): Likewise.
22770 [C99-based-standards] (PRIoLEAST16): Likewise.
22771 [C99-based-standards] (PRIuLEAST16): Likewise.
22772 [C99-based-standards] (PRIxLEAST16): Likewise.
22773 [C99-based-standards] (PRIXLEAST16): Likewise.
22774 [C99-based-standards] (SCNdLEAST16): Likewise.
22775 [C99-based-standards] (SCNiLEAST16): Likewise.
22776 [C99-based-standards] (SCNoLEAST16): Likewise.
22777 [C99-based-standards] (SCNuLEAST16): Likewise.
22778 [C99-based-standards] (SCNxLEAST16): Likewise.
22779 [C99-based-standards] (PRIdFAST16): Likewise.
22780 [C99-based-standards] (PRIiFAST16): Likewise.
22781 [C99-based-standards] (PRIoFAST16): Likewise.
22782 [C99-based-standards] (PRIuFAST16): Likewise.
22783 [C99-based-standards] (PRIxFAST16): Likewise.
22784 [C99-based-standards] (PRIXFAST16): Likewise.
22785 [C99-based-standards] (SCNdFAST16): Likewise.
22786 [C99-based-standards] (SCNiFAST16): Likewise.
22787 [C99-based-standards] (SCNoFAST16): Likewise.
22788 [C99-based-standards] (SCNuFAST16): Likewise.
22789 [C99-based-standards] (SCNxFAST16): Likewise.
22790 [C99-based-standards] (PRId32): Likewise.
22791 [C99-based-standards] (PRIi32): Likewise.
22792 [C99-based-standards] (PRIo32): Likewise.
22793 [C99-based-standards] (PRIu32): Likewise.
22794 [C99-based-standards] (PRIx32): Likewise.
22795 [C99-based-standards] (PRIX32): Likewise.
22796 [C99-based-standards] (SCNd32): Likewise.
22797 [C99-based-standards] (SCNi32): Likewise.
22798 [C99-based-standards] (SCNo32): Likewise.
22799 [C99-based-standards] (SCNu32): Likewise.
22800 [C99-based-standards] (SCNx32): Likewise.
22801 [C99-based-standards] (PRIdLEAST32): Likewise.
22802 [C99-based-standards] (PRIiLEAST32): Likewise.
22803 [C99-based-standards] (PRIoLEAST32): Likewise.
22804 [C99-based-standards] (PRIuLEAST32): Likewise.
22805 [C99-based-standards] (PRIxLEAST32): Likewise.
22806 [C99-based-standards] (PRIXLEAST32): Likewise.
22807 [C99-based-standards] (SCNdLEAST32): Likewise.
22808 [C99-based-standards] (SCNiLEAST32): Likewise.
22809 [C99-based-standards] (SCNoLEAST32): Likewise.
22810 [C99-based-standards] (SCNuLEAST32): Likewise.
22811 [C99-based-standards] (SCNxLEAST32): Likewise.
22812 [C99-based-standards] (PRIdFAST32): Likewise.
22813 [C99-based-standards] (PRIiFAST32): Likewise.
22814 [C99-based-standards] (PRIoFAST32): Likewise.
22815 [C99-based-standards] (PRIuFAST32): Likewise.
22816 [C99-based-standards] (PRIxFAST32): Likewise.
22817 [C99-based-standards] (PRIXFAST32): Likewise.
22818 [C99-based-standards] (SCNdFAST32): Likewise.
22819 [C99-based-standards] (SCNiFAST32): Likewise.
22820 [C99-based-standards] (SCNoFAST32): Likewise.
22821 [C99-based-standards] (SCNuFAST32): Likewise.
22822 [C99-based-standards] (SCNxFAST32): Likewise.
22823 [C99-based-standards] (PRId64): Likewise.
22824 [C99-based-standards] (PRIi64): Likewise.
22825 [C99-based-standards] (PRIo64): Likewise.
22826 [C99-based-standards] (PRIu64): Likewise.
22827 [C99-based-standards] (PRIx64): Likewise.
22828 [C99-based-standards] (PRIX64): Likewise.
22829 [C99-based-standards] (SCNd64): Likewise.
22830 [C99-based-standards] (SCNi64): Likewise.
22831 [C99-based-standards] (SCNo64): Likewise.
22832 [C99-based-standards] (SCNu64): Likewise.
22833 [C99-based-standards] (SCNx64): Likewise.
22834 [C99-based-standards] (PRIdLEAST64): Likewise.
22835 [C99-based-standards] (PRIiLEAST64): Likewise.
22836 [C99-based-standards] (PRIoLEAST64): Likewise.
22837 [C99-based-standards] (PRIuLEAST64): Likewise.
22838 [C99-based-standards] (PRIxLEAST64): Likewise.
22839 [C99-based-standards] (PRIXLEAST64): Likewise.
22840 [C99-based-standards] (SCNdLEAST64): Likewise.
22841 [C99-based-standards] (SCNiLEAST64): Likewise.
22842 [C99-based-standards] (SCNoLEAST64): Likewise.
22843 [C99-based-standards] (SCNuLEAST64): Likewise.
22844 [C99-based-standards] (SCNxLEAST64): Likewise.
22845 [C99-based-standards] (PRIdFAST64): Likewise.
22846 [C99-based-standards] (PRIiFAST64): Likewise.
22847 [C99-based-standards] (PRIoFAST64): Likewise.
22848 [C99-based-standards] (PRIuFAST64): Likewise.
22849 [C99-based-standards] (PRIxFAST64): Likewise.
22850 [C99-based-standards] (PRIXFAST64): Likewise.
22851 [C99-based-standards] (SCNdFAST64): Likewise.
22852 [C99-based-standards] (SCNiFAST64): Likewise.
22853 [C99-based-standards] (SCNoFAST64): Likewise.
22854 [C99-based-standards] (SCNuFAST64): Likewise.
22855 [C99-based-standards] (SCNxFAST64): Likewise.
22856 [C99-based-standards] (PRIdMAX): Likewise.
22857 [C99-based-standards] (PRIiMAX): Likewise.
22858 [C99-based-standards] (PRIoMAX): Likewise.
22859 [C99-based-standards] (PRIuMAX): Likewise.
22860 [C99-based-standards] (PRIxMAX): Likewise.
22861 [C99-based-standards] (PRIXMAX): Likewise.
22862 [C99-based-standards] (SCNdMAX): Likewise.
22863 [C99-based-standards] (SCNiMAX): Likewise.
22864 [C99-based-standards] (SCNoMAX): Likewise.
22865 [C99-based-standards] (SCNuMAX): Likewise.
22866 [C99-based-standards] (SCNxMAX): Likewise.
22867 [C99-based-standards] (PRIdPTR): Likewise.
22868 [C99-based-standards] (PRIiPTR): Likewise.
22869 [C99-based-standards] (PRIoPTR): Likewise.
22870 [C99-based-standards] (PRIuPTR): Likewise.
22871 [C99-based-standards] (PRIxPTR): Likewise.
22872 [C99-based-standards] (PRIXPTR): Likewise.
22873 [C99-based-standards] (SCNdPTR): Likewise.
22874 [C99-based-standards] (SCNiPTR): Likewise.
22875 [C99-based-standards] (SCNoPTR): Likewise.
22876 [C99-based-standards] (SCNuPTR): Likewise.
22877 [C99-based-standards] (SCNxPTR): Likewise.
22878 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22879 allow.
22880 * conform/data/stdint.h-data: Update comments to clarify
22881 requirements.
22882 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22883 type.
22884 [C99-based standards] (INT8_MAX): Likewise.
22885 [C99-based standards] (INT16_MIN): Likewise.
22886 [C99-based standards] (INT16_MAX): Likewise.
22887 [C99-based standards] (INT32_MIN): Likewise.
22888 [C99-based standards] (INT32_MAX): Likewise.
22889 [C99-based standards] (INT64_MIN): Likewise.
22890 [C99-based standards] (INT64_MAX): Likewise.
22891 [C99-based standards] (UINT8_MAX): Likewise.
22892 [C99-based standards] (UINT16_MAX): Likewise.
22893 [C99-based standards] (UINT32_MAX): Likewise.
22894 [C99-based standards] (UINT64_MAX): Likewise.
22895 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22896 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22897 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22898 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22899 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22900 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22901 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22902 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22903 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22904 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22905 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22906 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22907 [C99-based standards] (INT_FAST8_MIN): Likewise.
22908 [C99-based standards] (INT_FAST8_MAX): Likewise.
22909 [C99-based standards] (INT_FAST16_MIN): Likewise.
22910 [C99-based standards] (INT_FAST16_MAX): Likewise.
22911 [C99-based standards] (INT_FAST32_MIN): Likewise.
22912 [C99-based standards] (INT_FAST32_MAX): Likewise.
22913 [C99-based standards] (INT_FAST64_MIN): Likewise.
22914 [C99-based standards] (INT_FAST64_MAX): Likewise.
22915 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22916 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22917 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22918 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22919 [C99-based standards] (INTPTR_MIN): Likewise.
22920 [C99-based standards] (INTPTR_MAX): Likewise.
22921 [C99-based standards] (UINTPTR_MAX): Likewise.
22922 [C99-based standards] (INTMAX_MIN): Likewise.
22923 [C99-based standards] (INTMAX_MAX): Likewise.
22924 [C99-based standards] (UINTMAX_MAX): Likewise.
22925 [C99-based standards] (PTRDIFF_MIN): Likewise.
22926 [C99-based standards] (PTRDIFF_MAX): Likewise.
22927 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22928 [C99-based standards] (SIZE_MAX): Likewise.
22929 [C99-based standards] (WCHAR_MAX): Likewise.
22930 [C99-based standards] (WINT_MAX): Likewise.
22931 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22932 constraint on value.
22933 [C99-based standards] (WCHAR_MIN): Likewise.
22934 [C99-based standards] (WINT_MIN): Likewise.
22935 [C99-based standards] (*_t): Allow.
22936 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22937 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22938 Include math.h-data and complex.h-data. Remove all expectations
22939 of math.h and complex.h contents.
22940 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22941 at end of line.
22942 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22943 (struct tm): Expect tag.
22944 [C99-based-standards] (wcstof): Expect function.
22945 [C99-based-standards] (wcstold): Likewise.
22946 [C99-based-standards] (wcstoll): Likewise.
22947 [C99-based-standards] (wcstoull): Likewise.
22948 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22949 macro-int-constant. Specify type.
22950 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22951 constraint on value.
22952 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22953 Specify type.
22954 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22955 Specify value.
22956 [ISO C standards]: Do not allow headers.
22957 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22958 wcs[abcdefghijklmnopqrstuvwxyz]*.
22959 [ISO C standards] (*_t): Do not allow.
22960 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22961 Expect function.
22962 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22963 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22964 Specify type.
22965 [ISO C standards]: Do not allow headers.
22966 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22967 is[abcdefghijklmnopqrstuvwxyz]*.
22968 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22969 to[abcdefghijklmnopqrstuvwxyz]*.
22970 [ISO C standards] (*_t): Do not allow.
22971 * conform/data/stdalign.h-data: New file.
22972 * conform/data/stdbool.h-data: Likewise.
22973 * conform/data/stdnoreturn.h-data: Likewise.
22974
7514feb8
RM
229752012-11-07 Roland McGrath <roland@hack.frob.com>
22976
22977 [BZ #14815]
22978 * manual/filesys.texi (Directory Entries): Typo fix.
22979 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22980
19b2ecfc
MS
229812012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22982
22983 * elf/elf.h (EM_AARCH64): New macro.
22984 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22985 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22986 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22987 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22988 (R_AARCH64_TLSDESC): Likewise.
22989 (NT_ARM_TLS): Likewise.
22990 (NT_ARM_HW_BREAK): Likewise.
22991 (NT_ARM_HW_WATCH): Likewise.
22992
60e235ee
JM
229932012-11-07 Joseph Myers <joseph@codesourcery.com>
22994
22995 [BZ #14811]
22996 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22997 (__ieee754_powl): Saturate nonzero exponents with absolute value
22998 below 0x1p-79 to +/- 0x1p-79.
22999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23000 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23001 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23002 nonzero exponents with absolute value below 0x1p-32 to +/-
23003 0x1p-32.
23004 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23005 (__ieee754_powl): Saturate nonzero exponents with absolute value
23006 below 0x1p-79 to +/- 0x1p-79.
23007 * math/libm-test.inc (pow_test): Add more tests.
23008
0ab234b7
AK
230092012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23010
23011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23012 _dl_s390_cap_flags with kernel. Increase string length.
23013 (_dl_s390_platforms): Add z196 and zEC12.
23014
45832f74
JM
230152012-11-07 Joseph Myers <joseph@codesourcery.com>
23016
23017 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23018 Change XOPEN21K to XOPEN2K.
23019
19218757
MK
230202012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23021
23022 * string/memmove.c: Use memcpy when possible.
23023
c5f45721
AJ
230242012-11-06 Andreas Jaeger <aj@suse.de>
23025
23026 * po/eo.po: Update from translation team.
23027
82477c28
JM
230282012-11-06 Joseph Myers <joseph@codesourcery.com>
23029
23030 [BZ #14793]
23031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23032 exponent and small x and y exponents, scale x or y up. Increase
23033 by 2 the exponent used in scaling up.
23034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23036 * math/libm-test.inc (fma_test): Add more tests.
23037 (fma_test_towardzero): Likewise.
23038 (fma_test_downward): Likewise.
23039 (fma_test_upward): Likewise.
23040
99252c8c
JM
230412012-11-05 Joseph Myers <joseph@codesourcery.com>
23042
acfa885f
JM
23043 [BZ #14805]
23044 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23045 fenv_t *.
23046
99252c8c
JM
23047 [BZ #14801]
23048 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23049 namespace for names of struct fields.
23050 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23051 fenv_t fields.
23052 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23053 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23054
d6d98dea
ST
230552012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23056
23057 [BZ #3665]
23058 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23059
e10bb107
TS
230602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23061
23062 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23063 PTR_DEMANGLE.
23064
23065 [BZ #5246]
23066 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23067 PTR_DEMANGLE.
23068
a0c2940d
JM
230692012-11-04 Joseph Myers <joseph@codesourcery.com>
23070
23071 [BZ #14797]
23072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23073 definitely overflow as x * y not x * y + z.
23074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23076 * math/libm-test.inc (fma_test): Add more tests.
23077 (fma_test_towardzero): Likewise.
23078 (fma_test_downward): Likewise.
23079 (fma_test_upward): Likewise.
23080
b830319d
TS
230812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23082
23083 [BZ #157]
23084
23085 * include/stub-tag.h: Remove file.
23086 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23087 '#include' of it.
23088 * manual/maint.texi (Porting): Don't reference it.
23089 * Makerules ($(objpfx)stubs): Likewise.
23090 * dirent/closedir.c: Don't include <stub-tag.h>.
23091 * dirent/dirfd.c: Likewise.
23092 * dirent/fdopendir.c: Likewise.
23093 * dirent/getdents.c: Likewise.
23094 * dirent/getdents64.c: Likewise.
23095 * dirent/opendir.c: Likewise.
23096 * dirent/readdir.c: Likewise.
23097 * dirent/readdir64.c: Likewise.
23098 * dirent/readdir64_r.c: Likewise.
23099 * dirent/readdir_r.c: Likewise.
23100 * dirent/rewinddir.c: Likewise.
23101 * dirent/seekdir.c: Likewise.
23102 * dirent/telldir.c: Likewise.
23103 * gmon/profil.c: Likewise.
23104 * grp/setgroups.c: Likewise.
23105 * inet/if_index.c: Likewise.
23106 * io/access.c: Likewise.
23107 * io/chdir.c: Likewise.
23108 * io/chmod.c: Likewise.
23109 * io/chown.c: Likewise.
23110 * io/close.c: Likewise.
23111 * io/dup.c: Likewise.
23112 * io/dup2.c: Likewise.
23113 * io/dup3.c: Likewise.
23114 * io/euidaccess.c: Likewise.
23115 * io/faccessat.c: Likewise.
23116 * io/fchdir.c: Likewise.
23117 * io/fchmod.c: Likewise.
23118 * io/fchmodat.c: Likewise.
23119 * io/fchown.c: Likewise.
23120 * io/fchownat.c: Likewise.
23121 * io/fcntl.c: Likewise.
23122 * io/flock.c: Likewise.
23123 * io/fstatfs.c: Likewise.
23124 * io/fstatfs64.c: Likewise.
23125 * io/fstatvfs.c: Likewise.
23126 * io/fstatvfs64.c: Likewise.
23127 * io/futimens.c: Likewise.
23128 * io/fxstat.c: Likewise.
23129 * io/fxstat64.c: Likewise.
23130 * io/fxstatat.c: Likewise.
23131 * io/fxstatat64.c: Likewise.
23132 * io/getcwd.c: Likewise.
23133 * io/isatty.c: Likewise.
23134 * io/lchmod.c: Likewise.
23135 * io/lchown.c: Likewise.
23136 * io/link.c: Likewise.
23137 * io/linkat.c: Likewise.
23138 * io/lseek.c: Likewise.
23139 * io/lseek64.c: Likewise.
23140 * io/lxstat64.c: Likewise.
23141 * io/mkdir.c: Likewise.
23142 * io/mkdirat.c: Likewise.
23143 * io/mkfifo.c: Likewise.
23144 * io/mkfifoat.c: Likewise.
23145 * io/open.c: Likewise.
23146 * io/open64.c: Likewise.
23147 * io/openat.c: Likewise.
23148 * io/openat64.c: Likewise.
23149 * io/pipe.c: Likewise.
23150 * io/pipe2.c: Likewise.
23151 * io/poll.c: Likewise.
23152 * io/posix_fadvise.c: Likewise.
23153 * io/posix_fadvise64.c: Likewise.
23154 * io/posix_fallocate.c: Likewise.
23155 * io/posix_fallocate64.c: Likewise.
23156 * io/read.c: Likewise.
23157 * io/readlink.c: Likewise.
23158 * io/readlinkat.c: Likewise.
23159 * io/rmdir.c: Likewise.
23160 * io/sendfile.c: Likewise.
23161 * io/sendfile64.c: Likewise.
23162 * io/statfs.c: Likewise.
23163 * io/statfs64.c: Likewise.
23164 * io/statvfs.c: Likewise.
23165 * io/statvfs64.c: Likewise.
23166 * io/symlink.c: Likewise.
23167 * io/symlinkat.c: Likewise.
23168 * io/ttyname.c: Likewise.
23169 * io/ttyname_r.c: Likewise.
23170 * io/umask.c: Likewise.
23171 * io/unlink.c: Likewise.
23172 * io/unlinkat.c: Likewise.
23173 * io/utime.c: Likewise.
23174 * io/utimensat.c: Likewise.
23175 * io/write.c: Likewise.
23176 * io/xmknod.c: Likewise.
23177 * io/xmknodat.c: Likewise.
23178 * io/xstat.c: Likewise.
23179 * io/xstat64.c: Likewise.
23180 * login/getpt.c: Likewise.
23181 * login/grantpt.c: Likewise.
23182 * login/unlockpt.c: Likewise.
23183 * math/e_acoshl.c: Likewise.
23184 * math/e_acosl.c: Likewise.
23185 * math/e_asinl.c: Likewise.
23186 * math/e_atan2l.c: Likewise.
23187 * math/e_atanhl.c: Likewise.
23188 * math/e_coshl.c: Likewise.
23189 * math/e_expl.c: Likewise.
23190 * math/e_fmodl.c: Likewise.
23191 * math/e_gammal_r.c: Likewise.
23192 * math/e_hypotl.c: Likewise.
23193 * math/e_j0l.c: Likewise.
23194 * math/e_j1l.c: Likewise.
23195 * math/e_jnl.c: Likewise.
23196 * math/e_lgammal_r.c: Likewise.
23197 * math/e_log10l.c: Likewise.
23198 * math/e_log2l.c: Likewise.
23199 * math/e_logl.c: Likewise.
23200 * math/e_powl.c: Likewise.
23201 * math/e_rem_pio2l.c: Likewise.
23202 * math/e_sinhl.c: Likewise.
23203 * math/e_sqrtl.c: Likewise.
23204 * math/fclrexcpt.c: Likewise.
23205 * math/fedisblxcpt.c: Likewise.
23206 * math/feenablxcpt.c: Likewise.
23207 * math/fegetenv.c: Likewise.
23208 * math/fegetexcept.c: Likewise.
23209 * math/fegetround.c: Likewise.
23210 * math/feholdexcpt.c: Likewise.
23211 * math/fesetenv.c: Likewise.
23212 * math/fesetround.c: Likewise.
23213 * math/feupdateenv.c: Likewise.
23214 * math/fgetexcptflg.c: Likewise.
23215 * math/fraiseexcpt.c: Likewise.
23216 * math/fsetexcptflg.c: Likewise.
23217 * math/ftestexcept.c: Likewise.
23218 * math/k_cosl.c: Likewise.
23219 * math/k_rem_pio2l.c: Likewise.
23220 * math/k_sinl.c: Likewise.
23221 * math/k_tanl.c: Likewise.
23222 * math/s_asinhl.c: Likewise.
23223 * math/s_atanl.c: Likewise.
23224 * math/s_cbrtl.c: Likewise.
23225 * math/s_erfl.c: Likewise.
23226 * math/s_expm1l.c: Likewise.
23227 * math/s_log1pl.c: Likewise.
23228 * math/s_tanhl.c: Likewise.
23229 * misc/acct.c: Likewise.
23230 * misc/brk.c: Likewise.
23231 * misc/chflags.c: Likewise.
23232 * misc/chroot.c: Likewise.
23233 * misc/fchflags.c: Likewise.
23234 * misc/fgetxattr.c: Likewise.
23235 * misc/flistxattr.c: Likewise.
23236 * misc/fremovexattr.c: Likewise.
23237 * misc/fsetxattr.c: Likewise.
23238 * misc/fsync.c: Likewise.
23239 * misc/ftruncate.c: Likewise.
23240 * misc/futimes.c: Likewise.
23241 * misc/futimesat.c: Likewise.
23242 * misc/getdomain.c: Likewise.
23243 * misc/getdtsz.c: Likewise.
23244 * misc/gethostid.c: Likewise.
23245 * misc/gethostname.c: Likewise.
23246 * misc/getloadavg.c: Likewise.
23247 * misc/getpagesize.c: Likewise.
23248 * misc/getsysstats.c: Likewise.
23249 * misc/getxattr.c: Likewise.
23250 * misc/gtty.c: Likewise.
23251 * misc/ioctl.c: Likewise.
23252 * misc/lgetxattr.c: Likewise.
23253 * misc/listxattr.c: Likewise.
23254 * misc/llistxattr.c: Likewise.
23255 * misc/lremovexattr.c: Likewise.
23256 * misc/lsetxattr.c: Likewise.
23257 * misc/lutimes.c: Likewise.
23258 * misc/madvise.c: Likewise.
23259 * misc/mincore.c: Likewise.
23260 * misc/mlock.c: Likewise.
23261 * misc/mlockall.c: Likewise.
23262 * misc/mmap.c: Likewise.
23263 * misc/mprotect.c: Likewise.
23264 * misc/msync.c: Likewise.
23265 * misc/munlock.c: Likewise.
23266 * misc/munlockall.c: Likewise.
23267 * misc/munmap.c: Likewise.
23268 * misc/preadv.c: Likewise.
23269 * misc/preadv64.c: Likewise.
23270 * misc/ptrace.c: Likewise.
23271 * misc/pwritev.c: Likewise.
23272 * misc/pwritev64.c: Likewise.
23273 * misc/readv.c: Likewise.
23274 * misc/reboot.c: Likewise.
23275 * misc/remap_file_pages.c: Likewise.
23276 * misc/removexattr.c: Likewise.
23277 * misc/revoke.c: Likewise.
23278 * misc/select.c: Likewise.
23279 * misc/setdomain.c: Likewise.
23280 * misc/setegid.c: Likewise.
23281 * misc/seteuid.c: Likewise.
23282 * misc/sethostid.c: Likewise.
23283 * misc/sethostname.c: Likewise.
23284 * misc/setregid.c: Likewise.
23285 * misc/setreuid.c: Likewise.
23286 * misc/setxattr.c: Likewise.
23287 * misc/sstk.c: Likewise.
23288 * misc/stty.c: Likewise.
23289 * misc/swapoff.c: Likewise.
23290 * misc/swapon.c: Likewise.
23291 * misc/sync.c: Likewise.
23292 * misc/syncfs.c: Likewise.
23293 * misc/syscall.c: Likewise.
23294 * misc/truncate.c: Likewise.
23295 * misc/ualarm.c: Likewise.
23296 * misc/usleep.c: Likewise.
23297 * misc/ustat.c: Likewise.
23298 * misc/utimes.c: Likewise.
23299 * misc/vhangup.c: Likewise.
23300 * misc/writev.c: Likewise.
23301 * posix/_exit.c: Likewise.
23302 * posix/alarm.c: Likewise.
23303 * posix/execve.c: Likewise.
23304 * posix/fexecve.c: Likewise.
23305 * posix/fork.c: Likewise.
23306 * posix/fpathconf.c: Likewise.
23307 * posix/getaddrinfo.c: Likewise.
23308 * posix/getegid.c: Likewise.
23309 * posix/geteuid.c: Likewise.
23310 * posix/getgid.c: Likewise.
23311 * posix/getgroups.c: Likewise.
23312 * posix/getlogin.c: Likewise.
23313 * posix/getlogin_r.c: Likewise.
23314 * posix/getpgid.c: Likewise.
23315 * posix/getpid.c: Likewise.
23316 * posix/getppid.c: Likewise.
23317 * posix/getresgid.c: Likewise.
23318 * posix/getresuid.c: Likewise.
23319 * posix/getsid.c: Likewise.
23320 * posix/getuid.c: Likewise.
23321 * posix/glob64.c: Likewise.
23322 * posix/nanosleep.c: Likewise.
23323 * posix/pathconf.c: Likewise.
23324 * posix/pause.c: Likewise.
23325 * posix/posix_madvise.c: Likewise.
23326 * posix/pread.c: Likewise.
23327 * posix/pread64.c: Likewise.
23328 * posix/pwrite.c: Likewise.
23329 * posix/pwrite64.c: Likewise.
23330 * posix/sched_getaffinity.c: Likewise.
23331 * posix/sched_getp.c: Likewise.
23332 * posix/sched_gets.c: Likewise.
23333 * posix/sched_primax.c: Likewise.
23334 * posix/sched_primin.c: Likewise.
23335 * posix/sched_rr_gi.c: Likewise.
23336 * posix/sched_setaffinity.c: Likewise.
23337 * posix/sched_setp.c: Likewise.
23338 * posix/sched_sets.c: Likewise.
23339 * posix/sched_yield.c: Likewise.
23340 * posix/setgid.c: Likewise.
23341 * posix/setlogin.c: Likewise.
23342 * posix/setpgid.c: Likewise.
23343 * posix/setresgid.c: Likewise.
23344 * posix/setresuid.c: Likewise.
23345 * posix/setsid.c: Likewise.
23346 * posix/setuid.c: Likewise.
23347 * posix/sleep.c: Likewise.
23348 * posix/spawni.c: Likewise.
23349 * posix/sysconf.c: Likewise.
23350 * posix/times.c: Likewise.
23351 * posix/wait.c: Likewise.
23352 * posix/wait3.c: Likewise.
23353 * posix/wait4.c: Likewise.
23354 * posix/waitpid.c: Likewise.
23355 * resolv/gai_sigqueue.c: Likewise.
23356 * resource/getpriority.c: Likewise.
23357 * resource/getrlimit.c: Likewise.
23358 * resource/getrusage.c: Likewise.
23359 * resource/nice.c: Likewise.
23360 * resource/setpriority.c: Likewise.
23361 * resource/setrlimit.c: Likewise.
23362 * resource/ulimit.c: Likewise.
23363 * rt/aio_cancel.c: Likewise.
23364 * rt/aio_fsync.c: Likewise.
23365 * rt/aio_read.c: Likewise.
23366 * rt/aio_sigqueue.c: Likewise.
23367 * rt/aio_suspend.c: Likewise.
23368 * rt/aio_write.c: Likewise.
23369 * rt/clock_getres.c: Likewise.
23370 * rt/clock_gettime.c: Likewise.
23371 * rt/clock_nanosleep.c: Likewise.
23372 * rt/clock_settime.c: Likewise.
23373 * rt/lio_listio.c: Likewise.
23374 * rt/mq_close.c: Likewise.
23375 * rt/mq_getattr.c: Likewise.
23376 * rt/mq_notify.c: Likewise.
23377 * rt/mq_open.c: Likewise.
23378 * rt/mq_receive.c: Likewise.
23379 * rt/mq_send.c: Likewise.
23380 * rt/mq_setattr.c: Likewise.
23381 * rt/mq_timedreceive.c: Likewise.
23382 * rt/mq_timedsend.c: Likewise.
23383 * rt/mq_unlink.c: Likewise.
23384 * rt/shm_open.c: Likewise.
23385 * rt/shm_unlink.c: Likewise.
23386 * rt/timer_create.c: Likewise.
23387 * rt/timer_delete.c: Likewise.
23388 * rt/timer_getoverr.c: Likewise.
23389 * rt/timer_gettime.c: Likewise.
23390 * rt/timer_settime.c: Likewise.
23391 * setjmp/__longjmp.c: Likewise.
23392 * setjmp/setjmp.c: Likewise.
23393 * signal/kill.c: Likewise.
23394 * signal/killpg.c: Likewise.
23395 * signal/raise.c: Likewise.
23396 * signal/sigaction.c: Likewise.
23397 * signal/sigaltstack.c: Likewise.
23398 * signal/sigblock.c: Likewise.
23399 * signal/sigignore.c: Likewise.
23400 * signal/sigintr.c: Likewise.
23401 * signal/signal.c: Likewise.
23402 * signal/sigpause.c: Likewise.
23403 * signal/sigpending.c: Likewise.
23404 * signal/sigqueue.c: Likewise.
23405 * signal/sigreturn.c: Likewise.
23406 * signal/sigset.c: Likewise.
23407 * signal/sigsetmask.c: Likewise.
23408 * signal/sigstack.c: Likewise.
23409 * signal/sigsuspend.c: Likewise.
23410 * signal/sigtimedwait.c: Likewise.
23411 * signal/sigvec.c: Likewise.
23412 * signal/sigwait.c: Likewise.
23413 * signal/sigwaitinfo.c: Likewise.
23414 * signal/sysv_signal.c: Likewise.
23415 * socket/accept.c: Likewise.
23416 * socket/accept4.c: Likewise.
23417 * socket/bind.c: Likewise.
23418 * socket/connect.c: Likewise.
23419 * socket/getpeername.c: Likewise.
23420 * socket/getsockname.c: Likewise.
23421 * socket/getsockopt.c: Likewise.
23422 * socket/isfdtype.c: Likewise.
23423 * socket/listen.c: Likewise.
23424 * socket/recv.c: Likewise.
23425 * socket/recvfrom.c: Likewise.
23426 * socket/recvmsg.c: Likewise.
23427 * socket/send.c: Likewise.
23428 * socket/sendmsg.c: Likewise.
23429 * socket/sendto.c: Likewise.
23430 * socket/setsockopt.c: Likewise.
23431 * socket/shutdown.c: Likewise.
23432 * socket/sockatmark.c: Likewise.
23433 * socket/socket.c: Likewise.
23434 * socket/socketpair.c: Likewise.
23435 * stdio-common/ctermid.c: Likewise.
23436 * stdio-common/cuserid.c: Likewise.
23437 * stdio-common/remove.c: Likewise.
23438 * stdio-common/rename.c: Likewise.
23439 * stdio-common/renameat.c: Likewise.
23440 * stdio-common/tempname.c: Likewise.
23441 * stdlib/getcontext.c: Likewise.
23442 * stdlib/makecontext.c: Likewise.
23443 * stdlib/setcontext.c: Likewise.
23444 * stdlib/swapcontext.c: Likewise.
23445 * stdlib/system.c: Likewise.
23446 * streams/fattach.c: Likewise.
23447 * streams/fdetach.c: Likewise.
23448 * streams/getmsg.c: Likewise.
23449 * streams/getpmsg.c: Likewise.
23450 * streams/putmsg.c: Likewise.
23451 * streams/putpmsg.c: Likewise.
23452 * sysdeps/unix/bsd/getpt.c: Likewise.
23453 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23454 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23455 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23457 Likewise.
23458 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23459 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23460 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23461 * sysvipc/msgctl.c: Likewise.
23462 * sysvipc/msgget.c: Likewise.
23463 * sysvipc/msgrcv.c: Likewise.
23464 * sysvipc/msgsnd.c: Likewise.
23465 * sysvipc/semctl.c: Likewise.
23466 * sysvipc/semget.c: Likewise.
23467 * sysvipc/semop.c: Likewise.
23468 * sysvipc/semtimedop.c: Likewise.
23469 * sysvipc/shmat.c: Likewise.
23470 * sysvipc/shmctl.c: Likewise.
23471 * sysvipc/shmdt.c: Likewise.
23472 * sysvipc/shmget.c: Likewise.
23473 * termios/tcdrain.c: Likewise.
23474 * termios/tcflow.c: Likewise.
23475 * termios/tcflush.c: Likewise.
23476 * termios/tcgetattr.c: Likewise.
23477 * termios/tcgetpgrp.c: Likewise.
23478 * termios/tcsendbrk.c: Likewise.
23479 * termios/tcsetattr.c: Likewise.
23480 * termios/tcsetpgrp.c: Likewise.
23481 * time/adjtime.c: Likewise.
23482 * time/clock.c: Likewise.
23483 * time/getitimer.c: Likewise.
23484 * time/gettimeofday.c: Likewise.
23485 * time/setitimer.c: Likewise.
23486 * time/settimeofday.c: Likewise.
23487 * time/stime.c: Likewise.
23488 * time/time.c: Likewise.
23489
234902012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23491
a20492cf
PT
23492 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23493 /usr/old/bin.
23494
72e182e3
PT
23495 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23496 instead of spaces.
23497 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23498
fbeafede
JM
234992012-11-03 Joseph Myers <joseph@codesourcery.com>
23500
5b5b04d6
JM
23501 [BZ #14796]
23502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23503 FE_TONEAREST before applying Dekker multiplication and Knuth
23504 addition. Clear inexact exceptions and check for exact zero
23505 results afterwards.
23506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23509 * math/libm-test.inc (fma_test): Add more tests.
23510 (fma_test_towardzero): Likewise.
23511 (fma_test_downward): Likewise.
23512 (fma_test_upward): Likewise.
23513 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23514 function.
23515 (libc_fesetround): New macro.
23516 (libc_fesetroundf): Likewise.
23517 (libc_fesetroundl): Likewise.
23518 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23519 function.
23520 (libc_fesetround_387): Likewise.
23521 (libc_fesetroundf): New macro.
23522 (libc_fesetround): Likewise.
23523 (libc_fesetroundl): Likewise.
23524 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23525 function.
23526 (libc_fesetroundf): New macro.
23527 (libc_fesetround): Likewise.
23528 (libc_fesetroundl): Likewise.
23529 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23530 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23531 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23532 libm_hidden_ver.
23533 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23534 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23535 libm_hidden_def.
23536 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23537 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23538 libm_hidden_ver.
23539 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23540 libm_hidden_def.
23541
fbeafede
JM
23542 [BZ #3439]
23543 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23544 integer constant usable in #if and use that to give value to enum
23545 constant.
23546 (FE_DIVBYZERO): Likewise.
23547 (FE_UNDERFLOW): Likewise.
23548 (FE_OVERFLOW): Likewise.
23549 (FE_INVALID): Likewise.
23550 (FE_INVALID_SNAN): Likewise.
23551 (FE_INVALID_ISI): Likewise.
23552 (FE_INVALID_IDI): Likewise.
23553 (FE_INVALID_ZDZ): Likewise.
23554 (FE_INVALID_IMZ): Likewise.
23555 (FE_INVALID_COMPARE): Likewise.
23556 (FE_INVALID_SOFTWARE): Likewise.
23557 (FE_INVALID_SQRT): Likewise.
23558 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23559 (FE_TONEAREST): Likewise.
23560 (FE_TOWARDZERO): Likewise.
23561 (FE_UPWARD): Likewise.
23562 (FE_DOWNWARD): Likewise.
23563 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23564 (FE_DIVBYZERO): Likewise.
23565 (FE_OVERFLOW): Likewise.
23566 (FE_UNDERFLOW): Likewise.
23567 (FE_INEXACT): Likewise.
23568 (FE_TONEAREST): Likewise.
23569 (FE_DOWNWARD): Likewise.
23570 (FE_UPWARD): Likewise.
23571 (FE_TOWARDZERO): Likewise.
23572 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23573 (FE_UNDERFLOW): Likewise.
23574 (FE_OVERFLOW): Likewise.
23575 (FE_DIVBYZERO): Likewise.
23576 (FE_INVALID): Likewise.
23577 (FE_TONEAREST): Likewise.
23578 (FE_TOWARDZERO): Likewise.
23579 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23580 (FE_OVERFLOW): Likewise.
23581 (FE_UNDERFLOW): Likewise.
23582 (FE_DIVBYZERO): Likewise.
23583 (FE_INEXACT): Likewise.
23584 (FE_TONEAREST): Likewise.
23585 (FE_TOWARDZERO): Likewise.
23586 (FE_UPWARD): Likewise.
23587 (FE_DOWNWARD): Likewise.
23588 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23589 (FE_DIVBYZERO): Likewise.
23590 (FE_OVERFLOW): Likewise.
23591 (FE_UNDERFLOW): Likewise.
23592 (FE_INEXACT): Likewise.
23593 (FE_TONEAREST): Likewise.
23594 (FE_DOWNWARD): Likewise.
23595 (FE_UPWARD): Likewise.
23596 (FE_TOWARDZERO): Likewise.
23597
105ca950
CM
235982012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23599
23600 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23601
a542b389
AS
236022012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23603
23604 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23605 commands. Quote $PWD.
23606 (blacklist_exports): Don't use remove_newlines. Replace "declare
23607 -x" by "export".
23608 (remove_newlines): Remove.
23609
f62c8abc
L
236102012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23611
23612 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23613 * stdlib/stdlib.h (atof): Moved to ...
23614 * include/bits/stdlib-float.h: Here. New file.
23615 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23616 * stdlib/bits/stdlib-float.h: New file.
23617 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23618 -mno-sse -mno-mmx.
23619 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23620 <xmmintrin.h>.
23621
0155d5b2
JM
236222012-11-02 Joseph Myers <joseph@codesourcery.com>
23623
a68d0680
JM
23624 * conform/conformtest.pl (@headers): Add fenv.h.
23625 * conform/data/fenv.h-data: New file.
23626 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23627 include of <math/fenv.h>.
23628
caf7f573
JM
23629 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23630 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23631 && !UNIX98]. Enables tests for XOPEN2K8.
23632 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23633 POSIX2008]: Likewise.
23634
6c073ad6
JM
23635 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23636 (struct rusage): Do not expect type or its members.
23637
0155d5b2
JM
23638 [BZ #3439]
23639 * math/math.h (FP_NAN): Define macro to integer constant usable in
23640 #if and use that to give value to enum constant.
23641 (FP_INFINITE): Likewise.
23642 (FP_ZERO): Likewise.
23643 (FP_SUBNORMAL): Likewise.
23644 (FP_NORMAL): Likewise.
23645
b5dcacb4
AS
236462012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23647
23648 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23649 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23650 arguments.
23651
f7934be8
RM
236522012-11-02 Roland McGrath <roland@hack.frob.com>
23653
23654 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23655 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23656 autoconf-time if not.
23657 * configure.in: Remove AC_PREREQ.
23658
d7d08bde
TMQMF
236592012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23660
23661 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23662 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23663 of the internal implementation.
23664
dcdae19a
JM
236652012-11-02 Joseph Myers <joseph@codesourcery.com>
23666
23667 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23668 except include of <misc/sys/syslog.h>.
23669
d6cffd3e
AS
236702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23671
23672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23673 function returns with a NULL context exit with zero.
23674
b3563932
TMQMF
236752012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23676
23677 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23678
b288a93d
L
236792012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23680
23681 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23682 (run_program_cmd): This.
23683 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23684 (tst_langinfo): New variable. Use it.
23685
a2421a68
SAS
236862012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23687
23688 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23689 floating point opcodes.
23690
6f796e1b
TS
236912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23692
7402596b
TS
23693 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23694 variable.
23695
d0d4f868
TS
23696 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23697
6f796e1b
TS
23698 * sysdeps/mach/hurd/powerpc: Remove directory.
23699 * sysdeps/mach/powerpc: Likewise.
23700
4da224a2
AS
237012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23702
23703 * scripts/check-local-headers.sh: Ignore c++ headers.
23704
341dd673
TS
237052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23706
23707 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23708 __libc_cleanup_region_start argument.
23709
473611b2
JM
237102012-11-01 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #14784]
23713 [BZ #14785]
23714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23715 x * y using scaling, not as x * y + z.
23716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23718 * math/libm-test.inc (fma_test): Add more tests.
23719 (fma_test_towardzero): Likewise.
23720 (fma_test_downward): Likewise.
23721 (fma_test_upward): Likewise.
23722
4078da3d
TS
237232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23724
23725 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23726
903252aa
JM
237272012-10-31 Joseph Myers <joseph@codesourcery.com>
23728
23729 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23730 New variable.
23731
cbc818d0
TS
237322012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23733
23734 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23735
5a03cb1e
AS
237362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23737
23738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23739 Fix sort order.
23740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23741 Likewise.
23742
90aff2ff
TMQMF
237432012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23744
23745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23746 Fix the order of the list for glibc 2.17.
23747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23748 Likewise.
23749
1818fcb7
AS
237502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23751
23752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23753
ef82f4da
JM
237542012-10-31 Joseph Myers <joseph@codesourcery.com>
23755
16a0e2ec
JM
23756 [BZ #14610]
23757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23758 for low part of x being zero before using __atanl (y).
23759 * math/libm-test.inc (atan2_test): Add another test.
23760
0eb69512
JM
23761 * manual/install.texi (Configuring and compiling): Document
23762 general use of test-wrapper and test-wrapper-env.
23763 * INSTALL: Regenerated.
23764
ef82f4da
JM
23765 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23766 (__fma): Do not extract and scale down low bits on after-rounding
23767 systems when result rounded to normal precision would have normal
23768 exponent.
23769 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23770 (__fmal): Do not extract and scale down low bits on after-rounding
23771 systems when result rounded to normal precision would have normal
23772 exponent.
23773 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23774 (__fmal): Do not extract and scale down low bits on after-rounding
23775 systems when result rounded to normal precision would have normal
23776 exponent.
23777 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23778 macro.
23779 (fma_test): Add more tests.
23780 (fma_test_towardzero): Likewise.
23781 (fma_test_downward): Likewise.
23782 (fma_test_upward): Likewise.
23783
954ef0d9
L
237842012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * sysdeps/i386/tininess.h: Renamed to ...
23787 * sysdeps/x86/tininess.h: This.
23788 * sysdeps/x86_64/tininess.h: Removed.
23789
df61ffb2
JM
237902012-10-30 Joseph Myers <joseph@codesourcery.com>
23791
23792 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23793 input. Use $(build-program-cmd).
23794 ($(objpfx)tst-array1-static.out): Likewise.
23795 ($(objpfx)tst-array2.out): Likewise.
23796 ($(objpfx)tst-array3.out): Likewise.
23797 ($(objpfx)tst-array4.out): Likewise.
23798 ($(objpfx)tst-array5.out): Likewise.
23799 ($(objpfx)tst-array5-static.out): Likewise.
23800
01767843
CM
238012012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23802
47cc1490
CM
23803 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23804 if defined.
23805
01767843
CM
23806 * nss/nsswitch.h (nss_interface_function): Provide new
23807 macro for use with NSS functions.
23808 * grp/initgroups.c: Use new macro.
23809 * nss/getXXbyYY.c: Likewise.
23810 * nss/getXXbyYY_r.c: Likewise.
23811 * nss/getXXent.c: Likewise.
23812 * nss/getXXent_r.c: Likewise.
23813 * sysdeps/posix/getaddrinfo.c: Likewise.
23814
8321aa97
AJ
238152012-10-30 Andreas Jaeger <aj@suse.de>
23816
23817 * po/ru.po: Update Russion translation from translation project.
23818
2a27fd6d
JM
238192012-10-30 Joseph Myers <joseph@codesourcery.com>
23820
8627a232
JM
23821 [BZ #14152]
23822 [BZ #14783]
23823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23824 result and shift together with sticky bit instead of replicating
23825 round-to-nearest rounding.
23826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23828 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23829 missing underflow exceptions.
23830 (fma_test_towardzero): Add more tests.
23831 (fma_test_downward): Likewise.
23832 (fma_test_upward): Likewise.
23833
2a27fd6d
JM
23834 [BZ #14047]
23835 * sysdeps/generic/tininess.h: New file.
23836 * sysdeps/i386/tininess.h: Likewise.
23837 * sysdeps/sh/tininess.h: Likewise.
23838 * sysdeps/x86_64/tininess.h: Likewise.
23839 * stdlib/tst-strtod-underflow.c: Likewise.
23840 * stdlib/tst-tininess.c: Likewise.
23841 * stdlib/strtod_l.c: Include <tininess.h>.
23842 (round_and_return): Do not set errno for exact underflow cases.
23843 Force an underflow exception when setting errno for underflow.
23844 Determine underflow based on rounding to normal precision if
23845 TININESS_AFTER_ROUNDING.
23846 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23847 ERANGE for exact underflow cases.
23848 * stdlib/Makefile (tests): Add tst-tininess and
23849 tst-strtod-underflow.
23850 ($(objpfx)tst-tininess): Use $(link-libm).
23851 ($(objpfx)tst-strtod-underflow): Likewise.
23852
e7170363
AJ
238532012-10-30 Andreas Jaeger <aj@suse.de>
23854
e5088dc6
AJ
23855 [BZ#14767]
23856 * elf/Makefile (tests): Remove conditional for have-initfini-array
23857 since this is now always required and the variable does not exist
23858 anymore.
23859 (tests-static): Likewise.
23860 (modules-names): Likewise.
23861
e7170363 23862 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23863
23864 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23865 merged with constructor/destructor.
23866 (init_array): Likewise.
23867 * elf/tst-array2dep.c (fini_array): Likewise.
23868 (init_array): Likewise.
23869
60457d8a
MF
238702012-10-29 Mike Frysinger <vapier@gentoo.org>
23871
23872 * manual/message.texi: Delete @cartouche tags.
23873
8bece752
PT
238742012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23875
94ce799f
PT
23876 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23877 EOPNOTSUPP.
23878 * sysdeps/mach/hurd/fsync.c: Likewise.
23879
8bece752
PT
23880 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23881 [_POSIX_REALTIME_SIGNALS]: Change condition to
23882 [_POSIX_REALTIME_SIGNALS > 0].
23883
86ebe6b1
AJ
238842012-10-27 Andreas Jaeger <aj@suse.de>
23885
23886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23887 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23889 [__WORDSIZE != 64]: Likewise.
23890
54399c08
L
238912012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23892
23893 * iconvdata/tst-table.sh: Remove ${SHELL}.
23894 * iconvdata/tst-tables.sh: Likewise.
23895
e2211bed
DM
238962012-10-25 David S. Miller <davem@davemloft.net>
23897
23898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23899 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23900 of strtoull.
23901
f303f97c
DM
23902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23903 ifunc-impl-list.c
23904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23905 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23906 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23907 file.
23908
1e9d84cd
RM
239092012-10-25 Roland McGrath <roland@hack.frob.com>
23910
23911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23912 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23913 __getdirentries.
23914
df381762
JM
239152012-10-25 Joseph Myers <joseph@codesourcery.com>
23916 Jim Blandy <jimb@codesourcery.com>
23917
23918 * scripts/cross-test-ssh.sh: New file.
23919 * manual/install.texi (Configuring and compiling): Document use of
23920 cross-test-ssh.sh.
23921 * INSTALL: Regenerated.
23922
bff64913
PT
239232012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23924
23925 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23926 EOPNOTSUPP.
23927
25fe8932
JM
239282012-10-25 Joseph Myers <joseph@codesourcery.com>
23929
23930 * Makeconfig (run-program-prefix): Fix comment.
23931
cc1290d0
JM
239322012-10-24 Joseph Myers <joseph@codesourcery.com>
23933 Jim Blandy <jimb@codesourcery.com>
23934
23935 * Makeconfig (test-wrapper): New variable,
23936 (test-wrapper-env): Likewise.
23937 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23938 (run-built-tests): Define to yes.
23939 (run-program-prefix): Use $(test-wrapper).
23940 (built-program-cmd): Likewise.
23941 * Rules (make-test-out): Use $(test-wrapper-env) and
23942 $(host-built-program-cmd).
23943 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23944 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23945 tst-pathopt.sh.
23946 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23947 $(test-wrapper-env) to tst-rtld-load-self.sh.
23948 ($(objpfx)order2.out): Use $(test-wrapper).
23949 ($(objpfx)tst-initorder.out): Likewise.
23950 ($(objpfx)tst-initorder2.out): Likewise.
23951 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23952 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23953 (test_wrapper_env): New variable. Use it to run ld.so.
23954 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23955 Use it to run ld.so.
23956 (test_wrapper_env): Likewise.
23957 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23958 $(test-wrapper) to run-iconv-test.sh.
23959 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23960 (ICONV): Use $test_wrapper.
23961 * posix/Makefile ($(objpfx)globtest.out): Pass
23962 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23963 globtest.sh, not $(run-program-prefix).
23964 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23965 (test_wrapper): Likewise.
23966 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23967 set together with run_via_rtld_prefix.
23968 (run_program_prefix): Define in terms of test_wrapper and
23969 run_via_rtld_prefix.
23970
6e6249d0
RM
239712012-10-24 Roland McGrath <roland@hack.frob.com>
23972
23973 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23974 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23975 Targets removed.
23976
23977 [BZ #14743]
23978 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23979 Declare __clock_getres, __clock_gettime, __clock_settime,
23980 __clock_nanosleep, and __clock_getcpuclockid.
23981 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23982 Remove librt_hidden_def (clock_gettime).
23983 * sysdeps/unix/clock_gettime.c: Likewise.
23984 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23986 * rt/clock_getres.c: Define __clock_getres as an alias.
23987 * sysdeps/posix/clock_getres.c: Likewise.
23988 * rt/clock_settime.c: Define __clock_settime as an alias.
23989 * sysdeps/unix/clock_settime.c: Likewise.
23990 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23991 * sysdeps/unix/clock_nanosleep.c: Likewise.
23992 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23993 * rt/clock-compat.c: New file.
23994 * rt/Makefile (librt-routines): Add clock-compat and move
23995 $(clock-routines) to ...
23996 (routines): ... here, new variable.
23997 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23998 Don't add get_clockfreq here.
23999 * rt/Versions (libc: GLIBC_2.17): New version set.
24000 Add clock_* symbols here.
24001 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24003 (GLIBC_2.17): Add clock_* symbols.
24004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24008 Likewise.
24009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24010 Likewise.
24011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24015 * NEWS: Mention the move.
24016
24017 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24018 Use __open, __read, __close rather than their public counterparts.
24019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24020 (__get_clockfreq_via_cpuinfo): Likewise.
24021 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24022 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24023
24024 * config.h.in (HAVE_IFUNC): New #undef.
24025 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24026 was successful.
24027 * configure: Regenerated.
24028
0cae3f4b
MF
240292012-10-24 Mike Frysinger <vapier@gentoo.org>
24030
24031 * configure.in: Move READELF check to start of file.
24032 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24033 libc_cv_asm_gnu_indirect_function in the process.
24034 * configure: Regenerated.
24035
8175a253
MF
240362012-10-24 Mike Frysinger <vapier@gentoo.org>
24037
24038 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24039 send the output to /dev/null.
24040 (libc_cv_cc_with_libunwind): Likewise.
24041 (libc_cv_as_noexecstack): Likewise.
24042 * configure: Regenerate.
24043
0708a7d1
JM
240442012-10-24 Joseph Myers <joseph@codesourcery.com>
24045
10b40d85
JM
24046 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24047
0708a7d1
JM
24048 * posix/globtest.sh (TMPDIR): Do not set.
24049 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24050 (testout): Likewise.
24051
9fddec1a
AJ
240522012-10-24 Andreas Jaeger <aj@suse.de>
24053
3a8db22f
AJ
24054 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24055 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24056 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24057 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24058 posix_fadvise64, posix_fallocate64.
24059
9fddec1a
AJ
24060 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24061 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24062 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24063 Likewise.
24064 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24065 Likewise.
24066 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24067
24068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24069 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24070 <bits/fcntl-linux.h>.
24071 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24072
24073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24074 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24075 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24076 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24077 [__WORDSIZE != 64]: Likewise.
24078
ebfd1bbd
JM
240792012-10-23 Joseph Myers <joseph@codesourcery.com>
24080
03ac099f
JM
24081 * Makeconfig (run-built-tests): New variable.
24082 * Rules [$(cross-compiling) = yes]: Change condition to
24083 [$(run-built-tests) = no].
24084 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24085 to [$(run-built-tests) = yes].
24086 * elf/Makefile [$(cross-compiling) = no]: Likewise
24087 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24088 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24089 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24090 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24091 * io/Makefile [$(cross-compiling) = no]: Likewise.
24092 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24093 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24094 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24095 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24096 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24097 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24098 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24099 * string/Makefile [$(cross-compiling) = no]: Likewise.
24100
ebfd1bbd
JM
24101 * posix/Makefile ($(objpfx)globtest.out): Pass
24102 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24103 $(rtld-installed-name).
24104 * posix/globtest.sh (elf_objpfx): Remove variable.
24105 (rtld_installed_name): Likewise.
24106 (library_path): Likewise.
24107 (run_program_prefix): New variable. Use for running globtest
24108 binary.
24109
166bca24
JB
241102012-10-23 Jim Blandy <jimb@codesourcery.com>
24111 Joseph Myers <joseph@codesourcery.com>
24112
24113 * Makeconfig (host-built-program-cmd): New variable.
24114 * elf/Makefile (tst-stackguard1-ARGS): Use
24115 $(host-built-program-cmd).
24116 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24117 (tst-spawn-ARGS): Likewise.
24118 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24119
88866099
JM
241202012-10-23 Joseph Myers <joseph@codesourcery.com>
24121 Jim Blandy <jimb@codesourcery.com>
24122
24123 * Makeconfig (run-via-rtld-prefix): New variable.
24124 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24125 (built-program-cmd): Likewise.
24126
b4b4c296
AJ
241272012-10-22 Andreas Jaeger <aj@suse.de>
24128
24129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24130 __O_RSYNC if it exists, otherwise to O_SYNC.
24131
6fb54a22
JB
241322012-10-22 Jim Blandy <jimb@codesourcery.com>
24133 Joseph Myers <joseph@codesourcery.com>
24134
24135 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24136 /dev/null.
24137 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24138 from /dev/null
24139 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24140 /dev/null.
24141
481b90b9
AJ
241422012-10-22 Andreas Jaeger <aj@suse.de>
24143
2a0e2669
AJ
24144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24145 Define always.
24146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24147
76e38f9a
AJ
24148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24149 bits/fcntl-linux.h.
24150
7cd37b43
AJ
24151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24152 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24153
481b90b9
AJ
24154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24155 to __O_LARGEFILE.
24156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24157 to __O_LARGEFILE.
24158
aba75984
JB
241592012-10-21 Jim Blandy <jimb@codesourcery.com>
24160 Joseph Myers <joseph@codesourcery.com>
24161
24162 * config.make.in (NM): New variable.
24163
88d4247f
AJ
241642012-10-21 Andreas Jaeger <aj@suse.de>
24165
24166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24167 definitions and declarations that are provided by
24168 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24169
f2eed205
L
241702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24171
24172 [BZ #14683]
24173 * elf/Makefile (tests-static): Add tst-leaks1-static.
24174 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24175 ($(objpfx)tst-leaks1-static): New rule.
24176 ($(objpfx)tst-leaks1-static-mem): Likewise.
24177 (tst-leaks1-static-ENV): New macro.
24178 * elf/dl-open.c (dl_open_worker): Check the main application
24179 only if SHARED is defined.
24180 * elf/tst-leaks1-static.c: New file.
24181
335e6931
AJ
241822012-10-20 Andreas Jaeger <aj@suse.de>
24183
24184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24185 generic values for Linux.
24186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24187 and declarations that are provided by <bits/fcntl-linux.h> and
24188 include <bits/fcntl-linux.h>.
24189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24191
ac5c94d3
RM
241922012-10-20 Roland McGrath <roland@hack.frob.com>
24193
24194 * io/fcntl.h: Move include of <bits/types.h> to the top and
24195 include it unconditionally.
24196
de54b33a
L
241972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24198
228cfb01
L
24199 * wcsmbs/Makefile (tests-ifunc): New variable.
24200 (tests): Add $(tests-ifunc).
24201 * wcsmbs/test-wcschr-ifunc.c: New file.
24202 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24203 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24204 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24205 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24206 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24207
69f07e5f
L
24208 * string/Makefile (tests-ifunc): New variable.
24209 (tests): Add $(tests-ifunc).
24210 * string/test-memccpy.c (TEST_NAME): New macro.
24211 * string/test-memchr.c (TEST_NAME): Likewise.
24212 * string/test-memcmp.c (TEST_NAME): Likewise.
24213 * string/test-memcpy.c (TEST_NAME): Likewise.
24214 * string/test-memmem.c (TEST_NAME): Likewise.
24215 * string/test-memmove.c (TEST_NAME): Likewise.
24216 * string/test-memset.c (TEST_NAME): Likewise.
24217 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24218 * string/test-stpcpy.c (TEST_NAME): Likewise.
24219 * string/test-stpncpy.c (TEST_NAME): Likewise.
24220 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24221 * string/test-strcasestr.c (TEST_NAME): Likewise.
24222 * string/test-strcat.c (TEST_NAME): Likewise.
24223 * string/test-strchr.c (TEST_NAME): Likewise.
24224 * string/test-strcmp.c(TEST_NAME): Likewise.
24225 * string/test-strcpy.c (TEST_NAME): Likewise.
24226 * string/test-strcspn.c (TEST_NAME): Likewise.
24227 * string/test-strlen.c (TEST_NAME): Likewise.
24228 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24229 * string/test-strncmp.c (TEST_NAME): Likewise.
24230 * string/test-strncpy.c (TEST_NAME): Likewise.
24231 * string/test-strnlen.c (TEST_NAME): Likewise.
24232 * string/test-strpbrk.c (TEST_NAME): Likewise.
24233 * string/test-strrchr.c (TEST_NAME): Likewise.
24234 * string/test-strspn.c (TEST_NAME): Likewise.
24235 * string/test-strstr.c (TEST_NAME): Likewise.
24236 * string/test-bcopy-ifunc.c: New file.
24237 * string/test-bzero-ifunc.c: Likewise.
24238 * string/test-memccpy-ifunc.c: Likewise.
24239 * string/test-memchr-ifunc.c: Likewise.
24240 * string/test-memcmp-ifunc.c: Likewise.
24241 * string/test-memcpy-ifunc.c: Likewise.
24242 * string/test-memmem-ifunc.c: Likewise.
24243 * string/test-memmove-ifunc.c: Likewise.
24244 * string/test-mempcpy-ifunc.c: Likewise.
24245 * string/test-memset-ifunc.c: Likewise.
24246 * string/test-rawmemchr-ifunc.c: Likewise.
24247 * string/test-stpcpy-ifunc.c: Likewise.
24248 * string/test-stpncpy-ifunc.c: Likewise.
24249 * string/test-strcasecmp-ifunc.c: Likewise.
24250 * string/test-strcasestr-ifunc.c: Likewise.
24251 * string/test-strcat-ifunc.c: Likewise.
24252 * string/test-strchr-ifunc.c: Likewise.
24253 * string/test-strchrnul-ifunc.c: Likewise.
24254 * string/test-strcmp-ifunc.c: Likewise.
24255 * string/test-strcpy-ifunc.c: Likewise.
24256 * string/test-strcspn-ifunc.c: Likewise.
24257 * string/test-strlen-ifunc.c: Likewise.
24258 * string/test-strncasecmp-ifunc.c: Likewise.
24259 * string/test-strncat-ifunc.c: Likewise.
24260 * string/test-strncmp-ifunc.c: Likewise.
24261 * string/test-strncpy-ifunc.c: Likewise.
24262 * string/test-strnlen-ifunc.c: Likewise.
24263 * string/test-strpbrk-ifunc.c: Likewise.
24264 * string/test-strrchr-ifunc.c: Likewise.
24265 * string/test-strspn-ifunc.c: Likewise.
24266 * string/test-strstr-ifunc.c: Likewise.
24267
de54b33a
L
24268 * debug/Makefile (tests-ifunc): New variable.
24269 (tests): Add $(tests-ifunc).
24270 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24271 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24272 * debug/test-stpcpy_chk-ifunc.c: New file.
24273 * debug/test-strcpy_chk-ifunc.c: Likewise.
24274
88481c16
SP
242752012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24276
24277 [BZ #13601]
24278 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24279 header is not read in.
24280
135948bd
JM
242812012-10-19 Joseph Myers <joseph@codesourcery.com>
24282
89f1c388
JM
24283 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24284 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24285 directly. Pass built executable to script as
24286 $(built-program-cmd).
24287 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24288 $testprogram without using LD_LIBRARY_PATH and $ldso.
24289
e40a0d21
JM
24290 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24291 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24292 $(rtld-installed-name).
24293 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24294 (rtld_installed_name): Likewise.
24295 (library_path): Likewise.
24296 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24297 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24298 $(run-program-prefix) to tst-tables.sh.
24299 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24300 it to run tst-table-from and tst-table-to.
24301 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24302 Pass it to tst-table.sh.
24303 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24304 $(run-program-prefix) to tst-gettext.sh.
24305 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24306 tst-translit.sh.
24307 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24308 tst-gettext2.sh.
24309 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24310 to run tst-gettext.
24311 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24312 to run tst-gettext2.
24313 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24314 to run tst-translit.
24315 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24316 $(run-program-prefix) to tst-mtrace.sh.
24317 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24318 to run tst-mtrace.
24319 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24320 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24321 $(rtld-installed-name).
24322 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24323 (rtld_installed_name): Likewise.
24324 (run_program_prefix): New variable. Use it to run wordexp-test.
24325
728e272a
JM
24326 * Makeconfig (ARCH): Remove all definitions.
24327 (machine): Likewise.
24328 [ARCH]: Remove conditional code.
24329 [!objdir]: Give error.
24330 [!objdir] (objpfx): Remove.
24331 [!objdir] (common-objpfx): Likewise.
24332 [!objdir] (common-objdir): Likewise.
24333 * configure.in (config_makefile): Remove. Hardcode Makefile in
24334 AC_CONFIG_FILES call.
24335 * configure: Regenerated.
24336
d528cdcf
JM
24337 [BZ #13888]
24338 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24339 or TMPDIR.
24340 (testout): Likewise.
24341
135948bd
JM
24342 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24343 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24344 $(rtld-installed-name).
24345 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24346 (rtld_installed_name): Likwise.
24347 (runit): Remove function.
24348 (run_getconf): New variable, Use it for running getconf binary.
24349
38c78296
L
243502012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 [BZ #14716]
24353 * string/test-memmem.c (check_result): New function.
24354 (do_one_test): Use it.
24355 (check1): New function.
24356 (test_main): Use it.
24357
d077f65f
MT
243582012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24359
24360 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24361
ced52c71
JM
243622012-10-18 Joseph Myers <joseph@codesourcery.com>
24363
24364 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24365 (_G_LSEEK64): Likewise.
24366 (_G_MMAP64): Likewise.
24367 (_G_FSTAT64): Likewise.
24368 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24369 (_G_LSEEK64): Likewise.
24370 (_G_MMAP64): Likewise.
24371 (_G_FSTAT64): Likewise.
24372 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24373 unconditional. Call __mmap64 directly.
24374 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24375 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24376 __lseek64 directly.
24377 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24378 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24379 __mmap64 directly.
24380 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24381 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24382 __lseek64 directly.
24383 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24384 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24385 __lseek64 directly.
24386 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24387 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24388 __lseek64 directly.
24389 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24390 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24391 __fxstat64 directly.
24392 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24393 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24394 unconditional.
24395 (freopen64) [!_G_OPEN64]: Remove conditional code.
24396 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24397 unconditional.
24398 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24399 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24400 unconditional.
24401 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24402 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24403 unconditional.
24404 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24405 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24406 unconditional.
24407 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24408 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24409 unconditional.
24410 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24411 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24412 unconditional.
24413 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24414 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24415 unconditional.
24416 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24417
b741de23
SP
244182012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24419
24420 [BZ #12140]
24421 * manual/memory.texi (Malloc Tunable Parameters): Add note
24422 about free list pointers overwriting some perturb bytes.
24423 Wording suggested by Roland McGrath.
24424
f9b9d9c9
JM
244252012-10-17 Joseph Myers <joseph@codesourcery.com>
24426
24427 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24428 (lgamma_test): Likewise.
24429 (tgamma_test): Likewise.
24430
172a631a
FW
244312012-10-16 Florian Weimer <fweimer@redhat.com>
24432
24433 [BZ #14700]
24434 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24435 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24436
e9f37252
MK
244372012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24438
24439 * NEWS: Mention BZ #14716.
24440 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24441 when removing AVAILABLE1_USES_J macro.
24442
d394eb74
L
244432012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24446 (__bswap_64): __uint64_t for unsigned 64-bit int.
24447
ca38dc17
AS
244482012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24449
24450 * include/string.h (memmem): Declare libc hidden alias.
24451 * string/memmem.c (memmem): Define libc hidden alias.
24452 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24453 __read, __close instead of open, read, close.
24454
9a387d1f
L
244552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24456
ac49ecaf
L
24457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24458 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24459 global and hidden.
24460 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24461 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24462 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24463 Likewise.
24464 (__rawmemchr_sse2): Likewise.
24465 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24466 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24467 (__strchr_sse2): Likewise.
24468 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24469 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24470 (__strcasecmp_sse2): Likewise.
24471 (__strncasecmp_sse2): Likewise.
24472 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24473 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24474 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24475 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24476 (__strrchr_sse2): Likewise.
24477 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24478 ifunc-impl-list.c.
24479 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24480 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24481 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24482 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24483 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24484 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24485 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24486 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24487 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24488 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24489 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24490 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24491 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24492 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24493 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24494 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24495 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24496 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24497 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24498 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24499 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24500 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24501 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24502 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24503 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24505 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24506 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24507 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24508 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24509
b090e8ea
L
24510 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24511 global and hidden.
24512 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24513 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24514 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24515 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24516 Likewise.
24517 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24518 Likewise.
24519 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24520 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24521 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24522 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24523 ifunc-impl-list.c.
24524 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24525 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24526 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24527 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24528 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24529 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24530 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24531 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24532 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24533 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24534 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24535 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24536 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24537 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24538 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24540 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24541 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24543 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24546 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24547 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24548 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24549 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24551 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24552 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24553 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24557 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24558 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24565
11dd4af6
L
24566 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24567 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24568 * include/ifunc-impl-list.h: New file.
24569 * misc/ifunc-impl-list.c: Likewise.
24570 * misc/Makefile (routines): Add ifunc-impl-list.
24571 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24572 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24573 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24574 TEST_NAME]: New variables.
11dd4af6
L
24575 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24576 are defined.
24577 (test_init): Call __libc_ifunc_impl_list to initialize
24578 func_list if TEST_IFUNC and TEST_NAME are defined.
24579
9a387d1f
L
24580 * string/Makefile (strop-tests): Add bcopy and bzero.
24581 * string/test-bcopy.c: New file.
24582 * string/test-bzero.c: Likewise.
24583 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24584 defined.
24585 * string/test-memset.c: Support bzero test if TEST_BZERO is
24586 defined.
24587 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24588 __libc_memmove.
24589 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24590 __libc_memset.
24591 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24592 of memset.
24593
472371b9
JM
245942012-10-10 Joseph Myers <joseph@codesourcery.com>
24595
1e4a9536
JM
24596 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24597 * configure: Regenerated.
24598
d173d12e
JM
24599 * Makeconfig (+link-static-before-libc): Don't include
24600 $(link-static-libc).
24601
472371b9
JM
24602 * libio/libio.h (_IO_pos_t): Remove.
24603
89a3ad0b
AO
246042012-10-10 Alexandre Oliva <aoliva@redhat.com>
24605
24606 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24607 McGrath.
24608
e7451425
AO
246092012-10-10 Alexandre Oliva <aoliva@redhat.com>
24610
24611 * crypt/crypt-entry.c: Include fips-private.h.
24612 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24613 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24614 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24615 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24616
4ba74a35
AO
246172012-10-10 Alexandre Oliva <aoliva@redhat.com>
24618
24619 * crypt/crypt-private.h: Include stdbool.h.
24620 (_ufc_setup_salt_r): Return bool.
24621 * crypt/crypt-entry.c: Include errno.h.
24622 (__crypt_r): Return NULL with EINVAL for bad salt.
24623 * crypt/crypt_util.c (bad_for_salt): New.
24624 (_ufc_setup_salt_r): Check that salt is long enough and within
24625 the specified alphabet.
24626 * crypt/badsalttest.c: New file.
24627 * crypt/Makefile (tests): Add it.
24628 ($(objpfx)badsalttest): New.
24629
f96f1242
MK
246302012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24631
24632 * NEWS: Add entry for BZ #14602.
24633
0e8e0c1c
JM
246342012-10-09 Joseph Myers <joseph@codesourcery.com>
24635
24636 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24637 type-generic.
24638 * math/libm-test.inc: Update comment listing what functions and
24639 macros are tested.
24640 (isgreater_test): New function.
24641 (isgreaterequal_test): Likewise.
24642 (isless_test): Likewise.
24643 (islessequal_test): Likewise.
24644 (islessgreater_test): Likewise.
24645 (isunordered_test): Likewise.
24646 (main): Call the new functions.
24647
273edc5e
RM
246482012-10-09 Roland McGrath <roland@hack.frob.com>
24649
b8493de0
RM
24650 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24651 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24652 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24653 * sysdeps/i386/configure: Regenerated.
24654 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24655 * sysdeps/mach/configure: Regenerated.
24656 * sysdeps/mach/hurd/configure: Regenerated.
24657 * sysdeps/powerpc/configure: Regenerated.
24658 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24659 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24660 * sysdeps/s390/s390-32/configure: Regenerated.
24661 * sysdeps/s390/s390-64/configure: Regenerated.
24662 * sysdeps/sh/configure: Regenerated.
24663 * sysdeps/sparc/configure: Regenerated.
24664 * sysdeps/unix/sysv/linux/configure: Regenerated.
24665 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24666 * sysdeps/x86_64/configure: Regenerated.
24667
273edc5e
RM
24668 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24669 defined. Don't check if MAP is NULL.
24670
c8450f70
JM
246712012-10-09 Joseph Myers <joseph@codesourcery.com>
24672
24673 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24674 (_G_stat64): Likewise.
24675 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24676 (_G_stat64): Likewise.
24677 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24678 instead of struct _G_stat64.
24679 * libio/fileops.c (mmap_remap_check): Likewise.
24680 (decide_maybe_mmap): Likewise.
24681 (_IO_new_file_seekoff): Likewise.
24682 (_IO_file_stat): Likewise.
24683 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24684 _G_off64_t.
24685 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24686 instead of struct _G_stat64.
24687 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24688
57e605ba
MK
246892012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24690
24691 [BZ #14602]
24692 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24693 Replace with ...
24694 (CHECK_EOL): New macro.
24695 (two_way_short_needle): Check beginning of haystack for EOL. Use
24696 CHECK_EOL.
24697 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24698 Replace with CHECK_EOL.
24699 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24700 Replace with CHECK_EOL.
24701
ef1bb361
JM
247022012-10-08 Joseph Myers <joseph@codesourcery.com>
24703
24704 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24705 type-generic.
24706 * math/libm-test.inc: Update comment listing what functions and
24707 macros are tested.
24708 (finite_test): New function.
24709 (isinf_test): Likewise.
24710 (isnan_test): Likewise.
24711 (fpclassify_test): Test subnormal input.
24712 (isfinite_test): Likewise.
24713 (isnormal_test): Likewise.
24714 (main): Call the new functions.
24715
55f11534
JN
247162012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24717
24718 [BZ #14660]
24719 * Makerules (%.dynsym): Force C locale when running
24720 $(OBJDUMP) --dynamic-syms.
24721
1ab29350
AS
247222012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24723
24724 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24725 <stdint.h>.
24726
f1ecb7ef
DM
247272012-10-06 David S. Miller <davem@davemloft.net>
24728
24729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24730 upper 32-bits of the length value in %o2 since we use branch-on-register
24731 tests which consider the entire 64-bit register.
24732
5d41d91a
L
247332012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24734
24735 * string/test-strstr.c (check2): Add a test for page boundary.
24736
3baddb72
DM
247372012-10-05 David S. Miller <davem@davemloft.net>
24738
24739 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24741 file.
24742 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24743 sysdep_routines.
24744 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24745 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24746 and bzero when HWCAP_SPARC_CRYPTO is present.
24747
9cee5585
L
247482012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24749
d7e0dab9
L
24750 [BZ #14602]
24751 * string/test-strstr.c (check2): New function.
24752 (test_main): Call check2.
24753
03759f47
L
24754 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24755 and bug-strchr1.
24756 * string/bug-strcasestr1.c (do_test): Moved to ...
24757 * string/test-strcasestr.c (check1): Here. New function.
24758 (do_one_test): Break out result checking code into ...
24759 (check_result): This. New function.
24760 (do_one_test): Call check_result.
24761 (test_main): Call check1.
24762 * string/bug-strchr1.c (do_test): Moved to ...
24763 * string/test-strchr.c (check1): Here. New function.
24764 (do_one_test): Break out result checking code into ...
24765 (check_result): This. New function.
24766 (do_one_test): Call check_result.
24767 (test_main): Call check1.
24768 * string/bug-strstr1.c (main): Moved to ...
046f153e 24769 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24770 (do_one_test): Break out result checking code into ...
24771 (check_result): This. New function.
24772 (do_one_test): Call check_result.
24773 (test_main): Call check1.
24774 * string/bug-strcasestr1.c: Removed.
24775 * string/bug-strchr1.c: Likewise.
24776 * string/bug-strstr1.c: Likewise.
24777
53cea63e
L
24778 * elf/Makefile (dl-routines): Add hwcaps.
24779 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24780 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24781 (_dl_important_hwcaps): Moved to ...
24782 * elf/dl-hwcaps.c: Here. New file.
24783 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24784
9cee5585 24785 [BZ #14557]
bb859b06
L
24786 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24787 if IS_IN_rtld isn't defined.
24788
9cee5585
L
24789 * elf/dl-support.c (_dl_sysinfo_map): New.
24790 Include "get-dynamic-info.h" and "setup-vdso.h".
24791 (_dl_non_dynamic_init): Call setup_vdso.
24792 * elf/dynamic-link.h: Don't include <assert.h>.
24793 (elf_get_dynamic_info): Moved to ...
24794 * elf/get-dynamic-info.h: Here. New file.
24795 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24796 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24797 * elf/setup-vdso.h: Here. New file.
24798 * elf/rtld.c: Include "setup-vdso.h".
24799 (dl_main): Call setup_vdso.
24800
23c31b76
JM
248012012-10-05 Joseph Myers <joseph@codesourcery.com>
24802
28234b07
JM
24803 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24804 creal in comment listing functions tested. List finite, isinf,
24805 isnan, isless, islessequal, isgreater, isgreaterequal,
24806 islessgreater, isunordered, lgamma_r and pow10 as functions and
24807 macros not tested. Mention which functions not tested are aliases
24808 for other functions. Fix typo. Note that signs of NaNs are not
24809 tested.
24810
23c31b76
JM
24811 * scripts/config.guess: Update from config.git.
24812 * scripts/config.sub: Likewise.
24813
9043e228
RM
248142012-10-04 Roland McGrath <roland@hack.frob.com>
24815
24816 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24817 * misc/madvise.c (madvise): Renamed to __madvise.
24818 Make madvise a weak alias.
24819 * include/sys/mman.h: Declare __madvise.
24820 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24821 * sysdeps/unix/syscalls.list
24822 (madvise): Make __madvise the strong name, and madvise a weak alias.
24823 * sysdeps/unix/sysv/linux/syscalls.list
24824 (madvise, mmap): Remove redundant entries.
24825 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24826 * malloc/malloc.c (mtrim): Likewise.
24827 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24828
f57f8055
RM
248292012-10-03 Roland McGrath <roland@hack.frob.com>
24830
24831 * sysdeps/mach/hurd/dl-cache.c: File removed.
24832 * config.h.in (USE_LDCONFIG): New #undef.
24833 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24834 * configure: Regenerated.
24835 * elf/Makefile (dl-routines): Add dl-cache only under
24836 [$(use-ldconfig) = yes].
24837 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24838 cache on [USE_LDCONFIG].
24839 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24840 [USE_LDCONFIG].
24841 * elf/rtld.c (dl_main): Likewise.
24842
5bb0c10a
PT
248432012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24844
24845 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24846 _SC_LEVEL4_CACHE_LINESIZE.
24847
010188c6
RM
248482012-10-03 Roland McGrath <roland@hack.frob.com>
24849
24850 * sysdeps/unix/bsd/confstr.h: File removed.
24851
b6c5ec07
AO
248522012-10-02 Alexandre Oliva <aoliva@redhat.com>
24853
24854 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24855 sys/sdt-config.h.
24856
408223d4
RM
248572012-10-02 Roland McGrath <roland@hack.frob.com>
24858
24859 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24860 Make 'mapoff' field ElfW(Off) rather than off_t.
24861
bb9510dc
DL
248622012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24863
fc997c6e
DL
24864 * nscd/Makefile: Remove nscd-cflags and all its users.
24865 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24866 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24867
bb9510dc
DL
24868 [BZ #10631]
24869 * malloc.c (malloc_printerr): Clarify error message.
24870
05699367
L
248712012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24872
24873 [BZ #14648]
24874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24875 Set bit_FMA_Usable if FMA is supported.
24876 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24877 macro.
24878 (bit_FMA4_Usable): Updated.
24879 (index_FMA_Usable): New macro.
24880 (CPUID_FMA): Likewise
24881 (HAS_FMA): Defined with bit_FMA_Usable.
24882
51367701
RM
248832012-10-01 Roland McGrath <roland@hack.frob.com>
24884
24885 * bits/types.h (__swblk_t): Type removed.
24886 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24887 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24889 (__SWBLK_T_TYPE): Likewise.
24890 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24891 (__SWBLK_T_TYPE): Likewise.
24892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24893 (__SWBLK_T_TYPE): Likewise.
24894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24895 (__SWBLK_T_TYPE): Likewise.
24896
4d57bf63 248972012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24898 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24899
24900 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24901 (xdr_mapname): Use YPMAXMAP as maxsize.
24902 (xdr_peername): Use YPMAXPEER as maxsize.
24903 (xdr_keydat): Use YPAXRECORD as maxsize.
24904 (xdr_valdat): Use YPMAXRECORD as maxsize.
24905
93c65d43
RM
249062012-10-01 Roland McGrath <roland@hack.frob.com>
24907
497a03d6
RM
24908 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24909
93c65d43
RM
24910 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24911 * csu/init-first.c: ... here.
24912 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24913 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24914 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24915 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24916 * sysdeps/i386/init-first.c: File removed.
24917 * sysdeps/sh/init-first.c: File removed.
24918
bec749fd
JM
249192012-10-01 Joseph Myers <joseph@codesourcery.com>
24920
24921 [BZ #14645]
24922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24923 if x * y might underflow to zero and z is zero.
24924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24926 * math/libm-test.inc (min_subnorm_value): New variable.
24927 (fma_test): Add more tests.
24928 (fma_test_towardzero): Likewise.
24929 (fma_test_downward): Likewise
24930 (fma_test_upward): Likewise.
24931 (initialize): Set min_subnorm_value.
24932
8ec5b013
JM
249332012-09-29 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #14638]
24936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24937 0 + 0.
24938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24939 mode for addition resulting in exact zero.
24940 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24942 exact 0 + 0.
24943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24945 * math/libm-test.inc (fma_test): Add more tests.
24946 (fma_test_towardzero): New function.
24947 (fma_test_downward): Likewise.
24948 (fma_test_upward): Likewise.
24949 (main): Call the new functions.
24950
b1fa802e
DM
249512012-09-28 David S. Miller <davem@davemloft.net>
24952
24953 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24954
d3b9fd9e
RM
249552012-09-28 Roland McGrath <roland@hack.frob.com>
24956
ea4d37b3
RM
24957 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24958 instead of SIGALRM.
24959
ac51c949
RM
24960 * sysdeps/gnu/_G_config.h: Moved to ...
24961 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24962 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24963 * sysdeps/generic/_G_config.h: ... here.
24964
28c195f7
RM
24965 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24966
848917f9
RM
24967 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24968
6bacf05b
RM
24969 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24970 Conditionalize target on [libnss_test1.so-version].
24971
91363dbb
RM
24972 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24973
cc87f7d8
RM
24974 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24975 (elfobjdir): Move out of conditionals.
24976
b1c608fe
RM
24977 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24978 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24979 (__nss_lookup_function): Conditionalize label remove_from_tree on
24980 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24981
1d9a6d96
DM
249822012-09-28 David S. Miller <davem@davemloft.net>
24983
24984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24985 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24986 file.
24987 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24988 sysdep_routines.
24989 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24991 when HWCAP_SPARC_CRYPTO is present.
24992
72581615
PT
249932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24994
24995 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24996
715a900c
JL
249972012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24998
24999 [BZ #6530]
25000 * stdio-common/vfprintf.c (process_string_arg): Revert
25001 2000-07-22 change.
25002
250032011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25004
25005 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25006 for testcase.
25007 * stdio-common/tst-sprintf.c: Include <locale.h>
25008 (main): Test sprintf's handling of incomplete multibyte
25009 characters.
25010
9bac1d86
L
250112012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25012
25013 * elf/dl-runtime.c (VERSYMIDX): Removed.
25014 * elf/dl-version.c (VERSYMIDX): Likewise.
25015 * elf/do-rel.h (VERSYMIDX): Likewise.
25016 (VALIDX): Likewise.
25017 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25018 * elf/rtld.c (VALIDX): Likewise.
25019 (ADDRIDX): Likewise.
9bac1d86
L
25020 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25021 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25022 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25023 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25024 (VALIDX): Likewise.
25025 (ADDRIDX): Likewise.
9bac1d86 25026
b31606c0
PT
250272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25028
25029 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25030
11541177
JL
250312012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25032
25033 [BZ #11438]
25034 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25035 to global scope.
25036 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25037 addresses are in the same scope as 192.0.2/24.
25038 * posix/gai.conf: Document new scope table defaults.
25039
adb26fae
SP
250402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25041
25042 [BZ #5298]
25043 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25044 for ftell. Compute offsets from write pointers instead.
25045 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25046
4573c6b0
SP
250472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25048
25049 [BZ #14543]
25050 * libio/Makefile (tests): New test case tst-fseek.
25051 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25052 combination works in wide mode.
25053 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25054 state when the external buffer state changes.
25055
aa9bbfe6
DM
250562012-09-27 David S. Miller <davem@davemloft.net>
25057
25058 [BZ #14376]
25059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25060 pass reloc->r_addend in as the 'high' argument to
25061 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25062
784421e7
DM
25063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25064
c39bc8b8
PT
250652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25066
25067 * rt/tst-aio2.c: Include <pthread.h>.
25068 * rt/tst-aio3.c: Likewise.
25069
1ccc2399
SE
250702012-09-27 Steve Ellcey <sellcey@mips.com>
25071
25072 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25073
31ed4153
L
250742012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25075
25f5f885
L
25076 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25077 contents on [SHARED].
31ed4153 25078
b7bfe116
MP
250792012-09-26 Marek Polacek <polacek@redhat.com>
25080
25081 [BZ #14530]
25082 [BZ #13741]
25083 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25084 for C++ and GCC <4.3 as well as for non GCC compilers.
25085
43c4edba
MT
250862012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25087
25088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25089
6a1bf82f
RM
250902012-09-25 Roland McGrath <roland@hack.frob.com>
25091
25092 * Makefile.in (all, install): Declare with .PHONY.
25093 Reported by Michael Hope <michael.hope@linaro.org>.
25094
8ad11b9a
TMQMF
250952012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25096
25097 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25098 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25099 system header.
25100 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25101 Likewise.
25102 (sydep_routines): Add the new and the internal functions.
25103 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25106 (GLIBC_2.17): Add the new function.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25108 (GLIBC_2.17): Likewise.
25109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25110 (GLIBC_2.17): Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25112 (GLIBC_2.17): Likewise.
25113 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25114
7e2fca8d
AM
251152012-09-25 Alan Modra <amodra@gmail.com>
25116
25117 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25118 Add release barrier before setting once_control to say
25119 initialisation is done. Add hints on lwarx. Use macro in
25120 place of isync.
25121 (clear_once_control): Add release barrier.
25122
b87c4b24
JM
251232012-09-25 Joseph Myers <joseph@codesourcery.com>
25124
d032e0d2
JM
25125 [BZ #13629]
25126 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25127 specially.
25128 * math/s_clog10.c (__clog10): Likewise.
25129 * math/s_clog10f.c (__clog10f): Likewise.
25130 * math/s_clog10l.c (__clog10l): Likewise.
25131 * math/s_clogf.c (__clogf): Likewise.
25132 * math/s_clogl.c (__clogl): Likewise.
25133 * math/Makefile (libm-calls): Add x2y2m1.
25134 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25135 (__x2y2m1): Likewise.
25136 (__x2y2m1l): Likewise.
25137 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25138 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25141 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25142 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25143 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25144 * sysdeps/i386/fpu/libm-test-ulps: Update.
25145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25146
b87c4b24
JM
25147 [BZ #14621]
25148 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25149 int as type of variable DEPTH.
25150 (glob): Use size_t instead of int as type of variables NEWCOUNT
25151 and OLD_PATHC.
25152
6d3bf199
LD
251532012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25154
22bf5c17
LD
25155 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25156 Add s_sincosf-sse2.
25157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25159 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25160 macros for using routine as __sincosf_ia32.
25161 Use macro for function declaration and weak_alias.
25162 * sysdeps/i386/fpu/libm-test-ulps: Update.
25163
25164 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25166
25167 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25168 subnormal argument.
25169 * math/s_cexpf.c (__cexpf): Likewise.
25170 * math/s_csinf.c (__csinf): Likewise.
25171 * math/s_csinhf.c (__csinhf): Likewise.
25172 * math/s_ctanf.c (__ctanf): Likewise.
25173 * math/s_ctanhf.c (__ctanhf): Likewise.
25174 * math/s_ccosh.c (__ccoshf): Likewise.
25175 * math/s_cexp.c (__cexpl): Likewise.
25176 * math/s_csin.c (__csin): Likewise.
25177 * math/s_csinh.c (__csinh): Likewise.
25178 * math/s_ctan.c (__ctan): Likewise.
25179 * math/s_ctanh.c (ctanh): Likewise.
25180 * math/s_ccoshl.c (__ccoshl): Likewise.
25181 * math/s_cexpl.c (__cexpl): Likewise.
25182 * math/s_csinl.c (__csinl): Likewise.
25183 * math/s_csinhl.c (__csinhl): Likewise.
25184 * math/s_ctanl.c (__ctanl): Likewise.
25185 * math/s_ctanhl.c (__ctanhl): Likewise.
25186
203e5603
JM
251872012-09-25 Joseph Myers <joseph@codesourcery.com>
25188
25189 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25190 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25191 (_IO_off_t): Define to __off_t, not _G_off_t.
25192 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25193 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25194 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25195 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25196 type of __dummy and __dummy2 fields.
25197 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25198 (_G_ssize_t): Likewise.
25199 (_G_off_t): Likewise.
25200 (_G_pid_t): Likewise.
25201 (_G_uid_t): Likewise.
25202 (_G_wchar_t): Likewise.
25203 (_G_wint_t): Likewise.
25204 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25205 (_G_ssize_t): Likewise.
25206 (_G_off_t): Likewise.
25207 (_G_pid_t): Likewise.
25208 (_G_uid_t): Likewise.
25209 (_G_wchar_t): Likewise.
25210 (_G_wint_t): Likewise.
25211 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25212 (_G_ssize_t): Likewise.
25213 (_G_off_t): Likewise.
25214 (_G_pid_t): Likewise.
25215 (_G_uid_t): Likewise.
25216 (_G_wchar_t): Likewise.
25217 (_G_wint_t): Likewise.
25218
9fab36eb
SP
252192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25220
25221 * malloc/arena.c: Include malloc-sysdep.h.
25222 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25223 is sufficient to shrink the heap or an unmap is needed.
25224 * sysdeps/generic/malloc-sysdep.h: New file. Define
25225 new function check_may_shrink_heap.
25226 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25227 new function check_may_shrink_heap.
25228
2b4f00d1
SP
252292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25230
25231 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25232 comments.
25233
9a9028b1
DL
252342012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25235
57c69bef
DL
25236 * catgets/test-gencat.sh: Add "set -e".
25237 * elf/tst-pathopt.sh: Likewise.
25238 * grp/tst_fgetgrent.sh: Likewise.
25239 * iconvdata/run-iconv-test.sh: Likewise.
25240 * intl/tst-gettext.sh: Likewise.
25241 * intl/tst-gettext2.sh: Likewise.
25242 * intl/tst-gettext4.sh: Likewise.
25243 * intl/tst-gettext6.sh: Likewise.
25244 * intl/tst-translit.sh: Likewise.
25245 * io/ftwtest-sh: Likewise.
25246 * libio/test-freopen.sh: Likewise.
25247 * malloc/tst-mtrace.sh: Likewise.
25248 * posix/globtest.sh: Likewise.
25249 * posix/tst-getconf.sh: Likewise.
25250 * posix/wordexp-tst.sh: Likewise.
25251 * stdio-common/tst-printf.sh: Likewise.
25252 * stdio-common/tst-unbputc.sh: Likewise.
25253 * stdlib/tst-fmtmsg.sh: Likewise.
25254 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25255 * catgets/Makefile: Do not specify -e option when running
25256 testsuite shell scripts.
25257 * elf/Makefile: Likewise.
25258 * grp/Makefile: Likewise.
25259 * iconvdata/Makefile: Likewise.
25260 * intl/Makefile: Likewise.
25261 * io/Makefile: Likewise.
25262 * libio/Makefile: Likewise.
25263 * malloc/Makefile: Likewise.
25264 * posix/Makefile: Likewise.
25265 * stdio-common/Makefile: Likewise.
25266 * stdlib/Makefile: Likewise.
25267 * sysdeps/x86_64/Makefile: Likewise.
25268
9a9028b1
DL
25269 * io/ftwtest-sh: Add copyright header.
25270 * posix/globtest.sh: Likewise.
25271 * posix/tst-getconf.sh: Likewise.
25272 * posix/wordexp-tst.sh: Likewise.
25273 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25274
ced6f16e
L
252752012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25276
94b32c39
L
25277 [BZ #13679]
25278 * Makeconfig (+link): Defined as $(+link-static) if
25279 $(build-shared) isn't yes.
25280 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25281 isn't yes.
25282 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25283
189e935b
L
25284 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25285
ced6f16e
L
25286 [BZ #14562]
25287 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25288 new chunk size with MALLOC_ALIGN_MASK.
25289
a9f8e53a
JM
252902012-09-24 Joseph Myers <joseph@codesourcery.com>
25291
25292 [BZ #5044]
25293 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25294 <rounding-mode.h>.
25295 (__printf_fphex): Determine rounding using get_rounding_mode and
25296 round_away.
25297 * stdio-common/tst-printf-round.c (struct hex_test): New
25298 structure.
25299 (hex_tests): New variable.
25300 (test_hex_in_one_mode): New function.
25301 (do_test): Also run tests for hex float output.
25302
43153109
JM
253032012-09-21 Joseph Myers <joseph@codesourcery.com>
25304
25305 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25306 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25307 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25308 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25309 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25310 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25311 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25313
8a26625d
JM
253142012-09-20 Joseph Myers <joseph@codesourcery.com>
25315
25316 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25317 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25318 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25319 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25320
f3fd569c
DL
253212012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25322
25323 [BZ #14579]
25324 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25325 mode only.
25326 * elf/tst-rtld-load-self.sh: New test.
25327 * elf/Makefile: Run it.
25328
63bbedd4
JM
253292012-09-18 Joseph Myers <joseph@codesourcery.com>
25330
25331 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25332 (tst-writev-ENV): Remove.
25333 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25334
626f8b6a
CM
253352012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25336
25337 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25338
b7aaa4d6
JM
253392012-09-17 Joseph Myers <joseph@codesourcery.com>
25340
25341 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25342 unconditional.
25343 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25344 Likewise.
25345 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25346 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25347 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25348 Likewise.
25349
65513990
L
253502012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25351
25352 [BZ #14587]
25353 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25354 * config.make.in (have-cpp-asm-debuginfo): Removed.
25355 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25356 * configure: Regenerated.
25357
784761be
JM
253582012-09-14 Joseph Myers <joseph@codesourcery.com>
25359
25360 [BZ #5044]
25361 * stdio-common/printf_fp.c: Include <stdbool.h> and
25362 <rounding-mode.h>.
25363 (___printf_fp): Determine rounding using get_rounding_mode and
25364 round_away.
25365 * stdio-common/tst-printf-round.c: New file.
25366 * stdio-common/Makefile (tests): Add tst-printf-round.
25367 (link-libm): New variable.
25368 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25369
9503345f
L
253702012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25371
25372 [BZ #14576]
25373 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25374 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25375 Likewise.
25376 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25377 Likewise.
25378
ad35fc00
JM
253792012-09-13 Joseph Myers <joseph@codesourcery.com>
25380
25381 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25382 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25383 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25384 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25385
6c9b0f68
JM
253862012-09-12 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #14518]
25389 * include/rounding-mode.h: New file.
25390 * sysdeps/generic/get-rounding-mode.h: Likewise.
25391 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25392 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25393 (MAX_VALUE): New macro.
25394 (MIN_VALUE): Likewise.
25395 (overflow_value): New function.
25396 (underflow_value): Likewise.
25397 (round_and_return): Use overflow_value and underflow_value to
25398 determine return values in overflow and underflow cases. Use
25399 round_away to determine rounding depending on rounding mode.
25400 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25401 determine return values in overflow and underflow cases.
25402 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25403 (struct test_results): New structure.
25404 (struct test): Use struct test_results to store expected results
25405 for all rounding modes.
25406 (TEST): Include expected results for all rounding modes.
25407 (test_in_one_mode): New function.
25408 (do_test): Use test_in_one_mode to compute and check results.
25409 Check results for all rounding modes.
25410 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25411 $(link-libm).
25412
19fcedd5
AM
254132012-12-09 Allan McRae <allan@archlinux.org>
25414
1e9d84cd 25415 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25416
8bbfd2f1
JM
254172012-09-11 Joseph Myers <joseph@codesourcery.com>
25418
25419 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25420 (_G_int32_t): Likewise.
25421 (_G_uint16_t): Likewise.
25422 (_G_uint32_t): Likewise.
25423 (_G_HAVE_BOOL): Likewise.
25424 (_G_HAVE_ATEXIT): Likewise.
25425 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25426 (_G_HAVE_IO_FILE_OPEN): Likewise.
25427 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25428 (_G_int32_t): Likewise.
25429 (_G_uint16_t): Likewise.
25430 (_G_uint32_t): Likewise.
25431 (_G_HAVE_BOOL): Likewise.
25432 (_G_HAVE_ATEXIT): Likewise.
25433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25434 (_G_HAVE_IO_FILE_OPEN): Likewise.
25435 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25436 (_G_int32_t): Likewise.
25437 (_G_uint16_t): Likewise.
25438 (_G_uint32_t): Likewise.
25439 (_G_HAVE_BOOL): Likewise.
25440 (_G_HAVE_ATEXIT): Likewise.
25441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25442 (_G_HAVE_IO_FILE_OPEN): Likewise.
25443
b1dc5912
L
254442012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25445
25446 * csu/libc-tls.c: Update copyright years.
25447
0e886ef9
JM
254482012-09-10 Joseph Myers <joseph@codesourcery.com>
25449
28361c5e
JM
25450 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25451 [!_G_USING_THUNKS]: Remove conditional code.
25452 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25453 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25454
0e886ef9
JM
25455 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25456 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25457 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25458 (_G_VTABLE_LABEL_PREFIX): Likewise.
25459 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25460 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25462 (_G_VTABLE_LABEL_PREFIX): Likewise.
25463 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25464 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25466 (_G_VTABLE_LABEL_PREFIX): Likewise.
25467 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25468
bcba7aa2
L
254692012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25470
25471 * libio/Makefile: Include ../Makeconfig before tests.
25472 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25473 only if $(build-shared) is yes.
25474
06585ee8
L
25475 * iconv/gconv_db.c: Update copyright years.
25476
80ccd52c
LD
254772012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25478
25479 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25480 unwind info if defined PIC. Fix special cases description.
25481 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25482
25483 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25484 DP_HI_MASK entry.
25485 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25486
691bc9c1
L
254872012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25488
3d9b46b3
L
25489 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25490
de2139a9
L
25491 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25492 is NULL.
25493
5ca78dd0
L
25494 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25495 (LDLIBS-tst-chk4): This.
25496 (LDFLAGS-tst-chk5): Renamed to ...
25497 (LDLIBS-tst-chk5): This.
25498 (LDFLAGS-tst-chk6): Renamed to ...
25499 (LDLIBS-tst-chk6): This.
25500 (LDFLAGS-tst-lfschk4): Renamed to ...
25501 (LDLIBS-tst-lfschk4): This.
25502 (LDFLAGS-tst-lfschk5): Renamed to ...
25503 (LDLIBS-tst-lfschk5): This.
25504 (LDFLAGS-tst-lfschk6): Renamed to ...
25505 (LDLIBS-tst-lfschk6): This.
25506
691bc9c1
L
25507 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25508 on $(common-objpfx)soversions.mk.
25509
65cafb1c
JM
255102012-09-07 Joseph Myers <joseph@codesourcery.com>
25511
25512 [BZ #10014]
25513 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25514 example host name.
25515
c78ab094
SP
255162012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25517
25518 * malloc/arena.c (arena_get_retry): New function that gets
25519 another arena for the caller to try its request on.
25520 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25521 current arena cannot fulfill the request.
25522 (__libc_memalign): Likewise.
25523 (__libc_memalign): Likewise.
25524 (__libc_pvalloc): Likewise.
25525 (__libc_calloc): Likewise.
25526
01f49f59
JT
255272012-09-05 John Tobey <john.tobey@gmail.com>
25528
25529 [BZ #13542]
25530 * manual/arith.texi (Operations on Complex): Fix description
25531 of carg branch cut.
25532
4c23fed5
JM
255332012-09-06 Joseph Myers <joseph@codesourcery.com>
25534
1d3c8572
JM
25535 [BZ #10014]
25536 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25537 host name.
25538
4c23fed5
JM
25539 [BZ #10038]
25540 * manual/memory.texi (Memory): Make order of menu items match
25541 order of sections.
25542
04570aaa
L
255432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25544
25545 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25546 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25547 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25548
b80af2f4
L
255492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25550
25551 * csu/libc-tls.c (static_dtv): Renamed to ...
25552 (_dl_static_dtv): This. Make it global.
25553 (_dl_initial_dtv): Removed.
25554 (__libc_setup_tls): Updated.
25555 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25556 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25557 DL_INITIAL_DTV.
25558
2abe9f15
PM
255592012-09-06 Petr Machata <pmachata@redhat.com>
25560
25561 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25562 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25563 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25564 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25565
0948c3af
L
255662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25567
25568 [BZ #14545]
25569 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25570 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25571 freeing dtv[-1].
25572
a5055ad1
L
255732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25574
25575 [BZ #14544]
25576 * Makeconfig (link-static-before-libc): Replace $(+prector)
25577 with $(+prectorT).
25578 (link-static-after-libc): Replace $(+postctor) with
25579 $(+postctorT).
25580 (link-bounded): Replace $(+prector)/$(+postctor) with
25581 $(+prectorT)/$(+postctorT).
25582 (+prectorT): New macro.
25583 (+postctorT): Likewise.
25584
ed8c2ecd
JM
255852012-09-06 Joseph Myers <joseph@codesourcery.com>
25586
25587 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25588 (round_str): Handle values above the maximum for IBM long double
25589 as inexact.
25590 * stdlib/tst-strtod-round.c (tests): Regenerated.
25591
14c996c8
AK
255922012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25593
25594 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25595 assembler flag.
25596 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25597 zarch_nohighgprs around the zarch optimized routines.
25598 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25599 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25601 for zarch.
25602
430d6ce6
DM
256032012-09-05 David S. Miller <davem@davemloft.net>
25604
25605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25606
57f41c40
AS
25607 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25608 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25609 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25610 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25611 entries.
25612
24d4e01b
AO
256132012-09-05 Alexandre Oliva <aoliva@redhat.com>
25614
25615 * malloc/arena.c: Fold copyright years.
25616 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25617
61d58174
AO
256182012-09-05 Alexandre Oliva <aoliva@redhat.com>
25619
25620 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25621
20196a5e
AO
256222012-09-05 Alexandre Oliva <aoliva@redhat.com>
25623
25624 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25625
5c447383
AO
256262012-09-05 Alexandre Oliva <aoliva@redhat.com>
25627
25628 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25629 change internal state upon failure.
25630
fad64255
AO
256312012-09-05 Alexandre Oliva <aoliva@redhat.com>
25632
25633 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25634 * malloc/memusage.c (mmap): Likewise.
25635 (mmap64, mremap): Likewise. Adjust name in comment.
25636
1ffb8c90
SP
256372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25638
25639 * libio/fileops.c: Fix typos in comments.
25640 * libio/oldfileops.c: Likewise.
25641 * libio/wfileops.c: Likewise.
25642
6ef9cc37
SP
256432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25644
25645 [BZ #1349]
25646 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25647 (tst-malloc-usable-ENV): Set environment for test case.
25648 * malloc/hooks.c (malloc_check_get_size): New function to get
25649 requested size.
25650 * malloc/malloc.c (musable): Use malloc_check_get_size.
25651 * malloc/tst-malloc-usable.c: New test case.
25652
4d038ae3
AS
256532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25654
25655 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25656
c4e85184
AM
256572012-09-05 Allan McRae <allan@archlinux.org>
25658
b9dafc56 25659 [BZ #13966]
c4e85184
AM
25660 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25661 determine header location.
25662 * configure: Regenerated.
25663
e1343020
AS
256642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25665
25666 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25667 float format.
25668 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25669 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25670 format.
e1343020
AS
25671 (test): Regenerate.
25672
0a9f1987
DM
256732012-09-04 David S. Miller <davem@davemloft.net>
25674
25675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25678
29237804
FW
256792012-09-04 Florian Weimer <fweimer@redhat.com>
25680
25681 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25682 failures.
25683
edb3cb88
FW
25684 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25685
60160d83
JM
256862012-09-04 Joseph Myers <joseph@codesourcery.com>
25687
25688 [BZ #9914]
25689 * libio/iogetdelim.c: Include <limits.h>.
25690 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25691 + len + 1 would overflow.
25692
bcd6c8dc
AJ
256932012-09-03 Andreas Jaeger <aj@suse.de>
25694
25695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25696 * sysdeps/i386/fpu/libm-test-ulps: Update.
25697
4ffffbd2
LD
256982012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25699
25700 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25701 Add s_sinf-sse2, s_conf-sse2.
25702
25703 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25704 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25705 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25706 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25707
25708 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25709 for using routine as __sinf_ia32.
25710 Use macro for function declaration and weak_alias.
25711 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25712 for using routine as __cosf_ia32.
25713 Use macro for function declaration and weak_alias.
25714
25715 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25716 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25717
25718 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25719 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25721
25722 * math/libm-test.inc (cos_test): Add more test cases.
25723 (sin_test): Likewise.
25724 (sincos_test): Likewise.
25725
511fa286
AK
257262012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25727
25728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25729 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25730 hidden.
25731 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25732
5f30cfec
L
257332012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25734
25735 [BZ #14538]
25736 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25737 first element of the GOT.
25738 (elf_machine_load_address): Return the difference between
25739 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25740
0786794f
AM
257412012-09-01 Allan McRae <allan@archlinux.org>
25742
5f30cfec
L
25743 [BZ #13412]
25744 * configure.in (AWK): Require gawk version 3.0 or later.
25745 * configure: Regenerated.
0786794f 25746
26889eac
JM
257472012-09-01 Joseph Myers <joseph@codesourcery.com>
25748
25749 * sysdeps/unix/sysv/linux/kernel-features.h
25750 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25751 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25752 [__NR_clock_getres]: Make code unconditional.
25753 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25754 (clock_getcpuclockid): Remove code left unreachable by removal of
25755 conditionals.
25756 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25757 code unconditional.
25758 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25759 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25760 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25761 Make code unconditional.
25762 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25764 * sysdeps/unix/sysv/linux/clock_settime.c
25765 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25766 conditional code.
25767 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25768 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25769
d22e28b0
L
257702012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25771
25772 [BZ #14476]
25773 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25774 scripts/test-installation.pl.
25775
25776 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25777 and $ld_so_version if it is set.
25778
050af9c4
SP
257792012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25780
25781 [BZ #14516]
25782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25783 failure if reading from procfs failed.
25784 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25785
ad845c0b
JM
257862012-08-27 Joseph Myers <joseph@codesourcery.com>
25787
25788 * sysdeps/unix/sysv/linux/kernel-features.h
25789 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25790 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25791 Remove conditional code.
25792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25793 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25794 Remove conditional code.
25795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25796 * sysdeps/unix/sysv/linux/i386/fxstat.c
25797 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25799 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25800 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25802 * sysdeps/unix/sysv/linux/i386/lxstat.c
25803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25805 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25806 Remove conditional code.
25807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25808 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25809 Remove conditional code.
25810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25811 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25812 <kernel-features.h>.
25813 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25814 Remove.
25815 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25816 Remove conditional code.
25817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25818 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25819 Remove conditional.
25820
5dbf56af
MF
258212012-08-27 Mike Frysinger <vapier@gentoo.org>
25822
25823 [BZ #5400]
25824 * NEWS: Add fixed bug number.
25825
d6e70f43
JM
258262012-08-27 Joseph Myers <joseph@codesourcery.com>
25827
7efb4737
JM
25828 [BZ #14519]
25829 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25830 underflowing exponent in case of negative sign.
25831 * stdlib/tst-strtod-round-data: Add more tests.
25832 * stdlib/tst-strtod-round.c (tests): Regenerated.
25833
af92131a
JM
25834 [BZ #3479]
25835 * stdlib/strtod_l.c (NDIG): Remove.
25836 (HEXNDIG): Likewise.
25837 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25838 smallest representable value.
25839 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25840 lie within an exact representation of 1/2 ulp of the result.
25841 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25842 unconditionally.
25843 (TENS_P9_IDX): Define unconditionally.
25844 (TENS_P9_SIZE): Likewise.
25845 (TENS_P10_IDX): Likewise.
25846 (TENS_P10_SIZE): Likewise.
25847 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25848 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25849 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25850 entries for 10^2^13 and 10^2^14.
25851 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25852 (TENS_P13_IDX): Define.
25853 (TENS_P13_SIZE): Likewise.
25854 (TENS_P14_IDX): Likewise.
25855 (TENS_P14_SIZE): Likewise.
25856 (_fpioconst_pow10): Change array size to
25857 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25858 unconditional.
25859 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25860 1024]: Add entries for 10^2^13 and 10^2^14.
25861 [LAST_POW10 > _LAST_POW10]: Remove #error.
25862 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25863 (_fpioconst_pow10): Change array size to
25864 FPIOCONST_POW10_ARRAY_SIZE.
25865 * stdlib/gen-fpioconst.c: New file.
25866 * stdlib/gen-tst-strtod-round.c: Likewise.
25867 * stdlib/tst-strtod-round-data: Likewise.
25868 * stdlib/tst-strtod-round.c: Likewise.
25869 * stdlib/Makefile (tests): Add tst-strtod-round.
25870
d6e70f43
JM
25871 [BZ #14459]
25872 * stdlib/strtod_l.c: Include <stdint.h>.
25873 (NDEBUG): Do not define.
25874 (round_and_return): Change EXPONENT parameter to type intmax_t.
25875 Rearrange calculations to avoid internal overflow possibilities.
25876 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25877 Rearrange calculations to avoid internal overflow possibilities.
25878 Assert that number fits inside MPNSIZE limbs.
25879 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25880 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25881 calculations and add assertions to avoid internal overflow
25882 possibilities. Add casts to avoid signed/unsigned operations.
25883 * stdlib/tst-strtod-overflow.c: New file.
25884 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25885
1f529f7d
MP
258862012-08-25 Marek Polacek <polacek@redhat.com>
25887
25888 * time/time.h: Fix some typos in comments.
25889
59a629f1
RM
258902012-08-23 Roland McGrath <roland@hack.frob.com>
25891
25892 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25893 * posix/tst-rfc3484-2.c: Likewise.
25894 * posix/tst-rfc3484-3.c: Likewise.
25895
d3bafbc9
SM
258962012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25897
25898 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25899 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25900
4efcc022
JM
259012012-08-23 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25904 #include of fxstatat64.c.
25905
3cc3ef96
RM
259062012-08-22 Roland McGrath <roland@hack.frob.com>
25907
f04e2132
RM
25908 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25909 * shadow/getspent_r.c: Likewise.
25910 * shadow/getspnam.c: Likewise.
25911 * shadow/getspnam_r.c: Likewise.
25912 * gshadow/getsgent.c: Likewise.
25913 * gshadow/getsgent_r.c: Likewise.
25914 * gshadow/getsgnam.c: Likewise.
25915 * gshadow/getsgnam_r.c: Likewise.
25916 * inet/getnetbyad.c: Likewise.
25917 * inet/getnetbyad_r.c: Likewise.
25918 * inet/getnetbynm.c: Likewise.
25919 * inet/getnetbynm_r.c: Likewise.
25920 * inet/getnetent.c: Likewise.
25921 * inet/getnetent_r.c: Likewise.
25922 * inet/getproto.c: Likewise.
25923 * inet/getproto_r.c: Likewise.
25924 * inet/getprtent.c: Likewise.
25925 * inet/getprtent_r.c: Likewise.
25926 * inet/getprtname.c: Likewise.
25927 * inet/getprtname_r.c: Likewise.
25928 * inet/getrpcbyname.c: Likewise.
25929 * inet/getrpcbyname_r.c: Likewise.
25930 * inet/getrpcbynumber.c: Likewise.
25931 * inet/getrpcbynumber_r.c: Likewise.
25932 * inet/getrpcent.c: Likewise.
25933 * inet/getrpcent_r.c: Likewise.
25934 * inet/getaliasent.c: Likewise.
25935 * inet/getaliasent_r.c: Likewise.
25936 * inet/getaliasname.c: Likewise.
25937 * inet/getaliasname_r.c: Likewise.
25938 * nscd/getgrgid_r.c: Likewise.
25939 * nscd/getgrnam_r.c: Likewise.
25940 * nscd/gethstbyad_r.c: Likewise.
25941 * nscd/gethstbynm3_r.c: Likewise.
25942 * nscd/getpwnam_r.c: Likewise.
25943 * nscd/getpwuid_r.c: Likewise.
25944 * nscd/getsrvbynm_r.c: Likewise.
25945 * nscd/getsrvbypt_r.c: Likewise.
25946 * nscd/gai.c: Likewise.
25947
c53d909c
RM
25948 * configure.in (build_nscd): New substituted variable, set
25949 by --disable-build-nscd and defaults to $use_nscd.
25950 * configure: Regenerated.
25951 * config.make.in (build-nscd): New substituted variable.
25952 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25953 Change conditional to require [$(build-nscd) = yes] as well.
25954 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25955
3cc3ef96
RM
25956 [BZ# 13696]
25957 * configure.in (use_nscd): New substituted variable, set by
25958 --disable-nscd. If enabled, define USE_NSCD.
25959 * configure: Regenerated.
25960 * config.h.in: Add USE_NSCD.
25961 * config.make.in (use-nscd): New substituted variable.
25962 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25963 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25964 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25965 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25966 (CFLAGS-getgrnam_r.c): Likewise.
25967 (CFLAGS-initgroups.c): Likewise.
25968 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25969 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25970 Variables removed.
25971 * inet/getnetgrent_r.c
25972 (nscd_setnetgrent): New function, broken out of ...
25973 (setnetgrent): ... here. Call it.
25974 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25975 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25976 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25977 * nscd/Makefile (routines, aux): Move definitions after include of
25978 Makeconfig. Conditionalize on [$(use-nscd) != no].
25979 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25980 Conditionalize on [USE_NSCD].
25981 (is_nscd, nscd_init_cb): Likewise.
25982 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25983 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25984 * nss/nss_db/db-init.c: Likewise.
25985 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25986 [USE_NSCD].
25987 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25988 (make_request): Use it.
25989 (cache_valid_p): New function.
25990 (__check_pf): Use it.
25991 * NEWS: Add item for --disable-nscd.
25992
07e51550
DL
259932012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25994
25995 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25996 to support sed >= 4.2.1-20-ga9bf076.
25997 * configure: Regenerated.
25998
35a5b08b
RM
259992012-08-22 Roland McGrath <roland@hack.frob.com>
26000
26001 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26002 Conditionalize whole body on [IREL].
26003
8479f23a
JL
260042012-08-22 Jeff Law <law@redhat.com>
26005
26006 [BZ #14505]
26007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26008 if the family is PF_UNSPEC.
26009
48da0b21
MF
260102012-08-22 Mike Frysinger <vapier@gentoo.org>
26011
26012 * Makerules (lib-version): Rename from V.
26013 (install-lib-nosubdir): Change V to lib-version.
26014
15d0da8c
WS
260152012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26016
26017 [BZ #14252]
26018 * powerpc32/power6/wcschr.c: New file.
26019 * powerpc32/power6/wcscpy.c: New file.
26020 * powerpc32/power6/wcsrchr.c: New file.
26021 * powerpc64/power6/wcschr.c: New file.
26022 * powerpc64/power6/wcscpy.c: New file.
26023 * powerpc64/power6/wcsrchr.c: New file.
26024
bcca0895
MK
260252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26026
26027 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26028 (two_way_short_needle): Use it.
5a4aaa33
RM
26029 * string/strstr.c (AVAILABLE1_USES_J): Define.
26030 * string/strcasestr.c: Likewise.
99677e57
MK
26031
26032 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26033 array references.
26034 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26035
400726de
MK
26036 [BZ #11607]
26037 * NEWS: Add an entry.
26038 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26039 define their defaults.
26040 (two_way_short_needle): Detect end-of-string on-the-fly.
26041 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26042 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26043 * string/bug-strcasestr1.c: New test.
26044 * string/Makefile: Run it.
26045
20a71f2c
MK
260462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26047
26048 [BZ #11607]
26049 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26050 the first character.
26051
21ad0558
RM
260522012-08-21 Roland McGrath <roland@hack.frob.com>
26053
26054 * csu/elf-init.c (__libc_csu_irel): Function removed.
26055 * csu/libc-start.c (apply_irel): New function.
26056 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26057
0e1d9911
JM
260582012-08-21 Joseph Myers <joseph@codesourcery.com>
26059
26060 * sysdeps/unix/sysv/linux/kernel-features.h
26061 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26062 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26063 <kernel-features.h>.
26064 [__NR_fadvise64_64]: Make code unconditional.
26065 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26066 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26067 !__NR_fadvise64_64)]: Likewise.
26068 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26069 !__NR_fadvise64_64))]: Likewise.
26070 [__NR_fadvise64]: Make code unconditional.
26071 [!__NR_fadvise64]: Remove conditional code.
26072 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26073 <kernel-features.h>.
26074 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26075 unconditional.
26076 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26077 conditional code.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26079 not include <kernel-features.h>.
26080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26081 unconditional.
26082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26083 conditional code.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26085 include <kernel-features.h>.
26086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26087 unconditional.
26088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26089 conditional code.
26090
14a50c9d
WS
260912012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26092
26093 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26094 slight instruction rearrangements per scrollpipe analysis.
26095 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26096
c0f4faf0
RM
260972012-08-20 Roland McGrath <roland@hack.frob.com>
26098
696da859
RM
26099 * manual/syslog.texi (syslog; vsyslog, closelog):
26100 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26101 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26102
c0f4faf0
RM
26103 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26104 DSOCAPS to match condition on defining it.
26105
348363b2
JM
261062012-08-20 Joseph Myers <joseph@codesourcery.com>
26107
a35cbf28
JM
26108 * sysdeps/unix/sysv/linux/kernel-features.h
26109 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26111 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26112 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26114 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26115 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26119
445f7ecd
JM
26120 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26121 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26122
348363b2
JM
26123 * sysdeps/unix/sysv/linux/kernel-features.h
26124 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26125 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26126 unconditional.
26127 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26128 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26129 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26130 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26131 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26132 Make code unconditional.
26133 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26134 (__mmap64) [!__NR_mmap2]: Likewise.
26135 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26136 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26137 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26138 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26139 [__NR_mmap2]: Make code unconditional.
26140 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26141 (__mmap64) [!__NR_mmap2]: Likewise.
26142
bc5bc0e5
AK
261432012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26144
26145 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26146
88d506de
AJ
261472012-08-18 Andreas Jaeger <aj@suse.de>
26148
26149 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26150
493387d2
MF
261512012-08-18 Mike Frysinger <vapier@gentoo.org>
26152
26153 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26154 * include/unistd.h (__have_sock_cloexec): Likewise.
26155 (__have_pipe2): Likewise.
26156 (__have_dup3): Likewise.
26157
a277af22
MF
261582012-08-18 Mike Frysinger <vapier@gentoo.org>
26159
26160 [BZ #9685]
26161 * include/unistd.h (__have_pipe2): Change define into an extern int.
26162 (__have_dup3): Likewise.
26163 * socket/have_sock_cloexec.c: Include fcntl.h.
26164 (__have_pipe2): New variable.
26165 (__have_dup3): Likewise.
26166
fdab8fd3
MF
261672012-08-17 Mike Frysinger <vapier@gentoo.org>
26168
26169 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26170
31035e80
MP
261712012-08-17 Marek Polacek <polacek@redhat.com>
26172
26173 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26174 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26175
3bd9e993
RM
261762012-08-17 Roland McGrath <roland@hack.frob.com>
26177
c91c505f
RM
26178 * configure.in: Add AC_SUBST for sysheaders.
26179 * configure: Regenerated.
26180 * config.make.in (sysheaders): New substituted variable.
26181
7c6f9d53
RM
26182 * sysdeps/unix/mkfifo.c: Moved ...
26183 * sysdeps/posix/mkfifo.c: ... here.
26184 * sysdeps/unix/mkfifoat.c: Moved ...
26185 * sysdeps/posix/mkfifoat.c: ... here.
26186
26187 * sysdeps/unix/utime.c: Moved ...
26188 * sysdeps/posix/utime.c: ... here.
26189
26190 * sysdeps/unix/time.c: Moved ...
26191 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26192 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26194
26195 * sysdeps/unix/nice.c: Moved ...
26196 * sysdeps/posix/nice.c: ... here.
26197
26198 * sysdeps/unix/alarm.c: Moved ...
26199 * sysdeps/posix/alarm.c: ... here.
26200
3bd9e993
RM
26201 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26202
d1f09384
JL
262032012-08-17 Jeff Law <law@redhat.com>
26204
26205 * intl/Makefile (codeset_mo): New variable.
26206 ($(codeset_mo)): New target.
26207 (tst-codeset.out): Depend on that. Remove explicit rule.
26208 (tst-gettext3.out, tst-gettext5.out): Likewise.
26209 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26210 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26211 * intl/tst-codeset.sh: Remove.
26212 * intl/tst-gettext3.sh: Likewise.
26213 * intl/tst-gettext5.sh: Likewise.
26214
2ae1ae5c
RM
262152012-08-17 Roland McGrath <roland@hack.frob.com>
26216
c31fdb83
RM
26217 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26218 * sysdeps/unix/syscalls.list: ... here.
26219
a0844057
RM
26220 * sysdeps/posix/getaddrinfo.c
26221 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26222 (gaiconf_init, gaiconf_reload): Use them.
26223 [!_STATBUF_ST_NSEC]
26224 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26225 Define using time_t rather than struct timespec.
26226
750c1f2a
RM
26227 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26228 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26229 Macros removed.
26230 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26231 [!NO_THREADS].
26232 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26233 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26234 Likewise.
26235
2ae1ae5c
RM
26236 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26237 __libc_cleanup_push argument.
26238
e66a42f5
RM
26239 * bits/param.h: New file.
26240 * misc/sys/param.h: New file.
26241 * include/sys/param.h: New file.
26242 * misc/Makefile (headers): Add bits/param.h.
26243 * sysdeps/generic/sys/param.h: File removed.
26244 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26245 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26246 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26247 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26248
b7c08a66
RM
26249 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26250 last change.
26251
b2e1c562
RM
26252 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26253 [_IO_MTSAFE_IO].
26254 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26255 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26256 New macros.
26257
c75ccd4c
RM
26258 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26259 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26260 rather than -D_IO_MTSAFE_IO conditionally.
26261 * stdio-common/Makefile (CPPFLAGS): Likewise.
26262 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26263 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26264 Use $(libio-mtsafe).
26265 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26266 of -D_IO_MTSAFE_IO.
26267 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26268 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26269 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26270 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26271 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26272 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26273 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26274 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26275 (CFLAGS-fread_u_chk.c): Likewise.
26276 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26277 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26278 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26279 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26280 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26281 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26282 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26283 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26284 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26285
26286 * libio/Makefile: Test [$(libc-reentrant) = yes]
26287 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26288
26289 * Makeconfig
26290 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26291 * sysdeps/pthread/configure: File removed.
26292 * sysdeps/pthread/Makeconfig: New file.
26293 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26294 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26295
d9195db8
GB
262962012-08-16 Gary Benson <gbenson@redhat.com>
26297
26298 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26299 unmapping the first object in a namespace.
26300
86466cd9
RM
263012012-08-16 Roland McGrath <roland@hack.frob.com>
26302
26303 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26304 (__internal_setnetgrent): ... this. Add internal_function to
26305 definition. Add libc_hidden_def.
26306 (setnetgrent): Update caller.
26307 (internal_endnetgrent): Renamed to ...
26308 (__internal_endnetgrent): ... this. Add internal_function to
26309 definition. Add libc_hidden_def.
26310 (endnetgrent): Update caller.
26311 (internal_getnetgrent_r): Renamed to ...
26312 (__internal_getnetgrent_r): ... this. Add internal_function to
26313 definition. Add libc_hidden_def.
26314 (__getnetgrent_r): Update caller.
26315 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26316
c3c8283c
JM
263172012-08-16 Joseph Myers <joseph@codesourcery.com>
26318
26319 * stdlib/longlong.h: Update from GCC.
26320
db1ee0a8
RM
263212012-08-16 Roland McGrath <roland@hack.frob.com>
26322
26323 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26324 on _QL, which is set by umul_ppmm but never used.
26325 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26326 variables, which are set by GMP macros but never used.
26327 * stdio-common/_itowa.c (_itowa): Likewise.
26328 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26329 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26330
30f69637
CD
263312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26332
26333 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26334 struct La_sh_regs is not constant.
26335 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26336 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26337 and struct La_sparc64_regs are not constant.
26338
93a78ac4
JM
263392012-08-16 Joseph Myers <joseph@codesourcery.com>
26340
26341 * sysdeps/unix/sysv/linux/kernel-features.h
26342 (__ASSUME_POSIX_TIMERS): Remove.
26343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26344 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26345 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26346 Make code unconditional.
26347 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26348 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26349 Make code unconditional.
26350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26351 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26352 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26354 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26355 Make code unconditional.
26356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26357 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26358 (__libc_missing_posix_timers): Remove.
26359
dd924cd7
RM
263602012-08-15 Roland McGrath <roland@hack.frob.com>
26361
4b4f2771
RM
26362 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26363 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26364
601c888b
RM
26365 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26366
176790a7
RM
26367 * elf/dl-sym.c: Include <stdlib.h>.
26368
329bc018
RM
26369 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26370 constants, which avoids warnings in 32-bit builds.
26371
e04e272d
RM
26372 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26373 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26374
952bf94a
RM
26375 * misc/lseek.c: File moved to ...
26376 * io/lseek.c: ... here.
26377
7c99b50a
RM
26378 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26379
dd924cd7
RM
26380 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26381 shifting LEN more than 31 bits at once.
26382
b3f479a8
LD
263832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26384
26385 [BZ #14195]
8c4ae0d4
RM
26386 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26387 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26388 * string/test-strncasecmp.c (check1): Renamed to...
26389 (bz12205): ...this.
26390 (bz14195): Add new testcase for two empty input strings and N > 0.
26391 (test_main): Call new testcase, adapt for renamed function.
26392
9c55864e
AJ
263932012-08-15 Andreas Jaeger <aj@suse.de>
26394
26395 [BZ #14090]
26396 * crypt/md5test2.c: New test, based on test supplied by Serge
26397 Belyshev <belyshev@depni.sinp.msu.ru>.
26398 * crypt/Makefile (xtests): Add md5test-giant..
26399 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26400
02dcb6c5
PE
264012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26402
26403 [BZ #14090]
26404 * crypt/md5.c (md5_process_block): Don't assume the buffer
26405 length is less than 2**32.
26406 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26407 length is less than 2**64.
26408
a3f95dcc
RM
264092012-08-15 Roland McGrath <roland@hack.frob.com>
26410
be75d758
RM
26411 * string/str-two-way.h: Include <sys/param.h>.
26412 (MAX): Macro removed.
26413
7312ca90
RM
26414 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26415 Move #define and #undef of memmove to just before and after
26416 including <string.h>.
26417
9a0a5486
RM
26418 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26419 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26420 and after including <string.h>. Move declarations of
26421 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26422 to before #include "string/memmove.c".
26423
67cc348d
RM
26424 * include/dirent.h: Declare __getdirentries.
26425
a3f95dcc
RM
26426 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26427 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26428
ca98e171
MF
264292012-08-14 Mike Frysinger <vapier@gentoo.org>
26430
26431 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26432 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26433 * sysdeps/i386/configure: Regenerated.
26434 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26435 STABS_CURRENT_FILE, and STABS_FUN.
26436 (END): Remove call to STABS_FUN_END.
26437 (STABS_CURRENT_FILE1): Delete.
26438 (STABS_CURRENT_FILE): Likewise.
26439 (STABS_FUN): Likewise.
26440 (STABS_FUN_END): Likewise.
26441 (STABS_FUN2): Likewise.
26442 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26443 * sysdeps/x86_64/configure: Regenerated.
26444
5908bf46
RM
264452012-08-14 Roland McGrath <roland@hack.frob.com>
26446
26447 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26448 * elf/dl-lookup.c: Likewise.
5908bf46 26449
f2c05b9e
JM
264502012-08-14 Joseph Myers <joseph@codesourcery.com>
26451
26452 * sysdeps/unix/sysv/linux/kernel-features.h
26453 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26454 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26455 unconditionally.
26456 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26457 unconditionally.
26458 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26459 condition on __ASSUME_CLONE_THREAD_FLAGS.
26460
e11f5155
AJ
264612012-08-14 Andreas Jaeger <aj@suse.de>
26462
26463 * sysdeps/i386/fpu/libm-test-ulps: Update.
26464
51a9ba86
MK
264652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26466
2fdd4f78
AJ
26467 * include/atomic.h (atomic_exchange_and_add): Split into ...
26468 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26469 New atomic macros.
51a9ba86 26470
ba6cba9e
MT
264712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26472
26473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26474
42443a47
JL
264752012-08-13 Jeff Law <law@redhat.com>
26476
26477 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26478 null byte in the output string.
26479
121dce05
JM
264802012-08-10 Joseph Myers <joseph@codesourcery.com>
26481
26482 * sysdeps/unix/sysv/linux/kernel-features.h
26483 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26484 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26485 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26487 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26488 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26489 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26490
bf51f568
JL
264912012-08-09 Jeff Law <law@redhat.com>
26492
26493 [BZ #13939]
26494 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26495 When avoid_arena is set, don't retry in the that arena. Pick the
26496 next one, whatever it might be.
26497 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26498 (arena_lock): Pass in new parameter to arena_get2.
26499 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26500 arena_get2.
26501 (__libc_malloc): Unify retrying after main arena failure with
26502 __libc_memalign version.
26503 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26504
f85fa270
L
265052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26506
26507 [BZ #14166]
26508 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26509 to __redirect_strstr.
26510 (__strstr_sse42): Use typeof __redirect_strstr.
26511 (__strstr_ia32): Likewise.
26512 (__libc_strstr): New prototype.
26513 (strstr): Renamed to ...
26514 (__libc_strstr): This.
26515 (strstr): New strong alias of __libc_strstr.
26516 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26517 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26518 __redirect_time.
26519 Include <time.h>.
26520 (__libc_time): New prototype.
26521 (time_ifunc): Replace time with __libc_time.
26522 (time): New strong alias and hidden definition of __libc_time.
26523 (__GI_time): Remove strong alias.
26524 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26525 Include <stddef.h>.
26526 (memmove): Redefined to __redirect_memmove.
26527 (__memmove_sse2): Use typeof __redirect_memmove.
26528 (__memmove_ssse3): Likewise.
26529 (__memmove_ssse3_back): Likewise.
26530 (__libc_memmove): New prototype.
26531 (memmove): Renamed to ...
26532 (__libc_memmove): This.
26533 (memmove): New strong alias of __libc_memmove.
26534
33b4a91e
MS
265352012-08-08 Mark Salter <msalter@redhat.com>
26536
26537 * elf/elf.h
26538 (R_MN10300_TLS_GD): Define.
26539 (R_MN10300_TLS_LD): Likewise.
26540 (R_MN10300_TLS_LDO): Likewise.
26541 (R_MN10300_TLS_GOTIE): Likewise.
26542 (R_MN10300_TLS_IE): Likewise.
26543 (R_MN10300_TLS_LE): Likewise.
26544 (R_MN10300_TLS_DTPMOD): Likewise.
26545 (R_MN10300_TLS_DTPOFF): Likewise.
26546 (R_MN10300_TLS_TPOFF): Likewise.
26547 (R_MN10300_SYM_DIFF): Likewise.
26548 (R_MN10300_ALIGN): Likewise.
26549 (R_MN10300_NUM): Update.
26550
b36137f1
JM
265512012-08-08 Joseph Myers <joseph@codesourcery.com>
26552
26553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26554 Remove.
26555
cdd915fd
RM
265562012-08-08 Roland McGrath <roland@hack.frob.com>
26557
a2433aac
RM
26558 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26559
cdd915fd
RM
26560 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26561 sysdeps/unix -> sysdeps/posix move.
26562 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26563
bf9b740a
AM
265642012-08-07 Allan McRae <allan@archlinux.org>
26565
26566 [BZ #14303]
26567 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26568 (SUNOS_CPP): Likewise.
26569 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26570 not found.
26571 (open_input): Call CPP using execvp.
26572
93df14ee
JM
265732012-08-07 Joseph Myers <joseph@codesourcery.com>
26574
26575 * sysdeps/unix/sysv/linux/kernel-features.h
26576 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26577 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26578 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26579 (__ASSUME_WAITID_SYSCALL): Likewise.
26580 * sysdeps/unix/sysv/linux/dl-execstack.c
26581 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26582 code unconditional.
26583 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26584 conditional code.
26585 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26586 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26587 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26588 code.
26589 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26590 unconditional.
26591 [__ASSUME_WAITID_SYSCALL]: Likewise.
26592 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26593
d34689de
RM
265942012-08-07 Roland McGrath <roland@hack.frob.com>
26595
a281decc
RM
26596 * sysdeps/unix/closedir.c: Renamed to ...
26597 * sysdeps/posix/closedir.c: ... here.
26598 * sysdeps/unix/dirfd.c: Renamed to ...
26599 * sysdeps/posix/dirfd.c: ... here.
26600 * sysdeps/unix/dirstream.h: Renamed to ...
26601 * sysdeps/posix/dirstream.h: ... here.
26602 * sysdeps/unix/fdopendir.c: Renamed to ...
26603 * sysdeps/posix/fdopendir.c: ... here.
26604 * sysdeps/unix/opendir.c: Renamed to ...
26605 * sysdeps/posix/opendir.c: ... here.
26606 * sysdeps/unix/readdir.c: Renamed to ...
26607 * sysdeps/posix/readdir.c: ... here.
26608 * sysdeps/unix/readdir_r.c: Renamed to ...
26609 * sysdeps/posix/readdir_r.c: ... here.
26610 * sysdeps/unix/rewinddir.c: Renamed to ...
26611 * sysdeps/posix/rewinddir.c: ... here.
26612 * sysdeps/unix/seekdir.c: Renamed to ...
26613 * sysdeps/posix/seekdir.c: ... here.
26614 * sysdeps/unix/telldir.c: Renamed to ...
26615 * sysdeps/posix/telldir.c: ... here.
26616 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26617 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26618 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26619 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26620
22895b47
RM
26621 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26622 * bits/fcntl.h: ... here.
26623
707a53b6
RM
26624 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26625 not 0.
26626 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26627 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26628 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26629 (struct flock): Move l_start, l_len to the beginning.
26630 Use __pid_t for l_pid.
26631 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26632 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26633 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26634 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26635 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26636 [__USE_LARGEFILE64] (struct flock64): New type.
26637 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26638
f0bd3e25
RM
26639 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26640 * bits/dirent.h: ... here.
26641
d34689de
RM
26642 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26643 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26644
6dad2c06
JM
266452012-08-07 Joseph Myers <joseph@codesourcery.com>
26646
26647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26648 Change from 2.6.0 to 2.6.16.
26649 * sysdeps/unix/sysv/linux/configure: Regenerated.
26650 * sysdeps/unix/sysv/linux/kernel-features.h
26651 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26652 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26653 version.
26654 (__ASSUME_UTIMES): Likewise.
26655 (__ASSUME_CLONE_STOPPED): Remove.
26656 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26657 architectures, not kernel version.
26658 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26659 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26660 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26661 (__ASSUME_WAITID_SYSCALL): Likewise.
26662 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26663 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26664 * README: State 2.6.16 as minimum Linux kernel version. Do not
26665 refer to older versions.
26666
03af9520
RM
266672012-08-06 Roland McGrath <roland@hack.frob.com>
26668
8e49df1d
RM
26669 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26670 Define alphasort64 as an alias.
26671 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26672 Define versionsort64 as an alias.
26673 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26674 Define scandir64 as an alias.
26675 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26676 Define scandirat64 as an alias.
26677 * dirent/alphasort64.c (alphasort64):
26678 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26679 * dirent/versionsort64.c: Likewise.
26680 * dirent/scandir64.c: Likewise.
26681 * dirent/scandirat64.c: Likewise.
26682 * sysdeps/wordsize-64/alphasort.c: File removed.
26683 * sysdeps/wordsize-64/alphasort64.c: File removed.
26684 * sysdeps/wordsize-64/scandir.c: File removed.
26685 * sysdeps/wordsize-64/scandir64.c: File removed.
26686 * sysdeps/wordsize-64/scandirat.c: File removed.
26687 * sysdeps/wordsize-64/scandirat64.c: File removed.
26688 * sysdeps/wordsize-64/versionsort.c: File removed.
26689 * sysdeps/wordsize-64/versionsort64.c: File removed.
26690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26698
26699 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26701 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26703 [defined __arch64__ || defined __sparcv9]
26704 (__INO_T_MATCHES_INO64_T): New macro.
26705 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26706 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26707 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26708 * sysdeps/unix/sysv/linux/bits/dirent.h
26709 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26710 (_DIRENT_MATCHES_DIRENT64): New macro.
26711
03af9520
RM
26712 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26713 Define lockf64 as an alias.
26714 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26715 Define fseeko64 as an alias.
26716 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26717 Define ftello64 as an alias.
26718 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26719 Define _IO_fgetpos64 and fgetpos64 as aliases.
26720 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26721 Define _IO_fsetpos64 and fsetpos64 as aliases.
26722 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26723 Conditionalize body on this.
26724 * libio/fseeko64.c: Likewise.
26725 * libio/ftello64.c: Likewise.
26726 * libio/iofgetpos64.c: Likewise.
26727 * libio/iofsetpos64.c: Likewise.
26728 * sysdeps/wordsize-64/lockf.c: File removed.
26729 * sysdeps/wordsize-64/lockf64.c: File removed.
26730 * sysdeps/wordsize-64/fseeko.c: File removed.
26731 * sysdeps/wordsize-64/fseeko64.c: File removed.
26732 * sysdeps/wordsize-64/ftello.c: File removed.
26733 * sysdeps/wordsize-64/ftello64.c: File removed.
26734 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26735 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26736 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26737 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26748
26749 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26751 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26753 [defined __arch64__ || defined __sparcv9]
26754 (__OFF_T_MATCHES_OFF64_T): New macro.
26755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26756 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26758 (__OFF_T_MATCHES_OFF64_T): New macro.
26759
c5757acd
L
267602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 * stdlib/secure-getenv.c (__secure_getenv): Replace
26763 GLIBC_2_16 with GLIBC_2_17.
26764
3a31811e
L
267652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26766
26767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26769
faa2bccb
DM
267702012-08-03 David S. Miller <davem@davemloft.net>
26771
26772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26773
85fe1997
JM
267742012-08-03 Joseph Myers <joseph@codesourcery.com>
26775
26776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26777 Remove.
26778 (__ASSUME_CORRECT_SI_PID): Likewise.
26779 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26780 (__ASSUME_TMPFS_NAME): Likewise.
26781 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26782 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26783 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26784 (HAVE_AUX_SECURE): Make definition unconditional.
26785 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26786 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26787
4f75b7a0
RM
267882012-08-03 Roland McGrath <roland@hack.frob.com>
26789
26790 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26791 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26792 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26793 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26794 __eloop_threshold instead of SYMLOOP_MAX.
26795
26796 * sysdeps/generic/eloop-threshold.h: New file.
26797 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26798 of MAXSYMLINKS.
26799 * elf/chroot_canon.c (chroot_canon): Likewise.
26800
7aab07e4
JM
268012012-08-03 Joseph Myers <joseph@codesourcery.com>
26802
26803 [BZ #13717]
26804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26805 Change to 2.6.0 everywhere.
26806 * sysdeps/unix/sysv/linux/configure: Regenerated.
26807 * sysdeps/unix/sysv/linux/kernel-features.h
26808 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26809 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26810 kernel versions.
26811 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26812 (__ASSUME_FUTEX_REQUEUE): Remove.
26813 (__ASSUME_STATFS64): Define unconditionally.
26814 (__ASSUME_AT_SECURE): Likewise.
26815 (__ASSUME_CORRECT_SI_PID): Likewise.
26816 (__ASSUME_TGKILL): Define without depending on kernel version for
26817 i386.
26818 (__ASSUME_UTIMES): Likewise.
26819 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26820 kernel version.
26821 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26822 (__ASSUME_TMPFS_NAME): Likewise.
26823 * README: Update reference to Linux kernel versions.
26824
b67e9372
MP
268252012-08-02 Marek Polacek <polacek@redhat.com>
26826
1f529f7d 26827 [BZ# 14150]
b67e9372
MP
26828 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26829 libc_cv_asm_type_prefix with %.
26830 * configure: Regenerated.
d2441631
RM
26831 * include/libc-symbols.h: Remove comment about
26832 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26833 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26834 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26835 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26836 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26837 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26839 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26840 * elf/tst-unique2mod1.c: Likewise.
26841 * elf/tst-unique1mod2.c: Likewise.
26842 * elf/tst-unique1mod1.c: Likewise.
26843 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26844 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26845 Replace ASM_TYPE_DIRECTIVE with .type.
26846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26847 * sysdeps/i386/sysdep.h: Likewise.
26848 * sysdeps/x86_64/sysdep.h: Likewise.
26849 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26851 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26852 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26853 * sysdeps/powerpc/powerpc32/sysdep.h:
26854 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26855 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26856 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26857 * sysdeps/i386/fpu/e_powf.S: Likewise.
26858 * sysdeps/i386/fpu/e_expl.S: Likewise.
26859 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26861 * sysdeps/i386/fpu/e_pow.S: Likewise.
26862 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26864 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26865 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26866 * sysdeps/i386/fpu/e_log2.S: Likewise.
26867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26869 * sysdeps/i386/fpu/e_powl.S: Likewise.
26870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26872 * sysdeps/i386/fpu/e_logl.S: Likewise.
26873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26874 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26875 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26876 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26877 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26878 * sysdeps/i386/fpu/e_log.S: Likewise.
26879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26880 * sysdeps/i386/fpu/e_logf.S: Likewise.
26881 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26884 * sysdeps/i386/fpu/e_log10.S: Likewise.
26885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26890 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26892 * sysdeps/i386/i686/strtok.S: Likewise.
26893 * sysdeps/i386/i386-mcount.S: Likewise.
26894 * sysdeps/i386/strtok.S: Likewise.
26895 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26896 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26898 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26899 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26901 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26902 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26903 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26904 * sysdeps/x86_64/_mcount.S: Likewise.
26905 * sysdeps/x86_64/strtok.S: Likewise.
26906 * sysdeps/sh/_mcount.S: Likewise.
26907
2747bf9a
RM
269082012-08-01 Roland McGrath <roland@hack.frob.com>
26909
26910 * libio/iofopen.c: Include <fcntl.h>.
26911 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26912 (_IO_fopen64, fopen64): Define as aliases.
26913 * libio/iofopen64.c: Include <fcntl.h>.
26914 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26915 Conditionalize body on this.
26916 * sysdeps/wordsize-64/iofopen.c: File removed.
26917 * sysdeps/wordsize-64/iofopen64.c: File removed.
26918
3fb791b8
MP
269192012-08-01 Marek Polacek <polacek@redhat.com>
26920
26921 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26922 Use dlfcn directly instead of a variable.
26923 (binfmt-subdir): Do not define.
26924 (dlfcn): Likewise.
26925
a9f1039f
JM
269262012-08-01 Joseph Myers <joseph@codesourcery.com>
26927
23bddc06
JM
26928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26929 Remove all definitions.
26930 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26931 <kernel-features.h>.
26932 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26933 (miss_F_GETOWN_EX): Remove all definitions.
26934 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26935 macro definition.
26936 [!__ASSUME_FCNTL64]: Remove conditional code.
26937 [__ASSUME_FCNTL64]: Make code unconditional.
26938 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26939 <kernel-features.h>.
26940 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26941 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26942 (lockf64) [__NR_fcntl64]: Make code unconditional.
26943 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26944
a9f1039f
JM
26945 * sysdeps/unix/sysv/linux/kernel-features.h
26946 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26947 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26948 Make code unconditional.
26949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26952 [__NR_vfork]: Make code unconditional.
26953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26956 [__NR_vfork]: Make code unconditional.
26957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26959
09c0ee5f
RM
269602012-08-01 Roland McGrath <roland@hack.frob.com>
26961
48aec5b9
RM
26962 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26963 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26964
cd97c966
RM
26965 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26966 Define mkstemp64 as an alias.
3f55550c
RM
26967 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26968 Define mkstemps64 as an alias.
cd97c966
RM
26969 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26970 Define mkostemp64 as an alias.
b8625cfc
RM
26971 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26972 Define mkostemps64 as an alias.
cd97c966
RM
26973 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26974 Conditionalize body on this.
26975 * misc/mkostemp64.c: Likewise.
b8625cfc 26976 * misc/mkostemps64.c: Likewise.
3f55550c 26977 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26978 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26979 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26980 * sysdeps/wordsize-64/mkostemp.c: File removed.
26981 * sysdeps/wordsize-64/mkstemp.c: File removed.
26982 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26986
09c0ee5f
RM
26987 [BZ #14138]
26988 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26989 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26990 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26991 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26992
26993 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26994 compat_symbol macros from <shlib-compat.h> rather than the underlying
26995 default_symbol_version and symbol_version macros, so that DEFAULT
26996 lines in shlib-versions are respected.
26997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26998
7e66ee51
FW
269992012-08-01 Florian Weimer <fweimer@redhat.com>
27000
27001 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27002 Declare with warn_unused_result.
27003 (setgid, setregid, setegid, setresgid): Likewise.
27004 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27005 Likewise.
27006 * WUR-REPORT: Remove set*id functions.
27007
d2a54255
PT
270082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27009
27010 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27011
7ecdb005
RM
270122012-07-31 Roland McGrath <roland@hack.frob.com>
27013
b4180a5e 27014 [BZ #10191]
789bd351
RM
27015 * include/sys/socket.h (__libc_accept, __libc_accept4):
27016 Add attribute_hidden.
27017 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27018
40ce302d
RM
27019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27020 use of PTR_MANGLE.
27021 * inet/getnetgrent_r.c (setup): Likewise.
27022
7ecdb005
RM
27023 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27024
e2eabb2c
DM
270252012-07-31 David S. Miller <davem@davemloft.net>
27026
27027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27028
d0419dbf
JM
270292012-07-31 Joseph Myers <joseph@codesourcery.com>
27030
27031 [BZ #13629]
27032 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27033 value between 1.0 and 2.0 and smaller part has absolute value less
27034 than 1.0.
27035 * math/s_clog10.c (__clog10): Likewise.
27036 * math/s_clog10f.c (__clog10f): Likewise.
27037 * math/s_clog10l.c (__clog10l): Likewise.
27038 * math/s_clogf.c (__clogf): Likewise.
27039 * math/s_clogl.c (__clogl): Likewise.
27040 * math/libm-test.inc (clog_test): Add more tests.
27041 (clog10_test): Likewise.
27042 * sysdeps/i386/fpu/libm-test-ulps: Update.
27043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27044
2bc13872
FW
270452012-07-31 Florian Weimer <fweimer@redhat.com>
27046
27047 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27048 Exit with zero in case no suitable GID is found, and write a
27049 message to standard error.
27050
bea9b193
RM
270512012-07-30 Roland McGrath <roland@hack.frob.com>
27052
27053 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27054 rather than to 1.
27055 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27056 (MAXPATHLEN): Removed.
27057 (NOGROUP, NODEV): New macros.
27058 (setbit, clrbit, isset, isclr): New macros.
27059 (howmany, roundup, powerof2): New macros.
27060 (DEV_BSIZE): New macro.
27061
27062 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27063 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27064
27065 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27066 definition on [!__NO_LONG_DOUBLE_MATH].
27067
27068 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27069 PTR_MANGLE and PTR_DEMANGLE.
27070
27071 * socket/accept4.c (accept4): Rename to __libc_accept4.
27072 Define accept4 as a weak alias.
27073
27074 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27075 on [_DIRENT_HAVE_D_TYPE].
27076 * io/ftw.c (ftw_dir): Likewise.
27077
27078 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27079
27080 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27081
27082 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27083 Use the BSD numbers rather than the arbitrary ones we had.
27084 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27085 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27086 (SIGXCPU, SIGXFSZ): New macros.
27087 (_NSIG): Now 32.
27088
27089 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27090 initializer on [_LIBC_REENTRANT].
27091
27092 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27093 definitions inside [_POSIX_MAPPED_FILES].
27094
27095 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27096
27097 * dirent/opendir.c: Include <fcntl.h>.
27098
27099 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27100 (__libc_getspecific): Likewise.
27101 (__libc_key_create): Likewise.
27102
27103 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27104 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27105 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27106 (tmpfile64): Define as alias.
27107 * sysdeps/wordsize-64/tmpfile.c: File removed.
27108 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27111
27112 * stdio-common/vfscanf.c: Include <stdbool.h>.
27113 * nss/makedb.c: Likewise.
27114 * stdio-common/_i18n_number.h: Likewise.
27115 * argp/argp-help.c: Likewise.
27116 * posix/wordexp.c: Likewise.
27117 * sysdeps/posix/spawni.c: Likewise.
27118 * nss/nss_files/files-initgroups.c: Likewise.
27119 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27120 * nss/nss_files/files-initgroups.c: Likewise.
27121 * nss/nss_db/db-netgrp.c: Likewise.
27122 * nss/nss_db/db-initgroups.c: Likewise.
27123 * io/fchmodat.c: Include <sys/stat.h>.
27124
27125 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27126 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27127
27128 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27129 [HAVE_MMAP].
27130
27131 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27132 Add multiple inclusion protection.
27133
e5abc686
DM
271342012-07-27 David S. Miller <davem@davemloft.net>
27135
27136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27137
815e6fa3
GB
271382012-07-27 Gary Benson <gbenson@redhat.com>
27139
27140 [BZ #14298]
27141 * elf/rtld.c: Include <stap-probe.h>.
27142 (dl_main): Added static probes "init_start" and "init_complete".
27143 * elf/dl-load.c: Include <stap-probe.h>.
27144 (lose): Take new parameter "nsid".
27145 Added static probe "map_failed".
27146 (_dl_map_object_from_fd): Pass namespace id to lose.
27147 Added static probe "map_start".
27148 (open_verify): Pass namespace id to lose.
27149 * elf/dl-open.c: Include <stap-probe.h>.
27150 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27151 and "reloc_complete".
27152 * elf/dl-close.c: Include <stap-probe.h>.
27153 (_dl_close_worker): Added static probes "unmap_start" and
27154 "unmap_complete".
27155 * elf/rtld-debugger-interface.txt: New file documenting the above.
27156
9f98c16c
RM
271572012-07-26 Roland McGrath <roland@hack.frob.com>
27158
27159 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27160 rather than a string variable.
27161 * sunrpc/rpc_main.c (h_output): Likewise.
27162 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27163
f3c22df3
PT
271642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27165
27166 * inet/check_native.c: New file.
27167
3129cfc6
JM
271682012-07-26 Joseph Myers <joseph@codesourcery.com>
27169
da865e95
JM
27170 [BZ #13629]
27171 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27172 if larger part has absolute value 1.0.
27173 * math/s_clog10.c (__clog10): Likewise.
27174 * math/s_clog10f.c (__clog10f): Likewise.
27175 * math/s_clog10l.c (__clog10l): Likewise.
27176 * math/s_clogf.c (__clogf): Likewise.
27177 * math/s_clogl.c (__clogl): Likewise.
27178 * math/libm-test.inc (clog_test): Add more tests.
27179 (clog10_test): Likewise.
27180 * sysdeps/i386/fpu/libm-test-ulps: Update.
27181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27182
3129cfc6
JM
27183 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27184 (pltexit): Likewise.
27185 (La_regs): Likewise.
27186 (La_retval): Likewise.
27187 (int_retval): Likewise.
27188 Update #error for removed macros to refer only to definitions in
27189 tst-audit.h.
27190 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27191 macro.
27192 (pltexit): Likewise.
27193 (La_regs): Likewise.
27194 (La_retval): Likewise.
27195 (int_retval): Likewise.
27196 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27197 macro.
27198 (pltexit): Likewise.
27199 (La_regs): Likewise.
27200 (La_retval): Likewise.
27201 (int_retval): Likewise.
27202 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27203 macro.
27204 (pltexit): Likewise.
27205 (La_regs): Likewise.
27206 (La_retval): Likewise.
27207 (int_retval): Likewise.
27208 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27209 macro.
27210 (pltexit): Likewise.
27211 (La_regs): Likewise.
27212 (La_retval): Likewise.
27213 (int_retval): Likewise.
27214 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27215 macro.
27216 (pltexit): Likewise.
27217 (La_regs): Likewise.
27218 (La_retval): Likewise.
27219 (int_retval): Likewise.
27220 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27221 macro.
27222 (pltexit): Likewise.
27223 (La_regs): Likewise.
27224 (La_retval): Likewise.
27225 (int_retval): Likewise.
27226 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27227 macro definitions in tst-audit.h.
27228 * sysdeps/i386/tst-audit.h: New file.
27229 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27230 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27231 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27232 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27233 * sysdeps/sh/tst-audit.h: Likewise.
27234 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27235 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27236 * sysdeps/x86_64/tst-audit.h: Likewise.
27237
bfc07087
AJ
272382012-07-26 Andreas Jaeger <aj@suse.de>
27239
b1b2aaf8
AJ
27240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27241 ptrace.
27242
27243 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27244 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27245 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27246 PTRACE_O_MASK.
27247 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27248 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27249 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27250
bfc07087
AJ
27251 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27252 value.
27253
27254 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27255 _sigsys.
27256 (si_call_addr, si_syscall, si_arch): Define new macro.
27257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27258 _sigsys.
27259 (si_call_addr, si_syscall, si_arch): Define new marcro.
27260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27261 _sigsys.
27262 (si_call_addr, si_syscall, si_arch): Define new macro.
27263 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27264 _sigsys.
27265 (si_call_addr, si_syscall, si_arch): Define new macro.
27266
89b4b02f
JM
272672012-07-25 Joseph Myers <joseph@codesourcery.com>
27268
27269 [BZ #13717]
27270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27271 Change to 2.4.21 where previously 2.4.1.
27272 * sysdeps/unix/sysv/linux/configure: Regenerated.
27273 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27274 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27275 Linux kernel version.
27276 (__ASSUME_STD_AUXV): Remove.
27277 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27278 kernel version.
27279 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27280 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27281 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27282 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27283 (__ASSUME_NETLINK_SUPPORT): Likewise.
27284 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27285 (__no_netlink_support): Remove conditional definition.
27286 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27287 Remove.
27288 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27289 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27290 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27291 (if_nameindex_ioctl): Remove.
27292 (if_nameindex_netlink): Do not handle __no_netlink_support.
27293 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27294 code.
27295 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27296 Remove conditional code.
27297 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27298 code.
27299 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27300 unconditional.
27301 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27302 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27303 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27304 Remove.
27305 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27306 [!__ASSUME_STD_AUXV]: Remove conditional code.
27307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27308 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27309 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27312 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27313 code.
27314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27316 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27317 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27318 conditional code.
27319 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27321 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27322 code.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27325 conditional code.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27327 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27328 code unconditional.
27329 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27330 conditional code.
27331 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27332 unconditional.
27333 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27334 conditional code.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27336 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27337 unconditional.
27338 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27339 conditional code.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27341 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27342 code unconditional.
27343 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27344 conditional code.
27345 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27346 unconditional.
27347 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27348 conditional code.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27350 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27351 code unconditional.
27352 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27353 conditional code.
27354 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27355 unconditional.
27356 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27357 conditional code.
27358
842a39cd
AS
273592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27360
27361 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27362 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27363 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27364 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27365 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27366 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27367 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27368 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27369 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27370 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27371 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27372 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27373 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27374 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27377 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27379 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27382 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27384
84b3fd84
FW
273852012-07-25 Florian Weimer <fweimer@redhat.com>
27386
27387 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27388 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27389 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27390 Introduce __libc_secure_getenv.
0c7936d5
FW
27391 * stdlib/Versions (2.17): Add secure_getenv
27392 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27393 * stdlib/secure-getenv.c: Rename __secure_getenv to
27394 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27395 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27396 * stdlib/tst-secure-getenv.c: New.
27397 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27398 * manual/startup.texi (Environment Access): Document
27399 secure_getenv.
84b3fd84
FW
27400 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27401 __libc_secure_getenv.
27402 * inet/ruserpass.c (ruserpass): Likewise.
27403 * malloc/mtrace.c (mtrace): Likewise.
27404 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27405 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27406 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27407 * sysdeps/posix/tempname.c: Likewise. Evaluate
27408 HAVE_SECURE_GETENV.
27409 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27410 __secure_getenv to __libc_secure_getenv.
84b3fd84 27411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27413 Likewise.
27414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27415 Likewise.
27416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27423
56e49b71
JM
274242012-07-25 Joseph Myers <joseph@codesourcery.com>
27425
27426 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27427 (struct La_i86_retval): Likewise.
27428 (struct La_x86_64_regs): Likewise.
27429 (struct La_x86_64_retval): Likewise.
27430 (struct La_x32_regs): Likewise.
27431 (struct La_x32_retval): Likewise.
27432 (struct La_ppc32_regs): Likewise.
27433 (struct La_ppc32_retval): Likewise.
27434 (struct La_ppc64_regs): Likewise.
27435 (struct La_ppc64_retval): Likewise.
27436 (struct La_sh_regs): Likewise.
27437 (struct La_sh_retval): Likewise.
27438 (struct La_s390_32_regs): Likewise.
27439 (struct La_s390_32_retval): Likewise.
27440 (struct La_s390_64_regs): Likewise.
27441 (struct La_s390_64_retval): Likewise.
27442 (struct La_sparc32_regs): Likewise.
27443 (struct La_sparc32_retval): Likewise.
27444 (struct La_sparc64_regs): Likewise.
27445 (struct La_sparc64_retval): Likewise.
27446 (struct audit_ifaces): Remove architecture-specific pltenter and
27447 pltexit members.
27448 * sysdeps/i386/ldsodefs.h: New file.
27449 * sysdeps/powerpc/ldsodefs.h: Likewise.
27450 * sysdeps/s390/ldsodefs.h: Likewise.
27451 * sysdeps/sh/ldsodefs.h: Likewise.
27452 * sysdeps/sparc/ldsodefs.h: Likewise.
27453 * sysdeps/x86_64/ldsodefs.h: Likewise.
27454
354691b7
MP
274552012-07-25 Marek Polacek <polacek@redhat.com>
27456
27457 [BZ #6808]
27458 * math/libm-test.inc (yn_test): Add another test.
27459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27460 to ERANGE when the result is +-Inf.
27461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27464 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27465
bf9e2071
JM
274662012-07-24 Joseph Myers <joseph@codesourcery.com>
27467
27468 * conform/data/time.h-data (NULL): Use macro-constant. Require
27469 equal to 0.
27470 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27471 clock_t.
27472 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27473
57633811
TS
274742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27475
27476 * configure.in <sysdeps resolving>: Correct printing
27477 Implies_before.
27478 * configure: Regenerate.
27479
c23c33b0
TS
274802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27481
27482 * math/w_ilogb.c: Include <limits.h>.
27483 * math/w_ilogbl.c: Likewise.
27484
b5982523
JM
274852012-07-20 Joseph Myers <joseph@codesourcery.com>
27486
27487 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27488 va_copy. Document allowing for unavailable va_copy only as
27489 pre-C99 compatibility.
27490 * manual/string.texi (Copying and Concatenation): Use va_copy
27491 instead of __va_copy in concat example.
27492
ac4ea442
PT
274932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27494
27495 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27496 (__sendto): Use create_address_port. Initialize APORT and deallocate
27497 it if not null.
27498
f98eafbd
PT
27499 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27500 with O_NOLINK passed to __file_name_lookup.
27501
898c7aab
PT
27502 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27503 with O_NOLINK passed to __file_name_lookup.
27504
0ced335a
PT
27505 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27506 negative N or less than NGIDS.
27507
b3404dbd
PT
27508 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27509 type to string_t. Set ERANGE as errno and return it if NAME is not big
27510 enough. Use memcpy instead of strncpy.
27511
0f48659e
JM
275122012-07-20 Joseph Myers <joseph@codesourcery.com>
27513
27514 * elf/Makefile (check-data): Remove.
27515 (localplt.data): New vpath directive.
27516 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27517 instead of $(check-data).
27518 * scripts/data/localplt-generic.data: Move to ...
27519 * sysdeps/generic/localplt.data: ... here.
27520 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27521 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27522 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27524 ... here.
27525 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27527 ... here.
27528 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27530 ... here.
27531 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27533 ... here.
27534 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27536 ... here.
27537 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27539 ... here.
27540
d37cbdaa
AZ
275412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27542
27543 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27544 PPC32 and PPC64 files.
27545 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27546 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27547
46f85fc2
AK
275482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27549
27550 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27551 __makecontext_ret to ...
27552 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27553 ... here and call exit if uc_link is NULL. New file.
27554 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27555 __makecontext_ret.S.
27556 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27557 __makecontext_ret to ...
27558 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27559 ... here and call exit if uc_link is NULL. New file.
27560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27561 __makecontext_ret.S.
27562
08f43f9b
AK
275632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27564
27565 * elf/elf.h (R_390_IRELATIVE): New definition.
27566 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27567 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27568 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27570 (elf_machine_lazy_rel): Likewise.
27571 * sysdeps/s390/dl-irel.h: New file.
27572 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27573 * sysdeps/s390/s390-64/memset.S: New asm code.
27574 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27575 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27576 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27577 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27578 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27579 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27581 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27582 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27583 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27584 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27585 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27586 * sysdeps/s390/s390-32/memset.S: New asm code.
27587 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27588
3b05db33
MP
275892012-07-17 Marek Polacek <polacek@redhat.com>
27590
27591 [BZ #14349]
27592 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27593 * sysdeps/s390/s390-64/configure.in: Likewise.
27594 * sysdeps/sparc/configure.in: Likewise.
27595 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27596 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27597 * sysdeps/i386/configure.in: Likewise.
27598 * sysdeps/x86_64/configure.in: Likewise.
27599 * sysdeps/sh/configure.in: Likewise.
27600 * sysdeps/s390/s390-32/configure: Regenerated.
27601 * sysdeps/s390/s390-64/configure: Likewise.
27602 * sysdeps/x86_64/configure: Likewise.
27603 * sysdeps/sh/configure: Likewise.
27604 * sysdeps/powerpc/powerpc64/configure: Likewise.
27605 * sysdeps/powerpc/powerpc32/configure: Likewise.
27606 * sysdeps/sparc/configure: Likwise.
27607 * sysdeps/i386/configure: Likewise.
27608
a66877c6
MP
27609 * elf/dl-open.c: Comment fixes.
27610
cfc82fd8
JM
276112012-07-17 Joseph Myers <joseph@codesourcery.com>
27612
bd29910a
JM
27613 * Makefile [CXX] (check-data): Remove.
27614 [CXX] (c++-types.data): New vpath directive.
27615 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27616 vpath. Do not allow for C++ type data being missing.
27617 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27618 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27619 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27620 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27621 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27622 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27623 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27625 ... here.
27626 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27628 ... here.
27629 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27631 ... here.
27632 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27634 ... here.
27635 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27637 ... here.
27638 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27640 ... here.
27641 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27643 ... here.
27644 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27646
cfc82fd8
JM
27647 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27648 definitions to architecture-specific files.
27649 (TLS_IE): Likewise.
27650 (TLS_LD): Likewise.
27651 (TLS_GD): Likewise.
27652 * sysdeps/i386/tls-macros.h: New file.
27653 * sysdeps/powerpc/tls-macros.h: Likewise.
27654 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27655 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27656 * sysdeps/sh/tls-macros.h: Likewise.
27657 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27658 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27659 * sysdeps/x86_64/tls-macros.h: Likewise.
27660
f7db3170
TS
276612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27662
07cbfc23
TS
27663 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27664 zero value for regular exit case.
27665
f7db3170
TS
27666 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27667 (__start_context): Preserve zero value for regular exit case.
27668
dc97c227
TS
276692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27670 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27671
27672 * manual/setjmp.texi (setcontext): Clarify normal process
27673 termination when uc_link is the null pointer.
27674 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27675 exit call.
27676
d0cd7d02
AS
276772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27678
27679 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27680 preprocessor. Test for each exception mask separately.
27681
dd318934
AJ
276822012-07-16 Andreas Jaeger <aj@suse.de>
27683
27684 * po/ru.po: Update from translation team.
27685
8048311a
JM
276862012-07-15 Joseph Myers <joseph@codesourcery.com>
27687
27688 * conform/data/string.h-data (NULL): Use macro-constant. Require
27689 equal to 0.
27690 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27691 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27692 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27693 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27695
b637d46e
AJ
276962012-07-13 Andreas Jaeger <aj@suse.de>
27697
27698 * po/fr.po: Update from translation team.
27699
541428fe
MP
277002012-07-12 Marek Polacek <polacek@redhat.com>
27701
27702 [BZ #14173]
27703 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27705 loop condition.
27706
ec332e94
JM
277072012-07-12 Joseph Myers <joseph@codesourcery.com>
27708
27709 [BZ #13717]
27710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27711 Change to 2.4.1 where previously 2.4.0.
27712 * sysdeps/unix/sysv/linux/configure: Regenerated.
27713 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27714 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27715 version.
27716 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27717 (__ASSUME_AT_CLKTCK): Remove.
27718 (__ASSUME_AT_PAGESIZE): Likewise.
27719 (__ASSUME_AT_XID): Likewise.
27720 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27721 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27722 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27723 unconditionally.
27724 (HAVE_AUX_PAGESIZE): Likewise.
27725 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27726 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27727 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27728
7b6e99be
JB
277292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27730
27731 [BZ #14307]
27732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27733 the temporary buffer used to invoke __gethostbyname2_r,
27734 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27735 host_data / struct gaih_addrtuple.
27736 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27737 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27738 header file nss/nsswitch.h.
27739 * nss/nsswitch.h (global scope): Add definition of implementation
27740 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27741 resolv/nss_dns/dns-host.c).
27742
608404eb
AJ
277432012-07-11 Andreas Jaeger <aj@suse.de>
27744
27745 * po/fr.po: Update from translation team.
27746
71220aca
AJ
27747 * po/sv.po: Update from translation team
27748 * po/fr.po: Another update from translation team.
27749
28cfe843
AZ
277502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27751
27752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27753 for subnormals or multiply small sinh result by itself.
27754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27756
6b90f981
DM
277572012-07-11 David S. Miller <davem@davemloft.net>
27758
27759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27760
c6825772
AS
277612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27762
27763 [BZ #14347]
27764 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27765 (INTERNAL_MARK): Shift it here.
27766
7b8e0d49
MP
277672012-07-10 Marek Polacek <polacek@redhat.com>
27768
27769 [BZ #14151]
27770 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27771 libc_cv_asm_global_directive with .globl.
27772 * configure: Regenerated.
27773 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27774 with .globl.
27775 * sysdeps/i386/configure: Regenerated.
27776 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27777 with .globl.
27778 * sysdeps/x86_64/configure: Regenerated.
27779 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27780 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27781 * elf/tst-unique2mod2.c: Likewise.
27782 * elf/tst-unique2mod1.c: Likewise.
27783 * elf/tst-unique1mod2.c: Likewise.
27784 * elf/tst-unique1mod1.c: Likewise.
27785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27786 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27788 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27789 * sysdeps/mach/sysdep.h: Likewise.
27790 * sysdeps/i386/sysdep.h: Likewise.
27791 * sysdeps/i386/i386-mcount.S: Likewise.
27792 * sysdeps/x86_64/_mcount.S: Likewise.
27793 * sysdeps/x86_64/sysdep.h: Likewise.
27794 * sysdeps/sh/_mcount.S: Likewise.
27795 * sysdeps/sh/sysdep.h: Likewise.
27796 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27797 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27798 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27800 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27802 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27803 * locale/localeinfo.h: Likewise.
27804 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27805 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27806
6c55cda3
RM
278072012-07-09 Roland McGrath <roland@hack.frob.com>
27808
27809 [BZ #14336]
27810 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27811 system".
27812 * manual/message.texi (The Uniforum approach): Likewise.
27813 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27814 (glibc iconv Implementation): Likewise.
27815
638a572e
JM
278162012-07-09 Joseph Myers <joseph@codesourcery.com>
27817
27818 [BZ #14337]
27819 * math/s_clog.c (__clog): Avoid scaling a value down where that
27820 could result in underflow.
27821 * math/s_clog10.c (__clog10): Likewise.
27822 * math/s_clog10f.c (__clog10f): Likewise.
27823 * math/s_clog10l.c (__clog10l): Likewise.
27824 * math/s_clogf.c (__clogf): Likewise.
27825 * math/s_clogl.c (__clogl): Likewise.
27826 * math/libm-test.inc (clog_test): Add more tests.
27827 (clog10_test): Likewise.
27828 * sysdeps/i386/fpu/libm-test-ulps: Update.
27829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27830
261f4859
AS
278312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27832
0abaf3e4
AS
27833 [BZ #14283]
27834 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27835 by 7 not 8 to examine high bit of fractional part.
27836
261f4859
AS
27837 [BZ #14042]
27838 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27839 for call to __mcount_internal.
27840 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27841 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27842 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27843
f17ac40d
JM
278442012-07-06 Joseph Myers <joseph@codesourcery.com>
27845
9ad63c23
JM
27846 [BZ #14154]
27847 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27848 approximation for values within 0x1p-13f of an odd multiple of
27849 pi/4.
27850 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27851 exception. Add more tests.
27852 * sysdeps/i386/fpu/libm-test-ulps: Update.
27853
f17ac40d
JM
27854 [BZ #6778]
27855 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27856 inputs and return -1 for them. Do not check for +Inf in case not
27857 reachable for +Inf.
27858 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27859 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27861 and return -1 for them. Do not check for +Inf in case not
27862 reachable for +Inf.
27863 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27864 define.
27865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27866 and return -1 for them. Do not check for +Inf in case not
27867 reachable for +Inf.
27868 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27869 spurious underflow.
27870 * sysdeps/i386/fpu/libm-test-ulps: Update.
27871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27872
fb21f89b
MF
278732012-07-06 Mike Frysinger <vapier@gentoo.org>
27874
27875 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27876
cdfe2c5e
JM
278772012-07-05 Joseph Myers <joseph@codesourcery.com>
27878
27879 [BZ #14157]
27880 [BZ #14331]
27881 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27882 could result in spurious underflow. Scale down values above
27883 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27884 * math/s_csqrtf.c (__csqrtf): Likewise.
27885 * math/s_csqrtl.c (__csqrtl): Likewise.
27886 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27887 spurious underflow.
27888 * sysdeps/i386/fpu/libm-test-ulps: Update.
27889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890
70d35b67
AS
278912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27892
704bc459
AS
27893 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27894 xopen-msg.sed.
27895 * catgets/xopen-msg.awk: New file.
27896 * catgets/xopen-msg.sed: Removed.
27897
70d35b67
AS
27898 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27899 po2text.sed.
27900 * intl/po2test.awk: New file.
27901 * intl/po2test.sed: Removed.
27902
ca61cf32
JM
279032012-07-04 Joseph Myers <joseph@codesourcery.com>
27904
27905 [BZ #14328]
27906 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27907 or multiply small sinh result by itself.
27908 * math/s_ctanf.c (__ctanf): Likewise.
27909 * math/s_ctanh.c (__ctanh): Likewise.
27910 * math/s_ctanhf.c (__ctanhf): Likewise.
27911 * math/s_ctanhl.c (__ctanhl): Likewise.
27912 * math/s_ctanl.c (__ctanl): Likewise.
27913 * math/libm-test.inc (ctan_test_tonearest): New function.
27914 (ctan_test_towardzero): Likewise.
27915 (ctan_test_downward): Likewise.
27916 (ctan_test_upward): Likewise.
27917 (ctanh_test_tonearest): Likewise.
27918 (ctanh_test_towardzero): Likewise.
27919 (ctanh_test_downward): Likewise.
27920 (ctanh_test_upward): Likewise.
27921 (main): Call these new functions.
27922 * sysdeps/i386/fpu/libm-test-ulps: Update.
27923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27924
ca48a46a
MF
279252012-07-03 Mike Frysinger <vapier@gentoo.org>
27926
27927 * .gitignore: Delete /ports entry.
27928
9d63d37d
AJ
279292012-07-03 Andreas Jaeger <aj@suse.de>
27930
27931 * po/bg.po: Update from translation team.
27932 * po/cs.po: Likewise.
27933 * po/de.po: Likewise.
27934 * po/hr.po: Likewise.
27935 * po/nl.pl: Likewise.
27936 * po/pl.po: Likewise.
27937 * po/vi.po: Likewise.
27938
370ca3d2
JM
279392012-07-03 Joseph Myers <joseph@codesourcery.com>
27940
95f5a9a8
JM
27941 * Makeconfig [!+link] (+link-before-libc): New variable.
27942 [!+link] (+link-after-libc): Likewise.
27943 [!+link] (+link-tests): Likewise.
27944 [!+link] (+link): Define in terms of $(+link-before-libc) and
27945 $(+link-after-libc).
27946 [!+link-static] (+link-static-before-libc): New variable.
27947 [!+link-static] (+link-static-after-libc): Likewise.
27948 [!+link-static] (+link-static-tests): Likewise.
27949 [!+link-static] (+link-static): Define in terms of
27950 $(+link-static-before-libc) and $(+link-static-after-libc).
27951 [build-shared] (link-libc-before-gnulib): New variable.
27952 [build-shared] (link-libc-tests): Likewise.
27953 [build-shared] (link-libc): Define in terms of
27954 $(link-libc-before-gnulib).
27955 [!build-shared] (link-libc-tests): New variable.
27956 (link-libc-static-tests): New variable.
27957 [!gnulib] (gnulib-arch): New variable.
27958 [!gnulib] (gnulib-tests): Likewise.
27959 [!gnulib] (static-gnulib-arch): Likewise.
27960 [!gnulib] (static-gnulib-tests): Likewise.
27961 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27962 Define with "=" instead of ":=".
27963 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27964 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27965 * Rules (binaries-all-notests): New variable.
27966 (binaries-all-tests): Likewise.
27967 (binaries-static-notests): Likewise.
27968 (binaries-static-tests): Likewise.
27969 (binaries-all): Define using $(binaries-all-notests) and
27970 $(binaries-all-tests).
27971 (binaries-static): Define using $(binaries-static-notests) and
27972 $(binaries-static-tests).
27973 (binaries-shared-tests): New variable.
27974 (binaries-shared-notests): Likewise.
27975 (binaries-shared): Remove variable.
27976 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27977 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27978 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27979 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27980 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27981 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27982 * elf/Makefile (sln-modules): New variable.
27983 (extra-objs): Add $(sln-modules:=.o).
27984 (ldconfig-modules): Add static-stubs.
27985 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27986 * elf/static-stubs.c: New file.
27987
7a845b2c
JM
27988 [BZ #14283]
27989 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27990 by 7 not 8 to examine high bit of fractional part. Use volatile
27991 variables when splitting into final array of floats if
27992 __FLT_EVAL_METHOD__ != 0.
27993 * math/libm-test.inc (cos_test): Add another test.
27994 (sin_test): Likewise.
27995 * sysdeps/i386/fpu/libm-test-ulps: Update.
27996
e2283f38
JM
27997 [BZ #14273]
27998 * math/libm-test.inc (cosh_test): Add more tests.
27999
370ca3d2
JM
28000 * version.h (RELEASE): Set to "development".
28001 (VERSION): Set to "2.16.90".
28002
ee9247c3
CD
280032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28004
28005 * NEWS: Update copyright. Remove last-updated date.
28006 Mention math library bug fixes and timezone data changes.
28007 * README: Mention GNU/Hurd, x32, and HPPA support status.
28008
4648c381
TS
280092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28010
28011 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28012
aac78a43
AJ
280132012-06-27 Andreas Jaeger <aj@suse.de>
28014
28015 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28016
ed3dbfad
AJ
280172012-06-25 Andreas Jaeger <aj@suse.de>
28018
28019 * sysdeps/s390/fpu/libm-test-ulps: Update.
28020
4d0ee855
AS
280212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28022 Thomas Schwinge <thomas@codesourcery.com>
28023
28024 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28025 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28027 fanotify_mark.
28028
af1bce34
TS
280292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28030
a9fa33ba
TS
28031 * sysdeps/mach/start.c: Remove file.
28032 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28033 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28034 * sysdeps/sh/init-first.c: Likewise.
28035
58f902b8
TS
28036 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28037 registers for frame unwinding purposes, add CFI directives.
28038 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28040 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28041 Likewise.
28042
1518f58b
TS
28043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28044 __fortify_fail returning.
28045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28046
db9b5059
TS
28047 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28048 sysdeps/sh/____longjmp_chk.S.
28049 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28050 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28051 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28052 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28053
967705fe
TS
28054 * sysdeps/sh/abort-instr.h: New file.
28055 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28056 process in case exit returns.
28057
a9def8c4
TS
28058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28059 initialize the GOT register before use.
28060
2a649725
TS
28061 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28062 calculation of ARGC > 4.
28063
af1bce34
TS
28064 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28065 meaningful names to some local labels.
28066
d230f50a
KK
280672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28068 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28069
28070 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28071 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28072 (__arch_compare_and_exchange_val_16_acq): Likewise.
28073 (__arch_compare_and_exchange_val_32_acq): Likewise.
28074 (atomic_exchange_and_add): Fix gUSA sequence.
28075 (atomic_add): Likewise.
28076 (atomic_add_negative): Likewise.
28077 (atomic_add_zero): Likewise.
28078 (atomic_bit_test_set): Likewise.
28079
0479b305
AS
280802012-06-22 Andreas Schwab <schwab@redhat.com>
28081
28082 [BZ #13579]
28083 * include/link.h (struct link_map): Add l_free_initfini.
28084 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28085 l_initfini.
28086 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28087 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28088 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28089 set.
28090
0e3933b9
CD
280912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28092
28093 * configure.in: Use AC_LANG_SOURCE.
28094 * configure: Regenerate.
28095
4248b1b1
RM
280962012-06-22 Roland McGrath <roland@hack.frob.com>
28097
28098 * configure.in (libc_cv_localstatedir): New substituted variable.
28099 * configure: Regenerated.
28100 * config.make.in (localstatedir): New variable, substituted from
28101 libc_cv_localstatedir.
28102 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28103 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28104 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28105 * sysdeps/gnu/configure: Regenerated.
28106
006dd861
JL
281072012-06-21 Jeff Law <law@redhat.com>
28108
28109 [BZ #14277]
28110 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28111 free. Simplify list management for _LIBC case.
28112
79662d42
JM
281132012-06-21 Joseph Myers <joseph@codesourcery.com>
28114
b7abb4bf
JM
28115 [BZ #14273]
28116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28117 Clear sign bit of 64-bit integer value before comparing against
28118 overflow value.
28119
79662d42
JM
28120 * sysdeps/mach/configure: Regenerated.
28121
1f150908
L
281222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 [BZ #14278]
28125 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28126
28363bbf
JL
281272012-06-21 Jeff Law <law@redhat.com>
28128
28129 [BZ #13882]
28130 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28131 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28133 * elf/dl-open.c (dl_open_worker): Likewise.
28134
09615db4
CD
281352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28136
28137 * scripts/list-sources.sh: Scan PORTS for translations.
28138 * po/libc.pot: Regenerated.
28139
2174c6dd
AJ
281402012-06-21 Andreas Jaeger <aj@suse.de>
28141
28142 [BZ #12194]
28143 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28144 warning.
28145 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28146 * bits/byteswap-16.h (__bswap_16): Likewise.
28147 * bits/byteswap.h (__bswap_constant_16): Likewise.
28148
3ee947b1
L
281492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 [BZ #14117]
a2f34833
L
28152 * sysdeps/i386/fpu_control.h: Removed.
28153 * sysdeps/x86_64/fpu_control.h: Moved to ...
28154 * sysdeps/x86/fpu_control.h: Here.
28155
3ee947b1
L
28156 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28157 (_FPU_SETCW): Likewise.
28158
ed1825f8
L
281592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28160
25f1282a
L
28161 [BZ #14117]
28162 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28163 * sysdeps/x86/fpu/bits/mathinline.h: This.
28164 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28165
ed1825f8
L
28166 [BZ #14050]
28167 [BZ #14117]
28168 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28169 functions if __x86_64__ is defined.
28170
36d54b74
CLT
281712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28172
28173 * string/endian.h: Add !__ASSEMBLER__ condition for including
28174 conversion interfaces.
28175
10285c21
JM
281762012-06-15 Joseph Myers <joseph@codesourcery.com>
28177
28178 [BZ #14241]
28179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28180 of ABS(x) in calculating zero to negative powers other than odd
28181 integers.
28182 * math/libm-test.inc (pow_test): Add more tests.
28183
06c5abbd
AJ
281842012-06-15 Andreas Jaeger <aj@suse.de>
28185
28186 * manual/contrib.texi (Contributors): Update entry of Liubov
28187 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28188 Machado Filho.
28189
a3aeac40
CH
281902012-06-15 Cyril Hrubis <metan@ucw.cz>
28191
28192 * string/string.h: Add __wur to GNU version of strerror_r.
28193
49bdf4c1
L
281942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 [BZ #14229]
28197 * string/Makefile (tests): Add tst-strtok_r.
28198 * string/tst-strtok_r.c: New file.
28199 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28200 RAX_LP/RDX_LP on SAVE_PTR.
28201
834f9b8d
RM
282022012-06-14 Roland McGrath <roland@hack.frob.com>
28203
28204 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28205
75fa1921
JM
282062012-06-14 Joseph Myers <joseph@codesourcery.com>
28207
28208 * libm_test.inc (csqrt_test): Allow more spurious underflow
28209 exceptions.
28210 (j0_test): Likewise.
28211 (j1_test): Likewise.
28212 (y0_test): Likewise.
28213 (y1_test): Likewise.
28214
771766df
CD
282152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28216
28217 * po/Makefile (libc.pot): Use UTF-8 charset.
28218
ceb9e56b
PP
282192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28220
28221 [BZ #14210]
28222 Suppress sign-conversion warning from FD_SET.
28223 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28224 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28225 not unsigned long int.
28226 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28227
ddb28975
L
282282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28229
28230 [BZ #14050]
28231 [BZ #14117]
28232 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28233 __extern_always_inline instead of __extern_inline.
28234 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28235 (__signbit): Likewise.
28236 (__signbitl): Support C++ namespace.
28237 (lrintf): New inline function.
28238 (lrint): Likewise.
28239 (llrintf): Likewise.
28240 (llrint): Likewise.
28241 (fmaxf): Likewise.
28242 (fmax): Likewise.
28243 (fminf): Likewise.
28244 (fmin): Likewise.
28245 (rint): Likewise.
28246 (rintf): Likewise.
28247 (ceil): Likewise.
28248 (ceilf): Likewise.
28249 (floor): Likewise.
28250 (floorf): Likewise.
28251 (nearbyint): Likewise.
28252 (nearbyintf): Likewise.
28253
d7b4fb26
TS
282542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28255
28256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28257 non-default versions.
28258
eb55f5c2
RM
282592012-06-11 Roland McGrath <roland@hack.frob.com>
28260
28261 [BZ #14218]
28262 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28263
366af02c
TS
282642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28265
99ff6e5c
TS
28266 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28267 (FE_UPWARD, FE_DOWNWARD): Don't define.
28268 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28270
366af02c
TS
28271 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28272 reading it.
28273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28275
793ea851
KK
282762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28277
28278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28281 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28282
a728a38f
L
282832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 [BZ #14117]
c08010c7
L
28286 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28287 * sysdeps/i386/fpu/Implies: New file.
28288 * sysdeps/x86_64/fpu/Implies: Likewise.
28289 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28290 * sysdeps/x86/fpu/bits/fenv.h: This.
28291
a728a38f
L
28292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28293 __SSE_MATH__.
28294
6e230d11
SP
282952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28296
28297 [BZ #14134]
28298 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28299 character 0xffff that matches the last element of the
28300 conversion table.
28301
1b671feb
AZ
283022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28303
28304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28305 fmodl commit.
28306
6043738b
AZ
283072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28308
28309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28310 values higher than 25.6283.
28311
34ae0b32
AZ
283122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28313
28314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28315 subnormal exponent extraction and add some __builtin_expect.
28316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28317 Fix for subnormal mantissa calculation.
28318
1214ec8f
MF
283192012-06-04 Mike Frysinger <vapier@gentoo.org>
28320
28321 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28322 cpu2 is -1 and errno is not ENOSYS.
28323
f3d1f93c
L
283242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28325
28326 [BZ #14117]
0e4a3cd7
L
28327 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28328 * sysdeps/x86/bits/string.h: This.
28329 * sysdeps/x86_64/bits/string.h: Removed.
28330
6704c645
L
28331 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28332 if not compiling for x86-64, but compiling for >= i486.
28333
48495318
L
28334 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28335 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28336
14adcbfc
L
28337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28338 New macro from Linux kernel 3.4.0.
28339 (FP_XSTATE_MAGIC2): Likewise.
28340 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28341 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28342 (struct _fpx_sw_bytes): New struct.
28343 (struct _xsave_hdr): Likewise.
28344 (struct _ymmh_state): Likewise.
28345 (struct _xstate): Likewise.
28346
68e408ab
L
28347 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28348 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28350 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28352 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28353
f3d1f93c
L
28354 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28356 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28357 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28358 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28359 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28360
d9dc34cd
TMQMF
283612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28362
28363 [BZ #13743]
28364 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28365 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28366 (sysdep_headers): Include sys/platform/ppc.h.
28367 * sysdeps/powerpc/test-gettimebase.c: Test for
28368 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28369 * manual/Makefile (appendices): Include platform.texi.
28370 * manual/contrib.texi (Contributors): Update @node pointers.
28371 * manual/maint.texi (Maintenance): Likewise.
28372 (Platform): New node.
28373 * manual/platform.texi: New file. Document the new features.
28374
4af3879c
SP
283752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28376 Jakub Jelinek <jakub@redhat.com>
28377
28378 [BZ #14188]
28379 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28380 where __builtin_expect is unavailable.
28381
2fd6ff13
DM
283822012-06-03 David S. Miller <davem@davemloft.net>
28383
28384 * stdlib/longlong.h: Updated from GCC.
28385
173f7220
AS
283862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28387
28388 [BZ #14042]
28389 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28390 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28391 __mcount_internal.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28393 (GLIBC_2.16): Likewise.
28394
f34a1c6f
L
283952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28398
88a4576f
JM
283992012-06-01 Joseph Myers <joseph@codesourcery.com>
28400
ea32bcdd
JM
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28402 (default-abi): New variable.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28404 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28405 variable.
28406 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28407 Likewise.
28408 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28409 Likewise.
28410 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28411 Likewise.
28412
88a4576f
JM
28413 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28414 definition. Document in comment.
28415
402fe938
DM
284162012-06-01 David S. Miller <davem@davemloft.net>
28417
28418 * stdlib/longlong.h: Updated from GCC.
28419
3553723f
L
284202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 [BZ #14117]
3bd872c4
L
28423 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28424 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28425 sys/debugreg.h sys/io.h here.
28426 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28427 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28428 sys/io.h.
28429 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28430 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28431 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28432 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28433 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28434 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28435
3553723f
L
28436 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28437 Define only if __x86_64__ is defined.
28438
4842e4fe
JM
284392012-06-01 Joseph Myers <joseph@codesourcery.com>
28440
c5bfe3d5
JM
28441 [BZ #14048]
28442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28443 Use int64_t for variable i.
28444 * math/libm-test.inc (fmod_test): Add more tests.
28445
4842e4fe
JM
28446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28447 z computation is not scheduled after fetestexcept.
28448 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28449 Use math_force_eval instead of asm to ensure calculation scheduled
28450 before exception test.
28451 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28452 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28453
efb73488
AJ
284542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28455
28456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28457 computation is not scheduled after fetestexcept.
28458
29bcce7c
L
284592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 [BZ #14117]
28462 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28463 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28464
73a68f94
AZ
284652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28466
28467 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28469
67b6df78
L
284702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28471
edf2933a 28472 [BZ #14117]
ebc64a18
L
28473 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28474 <bits/wordsize.h>.
28475 (__WCHAR_MIN): Support __WORDSIZE == 64.
28476 (__WCHAR_MAX): Likewise.
28477
edf2933a
L
28478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28480
57c6cf40
L
28481 [BZ #14183]
28482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28483 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28484
67b6df78 28485 [BZ #14117]
8eb6281e
L
28486 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28488
aac639f4
L
28489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28490 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28491
67b6df78
L
28492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28493 Defined to 1 if __x86_64__ isn't defined.
28494 (_STAT_VER_LINUX_OLD): New.
28495 (st_atime): Remove duplicate.
28496 (st_mtime): Likewise.
28497 (st_ctime): Likewise.
28498
1c2cfe81
DM
284992012-05-31 David S. Miller <davem@davemloft.net>
28500
28501 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28502 entries.
28503
5be8418c
AS
285042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28505
e7725326
AS
28506 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28507 gen-libm-test.pl.
28508
5be8418c
AS
28509 [BZ #14132]
28510 * elf/dl-reloc.c: Include <_itoa.h>.
28511 (_dl_reloc_bad_type): Remove use of INTUSE.
28512 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28513 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28514 * stdio-common/psiginfo.c (psiginfo): Likewise.
28515 * stdio-common/psignal.c (psignal): Likewise.
28516 * string/strsignal.c (strsignal): Likewise.
28517 * include/signal.h (_sys_siglist): Declare hidden proto.
28518 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28519 INTVARDEF with libc_hidden_data_def.
28520 * stdio-common/itoa-udigits.c: Likewise.
28521 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28522 (_itoa_lower_digits_internal): Remove declaration.
28523 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28524 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28525 (_sys_sigabbrev_internal): Remove aliases.
28526 (_sys_siglist): Define hidden alias.
28527
507352f1
MT
285282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28529
28530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28531 bits/sysctl.h.
28532
42bbb1c3
L
285332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28534
28535 [BZ #14117]
6bd784b6
L
28536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28537 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28538
8bca20f0
L
28539 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28540 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28541 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28542 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28544 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28545
f9e890a9
L
28546 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28548 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28549
471101a1
L
28550 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28551 with __addr.
28552 (insw): Likewise.
28553 (insl): Likewise.
28554 (outsb): Likewise.
28555 (outsw): Likewise.
28556 (outsl): Likewise.
28557
6451c862
L
28558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28560 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28561
a254b8c9
L
28562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28563 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28565 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28567 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28568
b8dfdd92
L
28569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28570 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28571
578cd270
L
28572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28573 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28574
de662f5f
L
28575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28577 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28578
25653439
L
28579 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28580 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28581 to ...
28582 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28583
6bad24a0
L
28584 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28585 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28586 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28587
42bbb1c3
L
28588 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28589 for x86-64.
28590 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28591
2d10d547
JM
285922012-05-31 Joseph Myers <joseph@codesourcery.com>
28593
28594 * math/math.h (M_El): Use two more decimal places.
28595 (M_LOG2El): Likewise.
28596 (M_LOG10El): Likewise.
28597 (M_LN2l): Likewise.
28598 (M_LN10l): Likewise.
28599 (M_PIl): Likewise.
28600 (M_PI_2l): Likewise.
28601 (M_PI_4l): Likewise.
28602 (M_1_PIl): Likewise.
28603 (M_2_PIl): Likewise.
28604 (M_2_SQRTPIl): Likewise.
28605 (M_SQRT2l): Likewise.
28606 (M_SQRT1_2l): Likewise.
28607
f230c29b
DM
286082012-05-31 David S. Miller <davem@davemloft.net>
28609
28610 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28611 values between float registers.
28612 * sysdeps/sparc/sparc64/memset.S: Likewise.
28613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28614
fed806c3
MF
286152012-05-31 Mike Frysinger <vapier@gentoo.org>
28616
28617 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28618 -D_FORTIFY_SOURCE=1.
28619 (CPPFLAGS-tst-longjmp_chk.c): Define.
28620 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28621 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28622 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28623 CFLAGS-tst-wchar-h.c.
28624
30917259
MP
286252012-05-31 Marek Polacek <polacek@redhat.com>
28626
28627 [BZ #14132]
28628 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28629 __endmntent_internal): Remove declaration.
28630 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28631 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28632 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28633
1c58d5dc
DM
286342012-05-30 David S. Miller <davem@davemloft.net>
28635
28636 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28637 (___Q_simulate_exceptions): Use real FP ops rather than writing
28638 into the %fsr.
28639 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28640 Likewise.
28641
7dc00e0d
L
286422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28643
28644 [BZ #14117]
0bd53985
L
28645 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28646 * sysdeps/x86/bits/xtitypes.h: This.
28647
3a257e66
L
28648 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28649 * sysdeps/x86/bits/wordsize.h: This.
28650
62f62904
L
28651 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28652 * sysdeps/x86/bits/huge_vall.h: This.
28653
404fe9d9
L
28654 * sysdeps/i386/bits/select.h: Removed.
28655 * sysdeps/x86_64/bits/select.h: Renamed to ...
28656 * sysdeps/x86/bits/select.h: This.
28657
d48d0446
L
28658 * sysdeps/i386/bits/setjmp.h: Removed.
28659 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28660 * sysdeps/x86/bits/setjmp.h: This.
28661
7dc00e0d
L
28662 * sysdeps/i386/bits/mathdef.h: Removed.
28663 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28664 * sysdeps/x86/bits/mathdef.h: This.
28665
03277f8f
AS
286662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 [BZ #14132]
28669 * include/sys/socket.h (__connect_internal)
28670 (__libc_sa_len_internal): Remove declaration.
28671 (__connect, __libc_sa_len): Declare hidden_proto.
28672 (SA_LEN): Remove use of INTUSE.
28673 * socket/connect.c: Add libc_hidden_def.
28674 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28675 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28676 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28677 alias.
28678 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28680 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28681 of adding _internal alias.
28682
13764867
L
286832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28684
28685 [BZ #14117]
6bd97696
L
28686 * sysdeps/i386/bits/link.h: Removed.
28687 * sysdeps/i386/bits/linkmap.h: Likewise.
28688 * sysdeps/x86_64/bits/link.h: Renamed to ...
28689 * sysdeps/x86/bits/link.h: This.
28690 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28691 * sysdeps/x86/bits/linkmap.h: This.
28692
f726f0bb
L
28693 * sysdeps/i386/bits/endian.h: Removed.
28694 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28695 * sysdeps/x86/bits/endian.h: This.
28696
13764867
L
28697 * sysdeps/i386/bits/byteswap.h: Removed.
28698 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28699 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28700 * sysdeps/x86/bits/byteswap.h: This.
28701 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28702 * sysdeps/x86/bits/byteswap-16.h: This.
28703 * sysdeps/i386/Implies: Add x86.
28704 * sysdeps/x86_64/Implies: Likewise.
28705
ae251b0b
DM
287062012-05-30 David S. Miller <davem@davemloft.net>
28707
28708 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28709 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28711 (FP_TRAPPING_EXCEPTIONS): Define.
28712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28713 (FP_TRAPPING_EXCEPTIONS): Define.
28714 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28715 subnormals only when inexact has been signalled or underflow
28716 exceptions are enabled.
28717 (_FP_PACK_CANONICAL): Likewise.
28718
d5c90867
L
287192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28720
28721 [BZ #14183]
28722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28723 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28724
63f1549e
RH
287252012-05-30 Richard Henderson <rth@twiddle.net>
28726
8d8f2279
RH
28727 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28728 with #ifndef NOT_IN_libc.
28729
63f1549e
RH
28730 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28731 marked to avoid plt entry.
28732
0ab0291b
L
287332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 [BZ #14112]
28736 * Makeconfig (default-abi): New macro.
28737 (abi-includes): Likewise.
28738 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28739 $(abi-$(default-abi)-lib-soname) for soname if defined.
28740 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28741 abi-variants.
28742 * Makefile (installed-stubs): Likewise.
28743 * include/stubs-biarch.h: Removed.
28744 * scripts/lib-names.awk: Only handle one library at a time.
28745 * scripts/soversions.awk: Remove WORDSIZE support.
28746 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28747 entries.
28748 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28749 Removed.
28750 (syscall-list-default-condition): Likewise.
28751 (syscall-list-default-condition): Likewise.
28752 (syscall-list-includes): Likewise.
28753 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28754 syscall-list-* with abi-*. Handle undefined abi-variants.
28755 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28756 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28757 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28760 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28761 Removed.
28762 (syscall-list-32-options): Likewise.
28763 (syscall-list-32-condition): Likewise.
28764 (syscall-list-64-options): Likewise.
28765 (syscall-list-64-condition): Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28767 macro.
28768 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28769 Renamed to ...
28770 (abi-*): This.
28771 (abi-64-ld-soname): New macro.
28772 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28773 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28774 Renamed to ...
28775 (abi-*): This.
28776 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28777 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28778
4da0431d
JM
287792012-05-30 Joseph Myers <joseph@codesourcery.com>
28780
3a85279c
JM
28781 * sysdeps/unix/sysv/linux/kernel-features.h
28782 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28783 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28784 include <kernel-features.h>.
28785 [!__NR_ftruncate64]: Remove conditional code.
28786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28787 [__NR_ftruncate64]: Make code unconditional.
28788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28789 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28790 include <kernel-features.h>.
28791 [!__NR_ftruncate64]: Remove conditional code.
28792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28793 [__NR_ftruncate64]: Make code unconditional.
28794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28796 include <kernel-features.h>.
28797 [!__NR_ftruncate64]: Remove conditional code.
28798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28799 [__NR_ftruncate64]: Make code unconditional.
28800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28802 include <kernel-features.h>.
28803 [!__NR_ftruncate64]: Remove conditional code.
28804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28805 [__NR_ftruncate64]: Make code unconditional.
28806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28807
4da0431d
JM
28808 * configure.in (libc_cv_fpie): Weaken to a compile test using
28809 LIBC_TRY_CC_OPTION.
28810 * configure: Regenerated.
28811
11ef492c
AK
288122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28813
28814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28818 Refreshed.
28819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28825 Refreshed.
28826
d66ef399
DM
288272012-05-27 David S. Miller <davem@davemloft.net>
28828
28829 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28830 (___Q_zero): New.
28831 (__Q_simulate_exceptions): Return void. Change to simulate
28832 exceptions by writing into the %fsr.
28833 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28834 (__Qp_handle_exceptions): Likewise.
28835 (numbers): Delete.
28836 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28837 __Qp_handle_exceptions.
28838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28839 __Qp_handle_exceptions.
28840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28841 as unused and give dummy FP_RND_NEAREST initializer.
28842 (FP_INHIBIT_RESULTS): Define.
28843 (___Q_simulate_exceptions): Update declaration.
28844 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28845 formatting.
28846 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28847 as unused and give dummy FP_RND_NEAREST initializer.
28848 (__Qp_handle_exceptions): Update declaration.
28849 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28850 formatting.
28851
04fb54b5
TS
288522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28853
28854 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28855 the temporary FPU control word.
28856 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28857 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28859 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28861 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28862 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28863 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28864 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28865 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28867
3f99608f
KK
288682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28869
28870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28871 fields.
28872
65a4de4e
CLT
288732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28874
28875 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28876 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28877 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28878 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28879 Likewise.
28880 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28881 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28882 Likewise.
28883
15749d40
UD
288842012-05-27 Ulrich Drepper <drepper@gmail.com>
28885
28886 * po/h.po: Update from translation team.
28887
25dbcb27
AS
288882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28889
3d3f8e55
AS
28890 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28891
25dbcb27
AS
28892 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28893 handling of denormals.
28894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28895 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28896 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28897 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28901 Likewise.
28902
7ad47a80 289032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28904
28905 [BZ #14152]
28906 * math/libm-test.inc (fma_test): Don't always expect underflow
28907 exception.
28908
9c6ea9fa
SP
289092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28910
28911 [BZ #12416]
28912 * elf/tst-execstack.c: Include stackinfo.h.
28913 (do_test): Adjust test case to ensure that pthread_getattr_np
28914 behaviour remains the same after marking stack executable.
28915
a8239222
JM
289162012-05-25 Joseph Myers <joseph@codesourcery.com>
28917
28918 * sysdeps/unix/sysv/linux/kernel-features.h
28919 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28920 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28921 kernel-features.h.
28922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28924 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28925 kernel-features.h.
28926 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28927 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28928
918b5606
L
289292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 * configure.in: Define the default includes to being none.
28932 * configure: Regenerated.
28933
3a097cc7
RM
289342012-05-25 Roland McGrath <roland@hack.frob.com>
28935
8422c9a5
RM
28936 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28937 * sysdeps/x86_64/setjmp.S: Likewise.
28938 * sysdeps/i386/bsd-setjmp.S: Likewise.
28939 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28940 * sysdeps/i386/setjmp.S: Likewise.
28941 * sysdeps/i386/__longjmp.S: Likewise.
28942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28944
3a097cc7
RM
28945 * include/stap-probe.h: New file.
28946 * configure.in: Handle --enable-systemtap.
28947 * configure: Regenerated.
28948 * config.h.in (USE_STAP_PROBE): New #undef.
28949 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28950 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28952
21708942
JM
289532012-05-25 Joseph Myers <joseph@codesourcery.com>
28954
28955 [BZ #13717]
28956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28957 to 2.4.0 where earlier.
28958 * sysdeps/unix/sysv/linux/configure: Regenerated.
28959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28960 <kernel-features.h>.
28961 [__ASSUME_32BITUIDS]: Make code unconditional.
28962 [!__ASSUME_32BITUIDS]: Remove conditional code.
28963 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28964 <kernel-features.h>.
28965 [__ASSUME_32BITUIDS]: Make code unconditional.
28966 [!__ASSUME_32BITUIDS]: Remove conditional code.
28967 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28968 [__ASSUME_32BITUIDS]: Make code unconditional.
28969 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28970 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
29007 <kernel-features.h>.
29008 [__ASSUME_32BITUIDS]: Make code unconditional.
29009 [!__ASSUME_32BITUIDS]: Remove conditional code.
29010 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29011 <kernel-features.h>.
29012 [__NR_setresgid] (__setresgid): Do not declare.
29013 [__ASSUME_32BITUIDS]: Make code unconditional.
29014 [!__ASSUME_32BITUIDS]: Remove conditional code.
29015 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29016 <kernel-features.h>.
29017 [__NR_setresuid] (__setresuid): Do not declare.
29018 [__ASSUME_32BITUIDS]: Make code unconditional.
29019 [!__ASSUME_32BITUIDS]: Remove conditional code.
29020 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29021 <kernel-features.h>.
29022 [__ASSUME_32BITUIDS]: Make code unconditional.
29023 [!__ASSUME_32BITUIDS]: Remove conditional code.
29024 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29025 <kernel-features.h>.
29026 [__ASSUME_32BITUIDS]: Make code unconditional.
29027 [!__ASSUME_32BITUIDS]: Remove conditional code.
29028 * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
29037 <kernel-features.h>.
29038 [__ASSUME_32BITUIDS]: Make code unconditional.
29039 [!__ASSUME_32BITUIDS]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29041 <kernel-features.h>.
29042 [__ASSUME_32BITUIDS]: Make code unconditional.
29043 [!__ASSUME_32BITUIDS]: Remove conditional code.
29044 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29045 <kernel-features.h>.
29046 [__ASSUME_32BITUIDS]: Make code unconditional.
29047 [!__ASSUME_32BITUIDS]: Remove conditional code.
29048 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29049 <kernel-features.h>.
29050 [__ASSUME_32BITUIDS]: Make code unconditional.
29051 [!__ASSUME_32BITUIDS]: Remove conditional code.
29052 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29053 <kernel-features.h>.
29054 [__ASSUME_32BITUIDS]: Make code unconditional.
29055 [!__ASSUME_32BITUIDS]: Remove conditional code.
29056 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29057 <kernel-features.h>.
29058 [__ASSUME_32BITUIDS]: Make code unconditional.
29059 [!__ASSUME_32BITUIDS]: Remove conditional code.
29060 * sysdeps/unix/sysv/linux/kernel-features.h
29061 (__ASSUME_SETRESUID_SYSCALL): Remove.
29062 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29063 (__ASSUME_32BITUIDS): Likewise.
29064 (__ASSUME_LDT_WORKS): Likewise.
29065 (__ASSUME_O_DIRECTORY): Likewise.
29066 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29067 architecture but not kernel version.
29068 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29069 (__ASSUME_MMAP2_SYSCALL): Likewise.
29070 (__ASSUME_STAT64_SYSCALL): Likewise.
29071 (__ASSUME_IPC64): Likewise.
29072 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29073 <kernel-features.h>.
29074 [__ASSUME_32BITUIDS]: Make code unconditional.
29075 [!__ASSUME_32BITUIDS]: Remove conditional code.
29076 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29077 <kernel-features.h>.
29078 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29079 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29080 132096]: Remove conditional code.
29081 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29083 <kernel-features.h>.
29084 [__ASSUME_32BITUIDS]: Make code unconditional.
29085 [!__ASSUME_32BITUIDS]: Remove conditional code.
29086 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29087 <kernel-features.h>.
29088 [__ASSUME_32BITUIDS]: Make code unconditional.
29089 [!__ASSUME_32BITUIDS]: Remove conditional code.
29090 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29091 <kernel-features.h>.
29092 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29093 unconditional.
29094 (__setresgid): Do not declare.
29095 [__ASSUME_32BITUIDS]: Make code unconditional.
29096 [!__ASSUME_32BITUIDS]: Remove conditional code.
29097 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29098 <kernel-features.h>.
29099 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29100 unconditional.
29101 (__setresuid): Do not declare.
29102 [__ASSUME_32BITUIDS]: Make code unconditional.
29103 [!__ASSUME_32BITUIDS]: Remove conditional code.
29104 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29105 <kernel-features.h>.
29106 [__ASSUME_32BITUIDS]: Make code unconditional.
29107 [!__ASSUME_32BITUIDS]: Remove conditional code.
29108 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29109 <kernel-features.h>.
29110 [__ASSUME_32BITUIDS]: Make code unconditional.
29111 [!__ASSUME_32BITUIDS]: Remove conditional code.
29112
a386f1cc
RH
291132012-05-25 Richard Henderson <rth@twiddle.net>
29114
29115 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29116 dl_hwcap to ifunc resolver.
29117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29118 elf_ifunc_invoke.
29119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29120 dl_hwcap to ifunc resolver.
29121 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29122
b6550497
JM
291232012-05-24 Joseph Myers <joseph@codesourcery.com>
29124
29125 [BZ #14153]
29126 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29127 for |x| <= 2**-26, not 2**-57.
29128 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29129 exception.
29130
b0bc23a1
JL
291312012-05-24 Jeff Law <law@redhat.com>
29132
29133 * stdio-common/Makefile (tests): Add bug25.
29134 * stdio-common/bug25.c: New test.
29135
347c92e9
L
291362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 [BZ #13576]
29139 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29140 multiple of MALLOC_ALIGNMENT in size.
29141 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29142
6bcc8b3f
JM
291432012-05-24 Joseph Myers <joseph@codesourcery.com>
29144
29145 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29146 Require >= 256.
29147 (FILENAME_MAX): Use macro-int-constant.
29148 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29149 (_IOFBF): Use macro-int-constant.
29150 (_IOLBF): Likewise.
29151 (_IONBF): Likewise.
29152 (SEEK_CUR): Likewise.
29153 (SEEK_END): Likewise.
29154 (SEEK_SET): Likewise.
29155 (TMP_MAX): Likewise.
29156 (EOF): Use macro-int-constant. Require < 0.
29157 (NULL): Use macro-constant. Require == 0.
29158 (stdin): Require type to be FILE *.
29159 (stdout): Likewise.
29160 (stderr): Likewise.
29161 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29162 macro-int-constant.
29163 (EXIT_SUCCESS): Likewise.
29164 (NULL): Use macro-constant. Require == 0.
29165 (RAND_MAX): Use macro-int-constant.
29166 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29167 [C99-based standards] (strtof): Require function.
29168 [C99-based standards] (strtold): Likewise.
29169 [C99-based standards] (strtoll): Likewise.
29170 [C99-based standards] (strtoull): Likewise.
29171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29172 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29173 [ISO || ISO99 || ISO11] (math.h): Likewise.
29174 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29177
d18ea0c5
AS
291782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29179
29180 [BZ #14132]
56d25bb8
AS
29181 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29182 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29183 * intl/dgettext.c (DCGETTEXT): Likewise.
29184 * intl/gettext.c (DCGETTEXT): Likewise.
29185 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29186 * posix/regex_internal.h (gettext): Likewise.
29187 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29188 Remove declaration.
29189 * include/argz.h (__argz_count_internal)
29190 (__argz_stringify_internal): Remove declaration.
29191 (__argz_count, __argz_stringify): Declare hidden proto.
29192 * intl/dcgettext.c: Remove use of INTDEF.
29193 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29194 * string/argz-stringify.c: Likewise.
29195 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29196 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29197 Declare hidden proto.
d18ea0c5
AS
29198 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29199 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29200 Declare hidden proto.
29201 * include/stdio.h (__asprintf_internal): Don't declare.
29202 (__asprintf): Don't define as macro. Declare hidden proto.
29203 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29204 (__fsetlocking): Declare hidden proto.
29205 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29206 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29207 hidden proto.
29208 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29209 (_IO_setlinebuf): Remove use of INTUSE.
29210 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29211 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29212 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29213 Remove declaration.
29214 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29215 (_IO_do_flush): Remove use of INTUSE.
29216 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29217 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29218 (_IO_adjust_column, _IO_least_wmarker)
29219 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29220 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29221 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29222 (_IO_default_doallocate, _IO_wdefault_doallocate)
29223 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29224 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29225 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29226 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29227 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29228 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29229 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29230 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29231 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29232 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29233 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29234 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29235 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29236 proto.
29237 (_IO_flush_all_internal, _IO_adjust_column_internal)
29238 (_IO_default_uflow_internal, _IO_default_finish_internal)
29239 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29240 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29241 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29242 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29243 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29244 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29245 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29246 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29247 (_IO_file_close_internal, _IO_file_close_it_internal)
29248 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29249 (_IO_file_init_internal, _IO_file_attach_internal)
29250 (_IO_file_fopen_internal, _IO_file_read_internal)
29251 (_IO_file_sync_internal, _IO_file_seek_internal)
29252 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29253 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29254 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29255 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29256 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29257 (_IO_list_all_internal, _IO_link_in_internal)
29258 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29259 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29260 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29261 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29262 (_IO_do_write_internal, _IO_padn_internal)
29263 (_IO_getline_info_internal, _IO_getline_internal)
29264 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29265 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29266 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29267 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29268 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29269 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29270 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29271 with libc_hidden_ver, remove use of INTUSE.
29272 * libio/genops.c: Likewise.
29273 * libio/freopen.c: Likewise.
29274 * libio/freopen64.c: Likewise.
29275 * libio/iofclose.c: Likewise.
29276 * libio/iofdopen.c: Likewise.
29277 * libio/iofflush.c: Likewise.
29278 * libio/iofflush_u.c: Likewise.
29279 * libio/iofgets.c: Likewise.
29280 * libio/iofgets_u.c: Likewise.
29281 * libio/iofopen.c: Likewise.
29282 * libio/iofopncook.c: Likewise.
29283 * libio/iofread.c: Likewise.
29284 * libio/iofread_u.c: Likewise.
29285 * libio/ioftell.c: Likewise.
29286 * libio/iofwrite.c: Likewise.
29287 * libio/iogetline.c: Likewise.
29288 * libio/iogets.c: Likewise.
29289 * libio/iogetwline.c: Likewise.
29290 * libio/iopadn.c: Likewise.
29291 * libio/iopopen.c: Likewise.
29292 * libio/ioseekoff.c: Likewise.
29293 * libio/ioseekpos.c: Likewise.
29294 * libio/iosetbuffer.c: Likewise.
29295 * libio/iosetvbuf.c: Likewise.
29296 * libio/ioungetc.c: Likewise.
29297 * libio/ioungetwc.c: Likewise.
29298 * libio/iovdprintf.c: Likewise.
29299 * libio/iovsprintf.c: Likewise.
29300 * libio/iovsscanf.c: Likewise.
29301 * libio/memstream.c: Likewise.
29302 * libio/obprintf.c: Likewise.
29303 * libio/oldfileops.c: Likewise.
29304 * libio/oldiofclose.c: Likewise.
29305 * libio/oldiofdopen.c: Likewise.
29306 * libio/oldiofopen.c: Likewise.
29307 * libio/oldiopopen.c: Likewise.
29308 * libio/oldstdfiles.c: Likewise.
29309 * libio/putc.c: Likewise.
29310 * libio/setbuf.c: Likewise.
29311 * libio/setlinebuf.c: Likewise.
29312 * libio/stdfiles.c: Likewise.
29313 * libio/strops.c: Likewise.
29314 * libio/vasprintf.c: Likewise.
29315 * libio/vscanf.c: Likewise.
29316 * libio/vsnprintf.c: Likewise.
29317 * libio/vswprintf.c: Likewise.
29318 * libio/wfiledoalloc.c: Likewise.
29319 * libio/wfileops.c: Likewise.
29320 * libio/wgenops.c: Likewise.
29321 * libio/wmemstream.c: Likewise.
29322 * libio/wstrops.c: Likewise.
29323 * libio/__fpurge.c: Likewise.
29324 * libio/__fsetlocking.c: Likewise.
29325 * assert/assert.c: Likewise.
29326 * debug/fgets_chk.c: Likewise.
29327 * debug/fgets_u_chk.c: Likewise.
29328 * debug/fread_chk.c: Likewise.
29329 * debug/fread_u_chk.c: Likewise.
29330 * debug/gets_chk.c: Likewise.
29331 * debug/obprintf_chk.c: Likewise.
29332 * debug/vasprintf_chk.c: Likewise.
29333 * debug/vdprintf_chk.c: Likewise.
29334 * debug/vsnprintf_chk.c: Likewise.
29335 * debug/vsprintf_chk.c: Likewise.
29336 * malloc/mtrace.c: Likewise.
29337 * misc/error.c: Likewise.
29338 * misc/syslog.c: Likewise.
29339 * stdio-common/asprintf.c: Likewise.
29340 * stdio-common/fxprintf.c: Likewise.
29341 * stdio-common/getw.c: Likewise.
29342 * stdio-common/isoc99_fscanf.c: Likewise.
29343 * stdio-common/isoc99_scanf.c: Likewise.
29344 * stdio-common/isoc99_vfscanf.c: Likewise.
29345 * stdio-common/isoc99_vscanf.c: Likewise.
29346 * stdio-common/isoc99_vsscanf.c: Likewise.
29347 * stdio-common/printf-prs.c: Likewise.
29348 * stdio-common/printf_fp.c: Likewise.
29349 * stdio-common/printf_fphex.c: Likewise.
29350 * stdio-common/printf_size.c: Likewise.
29351 * stdio-common/putw.c: Likewise.
29352 * stdio-common/scanf.c: Likewise.
29353 * stdio-common/sprintf.c: Likewise.
29354 * stdio-common/tmpfile.c: Likewise.
29355 * stdio-common/vfprintf.c: Likewise.
29356 * stdio-common/vfscanf.c: Likewise.
29357 * stdlib/strfmon_l.c: Likewise.
29358 * sunrpc/openchild.c: Likewise.
29359 * sunrpc/xdr_stdio.c: Likewise.
29360 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29361 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29362
d6c33fda
RM
293632012-05-24 Roland McGrath <roland@hack.frob.com>
29364
c1487492
RM
29365 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29366
29367 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29368 in the third column, to generate for the shared library an IFUNC
29369 that uses _dl_vdso_vsym.
29370 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29371 * Makeconfig (object-suffixes-noshared): New variable.
29372
29373 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29374 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29375 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29376 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29377
d6c33fda
RM
29378 [BZ #14132]
29379 * include/sys/time.h (__gettimeofday): Remove macro.
29380 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29381 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29382 Remove INTDEF.
29383 (__gettimeofday): Add libc_hidden_def.
29384 (gettimeofday): Add libc_hidden_weak.
29385 * sysdeps/mach/gettimeofday.c: Likewise.
29386 * sysdeps/posix/gettimeofday.c: Likewise.
29387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29390 (__gettimeofday_internal): Remove strong_alias.
29391 (__gettimeofday): Add libc_hidden_def.
29392 (gettimeofday): Add libc_hidden_weak.
29393 * sysdeps/unix/syscalls.list (gettimeofday):
29394 Remove __gettimeofday_internal alias.
29395
b5a2bbe6
L
293962012-05-24 Daniel Jacobowitz <drow@false.org>
29397 H.J. Lu <hongjiu.lu@intel.com>
29398
29399 [BZ #12495]
29400 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29401 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29402 (largebin_index_32_big): New.
29403 (largebin_index): Use it for 16-byte alignment.
29404 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29405 correction with front_misalign.
29406
cfba4fda
L
294072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29408
7f907421
L
29409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29411 Likewise.
29412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29413 Likewise.
29414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29415 Likewise.
29416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29417 Likewise.
29418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29419 Likewise.
29420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29421 Likewise.
29422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29423 Likewise.
29424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29425 Likewise.
29426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29427 Likewise.
29428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29429 Likewise.
29430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29431 Likewise.
29432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29433 Likewise.
29434
cfba4fda
L
29435 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29436 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29437
80bad0cc
JM
294382012-05-24 Joseph Myers <joseph@codesourcery.com>
29439
7a25eb06
JM
29440 [BZ #10846]
29441 [BZ #14036]
29442 * math/libm-test.inc (exp_test): Add test from bug 14036.
29443 (pow_test): Add test from bug 10846.
29444
795405f9
JM
29445 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29446 and other flags.
29447 (special_function): Do not include flags in test name.
29448 (parse_args): Likewise.
29449 * sysdeps/i386/fpu/libm-test-ulps: Update.
29450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29454
80bad0cc
JM
29455 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29456 exceptions.
29457 * math/libm-test.inc ("Philosophy"): Update comment about
29458 exception testing.
29459 (UNDERFLOW_EXCEPTION): New macro.
29460 (UNDERFLOW_EXCEPTION_OK): Likewise.
29461 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29462 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29463 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29464 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29465 (INVALID_EXCEPTION_OK): Update value.
29466 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29467 (OVERFLOW_EXCEPTION_OK): Likewise.
29468 (IGNORE_ZERO_INF_SIGN): Likewise.
29469 (test_exceptions): Handle underflow exceptions.
29470 (acos_test): Update for underflow exception expectations.
29471 (cexp_test): Likewise.
29472 (clog_test): Likewise.
29473 (clog10_test): Likewise.
29474 (csqrt_test): Likewise.
29475 (ctan_test): Likewise.
29476 (ctanh_test): Likewise.
29477 (exp_test): Likewise.
29478 (exp10_test): Likewise.
29479 (exp2_test): Likewise.
29480 (expm1_test): Likewise.
29481 (fma_test): Likewise.
29482 (j0_test): Likewise.
29483 (jn_test): Likewise.
29484 (nexttoward_test): Likewise.
29485 (pow_test): Likewise.
29486 (scalbn_test): Likewise.
29487 (scalbln_test): Likewise.
29488 (tan_test): Likewise.
29489 (y1_test): Likewise.
29490 * sysdeps/i386/fpu/libm-test-ulps: Update.
29491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29492
9e0e3d0b
DM
294932012-05-23 David S. Miller <davem@davemloft.net>
29494
29495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29496 (__libc_sigaction): Remove unused local variables.
29497
ccd0a08f
L
294982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29499
29500 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29501
62bdf9a6
PE
295022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29503
f8591f80
PE
29504 mktime: avoid signed integer overflow
29505 * time/mktime.c (__mktime_internal): Do not mishandle the case
29506 where diff == INT_MIN.
29507
94c7d826
PE
29508 mktime: simplify computation of average
29509 * time/mktime.c (ranged_convert): Use new time_t_avg function
29510 instead of rolling our own (probably-slower) code.
29511
ce73d683
PE
29512 mktime: do not assume signed right shift propagates sign bit
29513 * time/mktime.c (isdst_differ): New static function.
29514 (__mktime_internal): No need to normalize tm_isdst now.
29515 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29516 tm_isdst values.
29517
72a22e59
PE
29518 mktime: merge another wrapv change from gnulib
29519 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29520 from some compilers.
29521
68605433
PE
29522 mktime: remove incorrect attempt at unusual arithmetics
29523 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29524 The code didn't really work on such machines anyway.
29525 (TYPE_MINIMUM): Assume two's complement.
29526 (twos_complement_arithmetic): Verify that long_int and time_t
29527 are two's complement (or unsigned, in the latter case).
29528
03cf7fe3
PE
29529 mktime: check signed shifts on long_int and time_t, too
29530 * time/mktime.c (SHR): Check that shifts work as desired
29531 on the types long_int and time_t too, as SHR is used on
29532 such types.
29533
f04dfbc2
PE
29534 mktime: do not assume 'long' is wide enough
29535 * time/mktime.c (verify): Move decl up.
29536 (long_int): New type.
29537 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29538 to remove assumption in the code that 'long' is wide enough to
29539 store year values. This assumption is not true on x32 and on
29540 some non-glibc platforms.
29541
62bdf9a6
PE
29542 mktime: merge wrapv change from gnulib
29543 * time/mktime.c (WRAPV): New macro.
29544 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29545 (guess_time_tm, __mktime_internal): Do not assume that signed
29546 integer overflow wraps around; modern compilers generate code
29547 where this assumption is no longer valid.
29548
5e292e4f
L
295492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29550
29551 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29552 Replace "jmp L(pseudo_end)" with "ret".
29553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29554 Likewise.
29555
8caf8c87
AJ
295562012-05-23 Andreas Jaeger <aj@suse.de>
29557
29558 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29559 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29560
1a09dc56
AJ
295612012-05-23 Andreas Jaeger <aj@suse.de>
29562 Maximilian Attems <max@stro.at>
29563
29564 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29565 New macros.
29566
1c87aba0
L
295672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29568
29569 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29570 code so that pseudo_end is just ret and the stack pointer is
29571 correct also for static library in error case.
29572
40e45bd5
JM
295732012-05-23 Joseph Myers <joseph@codesourcery.com>
29574
c2670533
JM
29575 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29576 move to syscalls.list.
29577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29581
40e45bd5
JM
29582 * manual/install.texi (Running make install): Do not mention Linux
29583 kernel version for which pt_chown is not needed.
29584 (Linux): Do not mention problems with nscd with 2.0 kernels.
29585 * INSTALL: Regenerated.
29586
be08eda5
AJ
295872012-05-23 Andreas Jaeger <aj@suse.de>
29588
29589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29590 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29591 macro.
29592 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29594 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29596 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29602 * sysdeps/unix/sysv/linux/bits/in.h
29603 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29604
a6a056bb
RM
296052012-05-22 Roland McGrath <roland@hack.frob.com>
29606
29607 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29608 (PREPARE_VERSION): Just use assert instead, it will be elided
29609 under [NDEBUG] anyway.
29610
c9009328
L
296112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29612
29613 * sysdeps/unix/sysv/linux/Makefile: Include
29614 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29615 (sysdep_routines): Remove sysctl.
c9009328
L
29616 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29617 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29618 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29619 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29620 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29621
73338355
AJ
296222012-05-22 Andreas Jaeger <aj@suse.de>
29623
29624 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29625 that pseudo_end is just ret and the stack pointer is correct also
29626 for static library in error case.
29627
d44638b0
PP
296282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29629
29630 [BZ #14122]
29631 * nss/nsswitch.c (defconfig_entries): New variable.
29632 (__nss_database_lookup): Don't leak defconfig entries.
29633 (nss_parse_service_list): Don't leak on error paths.
29634 (free_database_entries): New function.
29635 (free_defconfig): New function.
29636 (free_mem): Move common code to free_database_entries.
29637
31a39bd8
L
296382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29639
da0331a8
L
29640 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29641 Add arch_prctl.
29642 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29643
31a39bd8
L
29644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29645 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29647 New macro.
29648 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29649 (INTERNAL_SYSCALL_TYPES): Likewise.
29650 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29651 (LOAD_REGS_TYPES_[1-6]): Likewise.
29652 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29653 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29654
45470df3
AZ
296552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29656
29657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29658 copysignl for GLIBC_2_0.
29659 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29660 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29662 logbl for GLIBC_2_0.
29663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29665
98a61bcb
L
296662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29667
a4f6e481
L
29668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29670
f63d5db6
L
29671 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29672 Use "neg %eax".
29673
98a61bcb
L
29674 * time/mktime.c: Update copyright years.
29675
95770f14
PE
296762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29677
6226efbd
PE
29678 mktime: merge comment-quoting-style change from gnulib
29679 * time/mktime.c: Quote 'like this' in comments.
29680 The GNU coding standards suggest that we no longer quote `like this',
29681 as "`" and "'" are typically rendered asymmetrically nowadays.
29682 The typical gnulib style is to quote 'like this' when quoting
29683 code, and "like this" when quoting English.
29684
b99e4f78
PE
29685 * time/mktime.c (compile-command): Add "-I.".
29686
643e01e6
PE
29687 mktime: merge mktime-internal.h change from gnulib
29688 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29689
2554247d
PE
29690 mktime: merge time_r change from gnulib
29691 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29692
826dd0ab
PE
29693 mktime: merge DEBUG change from gnulib
29694 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29695 case system <time.h> has a #define.
29696
bd83aabe
PE
29697 mktime: merge <sys/types.h> change from gnulib
29698 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29699 since <time.t> is now guaranteed to define time_t.
29700
95770f14
PE
29701 mktime: merge HAVE_CONFIG_H change from gnulib
29702 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29703
5e1a27a9
L
297042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29705
0e44a77e
L
29706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29707 Use "neg %eax".
29708
5e1a27a9
L
29709 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29710 __rlim_t cast.
29711 (struct rusage): Use anonymous union to pad each field to
29712 __syscall_slong_t.
29713
46259bec
DM
297142012-05-21 David S. Miller <davem@davemloft.net>
29715
29716 * Makefules (o-iterator): Remove .s cases.
29717 (compile-command.s): Delete.
29718 (COMPILE.s): Delete.
29719 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29720
59f0c22e
JM
297212012-05-21 Joseph Myers <joseph@codesourcery.com>
29722
29723 * configure.in (libc_cv_predef_stack_protector): Only consider
29724 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29725 * configure: Regenerated.
29726
20c07380
L
297272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29728
bbb3154b
L
29729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29730 New macro. Use R*LP on int and pointer.
29731 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29732 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29733 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29734 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29735
20c07380
L
29736 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29737 [__WORDSIZE_TIME64_COMPAT32] instead of
29738 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29739 (struct utmp): Likewise.
29740 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29741 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29742 Renamed to ...
29743 (__WORDSIZE_TIME64_COMPAT32): This.
29744 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29745 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29746 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29747 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29748 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29749 (__WORDSIZE_TIME64_COMPAT32): New macro.
29750
d8d1017e
AJ
297512012-05-21 Andreas Jaeger <aj@suse.de>
29752
29753 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29754 only if [SHARED]. Add prototype for __wcschr_ia32.
29755
6c7fb145
RM
297562012-05-21 Roland McGrath <roland@hack.frob.com>
29757
29758 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29759 of %rbp unmolested in the jmp_buf while mangling the low bits.
29760 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29761 unmolested high bits of %rbp while demangling the low bits.
29762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29763
66274218
AJ
297642012-05-21 Andreas Jaeger <aj@suse.de>
29765
07c58f8f
AJ
29766 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29767 * sunrpc/svc_simple.c: Use it for registerrpc.
29768 * sunrpc/xcrypt.c: Use it for passwd2des.
29769
66274218
AJ
29770 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29771
61f65140
L
297722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29775 Don't define if [__SYSCALL_WORDSIZE != 32].
29776 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29777 New macro.
29778
5fefb436
AJ
297792012-05-21 Bruno Haible <bruno@clisp.org>
29780 Andreas Jaeger <aj@suse.de>
29781
29782 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29783 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29784 inptr and inend for must_buffer_ch.
29785 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29786 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29787 * stdio-common/Makefile (tests): Remove bug15.
29788 (bug15-ENV): Remove macro.
29789 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29790 anymore.
29791
d8e272ab
AJ
297922012-05-19 Andreas Jaeger <aj@suse.de>
29793 Roland McGrath <roland@hack.frob.com>
29794
29795 * manual/contrib.texi: Completely rewritten. It contains now an
29796 alphabetical list of contributors and their contributions.
29797
4a56a162
RH
297982012-05-21 Richard Henderson <rth@twiddle.net>
29799
29800 * misc/getauxval.c (__getauxval): Use unsigned long int.
29801 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29802 (getauxval): Use unsigned long int.
29803
d024d23c
L
298042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29807
cbc00a03
RM
298082012-05-21 Roland McGrath <roland@hack.frob.com>
29809
29810 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29811 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29812 __alignof__ (long double).
29813
478143fa
AZ
298142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29815
29816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29817
c7683a6d
RH
298182012-05-20 Richard Henderson <rth@twiddle.net>
29819
29820 * misc/getauxval.c: New file.
29821 * misc/sys/auxv.h: New file.
29822 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29823 (routines): Add getauxval.
29824 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29826 * elf/dl-sysdep.c (_dl_auxv): Remove.
29827 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29828 * elf/dl-support.c (_dl_auxv): New variable.
29829 (_dl_aux_init): Initialize it.
29830 * manual/startup.texi (Auxiliary Vector): New node.
29831 * sysdeps/generic/bits/hwcap.h: New file.
29832 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29833 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29834 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29835 * sysdeps/sparc/sysdep.h: ... here. Include it.
29836 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29839 Update.
c7683a6d
RH
29840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29848
a6f1845d
AZ
298492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29850
29851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29852
cbcbe830
DM
298532012-05-19 David S. Miller <davem@davemloft.net>
29854
29855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29856
e0b16cc2
JM
298572012-05-19 Joseph Myers <joseph@codesourcery.com>
29858
29859 [BZ #14123]
29860 * math/s_ccosh.c: Include <float.h>
29861 (__ccosh): Avoid internal overflow calculating sinh and cosh
29862 values before multiplying by sin and cos values.
29863 * math/s_ccoshf.c: Likewise.
29864 * math/s_ccoshl.c: Likewise.
29865 * math/s_csin.c: Likewise.
29866 * math/s_csinf.c: Likewise.
29867 * math/s_csinl.c: Likewise.
29868 * math/s_csinh.c: Likewise.
29869 * math/s_csinhf.c: Likewise.
29870 * math/s_csinhl.c: Likewise.
29871 * math/libm-test.inc (ccos_test): Add more tests.
29872 (ccosh_test): Likewise.
29873 (csin_test): Likewise.
29874 (csinh_test): Likewise.
29875 * sysdeps/i386/fpu/libm-test-ulps: Update.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29877
6ad13e08
L
298782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29879
f66f0ce8
L
29880 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29881 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29882
6ad13e08
L
29883 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29884
b1d072a7
JM
298852012-05-19 Joseph Myers <joseph@codesourcery.com>
29886
29887 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29888 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29889 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29890 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29891 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29892 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29893 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29894 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29895 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29896 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29897 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29898 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29899 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29900 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29901 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29902 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29903 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29904 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29905 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29906 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29907 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29908 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29909 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29910 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29911 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29912 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29913 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29914 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29915 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29916 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29917 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29918
9eae47cb
AJ
299192012-05-18 Andreas Jaeger <aj@suse.de>
29920
29921 * csu/.gitignore: Delete.
29922
bb07f69f
L
299232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29924
29925 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29926 (timex): Use __syscall_slong_t.
29927
e6bdb741
AJ
299282012-05-18 Andreas Jaeger <aj@suse.de>
29929 Carlos O'Donell <carlos_odonell@mentor.com>
29930
29931 * manual/install.texi (Configuring and compiling): Update
29932 description about files modified in the source directory.
d6c33fda 29933 * INSTALL: Regenerated.
e6bdb741 29934
1b74487e
L
299352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29936
29937 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29938 value. Use "or" to set return value to -1.
29939 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29940 negate return value.
29941
a88b64b9
TMQMF
299422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29943
57f41c40
AS
29944 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29945 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29946 failure if the compiler has Graphite support disabled.
29947 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29948 Likewise.
57f41c40
AS
29949 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29950 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29952 Likewise.
29953
3707636e
L
299542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29955
610b8622
L
29956 * sysdeps/x86_64/x32/_itoa.h: New file.
29957
7cd195df
L
29958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29959 getdents system call only if kernel and user dirents have the
29960 same d_ino and d_off.
29961
94b07d20
L
29962 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29963 LLONG_MAX != LONG_MAX.
29964 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29965 (_fitoa_word): Likewise.
29966
18298070
L
29967 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29968 years.
29969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29971 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29972
553c7ea4
L
29973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29974 include <bits/wordsize.h>. Check __x86_64__ instead of
29975 __WORDSIZE.
29976 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29977 if __x86_64__ is defined. Use anonymous union on fpstate.
29978
3707636e
L
29979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29980 anonymous union.
29981
b53ef01a
AS
299822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29983
37fb1dc0
AS
29984 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29985 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29986 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29987 Refer to _rtld_local_ro instead of _rtld_global_ro.
29988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29989 Likewise.
29990 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29991 Likewise.
29992 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29993 Likewise.
29994 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29995 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29996 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29997
b53ef01a
AS
29998 * sysdeps/powerpc/powerpc32/dl-machine.c
29999 (__elf_machine_runtime_setup) [PROF]: Don't reference
30000 _dl_prof_resolve.
30001
7a185db2
AJ
300022012-05-18 Andreas Jaeger <aj@suse.de>
30003
30004 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30005 function only available for GCCs before 3.4 since GCC 3.4
30006 introduced a builtin.
30007 (lrint): Likewise.
30008 (llrintf): Likewise.
30009 (llrint): Likewise.
30010 (fmaxf): Likewise.
30011 (fmax): Likewise.
30012 (fminf): Likewise.
30013 (fmin): Likewise.
30014 (rint): Likewise.
30015 (rintf): Likewise.
30016 (nearbyint): Likewise.
30017 (nearbyintf): Likewise.
30018 (ceil): Likewise.
30019 (ceilf): Likewise.
30020 (floor): Likewise.
30021 (floorf): Likewise.
30022
3e5aef87
L
300232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30024
428bd707
L
30025 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30026 on both fields and cast pointer to __syscall_ulong_t.
30027
3e5aef87
L
30028 * bits/types.h (__fsword_t): New type.
30029 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30030 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30032 (__FSWORD_T_TYPE): Likewise.
30033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30034 (__FSWORD_T_TYPE): Likewise.
30035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30036 (__FSWORD_T_TYPE): Likewise.
30037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30038 (__FSWORD_T_TYPE): Likewise.
30039 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30040 __SWORD_TYPE with __fsword_t.
30041 (statfs64): Likewise.
30042
1ba7c3dc
DM
300432012-05-17 David S. Miller <davem@davemloft.net>
30044
30045 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30046
59910343
AJ
300472012-05-17 Andreas Jaeger <aj@suse.de>
30048
30049 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30050 warning.
30051
2e4c1e9e
L
300522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30053
30054 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30055
de7f5ce7
AJ
300562012-05-17 Andreas Jaeger <aj@suse.de>
30057
30058 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30059 when it is used.
30060
286abc3d
CM
300612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30062
30063 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30064
477cc68e
L
300652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30066
30067 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30068 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30069
1a0994f5
CD
300702012-05-17 Andreas Jaeger <aj@suse.de>
30071 Carlos O'Donell <carlos_odonell@mentor.com>
30072
30073 [BZ #14059]
30074 * sysdeps/x86_64/multiarch/init-arch.h
30075 (bit_YMM_Usable): Rename to...
30076 (bit_AVX_Usable): ... this.
30077 (bit_FMA4_Usable): New macro.
30078 (bit_XMM_state): New macro.
30079 (bit_YMM_state): New macro.
30080 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30081 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30082 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30083 (CPUID_OSXSAVE): New macro.
30084 (CPUID_AVX): New macro.
30085 (CPUID_FMA4): New macro.
30086 (index_YMM_Usable): Rename to...
30087 (index_AVX_Usable): ... this.
30088 (HAS_AVX): Use HAS_ARCH_FEATURE.
30089 (HAS_FMA4): Likewise.
30090 (HAS_YMM_USABLE): Remove.
30091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30092 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30093 are present.
30094 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30095 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30096 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30097 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30098 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30099
0af797de
CM
301002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30101
30102 * math/libm-test.c: Support platforms without multiple rounding modes.
30103 * math/bug-nextafter.c: Support platforms without FP exceptions.
30104 * math/bug-nexttoward.c: Likewise.
30105 * math/test-fenv.c: Likewise.
30106 * math/test-misc.c: Likewise.
30107 * stdlib/bug-getcontext.c: Likewise.
30108
e39745ff
AJ
301092012-05-17 Andreas Jaeger <aj@suse.de>
30110
30111 * manual/examples/search.c (critter_cmp): Change signature to
30112 avoid warnings.
30113 * manual/string.texi (Collation Functions): Likewise.
30114
48970aba
L
301152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30116
30117 * bits/types.h: Fold copyright years.
30118 * bits/typesizes.h: Likewise.
30119 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30123 * time/time.h: Likewise.
30124
bedee953
PP
301252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30126
30127 [BZ #208]
30128 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30129 in instead of returning them. Return void.
30130 (__libc_mallinfo): Accumulate over all arenas.
30131 (__malloc_stats): Adjust for change in int_mallinfo interface.
30132
61653dfb
RM
301332012-05-16 Roland McGrath <roland@hack.frob.com>
30134
30b99d79
RM
30135 [BZ #10375]
30136 * configure.in (NM): Add AC_CHECK_TOOL for it.
30137 (libc_extra_cflags): New substituted variable.
30138 Check for -fstack-protector being used implicitly.
30139 * configure: Regenerated.
30140 * config.make.in (config-extra-cflags): New variable,
30141 gets @libc_extra_cflags@.
30142 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30143
61653dfb
RM
30144 [BZ #10375]
30145 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30146 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30147 * configure: Regenerated.
30148 * config.make.in (CPPUNDEFS): New substituted variable.
30149 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30150 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30151 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30152
661768bb
L
301532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30154
30155 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30156 (mq_attr): Use __syscall_slong_t.
30157
d4261567
L
301582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30159
30160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30161 Check __x86_64__ instead of __WORDSIZE.
30162 (_STAT_VER_LINUX): Likewise.
30163 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30164 __syscall_ulong_t and __syscall_slong_t.
30165 (stat64): Likewise.
30166
cf3ff365
L
301672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30168
30169 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30170
76cf3e4d
L
301712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30172
30173 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30174
a637753a
L
301752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30176
30177 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30178 __syscall_ulong_t.
30179
d5e05119
L
30180 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30181 include <bits/wordsize.h>. Check __x86_64__ instead of
30182 __WORDSIZE.
30183 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30184 defined.
30185 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30186
f62ee380
L
30187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30188 include <bits/wordsize.h>. Check __x86_64__ instead of
30189 __WORDSIZE.
30190 (user_regs_struct): Use "__extension__ unsigned long long"
30191 instead of "unsigned long" if __x86_64__ is defined.
30192 (user): Likewise. Pad after pointer field if __ILP32__ is
30193 defined.
30194
4e124ced
JM
301952012-05-16 Joseph Myers <joseph@codesourcery.com>
30196
6a3951a0
JM
30197 * configure.in (makeinfo): Require version 4.5 or later. Allow
30198 versions 5 to 9.
30199 * configure: Regenerated.
30200 * manual/install.texi (texinfo): Increase version requirement to
30201 4.5 or later.
30202 * INSTALL: Regenerated.
30203
4e124ced
JM
30204 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30205
953ca31a
L
302062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30207
30208 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30209
617aca05
L
30210 * sysdeps/x86_64/x32/ffs.c: New file.
30211
5762f7ae
L
30212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30213 __syscall_ulong_t.
30214 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30215 defined. Use __syscall_ulong_t.
30216 (shminfo): Use __syscall_ulong_t.
30217 (shm_info): Likewise.
30218
a26b6856
L
30219 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30220 __syscall_ulong_t.
30221
cb2b9ef7
L
30222 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30223 <bits/wordsize.h>.
30224 (msgqnum_t): Use __syscall_ulong_t.
30225 (msglen_t): Likewise.
30226 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30227 __syscall_ulong_t.
30228
34683bb0
L
30229 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30231
84a68786
L
30232 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30233
48baa5f1
L
30234 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30235 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30236
180be88b
L
30237 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30238 __syscall_slong_t.
30239
5e90c8ad
L
30240 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30241 include <bits/wordsize.h>. Check __x86_64__ instead of
30242 __WORDSIZE.
30243
23dfb58b
L
30244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30245 "unsigned long long int" if __x86_64__ is defined.
30246 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30247
ce5d54b0
L
30248 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30250 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30251
13dc9eac
L
30252 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30253 <stdint.h>.
30254 (GET_PC): Cast to uintptr_t first.
30255 (GET_FRAME): Likewise.
30256 (GET_STACK): Likewise.
30257
a7895d15
L
30258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30266 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30287
656416c9
AS
302882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30289
5bd66283
AS
30290 * Makerules (+depfiles): Also collect depfiles from .oS in
30291 $(extra-objs).
30292 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30293 .oS, $(libnldbl-routines)).
30294
656416c9
AS
30295 * Makerules (native-compile-mkdep-flags): Define.
30296 * sunrpc/Makefile (extra-objs): Add $(addprefix
30297 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30298 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30299 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30300 calling $(make-target-directory).
30301
a46f2169
L
303022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30303
30304 * bits/types.h (__snseconds_t): Removed.
30305 * time/time.h (struct timespec): Replace __snseconds_t with
30306 __syscall_slong_t.
30307 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30308 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30309 Likewise.
30310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30311 (__SNSECONDS_T_TYPE): Likewise.
30312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30313 (__SNSECONDS_T_TYPE): Likewise.
30314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30315 (__SNSECONDS_T_TYPE): Likewise.
30316
6af6528b
L
303172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30318
30319 * sysdeps/mach/hurd/bits/typesizes.h
30320 (__SYSCALL_SLONG_TYPE): New macro.
30321 (__SYSCALL_ULONG_TYPE): Likewise.
30322
de986b56
L
303232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 * bits/types.h (__syscall_slong_t): New type.
30326 (__syscall_ulong_t): Likewise.
30327
30328 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30329 (__SYSCALL_ULONG_TYPE): Likewise.
30330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30331 (__SYSCALL_SLONG_TYPE): Likewise.
30332 (__SYSCALL_ULONG_TYPE): Likewise.
30333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30334 (__SYSCALL_SLONG_TYPE): Likewise.
30335 (__SYSCALL_ULONG_TYPE): Likewise.
30336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30337 (__SYSCALL_SLONG_TYPE): Likewise.
30338 (__SYSCALL_ULONG_TYPE): Likewise.
30339
85736dc7
L
303402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30341
30342 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30343 Add sigaltstack-offsets.sym.
30344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30345 <sigaltstack-offsets.h>.
30346 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30347 longjmp_msg pointer.
30348 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30349 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30350 signal stack.
30351 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30352
cc03b296
JM
303532012-05-15 Joseph Myers <joseph@codesourcery.com>
30354
a9538892
JM
30355 * elf/stackguard-macros.h: Remove file.
30356 * sysdeps/generic/stackguard-macros.h: New file.
30357 * sysdeps/i386/stackguard-macros.h: Likewise.
30358 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30359 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30360 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30361 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30362 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30363 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30364 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30365 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30366 <elf/stackguard-macros.h>.
30367
cc03b296
JM
30368 [BZ #14109]
30369 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30370 __aligned__ in attribute.
30371 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30372 (gregset_t): Likewise.
30373
93171016
L
303742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30375
30376 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30377 * sysdeps/x86_64/64/Implies-after: Here. New file.
30378 * sysdeps/x86_64/x32/Implies-after: New file.
30379
d86813a0
L
303802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30381
30382 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30383 and access return value for _dl_profile_fixup. Use R10_LP to
30384 load frame size.
30385
2953ec75
L
303862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30387
30388 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30389
3b550e9e
L
303902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30393 * sysdeps/x86_64/x32/sysdep.h: New file.
30394
eda41706
L
303952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30396
30397 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30398 * sysdeps/x86_64/setjmp.S: Likewise.
30399
9ea01d93
AZ
304002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30401
30402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30404 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30405 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30406 remove unused global constant.
30407
02a91938
CM
304082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30409
30410 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30411 include of <not-cancel.h>.
30412
6540185f
RM
304132012-05-15 Roland McGrath <roland@hack.frob.com>
30414
30415 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30416
509072a0
AJ
304172012-05-15 Jeff Law <law@redhat.com>
30418 Andreas Jaeger <aj@suse.de>
30419
30420 [BZ #13594]
30421 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30422 out from...
30423 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30424 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30426 code changing __hst_map_handle.map.
30427
ba75122d
RM
304282012-05-15 Roland McGrath <roland@hack.frob.com>
30429
30430 * configure.in (sysnames): Look for Implies-before and Implies-after
30431 files.
30432 * configure: Regenerated.
30433
890d8bd8
L
304342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30435
30436 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30437 8-byte data alignment with LP_SIZE alignment.
30438
f6ee6623
L
304392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30440
30441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30442 into R10_LP.
30443
ea2626f6
L
304442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30447
085f715e
L
304482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30449
30450 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30451 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30453 Likewise.
30454 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30455
be8498fc
L
304562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30457
30458 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30459 (stackinfo_sub_sp): Likewise.
30460
70bc83b9
L
304612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30462
30463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30464 RAX_LP.
30465
9bc0b730
L
304662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30469 into R*_LP.
30470
6d2850e7
L
304712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30472
30473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30474 sizes into R*_LP.
30475
3cb84561
L
304762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30479
54e2ed81
L
304802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30481
30482 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30483 into R11_LP and load __x86_64_shared_cache_size_half into
30484 R8_LP.
30485
8a17f349
L
304862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30487
30488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30489 R8_LP.
30490
777b1eea
AZ
304912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30492
30493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30494 logb for POWER7.
30495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30496 logbf for POWER7.
30497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30498 logbl for POWER7.
30499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30500 powerpc32/power7/fpu/s_logb.c via #include.
30501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30502 powerpc32/power7/fpu/s_logbf.c via #include.
30503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30504 powerpc32/power7/fpu/s_logbl.c via #include.
30505
d20d4ac2
JM
305062012-05-15 Joseph Myers <joseph@codesourcery.com>
30507
30508 * README.libm: Remove file.
30509
6cdef1ab
L
305102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30513 count for x32. Use R*_LP and omit operand-size suffix.
30514
0b254d8f
L
305152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30518 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30519 * sysdeps/x86_64/x32/shlib-versions: New file.
30520
ceb809dc
RM
305212012-05-14 Roland McGrath <roland@hack.frob.com>
30522
30523 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30524 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30525 Use _dl_fatal_printf instead.
30526
37f1abd4
JM
305272012-05-14 Joseph Myers <joseph@codesourcery.com>
30528
30529 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30530 set if not set by the user. Do not allow for being unset.
30531 * sysdeps/unix/sysv/linux/configure: Regenerated.
30532
11de3a33
L
305332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30534
30535 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30536 the `q' suffix from lea and replace .quad with ASM_ADDR.
30537
e02f153a
L
305382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30541 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30542 instead of $17.
30543 (PTR_DEMANGLE): Likewise.
30544
520ae0fd
L
305452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30546
30547 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30548 (LP_OP): Likewise.
30549 (ASM_ADDR): Likewise.
30550 (RAX_LP): Likewise.
30551 (RBP_LP): Likewise.
30552 (RBX_LP): Likewise.
30553 (RCX_LP): Likewise.
30554 (RDI_LP): Likewise.
30555 (RSI_LP): Likewise.
30556 (RSP_LP): Likewise.
30557 (R8_LP): Likewise.
30558 (R9_LP): Likewise.
30559 (R10_LP): Likewise.
30560 (R10_LP): Likewise.
30561 (R11_LP): Likewise.
30562 (R12_LP): Likewise.
30563 (R13_LP): Likewise.
30564 (R14_LP): Likewise.
30565 (R15_LP): Likewise.
30566
b985be81
L
305672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30568
30569 * sysdeps/x86_64/x32/dl-machine.h: New file.
30570
6a4888ff
AJ
305712012-05-14 Andreas Jaeger <aj@suse.de>
30572
30573 * manual/Makefile (subdir): Remove export of subdir.
30574 (all): Remove target.
30575 (.PHONY): Remove all from list.
30576 (mkinstalldirs): Remove.
30577 (.PHONY): Remove installdirs from list.
30578 ($(inst_infodir)/libc.info): Use make-target-directory.
30579 (installdirs): Remove.
30580 (subdir_%): Remove.
30581 (glibc-targets): Remove.
30582 (lib): Remove.
30583 (stubs): Remove.
30584 ($(objpfx)stubs ../po/manual.pot): Remove.
30585 ($(objpfx)stamp%): Remove.
30586 (make-target-directory): Remove.
30587 (subdir_install): Remove.
30588 (routines): Remove.
30589 (aux): Remove.
30590 (sources): Remove.
30591 (objects): Remove.
30592 (headers): Remove.
30593
30594 [BZ #13750]
30595 * manual/.gitignore: Remove, it's not needed anymore.
30596 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30597 all files in it.
30598 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30599 directory.
30600 (texis): Renamed to $(objpfx)texis.
30601 (texis-path): New, contains path to generated files.
30602 (chapters.%): Use texis-path for complete path, add extra argument
30603 libc-texinfo.sh.
30604 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30605 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30606 (summary,texi, stamp-summary): Use complete path of
30607 files. Generate files in build dir.
30608 (dir-add.texi): Build in build dir.
30609 (libm-err.texi,stamp-libm-err): Likewise.
30610 (version.texi, stamp-version): Likewise.
30611 (.%c.texi): Likewise.
30612 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30613 (mostlyclean): Remove target.
30614 (realclean): Remove target.
30615 (generated): Add new variable with contents from mostlyclean and
30616 realclean, remove entries duplicated in common-mostlyclean, add
30617 stamp-libm-err and stamp-version.
30618 (generated-dirs): Add libc directory.
30619 ($(inst_infodir)/libc.info): Install files from build dir.
30620
30621 * manual/install.texi (Configuring and compiling): Adjust since
30622 the info files are not part of the tar ball anymore.
30623
7ac77294
AJ
306242012-05-14 Andreas Jaeger <aj@suse.de>
30625
30626 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30627 variable.
30628
ffb7875d
JM
306292012-05-14 Joseph Myers <joseph@codesourcery.com>
30630
30631 [BZ #13717]
30632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30633 to 2.2.0 where earlier.
30634 * sysdeps/unix/sysv/linux/configure: Regenerated.
30635 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30636 Remove conditional code.
30637 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30638 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30639 Remove conditional code.
30640 [!__NR_lchown]: Likewise.
30641 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30642 [__NR_lchown]: Likewise.
30643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30644 comment referencing __ASSUME_LCHOWN_SYSCALL.
30645 * sysdeps/unix/sysv/linux/i386/sigaction.c
30646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30648 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30649 Remove conditional code.
30650 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30651 (__protocol_available): Remove #if 0 code.
30652 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30653 conditional code.
30654 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30655 * sysdeps/unix/sysv/linux/kernel-features.h
30656 (__ASSUME_GETCWD_SYSCALL): Don't define.
30657 (__ASSUME_REALTIME_SIGNALS): Likewise.
30658 (__ASSUME_PREAD_SYSCALL): Likewise.
30659 (__ASSUME_PWRITE_SYSCALL): Likewise.
30660 (__ASSUME_POLL_SYSCALL): Likewise.
30661 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30662 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30663 non-SPARC.
30664 (__ASSUME_SIOCGIFNAME): Don't define.
30665 (__ASSUME_MSG_NOSIGNAL): Likewise.
30666 (__ASSUME_SENDFILE): Define unconditionally.
30667 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30668 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30669 conditional code.
30670 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30671 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30672 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30673 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30674 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30675 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30676 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30701 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30702 Remove conditional code.
30703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30704 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30705 Remove conditional code.
30706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30707 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30708 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30709 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30710 Remove conditional code.
30711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30712 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30713 Remove conditional code.
30714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30715 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30716 Remove conditional code.
30717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30718 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30719 Remove conditional code.
30720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30721 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30722 Remove conditional code.
30723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30724 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30727 * sysdeps/unix/sysv/linux/sigaction.c
30728 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30729 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30730 * sysdeps/unix/sysv/linux/sigpending.c
30731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30733 * sysdeps/unix/sysv/linux/sigprocmask.c
30734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30736 * sysdeps/unix/sysv/linux/sigsuspend.c
30737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30740 (__libc_missing_rt_sigs): Remove.
30741 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30742 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30743 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30744 Remove conditional code.
30745 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30746 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30747 return 1.
30748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30749 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30751 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30752
1bfb7291
AJ
307532012-05-14 Andreas Jaeger <aj@suse.de>
30754
caae5a81
AJ
30755 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30756 it's not used in glibc.
30757 (__coshm1): Likewise.
30758 (__acosh1p): Likewise.
30759 (__sgn): Likewise.
30760
1bfb7291
AJ
30761 * manual/string.texi (Copying and Concatenation): Add missing
30762 variable in concat example.
30763 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30764
c044d724
L
307652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30766
144c5467 30767 [BZ #14103]
c044d724
L
30768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30769 __builtin_clzl with __builtin_clzll.
30770
2523c62b
L
307712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 [BZ #14104]
30774 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30775 libc_freeres_ptr.
30776
d7bb4c42
LD
307772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30778
30779 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30780 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30781 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30783
9dc4e1fb
MF
307842012-05-14 Mike Frysinger <vapier@gentoo.org>
30785
30786 * NEWS: Update ia64 info.
30787
c7df0112
AS
307882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30789
30790 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30791 used as bcopy.
30792
dc70356c
TS
307932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30794
30795 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30796 * sysdeps/unix/syscalls.list (dup3): Likewise.
30797 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30798 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30799
9fb1a21f
L
308002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30803 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30804
4822a2a5
L
308052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30806
30807 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30808 thread pointer.
30809 (TLS_IE): Use mov/add instead of movq/addq to load thread
30810 pointer.
30811 (TLS_GD_PREFIX): New.
30812 (TLS_GD): Use it.
30813
842b81d6
DM
308142012-05-11 David S. Miller <davem@davemloft.net>
30815
30816 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30817 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30818 (_FPU_SETCW): Likewise.
30819
1cf463cd
L
308202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30821
30822 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30823 is 32-byte aligned.
30824
60cc4a18
AS
308252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30826
30827 [BZ #11837]
30828 * iconvdata/gb18030.c: Update tables.
30829 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30830 characters specially.
30831 (BODY for TO_LOOP): Add encoding of missing ranges.
30832
febb44a4
TS
308332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30834
30835 [BZ #13673]
30836 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30837 * sysdeps/mach/hurd/dup3.c: Likewise.
30838 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30839 * sysdeps/powerpc/memmove.c:: Likewise.
30840
0a10fb9e
L
308412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30842
30843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30844 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30845
df8a552f
L
308462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30847
30848 * elf/elf.h (R_X86_64_RELATIVE64): New.
30849 (R_X86_64_NUM): Updated.
30850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30851 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30852 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30853 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30854 tst-quad1pie tst-quad2pie
30855 (modules-names): Add tst-quadmod1 tst-quadmod2.
30856 ($(objpfx)tst-quad1): New dependency.
30857 ($(objpfx)tst-quad2): Likewise.
30858 ($(objpfx)tst-quad1pie): Likewise.
30859 ($(objpfx)tst-quad2pie): Likewise.
30860 * sysdeps/x86_64/tst-quad1.c: New file.
30861 * sysdeps/x86_64/tst-quad1pie.c: New file.
30862 * sysdeps/x86_64/tst-quad2.c: Likewise.
30863 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30864 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30865 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30866 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30867 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30868
f34d6f84
ST
308692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30870
f42d41d1
ST
30871 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30872 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30873 * streams/stropts.h (t_scalar_t): Define type.
30874
3c3571fc
ST
30875 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30876 (_PATH_PRESERVE): Set to "/var/lib".
30877 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30878
61f06bd3
ST
30879 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30880 instead of int.
30881
918d4d71
ST
30882 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30883 if __dir_mkfile succeeded.
30884
f34d6f84
ST
30885 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30886 checking for _hurd_dtablesize. Unlock it right after having
30887 finished _hurd_dtable allocation.
30888
10589b4a
TS
308892012-05-10 Thomas Schwinge <thomas@schwinge.name>
30890
674cdbc7
TS
30891 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30892 * sysdeps/mach/hurd/configure: Regenerated.
30893 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30894 special-casing to...
30895 * sysdeps/gnu/configure.in: ... this new file.
30896 * sysdeps/unix/sysv/linux/configure: Regenerated.
30897 * sysdeps/gnu/configure: New generated file.
30898
8e41b99f
TS
30899 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30900 for Linux: use nsec instead of usec, as well as:
30901 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30902 members of type struct timespec.
30903 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30904 New macros.
30905 (struct stat64): Likewise.
30906 (_STATBUF_ST_NSEC): New macro.
30907 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30908
10589b4a
TS
30909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30910 __strtoul_internal rather than strtoul.
30911
63643c85
PT
309122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30913
30914 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30915 and reject them.
30916
3faebe6a
ST
309172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30918
30919 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30920 which preserves existing values.
30921 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30922
c6474b07
PT
309232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30924
30925 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30926 TIMEOUT values. Return EINVAL for NFDS values either negative or
30927 greater than FD_SETSIZE.
30928
1043890b
ST
309292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30930
30931 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30932 allocated, call __vm_protect to finish enabling the existing space, and
30933 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30934 allocate the remainder.
30935
37ed8b9b
PT
309362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30937
30938 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30939 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30940
db653660
ST
309412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30942
37ed8b9b
PT
30943 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30944 sysdeps/mach/hurd/readlink.c.
b29d4053 30945
db653660
ST
30946 * posix/tst-sysconf.c (posix_options): Only use
30947 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30948 _POSIX_SYNCHRONIZED_IO when they are defined
30949 * sysdeps/mach/hurd/bits/posix_opt.h:
30950 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30951 (_XOPEN_REALTIME): Undefine macro.
30952 (_XOPEN_REALTIME_THREADS): Undefine macro.
30953 (_XOPEN_SHM): Undefine macro.
30954 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30955 macro to -1.
30956 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30957 macro to -1.
30958 (_POSIX_ASYNC_IO): Undefine macro.
30959 (_POSIX_PRIORITIZED_IO): Undefine macro.
30960 (_POSIX_SPIN_LOCKS): Define macro to -1.
30961
ee16e894
ST
30962 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30963 SA_NODEFER, SA_RESETHAND.
30964 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30965 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30966 F_DUPFD_CLOEXEC.
30967
6103ae3b
TS
309682012-05-10 Thomas Schwinge <thomas@schwinge.name>
30969
30970 * elf/Makefile (pldd-modules): Define unconditionally.
30971
80b4e5f3
TS
309722012-05-10 Thomas Schwinge <thomas@schwinge.name>
30973
30974 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30975
edadcbd6
ST
309762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30977
30978 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30979 Return ENOENT when name is empty.
30980 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30981
80694780
TS
309822012-05-10 Thomas Schwinge <thomas@schwinge.name>
30983
1792c087
TS
30984 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30985
80694780
TS
30986 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30987
6b645f0d
ST
309882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30989
80694780
TS
30990 Fix mlock in all cases except non-readable pages.
30991 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30992 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30993
6b645f0d
ST
30994 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30995 (__mkdir): When path is `/', just fail with EEXIST.
30996 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30997
e468f8a3
TS
309982012-05-10 Thomas Schwinge <thomas@schwinge.name>
30999
31000 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31001 <sys/uio.h> (for writev).
31002 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31003 and <sys/param.h> (for MIN).
31004
a4186cff
PT
310052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31006
31007 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31008 REQUESTED_TIME. Properly set the remaining time and return EINTR
31009 if interrupted.
31010
510bbf14
TS
310112012-05-10 Thomas Schwinge <thomas@schwinge.name>
31012
31013 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31014 Depend on against $(link-rpcuserlibs).
31015
5d5722e8
ST
310162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31017
a4186cff
PT
31018 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31019 (__libc_stack_end): Do not use attribute_relro.
31020 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31021 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31022 to libthread-provided value.
a4186cff
PT
31023 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31024 attribute_relro.
5d5722e8 31025
37233df9
TS
310262012-05-10 Thomas Schwinge <thomas@schwinge.name>
31027
be971a2b
TS
31028 [BZ #3748]
31029 * bits/libc-lock.h (__libc_once_get): New macro.
31030 * sysdeps/mach/bits/libc-lock.h: Likewise.
31031 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31033 instead of using implementation details.
31034
37233df9
TS
31035 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31036 * libio/freopen.c: Likewise.
31037 * libio/freopen64.c: Likewise.
31038 * misc/syslog.c: Likewise.
31039 * nscd/connections.c: Likewise.
31040 * nscd/netgroupcache.c: Likewise.
31041 * sysdeps/posix/getcwd.c: Likewise.
31042
38de94a5
RM
310432012-05-10 Roland McGrath <roland@hack.frob.com>
31044
31045 * math/w_ilogbf.c: Add #include <limits.h>.
31046
67530489
ST
310472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31048
a4186cff 31049 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31050 path instead of returning without unlocking.
31051
67530489
ST
31052 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31053 immediate-write ioctls.
31054 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31055
5aa3a74a
TS
310562012-05-10 Thomas Schwinge <thomas@schwinge.name>
31057
18bad2ae
TS
31058 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31059 __builtin_frame_address instead of making assumptions about the
31060 location of the return address relative to DATA. Force early load of
31061 the return address.
31062 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31063 __builtin_frame_address.
31064
5aa3a74a
TS
31065 dup3 for GNU Hurd.
31066 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31067 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31068 implement dup3 and do some further code clean-ups.
31069 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31070 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31071
ecd0de9a
ST
310722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31073
cd9fa985
ST
31074 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31075
a4186cff
PT
31076 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31077 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31078 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31079 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31080 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31081 d->port.lock.
802ca5a5 31082
a4186cff
PT
31083 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31084 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31085 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31086
bcf55240
TS
310872012-05-10 Thomas Schwinge <thomas@schwinge.name>
31088
6960eb42
TS
31089 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31090 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31091 definitions.
31092
eb43375f
TS
31093 accept4 for GNU Hurd.
31094 * include/sys/socket.h (__libc_accept4): New prototype.
31095 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31096 to implement __libc_accept4.
31097 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31098 __libc_accept4.
31099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31100
bcf55240
TS
31101 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31102 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31103 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31104 signal-defines.sym.
31105
6178c55b
ST
311062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31107
a4186cff 31108 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31109
6f080c2f
TS
311102012-05-10 Thomas Schwinge <thomas@schwinge.name>
31111
31112 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31113 assertion on O_CLOEXEC flag.
31114 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31115 * hurd/intern-fd.c: Likewise.
31116 * hurd/port2fd.c: Likewise.
31117
bcfe3a54
ST
311182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31119
31120 [BZ #3906]
31121 * bits/in.h (IPV6_PKTINFO): Define new macro.
31122 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31123
89c9aa49
AZ
311242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31125
31126 [BZ #13954]
31127 [BZ #13955]
31128 [BZ #13956]
31129 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31131 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31135 * math/libm-test.inc (logb_test) : Additional logb tests.
31136
021db4be
AJ
311372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31138 Andreas Jaeger <aj@suse.de>
31139
31140 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31141 * configure: Regenerated.
31142 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31143 * config.make.in (link-obsolete-rpc): New substituted variable.
31144 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31145 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31146 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31147 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31148 so that libc.a contains the symbols.
31149 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31150 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31151 * sunrpc/auth_none.c: Likewise.
31152 * sunrpc/auth_unix.c: Likewise.
31153 * sunrpc/authdes_prot.c: Likewise.
31154 * sunrpc/authuxprot.c: Likewise.
31155 * sunrpc/clnt_gen.c: Likewise.
31156 * sunrpc/clnt_perr.c: Likewise.
31157 * sunrpc/clnt_raw.c: Likewise.
31158 * sunrpc/clnt_simp.c: Likewise.
31159 * sunrpc/clnt_tcp.c: Likewise.
31160 * sunrpc/clnt_udp.c: Likewise.
31161 * sunrpc/clnt_unix.c: Likewise.
31162 * sunrpc/des_crypt.c: Likewise.
31163 * sunrpc/des_soft.c: Likewise.
31164 * sunrpc/get_myaddr.c: Likewise.
31165 * sunrpc/key_call.c: Likewise.
31166 * sunrpc/key_prot.c: Likewise.
31167 * sunrpc/netname.c: Likewise.
31168 * sunrpc/pm_getmaps.c: Likewise.
31169 * sunrpc/pm_getport.c: Likewise.
31170 * sunrpc/pmap_clnt.c: Likewise.
31171 * sunrpc/pmap_prot.c: Likewise.
31172 * sunrpc/pmap_prot2.c: Likewise.
31173 * sunrpc/pmap_rmt.c: Likewise.
31174 * sunrpc/publickey.c: Likewise.
31175 * sunrpc/rpc_cmsg.c: Likewise.
31176 * sunrpc/rpc_common.c: Likewise.
31177 * sunrpc/rpc_dtable.c: Likewise.
31178 * sunrpc/rpc_prot.c: Likewise.
31179 * sunrpc/rpc_thread.c: Likewise.
31180 * sunrpc/rtime.c: Likewise.
31181 * sunrpc/svc.c: Likewise.
31182 * sunrpc/svc_auth.c: Likewise.
31183 * sunrpc/svc_raw.c: Likewise.
31184 * sunrpc/svc_run.c: Likewise.
31185 * sunrpc/svc_tcp.c: Likewise.
31186 * sunrpc/svc_udp.c: Likewise.
31187 * sunrpc/svc_unix.c: Likewise.
31188 * sunrpc/svcauth_des.c: Likewise.
31189 * sunrpc/xcrypt.c: Likewise.
31190 * sunrpc/xdr.c: Likewise.
31191 * sunrpc/xdr_array.c: Likewise.
31192 * sunrpc/xdr_float.c: Likewise.
31193 * sunrpc/xdr_intXX_t.c: Likewise.
31194 * sunrpc/xdr_mem.c: Likewise.
31195 * sunrpc/xdr_rec.c: Likewise.
31196 * sunrpc/xdr_ref.c: Likewise.
31197 * sunrpc/xdr_sizeof.c: Likewise.
31198 * sunrpc/xdr_stdio.c: Likewise.
31199
b5c086a2
RM
312002012-05-10 Roland McGrath <roland@hack.frob.com>
31201
31202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31203 change. Update copyright years.
31204
6d74dd09
JM
312052012-05-10 Joseph Myers <joseph@codesourcery.com>
31206
31207 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31208
28e72501
MK
312092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31210 Joseph Myers <joseph@codesourcery.com>
31211 Paul Pluzhnikov <ppluzhnikov@google.com>
31212
31213 [BZ #14012]
31214 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31215 requiring rpcgen.
31216 [cross-compiling] (extra-libs): Likewise.
31217 [cross-compiling] (extra-libs-others): Likewise.
31218 [cross-compiling] (librpcsvc-routines): Likewise.
31219 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31220 [cross-compiling] (omit-deps): Likewise.
31221 (sunrpc-CPPFLAGS): New variable.
31222 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31223 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31224 (cross-rpcgen-objs): New variable.
31225 (extra-objs): Append $(cross-rpcgen-objs).
31226 ($(cross-rpcgen-objs)): New rule.
31227 ($(objpfx)cross-rpcgen): Likewise.
31228 (rpcgen-cmd): Define to use $(built-program-file). Expand
31229 comment.
31230 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31231 ($(objpfx)x%.stmp): Likewise.
31232 * sunrpc/proto.h [IS_IN_build] (_): Define.
31233 [IS_IN_build] (_libc_intl_domainname): Likewise.
31234
c8c59454
L
312352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31236
31237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31238 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31239 and R_X86_64_TPOFF64.
31240
6f27cd16
JM
312412012-05-10 Joseph Myers <joseph@codesourcery.com>
31242
31243 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31244 sysdeps/unix/sysv/syscalls.list.
31245 (stime): Likewise.
31246 (utime): Likewise.
31247 * sysdeps/unix/sysv/syscalls.list: Remove file.
31248
02467e1c
PE
312492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31250
31251 [BZ #3440]
31252 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31253 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31254 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31255 (__LC_IDENTIFICATION): Make these macros useful in #if
31256 expressions, as required by C99.
31257
da392631
AS
312582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31259
31260 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31261 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31262 after this.
31263
8115f29b
L
312642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 * stdlib/longlong.h: Updated from GCC.
31267
bdd74070
AJ
312682012-05-09 Andreas Jaeger <aj@suse.de>
31269
edfe0dbe
AJ
31270 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31271 default is first entry.
31272 (run_mode): Set type.
31273 (main): Remove informal message about syslog.
31274 (options): Fix typo.
31275
bcfe3a54
ST
31276 [BZ #14053]
31277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31278 to asm.
bcfe3a54
ST
31279 (lrint): Likewise.
31280 (llrintf): Likewise.
31281 (llrint): Likewise.
31282 (rint): Likewise.
31283 (rintf): Likewise.
31284 (nearbyint): Likewise.
31285 (nearbyintf): Likewise.
bdd74070 31286
91d8d69e
AJ
312872012-05-09 Andreas Jaeger <aj@suse.de>
31288 Pedro Alves <palves@redhat.com>
31289
31290 * nscd/nscd.c (run_mode): Use enum.
31291 (main): Cleanup coding style issue.
31292
bb90b80b
AJ
312932012-05-09 Alexandre Oliva <aoliva@redhat.com>
31294 Andreas Jaeger <aj@suse.de>
31295
bcfe3a54
ST
31296 * nscd/nscd.c (go_background): Replaced with...
31297 (run_mode): ... this.
bb90b80b 31298 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31299 (options): Add -F --foreground.
31300 (main): Implement it.
31301 (parse_opt): Parse it.
bb90b80b 31302
1a4b75a1
AJ
313032012-05-09 Andreas Jaeger <aj@suse.de>
31304
31305 [BZ #14083]
31306 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31307 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31308 -Wconversion warning.
31309 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31310 Likewise.
31311
b1cc2472
JM
313122012-05-09 Joseph Myers <joseph@codesourcery.com>
31313
31314 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31315 == 0.
31316 (LC_ALL): Use macro-int-constant.
31317 (LC_COLLATE): Likewise.
31318 (LC_CTYPE): Likewise.
31319 (LC_MESSAGES): Likewise.
31320 (LC_MONETARY): Likewise.
31321 (LC_NUMERIC): Likewise.
31322 (LC_TIME): Likewise.
31323 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31324 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31326 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31327 Specify type.
31328 [C99-based standards] (float_t): Expect type.
31329 [C99-based standards] (double_t): Expect type.
31330 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31331 type.
31332 [C99-based standards] (HUGE_VALL): Likewise.
31333 [C99-based standards] (INFINITY): Likewise.
31334 [C99-based standards] (NAN): Likewise.
31335 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31336 [C99-based standards] (FP_NAN): Likewise.
31337 [C99-based standards] (FP_NORMAL): Likewise.
31338 [C99-based standards] (FP_SUBNORMAL): Likewise.
31339 [C99-based standards] (FP_ZERO): Likewise.
31340 [C99-based standards] (FP_FAST_FMA): Use
31341 optional-macro-int-constant. Specify type. Require == 1.
31342 [C99-based standards] (FP_FAST_FMAF): Likewise.
31343 [C99-based standards] (FP_FAST_FMAL): Likewise.
31344 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31345 [C99-based standards] (FP_ILOGBNAN): Likewise.
31346 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31347 Specify type.
31348 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31349 [C99-based standards] (math_errhandling): Specify type.
31350 [ISO99 || ISO11] (signgam): Do not allow.
31351 [non-C99-based standards] (copysignf): Do not allow.
31352 [non-C99-based standards] (exp2f): Likewise.
31353 [non-C99-based standards] (log2f): Likewise.
31354 [non-C99-based standards] (modff): Allow.
31355 [non-C99-based standards] (erff): Do not allow.
31356 [non-C99-based standards] (erfcf): Likewise.
31357 [non-C99-based standards] (gammaf): Likewise.
31358 [non-C99-based standards] (hypotf): Likewise.
31359 [non-C99-based standards] (j0f): Likewise.
31360 [non-C99-based standards] (j1f): Likewise.
31361 [non-C99-based standards] (jnf): Likewise.
31362 [non-C99-based standards] (lgammaf): Likewise.
31363 [non-C99-based standards] (tgammaf): Likewise.
31364 [non-C99-based standards] (y0f): Likewise.
31365 [non-C99-based standards] (y1f): Likewise.
31366 [non-C99-based standards] (ynf): Likewise.
31367 [non-C99-based standards] (isnanf): Likewise.
31368 [non-C99-based standards] (acoshf): Likewise.
31369 [non-C99-based standards] (asinhf): Likewise.
31370 [non-C99-based standards] (atanhf): Likewise.
31371 [non-C99-based standards] (cbrtf): Likewise.
31372 [non-C99-based standards] (expm1f): Likewise.
31373 [non-C99-based standards] (ilogbf): Likewise.
31374 [non-C99-based standards] (log1pf): Likewise.
31375 [non-C99-based standards] (logbf): Likewise.
31376 [non-C99-based standards] (nextafterf): Likewise.
31377 [non-C99-based standards] (remainderf): Likewise.
31378 [non-C99-based standards] (rintf): Likewise.
31379 [non-C99-based standards] (scalbf): Likewise.
31380 [non-C99-based standards] (copysignl): Likewise.
31381 [non-C99-based standards] (exp2l): Likewise.
31382 [non-C99-based standards] (log2l): Likewise.
31383 [non-C99-based standards] (modfl): Allow.
31384 [non-C99-based standards] (erfl): Do not allow.
31385 [non-C99-based standards] (erfcl): Likewise.
31386 [non-C99-based standards] (gammal): Likewise.
31387 [non-C99-based standards] (hypotl): Likewise.
31388 [non-C99-based standards] (j0l): Likewise.
31389 [non-C99-based standards] (j1l): Likewise.
31390 [non-C99-based standards] (jnl): Likewise.
31391 [non-C99-based standards] (lgammal): Likewise.
31392 [non-C99-based standards] (tgammal): Likewise.
31393 [non-C99-based standards] (y0l): Likewise.
31394 [non-C99-based standards] (y1l): Likewise.
31395 [non-C99-based standards] (ynl): Likewise.
31396 [non-C99-based standards] (isnanl): Likewise.
31397 [non-C99-based standards] (acoshl): Likewise.
31398 [non-C99-based standards] (asinhl): Likewise.
31399 [non-C99-based standards] (atanhl): Likewise.
31400 [non-C99-based standards] (cbrtl): Likewise.
31401 [non-C99-based standards] (expm1l): Likewise.
31402 [non-C99-based standards] (ilogbl): Likewise.
31403 [non-C99-based standards] (log1pl): Likewise.
31404 [non-C99-based standards] (logbl): Likewise.
31405 [non-C99-based standards] (nextafterl): Likewise.
31406 [non-C99-based standards] (remainderl): Likewise.
31407 [non-C99-based standards] (rintl): Likewise.
31408 [non-C99-based standards] (scalbl): Likewise.
31409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31410 [non-C99-based standards] (FP_*): Do not allow.
31411 [C99-based standards] (FP_*): Change to
31412 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31413 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31414 allow.
31415 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31416 (SIG_ERR): Likewise.
31417 [X/Open-based standards] (SIG_HOLD): Likewise.
31418 (SIG_IGN): Likewise.
31419 (SIGABRT): Use macro-int-constant. Specify type. Require
31420 positive value.
31421 (SIGFPE): Likewise.
31422 (SIGILL): Likewise.
31423 (SIGINT): Likewise.
31424 (SIGSEGV): Likewise.
31425 (SIGTER): Likewise.
31426 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31427 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31428 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31429 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31430 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31431 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31432 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31433 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31434 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31435 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31436 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31437 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31438 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31439 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31440 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31441 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31442 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31443 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31444 [X/Open-based standards] (SIGTRAP): Likewise.
31445 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31446 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31447 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31448 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31449 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31450 allow.
31451
b9f1922d
IW
314522012-05-08 Ian Wienand <ianw@vmware.com>
31453
31454 [BZ #14080]
31455 * time/tzset.c (__tzset_parse_tz): Update default rules for
31456 daylight time changes in the Energy Policy Act of 2005.
31457
1db86e88
AJ
314582012-05-09 Andreas Jaeger <aj@suse.de>
31459
31460 [BZ #13983]
31461 * elf/ldconfig.c (parse_conf): Change string to make clear that
31462 ldconfig only issued a warning if ld.so.conf does not exist.
31463
dee4a4e3
DM
314642012-05-08 David S. Miller <davem@davemloft.net>
31465
ee0db190
DM
31466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31467 movxtod instead of popping the value on the stack.
31468
dee4a4e3
DM
31469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31470
6a43ec98
CD
314712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31472
31473 * config.h.in: Add HAVE_ARM_PCS_VFP.
31474
05c2c961
RMG
314752012-05-08 Roland Mc Grath <roland@hack.frob.com>
31476
bcfe3a54
ST
31477 [BZ #13979]
31478 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31479 checking but the checks are disabled for any reason.
05c2c961 31480
4b30f61a
L
314812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31482
31483 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31484 and ELF64_R_TYPE with ELFW(R_TYPE).
31485
eee2bc67
JM
314862012-05-08 Joseph Myers <joseph@codesourcery.com>
31487
7ea5391a
JM
31488 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31489 (ulimit): Likewise.
31490
eee2bc67
JM
31491 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31492 (settimeofday): Likewise.
31493
abb66a67
MF
314942012-05-08 Mike Frysinger <vapier@gentoo.org>
31495
31496 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31497 a struct th_u2 inside the union, and move tu_block/tu_code into
31498 a new th_u3 union of tu_block/tu_code inside of that. Move
31499 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31500 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31501 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31502 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31503 (th_stuff): Change to th_u1.tu_stuff.
31504 (th_data): Define.
31505 (th_msg): Change to th_u1.th_u2.tu_data.
31506
7f18b530
DM
315072012-05-07 David S. Miller <davem@davemloft.net>
31508
05760585
DM
31509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31510
7f18b530
DM
31511 [BZ #14074]
31512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31513 (SETUP_PIC_REG): Use it.
31514 (SETUP_PIC_REG_LEAF): Use it.
31515
495fd99f
JM
315162012-05-07 Joseph Myers <joseph@codesourcery.com>
31517
31518 [BZ #13885]
31519 [BZ #13923]
31520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31521 USE_AS_EXPM1L.
31522 (EXPL_FINITE): Likewise.
31523 (FLDLOG): Likewise.
31524 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31525 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31526 e_expl.S.
31527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31528 USE_AS_EXPM1L.
31529 (EXPL_FINITE): Likewise.
31530 (FLDLOG): Likewise.
31531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31532 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31533 e_expl.S.
31534 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31535 test of -max_value argument for long double.
31536 * sysdeps/i386/fpu/libm-test-ulps: Update.
31537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31538
6693d694
DM
315392012-05-06 David S. Miller <davem@davemloft.net>
31540
31541 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31542 quad soft-float symbols whose references which are compiler
31543 generated.
31544 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31545
6c23e11c
JM
315462012-05-06 Joseph Myers <joseph@codesourcery.com>
31547
d8b82cad
JM
31548 [BZ #13884]
31549 [BZ #13914]
31550 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31551 USE_AS_EXP10L.
31552 (EXPL_FINITE): Likewise.
31553 (FLDLOG): Likewise.
31554 (c0): Likewise.
31555 (c1): Likewise.
31556 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31557 Adjust comments for base varying.
31558 (__expl_finite): Change alias to EXPL_FINITE.
31559 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31560 e_expl.S.
31561 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31562 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31563 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31564 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31566 USE_AS_EXP10L.
31567 (EXPL_FINITE): Likewise.
31568 (FLDLOG): Likewise.
31569 (c0): Likewise.
31570 (c1): Likewise.
31571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31572 Adjust comments for base varying.
31573 (__expl_finite): Change alias to EXPL_FINITE.
31574 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31575 tests for bugs.
31576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31577
6c23e11c
JM
31578 [BZ #14064]
31579 * math/libm-test.inc (check_float_internal): Correct ulp
31580 calculation for subnormal expected results.
31581
29ba805c
AJ
315822012-05-06 Andreas Jaeger <aj@suse.de>
31583
31584 * Makeconfig (+math-flags): New, set to -frounding-math.
31585 (+cflags): Add +math-flags so that all of glibc gets compiled with
31586 it.
31587
31588 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31589
7b17aeda
JM
315902012-05-05 Joseph Myers <joseph@codesourcery.com>
31591
5779f134
JM
31592 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31593 Disable one test.
31594
41498f4d
JM
31595 [BZ #13787]
31596 [BZ #13922]
31597 [BZ #14036]
31598 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31599 (__ieee754_expl): Allow for and saturate large arguments.
31600 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31601 (u_threshold): Likewise.
31602 (__exp): Call __ieee754_exp before checking for overflow and
31603 underflow.
31604 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31605 (u_threshold): Likewise.
31606 (__expf): Call __ieee754_expf before checking for overflow and
31607 underflow.
31608 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31609 (u_threshold): Likewise.
31610 (__expl): Call __ieee754_expl before checking for overflow and
31611 underflow.
31612 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31613 (__ieee754_expl): Allow for and saturate large arguments.
31614 * math/libm-test.inc (exp_test): Add another test. Do not allow
31615 missing overflow exception on overflow.
31616 (expm1_test): Do not allow missing overflow exception on overflow.
31617
6698b8bf
JM
31618 * sysdeps/i386/fpu/e_expl.c: Move to ...
31619 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31620 rather than using inline asm.
31621 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31622 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31623 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31624
7b17aeda
JM
31625 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31626 (nice): Likewise.
31627 (poll): Likewise.
31628 (signal): Likewise.
31629 (time): Likewise.
31630 (times): Likewise.
31631
f7c85819
JM
316322012-05-04 Joseph Myers <joseph@codesourcery.com>
31633
31634 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31635 sysdeps/unix/common/syscalls.list.
31636 (fchmod): Likewise.
31637 (fchown): Likewise.
31638 (ftruncate): Likewise.
31639 (getrusage): Likewise.
31640 (gettimeofday): Likewise.
31641 (setpgid): Likewise.
31642 (setregid): Likewise.
31643 (setreuid): Likewise.
31644 (sigaction): Likewise.
31645 (truncate): Likewise.
31646 (vhangup): Likewise.
31647 * sysdeps/unix/common/syscalls.list: Remove file.
31648 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31649 * sysdeps/unix/sysv/linux/Implies: Likewise.
31650
336270d0
L
316512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31655 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31656 Moved to ...
31657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31658 Here.
31659 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31660 to ...
31661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31662 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31663 to ...
31664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31665 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31666 to ...
31667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31668 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31669 to ...
31670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31671 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31672 to ...
31673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31674 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31675 to ...
31676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31677 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31678 to ...
31679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31680 Here.
31681 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31682 to ...
31683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31684 Here.
31685 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31686 to ...
31687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31688 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31689 Moved to ...
31690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31691 Here.
31692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31693 to ...
31694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31695
d128e450
JM
316962012-05-04 Joseph Myers <joseph@codesourcery.com>
31697
fa8ee516
JM
31698 * sysdeps/unix/common/bits/dirent.h: Remove file.
31699 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31700
d128e450
JM
31701 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31702 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31703 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31704 * sysdeps/unix/bsd/isatty.c: Likewise.
31705 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31706 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31707 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31708
ff8faaf0 317092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31710
62881be4 31711 [BZ #13563]
31dc8730
AZ
31712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31713 long double comparison inaccuracies.
31714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31716
6fef930c
AS
317172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31718
31719 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31721
8f203e6c
JM
317222012-05-04 Joseph Myers <joseph@codesourcery.com>
31723
31724 [BZ #14049]
31725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31726 nonzero digits before rounding a hex value.
31727 * stdlib/tst-strtod.c (tests): Add another test.
31728
5197d9c2
AK
317292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31730
31731 * sysdeps/s390/fpu/libm-test-ulps: Update.
31732
f0c1dedf
AJ
317332012-05-03 Andreas Jaeger <aj@suse.de>
31734
31735 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31736 does not get optimized out.
31737 (malloc_opt_barrier): New.
31738
a65ef2ae 317392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31740 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31741
2b942cb7 31742 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31743 intermediate file deletion.
2b942cb7 31744 (generated): Add .symlist files.
a65ef2ae 31745
54b71e02
JM
317462012-05-03 Joseph Myers <joseph@codesourcery.com>
31747
31748 [BZ #13775]
31749 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31750 Redirect under this condition.
31751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31752 [__USE_GNU] (__dprintf_chk): Not under this condition.
31753 [__USE_GNU] (__vdprintf_chk): Likewise.
31754 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31755 under this condition.
31756 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31757 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31758 [__USE_XOPEN2K8] (vdprintf): Likewise.
31759 [__USE_GNU] (__dprintf_chk): Not under this condition.
31760 [__USE_GNU] (__vdprintf_chk): Likewise.
31761 [__USE_GNU] (dprintf): Likewise.
31762 [__USE_GNU] (vdprintf): Likewise.
31763
d3dfcc41
RM
317642012-05-03 Roland McGrath <roland@hack.frob.com>
31765
31766 * elf/Makefile (common-generated): Set this instead of generated for
31767 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31768 $(all-built-dso)-derived lists.
31769
7ac30cc5
AJ
317702012-05-03 Andreas Jaeger <aj@suse.de>
31771
0c51e550
AJ
31772 * sysdeps/i386/fpu/libm-test-ulps: Update.
31773
7ac30cc5
AJ
31774 * FAQ: Removed.
31775 * FAQ.in: Likewise.
31776 * scripts/gen-FAQ.pl: Likewise.
31777 * manual/install.texi (Installation): Point to online location of
31778 FAQ.
31779 * Makefile (files-for-dist): Remove FAQ.
31780 (FAQ): Remove.
31781
d4c2917f
AM
317822012-05-02 Allan McRae <allan@archlinux.org>
31783
31784 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31785 (LDFLAGS-reldepmod5.so): Likewise.
31786 (LDFLAGS-reldep6mod1.so): Likewise.
31787 (LDFLAGS-reldep6mod4.so): Likewise.
31788 (LDFLAGS-reldep8mod3.so): Likewise.
31789 (LDFLAGS-unload4mod1.so): Likewise.
31790 (LDFLAGS-unload4mod2.so): Likewise.
31791 (LDFLAGS-tst-initorder): Likewise.
31792 (LDFLAGS-tst-initordera2.so): Likewise.
31793 (LDFLAGS-tst-initordera3.so): Likewise.
31794 (LDFLAGS-tst-initordera4.so): Likewise.
31795 (LDFLAGS-tst-initorderb2.so): Likewise.
31796 (LDFLAGS-noload): Likewise.
31797 (LDFLAGS-next): Likewise.
31798 (LDFLAGS-order2mod1.so): Likewise.
31799 (LDFLAGS-order2mod2.so): Likewise.
31800 (LDFLAGS-tst-initorder2): Likewise.
31801 (LDFLAGS-tst-initorder2a.so): Likewise.
31802 (LDFLAGS-tst-initorder2b.so): Likewise.
31803 (LDFLAGS-tst-initorder2c.so): Likewise.
31804 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31805
d77f993f
DM
318062012-05-02 David S. Miller <davem@davemloft.net>
31807
31808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31809
171a70b4
PP
318102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31811
31812 [BZ #14055]
31813 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31814
0be196ad
AJ
318152012-05-02 Andreas Jaeger <aj@suse.de>
31816
31817 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31818 since we manipulate rounding mode.
31819 (CPPFLAGS-test-idouble.c): Likewise.
31820 (CPPFLAGS-test-ifloat.c): Likewise.
31821 (CFLAGS-test-ldouble.c): Likewise.
31822 (CFLAGS-test-double.c): Likewise.
31823 (CFLAGS-test-float.c): Likewise.
31824 (CFLAGS-test-misc.c): Likewise.
31825 (CFLAGS-test-test-fenv.c): Likewise.
31826
4f9d04aa
AZ
318272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31828
2b942cb7
RM
31829 [BZ #2550]
31830 [BZ #2570]
31831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31832 comparisons to determine direction to adjust input.
4f9d04aa 31833
82a79e7d
RM
318342012-05-01 Roland McGrath <roland@hack.frob.com>
31835
f5a01ca9
RM
31836 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31837 output to the target.
31838
90fe4186
RM
31839 * scripts/localplt.awk: New file.
31840 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31841 (check-localplt-CFLAGS): Variable removed.
31842 ($(all-built-dso:=.jmprel)): New static pattern rule.
31843 (generated): Add those targets.
31844 (localplt-built-dso): New variable.
31845 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31846
31847 * elf/check-localplt.c: File removed.
31848
82397ed6
RM
31849 * scripts/check-execstack.awk: New file.
31850 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31851 (check-execstack-CFLAGS): Variable removed.
31852 ($(objpfx)check-execstack.h): Target removed.
31853 ($(objpfx)execstack-default): New target.
31854 (generated): Add that instead of check-execstack.h.
31855 ($(all-built-dso:=.phdr)): New static pattern rule.
31856 (generated): Add those targets.
31857 * elf/check-execstack.c: File removed.
31858
82a79e7d
RM
31859 * scripts/check-textrel.awk: New file.
31860 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31861 (check-textrel-CFLAGS): Variable removed.
31862 (all-built-dso): Use := to define.o
31863 ($(all-built-dso:=.dyn)): New static pattern rule.
31864 (generated): Add those targets.
31865 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31866 * config.make.in (READELF): New substituted variable.
31867 * elf/check-textrel.c: File removed.
31868
62fde54f 318692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31870
615605c9
JM
31871 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31872 allow.
31873 * conform/data/ctype.h-data [C99-based standards] (isblank):
31874 Expect function.
31875 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31876 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31878 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31879 Specify type. Require positive value.
31880 (EILSEQ): Likewise.
31881 (ERANGE): Likewise.
31882 [ISO || POSIX] (EILSEQ): Do not expect.
31883 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31884 Specify type. Require positive value.
31885 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31886 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31887 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31888 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31889 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31890 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31891 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31892 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31893 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31894 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31895 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31896 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31897 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31898 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31899 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31900 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31901 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31902 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31905 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31906 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31907 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31908 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31909 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31910 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31911 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31912 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31913 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31914 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31915 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31916 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31917 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31918 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31919 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31920 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31921 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31922 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31923 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31924 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31925 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31926 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31927 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31928 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31929 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31930 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31931 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31932 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31933 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31934 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31935 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31936 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31937 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31938 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31939 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31940 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31941 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31942 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31943 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31944 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31945 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31946 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31947 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31948 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31949 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31950 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31951 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31952 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31953 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31954 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31955 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31956 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31957 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31958 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31959 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31960 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31961 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31962 Require >= 2.
31963 (FLT_ROUNDS): Expect as macro, not constant.
31964 (FLT_MANT_DIG): Use macro-int-constant.
31965 (DBL_MANT_DIG): Likewise.
31966 (LDBL_MANT_DIG): Likewise.
31967 (FLT_DIG): Likewise.
31968 (DBL_DIG): Likewise.
31969 (LDBL_DIG): Likewise.
31970 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31971 (DBL_MIN_EXP): Likewise.
31972 (LDBL_MIN_EXP): Likewise.
31973 (FLT_MAX_EXP): Use macro-int-constant.
31974 (DBL_MAX_EXP): Likewise.
31975 (LDBL_MAX_EXP): Likewise.
31976 (FLT_MAX_10_EXP): Likewise.
31977 (DBL_MAX_10_EXP): Likewise.
31978 (LDBL_MAX_10_EXP): Likewise.
31979 (FLT_MAX): Use macro-constant.
31980 (DBL_MAX): Likewise.
31981 (LDBL_MAX): Likewise.
31982 (FLT_EPSILON): Use macro-constant. Give upper bound.
31983 (DBL_EPSILON): Likewise.
31984 (LDBL_EPSILON): Likewise.
31985 (FLT_MIN): Likewise.
31986 (DBL_MIN): Likewise.
31987 (LDBL_MIN): Likewise.
31988 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31989 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31990 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31991 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31992 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31993 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31994 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31995 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31996 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31997 [ISO11] (FLT_TRUE_MIN): Likewise.
31998 [ISO11] (LDBL_TRUE_MIN): Likewise.
31999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32000 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32001 (SCHAR_MIN): Use macro-int-constant. Specify type.
32002 (SCHAR_MAX): Likewise.
32003 (UCHAR_MAX): Likewise.
32004 (CHAR_MIN): Likewise.
32005 (CHAR_MAX): Likewise.
32006 (MB_LEN_MAX): Use macro-int-constant.
32007 (SHRT_MIN): Use macro-int-constant. Specify type.
32008 (SHRT_MAX): Likewise.
32009 (USHRT_MAX): Likewise.
32010 (INT_MAX): Likewise.
32011 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32012 bound negative.
32013 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32014 bound with "U".
32015 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32016 bound with "L".
32017 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32018 bound negative. Suffix upper bound with "L".
32019 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32020 bound with "UL".
32021 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32022 Specify type.
32023 [C99-based standards] (LLONG_MAX): Likewise.
32024 [C99-based standards] (ULLONG_MAX): Likewise.
32025 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32026 == 0.
32027 [ISO11] (max_align_t): Require type.
32028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32029
c9140a62
JM
32030 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32031 from $CFLAGS, without defining away __attribute__ calls.
32032 (checknamespace): Use $CFLAGS_namespace.
32033
9af0bf29
JM
32034 * conform/conformtest.pl (@keywords): Only include C99 keywords
32035 for standards based on C99 or C11.
32036
343222a2
JM
32037 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32038 Disable tests.
32039 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32040 UNIX98]: Likewise.
32041
661f8cf0
JM
32042 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32043 usability of symbols in #if.
32044
ee74b9cb
JM
32045 * conform/conformtest.pl: If macro or constant types start
32046 "promoted:", expect the symbol to be of the following type
32047 promoted by the integer promotions.
62fde54f 32048
aafc49b3
JM
32049 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32050 in one place. Also handle "macro-constant".
32051
fefdf574
JM
32052 * conform/conformtest.pl: Only accept expected macro values with
32053 "==". Parse all "macro" lines in one place.
32054 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32055
f2d922fe
JM
32056 * conform/conformtest.pl: Handle braced types on "constant" lines
32057 instead of handling "typed-constant".
32058 * conform/data/signal.h-data: Use "constant" instead of
32059 "typed-constant".
32060
d22956c9
JM
32061 * conform/conformtest.pl: Handle "optional-" at start of lines in
32062 one place rather than duplicating several cases. Handle each
32063 format of "macro" line with initial "optional-".
32064
028e2e38
JM
32065 * conform/conformtest.pl: Only accept expected constant or
32066 optional-constant values with "==". Parse all "constant" lines in
32067 one place. Parse all "optional-constant" lines in one place.
32068 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32069 * conform/data/fmtmsg.h-data: Likewise.
32070 * conform/data/netinet/in.h-data: Likewise.
32071 * conform/data/tar.h-data: Likewise.
32072 * conform/data/limits.h-data: Use "==" form on "constant" and
32073 "optional-constant" lines.
32074
1b8f2850
JM
32075 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32076 Use -std=c99 for XOPEN2K.
32077 (@knownproblems): Remove.
32078 (newtoken): Don't check %isknown.
32079
a05a144b
JM
32080 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32081 Do not expect macro.
32082 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32094 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32095 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32112 [XPG3] (acosh): Likewise.
32113 [XPG3] (asinh): Likewise.
32114 [XPG3] (atanh): Likewise.
32115 [XPG3] (cbrt): Likewise.
32116 [XPG3] (expm1): Likewise.
32117 [XPG3] (ilogb): Likewise.
32118 [XPG3] (log1p): Likewise.
32119 [XPG3] (logb): Likewise.
32120 [XPG3] (nextafter): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32123 [XPG3] (remainder): Likewise.
32124 [XPG3] (rint): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32132 [UNIX98 || XOPEN2K] (scalb): Expect.
32133 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32134 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32167 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32168 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32169 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32170 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32171 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32172 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32173 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32174 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32175 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32176 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32177 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32178 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32179 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32180 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32181 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32182 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32183 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32184 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32185 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32186 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32187 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32188 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32189 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32190 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32191 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32192 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32193 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32194 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32195 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32196 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32197 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32198 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32199 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32200 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32201 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32202 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32203 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32204 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32205 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32206 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32207 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32208 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32209 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32210 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32211 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32212 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32213 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32214 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32215 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32216 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32217 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32218 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32219 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32220 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32221 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32222 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32223 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32224 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32225 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32226 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32227 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32228 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32229 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32230 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32231 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32232 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32233 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32234 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32235 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32236 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32237 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32238 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32239 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32240 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32241 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32242 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32243 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32244 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32245 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32246 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32247 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32248 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32249 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32250 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32251 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32252 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32253 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32254 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32255 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32258 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32259 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32260 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32261 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32262 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32263 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32264 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32265 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32266 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32267 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32268 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32269 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32270
73c5ebe3
JM
32271 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32272 _XOPEN_SOURCE_EXTENDED for XPG4.
32273
39c33b6c
JM
32274 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32275
62fde54f
JM
32276 * Makeconfig (localtime): Remove variable.
32277 (inst_localtime-file): Likewise.
32278
0741d64c
AS
322792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32280
32281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32282 Update.
32283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32284 Update.
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32286 Update.
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32288 Update.
32289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32290 Update.
32291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32292 Update.
32293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32294 Update.
32295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32296 Update.
32297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32298 Update.
32299
7cb029ee
JM
323002012-05-01 Joseph Myers <joseph@codesourcery.com>
32301
32302 [BZ #2550]
32303 [BZ #2570]
32304 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32305 comparisons to determine direction to adjust input.
32306 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32307 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32308 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32309 Likewise.
32310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32311 Likewise.
32312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32313 Likewise.
32314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32316 Likewise.
32317 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32318 Likewise.
32319 * math/libm-test.inc (nexttoward_test): Add more tests.
32320
412bd966
AS
323212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32322
32323 [BZ #14040]
32324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32325 in version GLIBC_2.1, not GLIBC_2.0.
32326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32327 Likewise.
32328
9568c0c2
JM
323292012-04-30 Joseph Myers <joseph@codesourcery.com>
32330
adfbc8ac
JM
32331 [BZ #13942]
32332 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32333 (1 - x) * (1 + x).
32334 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32335 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32336 * math/libm-test.inc (acos_test): Add more tests.
32337 (asin_test): Likewise.
32338 * sysdeps/i386/fpu/libm-test-ulps: Update.
32339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32340
5ba3cc69
JM
32341 [BZ #14034]
32342 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32343 of square root.
32344 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32345 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32346 * math/libm-test.inc (acos_test_tonearest): New function.
32347 (acos_test_towardzero): Likewise.
32348 (acos_test_downward): Likewise.
32349 (acos_test_upward): Likewise.
32350 (asin_test_tonearest): Likewise.
32351 (asin_test_towardzero): Likewise.
32352 (asin_test_downward): Likewise.
32353 (asin_test_upward): Likewise.
32354 (main): Call the new functions.
32355 * sysdeps/i386/fpu/libm-test-ulps: Update.
32356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32357
9568c0c2
JM
32358 [BZ #13884]
32359 [BZ #13924]
32360 * math/e_exp10.c: Include <float.h>.
32361 (__ieee754_exp10): Handle underflow here rather than multiplying
32362 large negative argument by M_LN10.
32363 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32364 of __ieee754_expf.
32365 * math/e_exp10l.c: Include <float.h>.
32366 (__ieee754_exp10l): Handle underflow here rather than multiplying
32367 large negative argument by M_LN10l.
32368 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32369 spurious overflow exception on underflow.
32370
5ac3ea17
MP
323712012-04-29 Marek Polacek <polacek@redhat.com>
32372
32373 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32374 (__fortify_function): New macro.
32375 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32376 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32377 __extern_always_inline.
32378 * libio/bits/stdio2.h: Likewise.
32379 * libio/bits/stdio.h: Likewise.
32380 * string/string.h: Likewise.
32381 * string/bits/string3.h: Likewise.
32382 * include/stdio.h: Likewise.
32383 * stdlib/bits/stdlib.h: Likewise.
32384 * stdlib/stdlib.h: Likewise.
32385 * rt/bits/mqueue2.h: Likewise.
32386 * rt/mqueue.h: Likewise.
32387 * posix/bits/unistd.h: Likewise.
32388 * posix/unistd.h: Likewise.
32389 * io/bits/poll2.h: Likewise.
32390 * io/bits/fcntl2.h: Likewise.
32391 * io/fcntl.h: Likewise.
32392 * io/sys/poll.h: Likewise.
32393 * misc/bits/syslog.h: Likewise.
32394 * misc/bits/syslog-ldbl.h: Likewise.
32395 * misc/sys/syslog.h: Likewise.
32396 * socket/bits/socket2.h: Likewise.
32397 * socket/sys/socket.h: Likewise.
32398 * debug/tst-chk1.c: Likewise.
32399 * wcsmbs/bits/wchar2.h: Likewise.
32400 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32401 * wcsmbs/wchar.h: Likewise.
32402
ecf0ebfb
AJ
324032012-04-29 Andreas Jaeger <aj@suse.de>
32404
32405 * Makerules (tests): Remove enable-check-abi protection.
32406 (check-abi-warn): Remove.
32407 (check-abi-%): Remove check-abi-warn usage.
32408
32409 * configure.in: Remove check-abi configure option.
32410 * configure: Regenerated.
32411 * config.make.in (enable-check-abi): Remove.
32412
6d5c57fa
AS
324132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32414
24c5d07e 32415 [BZ #14033]
ded5180a
AS
32416 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32417 double functions to double *_finite functions.
32418
7e0d315d
AS
32419 [BZ #13941]
32420 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32421 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32422 LDBL_MIN_EXP.
32423 * stdio-common/Makefile (tests): Add tst-sprintf3.
32424 * stdio-common/tst-sprintf3.c: New file.
32425
6d5c57fa
AS
32426 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32427 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32428
0749ff8b
JM
324292012-04-28 Joseph Myers <joseph@codesourcery.com>
32430
32431 * conform/conformtest.pl: Remove duplicate typed-constant
32432 handling.
32433
8dbd5d7b
DM
324342012-04-28 David S. Miller <davem@davemloft.net>
32435
32436 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32437 (check-abi-%): Remove AWK script prerequisite and explicit
32438 abilist directory.
32439 (check-abi): Rewrite to just diff the symlist with the abilist.
32440 (config-tls, config-abi-config): Delete, no longer used.
32441 (update-abi-%): Remove AWK script and explicit abilist directory.
32442 (update-abi): Rewrite to simply compare and conditionally copy the
32443 symlist and the sysdep abilist file. Remove update-abi-config
32444 checks.
32445 * abilist/ld.abilist: Remove.
32446 * abilist/libBrokenLocale.abilist: Remove.
32447 * abilist/libanl.abilist: Remove.
32448 * abilist/libcrypt.abilist: Remove.
32449 * abilist/libdl.abilist: Remove.
32450 * abilist/librt.abilist: Remove.
32451 * abilist/libthread_db.abilist: Remove.
32452 * abilist/libutil.abilist: Remove.
32453 * scripts/extract-abilist.awk: Remove.
32454 * scripts/merge-abilist.awk: Remove.
32455 * sysdeps/generic/libcidn.abilist: New file.
32456 * sysdeps/generic/libnss_compat.abilist: New file.
32457 * sysdeps/generic/libnss_db.abilist: New file.
32458 * sysdeps/generic/libnss_dns.abilist: New file.
32459 * sysdeps/generic/libnss_files.abilist: New file.
32460 * sysdeps/generic/libnss_hesiod.abilist: New file.
32461 * sysdeps/generic/libnss_nis.abilist: New file.
32462 * sysdeps/generic/libnss_nisplus.abilist: New file.
32463 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32464 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32465 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32466 file.
32467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32468 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32469 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32470 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32471 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32472 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32473 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32474 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32475 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32476 file.
32477 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32481 file.
32482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32483 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32484 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32485 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32486 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32487 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32488 file.
32489 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32490 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32491 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32492 file.
32493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32495 New file.
32496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32497 New file.
32498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32499 New file.
32500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32501 New file.
32502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32503 New file.
32504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32505 New file.
32506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32507 New file.
32508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32509 New file.
32510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32511 New file.
32512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32513 New file.
32514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32515 New file.
32516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32517 New file.
32518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32519 New file.
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32521 file.
32522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32523 New file.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32525 New file.
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32527 file.
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32529 New file.
32530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32531 New file.
32532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32533 file.
32534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32535 New file.
32536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32537 New file.
32538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32539 New file.
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32541 New file.
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32543 New file.
32544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32545 New file.
32546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32548 file.
32549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32550 New file.
32551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32552 file.
32553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32554 file.
32555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32556 file.
32557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32558 file.
32559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32560 file.
32561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32562 New file.
32563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32564 file.
32565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32566 file.
32567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32568 New file.
32569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32570 file.
32571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32573 file.
32574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32575 New file.
32576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32577 file.
32578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32579 file.
32580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32581 file.
32582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32583 file.
32584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32585 file.
32586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32587 New file.
32588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32589 file.
32590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32591 file.
32592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32593 New file.
32594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32595 file.
32596 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32597 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32598 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32599 file.
32600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32601 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32602 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32603 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32604 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32606 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32607 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32608 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32609 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32612 file.
32613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32614 New file.
32615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32616 file.
32617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32618 file.
32619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32620 file.
32621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32622 file.
32623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32624 file.
32625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32626 New file.
32627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32628 New file.
32629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32630 file.
32631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32632 New file.
32633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32634 file.
32635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32637 file.
32638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32639 New file.
32640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32641 file.
32642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32643 file.
32644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32645 file.
32646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32647 file.
32648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32649 file.
32650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32651 New file.
32652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32653 New file.
32654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32655 file.
32656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32657 New file.
32658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32659 file.
32660
41d73a1b
JM
326612012-04-28 Joseph Myers <joseph@codesourcery.com>
32662
32663 * conform/conformtest.pl: Fix typo in handling typed-constant from
32664 allow-header.
32665
28aeeda4
JM
326662012-04-27 Joseph Myers <joseph@codesourcery.com>
32667
adae8f5e
JM
32668 * README: Cut down references to pre-2.6 Linux kernels and
32669 Linuxthreads. Update lists of configurations in libc and ports
32670 and sort alphabetically. Say "or newer" with Linux kernel version
32671 requirements.
32672
28aeeda4
JM
32673 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32674
a462cb63
RA
326752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32676
32677 [BZ #887]
32678 * math/libm-test.inc (logb_test_downward): New test to expose
32679 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32680 rounding mode.
32681
6ad3493e
JM
326822012-04-27 Joseph Myers <joseph@codesourcery.com>
32683
32684 [BZ #14027]
32685 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32686 to be done.
32687 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32688 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32689
2ce4f015
JM
326902012-04-26 Joseph Myers <joseph@codesourcery.com>
32691
5aeb141a
JM
32692 * sysdeps/unix/i386/brk.S: Remove file.
32693 * sysdeps/unix/i386/dl-brk.S: Likewise.
32694 * sysdeps/unix/i386/pipe.S: Likewise.
32695 * sysdeps/unix/i386/sigreturn.S: Likewise.
32696 * sysdeps/unix/i386/syscall.S: Likewise.
32697 * sysdeps/unix/i386/vfork.S: Likewise.
32698 * sysdeps/unix/i386/wait.S: Likewise.
32699
7143acae
JM
32700 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32701 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32702
2ce4f015
JM
32703 * configure.in (arm*-none*): Do not allow without
32704 --enable-hacker-mode.
32705 (netbsd*): Remove case setting base_os.
32706 (386bsd*): Likewise.
32707 (freebsd*): Likewise.
32708 (bsdi*): Likewise.
32709 (osf*): Likewise.
32710 (sunos*): Likewise.
32711 (ultrix*): Likewise.
32712 (newsos*): Likewise.
32713 (dynix*): Likewise.
32714 (*bsd*): Likewise.
32715 (sysv*): Likewise.
32716 (isc*): Likewise.
32717 (esix*): Likewise.
32718 (sco*): Likewise.
32719 (minix*): Likewise.
32720 (irix4*): Likewise.
32721 (irix6*): Likewise.
32722 (solaris[2-9]*): Likewise.
32723 (none): Likewise.
32724 * configure: Regenerated.
32725
0ac229c8
AZ
327262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32727
32728 [BZ #11521]
32729 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32730 overflow or cancellation in calculating denominator.
32731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32733 down expression to avoid unexpected rounding in newer GCCs.
32734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32735
33f244f4
DM
327362012-04-26 David S. Miller <davem@davemloft.net>
32737
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32739 long-double compat symbols.
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32753
cfa1f3e8
DM
327542012-04-25 David S. Miller <davem@davemloft.net>
32755
32756 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32757 HWCAP_* values only after the memory barriers have been defined.
32758 (atomic_full_barrier): Define.
32759 (atomic_read_barrier): Define.
32760 (atomic_write_barrier): Define.
32761
6e236b92
SP
327622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32763
32764 * shlib-versions: Add libgcc_s version information.
32765 * sysdeps/generic/libgcc_s.h: Remove.
32766 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32767 libgcc_s.h.
32768 * sysdeps/gnu/unwind-resume.c: Likewise.
32769 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32770
aab39a09
DM
327712012-04-25 David S. Miller <davem@davemloft.net>
32772
32773 * sysdeps/unix/sparc/brk.S: Delete.
32774 * sysdeps/unix/sparc/dl-brk.S: Delete.
32775 * sysdeps/unix/sparc/pipe.S: Delete.
32776 * sysdeps/unix/sparc/sysdep.S: Delete.
32777 * sysdeps/unix/sparc/sysdep.h: Delete.
32778 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32779 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32780 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32782 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32783 (JUMPTARGET): Remove.
32784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32785 sysdeps/unix/sparc/sysdep.h
32786 (ENTRY, END): Remove.
32787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32788
a3cc4f48
JM
327892012-04-25 Joseph Myers <joseph@codesourcery.com>
32790
2ed8cda2
JM
32791 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32792 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32793 -DIS_IN_build.
32794
35d76d59
JM
32795 * timezone/README: Update upstream location and email address for
32796 tzcode and tzdata.
32797 * timezone/zdump.c: Update from tzcode 2012b.
32798 * timezone/zic.c: Likewise.
32799
a3cc4f48
JM
32800 * configure.in (libc_cv_as_needed): Remove test.
32801 * configure: Regenerated.
32802 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32803 conditional definition.
32804 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32805 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32806 * config.make.in (have-as-needed): Remove variable.
32807
ceab42c3
SP
328082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32809 Paul Pluzhnikov <ppluzhnikov@google.com>
32810
32811 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32812 strings correctly.
32813
3ce2865f
CLT
328142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32815
32816 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32817 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32818 * sysdeps/sh/strlen.S: Likewise.
32819
f37e0d68
JM
328202012-04-24 Joseph Myers <joseph@codesourcery.com>
32821
ae186e9a
JM
32822 * sysdeps/unix/fork.S: Remove file.
32823 * sysdeps/unix/i386/fork.S: Likewise.
32824 * sysdeps/unix/sparc/fork.S: Likewise.
32825
b96914af
JM
32826 * sysdeps/unix/system.c: Remove file.
32827 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32828
f37e0d68
JM
32829 * sysdeps/unix/getegid.S: Remove file.
32830 * sysdeps/unix/geteuid.S: Likewise.
32831
87ef29ca
RM
328322012-04-24 Roland McGrath <roland@hack.frob.com>
32833
83bcd236
RM
32834 * scripts/check-localplt.awk: New file.
32835 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32836 of diff.
32837 * scripts/data/localplt-generic.data: Add a comment.
32838
87ef29ca
RM
32839 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32840 NODE when __dir_mkfile failed.
32841 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32842 Reported by Ludovic Courtès <ludo@gnu.org>.
32843
e5a6e567
AJ
328442012-04-24 Andreas Jaeger <aj@suse.de>
32845
32846 * Makerules (common-clean): Also remove gen-as-const-headers
32847 files.
32848
c1820385
JM
328492012-04-24 Joseph Myers <joseph@codesourcery.com>
32850
32851 * Makerules (native-compile): Do not change working directory for
32852 build. Use $(OUTPUT_OPTION) in command.
32853 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32854
94e02fc4
AZ
328552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32856
32857 [BZ #13886]
32858 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32859 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32860 * math/libm-test.inc (floor_test): Add more tests.
32861 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32862
3a533ca3
JM
328632012-04-24 Joseph Myers <joseph@codesourcery.com>
32864
940ab4b3
JM
32865 * sysdeps/unix/getdents.c: Remove file.
32866 * sysdeps/unix/sysv/getdents.c: Likewise.
32867 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32868
90e037bd
JM
32869 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32870 sysdeps/unix/mman/syscalls.list.
32871 (mmap): Likewise.
32872 (mprotect): Likewise.
32873 (msync): Likewise.
32874 (munmap): Likewise.
32875 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32876 * sysdeps/unix/mman/syscalls.list: Remove.
32877 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32878
3a533ca3
JM
32879 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32880 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32881 * configure: Regenerated.
32882 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32883 $(libgcc_s_suffix).
32884 * config.make.in (libgcc_s_suffix): Remove variable.
32885
1ad743de
JM
328862012-04-23 Joseph Myers <joseph@codesourcery.com>
32887
4ad451e2
JM
32888 * sysdeps/unix/sysv/gethostname.c: Move to ...
32889 * sysdeps/posix/gethostname.c: ... here.
32890
5e37ce39
JM
32891 * sysdeps/unix/execve.S: Remove file.
32892
1ad743de
JM
32893 * sysdeps/unix/_exit.S: Remove file.
32894
4e681b5b
AJ
328952012-04-23 Andreas Jaeger <aj@suse.de>
32896
32897 [BZ #13739]
32898 * manual/Makefile: Remove make dist support, there's no
32899 need for a stand-alone documentation tar ball.
32900 (TEXI2DVI): Define always, it's not in Makeconfig.
32901 (dist): Removed.
32902 (tar-it): Removed.
32903 (edition): Removed.
32904 (glibc-doc-$(edition).tar): Removed
32905 (%.Z): Removed.
32906 (%.gz): Removed.
32907 (%.uu): Removed.
32908 (ETAGS): Remove, it's in Makeconfig.
32909 (move-if-change): Remove, it's in Makeconfig.
32910
38686a03 329112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32912
32913 [BZ #13970]
32914 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32915 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32916 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32917 (strtod_l, strtof_l, strtold_l): Remove __wur.
32918 It is not necessarily an error to ignore strtol's return value.
32919 One can reliably look at the stored endptr to decide whether
32920 the number had valid syntax.
32921
7c0616fa
AJ
329222012-04-21 Andreas Jaeger <aj@suse.de>
32923
803cb6b7 32924 [BZ #13739]
7c0616fa
AJ
32925 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32926
b0fe253f
JM
329272012-04-21 Joseph Myers <joseph@codesourcery.com>
32928
32929 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32930 * sysdeps/unix/sysv/Versions: Remove file.
32931
8280f22d
MT
329322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32933
32934 [BZ #13927]
32935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32936
75ce411f 329372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32938
32939 [BZ #7064]
32940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32941 version from __vm86.
32942
097d59fa
JM
329432012-04-20 Joseph Myers <joseph@codesourcery.com>
32944
a90f3bcb
JM
32945 * sysdeps/unix/common/lxstat.c: Remove file.
32946 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32947
edc7ea78
JM
32948 * sysdeps/unix/sysv/Makefile: Remove file.
32949
cb78c221
JM
32950 * sysdeps/unix/sysv/direct.h: Remove file.
32951
efa6a45f
JM
32952 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32953 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32954 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32955 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32956 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32957 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32958 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32959
9c9f2d0c
JM
32960 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32961
4541c83b
JM
32962 * sysdeps/unix/xmknod.c: Remove file.
32963 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32964
f5d153a0
JM
32965 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32966
aa746595
JM
32967 * sysdeps/unix/sysv/i386/time.S: Remove file.
32968
cce5905e
JM
32969 * sysdeps/unix/fxstat.c: Remove file.
32970 * sysdeps/unix/xstat.c: Likewise.
32971 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32972
37fa3841
JM
32973 * sysdeps/unix/sysv/sigaction.c: Remove file.
32974
ff1962a3
JM
32975 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32976 (sysdep_headers): Remove variable.
32977 [termio.h not in sysdep_headers] (generated): Likewise.
32978 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32979 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32980 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32981 * sysdeps/unix/sysv/tcflow.c: Likewise.
32982 * sysdeps/unix/sysv/tcflush.c: Likewise.
32983 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32984 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32985 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32986 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32987 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32988
e7740d31
JM
32989 * sysdeps/unix/siglist.c: Remove file.
32990
ee06f18b
JM
32991 * sysdeps/unix/getppid.S: Remove file.
32992
097d59fa
JM
32993 * sysdeps/unix/mkdir.c: Remove file.
32994 * sysdeps/unix/rmdir.c: Likewise.
32995
ff3d51ec
AS
329962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32997
32998 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32999 ERR_MAX value.
33000 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33001 errlist-compat value.
33002
50f81fd7
DM
330032012-04-18 David S. Miller <davem@davemloft.net>
33004
33005 * sysdeps/generic/memcopy.h (reg_char): Delete.
33006 * debug/strcat_chk.c: Use char, not reg_char.
33007 * debug/strcpy_chk.c: Likewise.
33008 * debug/strncat_chk.c: Likewise.
33009 * debug/strncpy_chk.c: Likewise.
33010 * string/memchr.c: Likewise.
33011 * string/memrchr.c: Likewise.
33012 * string/rawmemchr.c: Likewise.
33013 * string/strcat.c: Likewise.
33014 * string/strchr.c: Likewise.
33015 * string/strchrnul.c: Likewise.
33016 * string/strcmp.c: Likewise.
33017 * string/strcpy.c: Likewise.
33018 * string/strncat.c: Likewise.
33019 * string/strncmp.c: Likewise.
33020 * string/strncpy.c: Likewise.
33021
8ff41c46
WS
330222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33023
33024 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33025 __builtin_memcopy is called when src and dest ranges are known to not
33026 overlap.
33027
6b652f46
WS
330282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33029
33030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33031 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33032 fwd_align_merge macro call.
33033 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33034 bwd_align_merge macro call.
33035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33036
b282631e
WS
330372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33038
33039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33040 bwd_align_merge macros.
33041 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33042 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33044
95aa737c
DM
330452012-04-18 David S. Miller <davem@davemloft.net>
33046
33047 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33048
7a99a614
AJ
330492012-04-18 Andreas Jaeger <aj@suse.de>
33050
33051 [BZ# 6794]
33052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33053 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33055
33056 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33057 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33059
33060 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33061 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33062 Adjust for changed ldbl-128 files.
33063
33064 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33065 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33067
e5270c23
DM
330682012-04-17 David S. Miller <davem@davemloft.net>
33069
33070 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33071
fb5e92c9
AS
330722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33073
33074 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33075 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33076 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33077 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33078 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33079 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33080
76da7265
AZ
330812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33082
33083 [BZ #6794]
33084 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33085 * math/libm-test.inc: Add ilogb errno and exception tests.
33086 * math/w_ilogb.c: New file: ilogb wrapper.
33087 * math/w_ilogbf.c: New file: ilogbf wrapper.
33088 * math/w_ilogbl.c: New file: ilogbl wrapper.
33089 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33090 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33091 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33092 exception being thrown with 0.0 as argument.
33093 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33094 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33095 exception being thrown with 0.0 as argument.
33096 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33097 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33098 exception being thrown with 0.0 as argument.
33099 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33100 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33101 exception being thrown with 0.0 as argument.
33102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33103 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33105 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33107 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33108 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33109 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33110 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33111
0396e69d
PB
331122012-04-17 Petr Baudis <pasky@ucw.cz>
33113
33114 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33115 with altivec.
33116
750b5926
MP
331172012-04-16 Marek Polacek <polacek@redhat.com>
33118
33119 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33120
751728a1
MP
331212012-04-16 Marek Polacek <polacek@redhat.com>
33122
33123 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33124 operands of fdivp instruction.
33125
34a27407
L
331262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33127
33128 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33129 * elf/tst-auditmod3b.c: Likewise.
33130 * elf/tst-auditmod4b.c: Likewise.
33131 * elf/tst-auditmod5b.c: Likewise.
33132 * elf/tst-auditmod6b.c: Likewise.
33133 * elf/tst-auditmod6c.c: Likewise.
33134 * elf/tst-auditmod7b.c: Likewise.
33135 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33136 * sysdeps/x86_64/preconfigure.in: Likewise.
33137 * sysdeps/x86_64/preconfigure: Regenerated.
33138
7e73e17d
L
331392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33140
33141 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33142 __ILP32__.
33143
c7a6ab72
AB
331442012-04-13 Antoine Balestrat <merkil33@gmail.com>
33145
33146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33147 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33148
a9e8e0e0
CL
331492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33150
33151 [BZ #13973]
33152 * locale/iso-639.def: Fix gl language name. Spotted by
33153 Yaron Shahrabani.
33154
ec98af7d
RM
331552012-04-12 Roland McGrath <roland@hack.frob.com>
33156
33157 [BZ #2074]
33158 * libio/libio.h (__io_write_fn): Update comment.
33159
247c3ede
PB
331602012-04-12 Petr Baudis <pasky@ucw.cz>
33161
33162 [BZ #2074]
33163 * stdio.texi (Hook Functions): The user provided writer function
33164 is not allowed to return -1.
33165
55939d6d
DM
331662012-04-11 David S. Miller <davem@davemloft.net>
33167
33168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33169
90020f5a
MF
331702012-04-11 Mike Frysinger <vapier@gentoo.org>
33171
33172 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33173 Add a leading slash to rtkaio.
33174
288f9098
JM
331752012-04-11 Jim Meyering <meyering@redhat.com>
33176
90020f5a
MF
33177 [BZ #11959]
33178 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33179 It is not necessarily an error to ignore fwrite's return
33180 value. One can reliably use ferror to test for errors after
33181 the fact.
288f9098 33182
4be2b570
L
331832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33184
33185 * bits/types.h (__snseconds_t): New type.
33186 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33187
33188 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33190 (__SNSECONDS_T_TYPE): Likewise.
33191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33192 (__SNSECONDS_T_TYPE): Likewise.
33193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33194 (__SNSECONDS_T_TYPE): Likewise.
33195
288f9098 331962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33197
33198 [BZ #2636]
33199 * manual/time.texi (Processor Time): Return type of times is
33200 elapsed real time since an arbitrary point in the past.
33201 (CPU Time): Move CLK_TCK from here...
33202 (Processor Time): ...to here. Correct description.
33203 * manual/conf.texi (Constants for Sysconf): Correct description of
33204 _SC_CLK_TCK.
33205
d7dd4413
DM
332062012-04-10 David S. Miller <davem@davemloft.net>
33207
33208 [BZ #13967]
33209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33210 where the is a gap between DT_REL(A) and DT_JMPREL.
33211
b46068fc
L
332122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33217
73d65cc3
SP
332182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33219
33220 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33221 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33222 (dl_main): Handle --inhibit-cache.
33223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33224 _dl_inhibit_cache.
33225 * elf/dl-load.c (_dl_map_object): Use it.
33226 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33227
bcc8d661
JM
332282012-04-09 Joseph Myers <joseph@codesourcery.com>
33229
8f9a2fae
JM
33230 [BZ #13872]
33231 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33232 (__ieee754_powl): Saturate large exponents rather than testing for
33233 overflow of y*log2(x).
33234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33235 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33236 exceptions.
33237
bcc8d661
JM
33238 [BZ #11521]
33239 * math/s_ctan.c: Include <float.h>.
33240 (__ctan): Avoid internal overflow or cancellation in calculating
33241 denominator.
33242 * math/s_ctanf.c: Likewise.
33243 * math/s_ctanl.c: Likewise.
33244 * math/s_ctanh.c: Likewise.
33245 * math/s_ctanhf.c: Likewise.
33246 * math/s_ctanhl.c: Likewise.
33247 * math/libm-test.inc (ctan_test): Add more tests.
33248 (ctanh_test): Likewise.
33249 * sysdeps/i386/fpu/libm-test-ulps: Update.
33250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251
823fbbb4
AJ
332522012-04-09 Andreas Jaeger <aj@suse.de>
33253
03879793
AJ
33254 [BZ #6894]
33255 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33256 is an optional BSD extension.
33257
823fbbb4
AJ
33258 [BZ #10254]
33259 * manual/stdio.texi (Opening Streams): Document additional fopen
33260 parameters.
33261
8de131cb
RM
332622012-04-09 Roland McGrath <roland@hack.frob.com>
33263
33264 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33265 %eax without telling the compiler.
33266
c0ed9d7d
CD
332672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33268
33269 [BZ # 13963]
33270 * manual/install.texi: Use sourceware.org.
33271
c483f6b4
JM
332722012-04-09 Joseph Myers <joseph@codesourcery.com>
33273
d7dd9453
JM
33274 [BZ #13873]
33275 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33276 (__ieee754_pow): Generate overflow and underflow using huge*huge
33277 and tiny*tiny rather than just returning constant infinity or zero
33278 for large exponents.
33279 * math/libm-test.inc (pow_test): Require overflow exceptions for
33280 applicable cases of large exponents.
33281
c483f6b4
JM
33282 [BZ #706]
33283 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33284 (__ieee754_pow): Use iterative multiplication algorithm only for
33285 integer exponents with absolute value below 1024. Check for odd
33286 integer exponents when using algorithm for real exponents.
33287 * math/libm-test.inc (pow_test): Add more tests.
33288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33289
d2de7579
JM
332902012-04-08 Joseph Myers <joseph@codesourcery.com>
33291
33292 [BZ #13705]
33293 * math/libm-test.inc (exp_test): Do not allow overflow exception
33294 on underflow test.
33295
f77f1232
AJ
332962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33297
33298 [BZ #13705]
33299 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33300 instead of __kernel_standard_f.
33301
3884932b
MF
333022012-04-08 Mike Frysinger <vapier@gentoo.org>
33303
33304 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33305 * sysdeps/x86_64/memset_chk.S: Likewise.
33306
54472e9c
AJ
333072012-04-08 Andreas Jaeger <aj@suse.de>
33308
6ab0fbfc
AJ
33309 [BZ #10153]
33310 * manual/startup.texi (Environment Access): Describe return value
33311 for putenv and setenv.
33312
61efba8c
AJ
33313 [BZ #6895]
33314 * manual/filesys.texi (Directory Entries): Add description for
33315 DT_LNK.
33316
95c3f29a
AJ
33317 [BZ #6890]
33318 * manual/filesys.texi (Directory Entries): Clarify that it's file
33319 system not operating system in the description of DT_UNKNOWN.
33320
54472e9c
AJ
33321 [BZ #6578]
33322 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33323
624254b1
SC
333242012-04-08 Stephen Compall <s11@member.fsf.org>
33325
33326 [BZ #6649]
33327 * manual/llio.texi (Opening and Closing Files): Add cross
33328 reference to explain mode argument.
33329
1e4920e0
MF
333302012-04-07 Mike Frysinger <vapier@gentoo.org>
33331
33332 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33333 * sysdeps/x86_64/memset_chk.S: Likewise.
33334
5ed848f3
DM
333352012-04-07 David S. Miller <davem@davemloft.net>
33336
33337 * elf/elf.h (R_SPARC_WDISP10): Define.
33338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33339 R_SPARC_SIZE32.
33340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33341 R_SPARC_SIZE64 and R_SPARC_H34.
33342
96154cd8
CD
333432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33344
33345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33346 conditions and remove no longer applicable assertion.
33347
9904dc47
L
333482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33349
33350 * bits/byteswap.h: Include <features.h>.
33351 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33352 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33353
f8887d0a
L
333542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33355
33356 * bits/byteswap.h (__bswap_16): Removed.
33357 Include <bits/byteswap-16.h> to get __bswap_16.
33358 * sysdeps/i386/bits/byteswap.h: Likewise.
33359 * sysdeps/s390/bits/byteswap.h: Likewise.
33360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33361 * bits/byteswap-16.h: New file.
33362 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33363 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33364 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33365 * string/Makefile (headers): Add bits/byteswap-16.h.
33366
62470f60
PP
333672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33368
33369 [BZ #13895]
33370 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33371 extra indirection.
33372 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33373 * nss/tst-nss-static.c: New.
33374
4dad7bab
RM
333752012-04-06 Robert Millan <rmh@gnu.org>
33376
33377 [BZ #6486]
33378 * manual/llio.texi (File Position Primitive): lseek
33379 refers to WHENCE when it really means OFFSET.
33380
e9142a17
AJ
333812012-04-06 Andreas Jaeger <aj@suse.de>
33382
2c040eff
AJ
33383 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33384 strncmp declarations.
33385
e9142a17
AJ
33386 * abilist/libc.abilist: Add __poll and __ppoll.
33387
ff9f1c5f
DM
333882012-04-05 David S. Miller <davem@davemloft.net>
33389
dcd2ae90
DM
33390 * scripts/check-local-headers.sh: Accept a host triplet in the
33391 path matched by the exclude regexp.
33392
993eb054
DM
33393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33394 definition.
33395 * sysdeps/powerpc/powerpc32/dl-machine.h
33396 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33397 * sysdeps/s390/s390-32/dl-machine.h
33398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33399 * sysdeps/sparc/sparc32/dl-machine.h
33400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33401 * sysdeps/sparc/sparc64/dl-machine.h
33402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33403
ff9f1c5f
DM
33404 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33405 lazy binding.
48e2e132 33406 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33407 undefined symbol errors.
33408
48e2e132 33409 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33410 DT_NEEDED entries.
33411
e80d6f94
MM
334122012-04-05 Michael Matz <matz@suse.de>
33413
33414 [BZ #13592]
33415 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33416
349fa79f
AJ
334172012-04-05 Andreas Jaeger <aj@suse.de>
33418
33419 [BZ #13908]
33420 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33421 comment.
33422
f402708f
KK
334232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33424
33425 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33426 which ROUND is no valid rounding mode.
33427
2ecccfc9
KK
334282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33429
33430 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33431 read again.
33432 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33433
8a53f50f
KK
334342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33435
33436 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33437 an exception using FPU order intentionally.
33438
334392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33440
33441 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33442 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33443 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33444 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33445
d653abb7
SJ
334462012-04-05 Simon Josefsson <simon@josefsson.org>
33447
33448 [BZ #12340]
33449 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33450 EINVAL when BUFLEN is too smal.
33451
c3b1bf7d
TS
334522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33453
33454 [BZ #13553]
33455 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33456 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33457
b1aa60f3
AJ
334582012-04-03 Andreas Jaeger <aj@suse.de>
33459
c3b1bf7d 33460 [BZ #13938]
67f60a26
AJ
33461 * manual/setjmp.texi (System V contexts): Fix sentence.
33462
b1aa60f3
AJ
33463 [BZ #13926]
33464 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33465 New macro for this case.
33466 [!__GNUC__] (__bswap_64): New inline function for this case.
33467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33468 * bits/byteswap.h: Likewise.
33469 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33470 ull, guard with __GLIBC_HAVE_LONG_LONG.
33471
33472 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33473 __GLIBC_HAVE_LONG_LONG.
33474
33475 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33476 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33477
39c59c35
TMQMF
334782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33479
33480 [BZ #13691]
33481 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33482 inptr and inend, rather than using last_ch.
33483
135ffda8
DM
334842012-04-02 David S. Miller <davem@davemloft.net>
33485
33486 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33487 * stdio-common/printf-parse.h (read_int): Change return type to
33488 'int', return -1 on INT_MAX overflow.
33489 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33490 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33491 overflows INT_MAX. Check for overflow of in-format-string precision
33492 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33493 SIZE_MAX not INT_MAX for integer overflow test.
33494 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33495 skip the construct in the format string but do not record anything.
33496 * stdio-common/bug22.c: Adjust to test both width/prevision
33497 INT_MAX overflow as well as total length INT_MAX overflow. Check
33498 explicitly for proper errno values.
33499
228c019e
TS
335002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33501
302cadd3
TS
33502 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33503 CHAR_MAX.
33504 * string/test-strcmp.c [! WIDE]: Likewise.
33505 * time/tst-mktime2.c: Likewise for INT_MAX.
33506 * string/test-string.h: #include <sys/param.h> for MIN.
33507
228c019e
TS
33508 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33509 * sysdeps/i386/init-first.c (init): Likewise.
33510 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33511 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33512 * sysdeps/sh/init-first.c (init): Likewise.
33513
cfa633f5
UD
335142012-04-01 Ulrich Drepper <drepper@gmail.com>
33515
33516 * po/ru.po: Update from translation team.
d1635ef8 33517 * po/vi.po: Likewise.
cfa633f5 33518
6cd0a5ea
SP
335192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33520
33521 * resolv/nss_dns/dns-host.c: Merge copyright years.
33522
4b43400f
LD
335232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33524
33525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33526 Optimize memcpy with prefetch if
33527 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33528 src, dst pointers have unequal 16 byte alignments.
33529
48c41d04
SP
335302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33531
33532 [BZ #13928]
33533 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33534 from a CNAME entry and return the minimum ttl for the query.
33535 (gaih_getanswer_slice): Likewise.
33536
b8dc394d
JL
335372012-03-30 Jeff Law <law@redhat.com>
33538
33539 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33540 due to long keys.
33541 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33542 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33543
2f5a5ed0
JL
33544 * resolv/nss_dns/dns-host.c: Update copyright year.
33545
1d39e359
UD
335462012-03-30 Ulrich Drepper <drepper@gmail.com>
33547
c030f70c 33548 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33549 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33550
1d39e359
UD
33551 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33552 comments for sendmmsg.
33553
335542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33555
33556 [BZ #13691]
33557 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33558 with only 1 character between 0x0041 and 0x01b0.
33559 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33560 * wcsmbs/tst-mbsnrtowcs.c: New file.
33561
20fde227
DM
335622012-03-29 David S. Miller <davem@davemloft.net>
33563
33564 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33565 small copies by hand.
33566
984a4237
JL
335672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33568
33569 [BZ #13761]
57f41c40
AS
33570 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33571 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33572 group memberships.
984a4237 33573
18c9d62b
DM
335742012-03-28 David S. Miller <davem@davemloft.net>
33575
88d85d4f
DM
33576 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33577 that branches into memcpy.
33578 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33581 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33583 bits.
33584 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33585 implementation too.
33586 * sysdeps/sparc/mempcpy.S: New file.
33587
e5aa83e1
DM
33588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33589 the IFUNC routine in the libc case.
33590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33591
88570753
DM
33592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33594 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33595 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33596 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33597 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33598 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33599 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33600
249d7567
DM
33601 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33602 loop to 256 bytes instead of 64 bytes and fix test signedness.
33603
18c9d62b
DM
33604 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33605 * sysdeps/sparc/sparc32/Makefile: rather than here...
33606 * sysdeps/sparc/sparc64/Makefile: and here.
33607
05f3d1f6
UD
336082012-03-28 Ulrich Drepper <drepper@gmail.com>
33609
33610 * malloc/mallocbug.c: Avoid warnings about unused variables.
33611
86ae07a8
JL
336122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33613
33614 [BZ #13760]
33615 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33616 in the right place. Discard and retry query if response is
33617 larger than input buffer size.
33618
41bf21a1
JM
336192012-03-28 Joseph Myers <joseph@codesourcery.com>
33620
d6270972
JM
33621 [BZ #369]
33622 [BZ #2678]
33623 [BZ #3866]
33624 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33625 x for large integer exponent.
33626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33627 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33628 sign of result as needed afterwards.
33629 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33630 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33631 result for underflowing pow the same as for overflow.
33632 (__kernel_standard_l): Handle powl overflow and underflow here
33633 rather than calling __kernel_standard.
33634 * math/libm-test.inc (pow_test): Add more tests.
33635
414fca03 33636 [BZ #3868]
41bf21a1
JM
33637 [BZ #13879]
33638 [BZ #13910]
33639 [BZ #13911]
33640 [BZ #13912]
33641 [BZ #13913]
33642 [BZ #13915]
33643 [BZ #13916]
33644 [BZ #13917]
33645 [BZ #13918]
33646 [BZ #13919]
33647 [BZ #13920]
33648 [BZ #13921]
33649 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33650 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33651 (__kernel_standard_l): New function.
33652 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33653 __kernel_standard.
33654 * math/w_acosl.c (__acosl): Likewise.
33655 * math/w_asinl.c (__asinl): Likewise.
33656 * math/w_atan2l.c (__atan2l): Likewise.
33657 * math/w_atanhl.c (__atanhl): Likewise.
33658 * math/w_coshl.c (__coshl): Likewise.
33659 * math/w_exp10l.c (__exp10l): Likewise.
33660 * math/w_exp2l.c (__exp2l): Likewise.
33661 * math/w_fmodl.c (__fmodl): Likewise.
33662 * math/w_hypotl.c (__hypotl): Likewise.
33663 * math/w_j0l.c (__j0l, __y0l): Likewise.
33664 * math/w_j1l.c (__j1l, __y1l): Likewise.
33665 * math/w_jnl.c (__jnl, __ynl): Likewise.
33666 * math/w_lgammal.c (__lgammal): Likewise.
33667 * math/w_log10l.c (__log10l): Likewise.
33668 * math/w_log2l.c (__log2l): Likewise.
33669 * math/w_logl.c (__logl): Likewise.
33670 * math/w_powl.c (__powl): Likewise.
33671 * math/w_remainderl.c (__remainderl): Likewise.
33672 * math/w_scalbl.c (sysv_scalbl): Likewise.
33673 * math/w_sinhl.c (__sinhl): Likewise.
33674 * math/w_sqrtl.c (__sqrtl): Likewise.
33675 * math/w_tgammal.c (__tgammal): Likewise.
33676 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33677 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33678 * math/libm-test.inc (acos_test): Add more tests.
33679 (acosh_test): Likewise.
33680 (asin_test): Likewise.
33681 (atanh_test): Likewise.
33682 (exp_test): Likewise.
33683 (exp10_test): Likewise.
33684 (exp2_test): Likewise.
33685 (expm1_test): Likewise.
33686 (lgamma_test): Likewise.
33687 (log_test): Likewise.
33688 (log10_test): Likewise.
33689 (log1p_test): Likewise.
33690 (log2_test): Likewise.
33691 (pow_test): Do not allow some spurious overflow exceptions.
33692 (sqrt_test): Add more tests.
33693 (tgamma_test): Likewise.
33694 (y0_test): Likewise.
33695 (y1_test): Likewise.
33696 (yn_test): Likewise.
33697
dd62fda6
AB
336982012-03-27 Anton Blanchard <anton@samba.org>
33699
33700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33701 MAP_HUGETLB.
33702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33705
1e3cdfda
AJ
337062012-03-27 David S. Miller <davem@davemloft.net>
33707
b855ab85
DM
33708 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33709
1e3cdfda
AJ
33710 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33711 have-as-vis3 check.
33712
337132012-03-27 Andreas Jaeger <aj@suse.de>
33714
33715 * sysdeps/x86_64/elf/configure.in: Moved to ...
33716 * sysdeps/x86_64/configure.in: ... here.
33717 * sysdeps/x86_64/elf/start.S: Moved to ...
33718 * sysdeps/x86_64/start.S: ... here.
33719 * sysdeps/x86_64/elf/configure: Delete.
33720
33721 * sysdeps/x86_64/configure.in: Merge contents from
33722 sysdeps/i386/configure.in (without i686 check).
33723
33724 * sysdeps/i386/elf/Versions: Merge into ...
33725 * sysdeps/i386/Versions: ... this.
33726 * sysdeps/i386/elf/Versions: Delete file.
33727 * sysdeps/i386/elf/start.S: Moved to ...
33728 * sysdeps/i386/start.S: ...here.
33729 * sysdeps/i386/elf/configure.in: Merge into...
33730 * sysdeps/i386/configure.in: ...here.
33731 * sysdeps/i386/elf/configure.in: Delete file.
33732 * sysdeps/i386/elf/configure: Delete file.
33733
33734 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33735 * debug/backtracesyms.c: ... here.
33736 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33737 * debug/backtracesymsfd.c: ... here.
33738 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33739 * sysdeps/generic/ifunc-sel.h: ... here.
33740
33741 * sysdeps/unix/i386/start.c: Delete file.
33742 * sysdeps/unix/sparc/start.c: Delete file.
33743 * sysdeps/unix/start.c: Delete file.
33744
33745 * sysdeps/sh/elf/configure.in: Moved to ...
33746 * sysdeps/sh/configure.in: ... here.
33747 * sysdeps/sh/elf/start.S: Moved to ...
33748 * sysdeps/sh/start.S: ... here.
33749 * sysdeps/sh/elf/configure: Delete file.
33750
33751 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33752 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33753 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33754 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33755 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33756 * sysdeps/powerpc/powerpc64/start.S: here.
33757 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33758 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33759 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33760 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33761 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33762
33763 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33764 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33765 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33766 * sysdeps/powerpc/powerpc32/start.S: ... here.
33767 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33768 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33769 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33770
33771 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33772 * sysdeps/powerpc/ifunc-sel.h: ... here.
33773 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33774 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33775
33776 * sysdeps/sparc/elf/configure.in: Moved to ...
33777 * sysdeps/sparc/configure.in: ... here.
33778 * sysdeps/sparc/elf/configure: Delete file.
33779 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33780 * sysdeps/sparc/sparc32/start.S: ... here.
33781 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33782 * sysdeps/sparc/sparc64/start.S: ... here.
33783 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33784 * sysdeps/sparc/sparc32/Makefile: ... this.
33785 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33786 * sysdeps/sparc/sparc64/Makefile: ... this.
33787
33788 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33789 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33790 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33791 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33792 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33793 * sysdeps/s390/s390-32/setjmp.S: ... here.
33794 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33795 * sysdeps/s390/s390-32/configure.in: ... here.
33796 * sysdeps/s390/s390-32/elf/configure: Delete file.
33797 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33798 * sysdeps/s390/s390-32/start.S: ... here.
33799
33800 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33801 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33802 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33803 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33804 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33805 * sysdeps/s390/s390-64/setjmp.S: ... here.
33806 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33807 * sysdeps/s390/s390-64/configure.in: ... here
33808 * sysdeps/s390/s390-64/elf/configure: Delete file.
33809 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33810 * sysdeps/s390/s390-64/start.S: ... here.
33811 * sysdeps/s390/s390-64/elf/configure: Delete.
33812
33813 * configure.in: Remove support for elf directories in sysdeps.
33814
33815 * configure: Regenerated.
33816 * sysdeps/i386/configure: Regenerated.
33817 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33818 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33819 * sysdeps/s390/s390-32/configure: Regenerated.
33820 * sysdeps/s390/s390-64/configure: Regenerated.
33821 * sysdeps/sh/configure: Regenerated.
33822 * sysdeps/sparc/configure: Regenerated.
33823 * sysdeps/x86_64/configure: Regenerated.
33824
a3f61311
AS
338252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33826
c876e002
AS
33827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33828
a3f61311
AS
33829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33830 denormal result into account.
33831
ac4c54f0
RM
338322012-03-25 Roland McGrath <roland@hack.frob.com>
33833
33834 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33835 Reported by Allan McRae <allan@archlinux.org>.
33836
6a9b9c02
JL
338372012-03-23 Jeff Law <law@redhat.com>
33838
33839 * nss/getnssent.c (__nss_getent): Fix typo.
33840
4c42a0c1
DM
338412012-03-23 David S. Miller <davem@davemloft.net>
33842
33843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33844
1532c7ac
L
338452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33846
33847 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33848 to pad to uint64_t for each field.
33849 (dl_tls_index): Replace unsigned long with uint64_t.
33850
3ff42526
PP
338512012-03-23 Daniel Jacobowitz <dmj@google.com>
33852 Paul Pluzhnikov <ppluzhnikov@google.com>
33853
33854 [BZ #6528]
33855 * grp/Makefile (otherlibs): Don't set it.
33856 * inet/Makefile (otherlibs): Likewise.
33857 * login/Makefile (otherlibs): Likewise.
33858 * nscd/Makefile (otherlibs): Likewise.
33859 * posix/Makefile (otherlibs): Likewise.
33860 * pwd/Makefile (otherlibs): Likewise.
33861 * rt/Makefile (otherlibs): Likewise.
33862 * sunrpc/Makefile (otherlibs): Likewise.
33863 * nss/Makefile (otherlibs): Likewise.
33864 Add libnss_files to routines and static-only-routines.
33865 ($(objpfx)getent): Remove rule.
33866 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33867 static-only-routines.
33868
7c69cd14
JM
338692012-03-22 Joseph Myers <joseph@codesourcery.com>
33870
33871 [BZ #13892]
33872 * math/s_cexp.c: Include <float.h>.
33873 (__cexp): Handle exp result overflowing not necessarily
33874 overflowing both real and imaginary parts of result.
33875 * math/s_cexpf.c: Likewise.
33876 * math/s_cexpl.c: Likewise.
33877 * math/libm-test.inc (cexp_test): Add more tests.
33878 * sysdeps/i386/fpu/libm-test-ulps: Update.
33879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33880
81b035fe
L
338812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33882
33883 * include/link.h (ELFW): New macro.
33884 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33885 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33886
1da7940c
L
338872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33890 with uint64_t.
33891
b749dbb9
L
338922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33893
33894 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33895 declaration.
33896 (struct La_x32_retval): Likewise.
33897
2ff87f3f
L
338982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33899
33900 * sysdeps/x86_64/preconfigure.in: New file.
33901 * sysdeps/x86_64/preconfigure: New generated file.
33902
c0df8e69
JM
339032012-03-22 Joseph Myers <joseph@codesourcery.com>
33904
48e44791
JM
33905 [BZ #13824]
33906 * math/e_exp2l.c: Include <float.h>.
33907 (__ieee754_exp2l): Handle overflow and underflow cases
33908 separately. Only pass fractional part of argument to
33909 __ieee754_expl.
33910 * math/libm-test.inc (exp2_test): Add more tests.
33911
c0df8e69
JM
33912 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33913 negating x to take absolute value.
33914 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33915 Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33918 Likewise.
33919 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33920 computing low part if x was negated.
33921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33922
c8e43ba7
L
339232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33924
33925 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33926 la_x32_gnu_pltexit.
33927 (pltexit): Cast int_retval to ptrdiff_t.
33928 * elf/tst-auditmod3b.c: Likewise.
33929 * elf/tst-auditmod4b.c: Likewise.
33930 * elf/tst-auditmod5b.c: Likewise.
33931 * elf/tst-auditmod6b.c: Likewise.
33932 * elf/tst-auditmod6c.c: Likewise.
33933 * elf/tst-auditmod7b.c: Likewise.
33934
33935 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33936 and x32_gnu_pltexit.
33937
33938 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33939 __ELF_NATIVE_CLASS.
33940 (La_x32_regs): New macro.
33941 (La_x32_retval): Likewise.
33942 (la_x32_gnu_pltenter): New function prototype.
33943 (la_x32_gnu_pltexit): Likewise.
33944
7998fa78
AS
339452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33946
dcb33988
AS
33947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33948 exponent.
33949
233fc563
AS
33950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33951
7998fa78
AS
33952 * configure.in (libc_cv_cc_nofma): Check for option to disable
33953 generation of FMA instructions.
33954 * configure: Regenerate.
33955 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33956 * sysdeps/ieee754/dbl-64/Makefile: New file.
33957 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33958 Remove brandred-fma4.
33959 (CFLAGS-brandred-fma4.c): Remove.
33960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33962 define.
33963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33964 define.
33965
8e95c99a
L
339662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33967
33968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33969 LLONG_MAX != LONG_MAX.
33970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33971 (_fitoa_word): Likewise.
33972 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33973 LLONG_MAX != LONG_MAX.
33974 * stdio-common/_itowa.h: Include <_itoa.h>.
33975 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33976 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33977 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33978 only if not defined.
33979 (_ITOA_WORD_TYPE): Likewise.
33980 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33981 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33982
6f4db457
DM
339832012-03-21 David S. Miller <davem@davemloft.net>
33984
33985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33986
7785fe5a
L
339872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33988
33989 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33990 of x86_64 when setting libc_cv_slibdir, libdir and
33991 libc_cv_localedir.
33992 * sysdeps/unix/sysv/linux/configure: Regenerated.
33993
4535cd55
JM
339942012-03-21 Joseph Myers <joseph@codesourcery.com>
33995
33996 * manual/lang.texi (Old Varargs): Remove section.
33997 (How Variadic): Update menu.
33998 (va_start): Do not mention varargs.h.
33999
17228132
TS
340002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34001 Joseph Myers <joseph@codesourcery.com>
34002
34003 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34004 link test.
34005 * configure: Regenerated.
34006
8149f976
TS
340072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34008
05f3d1f6
UD
34009 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34010 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34011 conformtest.pl
8149f976 34012
1a4ac776
JM
340132012-03-21 Joseph Myers <joseph@codesourcery.com>
34014
be22ce65
JM
34015 * NOTES: Remove.
34016 * Makefile (files-for-dist): Remove NOTES.
34017 (NOTES): Remove rule.
34018 * README: Don't refer to NOTES.
34019 * manual/creature.texi: Don't include macros.texi.
34020 * manual/intro.texi (creature.texi): Remove comment referring to
34021 NOTES.
34022
40b601fb
JM
34023 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34024 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34025 * configure: Regenerated.
34026 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34027 LIBC_TRY_CC_OPTION.
34028 (libc_cv_as_i686): Likewise.
34029 (libc_cv_cc_avx): Likewise.
34030 (libc_cv_cc_sse2avx): Likewise.
34031 (libc_cv_cc_fma4): Likewise.
34032 (libc_cv_cc_novzeroupper): Likewise.
34033 * sysdeps/i386/configure: Regenerated.
34034
1a4ac776
JM
34035 [BZ #13883]
34036 * sysdeps/i386/fpu/s_cexp.S: Remove.
34037 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34039 * math/libm-test.inc (cexp_test): Add more tests.
34040 * sysdeps/i386/fpu/libm-test-ulps: Update.
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34042
a458e7fe
AM
340432012-03-21 Allan McRae <allan@archlinux.org>
34044
34045 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34046
0cb7efc5
JM
340472012-03-21 Joseph Myers <joseph@codesourcery.com>
34048
34049 [BZ #13871]
34050 * math/w_exp2.c: Do not include <float.h>.
34051 (o_threshold, u_threshold): Remove.
34052 (__exp2): Calculate result before checking finiteness and calling
34053 __kernel_standard.
34054 * math/w_exp2f.c: Likewise.
34055 * math/w_exp2l.c: Likewise.
34056 * math/libm-test.inc (exp2_test): Require overflow exception for
34057 1e6 input.
2460d3aa
JM
34058
34059 [BZ #3866]
34060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34061 range of signed 64-bit integers before using fistpll. Remove
34062 checks for whether integers fit in mantissa bits.
34063 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34064 the range of signed 32-bit integers before using fistpl. Remove
34065 checks for whether integers fit in mantissa bits.
34066 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34067 (__ieee754_powl): Test for y outside the range of signed 64-bit
34068 integers before using fistpll. Reduce 64-bit values to 63-bit
34069 ones as needed.
34070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34071 divide-by-zero is raised for zero to large negative powers.
34072 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34073 (__ieee754_powl): Test for y outside the range of signed 64-bit
34074 integers before using fistpll. Reduce 64-bit values to 63-bit
34075 ones as needed.
34076 * math/libm-test.inc (pow_test): Add more tests.
34077
eb96ffb0
L
340782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34079
34080 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34081 <stdio-common/_itoa.h>.
34082 * debug/segfault.c: Likewise.
34083 * elf/dl-cache.c: Likewise.
34084 * elf/dl-minimal.c: Likewise.
34085 * elf/dl-misc.c: Likewise.
34086 * elf/dl-sysdep.c: Likewise.
34087 * elf/dl-version.c: Likewise.
34088 * elf/rtld.c: Likewise.
34089 * hurd/hurdsock.c: Likewise.
34090 * hurd/lookup-retry.c: Likewise.
34091 * malloc/malloc.c: Likewise.
34092 * malloc/mtrace.c: Likewise.
34093 * nscd/nscd_getgr_r.c: Likewise.
34094 * nscd/nscd_getpw_r.c: Likewise.
34095 * nscd/nscd_getserv_r.c: Likewise.
34096 * posix/getopt_init.c: Likewise.
34097 * posix/wordexp.c: Likewise.
34098 * stdio-common/_itoa.c: Likewise.
34099 * stdio-common/printf_fphex.c: Likewise.
34100 * stdio-common/vfprintf.c: Likewise.
34101 * string/_strerror.c: Likewise.
34102 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34103 * sysdeps/i386/i686/hp-timing.h: Likewise.
34104 * sysdeps/mach/_strerror.c: Likewise.
34105 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34106 * sysdeps/mach/hurd/sethostid.c: Likewise.
34107 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34108 * sysdeps/mach/xpg-strerror.c: Likewise.
34109 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34111 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34112 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34113 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34114 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34115 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34116 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34117 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34118 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34119 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34120 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34121 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34122 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34123 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34124 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34125 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34126 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34127 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34128 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34129 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34130
34131 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34132
34133 * stdio-common/_itoa.h: Moved to ...
34134 * sysdeps/generic/_itoa.h: Here.
34135
34136 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34137
34138 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34139 instead of "_itoa.h" and "_itowa.h".
34140 * stdio-common/vfprintf.: Likewise.
34141
d1af992d
L
341422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34145 <bits/wordsize.h>.
34146 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34147 (__signbit): Likwise.
34148 (llrintf): Likwise.
34149 (llrint): Likwise.
34150
114883e0
L
341512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34152
34153 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34154 __WORDSIZE != 64.
34155
c135cc1b
JM
341562012-03-20 Joseph Myers <joseph@codesourcery.com>
34157
34158 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34159 OVERFLOW_EXCEPTION_OK.
34160 * math/libm-test.inc ("Philosophy"): Update comment about
34161 exception testing.
34162 (OVERFLOW_EXCEPTION): Define.
34163 (OVERFLOW_EXCEPTION_OK): Likewise.
34164 (INVALID_EXCEPTION_OK): Renumber.
34165 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34166 (IGNORE_ZERO_INF_SIGN): Likewise.
34167 (test_exceptions): Handle FE_OVERFLOW.
34168 (exp10_test): Expect overflow exceptions.
34169 (exp2_test): Likewise.
34170 (expm1_test): Likewise.
34171 (nextafter_test): Likewise.
34172 (pow_test): Likewise.
34173 (scalbn_test): Likewise.
34174 (scalbln_test): Likewise.
34175
95443d88
L
341762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34177
34178 * sysdeps/x86_64/bits/atomic.h
34179 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34180 64bit integer.
34181 (atomic_exchange_acq): Likewise.
34182 (__arch_exchange_and_add_body): Likewise.
34183 (__arch_add_body): Likewise.
34184 (atomic_add_negative): Likewise.
34185 (atomic_add_zero): Likewise.
34186
490df6c4
L
341872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34188
c2722551 34189 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34190 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34191
5e52b189
L
341922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34193
34194 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34195 Check __x86_64__ instead of __WORDSIZE.
34196
a9879d4c
L
341972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34198
34199 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34200
5df98260
DM
342012012-03-19 David S. Miller <davem@davemloft.net>
34202
e1497744
DM
34203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34204
5df98260
DM
34205 * sysdeps/sparc/fpu/fenv_private.h: New file.
34206 * sysdeps/sparc/fpu/math_private.h: Use it.
34207 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34208 Remove.
57f41c40 34209 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34210 (libc_feholdexcept_setroundl): Remove.
34211 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34212 Remove.
34213 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34214 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34215
b4c35121
L
342162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34219 int64_t instead of long int.
34220 (INSERT_WORDS64): Likwise.
34221
56965fd7
L
342222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34223
34224 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34225 _Unwind_GetCFA return to _Unwind_Ptr first.
34226
83d1aec8
JM
342272012-03-19 Joseph Myers <joseph@codesourcery.com>
34228
1897ad44
JM
34229 [BZ #13629]
34230 * math/s_clog.c: Include <float.h>.
34231 (__clog): Scale large or subnormal inputs.
34232 * math/s_clogf.c: Likewise.
34233 * math/s_clogl.c: Likewise.
34234 * math/s_clog10.c: Include <float.h>.
34235 (M_LOG10_2): Define.
34236 (__clog10): Scale large or subnormal inputs.
34237 * math/s_clog10f.c: Likewise.
34238 * math/s_clog10l.c: Likewise.
34239 * math/libm-test.inc (clog_test): Add more tests.
34240 (clog10_test): Likewise.
34241 * sysdeps/i386/fpu/libm-test-ulps: Update.
34242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34243
7726d6a9
JM
34244 [BZ #11451]
34245 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34246 x and y.
34247 * math/libm-test.inc (atan2_test): Add another test.
34248
83d1aec8
JM
34249 * Makerules (common-objdir-compile): Remove.
34250 * sysdeps/unix/Makefile (config-generated): Do not add
34251 $(unix-generated) to variable.
34252 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34253 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34254 Remove rule.
34255 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34256 Likewise.
34257 [generic bits/local_lim.h] (before-compile): Do not append to
34258 variable.
34259 [generic bits/local_lim.h] (common-generated): Likewise.
34260 [generic sys/param.h] (before-compile): Do not append to variable.
34261 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34262 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34265 include.
34266 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34267 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34268 [generic sys/param.h] ($(addprefix
34269 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34270 [generic sys/param.h] (common-generated): Do not append to
34271 variable.
34272 [generic sys/param.h] (sysdep_headers): Likewise.
34273 [generic bits/errno.h] (before-compile): Do not append to
34274 variable.
34275 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34276 rule.
34277 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34278 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34279 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34280 [generic bits/errno.h] (common-generated): Do not append to
34281 variable.
34282 [generic bits/ioctls.h] (before-compile): Do not append to
34283 variable.
34284 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34285 rule.
34286 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34287 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34288 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34289 rule.
34290 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34291 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34292 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34293 [generic bits/ioctls.h] (common-generated): Do not append to
34294 variable.
34295 [generic sys/syscall.h] (syscall.h): Remove variable.
34296 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34297 rule.
34298 [generic sys/syscall.h] (before-compile): Do not append to
34299 variable.
34300 [generic sys/syscall.h] (common-generated): Likewise.
34301 * sysdeps/unix/errnos-tmpl.c: Remove file.
34302 * sysdeps/unix/errnos.awk: Likewise.
34303 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34304 * sysdeps/unix/ioctls.awk: Likewise.
34305 * sysdeps/unix/mk-local_lim.c: Likewise.
34306 * sysdeps/unix/snarf-ioctls: Likewise.
34307
4851a949
RH
343082012-03-19 Richard Henderson <rth@twiddle.net>
34309
bd37f2ee
RH
34310 * sysdeps/i386/fpu/fenv_private.h: New file.
34311 * sysdeps/i386/fpu/math_private.h: Use it.
34312 (math_opt_barrier, math_force_eval): Remove.
34313 (libc_feholdexcept_setround_53bit): Remove.
34314 (libc_feupdateenv_53bit): Remove.
34315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34316 (math_opt_barrier, math_force_eval): Remove.
34317 (libc_feholdexcept): Remove.
34318 (libc_feholdexcept_setround): Remove.
34319 (libc_fetestexcept, libc_fesetenv): Remove.
34320 (libc_feupdateenv_test): Remove.
34321 (libc_feupdateenv, libc_feholdsetround): Remove.
34322 (libc_feresetround): Remove.
34323
d0adc922
RH
34324 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34325 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34326
0fe0f1f8
RH
34327 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34328 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34329 (libc_feupdateenv_testl): New.
34330 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34331 (libc_feupdateenv_testf): New.
34332 (libc_feupdateenv): Use libc_feupdateenv_test.
34333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34335
eb92c487
RH
34336 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34337 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34338 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34339 (libc_feresetround_noex): New.
34340 (libc_feresetround_noexf): New.
34341 (libc_feresetround_noexl): New.
34342 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34343 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34344 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34345 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34346 SET_RESTORE_ROUND.
34347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34349 (__cos): Likewise.
34350 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34351 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34352 SET_RESTORE_ROUND_NOEX.
34353 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34354 SET_RESTORE_ROUND_NOEXF.
34355 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34356 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34357 (libc_feholdsetroundf): New.
34358 (libc_feresetround, libc_feresetroundf): New.
34359
7d2e8012
RH
34360 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34361 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34362 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34363
b4dabbb4
RH
34364 * sysdeps/generic/math_private.h: Include <fenv.h>.
34365 (default_libc_feholdexcept): New.
34366 (default_libc_feholdexcept_setround): New.
34367 (default_libc_fesetenv, default_libc_feupdateenv): New.
34368 (libc_feholdexcept): Only define if undefined.
34369 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34371 (libc_feholdexcept_setroundl): Likewise.
34372 (libc_feholdexcept_setround_53bit): Likewise.
34373 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34376 (libc_feupdateenv_53bit): Likewise.
34377 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34378 (libc_feholdexcept): Convert from macro to inline function.
34379 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34380 (libc_fesetenv, libc_feupdateenv): Likewise.
34381
4851a949
RH
34382 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34383 not previously defined.
34384 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34385 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34386 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34387 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34388 * sysdeps/ieee754/flt-32/math_private.h: New file.
34389 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34390 math_private.h below SET_FLOAT_WORD.
34391 (__isnan, __isinf_ns, __finite): Remove.
34392 (__isnanf, __isinf_nsf, __finitef): Remove.
34393
e79d442e
AS
343942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34395
34396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34397
90b80344
DM
343982012-03-17 David S. Miller <davem@davemloft.net>
34399
34400 [BZ #6471]
34401 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34402 for 2.16.
34403
edc21804
DM
344042012-03-16 David S. Miller <davem@davemloft.net>
34405
77e927af
DM
34406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34407 warnings.
34408
374976dd
DM
34409 [BZ #6471]
34410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34411 properly.
34412 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34413 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34414 sysdep_routines when subdir is sysvipc.
34415 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34416 __getshmlba helper.
34417
edc21804
DM
34418 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34419
473c3ef3
L
344202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34421
34422 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34423 [__LP64__].
34424
eb0f39b6
L
344252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34426
34427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34428 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34429 (__lround): Renamed to ...
34430 (__llround): This. Replace long int with long long int.
34431 Define lround functions as aliases of llround functions.
34432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34433
6b6cd74b
L
344342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34435
34436 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34437 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34438 adresses to uintptr_t. Replace "long int" and "unsigned long
34439 int" with "greg_t" on va_arg.
34440
f1a77b01
L
344412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34442
34443 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34444 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34445
34446 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34447 Move e_machine check before EI_CLASS check. Handle x32
34448 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34449 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34450 SKIP_EM_IA_64 and include
34451 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34452
34453 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34454 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34455 (add_system_dir): New macro.
34456
34457 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34458 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34459
11b90b9f
JM
344602012-03-16 Joseph Myers <joseph@codesourcery.com>
34461
c36e1d23
JM
34462 [BZ #2551]
34463 [BZ #2552]
34464 [BZ #2553]
34465 [BZ #2554]
34466 [BZ #2562]
34467 [BZ #2563]
34468 [BZ #2565]
34469 [BZ #2566]
34470 [BZ #2576]
34471 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34472 (y0): Likewise.
34473 * math/w_j0f.c (j0f): Likewise.
34474 (y0f): Likewise.
34475 * math/w_j0l.c (__j0l): Likewise.
34476 (__y0l): Likewise.
34477 * math/w_j1.c (j1): Likewise.
34478 (y1): Likewise.
34479 * math/w_j1f.c (j1f): Likewise.
34480 (y1f): Likewise.
34481 * math/w_j1l.c (__j1l): Likewise.
34482 (__y1l): Likewise.
34483 * math/w_jn.c (jn): Likewise.
34484 (yn): Likewise.
34485 * math/w_jnf.c (jnf): Likewise.
34486 (ynf): Likewise.
34487 * math/w_jnl.c (__jnl): Likewise.
34488 (__ynl): Likewise.
34489 * math/libm-test.inc (j0_test): Add more tests.
34490 (j1_test): Likewise.
34491 (jn_test): Likewise. Add trailing semicolon to existing test.
34492 (y0_test): Likewise.
34493 (y1_test): Likewise.
34494 * sysdeps/i386/fpu/libm-test-ulps: Update.
34495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34496
11b90b9f
JM
34497 [BZ #13851]
34498 [BZ #13854]
34499 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34500 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34501 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34502 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34503 (__tanl): Set errno for infinite argument.
34504 * sysdeps/i386/fpu/mptan.c: Remove.
34505 * sysdeps/i386/fpu/s_tan.S: Likewise.
34506 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34507 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34508 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34509 * math/libm-test.inc (tan_test): Add more tests and enable more
34510 tests for double and long double.
34511 * sysdeps/i386/fpu/libm-test-ulps: Update.
34512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34513
6a1bd2a1
JK
345142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34515
34516 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34517 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34518
10a803e0
RM
345192012-03-16 Roland McGrath <roland@hack.frob.com>
34520
34521 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34522 * configure.in: Use it for both main tree and add-ons.
34523 * configure: Regenerated.
34524
f196c7f7
L
345252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34526
34527 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34528
8848d99d
JM
345292012-03-16 Joseph Myers <joseph@codesourcery.com>
34530
96cbe7f4
JM
34531 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34532 in comment.
34533
8848d99d
JM
34534 [BZ #13851]
34535 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34536 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34540 infinite argument.
34541 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34543 != 0 for prec == 2.
34544 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34545 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34546 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34547 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34548 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34549 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34550 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34551 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34552 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34553 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34554 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34555 * math/libm-test.inc (cos_test): Add more tests and enable more
34556 tests for long double.
34557 (sin_test): Likewise.
34558 (sincos_test): Likewise.
34559 * sysdeps/i386/fpu/libm-test-ulps: Update.
34560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34561
dd7f4703
DM
345622012-03-16 David S. Miller <davem@davemloft.net>
34563
34564 * sysdeps/sparc/fpu/math_private.h: New file.
34565
006f1daa
DM
345662012-03-15 David S. Miller <davem@davemloft.net>
34567
c0c83bc8
DM
34568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34569 file.
e6a62e18 34570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34572 file.
e6a62e18
DM
34573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34579 sysdep routines.
34580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34581
88cb87d9
DM
34582 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34583 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34584
006f1daa 34585 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34587 sparc-ifunc.h
006f1daa 34588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34590 Likewise.
34591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34592 Likewise.
006f1daa
DM
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34597 Likewise.
006f1daa
DM
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34603 Likewise.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34605 Likewise.
006f1daa
DM
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34630
11e0098e
AS
346312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34632
34633 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34634 scaling.
34635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34636
e85b09d0
AJ
346372012-03-15 Andreas Jaeger <aj@suse.de>
34638
34639 [BZ #13852]
34640 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34641 ieee754/flt-32 implementation for sin, cos and sincos.
34642 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34643 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34644 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34645 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34646 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34647 ieee754/flt-32 implementation for tan.
34648
34649 * math/libm-test.inc (cos_test): Enable some large input tests for
34650 float as well
34651 (sin_test): Likewise.
34652 (sincos_test): Likewise.
34653 (tan_test): Add tests for large input.
34654
34655 * sysdeps/i386/fpu/libm-test-ulps: Update.
34656
81c64153
AJ
346572012-03-15 Andreas Jaeger <aj@suse.de>
34658
34659 [BZ #13658]
34660 * math/libm-test.inc (cos_test): Add more test cases.
34661 (sin_test): Likewise.
34662 (sincos_test): Likewise.
34663
7bbfa5c6
AJ
346642012-03-15 Andreas Jaeger <aj@suse.de>
34665
34666 [BZ #13837]
34667 * math/libm-test.inc (cos_test): Add a test case for large input
34668 value.
34669 (sin_test): Likewise.
34670 (sincos_test): Likewise.
34671
57f41c40
AS
346722012-03-15 Andreas Jaeger <aj@suse.de>
34673 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34674
34675 [BZ #13658]
0671f479 34676 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34677 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34678 * sysdeps/i386/fpu/branred.c: Likewise.
34679 * sysdeps/i386/fpu/dosincos.c: Likewise.
34680 * sysdeps/i386/fpu/mpa.c: Likewise.
34681 * sysdeps/i386/fpu/s_cos.S: Likewise.
34682 * sysdeps/i386/fpu/s_sin.S: Likewise.
34683 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34684 * sysdeps/i386/fpu/sincos32.c: Likewise.
34685
34686 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34687 Define.
34688 (libc_feupdateenv_53bit): Define.
34689 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34690 Define.
34691 (libc_feupdateenv_53bit): Define.
34692
34693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34694 53 bit (without extend i386 double precision).
34695
34696 * math/libm-test.inc (sincos_test): Add tests for large input.
34697 (sin): Likewise.
34698 (cos): Likewise.
34699
34700 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34701
9cad04ea
AS
347022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34703
34704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34705
f7062b9a
DM
347062012-03-15 David S. Miller <davem@davemloft.net>
34707
34708 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34710 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34711 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34724 file.
f7062b9a 34725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34727 file.
f7062b9a 34728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34730 file.
f7062b9a 34731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34733 file.
f7062b9a
DM
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34736 fmin/fmax sysdep routines.
34737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34738
7bd951ff
DM
347392012-03-14 David S. Miller <davem@davemloft.net>
34740
559398ab
DM
34741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34770 routines.
34771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34772 file.
559398ab 34773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34775 file.
559398ab 34776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34778 file.
559398ab 34779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34781 file.
559398ab 34782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34784 file.
559398ab 34785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34787 file.
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34789 file.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34791 file.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34793 file.
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34795 New file.
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34797 file.
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34799 file.
559398ab 34800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34802 file.
559398ab 34803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34805 file.
559398ab 34806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34808 file.
559398ab 34809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34811 VIS3 routines.
559398ab
DM
34812
34813 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34814 New file.
34815
5a1c1e32
DM
34816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34817
eae47a36
DM
34818 * sysdeps/sparc/configure.in: New file.
34819 * sysdeps/sparc/configure: Generate.
34820 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34821 * configure: Regenerate.
34822 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34823 * config.make.in (have-as-vis3): New.
34824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34825 available use -Av9d instead of -Av9a.
34826 * sysdeps/sparc/sparc64/Makefile: Likewise.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34829 New file.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34831 file.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34833 New file.
34834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34835 file.
eae47a36
DM
34836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34841
c0c83bc8
DM
34842 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34843 fzeros/fnegs to load 0x80000000 into a float register instead of
34844 using the stack.
7bd951ff
DM
34845 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34846
bd951ccb
JM
348472012-03-14 Joseph Myers <joseph@codesourcery.com>
34848
34849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34850 bits/syscall.h.
34851 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34852 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34853 ($(inst_includedir)/bits/syscall.h): Remove rule.
34854 ($(objpfx)bits/syscall.d): Include instead of
34855 $(objpfx)syscall-list.d.
34856 (generated): Change syscall-list.h and syscall-list.d to
34857 bits/syscall.h and bits/syscall.d.
34858
bb4e6db2
RM
348592012-03-14 Roland McGrath <roland@hack.frob.com>
34860
34861 [BZ #13846]
34862 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34863
aa4a2ae1
JM
348642012-03-14 Joseph Myers <joseph@codesourcery.com>
34865
e456826d
JM
34866 [BZ #13841]
34867 * math/s_csqrt.c: Include <float.h>.
34868 (__csqrt): Scale large or subnormal inputs.
34869 * math/s_csqrtf.c: Likewise.
34870 * math/s_csqrtl.c: Likewise.
34871 * math/libm-test.inc (csqrt_test): Add more tests.
34872 * sysdeps/i386/fpu/libm-test-ulps: Update.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34874
aa4a2ae1
JM
34875 [BZ #13840]
34876 * math/libm-test.inc (hypot_test): Add more tests.
34877
7c10fd35
DM
348782012-03-13 David S. Miller <davem@davemloft.net>
34879
34880 [BZ #13840]
34881 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34882 double-precision for the calculation instead of scaling.
34883
f453b98b
JM
348842012-03-13 Joseph Myers <joseph@codesourcery.com>
34885
34886 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34887 manipulate bits before adding and subtracting TWO52[sx].
34888 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34889 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34890 Likewise.
34891 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34892
09a3453f
DM
348932012-03-13 David S. Miller <davem@davemloft.net>
34894
8e59da90
DM
34895 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34896 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34898 rtld-global-offsets.h
34899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34900
2a8ab7f2
DM
34901 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34902 large parameters.
34903
10f62770
DM
34904 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34905
5f0bdb18
DM
34906 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34907 'err' in the ifdef scope in which it is actually used.
34908
09a3453f
DM
34909 * nss/nss_db/db-init.c: Include string.h
34910
b4b2eb5e
DM
349112012-03-12 David S. Miller <davem@davemloft.net>
34912
98bb2f1c
DM
34913 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34914 masking out of the most significant byte of random value used.
34915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34916 Fix coding style in previous change.
34917
b4b2eb5e
DM
34918 * sysdeps/unix/sysv/linux/kernel-features.h
34919 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34920 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34921 expression.
34922 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34923 later.
34924
6e226b09
DM
349252012-03-11 David S. Miller <davem@davemloft.net>
34926
a1bcbd40
DM
34927 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34928 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34930 for 'resultvar' otherwise things get truncated on 64-bit.
34931
cb9d6174
DM
34932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34933 Fix masking out of the most significant byte of random value used.
34934
6e226b09
DM
34935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34936
058c132d
AS
349372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34938
34939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34940
2d2cd515
DM
349412012-03-09 David S. Miller <davem@davemloft.net>
34942
34943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34944 variables with appropriate CPP guards.
57f41c40
AS
34945 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34946 from the frame pointer, not the stack pointer. Correct layout
34947 comments. Fix test on resulting framesize and the management of
34948 the outregs buffer for pltexit. Preserve floating point return
34949 values across _dl_call_pltexit call.
2d2cd515
DM
34950 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34951 framesize and the management of the outregs buffer for pltexit.
34952 Preserve floating point return values across _dl_call_pltexit
34953 call.
57f41c40
AS
34954 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34955 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34956 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34957 (print_exit): Fix format string for return register value.
34958
9a07f9d0
JM
349592012-03-10 Joseph Myers <joseph@codesourcery.com>
34960
34961 * sunrpc/Makefile (others): Add rpcgen.
34962 ($(objpfx)rpcgen): Remove special build rule and dependency on
34963 libc.
34964 * sunrpc/rpcgen.c: New file.
34965
547b5e30
PE
349662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34967
c524201a
PE
34968 [BZ #13673]
34969 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34970 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34971 * sysdeps/i386/crti.S: Likewise.
34972 * sysdeps/i386/crtn.S: Likewise.
34973 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34974 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34975 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34976 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34977 * sysdeps/sh/crti.S: Likewise.
34978 * sysdeps/sh/crtn.S: Likewise.
34979 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34980
7b6235f2
PE
34981 [BZ #13673]
34982 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34983 with URL.
34984 * locale/programs/locfile-kw.gperf: Likewise.
34985 * locale/programs/charmap-kw.h: Regenerated.
34986 * locale/programs/locfile-kw.h: Likewise.
34987
547b5e30
PE
34988 [BZ #13673]
34989 * intl/plural.y: Replace FSF snail mail address with URL.
34990 * intl/plural.c: Regenerated.
34991
5f0a5dae
RH
349922012-03-09 Richard Henderson <rth@twiddle.net>
34993
34994 * include/math_private.h: Remove file.
34995 * math/math_private.h: Move file ...
34996 * sysdeps/generic/math_private.h: ... here.
34997
b8c03620
RH
34998 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34999 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35000 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35001
4e234f5d 35002 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35003 and <math_private.h>.
35004 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35005 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35006 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35007 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35008 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35015 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35016 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35017 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35018 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35019 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35020 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35021 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35022 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35023 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35025 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35026 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35028 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35029 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35030 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35037 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35039 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35040 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35044 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35045 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35046 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35047 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35049 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35050 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35051 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35052 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35053 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35054 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35055 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35056 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35058 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35059 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35060 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35061 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35062 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35063 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35064 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35067 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35068 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35072 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35073 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35074 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35075 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35077 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35078 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35083 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35084 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35086 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35091 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35092 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35094 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35095 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35096 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35097 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35098 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35099 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35100 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35101 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35104 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35105 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35106 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35107 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35109 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35110 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35111 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35112 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35114 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35115 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35116 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35117 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35118 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35119 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35120 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35121 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35122 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35123 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35124 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35125 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35126 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35128 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35129 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35130 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35131 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35132 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35133 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35134 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35136 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35137 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35138 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35139 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35140 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35141 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35142 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35143 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35144 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35145 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35146 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35147 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35148 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35149 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35151 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35152 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35153 * sysdeps/ieee754/k_standard.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35245 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35247 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35266 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35267 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35269 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35271 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35273 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35276 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35281 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35286 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35287 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35288 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35289 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35290 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35292 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35293 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35296 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35297 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35298 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35299 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35300 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35301 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35302 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35303 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35304 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35314 * sysdeps/ieee754/s_lib_version.c: Likewise.
35315 * sysdeps/ieee754/s_matherr.c: Likewise.
35316 * sysdeps/ieee754/s_signgam.c: Likewise.
35317 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35318 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35319 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35320 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35321 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35323 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35324 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35325 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35326 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35327 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35328 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35329 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35330 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35331 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35333 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35334 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35338
1991fa03
JM
353392012-03-09 Joseph Myers <joseph@codesourcery.com>
35340
35341 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35342 * sunrpc/rpc_main.c: Likewise.
35343 * sunrpc/rpc_svcout.c: Likewise.
35344
60d6f5a6
DM
353452012-03-09 David S. Miller <davem@davemloft.net>
35346
35347 * include/math_private.h: New file.
35348
4962050e
JM
353492012-03-09 Joseph Myers <joseph@codesourcery.com>
35350
02a6f887
JM
35351 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35352 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35353 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35354 from <bits/socket_type.h>.
35355 (enum __socket_type): Don't define here.
35356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35358 bits/socket_type.h.
35359
c6e013c1
JM
35360 [BZ #13566]
35361 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35362 checking __USE_GNU.
35363
4962050e
JM
35364 * Makerules ($(inst_includedir)/%.h): New rule.
35365 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35366 (install-others): Remove variable setting.
35367 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35368
38842f45
RH
353692012-03-08 Richard Henderson <rth@twiddle.net>
35370
67bb6da6
RH
35371 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35372 from macro to inline function; merge with the
35373 !__LIBC_INTERNAL_MATH_INLINES version.
35374 (__ieee754_sqrtf): Likewise.
35375
15194b4b
RH
35376 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35377 to inline function.
35378 (__rintf, __floor, __floorf): Likewise.
35379
64e21ede
RH
35380 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35381 macro to inline function.
35382 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35383
38842f45
RH
35384 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35385 not <math/math_private.h>.
35386
c64bf5fe
DM
353872012-03-08 David S. Miller <davem@davemloft.net>
35388
35389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35390 copyright year.
35391 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35392
82d86f28
TS
353932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35394
35395 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35396 normalization.
35397 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35398 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35399
aea5d727
UD
354002012-03-08 Ulrich Drepper <drepper@gmail.com>
35401
35402 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35403 be defined individually, they must be defined as a block. Define
35404 S for printing a string instead of hidint the different by using a
35405 macro for adding the 'l'.
35406 * stdio-common/tst-fphex-wide.c: Adjust.
35407
70bca0a3
MP
354082012-03-07 Marek Polacek <polacek@redhat.com>
35409
35410 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35411
65b81130
MP
354122012-03-08 Marek Polacek <polacek@redhat.com>
35413
35414 [BZ #13806]
35415 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35416 * stdio-common/tst-fphex.c: Define a few macros to make the
35417 test reusable. Use them.
35418 * stdio-common/tst-fphex-wide.c: New file.
35419
07037eeb
JM
354202012-03-08 Joseph Myers <joseph@codesourcery.com>
35421
a7a93d50
JM
35422 [BZ #6911]
35423 * manual/macros.texi (gnusystems): New macro.
35424 (nongnusystems): Likewise.
35425 (gnulinuxhurdsystems): Likewise.
35426 (gnuhurdsystems): Likewise..
35427 (gnulinuxsystems): Likewise.
35428 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35429 variants of the GNU system, not "GNU system".
35430 * manual/conf.texi: Likewise.
35431 * manual/errno.texi: Likewise. Update example of errno macro
35432 expansion.
35433 * manual/filesys.texi: Likewise.
35434 (getumask): Document as specific to GNU/Hurd.
35435 * manual/install.texi: Likewise. Reword some references to
35436 GNU/Linux.
35437 * manual/intro.texi: Likewise.
35438 * manual/io.texi: Likewise.
35439 (File Name Portability): Detail which constraints are inapplicable
35440 to all GNU systems and which are only inapplicable to GNU/Hurd.
35441 * manual/job.texi: Likewise.
35442 * manual/llio.texi: Likewise.
35443 (O_NOCTTY): Document as present on GNU/Linux.
35444 * manual/maint.texi: Likewise.
35445 * manual/memory.texi: Likewise.
35446 * manual/pattern.texi: Likewise.
35447 * manual/pipe.texi: Likewise.
35448 * manual/process.texi: Likewise.
35449 * manual/resource.texi: Likewise.
35450 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35451 child on GNU/Hurd.
35452 * manual/setjmp.texi: Likewise.
35453 * manual/signal.texi: Likewise.
35454 * manual/startup.texi: Likewise.
35455 * manual/stdio.texi: Likewise.
35456 * manual/terminal.texi: Likewise.
35457 (ONLCR): Document as POSIX.
35458 (OXTABS): Document availability on GNU/Linux as XTABS.
35459 (ONOEOT): Document availability separately from other bits.
35460 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35461 * manual/time.texi: Likewise.
35462 * manual/users.texi: Likewise.
35463 * INSTALL: Regenerated.
35464 * sysdeps/gnu/errlist.c: Regenerated.
35465
07037eeb
JM
35466 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35467 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35468 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35469 puts.
35470 * configure: Regenerated.
35471
d1d3431a
JM
354722012-03-07 Joseph Myers <joseph@codesourcery.com>
35473
af6a1e37
JM
35474 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35475 default includes instead of AC_HEADER_CHECK.
35476 * sysdeps/i386/configure: Regenerated.
35477
d1d3431a
JM
35478 [BZ #10716]
35479 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35480 * math/s_cacoshf.c (__cacoshf): Likewise.
35481 * math/s_cacoshl.c (__cacoshl): Likewise.
35482 * math/s_casinh.c (__casinh): Set signs of result from argument.
35483 * math/s_casinhf.c (__casinhf): Likewise.
35484 * math/s_casinhl.c (__casinhl): Likewise.
35485 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35486 (casinh_test): Add more tests.
35487 * sysdeps/i386/fpu/libm-test-ulps: Update.
35488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35489
482ff4da
UD
354902012-03-07 Ulrich Drepper <drepper@gmail.com>
35491
872fda05
UD
35492 * po/zh_TW.po: Update from translation team.
35493
a4300c7a
UD
35494 * login/Makefile (distribute): Remove variable.
35495 * catgets/Makefile: Likewise.
35496 * mach/Makefile: Likewise.
35497 * malloc/Makefile: Likewise.
35498 * misc/Makefile: Likewise.
35499 * iconv/Makefile: Likewise.
35500 * nscd/Makefile: Likewise.
35501 * hurd/Makefile: Likewise.
35502 * manual/Makefile: Likewise.
35503 * locale/Makefile: Likewise.
35504 * intl/Makefile: Likewise.
35505 * conform/Makefile: Likewise.
35506 * nss/Makefile: Likewise.
35507 * time/Makefile: Likewise.
35508 * soft-fp/Makefile: Likewise.
35509 * dirent/Makefile: Likewise.
35510 * gmon/Makefile: Likewise.
35511 * po/Makefile: Likewise.
35512 * rt/Makefile: Likewise.
35513 * socket/Makefile: Likewise.
35514 * math/Makefile: Likewise.
35515 * signal/Makefile: Likewise.
35516 * debug/Makefile: Likewise.
35517 * elf/Makefile: Likewise.
35518 * timezone/Makefile: Likewise.
35519 * stdlib/Makefile: Likewise.
35520 * iconvdata/Makefile: Likewise.
35521 * sunrpc/Makefile: Likewise.
35522 * io/Makefile: Likewise.
35523 * argp/Makefile: Likewise.
35524 * inet/Makefile: Likewise.
35525 * hesiod/Makefile: Likewise.
35526 * grp/Makefile: Likewise.
35527 * csu/Makefile: Likewise.
35528 * wctype/Makefile: Likewise.
35529 * crypt/Makefile: Likewise.
35530 * libio/Makefile: Likewise.
35531 * string/Makefile: Likewise.
35532 * nis/Makefile: Likewise.
35533 * resolv/Makefile: Likewise.
35534 * stdio-common/Makefile: Likewise.
35535 * wcsmbs/Makefile: Likewise.
35536 * dlfcn/Makefile: Likewise.
35537 * posix/Makefile: Likewise.
35538
3b7c4e74 35539 [BZ #6959]
482ff4da
UD
35540 * timezone/Makefile: Don't install timezone files, just the programs
35541 and scripts.
35542
f72ed77d
UD
355432012-03-06 Ulrich Drepper <drepper@gmail.com>
35544
a000466f
UD
35545 * nss/databases.def: Add missing gshadow entry.
35546
f72ed77d
UD
35547 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35548
a53b7a4e
MP
355492012-03-06 Marek Polacek <polacek@redhat.com>
35550
35551 [BZ #13726]
35552 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35553 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35554 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35555 * stdio-common/tst-long-dbl-fphex.c: New file.
35556
e9258400
DM
355572012-03-06 David S. Miller <davem@davemloft.net>
35558
35559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35560 (set_obp_int): New function.
35561 (get_obp_int): New function.
35562 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35564 Avoid unused variable warnings on 'val' and use builtin_expect.
35565 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35566 __builtin_expect.
e9258400
DM
35567 (INLINE_CLONE_SYSCALL): Likewise.
35568
3bd2c723
DM
355692012-03-05 David S. Miller <davem@davemloft.net>
35570
35571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35572
bbb78d03
AS
355732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35574
884c5db4
AS
35575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35576
bbb78d03
AS
35577 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35578 only for |x| >= 40.
35579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35580
1c9f702a 355812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35582
35583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35584 Replace gettimeofday with __vdso_gettimeofday.
35585
7be16f82
RM
35586 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35587 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35588 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35589
35590 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35591 time with __vdso_time.
35592
ed58a00f
JM
355932012-03-05 Joseph Myers <joseph@codesourcery.com>
35594
35595 * manual/lang.texi (size_t): Note types to which size_t may be
35596 equivalent with the GNU C Library, but do not describe when
35597 differences between them are significant.
35598
30ee4ced
AJ
355992012-03-05 Andreas Jaeger <aj@suse.de>
35600
35601 * sysdeps/i386/fpu/libm-test-ulps: Update.
35602
b7cd39e8
JM
356032012-03-05 Joseph Myers <joseph@codesourcery.com>
35604
35605 [BZ #3976]
35606 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35607 (__ieee754_pow): Save and restore rounding mode and use
35608 round-to-nearest for main computations.
35609 * math/libm-test.inc (pow_test_tonearest): New function.
35610 (pow_test_towardzero): Likewise.
35611 (pow_test_downward): Likewise.
35612 (pow_test_upward): Likewise.
35613 (main): Call the new functions.
35614 * sysdeps/i386/fpu/libm-test-ulps: Update.
35615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35616
35617 [BZ #3976]
35618 * math/libm-test.inc (cosh_test_tonearest): New function.
35619 (cosh_test_towardzero): Likewise.
35620 (cosh_test_downward): Likewise.
35621 (cosh_test_upward): Likewise.
35622 (sinh_test_tonearest): Likewise.
35623 (sinh_test_towardzero): Likewise.
35624 (sinh_test_downward): Likewise.
35625 (sinh_test_upward): Likewise.
35626 (main): Call the new functions.
35627 * sysdeps/i386/fpu/libm-test-ulps: Update.
35628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35629
6c6a98c9
TV
356302012-03-05 Tom de Vries <tom@codesourcery.com>
35631
35632 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35633 default stack guard is set in last bytes.
35634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35635
21bb2d2e 356362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35637
21bb2d2e 35638 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35639
21bb2d2e
AJ
35640 [BZ #13656]
35641 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35642 possibly allocate from heap instead of stack.
35643 * stdio-common/bug-vfprintf-nargs.c: New file.
35644 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35645
c6922934
AS
356462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35647
35648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35649
bc957d53
MP
356502012-03-03 Marek Polacek <polacek@redhat.com>
35651
35652 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35653 * math/math_private.h: Likewise.
35654 * stdlib/tst-strtod.c: Likewise.
35655 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35656 * sysdeps/x86_64/bits/atomic.h: Likewise.
35657
6358490d
DM
356582012-03-02 David S. Miller <davem@davemloft.net>
35659
35660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35664 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35665 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35666 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35667 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35668
01ae168d
RM
356692012-03-02 Roland McGrath <roland@hack.frob.com>
35670
d9a17c07
RM
35671 [BZ #13792]
35672 * manual/examples/README: New file, says the example source files
35673 can be used under GPL>=2.
35674 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35675 line containing just "*/".
35676 * manual/examples/add.c: Add copyright header (GPL>=2).
35677 * manual/examples/argp-ex1.c: Likewise.
35678 * manual/examples/argp-ex2.c: Likewise.
35679 * manual/examples/argp-ex3.c: Likewise.
35680 * manual/examples/argp-ex4.c: Likewise.
35681 * manual/examples/atexit.c: Likewise.
35682 * manual/examples/db.c: Likewise.
35683 * manual/examples/dir.c: Likewise.
35684 * manual/examples/dir2.c: Likewise.
35685 * manual/examples/execinfo.c: Likewise.
35686 * manual/examples/filecli.c: Likewise.
35687 * manual/examples/filesrv.c: Likewise.
35688 * manual/examples/fmtmsgexpl.c: Likewise.
35689 * manual/examples/genpass.c: Likewise.
35690 * manual/examples/inetcli.c: Likewise.
35691 * manual/examples/inetsrv.c: Likewise.
35692 * manual/examples/isockad.c: Likewise.
35693 * manual/examples/longopt.c: Likewise.
35694 * manual/examples/memopen.c: Likewise.
35695 * manual/examples/memstrm.c: Likewise.
35696 * manual/examples/mkfsock.c: Likewise.
35697 * manual/examples/mkisock.c: Likewise.
35698 * manual/examples/mygetpass.c: Likewise.
35699 * manual/examples/pipe.c: Likewise.
35700 * manual/examples/popen.c: Likewise.
35701 * manual/examples/rprintf.c: Likewise.
35702 * manual/examples/search.c: Likewise.
35703 * manual/examples/select.c: Likewise.
35704 * manual/examples/setjmp.c: Likewise.
35705 * manual/examples/sigh1.c: Likewise.
35706 * manual/examples/sigusr.c: Likewise.
35707 * manual/examples/stpcpy.c: Likewise.
35708 * manual/examples/strdupa.c: Likewise.
35709 * manual/examples/strftim.c: Likewise.
35710 * manual/examples/strncat.c: Likewise.
35711 * manual/examples/subopt.c: Likewise.
35712 * manual/examples/swapcontext.c: Likewise.
35713 * manual/examples/termios.c: Likewise.
35714 * manual/examples/testopt.c: Likewise.
35715 * manual/examples/testpass.c: Likewise.
35716 * manual/examples/timeval_subtract.c: Likewise.
35717
01ae168d
RM
35718 [BZ #13792]
35719 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35720 function to ...
35721 * manual/timeval_subtract.c.texi: ... here, new file.
35722
49efa33d
DM
357232012-03-02 David S. Miller <davem@davemloft.net>
35724
35725 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35726
28afd92d
JM
357272012-03-02 Joseph Myers <joseph@codesourcery.com>
35728
804360ed
JM
35729 [BZ #3976]
35730 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35731 (__sin): Save and restore rounding mode and use round-to-nearest
35732 for all computations.
35733 (__cos): Save and restore rounding mode and use round-to-nearest
35734 for all computations.
35735 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35736 <fenv.h>.
35737 (tan): Save and restore rounding mode and use round-to-nearest for
35738 all computations.
35739 * math/libm-test.inc (cos_test_tonearest): New function.
35740 (cos_test_towardzero): Likewise.
35741 (cos_test_downward): Likewise.
35742 (cos_test_upward): Likewise.
35743 (sin_test_tonearest): Likewise.
35744 (sin_test_towardzero): Likewise.
35745 (sin_test_downward): Likewise.
35746 (sin_test_upward): Likewise.
35747 (tan_test_tonearest): Likewise.
35748 (tan_test_towardzero): Likewise.
35749 (tan_test_downward): Likewise.
35750 (tan_test_upward): Likewise.
35751 (main): Call the new functions.
35752 * sysdeps/i386/fpu/libm-test-ulps: Update.
35753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35754
a6d06d7b
JM
35755 [BZ #10135]
35756 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35757 small n, then large n, before computing and testing k+n.
35758 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35760 Likewise.
35761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35762 Likewise.
35763 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35764 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35771 * math/libm-test.inc (scalbn_test): Add more tests.
35772 (scalbln_test): Likewise.
35773
07e12bb3
JM
35774 * manual/filesys.texi (mode_t): Describe constraints on size and
35775 signedness, not exact equivalence to a particular type.
35776 (ino_t): Likewise.
35777 (ino64_t): Likewise.
35778 (dev_t): Likewise.
35779 (nlink_t): Likewise.
35780 (blkcnt_t): Likewise.
35781 (blkcnt64_t): Likewise.
35782 * manual/llio.texi (off_t): Likewise.
35783
28afd92d
JM
35784 [BZ #3976]
35785 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35786 (__ieee754_exp): Save and restore rounding mode and use
35787 round-to-nearest for all computations.
35788 * math/libm-test.inc (exp_test_tonearest): New function.
35789 (exp_test_towardzero): Likewise.
35790 (exp_test_downward): Likewise.
35791 (exp_test_upward): Likewise.
35792 (main): Call the new functions.
35793 * sysdeps/i386/fpu/libm-test-ulps: Update.
35794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35795
b1eeb65d
CD
357962012-03-01 Chris Demetriou <cgd@google.com>
35797
35798 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35799 have predictable order.
35800
53362a4b
DM
358012012-03-01 David S. Miller <davem@davemloft.net>
35802
3c969083
DM
35803 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35804
759707de
DM
35805 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35806 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35807 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35808 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35809
dfdb8ff2
DM
35810 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35811 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35812 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35814 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35816 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35817 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35818 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35819
ead89f96
DM
35820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35821
7f66bd07
DM
35822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35823 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35824 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35825
53362a4b
DM
35826 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35827 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35828 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35829 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35830 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35833 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35834 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35835 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35836 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35839 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35840 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35842 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35843 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35844 * sysdeps/sparc/elf/configure: Regenerated.
35845
7b1902cb
JM
358462012-03-01 Joseph Myers <joseph@codesourcery.com>
35847
bec039bc
JM
35848 * configure.in (AS, LD): Require binutils 2.20 or later.
35849 * configure: Regenerated.
35850 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35851 as required minimum version.
35852 * INSTALL: Regenerated.
35853
7b1902cb
JM
35854 [BZ #2541]
35855 [BZ #4108]
35856 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35857 before squaring exponent.
35858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35859 bottom long double and 27 bits of top long double before squaring
35860 exponent.
35861 * math/libm-test.inc (erfc_test): Add more tests.
35862 * sysdeps/i386/fpu/libm-test-ulps: Update.
35863 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35865
f775c276
KT
358662012-03-01 Kai Tietz <ktietz@redhat.com>
35867
35868 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35869 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35870 containing bit-fields.
35871 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35872 * soft-fp/single.h (_FP_UNION_S): Likewise.
35873 * soft-fp/double.h (_FP_UNION_D): Likewise.
35874
5b8a4d4a
JM
358752012-02-29 Joseph Myers <joseph@codesourcery.com>
35876
0bab47b6
JM
35877 [BZ #13786]
35878 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35879 not include ../strcmp.S.
35880 [USE_AS_STRNCASECMP_L]: Likewise.
35881 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35882 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35883 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35884 (__strncasecmp_l_ia32): Define as alias to
35885 __strncasecmp_l_nonascii.
35886
0fcad3e2
JM
35887 [BZ #5794]
35888 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35889 * sysdeps/i386/fpu/libm-test-ulps: Update.
35890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35891
5b8a4d4a
JM
35892 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35894
8fdceb2e
JL
358952012-02-29 Jeff Law <law@redhat.com>
35896
35897 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35898 out of bounds read.
35899
1f393a11
MP
359002012-02-29 Marek Polacek <polacek@redhat.com>
35901
35902 [BZ #13706]
35903 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35904 * elf/Makefile: Add rules to run tst-unused-dep.out.
35905
8847f037
DM
359062012-02-28 David S. Miller <davem@davemloft.net>
35907
35908 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35909 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35912 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35913 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35914
169d7f11
JM
359152012-02-29 Joseph Myers <joseph@codesourcery.com>
35916
35917 * math/libm-test.inc (llround_test): Move one test from
35918 lround_test. Use TEST_f_L in moved test.
35919 (lround_test): Move misplaced test to llround_test. Add testcase
35920 from bug 2561.
35921
39adf059
UD
359222012-02-28 Ulrich Drepper <drepper@gmail.com>
35923
35924 * sysdeps/x86_64/fpu/e_expf.S: New file.
35925 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35926
71b5d1c5
SB
359272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35928
35929 [BZ #13637]
35930 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35931 of remain_len that may cause incomplete multi-byte character and
35932 false match.
35933 * posix/bug-regex33.c: New file.
35934 * posix/Makefile (tests): Add bug-regex33.
35935
1f77f049
JM
359362012-02-28 Joseph Myers <joseph@codesourcery.com>
35937
35938 * manual/macros.texi: New file.
35939 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35940 * manual/libc.texinfo: Include macros.texi.
35941 * manual/creatute.texi: Likewise.
35942 * manual/install.texi: Likewise.
35943 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35944 @glibcadj{} in references to the GNU C Library.
35945 * manual/charset.texi: Likewise.
35946 * manual/conf.texi: Likewise.
35947 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35948 when not using those macros.
35949 * manual/creature.texi: Likewise.
35950 * manual/crypt.texi: Likewise.
35951 * manual/errno.texi: Likewise.
35952 * manual/filesys.texi: Likewise.
35953 * manual/header.texi: Likewise.
35954 * manual/install.texi: Likewise.
35955 * manual/intro.texi: Likewise.
35956 * manual/io.texi: Likewise.
35957 * manual/job.texi: Likewise.
35958 * manual/lang.texi: Likewise.
35959 * manual/libc.texiinfo: Likewise.
35960 * manual/llio.texi: Likewise.
35961 * manual/locale.texi: Likewise.
35962 * manual/maint.texi: Likewise.
35963 * manual/math.texi: Likewise.
35964 * manual/memory.texi: Likewise.
35965 * manual/message.texi: Likewise.
35966 * manual/nss.texi: Likewise.
35967 * manual/pattern.texi: Likewise.
35968 * manual/process.texi: Likewise.
35969 * manual/resource.texi: Likewise.
35970 * manual/search.texi: Likewise.
35971 * manual/setjmp.texi: Likewise.
35972 * manual/signal.texi: Likewise.
35973 * manual/socket.texi: Likewise.
35974 * manual/startup.texi: Likewise.
35975 * manual/stdio.texi: Likewise.
35976 * manual/string.texi: Likewise.
35977 * manual/sysinfo.texi: Likewise.
35978 * manual/syslog.texi: Likewise.
35979 * manual/terminal.texi: Likewise.
35980 * manual/time.texi: Likewise.
35981 * manual/users.texi: Likewise.
35982 * INSTALL: Regenerated.
35983 * NOTES: Regenerated.
d40c5d54 35984 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35985
450bf206
AS
359862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35987
35988 * include/dirent.h: Include <dirstream.h> before
35989 <dirent/dirent.h>.
35990
741a235b
DM
359912012-02-28 David S. Miller <davem@davemloft.net>
35992
35993 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35994 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35995 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35996 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35997
d6b5aa58
DM
359982012-02-27 David S. Miller <davem@davemloft.net>
35999
1aff59a3
DM
36000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36002 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36003 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36004
d6b5aa58
DM
36005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36006 frame pointer instead of stack pointer relative arg slot.
36007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36008 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36009 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36010
433f48bf
CD
360112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36012
36013 [BZ #3992]
36014 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36015
d674b76d
DM
360162012-02-27 David S. Miller <davem@davemloft.net>
36017
36018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36022 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36023 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36024 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36025 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36026
0e7727f7
JM
360272012-02-27 Joseph Myers <joseph@codesourcery.com>
36028
36029 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36030 later. Allow versions 5-9.
43be4ca2 36031 * configure: Regenerated.
0e7727f7
JM
36032 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36033 required minimum version and 4.6 as recommended version. Do not
36034 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36035 * INSTALL: Regenerated.
0e7727f7 36036
a78bc654
DM
360372012-02-27 David S. Miller <davem@davemloft.net>
36038
428d5830
DM
36039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36045 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36046 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36047
a78bc654
DM
36048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36049 manipulate bits before adding and subtracting TWO112[sx].
36050 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36051
4579f81c
RM
360522012-02-27 Roland McGrath <roland@hack.frob.com>
36053
36c8acb4
RM
36054 [BZ #13775]
36055 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36056 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36057 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36058 being in POSIX, because they are in 1003.1-2008.
36059
84ad622b
RM
36060 * rt/tst-aio.c: Include <fcntl.h>.
36061 * rt/tst-aio7.c: Likewise.
36062 * rt/tst-aio64.c: Likewise.
36063
4579f81c
RM
36064 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36065
abd923db
JM
360662012-02-27 Joseph Myers <joseph@codesourcery.com>
36067
36068 * manual/install.texi (--with-headers): Describe headers as
36069 interface headers, not private headers.
36070 (Specific advice for GNU/Linux systems): Describe use of headers
36071 from "make headers_install", not private headers from older
36072 kernels.
43be4ca2 36073 * INSTALL: Regenerated.
abd923db
JM
36074 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36075 Change to 2.6.19.
36076 * sysdeps/unix/sysv/linux/configure: Regenerated.
36077
6664049b
JM
36078 * manual/llio.texi (fclean): Remove documentation.
36079
bb8b6697
JM
36080 * manual/Makefile (libc-texi-generated): New variable. Include
36081 version.texi.
36082 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36083 $(libc-texi-generated), not duplicated list of files.
36084 (version.texi, stamp-version): New rules.
36085 (realclean): Remove $(libc-texi-generated), not individual files
36086 from that list. Do not remove dir-add.texinfo.
36087 * manual/libc.texinfo: Comment out uses of edition numbers and
36088 references to printed manual. Remove last-updated dates.
36089 (EDITION): Comment out.
36090 (ISBN): Likewise.
36091 (VERSION, UPDATED): Remove.
36092 (version.texi): Include.
36093
12e5c3b9
AS
360942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36095
36096 * sysdeps/posix/spawni.c: Include <signal.h>.
36097 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36098 * sysdeps/pthread/aio_fsync.c: Likewise.
36099
4efeffc1 361002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36101
ba63ba08
UD
36102 * conform/Makefile (tests): Run only when not cross-compiling and
36103 when fast-check is not defined.
36104
d94a4670
UD
36105 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36106 * conform/data/limits.h-data: Fixes for POSIX2008.
36107 * conform/run-conformtest.sh: Run all tests.
36108 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36109 headers.
36110 * include/bits/dlfcn.h: Likewise.
36111 * include/langinfo.h: Likewise.
36112 * include/monetary.h: Likewise.
36113 * include/sys/poll.h: Likewise.
36114
36115 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36116 for __USE_GNU.
36117 * posix/spawn.h: Define __need_sigset_t.
36118 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36119 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36120 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36121 to get sigevent_t only.
36122 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36123 only for __USE_GNU.
36124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36125 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36126 process_vm_writev only for __USE_GNU.
36127 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36128
36129 * conform/Makefile: For now ignore errors from run-conformtest.
36130 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36131 POSIX to avoid namespace pollution. Don't prepend headers.
36132 * conform/data/aio.h-data: Fixes for POSIX testing.
36133 * conform/data/fcntl.h-data: Likewise.
36134 * conform/data/glob.h-data: Likewise.
36135 * conform/data/grp.h-data: Likewise.
36136 * conform/data/pthread.h-data: Likewise.
36137 * conform/data/pwd.h-data: Likewise.
36138 * conform/data/signal.h-data: Likewise.
36139 * conform/data/spawn.h-data: Likewise.
36140 * conform/data/stdio.h-data: Likewise.
36141 * conform/data/stdlib.h-data: Likewise.
36142 * conform/data/stropts.h-data: Likewise.
36143 * conform/data/sys/mman.h-data: Likewise.
36144 * conform/data/sys/stat.h-data: Likewise.
36145 * conform/data/sys/types.h-data: Likewise.
36146 * conform/data/sys/wait.h-data: Likewise.
36147 * conform/data/time.h-data: Likewise.
36148 * conform/data/unistd.h-data: Likewise.
36149 * conform/data/utime.h-data: Likewise.
36150
36151 * io/sys/stat.h: fchmod was always in POSIX.
36152 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36153 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36154 * rt/aio.h: Define __need_timespec before including <time.h>.
36155 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36156 struct. Add forward declaration of pthread_attr_t and use it in
36157 sigevent.
36158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36160 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36161 always remove CLK_TCK definition.
36162
c20105c3
AS
361632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36164
36165 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36166
7a270350
UD
361672012-02-25 Ulrich Drepper <drepper@gmail.com>
36168
31341567
UD
36169 * conform/run-conformtest.sh: New file.
36170 * conform/Makefile: Run run-conformtest for tests.
36171 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36172 support.
36173
36174 * conform/data/uchar.h-data: New file.
36175 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36176 * conform/data/arpa/inet.h-data: Likewise.
36177 * conform/data/assert.h-data: Likewise.
36178 * conform/data/complex.h-data: Likewise.
36179 * conform/data/cpio.h-data: Likewise.
36180 * conform/data/ctype.h-data: Likewise.
36181 * conform/data/dirent.h-data: Likewise.
36182 * conform/data/dlfcn.h-data: Likewise.
36183 * conform/data/errno.h-data: Likewise.
36184 * conform/data/fcntl.h-data: Likewise.
36185 * conform/data/float.h-data: Likewise.
36186 * conform/data/fmtmsg.h-data: Likewise.
36187 * conform/data/fnmatch.h-data: Likewise.
36188 * conform/data/ftw.h-data: Likewise.
36189 * conform/data/glob.h-data: Likewise.
36190 * conform/data/grp.h-data: Likewise.
36191 * conform/data/iconv.h-data: Likewise.
36192 * conform/data/inttypes.h-data: Likewise.
36193 * conform/data/langinfo.h-data: Likewise.
36194 * conform/data/libgen.h-data: Likewise.
36195 * conform/data/limits.h-data: Likewise.
36196 * conform/data/locale.h-data: Likewise.
36197 * conform/data/math.h-data: Likewise.
36198 * conform/data/monetary.h-data: Likewise.
36199 * conform/data/mqueue.h-data: Likewise.
36200 * conform/data/ndbm.h-data: Likewise.
36201 * conform/data/net/if.h-data: Likewise.
36202 * conform/data/netdb.h-data: Likewise.
36203 * conform/data/netinet/in.h-data: Likewise.
36204 * conform/data/nl_types.h-data: Likewise.
36205 * conform/data/poll.h-data: Likewise.
36206 * conform/data/pthread.h-data: Likewise.
36207 * conform/data/pwd.h-data: Likewise.
36208 * conform/data/regex.h-data: Likewise.
36209 * conform/data/sched.h-data: Likewise.
36210 * conform/data/search.h-data: Likewise.
36211 * conform/data/semaphore.h-data: Likewise.
36212 * conform/data/setjmp.h-data: Likewise.
36213 * conform/data/signal.h-data: Likewise.
36214 * conform/data/spawn.h-data: Likewise.
36215 * conform/data/stdarg.h-data: Likewise.
36216 * conform/data/stdio.h-data: Likewise.
36217 * conform/data/stdlib.h-data: Likewise.
36218 * conform/data/string.h-data: Likewise.
36219 * conform/data/strings.h-data: Likewise.
36220 * conform/data/stropts.h-data: Likewise.
36221 * conform/data/sys/ipc.h-data: Likewise.
36222 * conform/data/sys/mman.h-data: Likewise.
36223 * conform/data/sys/msg.h-data: Likewise.
36224 * conform/data/sys/resource.h-data: Likewise.
36225 * conform/data/sys/select.h-data: Likewise.
36226 * conform/data/sys/sem.h-data: Likewise.
36227 * conform/data/sys/shm.h-data: Likewise.
36228 * conform/data/sys/socket.h-data: Likewise.
36229 * conform/data/sys/stat.h-data: Likewise.
36230 * conform/data/sys/statvfs.h-data: Likewise.
36231 * conform/data/sys/time.h-data: Likewise.
36232 * conform/data/sys/timeb.h-data: Likewise.
36233 * conform/data/sys/times.h-data: Likewise.
36234 * conform/data/sys/types.h-data: Likewise.
36235 * conform/data/sys/uio.h-data: Likewise.
36236 * conform/data/sys/un.h-data: Likewise.
36237 * conform/data/sys/utsname.h-data: Likewise.
36238 * conform/data/sys/wait.h-data: Likewise.
36239 * conform/data/syslog.h-data: Likewise.
36240 * conform/data/tar.h-data: Likewise.
36241 * conform/data/termios.h-data: Likewise.
36242 * conform/data/utime.h-data: Likewise.
36243 * conform/data/utmpx.h-data: Likewise.
36244 * conform/data/varargs.h-data: Likewise.
36245 * conform/data/wchar.h-data: Likewise.
36246 * conform/data/wctype.h-data: Likewise.
36247 * conform/data/wordexp.h-data: Likewise.
36248
36249 * include/stropts.h: New file.
36250 * include/uchar.h: New file.
36251 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36252 * include/assert.h: Likewise.
36253 * include/ctype.h: Likewise.
36254 * include/dirent.h: Likewise.
36255 * include/dlfcn.h: Likewise.
36256 * include/fcntl.h: Likewise.
36257 * include/fnmatch.h: Likewise.
36258 * include/glob.h: Likewise.
36259 * include/grp.h: Likewise.
36260 * include/libio.h: Likewise.
36261 * include/locale.h: Likewise.
36262 * include/math.h: Likewise.
36263 * include/net/if.h: Likewise.
36264 * include/netdb.h: Likewise.
36265 * include/netinet/in.h: Likewise.
36266 * include/pthread.h: Likewise.
36267 * include/pwd.h: Likewise.
36268 * include/regex.h: Likewise.
36269 * include/sched.h: Likewise.
36270 * include/search.h: Likewise.
36271 * include/setjmp.h: Likewise.
36272 * include/signal.h: Likewise.
36273 * include/stdio.h: Likewise.
36274 * include/stdlib.h: Likewise.
36275 * include/string.h: Likewise.
36276 * include/sys/cdefs.h: Likewise.
36277 * include/sys/mman.h: Likewise.
36278 * include/sys/msg.h: Likewise.
36279 * include/sys/resource.h: Likewise.
36280 * include/sys/select.h: Likewise.
36281 * include/sys/socket.h: Likewise.
36282 * include/sys/stat.h: Likewise.
36283 * include/sys/statvfs.h: Likewise.
36284 * include/sys/time.h: Likewise.
36285 * include/sys/times.h: Likewise.
36286 * include/sys/uio.h: Likewise.
36287 * include/sys/utsname.h: Likewise.
36288 * include/sys/wait.h: Likewise.
36289 * include/termios.h: Likewise.
36290 * include/time.h: Likewise.
36291 * include/ulimit.h: Likewise.
36292 * include/unistd.h: Likewise.
36293 * include/utime.h: Likewise.
36294 * include/wchar.h: Likewise.
36295 * include/wctype.h: Likewise.
36296 * include/wordexp.h: Likewise.
36297
36298 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36299
7a270350
UD
36300 * time/time.h: TIME_UTC must be a macro.
36301 Make timespec_get available for ISO C11 only as well.
36302
7724defc
UD
363032012-02-24 Ulrich Drepper <drepper@gmail.com>
36304
36305 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36306 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36307
6b1d1d46
JM
363082012-02-24 Joseph Myers <joseph@codesourcery.com>
36309
36310 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36311
0f8bbd69
JM
363122012-02-24 Joseph Myers <joseph@codesourcery.com>
36313
36314 * manual/texinfo.tex: Update to version 2012-01-19.16.
36315
66ab80bc
JM
363162012-02-24 Joseph Myers <joseph@codesourcery.com>
36317
36318 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36319
74981cc5
RM
363202012-02-24 Roland McGrath <roland@hack.frob.com>
36321
ee968201
RM
36322 [BZ #13738]
36323 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36324 * manual/fdl-1.3.texi: New file.
36325 * manual/fdl-1.1.texi: File removed.
36326
74981cc5
RM
36327 [BZ #13738]
36328 * manual/libc.texinfo (FDL_VERSION): New @set.
36329 Use it for mention of FDL in cover text.
36330 (Documentation License): Use it in @include file name.
36331
7bb764bc
JM
363322012-02-22 Joseph Myers <joseph@codesourcery.com>
36333 Roland McGrath <roland@hack.frob.com>
36334
36335 [BZ #5461]
57f41c40
AS
36336 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36337 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36338 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36339 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36340 name.
36341 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36342
6cbeae47
JM
363432012-02-22 Joseph Myers <joseph@codesourcery.com>
36344
36345 [BZ #2547]
36346 [BZ #11365]
36347 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36348 manipulate bits before adding and subtracting TWO23[sx].
36349 * math/libm-test.inc (nearbyint_test): Add more tests.
36350
fe45ce09
JM
363512012-02-22 Joseph Myers <joseph@codesourcery.com>
36352
36353 [BZ #2548]
36354 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36355 bits before adding and subtracting TWO23[sx].
36356 * math/libm-test.inc (rint_test): Add more tests.
36357 (rint_test_tonearest): Likewise.
36358 (rint_test_towardzero): Likewise.
36359 (rint_test_downward): Likewise.
36360 (rint_test_upward: Likewise.
36361
ff3b3d82
JM
363622012-02-22 Joseph Myers <joseph@codesourcery.com>
36363
36364 [BZ #10110]
36365 * include/stdc-predef.h: New file. Extracted from features.h.
36366 * include/features.h: Include stdc-predef.h.
36367 * Makefile (headers): Add stdc-predef.h.
36368 * CONFORMANCE (Compiler limitations): Update.
36369
ef0aab35
JM
363702012-02-22 Joseph Myers <joseph@codesourcery.com>
36371
36372 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36373
58639409
DM
363742012-02-21 David S. Miller <davem@davemloft.net>
36375
36376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36377 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36378
c0e70b25
DM
363792012-02-20 David S. Miller <davem@davemloft.net>
36380
36381 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36382 using a normal save/restore sequence, rather than allocating a
36383 dummy stack frame just to store a frame pointer and restore.
36384 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36385
fb06851d
JM
363862012-02-21 Joseph Myers <joseph@codesourcery.com>
36387
36388 * manual/install.texi: Fix stray word in line-wrapped comment.
36389
7a8b71c3
DM
363902012-02-20 David S. Miller <davem@davemloft.net>
36391
d510c123
DM
36392 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36393 both binutils and gcc support GOTDATA.
36394
0722d7c2
DM
36395 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36396 "rd %pc" in the PIC register setup sequences.
36397
3d2b3019
DM
36398 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36399 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36400 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36401 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36402 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36404 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36407 (SYSCALL_ERROR_HANDLER): Likewise.
36408 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36409 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36411 (SYSCALL_ERROR_HANDLER): Likewise.
36412
c80098a9
DM
36413 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36414 (HAVE_GCC_GOTDATA): New.
36415 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36416 relocation support in both binutils and gcc.
36417 * sysdeps/sparc/elf/configure: Regenerate.
36418
3a2545a0
DM
36419 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36420 * sysdeps/sparc/sparc32/elf/configure: Delete.
36421 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36422 * sysdeps/sparc/sparc64/elf/configure: Delete.
36423 * sysdeps/sparc/elf/configure.in: New file.
36424 * sysdeps/sparc/elf/configure: Generate.
36425
7a8b71c3
DM
36426 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36427 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36428 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36429 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36430 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36431
f1e86fca
JM
364322012-02-21 Joseph Myers <joseph@codesourcery.com>
36433
36434 * manual/install.texi: Do not mention specific glibc version
36435 numbers.
36436 * manual/libc.texinfo (VERSION, UPDATED): Update.
36437 (@copying): Use @copyright{} and range of years.
36438
0e7dfaef
JM
364392012-02-21 Joseph Myers <joseph@codesourcery.com>
36440
36441 [BZ #13695]
36442 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36443 [crti.S not in sysdirs] (generated): Do not append.
36444 [crti.S not in sysdirs] (omit-deps): Likewise.
36445 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36446 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36447 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36448 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36449 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36450 Likewise.
36451 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36452 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36453 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36454 * csu/defs.awk: Remove file.
36455 * sysdeps/generic/initfini.c: Likewise.
36456 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36457 variable.
36458 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36459 Likewise.
36460
599af3ca
JM
364612012-02-20 Joseph Myers <joseph@codesourcery.com>
36462
36463 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36464 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36465 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36466 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36467 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36468 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36469 <bits/epoll.h>.
36470 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36471 (__EPOLL_PACKED): Define to empty if not defined by
36472 <bits/epoll.h>.
36473 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36475 bits/epoll.h.
36476
0e499750
JM
364772012-02-20 Joseph Myers <joseph@codesourcery.com>
36478
36479 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36480 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36481 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36482 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36483 <bits/timerfd.h>.
36484 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36486 bits/timerfd.h.
36487
5ad91f6e
JM
364882012-02-20 Joseph Myers <joseph@codesourcery.com>
36489
36490 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36491 in C locale.
36492 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36493 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36496
06b99b02
AJ
364972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36498
36499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36500 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36501
7638c0fd
AS
365022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36503
36504 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36505 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36506 defined.
36507 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36508 Likewise.
36509 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36510 entry for 2.16.
36511
92221550
AJ
365122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36513
36514 * math/w_acos.c: Use non-signaling floating-point comparisons.
36515 * math/w_acosf.c: Likewise.
36516 * math/w_acosh.c: Likewise.
36517 * math/w_acoshf.c: Likewise.
36518 * math/w_acoshl.c: Likewise.
36519 * math/w_acosl.c: Likewise.
36520 * math/w_asin.c: Likewise.
36521 * math/w_asinf.c: Likewise.
36522 * math/w_asinl.c: Likewise.
36523 * math/w_atanh.c: Likewise.
36524 * math/w_atanhf.c: Likewise.
36525 * math/w_atanhl.c: Likewise.
36526 * math/w_exp2.c: Likewise.
36527 * math/w_exp2f.c: Likewise.
36528 * math/w_exp2l.c: Likewise.
36529 * math/w_j0.c: Likewise.
36530 * math/w_j0f.c: Likewise.
36531 * math/w_j0l.c: Likewise.
36532 * math/w_j1.c: Likewise.
36533 * math/w_j1f.c: Likewise.
36534 * math/w_j1l.c: Likewise.
36535 * math/w_jn.c: Likewise.
36536 * math/w_jnf.c: Likewise.
36537 * math/w_log.c: Likewise.
36538 * math/w_log10.c: Likewise.
36539 * math/w_log10f.c: Likewise.
36540 * math/w_log10l.c: Likewise.
36541 * math/w_log2.c: Likewise.
36542 * math/w_log2f.c: Likewise.
36543 * math/w_log2l.c: Likewise.
36544 * math/w_logf.c: Likewise.
36545 * math/w_logl.c: Likewise.
36546 * math/w_sqrt.c: Likewise.
36547 * math/w_sqrtf.c: Likewise.
36548 * math/w_sqrtl.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36551 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36552 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36553 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36554
ebaf36eb
JM
365552012-02-19 Joseph Myers <joseph@codesourcery.com>
36556
36557 [BZ #9739]
36558 * manual/string.texi (strnlen): Use correct parameter name in
36559 equivalent expression.
36560
71c254a6
JM
365612012-02-19 Joseph Myers <joseph@codesourcery.com>
36562
36563 [BZ #11174]
36564 * manual/users.texi (seteuid): Consistently use neweuid for
36565 argument name.
36566
16d2c631
JM
365672012-02-19 Joseph Myers <joseph@codesourcery.com>
36568
36569 [BZ #13704]
36570 * manual/nss.texi (Services in the NSS configuration): Correct
36571 list of services in example configuration file.
36572
cd837b09
NB
365732012-02-19 Nick Bowler <nbowler@draconx.ca>
36574
36575 [BZ #11322]
36576 * manual/arith.texi: Remove statements about negative zero
36577 behaving identically to zero.
36578
02c4bbad
JM
365792012-02-18 Joseph Myers <joseph@codesourcery.com>
36580
36581 [BZ #5993]
36582 * manual/install.texi: Do not document upgrading from libc5.
36583
366842e7
JM
365842012-02-18 Joseph Myers <joseph@codesourcery.com>
36585
36586 [BZ #4596]
36587 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36588
dd54084d
DM
365892012-02-18 David S. Miller <davem@davemloft.net>
36590
36591 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36592 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36593 %o7 across the call.
36594 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36595 instead.
36596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36597 SETUP_PIC_REG_LEAF.
36598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36599 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36600 * sysdeps/sparc/crtn.S: Likewise.
36601
2bcc53a3
UD
366022012-02-17 Ulrich Drepper <drepper@gmail.com>
36603
36604 * aout/Makefile: Remove.
36605
09c093b5
RK
366062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36607
36608 [BZ #13058]
36609 * manual/examples/argp-ex1.c (main): Format definition in GNU
36610 style.
36611 * manual/examples/argp-ex2.c (main): Likewise.
36612 * manual/examples/argp-ex3.c (main): Likewise.
36613 * manual/examples/argp-ex4.c (main): Likewise.
36614 * manual/examples/longopt.c (main): Use new-style prototype
36615 definition.
36616 * manual/examples/strncat.c (main): Specify return type and use
36617 (void) for arguments.
36618 * manual/examples/subopt.c (main): Use char **argv argument.
36619
2ee633a2
JM
366202012-02-17 Joseph Myers <joseph@codesourcery.com>
36621
36622 [BZ #5077]
36623 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36624 rounding modes.
36625
0520adde
FB
366262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36627
36628 [BZ #6907]
36629 * manual/string.texi (strchr): Change when strchrnul is
36630 recommended.
36631
3f4081cd
DGM
366322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36633
36634 [BZ #174]
36635 * manual/locale.texi (setlocale): Document LOCPATH.
36636
d1b10e78
JM
366372012-02-17 Joseph Myers <joseph@codesourcery.com>
36638
36639 [BZ #10210]
36640 * manual/process.texi (execle): Move @dots{} before last argument.
36641
79c6869c
PB
366422012-02-17 Paul Bolle <pebolle@tiscali.nl>
36643
36644 [BZ #12047]
36645 * manual/charset.texi (Generic Charset Conversion): Fix typo
36646 (LC_TYPE -> LC_CTYPE).
36647
cc6e48bc
NB
366482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36649
36650 [BZ #5805]
36651 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36652 (scalbnf): Likewise.
36653 (scalbnl): Likewise.
36654 (scalbln): Likewise.
36655 (scalblnf): Likewise.
36656 (scalblnl): Likewise.
36657 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36658 (vwarnx): Likewise.
36659 (verr): Likewise.
36660 (verrx): Likewise.
36661 * manual/filesys.texi (telldir): Use braces around return type.
36662 * manual/llio.texi (mmap): Add space after comma.
36663 (mmap64): Likewise.
36664 * manual/math.texi (jn): Use @var{} on parameter names.
36665 (jnf): Likewise.
36666 (jnl): Likewise.
36667 (yn): Likewise.
36668 (ynf): Likewise.
36669 (ynl): Likewise.
36670 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36671 line.
36672 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36673 "...".
36674 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36675 (sched_get_priority_max): Likewise.
36676 * manual/signal.texi (sigvec): Add space after comma.
36677 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36678 names.
36679 (if_indextoname): Likewise.
36680 (if_freenameindex): Likewise.
36681 (sendto): Use ',' instead of '.' in prototype.
36682 * manual/startup.texi (syscall): Use @dots{} instead of literal
36683 "...".
36684 * manual/stdio.texi (__fpending): Separate initial words of
36685 paragraph from @deftypefun line.
36686 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36687 "...".
36688 (vsyslog): Use @var{} on parameter names.
36689 * manual/terminal.texi (stty): Use @var{} on parameter names.
36690 * manual/users.texi (getutmp): Use @var{} on parameter names.
36691 (getutmpx): Likewise.
36692
5b23062f
JM
366932012-02-17 Joseph Myers <joseph@codesourcery.com>
36694
36695 [BZ #6884]
36696 * manual/stdio.texi (fopen): Fix typos in description of
36697 ",ccs=STRING".
36698
8dee4833
AJ
366992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36700
36701 [BZ #4026]
36702 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36703 get clock_id definition.
36704
9078ce93
TS
367052012-02-17 Thomas Schwinge <thomas@schwinge.name>
36706
36707 [BZ #4822]
36708 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36709 (madvise): Cast every argument to void on its own.
36710
3835c55f
JM
367112012-02-17 Joseph Myers <joseph@codesourcery.com>
36712
36713 [BZ #9902]
36714 * manual/startup.texi (Exit Status): Fix typo.
36715
35c47e37
JM
367162012-02-17 Joseph Myers <joseph@codesourcery.com>
36717
36718 [BZ #10140]
36719 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36720 * manual/examples/argp-ex2.c: Likewise.
36721 * manual/examples/argp-ex3.c: Likewise.
36722
e3b69ca7
RH
367232012-02-16 Richard Henderson <rth@redhat.com>
36724
36725 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36726 * sysdeps/s390/s390-32/initfini.c: Remove.
36727 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36728 * sysdeps/s390/s390-64/initfini.c: Remove.
36729
df83af67
KK
367302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36731
36732 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36733 compiler output for sysdeps/generic/initfini.c.
36734 * sysdeps/sh/elf/initfini.c: Remove file.
36735
f63f3380
DM
367362012-02-16 David S. Miller <davem@davemloft.net>
36737
fb59b3a4
DM
36738 [BZ #11494]
36739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36740
f63f3380
DM
36741 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36742 * sysdeps/sparc/crti.S: New file.
36743 * sysdeps/sparc/crtn.S: New file.
36744 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36745 * sysdeps/sparc/sparc64/Makefile: Likewise.
36746
df6a4a4a
MF
367472012-02-15 Mike Frysinger <vapier@gentoo.org>
36748
6dd8f3dc 36749 [BZ #3335]
df6a4a4a
MF
36750 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36751
1cac7236
RM
367522012-02-15 Roland McGrath <roland@hack.frob.com>
36753
d2c736f8
RM
36754 [BZ #4822]
36755 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36756
1cac7236
RM
36757 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36758 (write, read, close): Likewise.
36759 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36760
8e475601
JM
367612012-02-15 Joseph Myers <joseph@codesourcery.com>
36762
36763 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36764 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36765 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36766 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36767 <bits/signalfd.h>.
36768 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36770 bits/signalfd.h.
36771
ed656b40
MP
367722012-02-14 Marek Polacek <polacek@redhat.com>
36773
36774 * sysdeps/x86_64/crti.S: New file.
36775 * sysdeps/x86_64/crtn.S: New file.
36776 * sysdeps/x86_64/elf/initfini.c: Remove file.
36777
2a979d3a
JM
367782012-02-13 Joseph Myers <joseph@codesourcery.com>
36779
36780 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36781 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36782 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36783 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36784 <bits/inotify.h>.
36785 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36787 bits/inotify.h.
36788
2a418ac3
JM
367892012-02-13 Joseph Myers <joseph@codesourcery.com>
36790
36791 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36792 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36793 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36794 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36795 <bits/eventfd.h>.
36796 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36798 bits/eventfd.h.
36799
fb779be7
TS
368002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36801
e19e83c5
RM
36802 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36803 __feraiseexcept instead of feraiseexcept.
7c35ffed 36804
fb779be7
TS
36805 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36806 nanosleep invocations.
36807 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36808 strings, and add error checking for a nanosleep invocations.
36809
59ba27a6
PE
368102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36811
36812 Replace FSF snail mail address with URLs, as per GNU coding standards.
36813 Most of the snail mail addresses were wrong anyway, and omitting
36814 them makes the source code easier to maintain. Almost all of the
36815 changes are to license notices and to locale LC_IDENTIFICATION
36816 addresses, except for this one:
36817 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36818 not its snail mail address.
36819
57b957eb
RH
368202012-02-09 Richard Henderson <rth@twiddle.net>
36821
af850b1c
RH
36822 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36823 of kernel-features.h.
36824
57b957eb
RH
36825 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36826
6b73181a
MP
368272012-02-08 Marek Polacek <polacek@redhat.com>
36828
36829 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36830 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36831 * sysdeps/gnu/_G_config.h: Likewise.
36832 * sysdeps/generic/_G_config.h: Likewise.
36833
26ecc33a
AS
368342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36835
6c6dbc63
AS
36836 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36837 tests.
36838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36839
e216c012
AS
36840 * sysdeps/powerpc/powerpc32/crti.S: New file.
36841 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36842 * sysdeps/powerpc/powerpc64/crti.S: New file.
36843 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36844
26ecc33a
AS
36845 * Makeconfig (have-initfini): Don't set.
36846 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36847 * configure.in (nopic_initfini): Don't substitute.
36848 * config.h.in (HAVE_INITFINI): Don't #undef.
36849 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36850 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36851
3add8e13
JM
368522012-02-08 Joseph Myers <joseph@codesourcery.com>
36853
36854 Support crti.S and crtn.S provided directly by architectures.
36855 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36856 [crti.S in sysdirs] (omit-deps): Likewise.
36857 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36858 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36859 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36860 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36861 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36862 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36863 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36864 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36865 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36866 compiler output for sysdeps/generic/initfini.c.
36867 * sysdeps/i386/elf/Makefile: Remove file.
36868 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36869
a22f12b4
MP
368702012-02-07 Marek Polacek <polacek@redhat.com>
36871
36872 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36873 * sysdeps/gnu/_G_config.h: Likewise.
36874 * sysdeps/mach/hurd/_G_config.h: Likewise.
36875
148cf100
MP
368762012-02-07 Marek Polacek <polacek@redhat.com>
36877
36878 * math/Makefile (tests): Add tst-CMPLX2.
36879 * math/tst-CMPLX2.c: New file.
36880
cfdc0dd7
AS
368812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36882
84ba42c4
AS
36883 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36884
cfdc0dd7
AS
36885 * math/libm-test.inc (jn_test): Add missing L suffix.
36886
622c86f4
MP
368872012-02-06 Marek Polacek <polacek@redhat.com>
36888
36889 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36890 * sysdeps/i386/fpu/e_powf.S: Likewise.
36891 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36893 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36894 * sysdeps/i386/fpu/e_pow.S: Likewise.
36895 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36896 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36897 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36898 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36899 * sysdeps/i386/fpu/e_log2.S: Likewise.
36900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36902 * sysdeps/i386/fpu/e_powl.S: Likewise.
36903 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36905 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36906 * sysdeps/i386/fpu/e_logl.S: Likewise.
36907 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36908 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36909 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36910 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36911 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36912 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36913 * sysdeps/i386/fpu/e_log.S: Likewise.
36914 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36915 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36916 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36917 * sysdeps/i386/fpu/e_logf.S: Likewise.
36918 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36919 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36920 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36921 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36922 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36923 * sysdeps/i386/fpu/e_log10.S: Likewise.
36924 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36925 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36926 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36927 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36928 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36929 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36930 * sysdeps/i386/asm-syntax.h: Likewise.
36931 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36933 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36934 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36935 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36936 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36937 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36938 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36939 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36940 * sysdeps/powerpc/sysdep.h: Likewise.
36941 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36942 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36943
d4a54ac6
JM
369442012-02-06 Joseph Myers <joseph@codesourcery.com>
36945
36946 [BZ #411]
36947 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36948
314054ea
JM
369492012-02-06 Joseph Myers <joseph@codesourcery.com>
36950
36951 * sysdeps/i386/sysdep.h: Include <features.h>.
36952 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36953 version.
36954
d8e0ca50
JM
369552012-02-05 Joseph Myers <joseph@codesourcery.com>
36956
36957 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36958 Define.
36959 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36960 LOAD_PIC_REG_STR.
36961
b1da7dd9
JM
369622012-02-03 Joseph Myers <joseph@codesourcery.com>
36963
36964 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36965 (SETUP_PIC_REG): Use GET_PC_THUNK.
36966 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36967 macro.
36968
9a1d9254
JM
369692012-02-03 Joseph Myers <joseph@codesourcery.com>
36970
36971 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36972 for non-PIC compilation.
36973 (SETUP_PIC_REG): Add .p2align directive.
36974 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36975 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36976 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36977 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36978 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36979 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36980 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36988 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36989 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36990 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36991 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36992 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36993 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36995 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36996 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36997 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37000 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37001 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37002 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37003 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37004 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37005 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37006 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37007 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37008 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37009 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37010 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37011 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37012 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37013 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37014 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37015
65dc3b75
JM
370162012-02-03 Joseph Myers <joseph@codesourcery.com>
37017
37018 * math/tst-CMPLX.c: Include <stdio.h>.
37019
d55bf177
JM
370202012-01-31 Joseph Myers <joseph@codesourcery.com>
37021
37022 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37023 float.
37024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37025 * sysdeps/sparc/bits/mathdef.h: Likewise.
37026
69db4f8f
MP
370272012-01-31 Marek Polacek <polacek@redhat.com>
37028
37029 * libio/libio.h: Don't define _PARAMS.
37030 * locale/programs/config.h: Don't define PARAMS.
37031 * stdlib/strtol_l.c: Likewise.
37032 (__strtol_l): Remove PARAMS from the prototype.
37033
41b81892
UD
370342012-01-31 Ulrich Drepper <drepper@gmail.com>
37035
3b49edc0
UD
37036 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37037 names. Just use the correct names. Remove unnecessary wrapper
37038 functions.
37039 * malloc/arena.c: Likewise.
37040 * malloc/hooks.c: Likewise.
37041
41b81892
UD
37042 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37043 ARENA_TEST says not to. Simplify test for creation of a new arena.
37044 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37045
27a25b6e
UD
370462012-01-30 Ulrich Drepper <drepper@gmail.com>
37047
37048 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37049 into tail calls.
37050 (update_get_addr): New function.
37051 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37052 GET_ADDR_MODULE parameter.
37053
c8a89e7d
JM
370542012-01-30 Joseph Myers <joseph@codesourcery.com>
37055
37056 * crypt/cert.c: Remove __STDC__ conditionals.
37057 * crypt/crypt-entry.c: Likewise.
37058 * crypt/crypt_util.c: Likewise.
37059 * libio/filedoalloc.c: Likewise.
37060 * libio/fileops.c: Likewise.
37061 * libio/genops.c: Likewise.
37062 * libio/iofclose.c: Likewise.
37063 * libio/iofdopen.c: Likewise.
37064 * libio/iofopen.c: Likewise.
37065 * libio/iofopen64.c: Likewise.
37066 * libio/iogetdelim.c: Likewise.
37067 * libio/iopopen.c: Likewise.
37068 * libio/obprintf.c: Likewise.
37069 * libio/oldfileops.c: Likewise.
37070 * libio/oldiofclose.c: Likewise.
37071 * libio/oldiofdopen.c: Likewise.
37072 * libio/oldiofopen.c: Likewise.
37073 * libio/oldiopopen.c: Likewise.
37074 * libio/wfiledoalloc.c: Likewise.
37075 * libio/wgenops.c: Likewise.
37076 * locale/programs/xmalloc.c: Likewise.
37077 * misc/syslog.c: Likewise.
37078 * stdio-common/xbug.c: Likewise.
37079 * string/memchr.c: Likewise.
37080 * string/memcmp.c: Likewise.
37081 * string/memrchr.c: Likewise.
37082 * string/rawmemchr.c: Likewise.
37083 * sysdeps/posix/getcwd.c: Likewise.
37084 * time/strftime_l.c: Likewise.
37085
3b100462
JM
370862012-01-30 Joseph Myers <joseph@codesourcery.com>
37087
37088 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37089 * config.make.in (config-cflags-sse2avx): Define.
37090 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37091 Fix typo.
37092
607998af
CM
370932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37094
37095 * scripts/config.guess: Update from upstream config git repository.
37096 * scripts/config.sub: Likewise.
37097
3601428f
CM
370982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37099
3ac8b282
CM
37100 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37101 (EM_NUM): Update.
37102 (R_TILEPRO_*, R_TILEGX_*): New macros.
37103
e034841e
CM
37104 * scripts/firstversions.awk: Fix bug in version range handling.
37105
540d7568
CM
37106 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37107
3601428f
CM
37108 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37109
463de862
CM
37110 * include/sys/epoll.h: New file.
37111 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37112 libc_hidden_def.
37113
73139a76
UD
371142012-01-28 Ulrich Drepper <drepper@gmail.com>
37115
96bc5b45
UD
37116 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37117 Avoid unnecessary __WORDSIZE == 64 test.
37118 (fmaxf): Use VEX format if possible.
37119 (fmax): Likewise.
37120 (fminf): Likewise.
37121 (fmin): Likewise.
37122
56f6f6a2
UD
37123 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37124 * math/math_private.h: Remove libc_fegetround* and
37125 libc_fesetround*.
37126 * sysdeps/i386/configure.in: Check for -msse2avx.
37127 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37128 also if SSE2AVX is defined.
37129 Remove libc_fegetround* and libc_fesetround*.
37130 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37131 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37132 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37133 of HAS_YMM_USABLE.
37134 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37135 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37139
73139a76
UD
37140 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37141
d73f93a4
AZ
371422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37143
37144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37145 size is not set.
37146 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37147
6ee65ed6
UD
371482012-01-27 Ulrich Drepper <drepper@gmail.com>
37149
37150 [BZ #13618]
37151 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37152 relocation.
37153 * Makeconfig (libm): Define.
37154 * elf/Makefile: Add rules to build and run tst-relsort1.
37155 * elf/tst-relsort1.c: New file.
37156 * elf/tst-relsort1mod1.c: New file.
37157 * elf/tst-relsort1mod2.c: New file.
37158
8db21882
JM
371592012-01-27 Joseph Myers <joseph@codesourcery.com>
37160
37161 * math/s_ldexp.c: Remove __STDC__ conditionals.
37162 * math/s_ldexpf.c: Likewise.
37163 * math/s_ldexpl.c: Likewise.
37164 * math/s_nextafter.c: Likewise.
37165 * math/s_nexttowardf.c: Likewise.
37166 * math/s_significand.c: Likewise.
37167 * math/s_significandf.c: Likewise.
37168 * math/s_significandl.c: Likewise.
37169 * math/w_jnl.c: Likewise.
37170 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37171 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37172 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37173 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37174 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37182 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37184 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37185 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37186 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37187 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37192 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37194 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37210 * sysdeps/ieee754/k_standard.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37272 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37277 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37285 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37290 * sysdeps/ieee754/s_matherr.c: Likewise.
37291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37295
965a54a4
JM
372962012-01-26 Joseph Myers <joseph@codesourcery.com>
37297
37298 * crypt/md5.h: Remove __STDC__ conditionals.
37299 * libio/libioP.h: Likewise.
37300 * locale/programs/config.h: Likewise.
37301 * sysdeps/generic/sysdep.h: Likewise.
37302 * sysdeps/i386/asm-syntax.h: Likewise.
37303 * sysdeps/s390/asm-syntax.h: Likewise.
37304 * sysdeps/unix/sysdep.h: Likewise.
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37307
7071ad79
JM
373082012-01-26 Joseph Myers <joseph@codesourcery.com>
37309
37310 * libio/libio.h: Remove __STDC__ conditionals.
37311 * malloc/obstack.h: Likewise.
37312 * math/complex.h: Likewise.
37313 * math/math.h: Likewise.
37314 * sysdeps/generic/_G_config.h: Likewise.
37315 * sysdeps/gnu/_G_config.h: Likewise.
37316 * sysdeps/mach/hurd/_G_config.h: Likewise.
37317 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37318 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37319 * sysdeps/sparc/bits/mathdef.h: Likewise.
37320
afc5ed09
UD
373212012-01-26 Ulrich Drepper <drepper@gmail.com>
37322
37323 [BZ #13583]
37324 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37325 Clean up HAS_* macros.
afc5ed09 37326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37327 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37328 possible.
37329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37330 HAS_AVX.
37331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37336
bdb6de1d
JM
373372012-01-25 Joseph Myers <joseph@codesourcery.com>
37338
37339 * elf/tst-unique3.cc (gets): Remove declaration.
37340 * elf/tst-unique3lib.cc (gets): Likewise.
37341 * elf/tst-unique3lib2.cc (gets): Likewise.
37342 * elf/tst-unique4.cc (gets): Likewise.
37343
b15549e6
UD
373442012-01-24 Ulrich Drepper <drepper@gmail.com>
37345
37346 * include/stdio.h: Add C++ protection. Add gets declarations and
37347 definitions.
37348 * debug/tst-chk1.c: Don't declare gets here.
37349 * stdio-common/tst-gets.c: Likewise.
37350
a037381f
JM
373512012-01-24 Joseph Myers <joseph@codesourcery.com>
37352
37353 * posix/glob: Remove directory.
37354
f1d4aa75
JM
373552012-01-24 Joseph Myers <joseph@codesourcery.com>
37356
37357 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37358
81c0c964
PT
373592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37360
37361 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37362 of the non-standard EPFNOSUPPORT.
37363
0ea698ae
ST
373642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37365
37366 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37367 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37368 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37369
d220b117
UD
373702012-01-21 Ulrich Drepper <drepper@gmail.com>
37371
37372 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37373
3e1aa84e
UD
373742012-01-20 Ulrich Drepper <drepper@gmail.com>
37375
37376 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37377 transient errors.
37378 * nscd/grpcache.c (cache_addgr): Likewise.
37379 * nscd/hstcache.c (cache_addhst): Likewise.
37380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37381 * nscd/pwdcache.c (cache_addpw): Likewise.
37382 * nscd/servicescache.c (cache_addserv): Likewise.
37383
400aa020
UD
373842012-01-16 Ulrich Drepper <drepper@gmail.com>
37385
d77e7869
UD
37386 * malloc/malloc.c: Various cleanups.
37387 * malloc/hooks.c: Likewise.
37388
400aa020
UD
37389 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37390 * stdlib/bug-fmtmsg1.c: New file.
37391
37392 * stdlib/fmtmsg.c (init): Add missing unlock.
37393 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37394
e0a309cf
MP
373952012-01-12 Marek Polacek <polacek@redhat.com>
37396
37397 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37398 and _GNU_SOURCE.
37399
929d11c7
WS
374002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37401
37402 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37403 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37404 macro to ensure uniqueness of label name.
37405 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37406 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37407
41d0e869
UD
374082012-01-11 Ulrich Drepper <drepper@gmail.com>
37409
0cc5ed3b
UD
37410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37411
41d0e869
UD
37412 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37413 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37414 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37416
a47a831a
UD
374172012-01-10 Ulrich Drepper <drepper@gmail.com>
37418
daa891c0
UD
37419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37420
37421 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37422 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37423 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37424
e58ef0f2
UD
37425 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37426
a47a831a 37427 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37428 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37431
37432 * math/bits/math-finite.h: Add ldexp support.
37433
a0bfc9c7
MP
374342012-01-10 Marek Polacek <polacek@redhat.com>
37435
37436 * locale/programs/localedef.h (show_archive_content): Add noreturn
37437 attribute.
37438
d6e97a1d
UD
374392012-01-09 Ulrich Drepper <drepper@gmail.com>
37440
37441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37442
d5835c26
UD
374432012-01-08 Ulrich Drepper <drepper@gmail.com>
37444
e5f484c6
UD
37445 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37446
d5835c26
UD
37447 * io/Makefile (headers): Add bits/poll2.h.
37448
d1f741e9
WS
374492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37450
37451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37452 typo #include statement.
37453
ec09c1c4
UD
374542012-01-08 Ulrich Drepper <drepper@gmail.com>
37455
37456 * include/sys/cdefs.h: Define __attribute_alloc_size.
37457 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37458 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37459 * elf/pldd.c: Likewise.
37460 * iconv/iconv_charmap.c: Likewise.
37461 * iconv/iconvconfig.c: Likewise.
37462 * iconv/strtab.c: Likewise.
37463 * locale/programs/locale.c: Likewise.
37464 * locale/programs/localedef.h: Likewise.
37465 * locale/programs/simple-hash.c: Likewise.
37466 * nscd/nscd.h: Likewise.
37467 * nss/makedb.c: Likewise.
37468 * sysdeps/generic/ldconfig.h: Likewise.
37469 * locale/programs/localedef.c: Remove xmalloc prototype.
37470 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37471
20b38e03
PP
374722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37473
37474 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37475 appropriate.
37476
a0da5fe1
UD
374772012-01-08 Ulrich Drepper <drepper@gmail.com>
37478
1d5a644a 37479 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37480 * math/tst-CMPLX.c: New file.
1d5a644a 37481
8784a6db
UD
37482 * math/complex.h (CMPLXL): Fix typo.
37483
d9a216c0
UD
37484 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37485 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37486 GLIBC_2.16.
37487 * debug/tst-chk1.c: Add poll and ppoll tests.
37488 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37489 * include/sys/poll.h: Add hidden proto for ppoll.
37490 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37491 * sysdeps/mach/hurd/ppoll.c: Likewise.
37492 * io/ppoll.c: Likewise.
37493 * debug/poll_chk.c: New file.
37494 * debug/ppoll_chk.c: New file.
37495 * include/bits/poll2.h: New file.
37496 * io/bits/poll2.h: New file.
37497
ac097f5c
UD
37498 [BZ #1350]
37499 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37500
2119dcfa
UD
37501 * configure.in: static is always set to yes. Remove.
37502 * config.make.in: Don't set build-static.
37503 * Makeconfig: Remove use of build-static.
37504 * dlfcn/Makefile: Likewise.
37505 * elf/Makefile: Likewise.
37506 * math/Makefile: Likewise.
37507 * misc/Makefile: Likewise.
37508 * nptl/Makefile: Likewise.
37509 * sysdeps/mach/hurd/Makefile: Likewise.
37510
121766a9
UD
37511 * configure.in: PWD_P is not used anymore.
37512 * config.make.in: Remove PWD_P entry.
37513
51a1d39c 37514 * configure.in: Remove last remnants of RANLIB.
8720d066 37515 No need to check for signed size_t anymore.
215f4bdc
UD
37516 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37517 and IA-64.
3857022a 37518 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37519 * aclocal.m4: Likewise.
37520
d3ed7225
UD
37521 * wcsmbs/mbrtoc16.c: Implement using towc function.
37522 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37523 * wcsmbs/wcsmbsload.c: Likewise.
37524 * iconv/gconv_simple.c: Likewise.
37525 * iconv/gconv_int.h: Likewise.
37526 * iconv/gconv_builtin.h: Likewise.
37527 * iconv/iconv_prog.c: Remove CHAR16 handling.
37528
37529 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37530
37531 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37532
a0da5fe1
UD
37533 * configure.in: Remove --with-elf and --enable-bounded options.
37534 Dont set base_machine for ia64. More non-ELF conditions removed.
37535 Remove testing and setting of leading underscore information.
37536 * config.make.in (build-bounded): Set to no.
37537 * config.h.in: Remove NO_UNDERSCORES entry.
37538 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37539 them.
37540 * csu/start.c: Remove !NO_UNDERSCORE code.
37541 * locale/localeinfo.h: Likewise.
37542 * sysdeps/generic/machine-gmon.h: Likewise.
37543 * sysdeps/generic/sysdep.h: Likewise.
37544 * sysdeps/i386/sysdep.h: Likewise.
37545 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37546 * sysdeps/mach/sysdep.h: Likewise.
37547 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37549 * sysdeps/sh/sysdep.h: Likewise.
37550 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37551 * sysdeps/unix/i386/sysdep.S: Likewise.
37552 * sysdeps/unix/sparc/start.c: Likewise.
37553 * sysdeps/unix/sparc/sysdep.S: Likewise.
37554 * sysdeps/unix/sparc/sysdep.h: Likewise.
37555 * sysdeps/unix/start.c: Likewise.
37556 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37557 * sysdeps/x86_64/sysdep.h: Likewise.
37558
df78418a
UD
375592012-01-07 Ulrich Drepper <drepper@gmail.com>
37560
a784e502
UD
37561 [BZ #13553]
37562 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37563 for non-gcc.
37564 * argp/argp-fmtstream.h: Use const instead __const.
37565 * argp/argp.h: Likewise.
37566 * assert/assert.h: Likewise.
37567 * bits/fenv.h: Likewise.
37568 * bits/sched.h: Likewise.
37569 * bits/sigset.h: Likewise.
37570 * bits/sigthread.h: Likewise.
37571 * catgets/nl_types.h: Likewise.
37572 * conform/data/pthread.h-data: Likewise.
37573 * crypt/crypt-private.h: Likewise.
37574 * crypt/crypt.h: Likewise.
37575 * crypt/crypt_util.c: Likewise.
37576 * ctype/ctype.h: Likewise.
37577 * debug/execinfo.h: Likewise.
37578 * debug/mbsnrtowcs_chk.c: Likewise.
37579 * debug/mbsrtowcs_chk.c: Likewise.
37580 * debug/wcsnrtombs_chk.c: Likewise.
37581 * debug/wcsrtombs_chk.c: Likewise.
37582 * debug/wcstombs_chk.c: Likewise.
37583 * dirent/dirent.h: Likewise.
37584 * dlfcn/dlfcn.h: Likewise.
37585 * elf/neededtest4.c: Likewise.
37586 * grp/grp.h: Likewise.
37587 * gshadow/gshadow.h: Likewise.
37588 * iconv/gconv.h: Likewise.
37589 * iconv/gconv_int.h: Likewise.
37590 * iconv/gconv_simple.c: Likewise.
37591 * iconv/iconv.h: Likewise.
37592 * iconv/loop.c: Likewise.
37593 * iconv/skeleton.c: Likewise.
37594 * include/aio.h: Likewise.
37595 * include/aliases.h: Likewise.
37596 * include/argz.h: Likewise.
37597 * include/arpa/inet.h: Likewise.
37598 * include/assert.h: Likewise.
37599 * include/dirent.h: Likewise.
37600 * include/dlfcn.h: Likewise.
37601 * include/execinfo.h: Likewise.
37602 * include/fcntl.h: Likewise.
37603 * include/fenv.h: Likewise.
37604 * include/glob.h: Likewise.
37605 * include/grp.h: Likewise.
37606 * include/libintl.h: Likewise.
37607 * include/mntent.h: Likewise.
37608 * include/netdb.h: Likewise.
37609 * include/pwd.h: Likewise.
37610 * include/rpc/netdb.h: Likewise.
37611 * include/sched.h: Likewise.
37612 * include/search.h: Likewise.
37613 * include/shadow.h: Likewise.
37614 * include/signal.h: Likewise.
37615 * include/stdio.h: Likewise.
37616 * include/stdlib.h: Likewise.
37617 * include/string.h: Likewise.
37618 * include/sys/socket.h: Likewise.
37619 * include/sys/stat.h: Likewise.
37620 * include/sys/statfs.h: Likewise.
37621 * include/sys/statvfs.h: Likewise.
37622 * include/sys/syslog.h: Likewise.
37623 * include/sys/time.h: Likewise.
37624 * include/sys/uio.h: Likewise.
37625 * include/time.h: Likewise.
37626 * include/unistd.h: Likewise.
37627 * include/utmp.h: Likewise.
37628 * include/wchar.h: Likewise.
37629 * include/wctype.h: Likewise.
37630 * inet/aliases.h: Likewise.
37631 * inet/arpa/inet.h: Likewise.
37632 * inet/netinet/ether.h: Likewise.
37633 * inet/netinet/in.h: Likewise.
37634 * intl/libintl.h: Likewise.
37635 * io/bits/fcntl2.h: Likewise.
37636 * io/fcntl.h: Likewise.
37637 * io/ftw.h: Likewise.
37638 * io/sys/poll.h: Likewise.
37639 * io/sys/stat.h: Likewise.
37640 * io/sys/statfs.h: Likewise.
37641 * io/sys/statvfs.h: Likewise.
37642 * io/utime.h: Likewise.
37643 * libio/bits/stdio.h: Likewise.
37644 * libio/bits/stdio2.h: Likewise.
37645 * libio/libio.h: Likewise.
37646 * libio/libioP.h: Likewise.
37647 * libio/stdio.h: Likewise.
37648 * locale/lc-ctype.c: Likewise.
37649 * locale/locale.h: Likewise.
37650 * login/utmp.h: Likewise.
37651 * malloc/arena.c: Likewise.
37652 * malloc/malloc.c: Likewise.
37653 * malloc/malloc.h: Likewise.
37654 * malloc/mcheck.c: Likewise.
37655 * malloc/mtrace.c: Likewise.
37656 * math/bits/mathcalls.h: Likewise.
37657 * math/fenv.h: Likewise.
37658 * math/math_private.h: Likewise.
37659 * misc/bits/error.h: Likewise.
37660 * misc/bits/syslog.h: Likewise.
37661 * misc/err.h: Likewise.
37662 * misc/error.h: Likewise.
37663 * misc/fstab.h: Likewise.
37664 * misc/mntent.h: Likewise.
37665 * misc/regexp.h: Likewise.
37666 * misc/search.h: Likewise.
37667 * misc/sgtty.h: Likewise.
37668 * misc/sys/mman.h: Likewise.
37669 * misc/sys/syslog.h: Likewise.
37670 * misc/sys/uio.h: Likewise.
37671 * misc/sys/xattr.h: Likewise.
37672 * misc/ttyent.h: Likewise.
37673 * nis/rpcsvc/ypclnt.h: Likewise.
37674 * nss/nss.h: Likewise.
37675 * posix/bits/unistd.h: Likewise.
37676 * posix/fnmatch.h: Likewise.
37677 * posix/glob.h: Likewise.
37678 * posix/sched.h: Likewise.
37679 * posix/spawn.h: Likewise.
37680 * posix/sys/wait.h: Likewise.
37681 * posix/unistd.h: Likewise.
37682 * posix/wordexp.h: Likewise.
37683 * pwd/pwd.h: Likewise.
37684 * resolv/netdb.h: Likewise.
37685 * resource/sys/resource.h: Likewise.
37686 * rt/aio.h: Likewise.
37687 * rt/bits/mqueue2.h: Likewise.
37688 * rt/mqueue.h: Likewise.
37689 * shadow/shadow.h: Likewise.
37690 * signal/signal.h: Likewise.
37691 * socket/send.c: Likewise.
37692 * socket/sendto.c: Likewise.
37693 * socket/sys/socket.h: Likewise.
37694 * stdio-common/printf.h: Likewise.
37695 * stdlib/bits/stdlib.h: Likewise.
37696 * stdlib/fmtmsg.h: Likewise.
37697 * stdlib/monetary.h: Likewise.
37698 * stdlib/stdlib.h: Likewise.
37699 * stdlib/ucontext.h: Likewise.
37700 * streams/stropts.h: Likewise.
37701 * string/argz.h: Likewise.
37702 * string/bits/string2.h: Likewise.
37703 * string/string.h: Likewise.
37704 * string/strings.h: Likewise.
37705 * sunrpc/rpc/auth.h: Likewise.
37706 * sunrpc/rpc/auth_des.h: Likewise.
37707 * sunrpc/rpc/clnt.h: Likewise.
37708 * sunrpc/rpc/netdb.h: Likewise.
37709 * sunrpc/rpc/pmap_clnt.h: Likewise.
37710 * sunrpc/rpc/xdr.h: Likewise.
37711 * sysdeps/generic/inttypes.h: Likewise.
37712 * sysdeps/generic/net/if.h: Likewise.
37713 * sysdeps/generic/sys/swap.h: Likewise.
37714 * sysdeps/gnu/net/if.h: Likewise.
37715 * sysdeps/gnu/utmpx.h: Likewise.
37716 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37717 * sysdeps/i386/i486/bits/string.h: Likewise.
37718 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37719 * sysdeps/s390/bits/string.h: Likewise.
37720 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37721 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37722 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37723 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37724 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37725 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37726 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37727 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37728 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37729 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37730 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37731 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37732 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37733 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37734 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37735 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37736 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37739 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37741 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37742 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37743 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37744 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37745 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37746 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37747 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37748 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37749 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37750 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37751 * sysvipc/sys/ipc.h: Likewise.
37752 * sysvipc/sys/msg.h: Likewise.
37753 * sysvipc/sys/sem.h: Likewise.
37754 * sysvipc/sys/shm.h: Likewise.
37755 * termios/termios.h: Likewise.
37756 * time/sys/time.h: Likewise.
37757 * time/time.h: Likewise.
37758 * wcsmbs/bits/wchar2.h: Likewise.
37759 * wcsmbs/uchar.h: Likewise.
37760 * wcsmbs/wchar.h: Likewise.
37761 * wctype/wctype.h: Likewise.
37762
0269750c
UD
37763 [BZ #13551]
37764 * Makeconfig: Remove all but ELF support including AIX support.
37765 * Makerules: Likewise.
37766 * config.h.in: Likewise.
37767 * config.make.in: Likewise.
37768 * configure: Likewise.
37769 * configure.in: Likewise.
37770 * csu/Makefile: Likewise.
37771 * csu/version.c: Likewise.
37772 * debug/Makefile: Likewise.
37773 * dlfcn/Makefile: Likewise.
37774 * elf/Makefile: Likewise.
37775 * extra-lib.mk: Likewise.
37776 * iconv/Makefile: Likewise.
37777 * include/libc-symbols.h: Likewise.
37778 * include/shlib-compat.h: Likewise.
37779 * resolv/Makefile: Likewise.
37780 * resolv/res_libc.c: Likewise.
37781 * rt/Makefile: Likewise.
37782 * sysdeps/i386/asm-syntax.h: Likewise.
37783 * sysdeps/i386/sysdep.h: Likewise.
37784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37785 * sysdeps/mach/sysdep.h: Likewise.
37786 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37787 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37788 * sysdeps/s390/asm-syntax.h: Likewise.
37789 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37790 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37791 * sysdeps/sh/sysdep.h: Likewise.
37792 * sysdeps/unix/sparc/sysdep.h: Likewise.
37793 * sysdeps/wordsize-32/divdi3.c: Likewise.
37794 * sysdeps/x86_64/sysdep.h: Likewise.
37795
00bbd29b
UD
37796 * argp/Versions: Remove _argp_unlock_xxx.
37797
37798 [BZ #13559]
37799 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37800 * abilist/libBrokenLocale.abilist: Likewise.
37801 * abilist/libanl.abilist: Likewise.
37802 * abilist/libc.abilist: Likewise.
37803 * abilist/libcrypt.abilist: Likewise.
37804 * abilist/libdl.abilist: Likewise.
37805 * abilist/libm.abilist: Likewise.
37806 * abilist/libnsl.abilist: Likewise.
37807 * abilist/libpthread.abilist: Likewise.
37808 * abilist/libresolv.abilist: Likewise.
37809 * abilist/librt.abilist: Likewise.
37810 * abilist/libthread_db.abilist: Likewise.
37811 * abilist/libutil.abilist: Likewise.
37812 * abilist/libnss_db.abilist: New file.
37813
37814 * scripts/abilist.awk: Add support for indirect functions.
37815
a2693a0e
UD
37816 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37817
3f05895f
UD
37818 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37819
ecb6fb48
UD
37820 * shlib-versions: Remove entries for ports architectures.
37821
664f8cb9
UD
37822 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37823 files in ports.
37824 * elf/stackguard-macros.h: Remove support for IA-64.
37825 * elf/tst-auditmod1.c: Likewise.
37826 * sysdeps/generic/ldsodefs.h: Likewise.
37827
7ae81d88
UD
37828 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37829 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37830 configure files.
37831
bdeba135
UD
37832 [BZ #13552]
37833 * configure.in: Remove --enable-omitfp support.
37834 * FAQ.in: Adjust.
37835 * config.make.in: Likewise.
37836 * Makeconfig: Likewise.
37837 * manual/install.texi: Likewise.
37838
d75a0a62
UD
37839 In case anyone cares, the IA-64 architecture could move to ports.
37840 * sysdeps/ia64/*: Removed.
37841 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37842 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37843
dcc9756b
UD
37844 [BZ #13555]
37845 * configure.in: Remove entries for unsupported architectures.
37846
d3761ebc 37847 [BZ #13533]
9954432e
UD
37848 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37849 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37850 routines.
37851 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37852 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37853 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37854 fall back to using wcrtomb.
37855 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37856 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37857 renaming.
37858 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37859 * wcsmbs/tst-c16c32-1.c: New file.
37860
37861 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37862 local variable.
37863
c3a87236
UD
37864 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37865
28926a1b
UD
37866 * elf/tst-unique3.cc: Add explicit declaration of gets.
37867 * elf/tst-unique3lib.cc: Likewise.
37868 * elf/tst-unique3lib2.cc: Likewise.
37869 * elf/tst-unique4.cc: Likewise.
37870
df78418a
UD
37871 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37872
8ecd6b2a
JM
378732012-01-06 Joseph Myers <joseph@codesourcery.com>
37874
37875 [BZ #13566]
37876 * assert/assert.h (static_assert): Don't define for C++.
37877 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37878 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37879
9f115170
UD
378802012-01-03 Ulrich Drepper <drepper@gmail.com>
37881
5e0d0300
UD
37882 * iconv/loop.c (single loop): Fix assertion in storing of
37883 remaining bytes.
37884
9f115170
UD
37885 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37886
81fb02b0
UD
378872012-01-01 Ulrich Drepper <drepper@gmail.com>
37888
37889 * posix/getconf.c: Update copyright year.
37890 * nss/getent.c: Likewise.
a316c1f6 37891 * nss/makedb.c: Likewise.
81fb02b0
UD
37892 * iconv/iconvconfig.c: Likewise.
37893 * iconv/iconv_prog.c: Likewise.
37894 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37895 * elf/pldd.c: Likewise.
37896 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37897 * catgets/gencat.c: Likewise.
37898 * csu/version.c: Likewise.
37899 * elf/ldd.bash.in: Likewise.
37900 * elf/sprof.c (print_version): Likewise.
37901 * locale/programs/locale.c: Likewise.
37902 * locale/programs/localedef.c: Likewise.
a316c1f6 37903 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37904 * nscd/nscd.c (print_version): Likewise.
37905 * debug/xtrace.sh: Likewise.
37906 * malloc/memusage.sh: Likewise.
37907 * malloc/mtrace.pl: Likewise.
37908 * debug/catchsegv.sh: Likewise.
37909
2ba92745
JJ
379102011-12-30 Jakub Jelinek <jakub@redhat.com>
37911
37912 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37913 pure attribute.
37914
dadebdae
UD
379152011-12-24 Ulrich Drepper <drepper@gmail.com>
37916
d3761ebc 37917 [BZ #13533]
db6af3eb
UD
37918 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37919 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37920 transformations.
37921 * iconv/gconv_int.h: Likewise.
37922 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37923 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37924 from libc for GLIBC_2.16.
37925 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37926 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37927 * wcsmbs/uchar.h: Really define mbstate_t.
37928 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37929 * wcsmbs/c16rtomb.c: New file.
37930 * wcsmbs/mbrtoc16.c: New file.
37931 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37932 for C/POSIX locale.
37933 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37934 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37935
dadebdae
UD
37936 * wcsmbs/wchar.h: Add missing __restrict.
37937
67371b56
UD
379382011-12-23 Ulrich Drepper <drepper@gmail.com>
37939
74033a25
UD
37940 [BZ #13532]
37941 * time/Makefile (routines): Add timespec_get.
37942 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37943 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37944 timespec for ISO C11.
37945 * time/timespec_get.c: New file.
37946 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37947 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37948
380d7e87
UD
37949 [BZ #13531]
37950 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37951 * stdlib/stdlib.h: Declare aligned_alloc.
37952 * Versions.def: Add GLIBC_2.16 for libc.
37953 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37954
4e9e7a35
UD
37955 [BZ 13527]
37956 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37957 ISO C11.
37958
380d7e87 37959 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37960 code.
37961
03a71829
UD
37962 [BZ #13528]
37963 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37964
839e283e
UD
37965 [BZ #13529]
37966 * assert/assert.h (static_assert): Define.
37967
ce5294e2 37968 * version.h: Update for 2.16 development version.
90fa7312 37969
8d44e150 37970 [BZ #13526]
d7809905
UD
37971 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37972 _ISOC11_SOURCE.
37973
c0da14cd
UD
37974 * version.h (RELEASE): Bump for 2.15 release.
37975 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37976
530a3249
MP
37977 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37978 Patch by Marek Polacek <mpolacek@redhat.com>.
37979
67371b56
UD
37980 * bits/byteswap.h: Protect long long constants with __extension__.
37981 * sysdeps/i386/bits/byteswap.h: Likewise.
37982 * sysdeps/ia64/bits/byteswap.h: Likewise.
37983 * sysdeps/s390/bits/byteswap.h: Likewise.
37984 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37985
15db4de1
LD
379862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37987
37988 [BZ #13540]
bbe315ea
LD
37989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37990 destination buffer.
15db4de1
LD
37991 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37992
2b2596b1
MP
379932011-12-23 Marek Polacek <polacek@redhat.com>
37994
37995 * elf/dl-addr.c (determine_info): Add inline keyword.
37996 * elf/tst-auditmod4b.c (check_avx): Likewise.
37997 * elf/tst-auditmod6b.c (check_avx): Likewise.
37998 * elf/tst-auditmod6c.c (check_avx): Likewise.
37999 * elf/tst-auditmod7b.c (check_avx): Likewise.
38000
70c6c246
UD
380012011-12-23 Ulrich Drepper <drepper@gmail.com>
38002
38003 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38004 !__SSE_MATH__.
38005
c044cf14
LD
380062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38007
15db4de1 38008 [BZ #13540]
c044cf14
LD
38009 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38010 processing for last bytes.
38011
6b13d9d9
BH
380122011-08-06 Bruno Haible <bruno@clisp.org>
38013
d455f537
BH
38014 [BZ #13061]
38015 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38016 U+0385, not to U+1FEE.
38017
6b13d9d9
BH
38018 [BZ #13062]
38019 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38020 entry for U+00A5 U+0301.
38021
db910efd
UD
380222011-12-22 Ulrich Drepper <drepper@gmail.com>
38023
27deeafc
UD
38024 [BZ #13166]
38025 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38026 buffer for the output is too small.
38027
aed9d171
UD
38028 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38029 optimization.
38030
db910efd
UD
38031 [BZ #13185]
38032 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38033 SSE flags if possible.
38034
2bd779ae
LD
380352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38036
e7f9dac3 38037 [BZ #13540]
2bd779ae
LD
38038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38039 processing for last bytes.
38040
154bfc16
JM
380412011-12-22 Joseph Myers <joseph@codesourcery.com>
38042
38043 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38044 (syscall-list-default-options, syscall-list-default-condition)
38045 (syscall-list-includes): Define.
38046 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38047 list of ABIs and options and #if conditions for each ABI. Do not
38048 handle common syscalls between ABIs specially.
38049 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38050 Remove.
38051 (syscall-list-variants, syscall-list-32bit-options)
38052 (syscall-list-32bit-condition, syscall-list-64bit-options)
38053 (syscall-list-64bit-condition): Define.
38054 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38055 (syscall-list-variants, syscall-list-32bit-options)
38056 (syscall-list-32bit-condition, syscall-list-64bit-options)
38057 (syscall-list-64bit-condition): Define.
38058 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38059 Remove.
38060 (syscall-list-variants, syscall-list-32bit-options)
38061 (syscall-list-32bit-condition, syscall-list-64bit-options)
38062 (syscall-list-64bit-condition): Define.
38063 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38064 Remove.
38065 (syscall-list-variants, syscall-list-32bit-options)
38066 (syscall-list-32bit-condition, syscall-list-64bit-options)
38067 (syscall-list-64bit-condition): Define.
38068
21eaf3a5
UD
380692011-12-22 Ulrich Drepper <drepper@gmail.com>
38070
16c6f992
UD
38071 * locale/iso-639.def: Add brx entry.
38072
41043168
UD
38073 [BZ #13328]
38074 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38075 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38076
21eaf3a5
UD
38077 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38078 __feraiseexcept_renamed.
38079
e3a851a2
UD
380802011-12-21 Ulrich Drepper <drepper@gmail.com>
38081
4920765e
UD
38082 [BZ #13538]
38083 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38084 EPOLLET with unsigned values.
38085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38087
e3a851a2
UD
38088 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38089 to large cancellation.
38090 * math/s_cacoshf.c: Likewise.
38091 * math/s_cacoshl.c: Likewise.
38092
b27e24b8
RK
380932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38094
38095 [BZ #13305]
aebefeee 38096 [BZ #12786]
b27e24b8
RK
38097 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38098 * math/s_cacoshf.c: Likewise.
38099 * math/s_cacoshl.c: Likewise.
38100
ee190f67
UD
381012011-12-21 Ulrich Drepper <drepper@gmail.com>
38102
38103 [BZ #13439]
38104 * iconv/gconv.h: Define __GCONV_SWAP.
38105 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38106 * iconvdata/utf-16.c: Likewise.
38107 * iconvdata/utf-32.c: Likewise.
38108
707f25df
AS
381092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38110
38111 [BZ #13524]
38112 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38113 numerator after shifting it by one limb.
38114
d2daaa1e
RÁE
381152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38116
38117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38118 under [__USE_EXTERN_INLINES].
38119
a4647e72
UD
381202011-12-17 Ulrich Drepper <drepper@gmail.com>
38121
38122 [BZ #13446]
38123 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38124
f0b264f1
AZ
381252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38126
38127 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38128 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38129 optimized code.
38130 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38131 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38132 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38133 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38134 for strncasecmp/strncasecmp_l compilation.
38135 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38136 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38137
8ef4f244
MP
381382011-12-08 Marek Polacek <mpolacek@redhat.com>
38139
38140 [BZ #13484]
38141 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38142 of __asm__.
38143
97ac2654
UD
381442011-12-17 Ulrich Drepper <drepper@gmail.com>
38145
38146 [BZ #13506]
38147 * time/tzfile.c (__tzfile_read): Check values from file header.
38148
91d2a845
WS
381492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38150
38151 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38152 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38153 * powerpc/powerpc32/dl-start.S: Likewise.
38154 * powerpc/powerpc32/elf/start.S: Likewise.
38155 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38156 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38157 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38158 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38159 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38160 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38161 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38162 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38163 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38164 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38165 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38166 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38167 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38168 * powerpc/powerpc32/memset.S: Likewise.
38169 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38170 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38171 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38172 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38173 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38174 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38175 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38176 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38177 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38178 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38179 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38180 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38181 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38182
a1267ba1
AZ
381832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38184
38185 * math/libm-test.inc: Added more nearbyint tests.
38186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38189 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38190
ad8ac1bd
RL
381912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38192
38193 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38194 FD_CLOEXEC.
38195
1d3e4b61
UD
381962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38197
38198 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38199 Add wcscpy-ssse3 wcscpy-c.
38200 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38201 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38202 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38203 * sysdeps/x86_64/wcschr.S: New file.
38204 * sysdeps/x86_64/wcsrchr.S: New file.
38205 * string/test-strcmp.c: Remove checking of wcscmp function for
38206 wrong alignments.
38207 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38208 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38209 wcsrchr-sse2 wcsrchr-c.
38210 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38211 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38212 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38213 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38214 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38215 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38216 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38217 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38218 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38219 * wcsmbc/wcschr.c (WCSCHR): New macro.
38220
5b330a2d
UD
382212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38222
38223 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38224 * wcsmbs/test-wcsrchr.c: New file.
38225 * string/test-strrchr.c: Add wcsrchr support.
38226 (WIDE): New macro.
38227 * wcsmbs/test-wcscpy.c: New file.
38228 * string/test-strcpy.c: Add wcscpy support.
38229 (WIDE): New macro.
26428b7c 38230
f039c043
UD
382312011-12-10 Ulrich Drepper <drepper@gmail.com>
38232
38233 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38234 the inner loop.
38235
850fb039
AS
382362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38237
38238 [BZ #13472]
38239 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38240
4efbd5cb
UD
382412011-12-04 Ulrich Drepper <drepper@gmail.com>
38242
52ff5dd0 38243 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38244 Minor optimizations.
52ff5dd0 38245
4efbd5cb
UD
38246 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38247 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38248 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38249
8a426e12
UD
382502011-12-03 Ulrich Drepper <drepper@gmail.com>
38251
aff2453d
UD
38252 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38253 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38254 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38255 for gcc to avoid warnings.
38256 * inet/Makefile (tests): Add tst-checks.
38257 * inet/tst-checks.c: New file.
38258
38259 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38260 warning.
38261
38262 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38263 __wmemcmp_sse2.
38264
38265 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38266 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38267
8a426e12
UD
38268 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38269
9bea3473
UD
382702011-12-02 Ulrich Drepper <drepper@gmail.com>
38271
3a965496
UD
38272 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38273 problem.
38274
9bea3473
UD
38275 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38276
f101631b
UD
382772011-11-29 Joseph Myers <joseph@codesourcery.com>
38278
38279 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38280 conditional on GCC version.
38281 (__arch_compare_and_exchange_val_8_acq)
38282 (__arch_compare_and_exchange_val_16_acq)
38283 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38284 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38285 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38286
a98275aa
UD
382872011-12-02 Joseph Myers <joseph@codesourcery.com>
38288
38289 * sysdeps/sh/backtrace.c: New file.
38290
d4cc29a2
AS
382912011-12-02 Andreas Schwab <schwab@redhat.com>
38292
38293 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38294 parenthesis.
38295
6257af2d
AS
382962011-12-01 Andreas Schwab <schwab@redhat.com>
38297
38298 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38299 falling back to utime.
38300
b5f44c1a
AS
383012011-11-30 Andreas Schwab <schwab@redhat.com>
38302
38303 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38304 expectations for float.
38305
f3a6cc0a
AS
383062011-11-29 Andreas Schwab <schwab@redhat.com>
38307
38308 * locale/weight.h (findidx): Add parameter len.
38309 * locale/weightwc.h (findidx): Likewise.
38310 * posix/fnmatch_loop.c (FCT): Adjust caller.
38311 * posix/regcomp.c (build_equiv_class): Likewise.
38312 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38313 * posix/regexec.c (check_node_accept_bytes): Likewise.
38314 * string/strcoll_l.c (STRCOLL): Likewise.
38315 * string/strxfrm_l.c (STRXFRM): Likewise.
38316
9d65ea3a
UD
383172011-11-17 Ulrich Drepper <drepper@gmail.com>
38318
38319 * Makefile.in: Remove CVSOPT handling.
38320 * configure.in: Remove use of AC_REVISION.
38321 * iconvdata/Makefile (distribute): No need to filter out CVS.
38322 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38323 handling.
38324
5583a086
AS
383252011-11-16 Andreas Schwab <schwab@redhat.com>
38326
38327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38328 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38329 [USE_AS_STRNCASECMP_L]: Likewise.
38330 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38331 NO_TLS_DIRECT_SEG_REFS.
38332 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38333 Fix argument offsets for non-PIC.
38334 [USE_AS_STRNCASECMP_L]: Likewise.
38335 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38336 NO_TLS_DIRECT_SEG_REFS.
38337
d62a8200
UD
383382011-11-15 Ulrich Drepper <drepper@gmail.com>
38339
9d65ea3a 38340 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38341 O_CLOEXEC.
38342 * locale/loadlocale.c (_nl_load_locale): Likewise.
38343
09f93bd3
AS
383442011-11-15 Andreas Schwab <schwab@redhat.com>
38345
446514f9
AS
38346 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38347 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38348 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38349 (SYSCALL_GETTIME): Set errno on error.
38350
09f93bd3
AS
38351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38352 count references to noai6ai_cached.
38353
312be3f9
UD
383542011-11-15 Ulrich Drepper <drepper@gmail.com>
38355
38356 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38357
38358 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38359 FD_CLOEXEC for /proc/self/maps.
38360
38361 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38362 FD_CLOEXEC for /proc/meminfo.
38363
38364 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38365 gai.conf.
38366
38367 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38368 FD_CLOEXEC for given file.
38369
38370 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38371
38372 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38373 FD_CLOEXEC for /etc/hosts.
38374 (_gethtent): Likewise.
38375
38376 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38377
38378 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38379 cancellation and set FD_CLOEXEC for /etc/netgroup.
38380
38381 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38382 reading /etc/publickey.
38383
38384 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38385 allow cancellation when reading /etc/group.
38386
38387 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38388 cancellation.
38389 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38390
38391 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38392 when using data file.
38393
38394 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38395
38396 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38397 (write_nis_obj): Use "c" and "e" in fopen.
38398
38399 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38400
38401 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38402
38403 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38404
38405 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38406
38407 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38408 locale.alias.
38409
38410 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38411
38412 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38413
38414 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38415
38416 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38417 file parsing and set FD_CLOEXEC.
38418
82af0fa8
UD
384192011-11-14 Ulrich Drepper <drepper@gmail.com>
38420
38421 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38422
a5fb313c
AS
384232011-11-14 Andreas Schwab <schwab@redhat.com>
38424
38425 * malloc/arena.c (arena_get2): Don't call reused_arena when
38426 _int_new_arena failed.
38427
6abf3465
UD
384282011-11-14 Ulrich Drepper <drepper@gmail.com>
38429
38430 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38431 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38432 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38433 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38434 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38436 to compile strcasecmp and strncasecmp.
38437 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38438 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38439
38440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38441
76e3966e
UD
384422011-11-13 Ulrich Drepper <drepper@gmail.com>
38443
38444 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38445 locale-defines.sym to gen-as-const-headers.
38446 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38447 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38449 to compile strcasecmp and strncasecmp.
38450 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38451 strcasecmp_l and strncasecmp_l.
38452 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38453 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38454 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38455 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38456 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38457 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38458 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38459 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38460 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38461 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38462 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38463
ab26144e
UD
384642011-11-12 Ulrich Drepper <drepper@gmail.com>
38465
7edb22ef
UD
38466 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38467 result of SYSDEP_GETTIME_CPU to retval.
38468 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38469 parameter list to macro. Remove trailing semicolon. Adjust users.
38470
9694fc44
UD
38471 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38472 variable.
38473
8ad89ef8
UD
38474 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38475 mantissa words.
38476 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38477
0c822ef9
UD
38478 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38479 from unused variable.
38480
874e0564
UD
38481 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38482 DWARF definitions.
38483 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38484 for assembling.
38485
3a2edc79
UD
38486 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38487 over namespaces.
38488
f3c2577f
UD
38489 * sunrpc/rpc_prot.c (rejected): Fix case value.
38490
294ce126
UD
38491 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38492 unsigned long long int to avoid warnings in shift.
38493
5e2b63c6
UD
38494 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38495 of use of trans.
38496 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38497 variable tmp.
38498
e7f4b08e
UD
38499 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38500 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38501 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38502
ab26144e
UD
38503 * nis/nis_table.c (nis_list): Use variable of correct type for
38504 result of __follow_path call.
38505
8a6d5255
AZ
385062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38507
38508 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38509 of math functions ceil, trunc, floor, round, and sqrt, when
38510 avaliable on the platform.
38511 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38512 name clash.
38513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38516
aaddc98c
MP
385172011-10-30 Marek Polacek <mpolacek@redhat.com>
38518
38519 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38520 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38521
95b7042b
RM
385222011-11-11 Roland McGrath <roland@hack.frob.com>
38523
38524 * include/unistd.h: Fix __readlink return type.
38525 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38526
57769839
UD
385272011-11-11 Ulrich Drepper <drepper@gmail.com>
38528
38529 * stdlib/ucontext.h: Undo last change for makecontext.
38530
edc5984d
AS
385312011-11-11 Andreas Schwab <schwab@redhat.com>
38532
98591e58
AS
38533 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38534
edc5984d
AS
38535 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38536 * setjmp/setjmp.h: Mark functions as non-leaf.
38537 * setjmp/bits/setjmp2.h: Likewise.
38538 * stdlib/ucontext.h: Likewise.
38539
77cdc054
AS
385402011-11-10 Andreas Schwab <schwab@redhat.com>
38541
38542 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38543 (reused_arena): Don't check arena limit.
38544 (arena_get2): Atomically check arena limit.
38545
fe72eebd
UD
385462011-11-08 Ulrich Drepper <drepper@gmail.com>
38547
5f078c32
UD
38548 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38549 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38550
fe72eebd
UD
38551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38552 instructions.
38553
ae1bc2fa
AS
385542011-11-07 Andreas Schwab <schwab@redhat.com>
38555
7583a88d
AS
38556 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38557 handler when locking.
38558
ae1bc2fa
AS
38559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38560 Fix size of allocated buffer.
38561
10fb0bfa
AS
385622011-11-04 Andreas Schwab <schwab@redhat.com>
38563
998832a4
AS
38564 [BZ #10103]
38565 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38566 declarations for long double functions.
38567 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38568
10fb0bfa
AS
38569 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38570
3d7ba52b
AS
385712011-11-03 Andreas Schwab <schwab@redhat.com>
38572
a9ae54a1
AS
38573 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38574 installed.
38575
3d7ba52b
AS
38576 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38577 is disabled.
38578
bc8db248
ST
385792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38580
38581 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38582
45b96dd6
AS
385832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38584
647776f6
AS
38585 * include/alloca.h (stackinfo_alloca_round): Define.
38586 (extend_alloca): Use it.
38587 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38588 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38589 here.
38590
d91a8b93
AS
38591 * scripts/check-local-headers.sh: Ignore libaudit.h.
38592
45b96dd6
AS
38593 * nscd/Makefile (extra-objs): Make recursively expanded.
38594
432d41ce
UD
385952011-11-01 Ulrich Drepper <drepper@gmail.com>
38596
34372fc6
UD
38597 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38598 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38599
fadb59f8
UD
38600 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38601 * posix/tst-rfc3484-2.c: Likewise.
38602 * posix/tst-rfc3484-3.c: Likewise.
38603
78239589
UD
38604 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38605 process_vm_writev.
38606 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38607 process_vm_writev.
38608 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38609 process_vm_writev from libc using GLIBC_2.15 version.
38610
432d41ce
UD
38611 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38612
02f9c6cf
PP
386132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38614
38615 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38616 stack usage.
38617
3a2c0242
UD
386182011-10-31 Ulrich Drepper <drepper@gmail.com>
38619
f4ec4833
UD
38620 [BZ #13367]
38621 * nss/getent.c (initgroups_keys): Show error message in case no group
38622 names are given.
38623
3a2c0242
UD
38624 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38625 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38626 __bump_nl_timestamp.
38627 * nscd/connections (nscd_init): When host database is served open
38628 netlink socket and request notification about configuration changes.
38629 (main_loop_poll): Track netlink file descriptor and bump timestamp
38630 in case data becomes available.
38631 (main_loop_epoll): Likewise.
38632 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38633 (database_pers_head): Add extra_data fileds.
38634 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38635 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38636 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38637 Adjust caller.
38638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38639 in6ai data, call __free_in6ai.
38640 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38641 Add -DHAVE_NETLINK.
38642 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38643 interface information. Reuse previous data if netlink timestamp
38644 is not changed.
38645 (__bump_nl_timestamp): New function.
38646 (__free_in6ai): New function.
38647
636064eb
UD
386482011-10-30 Ulrich Drepper <drepper@gmail.com>
38649
38650 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38651 close_not_cancel_no_status here.
38652 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38653
9beb2334
UD
386542011-10-29 Ulrich Drepper <drepper@gmail.com>
38655
6ef76f3b
UD
38656 [BZ #13276]
38657 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38658 return value.
38659
0ffc4f3e 38660 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38661 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38662 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38663
cb95113e
UD
386642011-07-03 Andreas Jaeger <aj@suse.de>
38665
38666 [BZ #10709]
38667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38668 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38669 * math/libm-test.inc (sin_test): Add test case.
38670
a1b560ff
UD
386712011-10-29 Ulrich Drepper <drepper@gmail.com>
38672
c9aaface
UD
38673 [BZ #13337]
38674 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38675 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38676
d272e7f1
UD
38677 * elf/chroot_canon.c (chroot_canon): Cleanups.
38678
1bc33071
UD
38679 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38680
1760874d
TJ
38681 [BZ #13335]
38682 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38683 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38684
51d91b18
UD
38685 * string/test-strchr.c: Make usable for strchrnul testing.
38686 * string/test-strchrnul.c: New file.
38687 * string/Makefile (strop-tests): Add strchrnul.
38688
a1b560ff 38689 * po/it.po: Update from translation team.
b611fb81 38690 * po/es.po: Likewise.
a1b560ff 38691
a5b81e1f
UD
386922011-10-28 Ulrich Drepper <drepper@gmail.com>
38693
fd52bc6d
UD
38694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38695 the three constants needed as parameters. Drop the others.
38696 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38697 __m128i_strloadu_tolower.
52e4b9eb
UD
38698 Create and initialize variable zero and use it in all the places
38699 where _mm_setzero_si128 was used.
fd52bc6d 38700
a5b81e1f
UD
38701 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38702 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38703 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38704 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38705 anymore.
38706 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38707 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38708 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38709 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38710 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38711 __mpranred, __mptan.
38712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38716 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38717 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38719 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38720 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38721
b4343346
AS
387222011-10-28 Andreas Schwab <schwab@redhat.com>
38723
0c92d8a8
AS
38724 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38725 redefine if SHARED.
38726 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38727
b4343346
AS
38728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38729 wide char related routines to wcsmbs subdir.
38730
3871f58f
AS
387312011-10-27 Andreas Schwab <schwab@redhat.com>
38732
38733 [BZ #13344]
38734 * misc/sys/cdefs.h (__THROWNL): Define.
38735 * posix/unistd.h: Use __THREADNL instead of __THREAD
38736 for memory synchronization functions.
38737
94d44d9f
RM
387382011-10-26 Roland McGrath <roland@hack.frob.com>
38739
21b64b15 38740 [BZ #13349]
94d44d9f
RM
38741 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38742 doesn't exist.
38743 * manual/stdio.texi (Obstack Streams): Node removed.
38744
f6ce9294
AS
387452011-10-26 Andreas Schwab <schwab@redhat.com>
38746
80479147
AS
38747 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38748 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38749 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38750
f6ce9294
AS
38751 * math/math_private.h (math_force_eval): Allow non-addressable
38752 arguments.
38753 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38754
618280a1
UD
387552011-10-25 Ulrich Drepper <drepper@gmail.com>
38756
e0016b11
UD
38757 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38758 file is not needed.
38759
38760 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38763 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38764 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38767 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38768 Add AVX variants.
38769 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38770 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38771 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38772 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38773 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38774 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38775 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38776 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38777 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38778 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38779 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38780 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38781 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38782 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38783 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38784 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38785 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38786 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38787 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38788
38789 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38790 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38791
618280a1
UD
38792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38793 place. Use VEX encoding when compiling for AVX.
38794
37822576
AS
387952011-10-25 Andreas Schwab <schwab@redhat.com>
38796
1f1e1947
AS
38797 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38798 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38799
37822576
AS
38800 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38801
31ea014d
UD
388022011-10-25 Ulrich Drepper <drepper@gmail.com>
38803
d7826aa1 38804 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38805 useless if() expression.
d7826aa1
UD
38806 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38815 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38816 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38817 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38818 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38819 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38820 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38824 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38825
31ea014d
UD
38826 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38827
16437fec
AS
388282011-10-25 Andreas Schwab <schwab@redhat.com>
38829
38830 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38831 condition.
38832 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38833
31d3cc00
UD
388342011-10-25 Ulrich Drepper <drepper@gmail.com>
38835
38836 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38837 .text section. Avoid duplicate constants.
38838 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38848 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38850 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38853 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38855 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38861 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38862 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38863 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38864 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38866 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38867 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38869 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38870 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38871 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38872 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38873 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38874 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38875 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38876 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38877 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38878 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38879 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38883
58985aa9
UD
388842011-10-24 Ulrich Drepper <drepper@gmail.com>
38885
202c9deb
UD
38886 * sysdeps/x86_64/dla.h: Move to ...
38887 * sysdeps/x86_64/fpu/dla.h: ...here.
38888 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38889 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38890
af968f62
UD
38891 * config.make.in: Add have-mfma4 entry.
38892 * configure.in: Substitute libc_cv_cc_fma4.
38893 * math/Makefile (dbl-only-routines): Add sincostab.
38894 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38895 Use __sincostab not sincos.
38896 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38897 name is a macro.
38898 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
38902 using __copysign.
38903 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38904 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38905 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38906 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38907 and __inv.
38908 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38909 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38910 __copysign.
38911 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38912 define aliases when function name is a macro.
38913 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38914 sysdeps/ieee754/dbl-64/sincos.tbl.
38915 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38916 fma4-enabled routines.
38917 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38918 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38919 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38920 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38921 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38922 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38923 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38924 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38925 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38926 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38927 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38928 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38929 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38930 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38931 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38932 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38933 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38934 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38935 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38936 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38937 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38938 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38939 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38941 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38942 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38944 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38945 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38946 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38947
58985aa9
UD
38948 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38949 rename.
38950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38958
a201fbcf
AS
389592011-10-24 Andreas Schwab <schwab@redhat.com>
38960
38961 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38962
fc2ee42a
LD
389632011-10-23 Ulrich Drepper <drepper@gmail.com>
38964
bb3129bd
UD
38965 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38966
0275fff8
UD
38967 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38968 prediction.
38969 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38970
2fa2ae85
UD
38971 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38972 Remove unused variable magic_bits.
38973 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38974
fc2ee42a
LD
38975 * string/strnlen.c: Define and use STRNLEN macro.
38976 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38977 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38979 * wcsmbs/wcslen.c: Define and use WCSLEN.
38980 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38981 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38982 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38983 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38984 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38985 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38986 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38987
ce7dd29f
LD
389882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38989
38990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38991 strnlen-sse2-no-bsf.
38992 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38994 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38995 Add strnlen support.
38996 (USE_AS_STRNLEN): New macro.
38997 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38998 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38999 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39000 * sysdeps/x86_64/wcslen.S: New file.
39001
979c70a3
MZ
390022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39003
39004 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39005 XMM-moves are used for copying on small sizes.
39006
2d09f82f
LD
390072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39008
39009 * wcsmbs/Makefile (strop-tests): Add wcschr.
39010 * wcsmbs/test-wcschr.c: New file.
39011 * string/test-strchr.c: Update.
39012 Add wcschr support.
39013 (WIDE): New macro.
39014
619fccca
LD
390152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39016
2d09f82f 39017 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39018 * wcsmbs/test-wcslen.c: New file.
39019 * string/test-strlen.c: Update.
39020 Add wcslen support.
39021 (WIDE): New macro.
39022
09f699ea
UD
390232011-10-23 Ulrich Drepper <drepper@gmail.com>
39024
39025 * po/it.po: Update from translation team.
39026
95584d3b
LD
390272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39028
39029 * sysdeps/x86_64/wcscmp.S: Update.
39030 Fix wrong comparison semantics.
39031 wcscmp shall use signed comparison not unsigned.
39032 Don't use substraction to avoid overflow bug.
39033 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39034 * wcsmbc/wcscmp.c: Likewise.
39035 * string/test-strcmp.c: Likewise.
39036 Add new tests to check cases with negative values.
39037
c8b3296b
UD
390382011-10-23 Ulrich Drepper <drepper@gmail.com>
39039
39040 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39041 * sysdeps/x86_64/dla.h: ...here. New file.
39042 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39051
246ad57a
AS
390522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39053
39054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39055 __ynl_finite aliases.
39056
a1a87169
UD
390572011-10-22 Ulrich Drepper <drepper@gmail.com>
39058
0d355eb7
UD
39059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39060
a1a87169
UD
39061 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39062 define DLA_FMA.
39063 [DLA_FMA] (EMULV): Use DLA_FMA.
39064 [DLA_FMA] (MUL12): Use EMULV.
39065 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39066 that are not needed.
39067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39074
ee2aafe0
AS
390752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39076
39077 * math/s_nan.c: Undef __nan.
39078 * math/s_nanf.c: Undef __nanf.
39079 * math/s_nanl.c: Undef __nanl.
39080 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39081 "math_private.h".
39082
bc62c2fb
UD
390832011-10-22 Ulrich Drepper <drepper@gmail.com>
39084
77425c63
UD
39085 * math/s_catan.c: Add branch predictions.
39086 * math/s_catanf.c: Likewise.
39087 * math/s_catanh.c: Likewise.
39088 * math/s_catanhf.c: Likewise.
39089 * math/s_catanhl.c: Likewise.
39090 * math/s_catanl.c: Likewise.
39091 * math/s_cexp.c: Likewise.
39092 * math/s_cexpf.c: Likewise.
39093 * math/s_cexpl.c: Likewise.
39094 * math/s_clog.c: Likewise.
39095 * math/s_clog10.c: Likewise.
39096 * math/s_clog10f.c: Likewise.
39097 * math/s_clog10l.c: Likewise.
39098 * math/s_clogf.c: Likewise.
39099 * math/s_clogl.c: Likewise.
39100 * math/s_csqrt.c: Likewise.
39101 * math/s_csqrtf.c: Likewise.
39102 * math/s_csqrtl.c: Likewise.
39103 * math/s_ctanf.c: Likewise.
39104 * math/s_ctanh.c: Likewise.
39105 * math/s_ctanhf.c: Likewise.
39106 * math/s_ctanhl.c: Likewise.
39107 * math/s_ctanl.c: Likewise.
39108
bc62c2fb
UD
39109 * math/math_private.h: Define __nan, __nanf, __nanl.
39110 * math/s_cacosh.c: Include <math_private.h>.
39111 * math/s_cacoshl.c: Likewise.
39112 * math/s_casinh.c: Likewise.
39113 * math/s_casinhf.c: Likewise.
39114 * math/s_casinhl.c: Likewise.
39115 * math/s_ccos.c: Rely entire on ccosh.
39116 * math/s_ccosf.c: Rely entire on ccoshf.
39117 * math/s_ccosl.c: Rely entirely on ccoshl.
39118 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39119 Remove tests for FE_INVALID.
39120 * math/s_ccoshf.c: Likewise.
39121 * math/s_ccoshl.c: Likewise.
39122 * math/s_csin.c: Likewise.
39123 * math/s_csinf.c: Likewise.
39124 * math/s_csinh.c Likewise.
39125 * math/s_csinhf.c: Likewise.
39126 * math/s_csinhl.c: Likewise.
39127 * math/s_csinl.c: Likewise.
39128 * math/s_ctan.c: Likewise.
39129 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39130 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39131 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39132
8ec250a4
UD
391332011-10-21 Ulrich Drepper <drepper@gmail.com>
39134
c196fed8
UD
39135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39136 compilation problems.
39137
8ec250a4
UD
39138 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39139 __builtin_expect.
39140
8d4f46c6
UD
391412011-10-20 Ulrich Drepper <drepper@gmail.com>
39142
ed72b654
UD
39143 * sysdeps/i386/configure.in: Test for -mfma4 option.
39144 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39145 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39146 COMMON_CPUID_INDEX_80000001.
39147 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39148 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39149 use it if FMA3 is not supported.
39150 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39151
8d4f46c6
UD
39152 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39153 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39154
d45c60c2
AS
391552011-10-20 Andreas Schwab <schwab@redhat.com>
39156
39157 [BZ #12892]
39158 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39159 it would create a cycle with a link time dependency.
39160
d9a4d2ab
UD
391612011-10-19 Ulrich Drepper <drepper@gmail.com>
39162
855d1560
UD
39163 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39164 instruction.
39165 * string/Makefile (strop-tests): Add rawmemchr.
39166 * string/test-rawmemchr.c: New file.
39167
d9a4d2ab
UD
39168 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39170 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39171 when compiling str{,n}casecmp and when AVX is available. Hook up
39172 new optimized code in initializers.
39173
8f3b1ffe
AS
391742011-10-19 Andreas Schwab <schwab@redhat.com>
39175
39176 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39177 __feraiseexcept instead of feraiseexcept.
39178
d38f1dba
UD
391792011-10-18 Ulrich Drepper <drepper@gmail.com>
39180
d9a8d0ab
UD
39181 * math/math_private.h: Define defaults for libc_fetestexcept and
39182 libc_feupdateenv.
39183 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39184 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39185 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39186 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39187 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39188 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39189 libc_fetestexcept and libc_feupdateenv.
39190
4855e3dd
UD
39191 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39192 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39193 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39194 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39195 libc_feholdexcept_setround.
39196
581d30e3
UD
39197 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39198 Add s_nearbyint-c and s_nearbyintf-c.
39199 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39200 nearbyintf inlines.
39201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39202 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39203 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39204 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39205
d38f1dba
UD
39206 * math/math_private.h: Define defaults for libc_fegetround,
39207 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39208 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39209 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39210 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39211 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39212 standard functions.
39213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39214 Remove comments and hacks for old compiler versions.
39215 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39216 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39217 libc_feholdexceptl.
39218
caa6c9d8
AS
392192011-10-18 Andreas Schwab <schwab@redhat.com>
39220
39221 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39222 (__feraiseexcept_renamed): Add __NTH.
39223 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39224 namespace violations.
39225
97c066e6
UD
392262011-10-17 Ulrich Drepper <drepper@gmail.com>
39227
99ce7b04
UD
39228 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39229
1004d182
UD
39230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39231
228a984d
UD
39232 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39233 recently added interfaces.
39234 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39235
c8553a6a
UD
39236 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39237 about macro parameter expansion.
39238
ed22dcf6
UD
39239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39240 __NO_MATH_INLINES is defined. Cleanups.
39241
39242 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39243 and __floorf is target has SSE4.1.
39244 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39245 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39247 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39248
b171c137
UD
39249 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39250 name.
39251 (floorf): Likewise.
39252
97c066e6
UD
39253 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39254
629f62ef
AS
392552011-10-17 Andreas Schwab <schwab@redhat.com>
39256
49a43d80
AS
39257 * misc/sys/cdefs.h: Fix last change.
39258
629f62ef
AS
39259 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39260 database lookup.
39261
e453f6cd
UD
392622011-10-16 Ulrich Drepper <drepper@gmail.com>
39263
aa78043a
UD
39264 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39265
ad0f5cad
UD
39266 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39272 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39274 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39275 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39276 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39277 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39278 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39279 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39280 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39281 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39282 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39283 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39284 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39285 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39286 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39287 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39288
39289 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39290 ceil, ceilf, floor, floorf.
39291
39292 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39293 Perform IRELATIVE relocations last.
39294
e453f6cd
UD
39295 * elf/do-rel.h: Add another parameter nrelative, replacing the
39296 local variable with the same name. Change name of the function
39297 to end in Rel or Rela (uppercase).
39298 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39299 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39300 elf_dynamic_do_##reloc function.
39301
fd5bdc09
UD
393022011-10-15 Ulrich Drepper <drepper@gmail.com>
39303
79b195b5
UD
39304 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39305 is sufficient, at least on modern CPUs.
39306
d4a28569
UD
39307 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39308
b61099b5
UD
39309 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39310 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39311
bcf01e6d
UD
39312 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39313 __expl_finite.
39314 * math/bits/math-finite.h: Add entries for exp.
39315 * math/e_expl.c: Add __*_finite alias.
39316 * sysdeps/i386/fpu/e_exp.S: Likewise.
39317 * sysdeps/i386/fpu/e_expf.S: Likewise.
39318 * sysdeps/i386/fpu/e_expl.c: Likewise.
39319 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39320 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39324 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39325 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39326
ba1a0d59
UD
39327 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39328 is sufficient, at least on modern CPUs.
39329
fd5bdc09
UD
39330 * ctype/ctype-info.c (__ctype_init): Define.
39331 * include/ctype.h (__ctype_init): Declare.
39332 (__ctype_b_loc): The variable is always initialized.
39333 (__ctype_toupper_loc): Likewise.
39334 (__ctype_tolower_loc): Likewise.
39335 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39336 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39337
7872cfb0
AS
393382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39339
b468825a
AS
39340 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39341
7872cfb0
AS
39342 * configure.in: Also look in $cxxmachine/include for C++ system
39343 headers.
39344
be13f7bf
LD
393452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39346
39347 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39348 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39349 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39350 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39351 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39352 (USE_AS_WMEMCMP): New macro.
39353 Fixing indents.
39354 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39355 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39356 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39357 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39359 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39360 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39361 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39362 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39363 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39364 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39365 (USE_AS_WMEMCMP): New macro.
39366 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39367 * sysdeps/string/test-memcmp.c: Update.
39368 Fix simple_wmemcmp.
39369 Add new tests.
39370 * wcsmbs/wmemcmp.c: Update.
39371 (WMEMCMP): New macro.
39372 Fix overflow bug.
39373
556a2007
AJ
393742011-10-12 Andreas Jaeger <aj@suse.de>
39375
39376 [BZ #13268]
39377 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39378
538faaa7
UD
393792011-10-15 Ulrich Drepper <drepper@gmail.com>
39380
ab6737ff
UD
39381 * libio/iofwide.c (do_length): Avoid warning.
39382
538faaa7
UD
39383 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39384
396a21b1
UD
393852011-10-14 Ulrich Drepper <drepper@gmail.com>
39386
cdf2901f
UD
39387 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39388
38ad40ce
UD
39389 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39390 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39391 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39392 * sysdeps/i386/i686/fpu/e_log.S: New file.
39393 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39394 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39395
396a21b1
UD
39396 * ctype/ctype.h: Add support for inlined isXXX functions when
39397 compiling C++ code.
39398
6b1f68c9
AS
393992011-10-14 Andreas Schwab <schwab@redhat.com>
39400
349290c0
AS
39401 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39402
6b1f68c9
AS
39403 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39404
f2282d42
RM
394052011-10-13 Roland McGrath <roland@hack.frob.com>
39406
39407 [BZ #13291]
39408 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39409
5298ffa8
AS
394102011-10-13 Andreas Schwab <schwab@redhat.com>
39411
714fad23
AS
39412 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39413 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39414 feraiseexcept.
39415
81dcc7fb
AS
39416 * sysdeps/x86_64/memrchr.S: Check for zero size.
39417
5298ffa8
AS
39418 * string/stratcliff.c: Add memrchr tests.
39419
951fbcec
LD
394202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39421
39422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39423 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39424 rawmemchr-sse2 rawmemchr-sse2-bsf.
39425 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39426 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39427 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39428 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39429 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39430 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39431 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39432 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39433 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39434 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39435 * string/memrchr.c (MEMRCHR): New macro.
39436
0ac5ae23
UD
394372011-10-12 Ulrich Drepper <drepper@gmail.com>
39438
39439 Add integration with gcc's -ffinite-math-only and optimize wrapper
39440 functions in libm.
39441 * Versions.def: Define GLIBC_2.15 version for libm.
39442 * math/Makefile (headers): Add bits/math-finite.h.
39443 * math/bits/math-finite.h: New file.
39444 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39445 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39446 * math/e_acoshl.c: Add __*_finite alias.
39447 * math/e_acosl.c: Likewise.
39448 * math/e_asinl.c: Likewise.
39449 * math/e_atan2l.c: Likewise.
39450 * math/e_atanhl.c: Likewise.
39451 * math/e_coshl.c: Likewise.
39452 * math/e_exp10.c: Likewise.
39453 * math/e_exp10f.c: Likewise.
39454 * math/e_exp10l.c: Likewise.
39455 * math/e_exp2l.c: Likewise.
39456 * math/e_fmodl.c: Likewise.
39457 * math/e_gammal_r.c: Likewise.
39458 * math/e_hypotl.c: Likewise.
39459 * math/e_j0l.c: Likewise.
39460 * math/e_j1l.c: Likewise.
39461 * math/e_jnl.c: Likewise.
39462 * math/e_lgammal_r.c: Likewise.
39463 * math/e_log10l.c: Likewise.
39464 * math/e_log2l.c: Likewise.
39465 * math/e_logl.c: Likewise.
39466 * math/e_powl.c: Likewise.
39467 * math/e_sinhl.c: Likewise.
39468 * math/e_sqrtl.c: Likewise.
39469 * math/e_scalb.c: Completely rewritten and optimized.
39470 * math/e_scalbf.c: Likewise.
39471 * math/e_scalbl.c: Likewise.
39472 * math/w_acos.c: Likewise.
39473 * math/w_acosf.c: Likewise.
39474 * math/w_acosl.c: Likewise.
39475 * math/w_acosh.c: Likewise.
39476 * math/w_acoshf.c: Likewise.
39477 * math/w_acoshl.c: Likewise.
39478 * math/w_asin.c: Likewise.
39479 * math/w_asinf.c: Likewise.
39480 * math/w_asinl.c: Likewise.
39481 * math/w_atan2.c: Likewise.
39482 * math/w_atan2f.c: Likewise.
39483 * math/w_atan2l.c: Likewise.
39484 * math/w_atanh.c: Likewise.
39485 * math/w_atanhf.c: Likewise.
39486 * math/w_atanhl.c: Likewise.
39487 * math/w_exp10.c: Likewise.
39488 * math/w_exp10f.c: Likewise.
39489 * math/w_exp10l.c: Likewise.
39490 * math/w_fmod.c: Likewise.
39491 * math/w_fmodf.c: Likewise.
39492 * math/w_fmodl.c: Likewise.
39493 * math/w_j0.c: Likewise.
39494 * math/w_j0f.c: Likewise.
39495 * math/w_j0l.c: Likewise.
39496 * math/w_j1.c: Likewise.
39497 * math/w_j1f.c: Likewise.
39498 * math/w_j1l.c: Likewise.
39499 * math/w_jn.c: Likewise.
39500 * math/w_jnf.c: Likewise.
39501 * math/w_log.c: Likewise.
39502 * math/w_logf.c: Likewise.
39503 * math/w_logl.c: Likewise.
39504 * math/w_log10.c: Likewise.
39505 * math/w_log10f.c: Likewise.
39506 * math/w_log10l.c: Likewise.
39507 * math/w_log2.c: Likewise.
39508 * math/w_log2f.c: Likewise.
39509 * math/w_log2l.c: Likewise.
39510 * math/w_pow.c: Likewise.
39511 * math/w_powf.c: Likewise.
39512 * math/w_powl.c: Likewise.
39513 * math/w_remainder.c: Likewise.
39514 * math/w_remainderf.c: Likewise.
39515 * math/w_remainderl.c: Likewise.
39516 * math/w_scalb.c: Likewise.
39517 * math/w_scalbf.c: Likewise.
39518 * math/w_scalbl.c: Likewise.
39519 * math/w_sqrt.c: Likewise.
39520 * math/w_sqrtf.c: Likewise.
39521 * math/w_sqrtl.c: Likewise.
39522 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39523 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39524 used.
39525 * math/math_private.h: Declare __kernel_standard_f.
39526 * math/w_cosh.c: Remove cruft and optimize a bit.
39527 * math/w_coshf.c: Likewise.
39528 * math/w_coshl.c: Likewise.
39529 * math/w_exp2.c: Likewise.
39530 * math/w_exp2f.c: Likewise.
39531 * math/w_exp2l.c: Likewise.
39532 * math/w_hypot.c: Likewise.
39533 * math/w_hypotf.c: Likewise.
39534 * math/w_hypotl.c: Likewise.
39535 * math/w_lgamma.c: Likewise.
39536 * math/w_lgamma_r.c: Likewise.
39537 * math/w_lgammaf.c: Likewise.
39538 * math/w_lgammaf_r.c: Likewise.
39539 * math/w_lgammal.c: Likewise.
39540 * math/w_lgammal_r.c: Likewise.
39541 * math/w_sinh.c: Likewise.
39542 * math/w_sinhf.c: Likewise.
39543 * math/w_sinhl.c: Likewise.
39544 * math/w_tgamma.c: Likewise.
39545 * math/w_tgammaf.c: Likewise.
39546 * math/w_tgammal.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39548 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39549 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39550 Minor optimizations. Pretty printing. Remove cruft.
39551 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39554 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39555 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39556 * sysdeps/i386/fpu/e_asin.S: Likewise.
39557 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39558 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39559 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39560 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39561 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39562 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39563 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39564 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39565 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39566 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39567 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39568 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39569 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39570 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39571 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39572 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39573 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39574 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39575 * sysdeps/i386/fpu/e_log.S: Likewise.
39576 * sysdeps/i386/fpu/e_log10.S: Likewise.
39577 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39578 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39579 * sysdeps/i386/fpu/e_log2.S: Likewise.
39580 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39582 * sysdeps/i386/fpu/e_logf.S: Likewise.
39583 * sysdeps/i386/fpu/e_logl.S: Likewise.
39584 * sysdeps/i386/fpu/e_pow.S: Likewise.
39585 * sysdeps/i386/fpu/e_powf.S: Likewise.
39586 * sysdeps/i386/fpu/e_powl.S: Likewise.
39587 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39588 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39589 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39590 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39591 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39592 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39593 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39594 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39595 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39600 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39601 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39604 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39605 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39609 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39610 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39617 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39618 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39619 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39620 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39621 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39622 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39623 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39624 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39625 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39626 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39627 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39628 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39629 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39630 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39631 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39632 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39633 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39634 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39635 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39636 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39637 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39679 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39682 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39684 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39687 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39688 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39689 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39690 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39691 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39692 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39693 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39694 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39695 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39696 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39697 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39698 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39699 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39700 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39701 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39702 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39703 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39704 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39706 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39707 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39708 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39709 (__isnanf): Likewise.
39710 (__isinf_ns): Likewise.
39711 (__isinf_nsf): Likewise.
39712 (__finite): Likewise.
39713 (__finitef): Likewise.
39714 (__ieee754_sqrt): Define as macro.
39715 (__ieee754_sqrtf): Define as macro.
39716 (__ieee754_sqrtl): Define as macro.
39717 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39718 inlined copy.
39719 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39720 __FINITE_MATH_ONLY__ consistent.
39721 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39722
12cc2fcd
AS
397232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39724
a843a204
AS
39725 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39726 of rawmemchr.
39727
12cc2fcd
AS
39728 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39729
c853acd5
UD
397302011-10-09 Ulrich Drepper <drepper@gmail.com>
39731
39732 * po/ja.po: Update from translation team.
39733
c658d255
RM
397342011-10-08 Roland McGrath <roland@hack.frob.com>
39735
110946e4
RM
39736 * locale/programs/locarchive.c (prepare_address_space): New function.
39737 (create_archive, enlarge_archive, open_archive): Use it.
39738
50604220
RM
39739 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39740 inside [SHARED], where it is used.
39741
c658d255
RM
39742 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39743
39744 * nss/getent.c (netgroup_keys): Remove unused variable.
39745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39746
6a621eb7
UD
397472011-10-08 Ulrich Drepper <drepper@gmail.com>
39748
7edb55ce
UD
39749 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39750 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39752 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39753 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39754 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39755 * math/Makefile (libm-calls): Add s_isinf_ns.
39756 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39757 * math/multc3.c: Likewise.
39758 * math/s_casin.c: Likewise.
39759 * math/s_casinf.c: Likewise.
39760 * math/s_casinl.c: Likewise.
39761 * math/s_ccos.c: Likewise.
39762 * math/s_ccosf.c: Likewise.
39763 * math/s_ccosl.c: Likewise.
39764 * math/s_ctan.c: Likewise.
39765 * math/s_ctanf.c: Likewise.
39766 * math/s_ctanh.c: Likewise.
39767 * math/s_ctanhf.c: Likewise.
39768 * math/s_ctanhl.c: Likewise.
39769 * math/s_ctanl.c: Likewise.
39770 * math/w_fmod.c: Likewise.
39771 * math/w_fmodf.c: Likewise.
39772 * math/w_fmodl.c: Likewise.
39773 * math/w_remainder.c: Likewise.
39774 * math/w_remainderf.c: Likewise.
39775 * math/w_remainderl.c: Likewise.
39776 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39777 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39778 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39780 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39781 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39782 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39783 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39784
187da0ae
UD
39785 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39786 of the number.
39787 * stdio-common/printf_fphex.c: Likewise.
39788 * stdio-common/printf_size.c: Likewise.
39789
9277c064
UD
39790 * math/e_exp10.c: Include math_private.h using <...> not "...".
39791 * math/e_exp10f.c: Likewise.
39792 * math/e_exp10l.c: Likewise.
39793 * math/e_exp2l.c: Likewise.
39794 * math/e_j0l.c: Likewise.
39795 * math/e_j1l.c: Likewise.
39796 * math/e_jnl.c: Likewise.
39797 * math/e_lgammal_r.c: Likewise.
39798 * math/e_rem_pio2l.c: Likewise.
39799 * math/e_scalb.c: Likewise.
39800 * math/e_scalbf.c: Likewise.
39801 * math/e_scalbl.c: Likewise.
39802 * math/k_cosl.c: Likewise.
39803 * math/k_sinl.c: Likewise.
39804 * math/k_tanl.c: Likewise.
39805 * math/s_cacoshf.c: Likewise.
39806 * math/s_catan.c: Likewise.
39807 * math/s_catanf.c: Likewise.
39808 * math/s_catanh.c: Likewise.
39809 * math/s_catanhf.c: Likewise.
39810 * math/s_catanhl.c: Likewise.
39811 * math/s_catanl.c: Likewise.
39812 * math/s_ccosh.c: Likewise.
39813 * math/s_ccoshf.c: Likewise.
39814 * math/s_ccoshl.c: Likewise.
39815 * math/s_cexp.c: Likewise.
39816 * math/s_cexpf.c: Likewise.
39817 * math/s_cexpl.c: Likewise.
39818 * math/s_clog.c: Likewise.
39819 * math/s_clog10.c: Likewise.
39820 * math/s_clog10f.c: Likewise.
39821 * math/s_clog10l.c: Likewise.
39822 * math/s_clogf.c: Likewise.
39823 * math/s_clogl.c: Likewise.
39824 * math/s_csin.c: Likewise.
39825 * math/s_csinf.c: Likewise.
39826 * math/s_csinh.c: Likewise.
39827 * math/s_csinhf.c: Likewise.
39828 * math/s_csinhl.c: Likewise.
39829 * math/s_csinl.c: Likewise.
39830 * math/s_csqrt.c: Likewise.
39831 * math/s_csqrtf.c: Likewise.
39832 * math/s_csqrtl.c: Likewise.
39833 * math/s_ctan.c: Likewise.
39834 * math/s_ctanf.c: Likewise.
39835 * math/s_ctanh.c: Likewise.
39836 * math/s_ctanhf.c: Likewise.
39837 * math/s_ctanhl.c: Likewise.
39838 * math/s_ctanl.c: Likewise.
39839 * math/s_ldexp.c: Likewise.
39840 * math/s_ldexpf.c: Likewise.
39841 * math/s_ldexpl.c: Likewise.
39842 * math/s_significand.c: Likewise.
39843 * math/s_significandf.c: Likewise.
39844 * math/s_significandl.c: Likewise.
39845 * math/w_acos.c: Likewise.
39846 * math/w_acosf.c: Likewise.
39847 * math/w_acosh.c: Likewise.
39848 * math/w_acoshf.c: Likewise.
39849 * math/w_acoshl.c: Likewise.
39850 * math/w_acosl.c: Likewise.
39851 * math/w_asin.c: Likewise.
39852 * math/w_asinf.c: Likewise.
39853 * math/w_asinl.c: Likewise.
39854 * math/w_atan2.c: Likewise.
39855 * math/w_atan2f.c: Likewise.
39856 * math/w_atan2l.c: Likewise.
39857 * math/w_atanh.c: Likewise.
39858 * math/w_atanhf.c: Likewise.
39859 * math/w_atanhl.c: Likewise.
39860 * math/w_cosh.c: Likewise.
39861 * math/w_coshf.c: Likewise.
39862 * math/w_coshl.c: Likewise.
39863 * math/w_dremf.c: Likewise.
39864 * math/w_exp10.c: Likewise.
39865 * math/w_exp10f.c: Likewise.
39866 * math/w_exp10l.c: Likewise.
39867 * math/w_exp2.c: Likewise.
39868 * math/w_exp2f.c: Likewise.
39869 * math/w_fmod.c: Likewise.
39870 * math/w_fmodf.c: Likewise.
39871 * math/w_fmodl.c: Likewise.
39872 * math/w_hypot.c: Likewise.
39873 * math/w_hypotf.c: Likewise.
39874 * math/w_hypotl.c: Likewise.
39875 * math/w_j0.c: Likewise.
39876 * math/w_j0f.c: Likewise.
39877 * math/w_j0l.c: Likewise.
39878 * math/w_j1.c: Likewise.
39879 * math/w_j1f.c: Likewise.
39880 * math/w_j1l.c: Likewise.
39881 * math/w_jn.c: Likewise.
39882 * math/w_jnf.c: Likewise.
39883 * math/w_jnl.c: Likewise.
39884 * math/w_lgamma.c: Likewise.
39885 * math/w_lgamma_r.c: Likewise.
39886 * math/w_lgammaf.c: Likewise.
39887 * math/w_lgammaf_r.c: Likewise.
39888 * math/w_lgammal.c: Likewise.
39889 * math/w_lgammal_r.c: Likewise.
39890 * math/w_log.c: Likewise.
39891 * math/w_log10.c: Likewise.
39892 * math/w_log10f.c: Likewise.
39893 * math/w_log10l.c: Likewise.
39894 * math/w_log2.c: Likewise.
39895 * math/w_log2f.c: Likewise.
39896 * math/w_log2l.c: Likewise.
39897 * math/w_logf.c: Likewise.
39898 * math/w_logl.c: Likewise.
39899 * math/w_pow.c: Likewise.
39900 * math/w_powf.c: Likewise.
39901 * math/w_powl.c: Likewise.
39902 * math/w_remainder.c: Likewise.
39903 * math/w_remainderf.c: Likewise.
39904 * math/w_remainderl.c: Likewise.
39905 * math/w_scalb.c: Likewise.
39906 * math/w_scalbf.c: Likewise.
39907 * math/w_scalbl.c: Likewise.
39908 * math/w_sinh.c: Likewise.
39909 * math/w_sinhf.c: Likewise.
39910 * math/w_sinhl.c: Likewise.
39911 * math/w_sqrt.c: Likewise.
39912 * math/w_sqrtf.c: Likewise.
39913 * math/w_sqrtl.c: Likewise.
39914 * math/w_tgamma.c: Likewise.
39915 * math/w_tgammaf.c: Likewise.
39916 * math/w_tgammal.c: Likewise.
39917
6a621eb7
UD
39918 * po/ja.po: Update from translation team.
39919
bf582445
AJ
399202011-09-29 Andreas Jaeger <aj@suse.de>
39921
f9efbf3a
AJ
39922 [BZ #13179]
39923 * sunrpc/netname.c (netname2host): Fix logic.
39924
bf582445
AJ
39925 [BZ #6779]
39926 [BZ #6783]
39927 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39928 correctly.
39929 * math/w_remainder.c (__remainder): Likewise.
39930 * math/w_remainderf.c (__remainderf): Likewise.
39931 * math/libm-test.inc (remainder_test): Add test cases.
39932
48693bea
AK
399332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39934
39935 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39936 sdiv_qrnnd.
39937
42622229
LD
399382011-10-07 Ulrich Drepper <drepper@gmail.com>
39939
39940 * string/test-memcmp.c: Avoid unncessary #defines.
39941 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39942
093ecf92
LD
399432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39944
39945 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39946 Use new sse2 version for core i3 - i7 as it's faster
39947 than sse42 version.
39948 (bit_Prefer_PMINUB_for_stringop): New.
39949 * sysdeps/x86_64/rawmemchr.S: Update.
39950 Replace with faster SSE2 version.
39951 * sysdeps/x86_64/memrchr.S: New file.
39952 * sysdeps/x86_64/memchr.S: Update.
39953 Replace with faster SSE2 version.
39954
fde56e5c
MP
399552011-09-12 Marek Polacek <mpolacek@redhat.com>
39956
39957 * elf/dl-load.c (lose): Add cast to avoid warning.
39958
21fd49a9
UD
399592011-10-07 Ulrich Drepper <drepper@gmail.com>
39960
5a06e643
UD
39961 * po/ca.po: Update from translation team.
39962
684ae515
UD
39963 * inet/getnetgrent_r.c: Hook up nscd.
39964 * nscd/Makefile (routines): Add nscd_netgroup.
39965 (nscd-modules): Add netgroupcache.
39966 (CFLAGS-netgroupcache.c): Define.
39967 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39968 (cache_search): Add const to second parameter.
39969 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39970 INNETGR.
39971 (dbs): Add netgrdb entry.
39972 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39973 (verify_persistent_db): Handle netgrdb.
39974 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39975 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39976 GETFDNETGR.
39977 (netgroup_response_header): Define.
39978 (innetgroup_response_header): Define.
39979 (datahead): Add netgroup_response_header and innetgroup_response_header
39980 elements.
39981 * nscd/nscd.conf: Add entries for netgroup cache.
39982 * nscd/nscd.h (dbtype): Add netgrdb.
39983 (_PATH_NSCD_NETGROUP_DB): Define.
39984 (netgroup_iov_disabled): Declare.
39985 (xmalloc, xcalloc, xrealloc): Move declarations here.
39986 (cache_search): Adjust prototype.
39987 Add netgroup-related prototypes.
39988 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39989 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39990 (__nscd_innetgr): Declare.
39991 * nscd/selinux.c (perms): Use access_vector_t as element type and
39992 add netgroup-related initializers.
39993 * nscd/netgroupcache.c: New file.
39994 * nscd/nscd_netgroup.c: New file.
39995 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39996 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39997 For four parameters use innetgr.
39998 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39999 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40000 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40001 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40002
21fd49a9
UD
40003 * nscd/connections.c (register_traced_file): Don't register file
40004 for disabled databases.
40005
054c0457
UD
400062011-10-06 Ulrich Drepper <drepper@gmail.com>
40007
32b63198
UD
40008 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40009
054c0457
UD
40010 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40011 from tree and freeing node.
40012
64031225
JO
400132011-09-25 Jiri Olsa <jolsa@redhat.com>
40014
40015 * nss/nsswitch.c (__nss_database_lookup): Handle
40016 nss_parse_service_list out of memory case.
40017
0490345c
JO
400182011-09-15 Jiri Olsa <jolsa@redhat.com>
40019
40020 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40021 out of memory case.
40022
3a62d00d
AS
400232011-10-04 Andreas Schwab <schwab@redhat.com>
40024
40025 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40026 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40027 pass it down.
40028 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40029 elf_machine_rela, elf_machine_lazy_rel.
40030 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40031 (ELF_DYNAMIC_DO_REL): Likewise.
40032 (ELF_DYNAMIC_DO_RELA): Likewise.
40033 (ELF_DYNAMIC_RELOCATE): Likewise.
40034 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40035 to ELF_DYNAMIC_DO_REL.
40036 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40037 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40038 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40039 elf_machine_rela.
40040 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40041 skip_ifunc, don't call ifunc function if non-zero.
40042 (elf_machine_rela): Likewise.
40043 (elf_machine_lazy_rel): Likewise.
40044 (elf_machine_lazy_rela): Likewise.
40045 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40046 (elf_machine_lazy_rel): Likewise.
40047 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40048 Likewise.
40049 (elf_machine_lazy_rel): Likewise.
40050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40051 Likewise.
40052 (elf_machine_lazy_rel): Likewise.
40053 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40054 (elf_machine_lazy_rel): Likewise.
40055 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40056 (elf_machine_lazy_rel): Likewise.
40057 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40058 (elf_machine_lazy_rel): Likewise.
40059 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40060 (elf_machine_lazy_rel): Likewise.
40061 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40062 (elf_machine_lazy_rel): Likewise.
40063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40064 (elf_machine_lazy_rel): Likewise.
40065
68577918
UD
400662011-09-28 Ulrich Drepper <drepper@gmail.com>
40067
40068 * nss/nss_files/files-init.c (_nss_files_init): Use static
40069 initialization for all the *_traced_file variables.
40070
68822d74
AS
400712011-09-28 Andreas Schwab <schwab@redhat.com>
40072
40073 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40074
2056100b
RM
400752011-09-27 Roland McGrath <roland@hack.frob.com>
40076
40077 [BZ #13226]
40078 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40079
32c76b63
AS
400802011-09-27 Andreas Schwab <schwab@redhat.com>
40081
40082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40083 Reread the line before reparsing it.
40084
bf972c9d
AS
400852011-09-26 Andreas Schwab <schwab@redhat.com>
40086
40087 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40088
e057a1b5
JM
400892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40090 Maxim Kuvyrkov <maxim@codesourcery.com>
40091 Joseph Myers <joseph@codesourcery.com>
40092
40093 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40094 if needed for __stack_chk_guard.
40095
bc7e1c36
RM
400962011-09-19 Roland McGrath <roland@hack.frob.com>
40097
ecb1482f
RM
40098 * sysdeps/posix/spawni.c (script_execute): Always define it.
40099 It will be optimized away if unused.
40100 (maybe_script_execute): New function.
40101 (__spawni): Call it.
40102
bc7e1c36
RM
40103 * Makerules: Don't include tls.make.
40104 (config-tls): Always set to thread.
40105 * tls.make.c: File removed.
40106
1c3b002b
MF
401072011-09-19 Mike Frysinger <vapier@gentoo.org>
40108
40109 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40110 * config.make.in (CPPFLAGS-config): New substituted variable.
40111
2840865d
UD
401122011-09-15 Ulrich Drepper <drepper@gmail.com>
40113
88738eb6
UD
40114 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40115
cbf645a6 40116 [BZ #13192]
2840865d
UD
40117 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40118 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40119
b402e91a
RM
401202011-09-15 Roland McGrath <roland@hack.frob.com>
40121
40122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40123 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40125 (CALL_FAIL): Likewise.
40126 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40127 (CALL_FAIL): Macro removed.
40128 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40129
4c1a1f71
UD
401302011-09-15 Ulrich Drepper <drepper@gmail.com>
40131
40132 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40133 for __FINITE_MATH_ONLY__ == 1.
40134
edc121be
AS
401352011-09-15 Andreas Schwab <schwab@redhat.com>
40136
40137 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40138 __ieee754_sqrt instead of sqrt.
40139 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40140 __ieee754_sqrtf instead of sqrtf.
40141 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40142 __floorf instead of floorf.
40143 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40144 __floorf, __truncf instead of floorf, truncf.
40145
cd205654
UD
401462011-09-14 Ulrich Drepper <drepper@gmail.com>
40147
ee4d0315
UD
40148 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40149
cd205654
UD
40150 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40151 __extern_always_inline.
40152 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40153 32-bit.
40154
48b67d71
AS
401552011-09-14 Andreas Schwab <schwab@redhat.com>
40156
40157 * elf/rtld.c (dl_main): Also relocate in dependency order when
40158 doing symbol dependency testing.
40159
1ae12c75
AS
401602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40161
40162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40163 Always define `refsym'.
40164
995a80df
AS
401652011-09-13 Andreas Schwab <schwab@redhat.com>
40166
e529793b
AS
40167 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40168 (__FD_ELT): Renamed from __FDELT.
40169 * misc/bits/select2.h (__FD_ELT): Likewise.
40170 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40171 __FD_MASK instead of __FDELT, __FDMASK.
40172 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40173 Likewise.
40174 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40175 Likewise.
40176
52d4fef8
AS
40177 * elf/Makefile (gen-ldd): Fix pattern.
40178
995a80df
AS
40179 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40180 (init_tls): Likewise.
40181
8682f8b0
UD
401822011-09-12 Ulrich Drepper <drepper@gmail.com>
40183
40184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40185
de82006d
AS
401862011-09-12 Andreas Schwab <schwab@redhat.com>
40187
a7c8e6a1
AS
40188 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40189 `struct cmsghdr *' instead of `void *'.
40190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40191 Likewise.
40192
0f31fe77
AS
401932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40194
40195 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40196 if non-absolute.
40197 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40198 ldd_rewrite_script.
0f31fe77 40199
32b4c839
UD
402002011-09-11 Ulrich Drepper <drepper@gmail.com>
40201
83cd1420
UD
40202 * configure.in: Remove --with-tls option.
40203 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40204 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40205 out in case it is missing.
40206 * sysdeps/ia64/elf/configure.in: Likewise.
40207 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40208 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40209 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40210 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40211 * sysdeps/sh/elf/configure.in: Likewise.
40212 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40213 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40214 * sysdeps/x86_64/elf/configure.in: Likewise.
40215 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40216 * sysdeps/mach/hurd/tls.h: Likewise.
40217
633f745d
UD
40218 [BZ #13067]
40219 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40220
f318beb8
UD
40221 [BZ #13090]
40222 * configure.in: Fix use of AC_INIT.
40223
32b4c839
UD
40224 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40225
3ce1f295
UD
402262011-09-10 Ulrich Drepper <drepper@gmail.com>
40227
bb016596
UD
40228 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40229 __set_errno.
8e58439c
UD
40230 * malloc/hooks.c: Likewise.
40231
aebae053 40232 [BZ #11929]
02d46fc4
UD
40233 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40234 variables statically.
40235 (narenas): Initialize.
40236 (list_lock): Initialize.
bb016596
UD
40237 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40238 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40239 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40240 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40241 Add initializers to main_arena and mp_.
40242 (malloc_state): Remove pagesize member. Change all users to use
40243 GLRO(dl_pagesize).
40244
40245 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40246 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40247 is always initialized.
40248
22a89187
UD
40249 * malloc/malloc.c: Removed unused configurations and dead code.
40250 * malloc/arena.c: Likewise.
40251 * malloc/hooks.c: Likewise.
02d46fc4 40252 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40253
d063d164
UD
40254 * include/tls.h: Removed. USE___THREAD must always be defined.
40255 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40256 * elf/dl-libc.c: Likewise.
40257 * elf/dl-tsd.c: Likewise.
40258 * include/errno.h: Likewise.
40259 * include/netdb.h: Likewise.
40260 * include/resolv.h: Likewise.
40261 * inet/herrno-loc.c: Likewise.
40262 * inet/herrno.c: Likewise.
40263 * malloc/arena.c: Likewise.
40264 * malloc/hooks.c: Likewise.
40265 * malloc/malloc.c: Likewise.
40266 * resolv/res-state.c: Likewise.
40267 * resolv/res_libc.c: Likewise.
40268 * sysdeps/i386/dl-machine.h: Likewise.
40269 * sysdeps/ia64/dl-machine.h: Likewise.
40270 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40271 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40272 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40273 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40274 * sysdeps/sh/dl-machine.h: Likewise.
40275 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40276 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40277 * sysdeps/unix/i386/sysdep.S: Likewise.
40278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40279 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40284 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40288 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40289 * sysdeps/x86_64/dl-machine.h: Likewise.
40290 * tls.make.c: Likewise.
40291
3ce1f295
UD
40292 * configure.in: Remove --with-__thread option. Make tests for
40293 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40294 tls_model attribute fail if no support is available. Remove
40295 USE_IN_LIBIO.
40296 * Makeconfig: Adjust for dropped configure option. All features are
40297 now mandatory.
40298 * Makerules: Likewise.
40299 * Versions.def: Likewise.
40300 * argp/argp-fmtstream.c: Likewise.
40301 * argp/argp-fmtstream.h: Likewise.
40302 * argp/argp-help.c: Likewise.
40303 * assert/assert.c: Likewise.
40304 * config.h.in: Likewise.
40305 * config.make.in: Likewise.
40306 * configure: Likewise.
40307 * configure.in: Likewise.
40308 * csu/Versions: Likewise.
40309 * csu/init.c: Likewise.
40310 * elf/tst-audit2.c: Likewise.
40311 * elf/tst-tls10.c: Likewise.
40312 * elf/tst-tls10.h: Likewise.
40313 * elf/tst-tls11.c: Likewise.
40314 * elf/tst-tls12.c: Likewise.
40315 * elf/tst-tls14.c: Likewise.
40316 * elf/tst-tlsmod11.c: Likewise.
40317 * elf/tst-tlsmod12.c: Likewise.
40318 * elf/tst-tlsmod13.c: Likewise.
40319 * elf/tst-tlsmod13a.c: Likewise.
40320 * elf/tst-tlsmod14a.c: Likewise.
40321 * elf/tst-tlsmod15b.c: Likewise.
40322 * elf/tst-tlsmod16a.c: Likewise.
40323 * elf/tst-tlsmod16b.c: Likewise.
40324 * elf/tst-tlsmod7.c: Likewise.
40325 * elf/tst-tlsmod8.c: Likewise.
40326 * elf/tst-tlsmod9.c: Likewise.
40327 * gmon/gmon.c: Likewise.
40328 * grp/fgetgrent_r.c: Likewise.
40329 * grp/putgrent.c: Likewise.
40330 * hurd/fopenport.c: Likewise.
40331 * include/libc-symbols.h: Likewise.
40332 * include/tls.h: Likewise.
40333 * intl/gettextP.h: Likewise.
40334 * intl/loadinfo.h: Likewise.
40335 * locale/global-locale.c: Likewise.
40336 * locale/localeinfo.h: Likewise.
40337 * mach/devstream.c: Likewise.
40338 * malloc/arena.c: Likewise.
40339 * malloc/set-freeres.c: Likewise.
40340 * misc/err.c: Likewise.
40341 * misc/getttyent.c: Likewise.
40342 * misc/mntent_r.c: Likewise.
40343 * posix/getopt.c: Likewise.
40344 * posix/wordexp.c: Likewise.
40345 * pwd/fgetpwent_r.c: Likewise.
40346 * resolv/Versions: Likewise.
40347 * resolv/res_hconf.c: Likewise.
40348 * shadow/fgetspent_r.c: Likewise.
40349 * shadow/putspent.c: Likewise.
40350 * stdio-common/printf_fphex.c: Likewise.
40351 * stdio-common/tmpfile.c: Likewise.
40352 * stdlib/abort.c: Likewise.
40353 * stdlib/fmtmsg.c: Likewise.
40354 * sunrpc/auth_unix.c: Likewise.
40355 * sunrpc/clnt_perr.c: Likewise.
40356 * sunrpc/clnt_tcp.c: Likewise.
40357 * sunrpc/clnt_udp.c: Likewise.
40358 * sunrpc/clnt_unix.c: Likewise.
40359 * sunrpc/openchild.c: Likewise.
40360 * sunrpc/svc_simple.c: Likewise.
40361 * sunrpc/svc_tcp.c: Likewise.
40362 * sunrpc/svc_udp.c: Likewise.
40363 * sunrpc/svc_unix.c: Likewise.
40364 * sunrpc/xdr.c: Likewise.
40365 * sunrpc/xdr_array.c: Likewise.
40366 * sunrpc/xdr_rec.c: Likewise.
40367 * sunrpc/xdr_ref.c: Likewise.
40368 * sunrpc/xdr_stdio.c: Likewise.
40369
1248c1c4
PB
403702011-09-09 Ulrich Drepper <drepper@gmail.com>
40371
40372 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40373
403742011-07-03 Andreas Jaeger <aj@suse.de>
40375
40376 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40377 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40378 regenerate with gen-libm-tests.pl.
40379
403802010-05-12 Petr Baudis <pasky@suse.cz>
40381
40382 [BZ #11589]
40383 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40384 around j0() zero points by switching to j1().
40385 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40389
f22e1074
UD
403902011-09-09 Ulrich Drepper <drepper@gmail.com>
40391
f19009c1
UD
40392 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40393 instead of 0.
40394 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40395 instead of 0.
f19009c1
UD
40396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40397 Patch in part by Pavel Roskin <proski@gnu.org>.
40398
3f8cc204
UD
40399 [BZ #13138]
40400 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40401 realloc.
40402 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40403 Free memory block if necessary.
40404
f22e1074
UD
40405 [BZ #12847]
40406 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40407 be NULL. Don't lock in this case.
40408
0a2349f9
RM
404092011-09-09 Roland McGrath <roland@hack.frob.com>
40410
40411 * elf/elf.h (ELFOSABI_GNU): New macro.
40412 (ELFOSABI_LINUX): Define to that.
40413
f3cdd467
DZ
404142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40415
40416 * string/strncat.c (strncat): Undef the symbol in case it has been
40417 defined in bits/string.h.
40418
74718d13
UD
404192011-09-09 Ulrich Drepper <drepper@gmail.com>
40420
633e9e0f
UD
40421 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40422
0a2349f9 40423 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40424 link map.
40425
f9924780
AJ
404262011-08-17 Andreas Jaeger <aj@suse.de>
40427
40428 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40429
7f5517aa
PP
404302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40431 Ian Lance Taylor <iant@google.com>
40432
40433 * math/libm-test.inc (lround_test): New testcase.
40434 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40435
762011fe
UD
404362011-09-08 Ulrich Drepper <drepper@gmail.com>
40437
92963737
UD
40438 * Makefile: Remove support for automatic cvs check-ins.
40439 * Makerules: Likewise.
40440 * config.make.in: Likewise.
40441 * configure.in: Likewise.
40442 * intl/Makefile: Likewise.
40443 * locale/Makefile: Likewise.
40444 * po/Makefile: Likewise.
40445 * posix/Makefile: Likewise.
40446 * sysdeps/gnu/Makefile: Likewise.
40447 * sysdeps/mach/hurd/Makefile: Likewise.
40448 * sysdeps/sparc/sparc32/Makefile: Likewise.
40449
b0727fd8
JS
40450 [BZ #13118]
40451 * posix/Makefile (bug-regex32-ENV): Define.
40452 Patch by John Stanley <jpsinthemix@verizon.net>.
40453
a0f33f99
UD
40454 * misc/Makefile (headers): Add bits/select2.h.
40455 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40456 * misc/bits/select2.h: New file.
40457 * include/bits/select2.h: New file.
40458 * debug/Makefile (routines): Add fdelt_chk.
40459 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40460 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40461 FD_ISSET.
40462 * debug/fdelt_chk.c: New file.
40463
762011fe
UD
40464 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40465 * wcsmbs/test-wmemcmp.c: Likewise.
40466 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40467 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40468
404692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40470
40471 * string/Makefile (strop-tests): Add memcmp.
40472 * string/test-wmemcmp.c: New file.
40473 * string/test-memcmp.c: Add wmemcmp support.
40474
7f513ec8
RM
404752011-09-08 Roland McGrath <roland@hack.frob.com>
40476
0442afb4
RM
40477 [BZ #13153]
40478 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40479 2011-07-19 change.
40480
7f513ec8
RM
40481 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40482 garbage value in a __mach_port_mod_refs call in the cases of the
40483 task-self and thread-self ports.
40484
a12b2239
ST
404852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40486
40487 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40488
610f9ab4
AS
404892011-09-08 Andreas Schwab <schwab@redhat.com>
40490
7f513ec8 40491 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40492
48882a1a
LD
404932011-09-07 Ulrich Drepper <drepper@gmail.com>
40494
b49865be
UD
40495 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40496
fdc86bc9
UD
40497 * elf/dl-libc.c (dlerror_run): Pass back error code from
40498 dl_catch_error.
40499
c966526a
UD
40500 [BZ #13123]
40501 * elf/dl-load.c (lose): Free l_origin if it is valid.
40502
48882a1a
LD
40503 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40504 names.
40505 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40506 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40508 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40509 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40510 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40511
77a2a8b4
AZ
405122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40513
40514 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40515 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40516 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40517 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40518 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40519 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40520 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40521 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40522 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40523 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40524
24f579d8
AM
405252011-08-15 Alan Modra <amodra@gmail.com>
40526
40527 [BZ #13092]
40528 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40529 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40530 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40531 ppc_mcount to static-only-routines.
40532 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40533 __mcount_internal.
40534 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40535 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40536
3d4837df
UD
405372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40538
40539 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40540 for finite and infinity parameters.
40541
22700377
WS
405422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40543
40544 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40545 and add nop instructions for throughput optimization.
40546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40547
5025581e
WS
405482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40549
40550 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40551 aligned copy for power7 with vector-scalar instructions.
40552 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40553
08a300c9
L
405542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40555
40556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40557 AVX check.
40558
59178ef9
AS
405592011-09-07 Andreas Schwab <schwab@redhat.com>
40560
40561 [BZ #13144]
40562 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40563 last change.
40564
e38ba7ab
UD
405652011-09-07 Ulrich Drepper <drepper@gmail.com>
40566
40567 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40568 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40569 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40570 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40571 clock_gettime.
40572
d53a73ac
UD
405732011-09-06 Ulrich Drepper <drepper@gmail.com>
40574
fc8bffcc
UD
40575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40576 Forgot to demangle the pointer.
40577
ceaa0c5d
UD
40578 * sysdeps/i386/sysdep.h: Define atom_text_section.
40579 * sysdeps/x86_64/sysdep.h: Likewise.
40580 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40581 section with atom_text_section.
40582 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40584 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40585 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40586 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40587
a77d3c17
UD
40588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40589 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40590 already be defined. Change to take two parameters and don't assign
40591 result to variable. Adjust all users.
40592 Define INTERNAL_GETTIME if not already defined.
40593 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40594 call.
40595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40596 HAVE_CLOCK_GETTIME_VSYSCALL.
40597 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40598
d53a73ac
UD
40599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40600 gettimeofday vsyscall, just use time.
40601
a8f84144
AS
406022011-09-06 Andreas Schwab <schwab@redhat.com>
40603
40604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40605 <errno.h>.
40606
ef606249
UD
406072011-09-06 Ulrich Drepper <drepper@gmail.com>
40608
40609 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40610 syscall on x86-64.
40611 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40612 syscall.
40613 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40614 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40615 syscall if possible.
40616
6585cb60
UD
406172011-09-05 Ulrich Drepper <drepper@gmail.com>
40618
40619 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40620 e_ident. Don't pass to find_mapsXX.
40621 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40622
a5f524e4
LD
406232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40624
40625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40626 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40627 * sysdeps/x86_64/multiarch/strchr.S: Update.
40628 Check bit_slow_BSF bit.
40629 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40630 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40632
554881ef
UD
406332011-09-05 Ulrich Drepper <drepper@gmail.com>
40634
d96de963
UD
40635 [BZ #13134]
40636 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40637 before glibc 2.15.
40638 (tryshell): Define.
40639 (__spawni): Change last parameter to be flag. Test
40640 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40641 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40642 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40643 * posix/spawni.c: Likewise.
40644 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40645 * posix/spawnp.c: Likewise. Change normal version to use
40646 SPAWN_XFLAGS_USE_PATH.
40647 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40648 SPAWN_XFLAGS_TRY_SHELL.
40649
d48e5868
UD
40650 [BZ #13150]
40651 * posix/glob.h: Remove gcc 1.x support.
40652
554881ef
UD
40653 [BZ #13068]
40654 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40655
693fb948
LD
406562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40657
40658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40659 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40660 strrchr-sse2-bsf
40661 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40662 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40663 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40664 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40665 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40666 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40667
1b48c537
UD
406682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40669
49d42c37
UD
40670 * sysdeps/x86_64/wcscmp.S: New file.
40671
1b48c537
UD
40672 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40673 wcscmp-c wcscmp-sse2
40674 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40675 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40676 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40677 * wcsmbs/wcscmp.c: Allow renaming.
40678
15c95c5d
DM
406792011-09-05 David S. Miller <davem@davemloft.net>
40680
40681 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40682 stack slot, rather than the struct return pointer slot.
40683 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40684 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40686 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40687
2f0ad8f3
UD
406882011-09-05 Ulrich Drepper <drepper@gmail.com>
40689
d88ae418
UD
40690 * po/ja.po: Update from translation team.
40691
2f0ad8f3
UD
40692 [BZ #13144]
40693 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40694 kernel in 64-bit binaries.
40695
5f4318d1
DM
406962011-09-01 David S. Miller <davem@davemloft.net>
40697
40698 * elf/elf.h (HWCAP_SPARC_*): Move to..
40699 * sysdeps/sparc/sysdep.h: this new file and add new values.
40700 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40701 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40702 _DL_HWCAP_COUNT to 24.
40703 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40704 entries.
40705 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40706 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40707 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40709 instead of magic constants.
40710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40711
3ba57516
DM
407122011-08-31 David S. Miller <davem@davemloft.net>
40713
40714 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40716 Reimplement to do errno handling inline.
40717 (SYSCALL_ERROR_HANDLER): New macro.
40718 (__SYSCALL_STRING): Do not do errno handling in asm.
40719 (__CLONE_SYSCALL_STRING): Delete.
40720 (__INTERNAL_SYSCALL_STRING): Delete.
40721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40722 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40723 (PSEUDO): Reimplement to do errno handling inline.
40724 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40725 (SYSCALL_ERROR_HANDLER): New macro.
40726 (__SYSCALL_STRING): Do not do errno handling in asm.
40727 (__CLONE_SYSCALL_STRING): Delete.
40728 (__INTERNAL_SYSCALL_STRING): Delete.
40729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40730 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40731 i386.
40732 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40733 (inline_syscall*): Add 'err' argument.
40734 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40735 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40736 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40737 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40738
40739 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40740 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40741
2bc17433
AS
407422011-08-30 Andreas Schwab <schwab@redhat.com>
40743
40744 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40745
fbeb5f4d
JO
407462011-08-29 Jiri Olsa <jolsa@redhat.com>
40747
40748 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40749 directive.
40750
ad69cc26
DM
407512011-08-24 David S. Miller <davem@davemloft.net>
40752
40753 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40754
39dd69df
AS
407552011-08-24 Andreas Schwab <schwab@redhat.com>
40756
40757 * elf/Makefile: Add rules to build and run unload8 test.
40758 * elf/unload8.c: New file.
40759 * elf/unload8mod1.c: New file.
40760 * elf/unload8mod1x.c: New file.
40761 * elf/unload8mod2.c: New file.
40762 * elf/unload8mod3.c: New file.
40763
40764 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40765 it wasn't used.
40766
2c0b250a
DM
407672011-08-23 David S. Miller <davem@davemloft.net>
40768
40769 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40770 subtract stack bias.
40771 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40772 %sp not %fp in calculations.
40773 (_JMPBUF_UNWINDS_ADJ): Likewise.
40774
22044b48
DM
40775 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40776 (aio_suspend): Call it to force an exception region around the
40777 AIO_MISC_WAIT() invocation.
40778
2cae4995
AS
407792011-08-23 Andreas Schwab <schwab@redhat.com>
40780
40781 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40782 backslash.
40783
873a772e
AJ
407842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40785
40786 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40787 protection macro.
40788 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40789 and <dl-machine.h>.
40790 (Elf64_FuncDesc): Remove.
40791
25ad0df1
DM
407922011-08-22 David S. Miller <davem@davemloft.net>
40793
40794 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40795 sigaltstack check, add missing cfi directives.
40796 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40797 missing cfi directives, and sigaltstack handling.
40798
e888bcbe
AS
407992011-08-16 Andreas Schwab <schwab@redhat.com>
40800
40801 [BZ #11724]
40802 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40803 object is seen twice.
40804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40805
40806 * elf/Makefile (distribute): Add tst-initorder2.c.
40807 (tests): Add tst-initorder2.
40808 (modules-names): Add tst-initorder2a tst-initorder2b
40809 tst-initorder2c tst-initorder2d. Add rules to build them.
40810 ($(objpfx)tst-initorder2.out): New rule.
40811 * elf/tst-initorder2.c: New file.
40812 * elf/tst-initorder2.exp: New file.
40813
87162f46
AS
408142011-08-22 Andreas Schwab <schwab@redhat.com>
40815
70538b7f
AS
40816 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40817
f55ffe58
AS
40818 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40819 dependencies back to end of function.
40820
87162f46
AS
40821 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40822 $(elfobjdir)/ld.so.
40823
91b392a4
UD
408242011-08-21 Ulrich Drepper <drepper@gmail.com>
40825
40826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40827 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40829 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40830 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40831 of __vdso_gettimeofday.
40832 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40833 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40834 attribute_hidden.
40835 (_libc_vdso_platform_setup): Remove initialization of
40836 __vdso_gettimeofday and __vdso_time.
40837
5c43483f
UD
408382011-08-20 Ulrich Drepper <drepper@gmail.com>
40839
775a77e7
UD
40840 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40841 and fgetc_unlocked.
40842 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40843 getc_unlocked.
89f447ed 40844
49c74ba9
UD
40845 * elf/dl-open.c (add_to_global): Report additions to the global scope
40846 for LD_DEBUG=scopes.
40847 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40848 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40849
5c43483f
UD
40850 [BZ #13114]
40851 * stdio-common/Makefile (tests): Add bug24.
40852 * stdio-common/bug24.c: New file.
40853
a101b025
AJ
408542011-08-19 Andreas Jaeger <aj@suse.de>
40855
40856 [BZ #13114]
40857 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40858 non-existant file when using close-on-exec mode.
40859
c88f1766
UD
408602011-08-20 Ulrich Drepper <drepper@gmail.com>
40861
0276a718
UD
40862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40863 the very first instruction.
40864
c88f1766
UD
40865 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40866 the CFI state in the end.
40867 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40868 inclusion of dl-trampoline.h.
40869 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40870
51ccffa0
AS
408712011-08-19 Andreas Schwab <schwab@redhat.com>
40872
94d7165f
AS
40873 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40874 expectations for long double.
40875
51ccffa0
AS
40876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40877 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40878
fd708658 408792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40880
40881 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40882 artificual limit depends upon the system page size.
40883
44f0a71e
UD
408842011-08-17 Ulrich Drepper <drepper@gmail.com>
40885
40886 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40887 * resolv/Makefile: Define CFLAGS-libresolv.
40888
8de79a24
AS
408892011-08-17 Andreas Schwab <schwab@redhat.com>
40890
40891 * nss/makedb.c (compute_tables): Make variables used in nested
40892 function static.
40893
27724598
UD
408942011-08-17 Ulrich Drepper <drepper@gmail.com>
40895
c5305d88
UD
40896 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40897 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40898 if buffer was too small.
40899
27724598
UD
40900 * elf/pldd.c (main): Attach to all threads in the process.
40901 Rewrite /proc handling to use *at functions.
40902
076fe015
UD
409032011-08-16 Ulrich Drepper <drepper@gmail.com>
40904
174baab3
UD
40905 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40906 specifies first scope to show.
40907 (dl_open_worker): Update callers. Move printing scope of new
40908 object to before the relocation.
44f0a71e 40909 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40910 * sysdeps/generic/ldsodefs.h: Update declaration.
40911
076fe015
UD
40912 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40913 string for the scope number.
40914
a60df2c3
UD
409152011-08-14 Ulrich Drepper <drepper@gmail.com>
40916
40917 * nscd/servicescache.c (cache_addserv): Make sure written is always
40918 initialized.
40919
5e4287d1
RM
409202011-08-14 Roland McGrath <roland@hack.frob.com>
40921
85ae0589
RM
40922 * sysdeps/i386/i486/bits/atomic.h
40923 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40924 statement expression, so as to suppress "set but not used" warning.
40925 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40926
69f63097
RM
40927 * string/strncat.c (STRNCAT): Use prototype definition.
40928
675456ef
RM
40929 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40930 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40931 -Iprograms here.
40932 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40933 (localedef-modules): Add localedef.
40934 (locale-modules): Add locale.
40935
5e4287d1
RM
40936 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40937 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40938 to avoid a warning.
40939
9c96ff23
DM
409402011-08-14 David S. Miller <davem@davemloft.net>
40941
40942 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40943 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40944
f9ddf089
UD
409452011-08-13 Ulrich Drepper <drepper@gmail.com>
40946
44f0a71e 40947 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40948 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40949 * elf/rtld.c (dl_main): Set l_name of vDSO.
40950 Call _dl_show_scope when DL_DEBUG_SCOPES.
40951 (process_dl_debug): Recognize scopes flag and also set it for all.
40952 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40953 Declare _dl_show_scope.
40954
1dc27704
UD
40955 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40956 (do_dlopen): Pass caller_dlopen to dl_open.
40957 (__libc_dlopen_mode): Initialize caller_dlopen.
40958
f9ddf089
UD
40959 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40960 of libc. Make tolower call locale-independent. Optimize a bit by
40961 using isdigit instead of isalnum.
40962 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40963
9ac533d3
UD
409642011-08-12 Ulrich Drepper <drepper@gmail.com>
40965
40966 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40967 was a dependency or dynamically loaded.
40968
89edf2e9
UD
409692011-08-11 Ulrich Drepper <drepper@gmail.com>
40970
8e999d29
UD
40971 * intl/l10nflist.c: Allow architecture-specific pop function.
40972 * sysdeps/x86_64/l10nflist.c: New file.
40973
89edf2e9
UD
40974 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40975 classification.
40976
14d96785
AS
409772011-08-10 Andreas Schwab <schwab@redhat.com>
40978
40979 * include/dirent.h: Add libc_hidden_proto for scandirat and
40980 scandirat64. Don't declare __scandirat64.
40981 * dirent/scandirat.c: Add libc_hidden_def.
40982 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40983 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40984
6761ac04
DM
409852011-08-10 David S. Miller <davem@davemloft.net>
40986
40987 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40988 enum.
40989 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40991 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40992
c55fbd1e
UD
409932011-08-09 Ulrich Drepper <drepper@gmail.com>
40994
40995 * Versions.def [libc]: Add GLIBC_2.15.
40996 * dirent/Makefile (routines): Add scandirat and scandirat64.
40997 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40998 GLIBC_2.15.
40999 * dirent/dirent.h: Declare scandirat and scandirat64.
41000 * dirent/scandirat.c: New file.
41001 * dirent/scandirat64.c: New file.
41002 * sysdeps/wordsize-64/scandirat.c: New file.
41003 * sysdeps/wordsize-64/scandirat64.c: New file.
41004 * dirent/opendir.c: Define opendirat.
41005 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41006 using scandirat.
41007 * dirent/scandir64.c: Adjust for scandir.c change.
41008 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41009 __scandirat64, and __scandir_cancel_handler.
41010 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41011 additional parameter and use openat instead of open (outside of ld.so).
41012 Add new __opendir as wrapper around __opendirat.
41013 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41014 here without requiring old scandirat implementation.
41015
879165f2
UD
410162011-08-08 Ulrich Drepper <drepper@gmail.com>
41017
41018 * dirent/scandir.c (cancel_handler): Renamed to
41019 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41020 defined. Adjust users.
41021 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41022 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41023
cb7e923b
UD
410242011-08-04 Ulrich Drepper <drepper@gmail.com>
41025
16292edd
UD
41026 * string/test-string.h (IMPL): Use __STRING to expand name and then
41027 stringify it.
41028
cb7e923b
UD
41029 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41030 of cleanups.
41031
cff82933
LD
410322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41033
41034 * string/Makefile: Update.
41035 (strop-tests): Append strncat.
41036 * string/test-wcscmp.c: New file.
41037 New comprehensive test for wcscmp.
41038 * string/test-strcmp.c: Update.
41039 (WIDE): New define.
41040
9be9bfcc
AS
410412011-07-22 Andreas Schwab <schwab@redhat.com>
41042
41043 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41044 line.
41045
2e96f1c7
AS
410462011-07-26 Andreas Schwab <schwab@redhat.com>
41047
41048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41049 encoding to ACE if AI_IDN.
41050
85188888
JJ
410512011-08-01 Jakub Jelinek <jakub@redhat.com>
41052
41053 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41054 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41055
5fa16e9b
LD
410562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41057
41058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41059 Fix overflow bug in strncat.
41060 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41061
41062 * string/test-strncat.c: Update.
41063 Add new tests for checking overflow bugs.
41064
410652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41066
41067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41068 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41069 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41070 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41072 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41073 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41074 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41075 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41076
41077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41078 (USE_AS_STRCAT): Define.
41079 Add strcat and strncat support.
41080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41081
8c1a459f
AS
410822011-07-25 Andreas Schwab <schwab@redhat.com>
41083
41084 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41085 __n bigger than INT_MAX+1.
41086 (__strncmp_g): Likewise.
41087
bba33c28
UD
410882011-07-23 Ulrich Drepper <drepper@gmail.com>
41089
798be72d
UD
41090 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41091 * libio/stido.h: Likewise.
41092
8accd4dc
UD
41093 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41094 (AF_NFC): Define.
41095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41096 (AF_NFC): Define.
41097
cbff0d96
UD
41098 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41101 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41103
9191c04a
UD
41104 [BZ #13021]
41105 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41106 installed.
41107
bba33c28
UD
41108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41109 typo.
41110 (_dl_x86_64_save_sse): Likewise.
41111
90f139dd
UD
411122011-07-22 Ulrich Drepper <drepper@gmail.com>
41113
1aae088a
UD
41114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41115 OSXSAVE.
41116 (_dl_x86_64_save_sse): Likewise.
41117
8e2045f5
UD
41118 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41119
90f139dd
UD
41120 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41121
1d002f25
AS
411222011-07-21 Andreas Schwab <schwab@redhat.com>
41123
41124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41125 change.
41126 (_dl_x86_64_save_sse): Use correct AVX check.
41127
21137f89
UD
411282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41129
41130 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41131 bug in strncpy/strncat.
41132 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41133
a65c0b7a
UD
411342011-07-21 Ulrich Drepper <drepper@gmail.com>
41135
41136 * string/tester.c (test_strcat): Add tests for different alignments
41137 of source and destination.
41138 (test_strncat): Likewise.
41139
6986b98a
UD
411402011-07-20 Ulrich Drepper <drepper@gmail.com>
41141
90bb2039
UD
41142 [BZ #12852]
41143 * posix/glob.c (glob): Check passed in values before using them in
41144 expressions to avoid some overflows.
41145 (glob_in_dir): Likewise.
41146
5644ef54
UD
41147 [BZ #13007]
41148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41149 check for AVX enablement so that we don't crash with old kernels and
41150 new hardware.
41151 * elf/tst-audit4.c: Add same checks here.
41152 * elf/tst-audit6.c: Likewise.
41153
41154 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41155
bfc9dc9b
AS
411562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41157
41158 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41159
702e64bb
UD
411602011-07-20 Ulrich Drepper <drepper@gmail.com>
41161
41162 * po/cs.po: Update from translation team.
41163 * po/bg.po: Likewise.
41164
295e904f
MP
411652011-07-12 Marek Polacek <mpolacek@redhat.com>
41166
41167 * misc/sys/cdefs.h: Add support for const attribute.
41168 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41169 to gnu_dev_{major,minor,makedev} functions.
41170
3ff94596
MP
411712011-07-20 Marek Polacek <mpolacek@redhat.com>
41172
41173 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41174
28b59fca
AS
411752011-07-20 Andreas Schwab <schwab@redhat.com>
41176
41177 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41178 strlen results.
41179
19df733e
AK
411802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41181
41182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41183 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41184 register in order to avoid conflicts with the soft frame pointer
41185 being held in r11 when necessary.
41186 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41187 (INTERNAL_VSYSCALL_NCS): Likewise.
41188
c8835729
MP
411892011-07-14 Marek Polacek <mpolacek@redhat.com>
41190
41191 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41192 * elf/dl-fini.c (_dl_fini): Adjust caller.
41193 * elf/dl-close.c (_dl_close_worker): Likewise.
41194 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41195
b902330c
MP
411962011-07-15 Marek Polacek <mpolacek@redhat.com>
41197
8991e135
MP
41198 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41199 "aux_cache->nlibs < 0".
41200
b902330c
MP
41201 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41202 in the reload-count case.
41203
99710781
LD
412042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41205
41206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41207 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41208 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41209 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41210 * sysdeps/x86_64/multiarch/strcat.S: New file.
41211 * sysdeps/x86_64/multiarch/strncat.S: New file.
41212 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41214 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41215 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41217 (USE_AS_STRCAT): Define.
41218 Add strcat and strncat support.
41219 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41221 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41222 * string/strncat.c: Update.
41223 (USE_AS_STRNCAT): Define.
41224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41225 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41226 and i7.
41227 * sysdeps/x86_64/multiarch/init-arch.h
41228 (bit_Prefer_PMINUB_for_stringop): New.
41229 (index_Prefer_PMINUB_for_stringop): Likewise.
41230 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41231 bit_Prefer_PMINUB_for_stringop.
41232
7dc6bd90
UD
412332011-07-19 Ulrich Drepper <drepper@gmail.com>
41234
41235 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41236 buffer64.
41237 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41238 of casting of buffer.
41239 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41240 buffer32 and buffer64.
41241 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41242 writes instead of casting of buffer.
41243 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41244 buffer32.
41245 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41246 casting of buffer.
41247
e0e72284
AS
412482011-07-19 Andreas Schwab <schwab@redhat.com>
41249
41250 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41251
feb1eb0b
UD
412522011-07-19 Ulrich Drepper <drepper@gmail.com>
41253
41254 * nscd/nscd.c (termination_handler): Don't do anything for a database
41255 if it has not yet been initialized.
41256
298711ff
UD
412572011-07-18 Ulrich Drepper <drepper@gmail.com>
41258
41259 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41260
412612011-07-15 Marek Polacek <mpolacek@redhat.com>
41262
41263 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41264
f9d68389
UD
412652011-07-18 Ulrich Drepper <drepper@gmail.com>
41266
41267 * po/nl.po: Update from translation team.
41268 * po/sv.po: Likewise.
41269
db290cf5
RM
412702011-07-16 Roland McGrath <roland@hack.frob.com>
41271
41272 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41273 now disallowed by GCC.
5c550700 41274
fd5e21c7
RM
41275 * configure.in (use-default-link): Default to yes if a test -shared
41276 link meets our qualifications.
41277 * configure: Regenerated.
41278
5c550700
RM
41279 * config.make.in (output-format): New variable.
41280 * configure.in: Check for ld --print-output-format support.
41281 * configure: Regenerated.
41282 * Makerules ($(common-objpfx)format.lds)
41283 [$(output-format) != unknown]: Just use $(output-format),
41284 instead of the linker-script munging.
41285
9fa2c032
RM
412862011-07-14 Roland McGrath <roland@hack.frob.com>
41287
a6928d51
RM
41288 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41289 of $(common-objpfx)shlib.lds.
41290 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41291
661607b3
RM
41292 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41293 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41294
9fa2c032
RM
41295 * configure.in (-z relro check): Adjust test code to add a large
41296 writable data section after it.
41297 * configure: Regenerated.
41298
defe9061
RM
412992011-07-11 Roland McGrath <roland@hack.frob.com>
41300
41301 * configure.in (-z relro check): Fix test code to make the variable
41302 truly const.
41303 * configure: Regenerated.
41304
319b9ad4
UD
413052011-07-11 Ulrich Drepper <drepper@gmail.com>
41306
41307 * nscd/nscd.h (struct traced_file): Define.
41308 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41309 elements. Add traced_files.
41310 (inotify_fd): Declare.
41311 (register_traced_file): Declare.
41312 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41313 (inotify_fd): Export.
41314 (resolv_conf_descr): Remove.
41315 (nscd_init): Move inotify descriptor creation to main.
41316 Don't register files for notification here.
41317 (register_traced_file): New function.
41318 (invalidate_cache): Don't use reset_res to determine whether to call
41319 res_init, go through the list of registered files.
41320 (main_loop_poll): The inotify descriptors are now stored in the
41321 structures for the traced files.
41322 (main_loop_epoll): Likewise
41323 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41324 to __nss_disable_nscd.
41325 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41326 for a database anymore. Check the records for all the registered
41327 files instead.
41328 * nss/Makefile (libnss_files-routines): Add files-init.
41329 (libnss_db-routines): Add db-init.
41330 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41331 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41332 * nss/nss_db/db-init.c: New file.
41333 * nss/nss_files/files-init.c: New file.
41334 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41335 __nss_lookup_function.
41336 (__nss_lookup_function): Call nss_load_library.
41337 (nss_load_all_libraries): New function.
41338 (__nss_disable_nscd): Take parameter with callback function for files
41339 to register. Set is_nscd. Load all the DSOs for the NSS modules
41340 used for the cached services.
41341 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41342 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41343 options for features to all the files in nscd.
41344
41345 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41346
23bee3e8
RM
413472011-07-10 Roland McGrath <roland@hack.frob.com>
41348
41349 * csu/elf-init.c (__libc_csu_init): Comment typo.
41350
46a5b7f0
UD
413512011-07-09 Ulrich Drepper <drepper@gmail.com>
41352
41353 * po/pl.po: Update from translation team.
41354 * po/ja.po: Likewise.
41355 * po/ru.po: Likewise.
41356 * po/ko.po: Likewise.
41357 * po/fr.po: Likewise.
41358
d30cf5bb
RM
413592011-07-09 Roland McGrath <roland@hack.frob.com>
41360
113ddea4
RM
41361 * configure.in (.ctors/.dtors header and trailer check):
41362 Use an empirical test on a built program.
41363 * configure: Regenerated.
41364
574920b4
RM
41365 * configure.in (-z relro check): Use an empirical test on a built DSO.
41366 Detect, but do not require, on ia64.
41367 * configure: Regenerated.
41368
d30cf5bb
RM
41369 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41370 Update tests that use readelf to use $READELF instead.
41371 * configure: Regenerated.
41372
8538fdb3
UD
413732011-07-08 Ulrich Drepper <drepper@gmail.com>
41374
41375 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41376 if the result is not used.
41377
04d08991
AJ
413782011-07-05 Andreas Jaeger <aj@suse.de>
41379
41380 [BZ#9696]
41381 * stdlib/tst-strtod.c: Add testcase.
41382
de283087
AD
413832011-07-07 Ulrich Drepper <drepper@gmail.com>
41384
4e5f31c8 41385 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41386 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41387 The latter has a higher limit. Take additional parameter to pass to
41388 the new function.
41389 (__pathconf): Pass file to __statfs_link_max.
41390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41391 __statfs_link_max.
41392 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41393 __statfs_link_max.
41394
de283087
AD
41395 [BZ #12868]
41396 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41397 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41398 Handle Lustre.
41399 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41400 (__statfs_filesize_max): Likewise.
41401 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41402
c75fa153
AJ
414032011-07-05 Andreas Jaeger <aj@suse.de>
41404
41405 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41406
1a544854
UD
414072011-07-06 Marek Polacek <mpolacek@redhat.com>
41408
41409 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41410 `status' variable.
41411 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41412 Likewise.
41413
6f0eec67
UD
414142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 * Makefile (strop-tests): Add strncat.
41417 * string/test-strncat.c: New file.
41418
aae30307
UD
414192011-06-30 Marek Polacek <mpolacek@redhat.com>
41420
41421 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41422
c0cfb5eb
UD
414232011-06-21 Andreas Jaeger <aj@suse.de>
41424
41425 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41426 Copy rule from iconvdata/Makefile.
41427
01636b21
UD
414282011-07-06 Ulrich Drepper <drepper@gmail.com>
41429
41430 [BZ #12922]
41431 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41432 but no long options are defined, just return 'W'.
41433
9895c8bc
UD
414342011-06-22 Marek Polacek <mpolacek@redhat.com>
41435
41436 [BZ #9696]
41437 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41438
5d4cf042
UD
414392011-07-06 Ulrich Drepper <drepper@gmail.com>
41440
41441 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41442 netgroups to read.
960e5535 41443 (innetgr): Likewise.
5d4cf042 41444
751eb97e
RM
414452011-07-05 Roland McGrath <roland@hack.frob.com>
41446
41447 * config.make.in (install_root): Default to $(DESTDIR).
41448
f15f1e45
UD
414492011-07-05 Ulrich Drepper <drepper@gmail.com>
41450
41451 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41452
4e34ac6a
RM
414532011-07-02 Roland McGrath <roland@hack.frob.com>
41454
5e9b6af4
RM
41455 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41456
84f9ea0f
RM
41457 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41458 containing directory rather than embedding absolute directory names.
41459
ea5ee9f7
RM
41460 * scripts/check-local-headers.sh: Rewritten using awk.
41461 Match by word, not by line. Print error messages for matches.
41462 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41463
1b74661a
RM
41464 * Makerules [shlib-lds-flags empty]:
41465 ($(common-objpfx)libc_pic.opts): New target.
41466 ($(common-objpfx)libc_pic.os.clean): New target.
41467 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41468
41469 * config.make.in (OBJCOPY): New variable.
41470 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41471 * configure: Regenerated.
41472
f781ef40
RM
41473 * config.make.in (use-default-link): New variable.
41474 * configure.in (use_default_link): Grok --with-default-link to set it.
41475 * configure: Regenerated.
41476 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41477 (shlib-lds, shlib-lds-flags): Define to empty.
41478
2d4fa81e
RM
41479 * Makerules (shlib-lds): New variable.
41480 (shlib-lds-flags): New variable.
41481 (build-shlib, build-moduile, build-module-asneeded): Use it.
41482 ($(common-objpfx)libc.so): Use $(shlib-lds).
41483 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41484 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41485
31fffa6b
RM
41486 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41487 DT_FLAGS/DT_FLAGS_1 with zero flags.
41488
4e34ac6a
RM
41489 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41490 linker script munging.
41491
fcfc776b
UD
414922011-07-02 Ulrich Drepper <drepper@gmail.com>
41493
41494 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41495 as 128-bit value.
41496 * crypt/sha512.c (sha512_process_block): Perform total addition using
41497 128-bit if possible.
41498 (__sha512_finish_ctx): Likewise.
41499 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41500 as 64-bit value.
41501 * crypt/sha256.c (SWAP64): Define.
41502 (sha256_process_block): Perform total addition using 64-bit if
41503 possible.
41504 (__sha256_finish_ctx): Likewise.
41505
99231d9a
UD
415062011-07-01 Ulrich Drepper <drepper@gmail.com>
41507
41508 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41509 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41510 * nscd/hstcache.c (cache_addhst): Likewise.
41511 * nscd/grpcache.c (cache_addgr): Likewise.
41512 * nscd/aicache.c (addhstaiX): Likewise
41513 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41514
445b4a53
TK
415152011-07-01 Thorsten Kukuk <kukuk@suse.de>
41516
41517 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41518 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41519 * nscd/hstcache.c (cache_addhst): Likewise.
41520 * nscd/grpcache.c (cache_addgr): Likewise.
41521 * nscd/aicache.c (addhstaiX): Likewise
41522
6d4d8e8e
AS
415232011-07-01 Andreas Schwab <schwab@redhat.com>
41524
41525 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41526 domain only when needed.
41527
89f654c5
AS
415282011-06-30 Andreas Schwab <schwab@redhat.com>
41529
41530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41531 is always restored.
41532
cf3b23ff
UD
415332011-06-29 Ulrich Drepper <drepper@gmail.com>
41534
41535 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41536 are re-adding the entry.
41537 * nscd/servicescache.c (cache_addserv): Likewise.
41538
751626f9
AJ
415392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41540
41541 * sysdeps/generic/dl-irel.h: fix protection against multiple
41542 inclusions.
41543 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41544
9113ea1f
UD
415452011-06-28 Ulrich Drepper <drepper@gmail.com>
41546
5c0b8d90
UD
41547 [BZ #12935]
41548 * malloc/memusage.sh: Fix quoting in message.
41549 * debug/xtrace.sh: Likewise.
41550
9113ea1f
UD
41551 * configure.in: Remove support for --experimental-malloc option, make
41552 it the default.
41553 * config.make.in: Likewise.
41554 * malloc/Makefile: Likewise.
41555
a4172181
AS
415562011-06-27 Andreas Schwab <schwab@redhat.com>
41557
41558 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41559 two-byte characters.
41560
78a7eee7
RM
415612011-06-27 Roland McGrath <roland@hack.frob.com>
41562
62bede13
RM
41563 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41564 AC_CACHE_CHECK invocation.
41565 * configure: Regenerated.
41566
78a7eee7
RM
41567 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41568
5ce33a62
UD
415692011-06-27 Ulrich Drepper <drepper@gmail.com>
41570
034807a9
UD
41571 [BZ #12350]
41572 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41573 bit from old_res_options.
41574
4902da17
UD
41575 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41576
5ce33a62
UD
41577 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41578 value type for setfct.
41579
c2344f56
L
415802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41581
41582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41583 __gettimeofday instead of gettimeofday.
41584
68468076
UD
415852011-06-26 Ulrich Drepper <drepper@gmail.com>
41586
41587 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41588
acb0d739
L
415892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41590
41591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41592
41593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41594 info.
41595
8912479f
L
415962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41597
41598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41599 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41600 strcpy-sse2-unaligned strncpy-sse2-unaligned
41601 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41602 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41603 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41604 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41605 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41606 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41608 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41609 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41610 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41611 (STRCPY): Support SSE2 and SSSE3 versions.
41612
d5495a11
UD
416132011-06-24 Ulrich Drepper <drepper@gmail.com>
41614
41615 [BZ #12874]
41616 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41617 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41618 kernels which artificially limit size of requests.
41619
0b1cbaae
L
416202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41621
41622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41623 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41624 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41625 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41626 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41627 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41628 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41629 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41630 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41631 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41632 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41633 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41634 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41635 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41636 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41638 Enable unaligned load optimization for Intel Core i3, i5 and i7
41639 processors.
41640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41641 Define.
41642 (index_Fast_Unaligned_Load): Define.
41643 (HAS_FAST_UNALIGNED_LOAD): Define.
41644
07f494a0
MP
416452011-06-23 Marek Polacek <mpolacek@redhat.com>
41646
41647 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41648
fa3fc0fe
UD
416492011-06-22 Ulrich Drepper <drepper@gmail.com>
41650
41651 [BZ #12907]
41652 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41653 until it is clear that the information is realy needed.
41654 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41655
e12df166
AS
416562011-06-22 Andreas Schwab <schwab@redhat.com>
41657
41658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41659
852eb34d
UD
416602011-06-22 Ulrich Drepper <drepper@gmail.com>
41661
84e2a551
UD
41662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41663 /sys/devices/system/cpu/online if it is usable.
41664
852eb34d
UD
41665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41666 reading the information from the /proc filesystem to once a second.
41667
6e502e19
UD
416682011-06-21 Andreas Jaeger <aj@suse.de>
41669
41670 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41671 NULL after inclusion of kernel headers.
41672
75d39ff2
UD
416732011-06-21 Ulrich Drepper <drepper@gmail.com>
41674
51f9aa6a
UD
41675 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41676 calls to internal_setent.
41677
c0244a9d
UD
41678 [BZ #12885]
41679 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41680 addresses using gethostbyname4_r ignore IPv4 addresses.
41681
c5e3c2ae
UD
41682 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41683 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41684
75d39ff2
UD
41685 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41686
42675c6f
DM
416872011-06-20 David S. Miller <davem@davemloft.net>
41688
41689 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41690 inclusions.
41691 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41692
41693 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41694 (elf_irel): Use it.
41695 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41696 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41697 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41698 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41699 * sysdeps/x86_64/dl-irel.h: Likewise.
41700
41701 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41702 * elf/dl-sym.c: Likewise.
41703
57912a71
UD
417042011-06-15 Ulrich Drepper <drepper@gmail.com>
41705
41706 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41707 need to dereference resplen2.
41708
ee22793d
AS
417092011-06-14 Andreas Schwab <schwab@redhat.com>
41710
41711 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41712
a9e836b0
UD
417132011-06-15 Ulrich Drepper <drepper@gmail.com>
41714
77fb9117
UD
41715 * Makeconfig: Define vardbdir and inst_vardbdir.
41716 * nss/Makefile: Add rules to install db-Makefile.
41717
40c1b22c
UD
41718 * nss/nss_db/db-XXX.c: Cleanup.
41719
9f2da732
UD
41720 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41721 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41722 GLIBC_PRIVATE.
41723 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41724 * nss/makedb.c: Implement -g option to specify that value strings
41725 are generated and should not be added to table iterated over for
41726 get*ent calls.
41727 * nss/nss_db/db-initgroups.c: New file.
41728
82e9a1f7
UD
41729 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41730 interface.
41731
c41af17e
UD
41732 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41733 (internal_getgrouplist): Adjust to name change.
41734 Update use_initgroups_entry if this is not the first call.
41735 * nss/databases.def: Add initgroups entry.
41736
a9e836b0
UD
41737 * nss/makedb.c (compute_tables): Check result of multiple hash table
41738 sizes to minimize maximum chain length.
41739
2666d441
UD
417402011-06-14 Ulrich Drepper <drepper@gmail.com>
41741
41742 * Versions.def: Add entry for libnss_db.
41743 * shlib-versions: Likewise.
41744 * nss/Makefile: Add rules to build libnss_db.
41745 * nss/Versions: Add libnss_db information. Organize libnss_files
41746 entries better.
41747 * nss/db-Makefile: Add gshadow support. Change rules for the new
41748 makedb progra. Some minor improvements to generate smaller files.
41749 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41750 here from...
41751 * nss/makedb.c: ...here.
41752 Improve database format to be smaller and require less memory at
41753 runtime.
41754 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41755 db anymore.
41756 * nss/nss_db/db-netgrp.c: Likewise.
41757 * nss/nss_db/db-open.c: Likewise.
41758 * nss/nss_files/flies-XXX.x: Adjust comments.
41759 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41760 * nss/nss_files/files-grp.c: Likewise.
41761 * nss/nss_files/files-hosts.c: Likewise.
41762 * nss/nss_files/files-network.c: Likewise.
41763 * nss/nss_files/files-proto.c: Likewise.
41764 * nss/nss_files/files-pwd.c: Likewise.
41765 * nss/nss_files/files-rpc.c: Likewise.
41766 * nss/nss_files/files-service.c: Likewise.
41767 * nss/nss_files/files-sgrp.c: Likewise.
41768 * nss/nss_files/files-spwd.c: Likewise.
41769 * nss/nss_db/db-alias.c: Removed.
41770 * nss/nss_db/dummy-db.h: Removed.
41771
9ee76b5a
UD
417722011-06-02 Ulrich Drepper <drepper@gmail.com>
41773
41774 * nss/makedb.c: Rewritten to not use database library.
41775 * nss/Makefile: Update to build new makedb program.
41776
c71ca1f8
AJ
417772011-06-14 Andreas Jaeger <aj@suse.de>
41778
41779 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41780 memset declaration.
41781
3154bfb8
UD
417822011-06-10 Andreas Schwab <schwab@redhat.com>
41783
41784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41785 tmpbuf.
41786
b350afab
RM
417872011-06-10 Roland McGrath <roland@hack.frob.com>
41788
decd4e50
RM
41789 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41790 * elf/Makefile ($(objpfx)ld.so): Likewise.
41791
5615eaf2
RM
41792 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41793 Don't list ld.so twice in dependencies.
41794
41795 * posix/bug-regex31.c: Include <stdlib.h>.
41796
41797 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41798
41799 * nis/nss_compat/compat-spwd.c
41800 (getspent_next_nss_netgr): Remove unused variable.
41801 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41802
41803 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41804 nonmembers" output to use the right array.
41805
41806 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41807
41808 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41809
41810 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41811 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41812 * catgets/gencat.c (read_input_file): Likewise.
41813 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41814
41815 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41816 variable definition inside #if's controlling its use.
41817
41818 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41819
41820 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41821
41822 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41823
41824 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41825 unreachable code.
41826
41827 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41828
b68e08db
RM
41829 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41830 * configure: Regenerated.
41831
b350afab
RM
41832 * Makerules: Revert last change.
41833 * elf/Makefile: Likewise.
41834
28368601
RM
418352011-06-09 Roland McGrath <roland@hack.frob.com>
41836
41837 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41838 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41839 (reloc-link): Likewise.
41840
11988f8f
UD
418412011-06-09 Ulrich Drepper <drepper@gmail.com>
41842
41843 * elf/Makefile: Add rules to build pldd.
41844 * elf/pldd.c: New file.
41845 * elf/pldd-xx.c: New file.
41846
e80fab37
UD
418472011-06-07 Ulrich Drepper <drepper@gmail.com>
41848
41849 * version.h: Update for 2.15 development version.
41850
9b849836
DM
418512011-06-07 David S. Miller <davem@davemloft.net>
41852
41853 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41854 ifuncs.
41855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41856 elf_machine_lazy_rel): Likewise.
41857 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41859 elf_machine_lazy_rel): Likewise.
41860 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41861 dl_hwcap via passed in argument.
41862 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41863 Likewise.
41864
5a31b283
AK
418652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41866
41867 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41868
069e52f8
RM
418692011-06-06 Roland McGrath <roland@hack.frob.com>
41870
41871 [BZ #12849]
41872 * manual/fdl-1.1.texi: New file, verbatim from:
41873 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41874 * manual/lgpl-2.1.texi: New file, verbatim from:
41875 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41876 * manual/Makefile (licenses): New variable, list those new file names.
41877 (texis): Use it.
41878 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41879
41880 * manual/fdl.texi: File removed.
41881 * manual/lesser.texi: File removed.
41882 * manual/libc.texinfo (Copying, Documentation License):
41883 Use new @include file names, put @appendix directive before @include.
41884
f16846a5
JJ
418852011-06-04 Jakub Jelinek <jakub@redhat.com>
41886
41887 [BZ #12841]
41888 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41889 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41890 (mq_open): Add __NTH.
41891
3d29045b
L
418922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41893
41894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41895 Assume Intel Core i3/i5/i7 processor if AVX is available.
41896
8c297311
UD
418972011-05-31 Ulrich Drepper <drepper@gmail.com>
41898
41899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41900 typo.
41901
c8fc0c91
UD
419022011-05-31 Andreas Schwab <schwab@redhat.com>
41903
41904 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41905 memory. Use alloca_account. Fix memory leak when retrying.
41906
5b27a807
UD
419072011-05-31 Ulrich Drepper <drepper@gmail.com>
41908
356f8bc6
UD
41909 * version.h (RELEASE): Bump for 2.14 release.
41910 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41911
5b27a807
UD
41912 * config.make.in (RANLIB): Remove entry.
41913
01f16ab0
UD
419142011-05-30 Ulrich Drepper <drepper@gmail.com>
41915
41fce8bd
UD
41916 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41917 (libc.pot): Work around missing support for .ksh extension in xgettext.
41918
4769ae77
UD
41919 [BZ #12684]
41920 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41921 if both request failed.
41922 (send_dg): In case of server errors clear resplen or *resplen2.
41923
6b1e7d19
UD
41924 [BZ #12454]
41925 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41926 when there are multiple maps.
41927 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41928 (_dl_fini): Remove test here.
41929
01f16ab0
UD
41930 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41931
b1ebd700
UD
419322011-05-29 Ulrich Drepper <drepper@gmail.com>
41933
7ae22829
UD
41934 [BZ #12350]
41935 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41936 bit from old_res_options.
41937 (gaih_inet): Likewise.
41938
553149f6 41939 [BZ #11099]
18a84741 41940 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41941 as signed.
41942
652ffab1
UD
41943 * resolv/res_init.c (res_setoptions): Make the code more compact.
41944
16985fd0
UD
41945 [BZ #11558]
41946 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41947 set RES_USEVC.
41948
0464f746
UD
41949 [BZ #11634]
41950 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41951
7d17596c
UD
41952 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41953
cf6bbbd7
UD
41954 [BZ #11781]
41955 * malloc/malloc.h: Declare malloc hook variables as volatile.
41956
13f1ab36
UD
41957 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41958 in last patch.
41959
b1ebd700
UD
41960 [BZ #11799]
41961 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41962 raise in the comment.
80e2212d
UD
41963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41965 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41966
ce67228d
UD
419672011-05-28 Ulrich Drepper <drepper@gmail.com>
41968
8887a920
UD
41969 [BZ #12811]
41970 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41971 grow the buffers more if it already has to be sufficient.
41972 (build_wcs_upper_buffer): Likewise.
41973 * posix/regexec.c (check_matching): Likewise.
41974 (clean_state_log_if_needed): Likewise.
41975 (extend_buffers): Don't enlarge buffers beyond size of the input
41976 buffer.
41977 Patches mostly by Emil Wojak <emil@wojak.eu>.
41978 * posix/bug-regex32.c: New file.
41979 * posix/Makefile (tests): Add bug-regex32.
41980
4f031072
UD
41981 * locale/findlocale.c (_nl_find_locale): Return right away if
41982 _nl_explode_name failed.
41983 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41984
d0478f0c
UD
41985 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41986
de81b246
UD
41987 * debug/xtrace.sh: Unify messages.
41988 * malloc/memusage.sh: Likewise.
41989
c738465a
UD
41990 [BZ #12813]
41991 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41992 time symbol from vDSO. Substitute with vsyscall if not available.
41993 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41994 __vdso_time.
41995
f1f929d7
UD
41996 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41997 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41998 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41999 Add sendmmsg and internal_sendmmsg.
42000 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42001 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42002 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42003
ce67228d
UD
42004 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42005 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42006 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42007
e57420c6
UD
420082011-05-27 Ulrich Drepper <drepper@gmail.com>
42009
a8509ca5
UD
42010 [BZ #12813]
42011 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42012 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42013 available.
42014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42015 __vdso_getcpu.
42016
e57420c6
UD
42017 [BZ #12814]
42018 * iconvdata/Makefile (tests): Add bug-iconv9.
42019 * iconvdata/bug-iconv9.c: New file.
42020
4d07db15
AS
420212011-05-27 Andreas Schwab <schwab@redhat.com>
42022
42023 [BZ #12814]
42024 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42025
ea486f69
JJ
420262011-05-25 Jakub Jelinek <jakub@redhat.com>
42027
42028 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42029 (struct user_regs_struct): Change intcs field back to cs.
42030
6f038433
UD
420312011-05-25 Ulrich Drepper <drepper@gmail.com>
42032
42033 * po/ja.po: Update from translation team.
42034
67f86a25
UD
420352011-05-23 Ulrich Drepper <drepper@gmail.com>
42036
42037 [BZ #12795]
42038 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42039 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42040
def7fbd6
AS
420412011-05-20 Andreas Schwab <schwab@redhat.com>
42042
42043 * stdlib/longlong.h: Update from GCC.
42044
f50ef8f1
AS
420452011-05-23 Andreas Schwab <schwab@redhat.com>
42046
42047 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42048 parameter name.
42049 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42050 Add parameter name.
42051 (__sysconf): Pass it down.
42052
de7ce8f1
UD
420532011-05-22 Ulrich Drepper <drepper@gmail.com>
42054
f2962a71
UD
42055 [BZ #12671]
42056 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42057 some situations.
42058 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42059 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42060 add in in __libc_use_alloca calls. Adjust callers.
42061 (glob): Use malloc in some situations.
42062
de7ce8f1
UD
42063 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42064 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42065 pltexit.
42066
aec84f53
UD
420672011-05-21 Ulrich Drepper <drepper@gmail.com>
42068
05bb4a68
UD
42069 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42070 and CLOCK_BOOTTIME_ALARM.
42071
7ea72f99
UD
42072 [BZ #12782]
42073 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42074 is returned.
42075
7e4afad5
UD
42076 * string/_strerror.c (__strerror_r): Print negative errors as signed
42077 numbers.
42078
8e211fec
UD
42079 [BZ #12777]
42080 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42081 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42082 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42083
f7d82dc9
UD
42084 * configure.in: Fix typo in redirection and correct removal of test
42085 files in two cases.
42086
cc9e536d
UD
42087 [BZ #12788]
42088 * locale/setlocale.c (new_composite_name): Fix test to check for
42089 identical name of all categories.
42090
aec84f53
UD
42091 [BZ #12792]
42092 * libio/filedoalloc.c (local_isatty): New function.
42093 (_IO_file_doallocate): Use local_isatty.
42094 * stdio-common/perror.c (perror): In case a new stream is used
42095 forward the stream error.
42096 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42097 error flag.
42098
78e64fdc
RT
420992011-05-20 Ulrich Drepper <drepper@gmail.com>
42100
34a9094f
UD
42101 [BZ #11869]
42102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42103 alloca.
42104 * include/alloca.h (extend_alloca_account): Define.
42105
78e64fdc
RT
42106 [BZ #11857]
42107 * posix/regex.h: Fix comments with documentation of user-accessible
42108 fields after compilation and describe correct free'ing of pattern
42109 after re_compile_pattern.
42110 Patch by Reuben Thomas <rrt@sc3d.org>.
42111
457bddfc
RA
421122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42113
42114 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42115 and -mno-altivec to prevent the compiler from using Altivec and/or
42116 VSX instructions when the corresponding registers are not available.
42117
a4527b51
AS
421182011-05-19 Andreas Schwab <schwab@redhat.com>
42119
42120 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42121
ed690b2f
UD
421222011-05-19 Ulrich Drepper <drepper@gmail.com>
42123
42124 * libio/freopen.c (freopen): Use __dup2, not dup2.
42125 * libio/freopen64.c (freopen64): Likewise.
42126
8db73634
L
421272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42128
42129 [BZ #12775]
42130 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42131 * math/Makefile (tests): Add test-powl.
42132 (CFLAGS-test-powl.c): Define.
42133 * math/test-powl.c: New file.
42134
0a197a9d
L
421352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42138
ee30c380
UD
421392011-05-17 Ulrich Drepper <drepper@gmail.com>
42140
42141 [BZ #11837]
42142 * iconvdata/gb18030.c: Update to GB18020-2005.
42143
6ce75379
UD
421442011-05-16 Ulrich Drepper <drepper@gmail.com>
42145
a4b89fd8
AR
42146 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42147 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42148 Patch by Aharon Robbins <arnold@skeeve.com>.
42149
ea389b12
UD
42150 [BZ #11892]
42151 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42152 on the stack.
42153
68a3f91f
UD
42154 [BZ #11895]
42155 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42156 through underflows.
42157
15cc7dd1
UD
42158 [BZ #12766]
42159 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42160 point to strings before performing equality test for error_one_per_line
42161 mode.
42162
f3799213
UD
42163 [BZ #11697]
42164 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42165
d79a9c94
UD
42166 [BZ #11820]
42167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42168 (struct user_fpregs_struct): Avoid __uint*_t types.
42169
56e5eb46
UD
42170 [BZ #6420]
42171 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42172 symbol info. Use it instead of calling _dl_addr locally.
42173 (lock_and_info): New function.
42174 (tr_freehook): Call lock_and_info and pass symbol info as additional
42175 parameter to tr_where.
42176 (tr_mallochook): Likewise.
42177 (tr_reallochook): Likewise.
42178 (tr_memalignhook): Likewise.
42179
6ce75379
UD
42180 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42181 used and couldn't be at all thread-safe.
42182
f8a3b5bf
UD
421832011-05-15 Ulrich Drepper <drepper@gmail.com>
42184
94b7cc37
UD
42185 * libio/freopen.c (freopen): Don't close old file descriptor
42186 before the new one is opened. Instead dup the new file descriptor
42187 to the old one after the new stream is created.
42188 * libio/freopen64.c (freopen64): Likewise.
42189 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42190 * libio/fileops.c (_IO_new_file_close_it): Handle new
42191 _IO_FLAGS2_NOCLOSE flag.
42192 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42193 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42194 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42195 _IO_FLAGS2_NOCLOSE flag.
42196 * include/unistd.h: Add hidden_proto for dup3.
42197 Define __have_dup3.
42198 * io/dup3.c: Define hidden symbol.
42199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42200
bd25564e
UD
42201 [BZ #7101]
42202 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42203 when an incomplete long option is used.
42204 * posix/tst-getopt_long1.c: New file.
42205 * posix/Makefile (tests): Add tst-getopt_long1.
42206
c84cfef4
UD
42207 [BZ #10138]
42208 * scripts/config.guess: Update from autoconf-2.68.
42209 * scripts/config.sub: Likewise.
42210
3b85df27
UD
42211 [BZ #10157]
42212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42213 tests into ...
42214 (has_cpuclock): ...this. New function.
42215 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42216 macro here based on has_cpuclock code.
42217
15a856b1
UD
42218 [BZ #10149]
42219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42220 First byte (not low byte) is now always NUL.
42221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42222
05f399e6
UD
42223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42224 Use non-cancelable interfaces.
42225
10a52685 42226 [BZ #9809]
94ecc67d
UD
42227 * locale/iso-639.def: Add entry for Sorani.
42228
f8a3b5bf
UD
42229 [BZ #11901]
42230 * include/stdlib.h: Move include protection to the right place.
42231 Define abort_msg_s. Declare __abort_msg with it.
42232 * stdlib/abort.c (__abort_msg): Adjust type.
42233 * assert/assert.c (__assert_fail_base): New function. Majority
42234 of code from __assert_fail. Allocate memory for __abort_msg with
42235 mmap.
42236 (__assert_fail): Now call __assert_fail_base.
42237 * assert/assert-perr.c: Remove bulk of implementation. Use
42238 __assert_fail_base.
42239 * include/assert.hL Declare __assert_fail_base.
42240 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42241 mmap.
42242 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42243
1af4e298
UD
422442011-05-14 Ulrich Drepper <drepper@gmail.com>
42245
f8a3b5bf 42246 [BZ #11952]
d26dfc60
MG
42247 [BZ #12453]
42248 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42249 until all modules are registered in the DTV.
42250 * elf/Makefile: Add rules to build and run tst-tls19.
42251 * elf/tst-tls19.c: New file.
42252 * elf/tst-tls19mod1.c: New file.
42253 * elf/tst-tls19mod2.c: New file.
42254 * elf/tst-tls19mod3.c: New file.
42255 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42256
2fc54d6f
UD
42257 [BZ #12083]
42258 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42259 correctly.
42260
98d76b46
UD
42261 [BZ #12601]
42262 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42263 two-byte sequence errors.
42264 * iconvdata/Makefile (tests): Add bug-iconv8.
42265 * iconvdata/bug-iconv8.c: New file.
42266
da3c19ef
UD
42267 [BZ #12626]
42268 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42269 buf2 definition.
42270
ca408c15
UD
42271 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42272
d6f67f7d
UD
42273 [BZ #12432]
42274 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42275 (dummy_getcfa): New function.
42276 (init): Get _Unwind_GetCFA address, use dummy if not found.
42277 (backtrace_helper): In recursion check, also check whether CFA changes.
42278 (__backtrace): Completely initialize arg.
42279
1af4e298 42280 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42281 storing incomplete byte sequence in state object. Avoid testing for
42282 guaranteed too small input if we know there is enough data available.
1af4e298 42283
da62f81b
AS
422842011-05-11 Andreas Schwab <schwab@redhat.com>
42285
42286 * Makeconfig (+link-pie): Indent.
42287 * Rules (binaries-pie): Define if $(have-fpie) and
42288 $(build-shared).
42289 (binaries-shared): Also filter out $(binaries-pie).
42290 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42291 * nscd/Makefile (others-pie): Add nscd.
42292 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42293 ($(objpfx)nscd): Remove command override.
42294 * login/Makefile (others-pie): Add pt_chown.
42295 ($(objpfx)pt_chown): Remove command override.
42296 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42297 remove command overrides.
42298
fcabc0f8
UD
422992011-05-13 Ulrich Drepper <drepper@gmail.com>
42300
20030ae6
UD
42301 * libio/tst_putwc.c: Fix error messages.
42302
fcabc0f8
UD
42303 [BZ #12724]
42304 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42305 currently writing and seek to current position when not.
42306 * libio/Makefile (tests): Add bug-fclose1.
42307 * libio/bug-fclose1.c: New file.
42308
320a5dc0
PB
423092011-05-12 Ulrich Drepper <drepper@gmail.com>
42310
42311 [BZ #12511]
42312 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42313 don't set DF_1_NODELETE here.
42314 (do_lookup_x): When entering new entry test for copy relocation
42315 and if necessary set DF_1_NODELETE flag.
42316 * elf/tst-unique4.cc: New file.
42317 * elf/tst-unique4.h: New file.
42318 * elf/tst-unique4lib.cc: New file.
42319 * elf/Makefile: Add rules to build and run tst-unique4.
42320 Patch by Piotr Bury <pbury@goahead.com>.
42321
22836f52
UD
423222011-05-11 Ulrich Drepper <drepper@gmail.com>
42323
f574184a
UD
42324 [BZ #12052]
42325 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42326
e1fb097f
UD
42327 [BZ #12625]
42328 * misc/mntent_r.c (addmntent): Flush the stream after the output
42329
22836f52
UD
42330 [BZ #12393]
42331 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42332 (is_trusted_path_normalize): Skip initial colon. Append slash
42333 to empty buffer. Duplicate is_trusted_path code but allow
42334 constructed patch to be prefix.
42335 (is_dst): Allow $ORIGIN followed by /.
42336 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42337 Correct testing of result of is_trusted_path_normalize
42338 (decompose_rpath): Fix warning.
42339
7b3b0b2a
UD
423402011-05-10 Ulrich Drepper <drepper@gmail.com>
42341
42342 [BZ #11257]
42343 * grp/initgroups.c (internal_getgrouplist): When we found the service
42344 list through the initgroups entry in nsswitch.conf do not always
42345 continue on a successful lookup. Don't always use the
eac80ce2 42346 __nss_group_database value if it is set.
7b3b0b2a
UD
42347 * nss/nsswitch.conf (initgroups): Change action for successful db
42348 lookup to continue for compatibility.
42349
2a81eaa5
UD
423502011-05-09 Ulrich Drepper <drepper@gmail.com>
42351
be97a69e
UD
42352 [BZ #11532]
42353 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42354 and CP774 modules.
42355 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42356 and CP774 modules.
42357 * iconvdata/tst-tables.sh: Likewise.
42358 * iconvdata/cp770.c: New file.
42359 * iconvdata/cp771.c: New file.
42360 * iconvdata/cp772.c: New file.
42361 * iconvdata/cp773.c: New file.
42362 * iconvdata/cp774.c: New file.
42363 * iconvdata/testdata/CP770: New file.
42364 * iconvdata/testdata/CP770..UTF8: New file.
42365 * iconvdata/testdata/CP771: New file.
42366 * iconvdata/testdata/CP771..UTF8: New file.
42367 * iconvdata/testdata/CP772: New file.
42368 * iconvdata/testdata/CP772..UTF8: New file.
42369 * iconvdata/testdata/CP773: New file.
42370 * iconvdata/testdata/CP773..UTF8: New file.
42371 * iconvdata/testdata/CP774: New file.
42372 * iconvdata/testdata/CP774..UTF8: New file.
42373
42374 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42375 END CHARMAP line.
42376 * iconvdata/gen-8bit-gap.sh: Likewise.
42377 * iconvdata/gen-8bit.sh: Likewise.
42378
c1e9e399
UD
42379 * locale/iso-639.def: Add ary entry.
42380
24c55fb3 42381 [BZ #11258]
96b4b1b0
UD
42382 * locale/C-translit.h.in: Add U20A1 transliteration.
42383
bdc2f971
KB
42384 [BZ #12178]
42385 * locale/iso-639.def: Add wae entry.
42386 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42387
2952b117
UD
42388 [BZ #12545]
42389 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42390 for n.
42391
2a81eaa5
UD
42392 [BZ #12711]
42393 * locale/C-translit.h.in: Add entry for U20B9.
42394 Patch by pravin.d.s@gmail.com.
42395
28377d1b
UD
423962011-05-08 Ulrich Drepper <drepper@gmail.com>
42397
7fb90fb8
UD
42398 [BZ #12713]
42399 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42400 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42401 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42402 in rtld. Use *stat64.
7fb90fb8 42403 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42404 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42405 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42406 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42407 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42408 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42409 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42410 __fstatat64 macros.
7fb90fb8
UD
42411 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42412 * dirent/rewinddir.c: Add libc_hidden_def.
42413 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42414 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42415
28377d1b
UD
42416 * include/dirent.h (__alloc_dir): Add flags parameter.
42417 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42418 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42419 __alloc_dir.
42420 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42421 from fdopendir if O_CLOEXEC is already set.
42422
66bdbaa4
AM
424232011-03-15 Alan Modra <amodra@gmail.com>
42424
42425 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42426 l_tls_firstbyte_offset non-zero. Save padding offset in
42427 l_tls_firstbyte_offset for later use.
42428 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42429 freeing static tls block.
42430
95721191
JN
424312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42432
42433 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42434 where #ifdef was intended. The intent is to prevent ARG_MAX from
42435 being defined by the kernel headers.
42436
f87dfb1f
UD
424372011-05-07 Ulrich Drepper <drepper@gmail.com>
42438
42439 [BZ #12734]
42440 * resolv/resolv.h: Define RES_NOTLDQUERY.
42441 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42442 no-tld-query and set RES_NOTLDQUERY.
42443 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42444 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42445 modern BIND to search name as TLD unless forbidden.
42446
47c3cd7a
UD
424472011-05-07 Petr Baudis <pasky@suse.cz>
42448 Ulrich Drepper <drepper@gmail.com>
42449
42450 [BZ #12393]
42451 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42452 (is_trusted_path): ...to here.
c1e9ea35 42453 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42454 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42455 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42456
8a35c912
PP
424572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42458
42459 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42460 __BEGIN/__END_DECLS.
42461
acd41f47
UD
424622011-05-06 Ulrich Drepper <drepper@gmail.com>
42463
42464 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42465 NSS_STATUS_NOTFOUND if no record was found.
42466
597df647
AS
424672011-05-05 Andreas Schwab <schwab@redhat.com>
42468
42469 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42470 (headers-not-in-tirpc): Remove rpc/netdb.h
42471 * resolv/netdb.h: Revert last change.
42472
b9af1301
PP
424732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42474
42475 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42476 circular dependency between libgcc.a and libc.a.
42477
4e34d5f5
AS
424782011-05-05 Andreas Schwab <schwab@redhat.com>
42479
42480 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42481 * nis/Makefile: Don't install rpcsvc/*.
42482 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42483 instead of <rpc/types.h>.
42484 (MAXHOSTNAMELEN): Define.
42485
00ee369c
AS
424862011-05-03 Andreas Schwab <schwab@redhat.com>
42487
42488 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42489
0b592a30
MB
424902011-04-28 Maciej Babinski <mbabinski@google.com>
42491
42492 [BZ #12714]
42493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42494 gethostbyname4_r when IPv6 results are possible.
42495
6e04cbbe
UD
424962011-05-02 Ulrich Drepper <drepper@gmail.com>
42497
42498 [BZ #12723]
42499 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42500 _PC_PIPE_BUF handling.
42501
e4ecafe0
BH
425022011-04-30 Bruno Haible <bruno@clisp.org>
42503
42504 [BZ #12717]
42505 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42506 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42507 to 'int'.
42508 * inet/getnameinfo.c (getnameinfo): Likewise.
42509
125ee683
UD
425102011-04-29 Ulrich Drepper <drepper@gmail.com>
42511
42512 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42513 to groups setting in database lookup.
42514 * nss/nsswitch.conf: Add initgroups entry.
42515
b722481a
EB
425162011-04-22 Ulrich Drepper <drepper@gmail.com>
42517
42518 [BZ #12685]
42519 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42520 mode string.
42521 Patch by Eric Blake <eblake@redhat.com>.
42522
4df46dbd
L
425232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42524
42525 * sunrpc/Makefile (need-export-routines): Add svc_run.
42526 (routines): Remove svc_run.
42527 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42528 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42529 * sunrpc/svc_run.c (svc_run): Likewise.
42530 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42531
e84142d2
UD
425322011-04-21 Ulrich Drepper <drepper@gmail.com>
42533
42534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42535 problem in reallocation in last patch.
42536
877175d8
UD
425372011-04-20 Ulrich Drepper <drepper@gmail.com>
42538
42539 * sunrpc/Makefile: Move inclusion of Rules.
42540
ab8eed78
UD
425412011-04-19 Ulrich Drepper <drepper@gmail.com>
42542
42543 * nss/nss_files/files-initgroups.c: New file.
42544 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42545 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42546 _nss_files_initgroups_dyn.
42547
e3d8f584
RS
425482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42549
42550 * elf/elf.h (R_ARM_IRELATIVE): Define.
42551
af190f45
UD
425522011-04-19 Ulrich Drepper <drepper@gmail.com>
42553
42554 * po/ru.po: Update from translation team.
42555
53cf59ef
UD
425562011-04-17 Ulrich Drepper <drepper@gmail.com>
42557
42558 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42559 dependencies.
42560
4c559bcd
MF
425612011-02-06 Mike Frysinger <vapier@gentoo.org>
42562
42563 [BZ #12653]
42564 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42565 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42566 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42569
4420675c
AS
425702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42571
42572 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42573 differing bytes.
42574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42577
75ea32ab
UD
425782011-04-17 Ulrich Drepper <drepper@gmail.com>
42579
42580 [BZ #12420]
42581 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42582 storing it.
42583 * stdlib/bug-getcontext.c: New file.
42584 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42585
27390476
AK
425862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42587
42588 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42589 instructions into .machine "z9-109".
42590 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42591 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42592
10442705
AK
425932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42594
42595 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42596 between environment variables and auxiliary vector.
42597
7b57bfe5
UD
425982011-04-16 Ulrich Drepper <drepper@gmail.com>
42599
42600 * Makefile: Add rules to build linkobj/libc.so.
42601 * include/libc-symbols.h: Define libc_hidden_nolink.
42602 * include/rpc/auth.h: Mark functions which are to be hidden.
42603 * include/rpc/auth_des.h: Likewise.
42604 * include/rpc/auth_unix.h: Likewise.
42605 * include/rpc/clnt.h: Likewise.
42606 * include/rpc/des_crypt.h: Likewise.
42607 * include/rpc/key_prot.h: Likewise.
42608 * include/rpc/pmap_clnt.h: Likewise.
42609 * include/rpc/pmap_prot.h: Likewise.
42610 * include/rpc/pmap_rmt.h: Likewise.
42611 * include/rpc/rpc_msg.h: Likewise.
42612 * include/rpc/svc.h: Likewise.
42613 * include/rpc/svc_auth.h: Likewise.
42614 * include/rpc/xdr.h: Likewise.
42615 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42616 * nss/Makefile: Likewise.
42617 * sunrpc/Makefile: Don't install headers. Build library with normal
42618 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42619 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42620 for the compat linking library. Remove use of INTDEF/INTUSE.
42621 * sunrpc/auth_none.c: Likewise.
42622 * sunrpc/auth_unix.c: Likewise.
42623 * sunrpc/authdes_prot.c: Likewise.
42624 * sunrpc/authuxprot.c: Likewise.
42625 * sunrpc/clnt_gen.c: Likewise.
42626 * sunrpc/clnt_perr.c: Likewise.
42627 * sunrpc/clnt_raw.c: Likewise.
42628 * sunrpc/clnt_simp.c: Likewise.
42629 * sunrpc/clnt_tcp.c: Likewise.
42630 * sunrpc/clnt_udp.c: Likewise.
42631 * sunrpc/clnt_unix.c: Likewise.
42632 * sunrpc/des_crypt.c: Likewise.
42633 * sunrpc/des_soft.c: Likewise.
42634 * sunrpc/get_myaddr.c: Likewise.
42635 * sunrpc/key_call.c: Likewise.
42636 * sunrpc/key_prot.c: Likewise.
42637 * sunrpc/netname.c: Likewise.
42638 * sunrpc/pm_getmaps.c: Likewise.
42639 * sunrpc/pm_getport.c: Likewise.
42640 * sunrpc/pmap_clnt.c: Likewise.
42641 * sunrpc/pmap_prot.c: Likewise.
42642 * sunrpc/pmap_prot2.c: Likewise.
42643 * sunrpc/pmap_rmt.c: Likewise.
42644 * sunrpc/publickey.c: Likewise.
42645 * sunrpc/rpc_cmsg.c: Likewise.
42646 * sunrpc/rpc_common.c: Likewise.
42647 * sunrpc/rpc_dtable.c: Likewise.
42648 * sunrpc/rpc_prot.c: Likewise.
42649 * sunrpc/rpc_thread.c: Likewise.
42650 * sunrpc/rtime.c: Likewise.
42651 * sunrpc/svc.c: Likewise.
42652 * sunrpc/svc_auth.c: Likewise.
42653 * sunrpc/svc_authux.c: Likewise.
42654 * sunrpc/svc_raw.c: Likewise.
42655 * sunrpc/svc_run.c: Likewise.
42656 * sunrpc/svc_simple.c: Likewise.
42657 * sunrpc/svc_tcp.c: Likewise.
42658 * sunrpc/svc_udp.c: Likewise.
42659 * sunrpc/svc_unix.c: Likewise.
42660 * sunrpc/svcauth_des.c: Likewise.
42661 * sunrpc/xcrypt.c: Likewise.
42662 * sunrpc/xdr.c: Likewise.
42663 * sunrpc/xdr_array.c: Likewise.
42664 * sunrpc/xdr_float.c: Likewise.
42665 * sunrpc/xdr_intXX_t.c: Likewise.
42666 * sunrpc/xdr_mem.c: Likewise.
42667 * sunrpc/xdr_rec.c: Likewise.
42668 * sunrpc/xdr_ref.c: Likewise.
42669 * sunrpc/xdr_sizeof.c: Likewise.
42670 * sunrpc/xdr_stdio.c: Likewise.
42671
e6c61494
UD
426722011-04-10 Ulrich Drepper <drepper@gmail.com>
42673
42674 [BZ #12650]
42675 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42676 * sysdeps/ia64/dl-tls.h: Likewise.
42677 * sysdeps/powerpc/dl-tls.h: Likewise.
42678 * sysdeps/s390/dl-tls.h: Likewise.
42679 * sysdeps/sh/dl-tls.h: Likewise.
42680 * sysdeps/sparc/dl-tls.h: Likewise.
42681 * sysdeps/x86_64/dl-tls.h: Likewise.
42682 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42683
34fe483e
AS
426842011-03-14 Andreas Schwab <schwab@redhat.com>
42685
42686 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42687 rpath element also skip the following colon.
42688 (expand_dynamic_string_token): Add is_path parameter and pass
42689 down to DL_DST_REQUIRED and _dl_dst_substitute.
42690 (decompose_rpath): Call expand_dynamic_string_token with
42691 non-zero is_path. Ignore empty rpaths.
42692 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42693 with zero is_path.
42694
f12a32e6
AS
426952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42696
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42698 Make cancelable.
42699
38a7d692
UD
427002011-04-09 Ulrich Drepper <drepper@gmail.com>
42701
42702 [BZ #12655]
42703 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42704 Patch by Filipe David Manana <fdmanana@apache.org>.
42705
e451d22b
AS
427062011-04-07 Andreas Schwab <schwab@redhat.com>
42707
42708 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42709 Maintain aligned stack.
42710 (CHECK_RSP): Remove unused macro.
42711
dedc7c7b
UD
427122011-04-03 Ulrich Drepper <drepper@gmail.com>
42713
42714 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42716
94521213
UD
427172011-04-02 Ulrich Drepper <drepper@gmail.com>
42718
42719 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42720
8cb700c0 42721 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42722
0354e355
L
427232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42724
42725 [BZ #12518]
42726 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42727 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42728 * sysdeps/x86_64/memmove.c: New file.
42729 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42730 (memcpy): Renamed to ...
42731 (__new_memcpy): This.
42732 (memcpy): Provide GLIBC_2_14 memcpy.
42733 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42734 (memcpy): Provide GLIBC_2_2_5 memcpy.
42735
8593482f
UD
427362011-04-01 Ulrich Drepper <drepper@gmail.com>
42737
42738 [BZ #12631]
42739 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42740
81a5726b
AS
427412011-03-30 Andreas Schwab <schwab@redhat.com>
42742
42743 * misc/syncfs.c: New file.
42744 * misc/Makefile (routines): Add syncfs.
42745 * posix/unistd.h: Declare syncfs.
42746 * sysdeps/unix/syscalls.list: Add syncfs.
42747
00e5419f
AS
427482011-04-01 Andreas Schwab <schwab@redhat.com>
42749
42750 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42751 open_by_handle_at.
42752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42753 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42754 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42755 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42757 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42759
748876bf
UD
427602011-04-01 Ulrich Drepper <drepper@gmail.com>
42761
658e451d
UD
42762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42763 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42764 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42769
748876bf
UD
42770 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42771 sync_file_range.c with -fexceptions.
42772 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42773 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42774 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42775 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42776 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42777 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42779 sync_file_range as cancellation point
42780 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42781 now a wrapper around __call_sync_file_range with cancellation handling.
42782 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42783 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42784 function name to __call_sync_file_range.
42785 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42786 Add call_sync_file_range.
748876bf 42787
6e63d5e1
AS
427882011-04-01 Andreas Schwab <schwab@redhat.com>
42789
42790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42791 bits/timex.h.
6e63d5e1 42792
46998f74
UD
427932011-04-01 Ulrich Drepper <drepper@gmail.com>
42794
4c1423ed
UD
42795 * iconv/iconv.h: Fix typo in comment.
42796 * io/fcntl.h: Likewise.
42797 * libio/stdio.h: Likewise.
42798 * posix/spawn.h: Likewise.
42799 * posix/unistd.h: Likewise.
42800 * stdlib/stdlib.h: Likewise.
42801 * time/time.h: Likewise.
42802 * wcsmbs/wchar.h: Likewise.
42803
158648c0
UD
42804 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42805 open_by_handle): Add.
42806 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42807 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42808 Augment a few comments.
42809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42814 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42815 open_by_handle.
42816
46998f74
UD
42817 * io/fcntl.h (AT_EMPTY_PATH): Define.
42818
83fe108b
UD
428192011-03-30 Ulrich Drepper <drepper@gmail.com>
42820
42821 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42822 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42823 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42824 to...
42825 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42826 * Versions.def: Add GLIBC_2.14.
42827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42828 Export.
83fe108b 42829
bb242059
UD
428302011-03-22 Ulrich Drepper <drepper@gmail.com>
42831
42832 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42833 round counter.
42834 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42835
c97a1282
L
428362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42837
42838 [BZ #12597]
42839 * string/test-strncmp.c (do_page_test): New function.
42840 (check2): Likewise.
42841 (test_main): Call check2.
42842 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42843
2a115601
UD
428442011-03-20 Ulrich Drepper <drepper@gmail.com>
42845
42846 [BZ #12587]
42847 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42848 Handle cache information in CPU leaf 4.
42849 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42850
8126d904
UD
428512011-03-18 Ulrich Drepper <drepper@gmail.com>
42852
042c49c6 42853 [BZ #12583]
8126d904
UD
42854 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42855 character representation.
42856 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42857
ccfe366e
RA
428582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42859
42860 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42861 END(__isnan) to END(__isnanf) to match function entry point/label
42862 EALIGN(__isnanf,...).
42863
c6e13027
JJ
428642011-03-10 Jakub Jelinek <jakub@redhat.com>
42865
42866 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42867
33f85a3f
UD
428682011-03-10 Ulrich Drepper <drepper@gmail.com>
42869
028478fa
UD
42870 [BZ #12510]
42871 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42872 copy from the symbol referenced in the relocation to initialize the
42873 used variable.
42874 Patch by Piotr Bury <pbury@goahead.com>.
42875 * elf/Makefile: Add rules to build and tst-unique3.
42876 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42877 * elf/tst-unique3.cc: New file.
42878 * elf/tst-unique3.h: New file.
42879 * elf/tst-unique3lib.cc: New file.
42880 * elf/tst-unique3lib2.cc: New file.
42881
33f85a3f
UD
42882 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42883
03592fc7
MF
428842011-03-10 Mike Frysinger <vapier@gentoo.org>
42885
42886 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42887 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42888 to _start.
03592fc7 42889
6a5ee102
UD
428902011-03-06 Ulrich Drepper <drepper@gmail.com>
42891
42892 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42893 to-be-loaded object along a path to loader is ld.so.
42894
7e4ba49c
HJ
428952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42896 Ulrich Drepper <drepper@gmail.com>
42897
42898 * sysdeps/x86_64/memset.S: After aligning destination, code
42899 branches to different locations depending on the value of
42900 misalignment, when multiarch is enabled. Fix this.
42901
429022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42903
42904 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42905 Set _x86_64_preferred_memory_instruction for AMD processsors.
42906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42907 Set bit_Prefer_SSE_for_memop for AMD processors.
42908
13a804de
UD
429092011-03-04 Ulrich Drepper <drepper@gmail.com>
42910
42911 * libio/fmemopen.c (fmemopen): Optimize a bit.
42912
9d25c392
AS
429132011-03-03 Andreas Schwab <schwab@redhat.com>
42914
42915 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42916
a5543c6a
RM
429172011-03-03 Roland McGrath <roland@redhat.com>
42918
42919 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42920
012d35f7
DM
429212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42922
7e4ba49c 42923 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42924 __bzero_ultra1 instead of __memset_ultra1.
42925
4bff6e01
AS
429262011-02-23 Andreas Schwab <schwab@redhat.com>
42927 Ulrich Drepper <drepper@gmail.com>
42928
42929 [BZ #12509]
42930 * include/link.h (struct link_map): Add l_orig_initfini.
42931 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42932 returning unsuccessfully.
42933 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42934 close of a file loaded at startup, restore the original l_initfini
42935 list.
42936 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42937 list, store the pointer.
42938 * elf/Makefile ($(objpfx)noload-mem): New rule.
42939 (noload-ENV): Define.
42940 (tests): Add $(objpfx)noload-mem.
42941 * elf/noload.c: Include <memcheck.h>.
42942 (main): Call mtrace. Close all opened handles.
42943
f2092faf
AS
429442011-02-17 Andreas Schwab <schwab@redhat.com>
42945
42946 [BZ #12454]
42947 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42948 dependencies are missing.
42949
6c8a2e88
ST
429502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42951
f2092faf 42952 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42953 Hurd needs munmap.
42954 * sysdeps/mach/hurd/ifreq.h: New file.
42955
84a42118
PB
429562011-01-27 Petr Baudis <pasky@suse.cz>
42957 Ulrich Drepper <drepper@gmail.com>
42958
071f805e 42959 [BZ 12445]#
84a42118
PB
42960 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42961 to extend_alloca().
42962 * stdio-common/bug23.c: New file.
42963 * stdio-common/Makefile (tests): Add bug23.
42964
e23fe25b
AS
429652010-09-28 Andreas Schwab <schwab@redhat.com>
42966 Ulrich Drepper <drepper@gmail.com>
42967
42968 [BZ #12489]
42969 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42970 before performing relro protection. At old place add assertion
42971 to make sure nothing changed.
42972
d3f02e10
NS
429732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42974 Glauber de Oliveira Costa <glommer@gmail.com>
42975
42976 * elf/elf.h: Add new ARM TLS relocs.
42977
d55fd7a5
RA
429782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42979
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42981 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42982 cast from r3.
42983 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42984 'tests' variable.
42985 * sysdeps/wordsize-64/tst-writev.c: New file.
42986
2206397e
RA
429872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42988
42989 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42990 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42991 insns in _dl_start to prevent a TOC reference before relocs are
42992 resolved.
42993
e9433893
UD
429942011-02-15 Ulrich Drepper <drepper@gmail.com>
42995
42996 [BZ #12469]
42997 * Makeconfig: Remove RANLIB definition.
42998 * Makerules: Don't use RANLIB.
42999 * aclocal.m4: Remove ranlib test.
43000 * configure.in: No need to check for ranlib.
43001 * elf/rtld-Rules: Don't use RANLIB.
43002
f75286c6
ST
430032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43004
8e31c82d
ST
43005 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43006 protection macro.
43007 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43008 inclusion protection macro.
43009
f75286c6
ST
43010 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43011 SIGRTMIN and SIGRTMAX and print information in that case only when
43012 SIGRTMIN is defined.
43013
c1d0e639
JJ
430142011-02-11 Jakub Jelinek <jakub@redhat.com>
43015
43016 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43017 arginfo fn returning -1.
43018
43019 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43020 and thousands string is zero terminated.
43021
edf9294e
AS
430222011-02-03 Andreas Schwab <schwab@redhat.com>
43023
43024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43025 sysdeps/unix/sysv/linux/bits/socket.h.
43026
2b7e92df
ST
430272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43028
edf9294e
AS
43029 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43030 (__CPU_COUNT): Remove old macros.
43031 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43032 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43033 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43034 (__sched_cpualloc, __sched_cpufree): Add declarations.
43035
a4c7ea7b
UD
430362011-02-05 Ulrich Drepper <drepper@gmail.com>
43037
43038 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43039 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43040 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43041 (readdhstai): Return value of addhstaiX call.
43042 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43043 (addgrbyX): Return value returned by cache_addgr.
43044 (readdgrbyname): Return value returned by addgrbyX.
43045 (readdgrbygid): Likewise.
43046 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43047 (addpwbyX): Return value returned by cache_addpw.
43048 (readdpwbyname): Return value returned by addhstbyX.
43049 (readdpwbyuid): Likewise.
43050 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43051 (addservbyX): Return value returned by cache_addserv.
43052 (readdservbyname): Return value returned by addservbyX:
43053 (readdservbyport): Likewise.
43054 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43055 (addhstbyX): Return value returned by cache_addhst.
43056 (readdhstbyname): Return value returned by addhstbyX.
43057 (readdhstbyaddr): Likewise.
43058 (readdhstbynamev6): Likewise.
43059 (readdhstbyaddrv6): Likewise.
43060 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43061 (readdinitgroups): Return value returned by addinitgroupsX.
43062 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43063 (prune_cache): Keep track of timeout value of re-added entries.
43064 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43065 * nscd/nscd.h: Adjust prototypes of readd* functions.
43066
a0bf67cc
RM
430672011-02-04 Roland McGrath <roland@redhat.com>
43068
43069 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43070 (nis_stats): Likewise.
43071 * nis/nis_modify.c (nis_modify): Likewise.
43072 * nis/nis_remove.c (nis_remove): Likewise.
43073 * nis/nis_add.c (nis_add): Likewise.
43074
43075 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43076
43077 * posix/fnmatch_loop.c: Add some consts.
43078
43079 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43080
435b95eb
L
430812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43082
43083 [BZ #12460]
43084 * config.make.in (config-cflags-novzeroupper): Define.
43085 * configure.in: Substitute libc_cv_cc_novzeroupper.
43086 * elf/Makefile (AVX-CFLAGS): Define.
43087 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43088 (CFLAGS-tst-auditmod4a.c): Likewise.
43089 (CFLAGS-tst-auditmod4b.c): Likewise.
43090 (CFLAGS-tst-auditmod6b.c): Likewise.
43091 (CFLAGS-tst-auditmod6c.c): Likewise.
43092 (CFLAGS-tst-auditmod7b.c): Likewise.
43093 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43094
8517b15e
UD
430952011-02-02 Ulrich Drepper <drepper@gmail.com>
43096
43097 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43098 function to the callback.
43099 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43100
10a656fe
AS
431012011-02-02 Andreas Schwab <schwab@redhat.com>
43102
43103 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43104 of errno.
43105
968dad0a
UD
431062011-01-19 Ulrich Drepper <drepper@gmail.com>
43107
9f94d2ea 43108 [BZ #11724]
968dad0a
UD
43109 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43110 of constructors.
43111 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43112 of destructors.
43113 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43114
43115 [BZ #11724]
43116 * elf/Makefile: Add rules to build and run new test.
43117 * elf/tst-initorder.c: New file.
43118 * elf/tst-initorder.exp: New file.
43119 * elf/tst-initordera1.c: New file.
43120 * elf/tst-initordera2.c: New file.
43121 * elf/tst-initordera3.c: New file.
43122 * elf/tst-initordera4.c: New file.
43123 * elf/tst-initorderb1.c: New file.
43124 * elf/tst-initorderb2.c: New file.
43125 * elf/tst-order-a1.c: New file.
43126 * elf/tst-order-a2.c: New file.
43127 * elf/tst-order-a3.c: New file.
43128 * elf/tst-order-a4.c: New file.
43129 * elf/tst-order-b1.c: New file.
43130 * elf/tst-order-b2.c: New file.
43131 * elf/tst-order-main.c: New file.
43132 New test case by George Gensure <werkt0@gmail.com>.
43133
86e92359
UD
431342010-10-01 Andreas Schwab <schwab@redhat.com>
43135
43136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43137 decoding ACE if AI_CANONIDN.
43138
5d5732b0
UD
431392011-01-18 Ulrich Drepper <drepper@gmail.com>
43140
43141 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43142
a77e8cbc
UD
431432011-01-17 Ulrich Drepper <drepper@gmail.com>
43144
6392473f
UD
43145 * version.h (RELEASE): Bump for 2.13 release.
43146 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43147
620a0529
UD
43148 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43149
18ba70a5
UD
43150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43151 MADV_NOHUGEPAGE.
32465c3e
UD
43152 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43153 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43157 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43158
c0dafcf1
UD
43159 * posix/getconf.c: Update copyright year.
43160 * catgets/gencat.c: Likewise.
43161 * csu/version.c: Likewise.
43162 * debug/catchsegv.sh: Likewise.
43163 * debug/xtrace.sh: Likewise.
43164 * elf/ldconfig.c: Likewise.
43165 * elf/ldd.bash.in: Likewise.
43166 * elf/sprof.c (print_version): Likewise.
43167 * iconv/iconv_prog.c: Likewise.
43168 * iconv/iconvconfig.c: Likewise.
43169 * locale/programs/locale.c: Likewise.
43170 * locale/programs/localedef.c: Likewise.
43171 * malloc/memusage.sh: Likewise.
43172 * malloc/mtrace.pl: Likewise.
43173 * nscd/nscd.c (print_version): Likewise.
43174 * nss/getent.c: Likewise.
43175
a77e8cbc
UD
43176 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43177 PF_CAIF, and PF_ALG.
43178 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43179
77e8bddf
AS
431802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43181
1f20b93a
AS
43182 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43183 (modules-names): Use them.
43184 (ifunc-test-modules, ifunc-pie-tests): Define.
43185 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43186 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43187 (test-extras): Likewise.
43188 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43189 $(compile-command.c).
43190 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43191 (all-built-dso): Define.
43192 (check-textrel.out, check-execstack.out): Depend on it.
43193
77e8bddf
AS
43194 * configure.in: Don't override --enable-multi-arch.
43195
bc425b33
UD
431962011-01-15 Ulrich Drepper <drepper@gmail.com>
43197
43198 [BZ #6812]
43199 * nscd/hstcache.c (tryagain): Define.
43200 (cache_addhst): Return tryagain not notfound for temporary errors.
43201 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43202 failed.
43203
794c3ad3
UD
432042011-01-14 Ulrich Drepper <drepper@gmail.com>
43205
70181fdd
UD
43206 [BZ #10563]
43207 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43208 to make the syscall.
43209 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43210
794c3ad3
UD
43211 [BZ #12378]
43212 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43213 and fall back to matching as normal character if the string ends before
43214 the matching ']' is found. This is what POSIX requires.
43215 * posix/testfnm.c: Adjust test result.
43216 * posix/globtest.sh: Adjust test result. Add new test.
43217 * posix/tst-fnmatch.input: Likewise.
43218 * posix/tst-fnmatch2.c: Add new test.
43219
68dc9497
AS
432202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43221
43222 * elf/Makefile (check-execstack): Revert last change. Depend on
43223 check-execstack.h.
43224 (check-execstack.h): New target.
43225 (generated): Add check-execstack.h.
43226 * elf/check-execstack.c: Include "check-execstack.h".
43227 (main): Revert last change.
43228 (handle_file): Return zero if GNU_STACK is absent and
43229 DEFAULT_STACK_PERMS doesn't include PF_X.
43230
451f001b
UD
432312011-01-13 Ulrich Drepper <drepper@gmail.com>
43232
cfa28e56
UD
43233 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43234 in child fails because the descriptor is already closed.
8cf8ce17
UD
43235 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43236 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43238
1086d70d
UD
43239 [BZ #12397]
43240 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43241 syscall.
43242
451f001b
UD
43243 [BZ #10484]
43244 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43245 temporary buffer used to handle multi lookups locally.
a85b5cb4 43246 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43247
08769175
UD
432482011-01-12 Ulrich Drepper <drepper@gmail.com>
43249
43250 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43251 loader is ld.so.
43252
5e49c52e
UD
432532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43254
43255 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43256 alignment for SSE2.
43257
60522a5f
UD
432582011-01-12 Ulrich Drepper <drepper@gmail.com>
43259
43260 [BZ #12394]
43261 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43262 characters. When rounding increased number of integer digits recompute
43263 number of groups.
43264 * stdio-common/tst-grouping.c: New file.
43265 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43266
f257bbd7
UD
432672011-01-09 Ulrich Drepper <drepper@gmail.com>
43268
43269 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43270 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43271
43272 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43273 void.
43274 * bits/select.h: Likewise.
43275
fa9c15cb
UD
432762011-01-08 Ulrich Drepper <drepper@gmail.com>
43277
43278 * po/ja.po: Update from translation team.
43279
16c2895f
DM
432802011-01-04 David S. Miller <davem@sunset.davemloft.net>
43281
43282 [BZ #11155]
43283 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43284 implementation just like for lxstat, fxstatat, et al.
43285
2543fef2
JM
432862010-12-27 Jim Meyering <meyering@redhat.com>
43287
43288 [BZ #12348]
43289 * posix/regexec.c (build_trtable): Return failure indication upon
43290 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43291
98727dbe
UD
432922010-12-25 Ulrich Drepper <drepper@gmail.com>
43293
5bd6dc5c
UD
43294 [BZ #12201]
43295 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43296 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43297 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43299
97983464
UD
43300 [BZ #12207]
43301 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43302
98727dbe
UD
43303 [BZ #12204]
43304 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43305 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43306
4a531bb0
L
433072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43308
43309 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43310 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43311 script has SORT_BY_INIT_PRIORITY.
43312 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43313 NO_CTORS_DTORS_SECTIONS is defined.
43314 * elf/soinit.c: Likewise.
43315 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43316 NO_CTORS_DTORS_SECTIONS is defined.
43317 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43318 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43319 * sysdeps/sh/init-first.c: Likewise.
43320 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43321
07eb4b71
UD
433222010-12-24 Ulrich Drepper <drepper@gmail.com>
43323
43324 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43325 always use the slow path.
43326
30950a5f
RA
433272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43328
43329 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43330 similar rule which adds the sysdep directories to the header search in
43331 order to pick up the correct platform stackinfo.h.
43332 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43333 perform test if it is, otherwise return successfully without testing.
43334 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43335 DEFAULT_STACK_PERMS define in stackinfo.h.
43336 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43337 defined in stackinfo.h.
43338 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43339 DEFAULT_STACK_PERMS defined in stackinfo.h.
43340 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43341 * sysdeps/ia64/stackinfo.h: Likewise.
43342 * sysdeps/s390/stackinfo.h: Likewise.
43343 * sysdeps/sh/stackinfo.h: Likewise.
43344 * sysdeps/sparc/stackinfo.h: Likewise.
43345 * sysdeps/x86_64/stackinfo.h: Likewise.
43346 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43347 PF_X for powerpc64. Retain PF_X for powerpc32.
43348
db753e2c
UD
433492010-12-19 Ulrich Drepper <drepper@gmail.com>
43350
14b697f7
UD
43351 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43352 accurately.
db753e2c
UD
43353 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43354 GETDENTS_64BIT_ALIGNED.
43355
28300719
UD
433562010-12-14 Ulrich Drepper <dreper@gmail.com>
43357
14b697f7 43358 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43359
4f197237
AS
433602010-12-10 Andreas Schwab <schwab@redhat.com>
43361
dbb0472f
AS
43362 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43363 _GNU_SOURCE.
43364
4f197237
AS
43365 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43366 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43367 Remove __restrict.
43368 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43369 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43370
fb88ac72
UD
433712010-12-09 Ulrich Drepper <drepper@gmail.com>
43372
43373 [BZ #11655]
43374 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43375 are initialized.
43376
42acbb92
JJ
433772010-12-09 Jakub Jelinek <jakub@redhat.com>
43378
43379 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43380
c038d98d
UD
433812010-12-03 Ulrich Drepper <drepper@gmail.com>
43382
43383 * po/it.po: Update from translation team.
43384
3a4a2499
L
433852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43388 unused codes.
43389
1e24cf6e
UD
433902010-11-30 Ulrich Drepper <drepper@gmail.com>
43391
43392 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43393
a7690819
AS
433942010-11-24 Andreas Schwab <schwab@redhat.com>
43395
43396 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43397 specially.
43398 (gaih_getanswer_slice): Likewise.
43399
3bf8d1b1
JJ
434002010-10-20 Jakub Jelinek <jakub@redhat.com>
43401
43402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43403
6db52fbb
PB
434042010-05-31 Petr Baudis <pasky@suse.cz>
43405
43406 [BZ #11149]
43407 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43408 silently even in the chroot mode.
43409
eaca7569
UD
434102010-11-22 Ulrich Drepper <drepper@gmail.com>
43411
43412 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43413 last patch a bit. Pretty printing
43414
3056dcdb
UD
434152010-05-31 Petr Baudis <pasky@suse.cz>
43416
43417 [BZ #10085]
43418 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43419 initialization of skip_initgroups_dyn.
43420
cf7c9078
UD
434212010-11-19 Ulrich Drepper <drepper@gmail.com>
43422
43423 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43424 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43425
a1fb5e3e
UD
434262010-11-16 Ulrich Drepper <drepper@gmail.com>
43427
43428 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43429
3540d66b
AS
434302010-11-11 Andreas Schwab <schwab@redhat.com>
43431
43432 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43433 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43434 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43435 ($(objpfx)tst-fnmatch-mem): New rule.
43436 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43437 * posix/tst-fnmatch.c (main): Call mtrace.
43438
13b69574
L
434392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43440
43441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43442 Support Intel processor model 6 and model 0x2c.
43443
da93d214
LM
434442010-11-10 Luis Machado <luisgpm@br.ibm.com>
43445
43446 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43447 signed comparison.
43448
8ca52c6e
L
434492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43450
43451 [BZ #12205]
43452 * string/test-strncasecmp.c (check_result): New function.
43453 (do_one_test): Use it.
43454 (check1): New function.
43455 (test_main): Use it.
43456 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43457 Support strcasecmp and strncasecmp.
43458
69da074d
UD
434592010-11-08 Ulrich Drepper <drepper@gmail.com>
43460
43461 [BZ #12194]
43462 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43464
ff02d528
L
434652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43466
43467 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43468 IFUNC support.
43469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43470 memset-x86-64.
43471 * sysdeps/x86_64/multiarch/bzero.S: New file.
43472 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43473 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43474 * sysdeps/x86_64/multiarch/memset.S: New file.
43475 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43477 Set bit_Prefer_SSE_for_memop for Intel processors.
43478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43479 Define.
43480 (index_Prefer_SSE_for_memop): Define.
43481 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43482
344d0b54
LM
434832010-11-04 Luis Machado <luisgpm@br.ibm.com>
43484
43485 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43487
c0dde15b
UD
434882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43489
43490 [BZ #12191]
43491 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43492 (__x86_64_raw_data_cache_size_half): Likewise.
43493 (__x86_64_raw_shared_cache_size): Likewise.
43494 (__x86_64_raw_shared_cache_size_half): Likewise.
43495
43496 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43497 (__x86_64_raw_data_cache_size_half): Likewise.
43498 (__x86_64_raw_shared_cache_size): Likewise.
43499 (__x86_64_raw_shared_cache_size_half): Likewise.
43500 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43501 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43502 and __x86_64_raw_shared_cache_size_half. Round
43503 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43504 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43505 to multiple of 256 bytes.
43506
0e516e0e
MS
435072010-11-03 Ulrich Drepper <drepper@gmail.com>
43508
43509 [BZ #12167]
43510 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43511 of inacessible symlinks. Verify result of symlink before returning it.
43512 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43513 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43514
0e012e87
ER
435152010-10-28 Erich Ritz <erichritz@gmail.com>
43516
43517 * math/math.h (isinf): Fix typo in comment.
43518
de0ff7bc
UD
435192010-11-01 Ulrich Drepper <drepper@gmail.com>
43520
43521 * po/da.po: Update from translation team.
43522
fa41c84d
UD
435232010-10-26 Ulrich Drepper <drepper@gmail.com>
43524
43525 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43526 is added to the list.
43527
f0967738
AK
435282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43529 Ulrich Drepper <drepper@gmail.com>
43530
43531 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43532 the global list here. Move code to...
43533 (_dl_add_to_namespace_list): ...here. New function.
43534 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43535 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43536 * elf/dl-load.c (lose): Don't remove the element from the list.
43537 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43538 (_dl_map_object): Likewise.
43539
435402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43541
43542 [BZ #12159]
43543 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43544 into all bytes of SSE register.
43545 Patch by Richard Li <richardpku@gmail.com>.
43546
f0967738 435472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43548
43549 [BZ #12140]
43550 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43551 perturbing.
43552
d0b9e94f
MB
435532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43554
43555 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43556 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43557 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43560 submachine.
43561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43562
8e9f92e9
AS
435632010-10-22 Andreas Schwab <schwab@redhat.com>
43564
43565 * include/dlfcn.h (__RTLD_SECURE): Define.
43566 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43567 mode & __RTLD_SECURE instead.
43568 (open_path): Rename preloaded parameter to secure.
43569 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43570 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43571 * elf/dl-deps.c (openaux): Likewise.
43572 * elf/rtld.c (struct map_args): Remove is_preloaded.
43573 (map_doit): Don't use it.
43574 (dl_main): Likewise.
43575 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43576 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43577
bc96fbda
AS
435782010-09-09 Andreas Schwab <schwab@redhat.com>
43579
43580 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43581 (sysd-rules-targets): Remove duplicates.
43582 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43583 rtld-%.$o dependency.
43584
22cd1c9b
AS
435852010-10-18 Andreas Schwab <schwab@redhat.com>
43586
43587 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43588 _dl_map_object do it.
43589
18edac48
UD
435902010-10-19 Ulrich Drepper <drepper@gmail.com>
43591
43592 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43593 fast fma builtins, define the macros in the C99 standard.
43594 (FP_FAST_FMAF): Likewise.
43595 (FP_FAST_FMAL): Likewise.
43596 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43597
43598 * bits/mathdef.h: Update copyright year.
43599 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43600
d2050124
MM
436012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43602
43603 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43604 builtins, define the macros in the C99 standard.
43605 (FP_FAST_FMAF): Likewise.
43606 (FP_FAST_FMAL): Likewise.
43607 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43608 multiply/add.
43609 (FP_FAST_FMAF): Likewise.
43610
475facd1
JJ
436112010-10-15 Jakub Jelinek <jakub@redhat.com>
43612
43613 [BZ #3268]
43614 * math/libm-test.inc (fma_test): Some new testcases.
43615 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43616 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43617 y and infinite z. Do multiplication by C already in long double.
43618 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43620 y and infinite z. Do bitwise or of inexact bit into u.d.
43621 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43622 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43623 * sysdeps/i386/fpu/s_fma.S: Removed.
43624 * sysdeps/i386/fpu/s_fmal.S: Removed.
43625
7c08a05c
JJ
436262010-10-16 Jakub Jelinek <jakub@redhat.com>
43627
43628 [BZ #3268]
43629 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43631 computation is not scheduled after fetestexcept. Fix value
43632 of minimum denormal long double.
43633
f3f7372d
JJ
436342010-10-14 Jakub Jelinek <jakub@redhat.com>
43635
43636 [BZ #3268]
43637 * math/libm-test.inc (fma_test): Add some more tests.
43638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43639 correctly.
43640
14d43591
AS
436412010-10-15 Andreas Schwab <schwab@redhat.com>
43642
43643 * scripts/data/localplt-s390-linux-gnu.data: New file.
43644 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43645
5e908464
JJ
436462010-10-13 Jakub Jelinek <jakub@redhat.com>
43647
43648 [BZ #3268]
43649 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43650 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43651 instead of dbl-64.
43652 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43653 inlines.
43654 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43656 if one of x and y is very large and the other is subnormal.
43657 * sysdeps/s390/fpu/s_fmaf.c: New file.
43658 * sysdeps/s390/fpu/s_fma.c: New file.
43659 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43660 * sysdeps/powerpc/fpu/s_fma.S: New file.
43661 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43662 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43663 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43664
436652010-10-12 Jakub Jelinek <jakub@redhat.com>
43666
43667 [BZ #3268]
43668 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43669 fma tests.
43670 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43671 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43672 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43673 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43674 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43675 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43676 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43677
b833d51f
UD
436782010-10-12 Ulrich Drepper <drepper@redhat.com>
43679
43680 [BZ #12078]
43681 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43682 * posix/bug-regex31.input: Add test case.
43683
1751705d
UD
436842010-10-11 Ulrich Drepper <drepper@gmail.com>
43685
e9b9cbf5
UD
43686 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43687 * posix/bug-regex31.input: New file.
43688
43689 [BZ #12078]
43690 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43691 (parse_sub_exp): Fix last change, use postorder.
43692
ef06edbe
UD
43693 * posix/bug-regex31.c: New file.
43694 * posix/Makefile: Add rules to build and run bug-regex31.
43695
a129c80d
UD
43696 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43697
43698 [BZ #12078]
43699 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43700
b76b818e
UD
43701 [BZ #12108]
43702 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43703 to have entries in sys_siglist.
43704
1751705d
UD
43705 [BZ #12093]
43706 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43707 be NULL.
43708
9ff8d36f
JJ
437092010-10-07 Jakub Jelinek <jakub@redhat.com>
43710
43711 [BZ #3268]
43712 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43713 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43714 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43715 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43716 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43717 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43718 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43719 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43720 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43721 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43722 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43723 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43724 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43725 * math/ftestexcept.c (fetestexcept): Likewise.
43726 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43727 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43728 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43729 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43730 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43731 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43732 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43733
af325969
UD
437342010-10-11 Ulrich Drepper <drepper@gmail.com>
43735
c579b202 43736 [BZ #12107]
af325969
UD
43737 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43738 newline.
43739
67a67b95
UD
437402010-10-06 Ulrich Drepper <drepper@gmail.com>
43741
43742 * string/bug-strstr1.c: New file.
43743 * string/Makefile: Add rules to build and run bug-strstr1.
43744
5fb308bc
EB
437452010-10-05 Eric Blake <eblake@redhat.com>
43746
43747 [BZ #12092]
43748 * string/str-two-way.h (two_way_long_needle): Always clear memory
43749 when skipping input due to the shift table.
43750
45db99c7
UD
437512010-10-03 Ulrich Drepper <drepper@gmail.com>
43752
3b111893
UD
43753 [BZ #12005]
43754 * malloc/mcheck.c: Handle large requests.
43755
45db99c7
UD
43756 [BZ #12077]
43757 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43758 for strncmp and strncasecmp.
43759 * string/stratcliff.c: Add tests for strcmp and strncmp.
43760 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43761
cf7a1eb8
NI
437622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43763
43764 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43765 __set_fpscr.
43766
6484ba5e
AJ
437672010-09-30 Andreas Jaeger <aj@suse.de>
43768
43769 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43770 (CGROUP_SUPER_MAGIC): Define.
43771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43772 Handle btrfs and cgroup file systems.
43773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43774 Likewise.
43775
91c42559
LM
437762010-09-27 Luis Machado <luisgpm@br.ibm.com>
43777
43778 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43779 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43780
87a97932
AK
437812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43782
43783 [BZ #12067]
43784 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43785 trying to locate the ELF header.
43786
c21cc9bc
AS
437872010-09-27 Andreas Schwab <schwab@redhat.com>
43788
43789 [BZ #11611]
43790 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43791 Mask out sign-bit copies when constructing f_fsid.
43792
315970f6
PB
437932010-09-24 Petr Baudis <pasky@suse.cz>
43794
43795 * debug/stack_chk_fail_local.c: Add missing licence exception.
43796 * debug/warning-nop.c: Likewise.
43797
1ac7a2c7
JM
437982010-09-15 Joseph Myers <joseph@codesourcery.com>
43799
43800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43801 implementing getdents64 using getdents syscall, set d_type if
43802 __ASSUME_GETDENTS32_D_TYPE.
43803
56801c50
AS
438042010-09-16 Andreas Schwab <schwab@redhat.com>
43805
43806 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43807 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43808
dda51327
UD
438092010-09-21 Ulrich Drepper <drepper@redhat.com>
43810
43811 [BZ #12037]
43812 * posix/unistd.h: Undo change of feature selection for ftruncate from
43813 2010-01-11.
43814
8ffcee4a
UD
438152010-09-20 Ulrich Drepper <drepper@redhat.com>
43816
a545ecd9 43817 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43818 detection.
43819
e24f0a8b
AS
438202010-09-20 Andreas Schwab <schwab@redhat.com>
43821
43822 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43823 fanotify_mark.
43824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43825
7291c56f
AS
438262010-09-14 Andreas Schwab <schwab@redhat.com>
43827
43828 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43829 variables after CHECK_SP call.
43830 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43831
bc5fb037
AS
438322010-09-13 Andreas Schwab <schwab@redhat.com>
43833 Ulrich Drepper <drepper@redhat.com>
43834
43835 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43836 re-relocationg ld.so.
43837 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43838 _dl_init_paths call.
43839 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43840 here anymore.
43841
e66e7419
UD
438422010-09-14 Ulrich Drepper <drepper@redhat.com>
43843
43844 * resolv/res_init.c (__res_vinit): Count the default server we added.
43845
c044aa75
CLT
438462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43847 Ulrich Drepper <drepper@redhat.com>
43848
43849 [BZ #11968]
43850 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43851 (____longjmp_chk): Use %ebx for saving value across system call.
43852 Add unwind info.
43853
32cf4069
AS
438542010-09-06 Andreas Schwab <schwab@redhat.com>
43855
43856 * manual/Makefile: Don't mix pattern rules with normal rules.
43857
817328ee
AS
438582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43859
43860 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43861 operation.
43862 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43863 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43864 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43865 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43867 Likewise.
43868
29fddf61
UD
438692010-09-04 Ulrich Drepper <drepper@redhat.com>
43870
43871 [BZ #11979]
43872 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43873 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43874
0959ffc9
UD
438752010-09-02 Ulrich Drepper <drepper@redhat.com>
43876
43877 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43878 * sysdeps/x86_64/addmul_1.S: Likewise.
43879 * sysdeps/x86_64/lshift.S: Likewise.
43880 * sysdeps/x86_64/mul_1.S: Likewise.
43881 * sysdeps/x86_64/rshift.S: Likewise.
43882 * sysdeps/x86_64/sub_n.S: Likewise.
43883 * sysdeps/x86_64/submul_1.S: Likewise.
43884
ece29840
ST
438852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43886
0959ffc9
UD
43887 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43888 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43889 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43890 * bits/sched.h [__need_schedparam]
ece29840 43891 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43892 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43893 (__defined_schedparam): Define to 1.
ece29840
ST
43894 (__sched_param): New structure, identical to sched_param.
43895 (__need_schedparam): Undefine.
43896
e53a31fe
MF
438972010-08-31 Mike Frysinger <vapier@gentoo.org>
43898
fdc0c10d
MF
43899 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43900 (epoll_create1): Declare.
43901
e53a31fe
MF
43902 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43903
a726d796
AS
439042010-08-31 Andreas Schwab <schwab@redhat.com>
43905
43906 [BZ #7066]
43907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43908 shifting retval into place.
43909
2f3e3dc7
UD
439102010-09-01 Ulrich Drepper <drepper@redhat.com>
43911
f2933da9
UD
43912 * nis/rpcsvc/nis.h: Update copyright notice.
43913 * nis/rpcsvc/nis.x: Likewise.
43914 * nis/rpcsvc/nis_callback.h: Likewise.
43915 * nis/rpcsvc/nis_callback.x: Likewise.
43916 * nis/rpcsvc/nis_object.x: Likewise.
43917 * nis/rpcsvc/nis_tags.h: Likewise.
43918 * nis/rpcsvc/yp.h: Likewise.
43919 * nis/rpcsvc/yp.x: Likewise.
43920 * nis/rpcsvc/ypupd.h: Likewise.
43921 * nis/yp_xdr.c: Likewise.
43922 * nis/ypupdate_xdr.c: Likewise.
43923
2f3e3dc7
UD
43924 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43925 mainly the body of pmap_getport. Add parameters to specify timeouts.
43926 (pmap_getport): Use __libc_rpc_getport.
43927 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43928 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43929 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43930
f3dcc2f9
AS
439312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43932
43933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43934 fanotify_mark.
43935
6d34eb5b
RM
439362010-08-27 Roland McGrath <roland@redhat.com>
43937
43938 * sysdeps/i386/i686/multiarch/Makefile
43939 (CFLAGS-varshift.c): New variable.
43940
9ea3de11
UD
439412010-08-27 Ulrich Drepper <drepper@redhat.com>
43942
c96d23fc
UD
43943 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43944 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43945
9ea3de11
UD
43946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43947
43948 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43949
623aac7f
L
439502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43951
43952 * sysdeps/x86_64/strlen.S: Unroll the loop.
43953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43954 strlen-sse2 strlen-sse2-bsf.
43955 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43956 __strlen_no_bsf if bit_Slow_BSF is set.
43957 (__strlen_sse42): Removed.
43958 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43959 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43960
8b2b7715
RM
439612010-08-25 Roland McGrath <roland@redhat.com>
43962
43963 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43964 * sysdeps/x86_64/multiarch/varshift.c: New file.
43965 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43966 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43967 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43968 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43969
e73015f2
L
439702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43971
43972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43973 strlen-sse2 strlen-sse2-bsf.
43974 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43975 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43976 (__strlen_sse2): Removed.
43977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43980 bit_Slow_BSF for Atom.
43981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43982 (index_Slow_BSF): Define.
43983 (HAS_SLOW_BSF): Define.
43984
df24a73e
UD
439852010-08-25 Ulrich Drepper <drepper@redhat.com>
43986
43987 [BZ #10851]
43988 * resolv/res_init.c (__res_vinit): When no server address at all
43989 is given default to loopback.
43990
f2ac4868
RM
439912010-08-24 Roland McGrath <roland@redhat.com>
43992
09055553
RM
43993 * configure.in: Remove config-name.h generation.
43994 * configure: Regenerated.
43995 * config-name.in: File removed.
43996 * scripts/config-uname.sh: New file.
43997 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43998 ($(objdir)config-name.h): New target.
43999
f2ac4868
RM
44000 * sunrpc/rpc_parse.h: Avoid nested comment.
44001
73f27d5e
RH
440022010-08-24 Richard Henderson <rth@redhat.com>
44003 Ulrich Drepper <drepper@redhat.com>
44004 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44008 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44009 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44010 _mm_alignr_epi8 with _mm_loadu_si128.
44011 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44012 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44013 (__m128i_shift_right): Removed.
44014 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44015 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44016 * sysdeps/x86_64/multiarch/varshift.h: New file.
44017 * sysdeps/x86_64/multiarch/varshift.S: New file.
44018
84b9230c
MF
440192010-08-21 Mike Frysinger <vapier@gentoo.org>
44020
44021 * configure.in: Move assembler checks to before sysdep dir checking.
44022
9bbd0ddc
PB
440232010-08-20 Petr Baudis <pasky@suse.cz>
44024
44025 * LICENSES: Sync the sunrpc license.
44026
9da4bb31
UD
440272010-08-19 Ulrich Drepper <drepper@redhat.com>
44028
a7ab6ec8
UD
44029 * sunrpc/auth_des.c: Update copyright notice once again.
44030 * sunrpc/auth_none.c: Likewise.
44031 * sunrpc/auth_unix.c: Likewise.
44032 * sunrpc/authdes_prot.c: Likewise.
44033 * sunrpc/authuxprot.c: Likewise.
44034 * sunrpc/bindrsvprt.c: Likewise.
44035 * sunrpc/clnt_gen.c: Likewise.
44036 * sunrpc/clnt_perr.c: Likewise.
44037 * sunrpc/clnt_raw.c: Likewise.
44038 * sunrpc/clnt_simp.c: Likewise.
44039 * sunrpc/clnt_tcp.c: Likewise.
44040 * sunrpc/clnt_udp.c: Likewise.
44041 * sunrpc/clnt_unix.c: Likewise.
44042 * sunrpc/des_crypt.c: Likewise.
44043 * sunrpc/des_soft.c: Likewise.
44044 * sunrpc/get_myaddr.c: Likewise.
44045 * sunrpc/getrpcport.c: Likewise.
44046 * sunrpc/key_call.c: Likewise.
44047 * sunrpc/key_prot.c: Likewise.
44048 * sunrpc/openchild.c: Likewise.
44049 * sunrpc/pm_getmaps.c: Likewise.
44050 * sunrpc/pm_getport.c: Likewise.
44051 * sunrpc/pmap_clnt.c: Likewise.
44052 * sunrpc/pmap_prot.c: Likewise.
44053 * sunrpc/pmap_prot2.c: Likewise.
44054 * sunrpc/pmap_rmt.c: Likewise.
44055 * sunrpc/rpc/auth.h: Likewise.
44056 * sunrpc/rpc/auth_unix.h: Likewise.
44057 * sunrpc/rpc/clnt.h: Likewise.
44058 * sunrpc/rpc/des_crypt.h: Likewise.
44059 * sunrpc/rpc/key_prot.h: Likewise.
44060 * sunrpc/rpc/netdb.h: Likewise.
44061 * sunrpc/rpc/pmap_clnt.h: Likewise.
44062 * sunrpc/rpc/pmap_prot.h: Likewise.
44063 * sunrpc/rpc/pmap_rmt.h: Likewise.
44064 * sunrpc/rpc/rpc.h: Likewise.
44065 * sunrpc/rpc/rpc_des.h: Likewise.
44066 * sunrpc/rpc/rpc_msg.h: Likewise.
44067 * sunrpc/rpc/svc.h: Likewise.
44068 * sunrpc/rpc/svc_auth.h: Likewise.
44069 * sunrpc/rpc/types.h: Likewise.
44070 * sunrpc/rpc/xdr.h: Likewise.
44071 * sunrpc/rpc_clntout.c: Likewise.
44072 * sunrpc/rpc_cmsg.c: Likewise.
44073 * sunrpc/rpc_common.c: Likewise.
44074 * sunrpc/rpc_cout.c: Likewise.
44075 * sunrpc/rpc_dtable.c: Likewise.
44076 * sunrpc/rpc_hout.c: Likewise.
44077 * sunrpc/rpc_main.c: Likewise.
44078 * sunrpc/rpc_parse.c: Likewise.
44079 * sunrpc/rpc_parse.h: Likewise.
44080 * sunrpc/rpc_prot.c: Likewise.
44081 * sunrpc/rpc_sample.c: Likewise.
44082 * sunrpc/rpc_scan.c: Likewise.
44083 * sunrpc/rpc_scan.h: Likewise.
44084 * sunrpc/rpc_svcout.c: Likewise.
44085 * sunrpc/rpc_tblout.c: Likewise.
44086 * sunrpc/rpc_util.c: Likewise.
44087 * sunrpc/rpc_util.h: Likewise.
44088 * sunrpc/rpcinfo.c: Likewise.
44089 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44090 * sunrpc/rpcsvc/key_prot.x: Likewise.
44091 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44092 * sunrpc/rpcsvc/mount.x: Likewise.
44093 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44094 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44095 * sunrpc/rpcsvc/rex.x: Likewise.
44096 * sunrpc/rpcsvc/rstat.x: Likewise.
44097 * sunrpc/rpcsvc/rusers.x: Likewise.
44098 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44099 * sunrpc/rpcsvc/spray.x: Likewise.
44100 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44101 * sunrpc/rtime.c: Likewise.
44102 * sunrpc/svc.c: Likewise.
44103 * sunrpc/svc_auth.c: Likewise.
44104 * sunrpc/svc_authux.c: Likewise.
44105 * sunrpc/svc_raw.c: Likewise.
44106 * sunrpc/svc_run.c: Likewise.
44107 * sunrpc/svc_simple.c: Likewise.
44108 * sunrpc/svc_tcp.c: Likewise.
44109 * sunrpc/svc_udp.c: Likewise.
44110 * sunrpc/svc_unix.c: Likewise.
44111 * sunrpc/svcauth_des.c: Likewise.
44112 * sunrpc/xcrypt.c: Likewise.
44113 * sunrpc/xdr.c: Likewise.
44114 * sunrpc/xdr_array.c: Likewise.
44115 * sunrpc/xdr_float.c: Likewise.
44116 * sunrpc/xdr_mem.c: Likewise.
44117 * sunrpc/xdr_rec.c: Likewise.
44118 * sunrpc/xdr_ref.c: Likewise.
44119 * sunrpc/xdr_sizeof.c: Likewise.
44120 * sunrpc/xdr_stdio.c: Likewise.
44121
9da4bb31
UD
44122 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44123 handling.
44124
bdaa77bc
AS
441252010-08-19 Andreas Schwab <schwab@redhat.com>
44126
44127 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44128
fe2f79db
LM
441292010-08-19 Luis Machado <luisgpm@br.ibm.com>
44130
44131 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44132 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44133 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44134 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44136 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44138 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44139 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44140 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44141 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44142 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44143 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44144 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44145
b9b42ee0
AB
441462010-07-26 Anton Blanchard <anton@samba.org>
44147
44148 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44149 * malloc/arena.c (heap_trim): Likewise.
44150
1c06ba31
UD
441512010-08-16 Ulrich Drepper <drepper@redhat.com>
44152
44153 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44154 here. Not...
44155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44156 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44157
f8392f40
L
441582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44159
44160 * sysdeps/i386/elf/Makefile: New file.
44161
3162f12e
AS
441622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44163
44164 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44165 from fanotify_init.
44166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44168
28c90b2c
UD
441692010-08-15 Ulrich Drepper <drepper@redhat.com>
44170
44171 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44172 of strncasecmp_l.
1feccb6c 44173 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44174
ca6bb004
UD
441752010-08-14 Ulrich Drepper <drepper@redhat.com>
44176
e9f82e0d
UD
44177 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44178 strncase_l-nonascii.
44179 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44180 Add strncase_l-ssse3.
44181 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44182 * sysdeps/x86_64/strcmp.S: Likewise.
44183 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44184 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44185 * sysdeps/x86_64/strncase.S: New file.
44186 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44187 * sysdeps/x86_64/strncase_l.S: New file.
44188 * string/Makefile (strop-tests): Add strncasecmp.
44189 * string/test-strncasecmp.c: New file.
44190
44191 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44192 warning.
44193
ca6bb004
UD
44194 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44195 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44196
052fa7b3
AS
441972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44198
44199 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44200
962dba78
UD
442012010-08-12 Ulrich Drepper <drepper@redhat.com>
44202
44203 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44204 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44205 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44206
bebff237
AM
442072010-05-01 Alan Modra <amodra@gmail.com>
44208
44209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44210 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44211 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44212 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44213 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44214 tidying. Don't tail-call __sigjmp_save for static lib.
44215 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44216 save location.
44217 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44218 (CALL_MCOUNT): Add eh info, and nop after bl.
44219 (TAIL_CALL_SYSCALL_ERROR): New macro.
44220 (PSEUDO_RET): Use it.
44221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44222 Correct save location of integer regs and cr.
44223 (_dl_profile_resolve): Correct cr save location. Delete nops
44224 after bl when SHARED. Reduce cfi size a little by better
44225 placement of cfi directives.
44226 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44227 make a stack frame. Instead use parm save area as a temp.
44228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44229 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44231 Don't make a stack frame for parent, use parm save area.
44232 Increase child stack frame to 112 bytes. Don't save unused reg,
44233 and adjust reg usage. Set up cfi on error recovery and
44234 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44236 (__makecontext): Add dummy nop after jump to exit.
44237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44238 Use correct parm save area and cr save, reduce stack frame.
44239 Correct cfi for possible PSEUDO_RET frame setup.
44240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44241 Branch to local label emitted by PSEUDO_RET rather than
44242 __syscall_error.
44243
02637374
AS
442442010-08-12 Andreas Schwab <schwab@redhat.com>
44245
44246 [BZ #11904]
44247 * locale/programs/locale.c (print_assignment): New function.
44248 (show_locale_vars): Use it.
44249
c3e2f19b
UD
442502010-08-11 Ulrich Drepper <drepper@redhat.com>
44251
3cdaa6ad
UD
44252 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44253 field.
44254 (struct statfs64): Likewise.
44255 (_STATFS_F_FLAGS): Define.
44256 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44257 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44258 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44259 (ST_VALID): Define locally.
44260 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44261 __statvfs_getflags, use the provided value.
44262 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44263 __ASSUME_STATFS_F_FLAGS.
44264
754f7da3
UD
44265 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44266
10b3bedc
UD
44267 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44268 Add sys/fanotify.h.
44269 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44270 fanotify_mask for GLIBC_2.13.
44271 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44272 fanotify_init and fanotify_mark.
44273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44274 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44275
c08fb0d7
UD
44276 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44277 Add prlimit.
44278 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44279 prlimit64 for GLIBC_2.13.
44280 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44281 prlimit64.
44282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44283 syscall.
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44286 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44287 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44289 add prlimit alias.
44290 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44291
15bac72b
UD
44292 [BZ #11903]
44293 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44294 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44295
c3e2f19b
UD
44296 * nss/Makefile: Add rules to build and run tst-nss-test1.
44297 * shlib-versions: Add entry for libnss_test1.
44298 * nss/nss_test1.c: New file.
44299 * nss/tst-nss-test1.c: New file.
44300
44301 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44302 (__nss_configure_lookup): Set appropriate entry in
44303 __nss_configure_lookup to true.
44304 * nss/nsswitch.h: Define enum with indeces of databases in
44305 databases and __nss_database_custom arrays. Declare
44306 __nss_database_custom.
44307 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44308 to avoid using nscd when custom rules are installed.
44309 * nss/getXXbyYY_r.c: Likewise.
44310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44311
44312 * nss/nss_files/files-parse.c: Whitespace fixes.
44313
f15ce4d8
UD
443142010-08-09 Ulrich Drepper <drepper@redhat.com>
44315
44316 [BZ #11883]
44317 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44318 * posix/fnmatch_loop.c: Likewise.
44319
d22e4cc9
AK
443202010-07-17 Andi Kleen <ak@linux.intel.com>
44321
44322 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44323 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44324 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44325 * Versions.def [GLIBC_2.13]: Add.
44326
805bc17d
UD
443272010-08-06 Ulrich Drepper <drepper@redhat.com>
44328
44329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44330 Also fail if tpwd after pwuid call is NULL.
44331
5a42321d
ST
443322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44333
44334 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44335 when converting to ms.
44336
fd3ebeda
ST
443372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44338
44339 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44340 EOPNOTSUPP errors with ENOTTY.
44341 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44342 EOPNOTSUPP errors with ENOTTY.
44343
73507d3a
UD
443442010-07-31 Ulrich Drepper <drepper@redhat.com>
44345
44346 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44347 Add strcasecmp_l-ssse3.
44348 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44349 strcasecmp.
44350 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44351 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44352 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44353
fe36dd02
UD
443542010-07-30 Ulrich Drepper <drepper@redhat.com>
44355
66f6765a
UD
44356 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44357
42e08a54
UD
44358 * string/Makefile (strop-tests): Add strcasecmp.
44359 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44360 strcasecmp_l-nonascii.
44361 (gen-as-const-headers): Add locale-defines.sym.
44362 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44363 * sysdeps/x86_64/strcasecmp.S: New file.
44364 * sysdeps/x86_64/strcasecmp_l.S: New file.
44365 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44366 * sysdeps/x86_64/locale-defines.sym: New file.
44367 * string/test-strcasecmp.c: New file.
44368
fe36dd02
UD
44369 * string/test-strcasestr.c: Test both ends of the range of characters.
44370 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44371
48cbc0d6
RM
443722010-07-29 Roland McGrath <roland@redhat.com>
44373
76e6d6bc 44374 [BZ #11856]
48cbc0d6
RM
44375 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44376
880113d9
UD
443772010-07-27 Ulrich Drepper <drepper@redhat.com>
44378
44379 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44380 for ld.so.
44381
deb9cabb
AS
443822010-07-27 Andreas Schwab <schwab@redhat.com>
44383
44384 * manual/memory.texi (Malloc Tunable Parameters): Document
44385 M_PERTURB.
44386
1c7570ff
RM
443872010-07-26 Roland McGrath <roland@redhat.com>
44388
44389 [BZ #11840]
44390 * configure.in (-fgnu89-inline check): Set and substitute
44391 gnu89_inline, not libc_cv_gnu89_inline.
44392 * configure: Regenerated.
44393 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44394
24fb0f88
UD
443952010-07-26 Ulrich Drepper <drepper@redhat.com>
44396
44397 * string/test-strnlen.c: New file.
44398 * string/Makefile (strop-tests): Add strnlen.
44399 * string/tester.c (test_strnlen): Add a few more test cases.
44400 * string/tst-strlen.c: Better error reporting.
44401
44402 * sysdeps/x86_64/strnlen.S: New file.
44403
8e96b93a
UD
444042010-07-24 Ulrich Drepper <drepper@redhat.com>
44405
44406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44407 lower-latency instructions.
44408
dbc676d4
UD
444092010-07-23 Ulrich Drepper <drepper@redhat.com>
44410
44411 * string/test-strcasestr.c: New file.
44412 * string/test-strstr.c: New file.
44413 * string/Makefile (strop-tests): Add strstr and strcasestr.
44414 * string/str-two-way.h: Don't undefine MAX.
44415 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44416
f6a31e0e
AS
444172010-07-21 Andreas Schwab <schwab@redhat.com>
44418
44419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44420 strcasestr-nonascii.
44421 (CFLAGS-strcasestr-nonascii.c): Define.
44422 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44424 Remove unused attribute.
44425
5dbc3b6c
RM
444262010-07-20 Roland McGrath <roland@redhat.com>
44427
44428 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44429 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44430 ld.so.cache was broken. With it, there is no way to disable dsocaps
44431 like LD_HWCAP_MASK can disable hwcaps.
44432
23d101d8
EPM
444332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44434
44435 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44436
cc9f2e47
UD
444372010-07-16 Ulrich Drepper <drepper@redhat.com>
44438
44439 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44440 call in strcasestr.
44441 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44442 __strcasestr_sse42_nonascii.
44443 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44444 strcasestr-nonascii.c.
44445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44446
77c1b069
LM
444472010-06-15 Luis Machado <luisgpm@br.ibm.com>
44448
44449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44453
440566c3
UD
444542010-07-09 Ulrich Drepper <drepper@redhat.com>
44455
44456 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44457 fcntl.
44458
5be9d05d
AS
444592010-07-06 Andreas Schwab <schwab@redhat.com>
44460
c30b7ee2 44461 [BZ #11577]
5be9d05d
AS
44462 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44463 dl_signal_cerror.
44464
8a492a67
UD
444652010-07-06 Ulrich Drepper <drepper@redhat.com>
44466
44467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44468 _PC_PIPE_BUF using F_GETPIPE_SZ.
44469
713df3d5
RM
444702010-07-05 Roland McGrath <roland@redhat.com>
44471
44472 * manual/arith.texi (Rounding Functions): Fix rint description
44473 implicit in round description.
44474
702e8f14
UD
444752010-07-02 Ulrich Drepper <drepper@redhat.com>
44476
44477 * elf/Makefile: Fix linking for a few tests to make recent linker
44478 happy.
44479
52ed8be9
AS
444802010-06-30 Andreas Schwab <schwab@redhat.com>
44481
44482 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44483 $(common-objpfx)libc_nonshared.a.
44484
f47c9a11
LM
444852010-06-21 Luis Machado <luisgpm@br.ibm.com>
44486
44487 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44488 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44489 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44490 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44491 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44492 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44493 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44494 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44509 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44510 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44511 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44512 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44513 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44514 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44515 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44516 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44517 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44518 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44519 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44520 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44535
6fb8cbcb
L
445362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44537
44538 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44539 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44540 * string/memmove.c (memmove): Renamed to ...
44541 (MEMMOVE): ...this. Default to memmove.
44542 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44543 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44544 (END_CHK): Define.
44545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44546 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44547 mempcpy-ssse3-back memmove-ssse3-back.
44548 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44549 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44550 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44551 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44552 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44553 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44554 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44555 * sysdeps/x86_64/multiarch/memmove.c: New file.
44556 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44557 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44558 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44559 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44560 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44562 Define.
44563 (index_Fast_Copy_Backward): Define.
44564 (HAS_ARCH_FEATURE): Define.
44565 (HAS_FAST_REP_STRING): Define.
44566 (HAS_FAST_COPY_BACKWARD): Define.
44567
4e733bac 445682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44569
44570 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44571 Restore proper fallback handling.
44572
63c4ed22
UD
445732010-06-19 Ulrich Drepper <drepper@redhat.com>
44574
ac2b484c
UD
44575 [BZ #11701]
44576 * posix/group_member.c (__group_member): Correct checking loop.
44577
63c4ed22
UD
44578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44579 OOM in getpwuid_r correctly. Return error number when the caller
44580 should return, otherwise -1.
44581 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44582 call returning > 0 value.
44583 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44584
765ade4b
AS
445852010-06-07 Andreas Schwab <schwab@redhat.com>
44586
44587 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44588 libc_nonshared.a from targets in modules-names.
44589
80da2e09
KS
445902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44591
44592 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44593 requires it.
44594
158db122
LM
445952010-06-10 Luis Machado <luisgpm@br.ibm.com>
44596
44597 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44600 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44601
caa78cf8
AS
446022010-06-02 Andreas Schwab <schwab@redhat.com>
44603
44604 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44605
b2ef2c01
UD
446062010-06-14 Ulrich Drepper <drepper@redhat.com>
44607
44608 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44609 and F_GETPIPE_SZ.
44610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44616
fbd643b6
RM
446172010-06-14 Roland McGrath <roland@redhat.com>
44618
44619 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44620
f32f2869
JJ
446212010-06-07 Jakub Jelinek <jakub@redhat.com>
44622
44623 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44624 __REDIRECT followed by __THROW.
44625 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44626 * posix/getopt.h (getopt): Likewise.
44627
2a50c078
EPM
446282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44629
44630 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44631 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44632 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44633 in AT_FLAGS.
44634 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44635 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44636
eb5ad2eb
LM
446372010-05-28 Luis Machado <luisgpm@br.ibm.com>
44638
44639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44640
3c88fe1e
L
446412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44642
44643 [BZ #11640]
44644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44645 Properly check family and model.
44646
d2f73151
TY
446472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44648
44649 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44650
ebd2e13d
LM
446512010-05-24 Luis Machado <luisgpm@br.ibm.com>
44652
44653 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44654
b32b8b45
UD
446552010-05-21 Ulrich Drepper <drepper@redhat.com>
44656
44657 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44658 symbol reference.
44659
9acbe24d
AS
446602010-05-19 Andreas Schwab <schwab@redhat.com>
44661
44662 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44663 symbol reference.
44664
f0ccf6ea
AS
446652010-05-21 Andreas Schwab <schwab@redhat.com>
44666
3d04ff3a
AS
44667 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44668 and internal_recvmmsg.
44669 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44670 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44671 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44672 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44673
f0ccf6ea
AS
44674 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44675 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44676 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44677
5b08ac57
AS
446782010-05-20 Andreas Schwab <schwab@redhat.com>
44679
44680 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44681
4828935d
LM
446822010-05-17 Luis Machado <luisgpm@br.ibm.com>
44683
44684 POWER7 optimizations.
44685 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44686 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44687
373d545e
UD
446882010-05-19 Ulrich Drepper <drepper@redhat.com>
44689
44690 * version.h: Update for 2.13 development version.
44691
21a2b1ae
AS
446922010-05-12 Andrew Stubbs <ams@codesourcery.com>
44693
44694 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44695 exceptions. Return 0.
44696
3f7dcb2b
RM
446972010-05-07 Roland McGrath <roland@redhat.com>
44698
44699 * elf/ldconfig.c (main): Add a const.
44700
5f24d53a 447012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44702
a160f8d8
UD
44703 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44704 (args_options): Add no-idn option.
44705 (ahosts_keys_int): Add idn_flags to ai_flags.
44706 (parse_option): Handle 'i' option to clear idn_flags.
44707
5f24d53a
UD
44708 * malloc/malloc.c (_int_free): Possible race in the most recently
44709 added check. Only act on the data if no current modification
44710 happened.
265bb1ce
UD
44711
44712See ChangeLog.17 for earlier changes.
This page took 5.92671 seconds and 5 git commands to generate.